]>
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] | |
2504 | #define SWIGTYPE_p_wxEvtHandler swig_types[38] | |
2505 | #define SWIGTYPE_p_wxFSFile swig_types[39] | |
2506 | #define SWIGTYPE_p_wxFileDialog swig_types[40] | |
2507 | #define SWIGTYPE_p_wxFileSystem swig_types[41] | |
2508 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[42] | |
2509 | #define SWIGTYPE_p_wxFindReplaceData swig_types[43] | |
2510 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[44] | |
2511 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[45] | |
2512 | #define SWIGTYPE_p_wxFocusEvent swig_types[46] | |
2513 | #define SWIGTYPE_p_wxFont swig_types[47] | |
2514 | #define SWIGTYPE_p_wxFontData swig_types[48] | |
2515 | #define SWIGTYPE_p_wxFontDialog swig_types[49] | |
2516 | #define SWIGTYPE_p_wxFrame swig_types[50] | |
2517 | #define SWIGTYPE_p_wxGBSizerItem swig_types[51] | |
2518 | #define SWIGTYPE_p_wxGIFHandler swig_types[52] | |
2519 | #define SWIGTYPE_p_wxGridBagSizer swig_types[53] | |
2520 | #define SWIGTYPE_p_wxGridSizer swig_types[54] | |
2521 | #define SWIGTYPE_p_wxHelpControllerBase swig_types[55] | |
2522 | #define SWIGTYPE_p_wxHelpSearchMode swig_types[56] | |
2523 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[57] | |
2524 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[58] | |
2525 | #define SWIGTYPE_p_wxHtmlCell swig_types[59] | |
8f514ab4 RD |
2526 | #define SWIGTYPE_p_wxHtmlCellEvent swig_types[60] |
2527 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[61] | |
2528 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[62] | |
2529 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[63] | |
2530 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[64] | |
2531 | #define SWIGTYPE_p_wxHtmlFilter swig_types[65] | |
2532 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[66] | |
2533 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[67] | |
2534 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[68] | |
2535 | #define SWIGTYPE_p_wxHtmlHelpDialog swig_types[69] | |
2536 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[70] | |
2537 | #define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[71] | |
2538 | #define SWIGTYPE_p_wxHtmlHelpWindow swig_types[72] | |
2539 | #define SWIGTYPE_p_wxHtmlLinkEvent swig_types[73] | |
2540 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[74] | |
2541 | #define SWIGTYPE_p_wxHtmlModalHelp swig_types[75] | |
2542 | #define SWIGTYPE_p_wxHtmlParser swig_types[76] | |
2543 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[77] | |
2544 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[78] | |
2545 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[79] | |
2546 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[80] | |
2547 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[81] | |
2548 | #define SWIGTYPE_p_wxHtmlSelection swig_types[82] | |
2549 | #define SWIGTYPE_p_wxHtmlTag swig_types[83] | |
2550 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[84] | |
2551 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[85] | |
2552 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[86] | |
b6df5cf9 RD |
2553 | #define SWIGTYPE_p_wxHtmlWindowInterface swig_types[87] |
2554 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[88] | |
2555 | #define SWIGTYPE_p_wxICOHandler swig_types[89] | |
2556 | #define SWIGTYPE_p_wxIconizeEvent swig_types[90] | |
2557 | #define SWIGTYPE_p_wxIdleEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxImage swig_types[92] | |
2559 | #define SWIGTYPE_p_wxImageHandler swig_types[93] | |
2560 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94] | |
2561 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[95] | |
2562 | #define SWIGTYPE_p_wxJPEGHandler swig_types[96] | |
2563 | #define SWIGTYPE_p_wxKeyEvent swig_types[97] | |
2564 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[98] | |
2565 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[99] | |
2566 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[100] | |
2567 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[101] | |
2568 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[102] | |
2569 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxMenu swig_types[104] | |
2571 | #define SWIGTYPE_p_wxMenuBar swig_types[105] | |
2572 | #define SWIGTYPE_p_wxMenuEvent swig_types[106] | |
2573 | #define SWIGTYPE_p_wxMenuItem swig_types[107] | |
2574 | #define SWIGTYPE_p_wxMessageDialog swig_types[108] | |
2575 | #define SWIGTYPE_p_wxMiniFrame swig_types[109] | |
2576 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[110] | |
2577 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxMouseEvent swig_types[112] | |
2579 | #define SWIGTYPE_p_wxMoveEvent swig_types[113] | |
2580 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[114] | |
2581 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxNotifyEvent swig_types[117] | |
2584 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[118] | |
2585 | #define SWIGTYPE_p_wxObject swig_types[119] | |
2586 | #define SWIGTYPE_p_wxPCXHandler swig_types[120] | |
2587 | #define SWIGTYPE_p_wxPNGHandler swig_types[121] | |
2588 | #define SWIGTYPE_p_wxPNMHandler swig_types[122] | |
2589 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[123] | |
2590 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[124] | |
2591 | #define SWIGTYPE_p_wxPaintEvent swig_types[125] | |
2592 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[126] | |
2593 | #define SWIGTYPE_p_wxPanel swig_types[127] | |
2594 | #define SWIGTYPE_p_wxPaperSize swig_types[128] | |
2595 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[129] | |
2596 | #define SWIGTYPE_p_wxPoint swig_types[130] | |
2597 | #define SWIGTYPE_p_wxPopupWindow swig_types[131] | |
2598 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[132] | |
2599 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[133] | |
2600 | #define SWIGTYPE_p_wxPreviewFrame swig_types[134] | |
2601 | #define SWIGTYPE_p_wxPrintData swig_types[135] | |
2602 | #define SWIGTYPE_p_wxPrintDialog swig_types[136] | |
2603 | #define SWIGTYPE_p_wxPrintDialogData swig_types[137] | |
2604 | #define SWIGTYPE_p_wxPrintPreview swig_types[138] | |
2605 | #define SWIGTYPE_p_wxPrinter swig_types[139] | |
2606 | #define SWIGTYPE_p_wxProgressDialog swig_types[140] | |
2607 | #define SWIGTYPE_p_wxPyApp swig_types[141] | |
2608 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[142] | |
2609 | #define SWIGTYPE_p_wxPyEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[144] | |
2611 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[146] | |
2613 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPyImageHandler swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPyPanel swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPyPrintout swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPySizer swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPyVListBox swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPyValidator swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPyWindow swig_types[162] | |
2629 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[163] | |
2630 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[164] | |
2631 | #define SWIGTYPE_p_wxSashEvent swig_types[165] | |
2632 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[166] | |
2633 | #define SWIGTYPE_p_wxSashWindow swig_types[167] | |
2634 | #define SWIGTYPE_p_wxScrollEvent swig_types[168] | |
2635 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[169] | |
2636 | #define SWIGTYPE_p_wxScrolledWindow swig_types[170] | |
2637 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[171] | |
2638 | #define SWIGTYPE_p_wxShowEvent swig_types[172] | |
f9bf356b RD |
2639 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[173] |
2640 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[174] | |
2641 | #define SWIGTYPE_p_wxSize swig_types[175] | |
2642 | #define SWIGTYPE_p_wxSizeEvent swig_types[176] | |
2643 | #define SWIGTYPE_p_wxSizer swig_types[177] | |
2644 | #define SWIGTYPE_p_wxSizerItem swig_types[178] | |
2645 | #define SWIGTYPE_p_wxSplashScreen swig_types[179] | |
2646 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[180] | |
2647 | #define SWIGTYPE_p_wxSplitterEvent swig_types[181] | |
2648 | #define SWIGTYPE_p_wxSplitterWindow swig_types[182] | |
2649 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[183] | |
2650 | #define SWIGTYPE_p_wxStatusBar swig_types[184] | |
2651 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[185] | |
2652 | #define SWIGTYPE_p_wxString swig_types[186] | |
2653 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[187] | |
2654 | #define SWIGTYPE_p_wxTGAHandler swig_types[188] | |
2655 | #define SWIGTYPE_p_wxTIFFHandler swig_types[189] | |
2656 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[190] | |
2657 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[191] | |
2658 | #define SWIGTYPE_p_wxTipWindow swig_types[192] | |
2659 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[193] | |
2660 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[194] | |
2661 | #define SWIGTYPE_p_wxValidator swig_types[195] | |
2662 | #define SWIGTYPE_p_wxVisualAttributes swig_types[196] | |
2663 | #define SWIGTYPE_p_wxWindow swig_types[197] | |
2664 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[198] | |
2665 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[199] | |
2666 | #define SWIGTYPE_p_wxXPMHandler swig_types[200] | |
2667 | static swig_type_info *swig_types[202]; | |
2668 | static swig_module_info swig_module = {swig_types, 201, 0, 0, 0, 0}; | |
32fe5131 RD |
2669 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2670 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
994141e6 | 2671 | |
093d3ff1 | 2672 | /* -------- TYPES TABLE (END) -------- */ |
994141e6 | 2673 | |
0085ce49 RD |
2674 | #if (PY_VERSION_HEX <= 0x02000000) |
2675 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2676 | # error "This python version requires to use swig with the '-classic' option" | |
2677 | # endif | |
2678 | #endif | |
2679 | #if (PY_VERSION_HEX <= 0x02020000) | |
2680 | # error "This python version requires to use swig with the '-nomodern' option" | |
2681 | #endif | |
2682 | #if (PY_VERSION_HEX <= 0x02020000) | |
2683 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2684 | #endif | |
2685 | #ifndef METH_O | |
2686 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2687 | #endif | |
994141e6 | 2688 | |
093d3ff1 RD |
2689 | /*----------------------------------------------- |
2690 | @(target):= _html.so | |
2691 | ------------------------------------------------*/ | |
2692 | #define SWIG_init init_html | |
2693 | ||
2694 | #define SWIG_name "_html" | |
994141e6 | 2695 | |
0085ce49 RD |
2696 | #define SWIGVERSION 0x010329 |
2697 | ||
2698 | ||
2699 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2700 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2701 | ||
2702 | ||
2703 | #include <stdexcept> | |
2704 | ||
2705 | ||
2706 | namespace swig { | |
2707 | class PyObject_ptr { | |
2708 | protected: | |
2709 | PyObject *_obj; | |
2710 | ||
2711 | public: | |
2712 | PyObject_ptr() :_obj(0) | |
2713 | { | |
2714 | } | |
2715 | ||
2716 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2717 | { | |
2718 | Py_XINCREF(_obj); | |
2719 | } | |
2720 | ||
2721 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2722 | { | |
2723 | if (initial_ref) Py_XINCREF(_obj); | |
2724 | } | |
2725 | ||
2726 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2727 | { | |
2728 | Py_XINCREF(item._obj); | |
2729 | Py_XDECREF(_obj); | |
2730 | _obj = item._obj; | |
2731 | return *this; | |
2732 | } | |
2733 | ||
2734 | ~PyObject_ptr() | |
2735 | { | |
2736 | Py_XDECREF(_obj); | |
2737 | } | |
2738 | ||
2739 | operator PyObject *() const | |
2740 | { | |
2741 | return _obj; | |
2742 | } | |
2743 | ||
2744 | PyObject *operator->() const | |
2745 | { | |
2746 | return _obj; | |
2747 | } | |
2748 | }; | |
2749 | } | |
2750 | ||
2751 | ||
2752 | namespace swig { | |
2753 | struct PyObject_var : PyObject_ptr { | |
2754 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2755 | ||
2756 | PyObject_var & operator = (PyObject* obj) | |
2757 | { | |
2758 | Py_XDECREF(_obj); | |
2759 | _obj = obj; | |
2760 | return *this; | |
2761 | } | |
2762 | }; | |
2763 | } | |
2764 | ||
2765 | ||
d14a1e28 RD |
2766 | #include "wx/wxPython/wxPython.h" |
2767 | #include "wx/wxPython/pyclasses.h" | |
2768 | #include "wx/wxPython/pyistream.h" | |
2769 | #include "wx/wxPython/printfw.h" | |
2770 | ||
2771 | #include <wx/html/htmlwin.h> | |
2772 | #include <wx/html/htmprint.h> | |
2773 | #include <wx/html/helpctrl.h> | |
091f5bed RD |
2774 | #include <wx/html/helpwnd.h> |
2775 | #include <wx/html/helpfrm.h> | |
2776 | #include <wx/html/helpdlg.h> | |
d14a1e28 RD |
2777 | |
2778 | ||
b2dc1044 RD |
2779 | static const wxString wxPyEmptyString(wxEmptyString); |
2780 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
2781 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
2782 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
994141e6 | 2783 | |
0085ce49 | 2784 | #define SWIG_From_long PyInt_FromLong |
093d3ff1 RD |
2785 | |
2786 | ||
0085ce49 RD |
2787 | SWIGINTERNINLINE PyObject * |
2788 | SWIG_From_int (int value) | |
2789 | { | |
2790 | return SWIG_From_long (value); | |
2791 | } | |
15afbcd0 RD |
2792 | |
2793 | ||
0085ce49 RD |
2794 | #include <limits.h> |
2795 | #ifndef LLONG_MIN | |
2796 | # define LLONG_MIN LONG_LONG_MIN | |
2797 | #endif | |
2798 | #ifndef LLONG_MAX | |
2799 | # define LLONG_MAX LONG_LONG_MAX | |
2800 | #endif | |
2801 | #ifndef ULLONG_MAX | |
2802 | # define ULLONG_MAX ULONG_LONG_MAX | |
2803 | #endif | |
15afbcd0 RD |
2804 | |
2805 | ||
093d3ff1 | 2806 | SWIGINTERN int |
0085ce49 | 2807 | SWIG_AsVal_long (PyObject* obj, long* val) |
15afbcd0 | 2808 | { |
c32bde28 RD |
2809 | if (PyNumber_Check(obj)) { |
2810 | if (val) *val = PyInt_AsLong(obj); | |
0085ce49 | 2811 | return SWIG_OK; |
c32bde28 | 2812 | } |
0085ce49 | 2813 | return SWIG_TypeError; |
15afbcd0 RD |
2814 | } |
2815 | ||
2816 | ||
093d3ff1 | 2817 | SWIGINTERN int |
0085ce49 RD |
2818 | SWIG_AsVal_int (PyObject * obj, int *val) |
2819 | { | |
c32bde28 | 2820 | long v; |
0085ce49 RD |
2821 | int res = SWIG_AsVal_long (obj, &v); |
2822 | if (SWIG_IsOK(res)) { | |
2823 | if ((v < INT_MIN || v > INT_MAX)) { | |
2824 | return SWIG_OverflowError; | |
c32bde28 | 2825 | } else { |
0085ce49 | 2826 | if (val) *val = static_cast< int >(v); |
c32bde28 | 2827 | } |
0085ce49 RD |
2828 | } |
2829 | return res; | |
994141e6 RD |
2830 | } |
2831 | ||
0085ce49 | 2832 | SWIGINTERN void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
2833 | int* temp = NULL; |
2834 | if (sizes) temp = int_LIST_helper(sizes); | |
2835 | self->SetFonts(normal_face, fixed_face, temp); | |
2836 | if (temp) | |
2837 | delete [] temp; | |
2838 | } | |
2839 | ||
2840 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
32fe5131 | 2841 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) |
d14a1e28 RD |
2842 | public: |
2843 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
2844 | ||
2845 | wxHtmlParser* GetParser() { return m_Parser; } | |
2846 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
2847 | ||
2848 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2849 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2850 | ||
2851 | PYPRIVATE; | |
2852 | }; | |
2853 | ||
2854 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
2855 | ||
2856 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
2857 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
2858 | ||
2859 | ||
2860 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
32fe5131 | 2861 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) |
d14a1e28 RD |
2862 | public: |
2863 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
2864 | ||
2865 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
2866 | void ParseInner(const wxHtmlTag& tag) | |
2867 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
2868 | ||
2869 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
2870 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
2871 | ||
2872 | PYPRIVATE; | |
2873 | }; | |
2874 | ||
2875 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
2876 | ||
2877 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
2878 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
2879 | ||
2880 | ||
2881 | ||
2882 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
2883 | public: | |
2884 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
2885 | m_tagHandlerClass = thc; | |
2886 | Py_INCREF(m_tagHandlerClass); | |
2887 | RegisterModule(this); | |
2888 | wxHtmlWinParser::AddModule(this); | |
2889 | } | |
2890 | ||
2891 | void OnExit() { | |
5a446332 | 2892 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
2893 | Py_DECREF(m_tagHandlerClass); |
2894 | m_tagHandlerClass = NULL; | |
2895 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
2896 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
2897 | Py_DECREF(obj); | |
2898 | } | |
4f89f6a3 | 2899 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2900 | }; |
2901 | ||
2902 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
2903 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
2904 | ||
2905 | // First, make a new instance of the tag handler | |
5a446332 | 2906 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
fd3f2efe RD |
2907 | PyObject* arg = PyTuple_New(0); |
2908 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 2909 | Py_DECREF(arg); |
091f5bed | 2910 | |
d14a1e28 RD |
2911 | // now figure out where it's C++ object is... |
2912 | wxPyHtmlWinTagHandler* thPtr; | |
fd3f2efe | 2913 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 2914 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 2915 | return; |
fd3f2efe | 2916 | } |
4f89f6a3 | 2917 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
2918 | |
2919 | // add it, | |
2920 | parser->AddTagHandler(thPtr); | |
2921 | ||
2922 | // and track it. | |
2923 | m_objArray.Add(obj); | |
2924 | } | |
2925 | ||
2926 | private: | |
2927 | PyObject* m_tagHandlerClass; | |
2928 | wxArrayPtrVoid m_objArray; | |
2929 | ||
2930 | }; | |
2931 | ||
2932 | ||
2933 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
2934 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
2935 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
2936 | new wxPyHtmlTagsModule(tagHandlerClass); | |
2937 | } | |
2938 | ||
2939 | ||
32fe5131 | 2940 | SWIGINTERNINLINE PyObject* |
0085ce49 | 2941 | SWIG_From_bool (bool value) |
093d3ff1 | 2942 | { |
0085ce49 | 2943 | return PyBool_FromLong(value ? 1 : 0); |
093d3ff1 RD |
2944 | } |
2945 | ||
2946 | ||
093d3ff1 | 2947 | SWIGINTERN int |
0085ce49 | 2948 | SWIG_AsVal_bool (PyObject *obj, bool *val) |
15afbcd0 | 2949 | { |
c32bde28 RD |
2950 | if (obj == Py_True) { |
2951 | if (val) *val = true; | |
0085ce49 RD |
2952 | return SWIG_OK; |
2953 | } else if (obj == Py_False) { | |
c32bde28 | 2954 | if (val) *val = false; |
0085ce49 | 2955 | return SWIG_OK; |
093d3ff1 | 2956 | } else { |
0085ce49 RD |
2957 | long v = 0; |
2958 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2959 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2960 | return res; | |
15afbcd0 | 2961 | } |
c32bde28 RD |
2962 | } |
2963 | ||
c32bde28 | 2964 | |
093d3ff1 | 2965 | SWIGINTERN int |
0085ce49 | 2966 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
c32bde28 RD |
2967 | { |
2968 | long v = 0; | |
2969 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
0085ce49 | 2970 | return SWIG_TypeError; |
c32bde28 RD |
2971 | } |
2972 | else if (val) | |
2973 | *val = (unsigned long)v; | |
0085ce49 | 2974 | return SWIG_OK; |
15afbcd0 RD |
2975 | } |
2976 | ||
2977 | ||
093d3ff1 | 2978 | SWIGINTERN int |
0085ce49 RD |
2979 | SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) |
2980 | { | |
c32bde28 | 2981 | unsigned long v; |
0085ce49 RD |
2982 | int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
2983 | if (SWIG_IsOK(res)) { | |
2984 | if ((v > UINT_MAX)) { | |
2985 | return SWIG_OverflowError; | |
2986 | } else { | |
2987 | if (val) *val = static_cast< unsigned int >(v); | |
c32bde28 | 2988 | } |
0085ce49 RD |
2989 | } |
2990 | return res; | |
c32bde28 | 2991 | } |
994141e6 RD |
2992 | |
2993 | ||
0085ce49 RD |
2994 | SWIGINTERNINLINE PyObject* |
2995 | SWIG_From_unsigned_SS_long (unsigned long value) | |
994141e6 | 2996 | { |
0085ce49 RD |
2997 | return (value > LONG_MAX) ? |
2998 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
c32bde28 RD |
2999 | } |
3000 | ||
0085ce49 RD |
3001 | |
3002 | SWIGINTERNINLINE PyObject * | |
3003 | SWIG_From_unsigned_SS_int (unsigned int value) | |
3004 | { | |
3005 | return SWIG_From_unsigned_SS_long (value); | |
15afbcd0 RD |
3006 | } |
3007 | ||
d14a1e28 RD |
3008 | // here's the C++ version |
3009 | class wxPyHtmlFilter : public wxHtmlFilter { | |
32fe5131 | 3010 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) |
d14a1e28 RD |
3011 | public: |
3012 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
3013 | ||
e811c8ce | 3014 | // returns True if this filter is able to open&read given file |
d14a1e28 | 3015 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 3016 | bool rval = false; |
d14a1e28 | 3017 | bool found; |
5a446332 | 3018 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3019 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 3020 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3021 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
3022 | Py_DECREF(obj); | |
3023 | } | |
4f89f6a3 | 3024 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3025 | return rval; |
3026 | } | |
3027 | ||
3028 | ||
3029 | // Reads given file and returns HTML document. | |
3030 | // Returns empty string if opening failed | |
3031 | virtual wxString ReadFile(const wxFSFile& file) const { | |
3032 | wxString rval; | |
3033 | bool found; | |
5a446332 | 3034 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 3035 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 3036 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
3037 | PyObject* ro; |
3038 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
3039 | Py_DECREF(obj); | |
3040 | if (ro) { | |
3041 | rval = Py2wxString(ro); | |
3042 | Py_DECREF(ro); | |
3043 | } | |
3044 | } | |
4f89f6a3 | 3045 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3046 | return rval; |
3047 | } | |
3048 | ||
3049 | PYPRIVATE; | |
3050 | }; | |
3051 | ||
3052 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
3053 | ||
3054 | ||
3055 | class wxPyHtmlWindow : public wxHtmlWindow { | |
32fe5131 | 3056 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) |
d14a1e28 RD |
3057 | public: |
3058 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
3059 | const wxPoint& pos = wxDefaultPosition, | |
3060 | const wxSize& size = wxDefaultSize, | |
3061 | long style = wxHW_DEFAULT_STYLE, | |
3062 | const wxString& name = wxPyHtmlWindowNameStr) | |
3063 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
3064 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
3065 | ||
3066 | bool ScrollToAnchor(const wxString& anchor) { | |
3067 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
3068 | } | |
3069 | ||
3070 | bool HasAnchor(const wxString& anchor) { | |
3071 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
3072 | return c!=NULL; | |
3073 | } | |
3074 | ||
3075 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
d14a1e28 RD |
3076 | |
3077 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
3078 | const wxString& url, | |
3079 | wxString *redirect) const; | |
3080 | ||
3081 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
3082 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
e9d6f3a4 RD |
3083 | DEC_PYCALLBACK_BOOL_CELLINTINTME(OnCellClicked); |
3084 | ||
d14a1e28 RD |
3085 | PYPRIVATE; |
3086 | }; | |
3087 | ||
3088 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
3089 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
3090 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
e9d6f3a4 | 3091 | IMP_PYCALLBACK_BOOL_CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); |
d14a1e28 RD |
3092 | |
3093 | ||
3094 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
3095 | bool found; | |
5a446332 | 3096 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3097 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
3098 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
3099 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
3100 | Py_DECREF(obj); | |
3101 | } | |
4f89f6a3 | 3102 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3103 | if (! found) |
3104 | wxHtmlWindow::OnLinkClicked(link); | |
3105 | } | |
d14a1e28 RD |
3106 | |
3107 | ||
3108 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
3109 | const wxString& url, | |
3110 | wxString *redirect) const { | |
3111 | bool found; | |
3112 | wxHtmlOpeningStatus rval; | |
5a446332 | 3113 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
3114 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
3115 | PyObject* ro; | |
3116 | PyObject* s = wx2PyString(url); | |
3117 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
3118 | Py_DECREF(s); | |
3119 | if (PyString_Check(ro) | |
3120 | #if PYTHON_API_VERSION >= 1009 | |
3121 | || PyUnicode_Check(ro) | |
3122 | #endif | |
3123 | ) { | |
3124 | *redirect = Py2wxString(ro); | |
3125 | rval = wxHTML_REDIRECT; | |
3126 | } | |
3127 | else { | |
3128 | PyObject* num = PyNumber_Int(ro); | |
3129 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
3130 | Py_DECREF(num); | |
3131 | } | |
3132 | Py_DECREF(ro); | |
3133 | } | |
4f89f6a3 | 3134 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
3135 | if (! found) |
3136 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
3137 | return rval; | |
3138 | } | |
3139 | ||
3140 | ||
3141 | ||
0085ce49 | 3142 | SWIGINTERN void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3143 | int* temp = NULL; |
3144 | if (sizes) temp = int_LIST_helper(sizes); | |
3145 | self->SetFonts(normal_face, fixed_face, temp); | |
3146 | if (temp) | |
3147 | delete [] temp; | |
3148 | } | |
0085ce49 | 3149 | SWIGINTERN void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3150 | int* temp = NULL; |
3151 | if (sizes) temp = int_LIST_helper(sizes); | |
3152 | self->SetFonts(normal_face, fixed_face, temp); | |
3153 | if (temp) | |
3154 | delete [] temp; | |
3155 | } | |
0085ce49 | 3156 | SWIGINTERN void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3157 | int* temp = NULL; |
3158 | if (sizes) temp = int_LIST_helper(sizes); | |
3159 | self->SetFonts(normal_face, fixed_face, temp); | |
3160 | if (temp) | |
3161 | delete [] temp; | |
3162 | } | |
994141e6 | 3163 | |
15afbcd0 | 3164 | #include <float.h> |
15afbcd0 RD |
3165 | |
3166 | ||
093d3ff1 | 3167 | SWIGINTERN int |
0085ce49 | 3168 | SWIG_AsVal_double (PyObject *obj, double* val) |
994141e6 | 3169 | { |
c32bde28 RD |
3170 | if (PyNumber_Check(obj)) { |
3171 | if (val) *val = PyFloat_AsDouble(obj); | |
0085ce49 | 3172 | return SWIG_OK; |
69223c70 | 3173 | } |
0085ce49 | 3174 | return SWIG_TypeError; |
c32bde28 RD |
3175 | } |
3176 | ||
3177 | ||
093d3ff1 | 3178 | SWIGINTERN int |
0085ce49 | 3179 | SWIG_AsVal_float (PyObject * obj, float *val) |
c32bde28 | 3180 | { |
c32bde28 | 3181 | double v; |
0085ce49 RD |
3182 | int res = SWIG_AsVal_double (obj, &v); |
3183 | if (SWIG_IsOK(res)) { | |
3184 | if ((v < -FLT_MAX || v > FLT_MAX)) { | |
3185 | return SWIG_OverflowError; | |
c32bde28 | 3186 | } else { |
0085ce49 | 3187 | if (val) *val = static_cast< float >(v); |
c32bde28 | 3188 | } |
0085ce49 RD |
3189 | } |
3190 | return res; | |
994141e6 RD |
3191 | } |
3192 | ||
0085ce49 | 3193 | SWIGINTERN void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes=NULL){ |
d14a1e28 RD |
3194 | int* temp = NULL; |
3195 | if (sizes) temp = int_LIST_helper(sizes); | |
3196 | self->SetFonts(normal_face, fixed_face, temp); | |
3197 | if (temp) | |
3198 | delete [] temp; | |
3199 | } | |
10044bf1 RD |
3200 | |
3201 | typedef wxTreeCtrl wxPyTreeCtrl; | |
3202 | ||
d14a1e28 RD |
3203 | #ifdef __cplusplus |
3204 | extern "C" { | |
3205 | #endif | |
0085ce49 RD |
3206 | SWIGINTERN int HtmlWindowNameStr_set(PyObject *) { |
3207 | SWIG_Error(SWIG_AttributeError,"Variable HtmlWindowNameStr is read-only."); | |
3208 | return 1; | |
b2dc1044 RD |
3209 | } |
3210 | ||
3211 | ||
0085ce49 RD |
3212 | SWIGINTERN PyObject *HtmlWindowNameStr_get(void) { |
3213 | PyObject *pyobj = 0; | |
3214 | ||
3215 | { | |
b2dc1044 | 3216 | #if wxUSE_UNICODE |
0085ce49 | 3217 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
b2dc1044 | 3218 | #else |
0085ce49 | 3219 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); |
b2dc1044 | 3220 | #endif |
0085ce49 RD |
3221 | } |
3222 | return pyobj; | |
b2dc1044 RD |
3223 | } |
3224 | ||
3225 | ||
0085ce49 RD |
3226 | SWIGINTERN int HtmlPrintoutTitleStr_set(PyObject *) { |
3227 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
3228 | return 1; | |
b2dc1044 RD |
3229 | } |
3230 | ||
3231 | ||
0085ce49 RD |
3232 | SWIGINTERN PyObject *HtmlPrintoutTitleStr_get(void) { |
3233 | PyObject *pyobj = 0; | |
3234 | ||
3235 | { | |
b2dc1044 | 3236 | #if wxUSE_UNICODE |
0085ce49 | 3237 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
b2dc1044 | 3238 | #else |
0085ce49 | 3239 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); |
b2dc1044 | 3240 | #endif |
0085ce49 RD |
3241 | } |
3242 | return pyobj; | |
b2dc1044 RD |
3243 | } |
3244 | ||
3245 | ||
0085ce49 RD |
3246 | SWIGINTERN int HtmlPrintingTitleStr_set(PyObject *) { |
3247 | SWIG_Error(SWIG_AttributeError,"Variable HtmlPrintingTitleStr is read-only."); | |
3248 | return 1; | |
b2dc1044 RD |
3249 | } |
3250 | ||
3251 | ||
0085ce49 RD |
3252 | SWIGINTERN PyObject *HtmlPrintingTitleStr_get(void) { |
3253 | PyObject *pyobj = 0; | |
3254 | ||
3255 | { | |
b2dc1044 | 3256 | #if wxUSE_UNICODE |
0085ce49 | 3257 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
b2dc1044 | 3258 | #else |
0085ce49 | 3259 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); |
b2dc1044 | 3260 | #endif |
0085ce49 RD |
3261 | } |
3262 | return pyobj; | |
3263 | } | |
3264 | ||
3265 | ||
3266 | SWIGINTERN PyObject *_wrap_new_HtmlLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3267 | PyObject *resultobj = 0; | |
3268 | wxString *arg1 = 0 ; | |
3269 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
3270 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
3271 | wxHtmlLinkInfo *result = 0 ; | |
3272 | bool temp1 = false ; | |
3273 | bool temp2 = false ; | |
3274 | PyObject * obj0 = 0 ; | |
3275 | PyObject * obj1 = 0 ; | |
3276 | char * kwnames[] = { | |
3277 | (char *) "href",(char *) "target", NULL | |
3278 | }; | |
3279 | ||
3280 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
3281 | { | |
3282 | arg1 = wxString_in_helper(obj0); | |
3283 | if (arg1 == NULL) SWIG_fail; | |
3284 | temp1 = true; | |
3285 | } | |
3286 | if (obj1) { | |
d14a1e28 | 3287 | { |
0085ce49 RD |
3288 | arg2 = wxString_in_helper(obj1); |
3289 | if (arg2 == NULL) SWIG_fail; | |
3290 | temp2 = true; | |
d14a1e28 | 3291 | } |
0085ce49 RD |
3292 | } |
3293 | { | |
3294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3295 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
3296 | wxPyEndAllowThreads(__tstate); | |
3297 | if (PyErr_Occurred()) SWIG_fail; | |
3298 | } | |
3299 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_NEW | 0 ); | |
3300 | { | |
3301 | if (temp1) | |
3302 | delete arg1; | |
3303 | } | |
3304 | { | |
3305 | if (temp2) | |
3306 | delete arg2; | |
3307 | } | |
3308 | return resultobj; | |
3309 | fail: | |
3310 | { | |
3311 | if (temp1) | |
3312 | delete arg1; | |
3313 | } | |
3314 | { | |
3315 | if (temp2) | |
3316 | delete arg2; | |
3317 | } | |
3318 | return NULL; | |
d14a1e28 RD |
3319 | } |
3320 | ||
3321 | ||
0085ce49 RD |
3322 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3323 | PyObject *resultobj = 0; | |
3324 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3325 | wxString result; | |
3326 | void *argp1 = 0 ; | |
3327 | int res1 = 0 ; | |
3328 | PyObject *swig_obj[1] ; | |
3329 | ||
3330 | if (!args) SWIG_fail; | |
3331 | swig_obj[0] = args; | |
3332 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3333 | if (!SWIG_IsOK(res1)) { | |
3334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHref" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3335 | } | |
3336 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3337 | { | |
3338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3339 | result = (arg1)->GetHref(); | |
3340 | wxPyEndAllowThreads(__tstate); | |
3341 | if (PyErr_Occurred()) SWIG_fail; | |
3342 | } | |
3343 | { | |
d14a1e28 | 3344 | #if wxUSE_UNICODE |
0085ce49 | 3345 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3346 | #else |
0085ce49 | 3347 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3348 | #endif |
0085ce49 RD |
3349 | } |
3350 | return resultobj; | |
3351 | fail: | |
3352 | return NULL; | |
d14a1e28 RD |
3353 | } |
3354 | ||
3355 | ||
0085ce49 RD |
3356 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3357 | PyObject *resultobj = 0; | |
3358 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3359 | wxString result; | |
3360 | void *argp1 = 0 ; | |
3361 | int res1 = 0 ; | |
3362 | PyObject *swig_obj[1] ; | |
3363 | ||
3364 | if (!args) SWIG_fail; | |
3365 | swig_obj[0] = args; | |
3366 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3367 | if (!SWIG_IsOK(res1)) { | |
3368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetTarget" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3369 | } | |
3370 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3371 | { | |
3372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3373 | result = (arg1)->GetTarget(); | |
3374 | wxPyEndAllowThreads(__tstate); | |
3375 | if (PyErr_Occurred()) SWIG_fail; | |
3376 | } | |
3377 | { | |
d14a1e28 | 3378 | #if wxUSE_UNICODE |
0085ce49 | 3379 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3380 | #else |
0085ce49 | 3381 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3382 | #endif |
0085ce49 RD |
3383 | } |
3384 | return resultobj; | |
3385 | fail: | |
3386 | return NULL; | |
d14a1e28 RD |
3387 | } |
3388 | ||
3389 | ||
0085ce49 RD |
3390 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3391 | PyObject *resultobj = 0; | |
3392 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3393 | wxMouseEvent *result = 0 ; | |
3394 | void *argp1 = 0 ; | |
3395 | int res1 = 0 ; | |
3396 | PyObject *swig_obj[1] ; | |
3397 | ||
3398 | if (!args) SWIG_fail; | |
3399 | swig_obj[0] = args; | |
3400 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3401 | if (!SWIG_IsOK(res1)) { | |
3402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3403 | } | |
3404 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3405 | { | |
3406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3407 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
3408 | wxPyEndAllowThreads(__tstate); | |
3409 | if (PyErr_Occurred()) SWIG_fail; | |
3410 | } | |
3411 | { | |
3ecece7e | 3412 | resultobj = wxPyMake_wxObject(result, 0); |
0085ce49 RD |
3413 | } |
3414 | return resultobj; | |
3415 | fail: | |
3416 | return NULL; | |
d14a1e28 RD |
3417 | } |
3418 | ||
3419 | ||
0085ce49 RD |
3420 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3421 | PyObject *resultobj = 0; | |
3422 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3423 | wxHtmlCell *result = 0 ; | |
3424 | void *argp1 = 0 ; | |
3425 | int res1 = 0 ; | |
3426 | PyObject *swig_obj[1] ; | |
3427 | ||
3428 | if (!args) SWIG_fail; | |
3429 | swig_obj[0] = args; | |
3430 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3431 | if (!SWIG_IsOK(res1)) { | |
3432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_GetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3433 | } | |
3434 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3435 | { | |
3436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3437 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
3438 | wxPyEndAllowThreads(__tstate); | |
3439 | if (PyErr_Occurred()) SWIG_fail; | |
3440 | } | |
3441 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3442 | return resultobj; | |
3443 | fail: | |
3444 | return NULL; | |
3445 | } | |
3446 | ||
3447 | ||
3448 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3449 | PyObject *resultobj = 0; | |
3450 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3451 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
3452 | void *argp1 = 0 ; | |
3453 | int res1 = 0 ; | |
3454 | void *argp2 = 0 ; | |
3455 | int res2 = 0 ; | |
3456 | PyObject * obj0 = 0 ; | |
3457 | PyObject * obj1 = 0 ; | |
3458 | char * kwnames[] = { | |
3459 | (char *) "self",(char *) "e", NULL | |
3460 | }; | |
3461 | ||
3462 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
3463 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3464 | if (!SWIG_IsOK(res1)) { | |
3465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3466 | } | |
3467 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3468 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMouseEvent, 0 | 0 ); | |
3469 | if (!SWIG_IsOK(res2)) { | |
3470 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetEvent" "', expected argument " "2"" of type '" "wxMouseEvent const *""'"); | |
3471 | } | |
3472 | arg2 = reinterpret_cast< wxMouseEvent * >(argp2); | |
3473 | { | |
3474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3475 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
3476 | wxPyEndAllowThreads(__tstate); | |
3477 | if (PyErr_Occurred()) SWIG_fail; | |
3478 | } | |
3479 | resultobj = SWIG_Py_Void(); | |
3480 | return resultobj; | |
3481 | fail: | |
3482 | return NULL; | |
3483 | } | |
3484 | ||
3485 | ||
3486 | SWIGINTERN PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3487 | PyObject *resultobj = 0; | |
3488 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
3489 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3490 | void *argp1 = 0 ; | |
3491 | int res1 = 0 ; | |
3492 | void *argp2 = 0 ; | |
3493 | int res2 = 0 ; | |
3494 | PyObject * obj0 = 0 ; | |
3495 | PyObject * obj1 = 0 ; | |
3496 | char * kwnames[] = { | |
3497 | (char *) "self",(char *) "e", NULL | |
3498 | }; | |
3499 | ||
3500 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
3501 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
3502 | if (!SWIG_IsOK(res1)) { | |
3503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "1"" of type '" "wxHtmlLinkInfo *""'"); | |
3504 | } | |
3505 | arg1 = reinterpret_cast< wxHtmlLinkInfo * >(argp1); | |
3506 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
3507 | if (!SWIG_IsOK(res2)) { | |
3508 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlLinkInfo_SetHtmlCell" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
3509 | } | |
3510 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
3511 | { | |
3512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3513 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
3514 | wxPyEndAllowThreads(__tstate); | |
3515 | if (PyErr_Occurred()) SWIG_fail; | |
3516 | } | |
3517 | resultobj = SWIG_Py_Void(); | |
3518 | return resultobj; | |
3519 | fail: | |
3520 | return NULL; | |
d14a1e28 RD |
3521 | } |
3522 | ||
3523 | ||
0085ce49 RD |
3524 | SWIGINTERN PyObject *HtmlLinkInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3525 | PyObject *obj; | |
3526 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3527 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkInfo, SWIG_NewClientData(obj)); | |
3528 | return SWIG_Py_Void(); | |
d14a1e28 RD |
3529 | } |
3530 | ||
0085ce49 RD |
3531 | SWIGINTERN PyObject *HtmlLinkInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3532 | return SWIG_Python_InitShadowInstance(args); | |
3533 | } | |
d14a1e28 | 3534 | |
0085ce49 RD |
3535 | SWIGINTERN PyObject *_wrap_HtmlTag_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3536 | PyObject *resultobj = 0; | |
3537 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3538 | wxString result; | |
3539 | void *argp1 = 0 ; | |
3540 | int res1 = 0 ; | |
3541 | PyObject *swig_obj[1] ; | |
3542 | ||
3543 | if (!args) SWIG_fail; | |
3544 | swig_obj[0] = args; | |
3545 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3546 | if (!SWIG_IsOK(res1)) { | |
3547 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetName" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3548 | } | |
3549 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3550 | { | |
3551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3552 | result = (arg1)->GetName(); | |
3553 | wxPyEndAllowThreads(__tstate); | |
3554 | if (PyErr_Occurred()) SWIG_fail; | |
3555 | } | |
3556 | { | |
3557 | #if wxUSE_UNICODE | |
3558 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3559 | #else | |
3560 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3561 | #endif | |
3562 | } | |
3563 | return resultobj; | |
3564 | fail: | |
3565 | return NULL; | |
3566 | } | |
3567 | ||
3568 | ||
3569 | SWIGINTERN PyObject *_wrap_HtmlTag_HasParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3570 | PyObject *resultobj = 0; | |
3571 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3572 | wxString *arg2 = 0 ; | |
3573 | bool result; | |
3574 | void *argp1 = 0 ; | |
3575 | int res1 = 0 ; | |
3576 | bool temp2 = false ; | |
3577 | PyObject * obj0 = 0 ; | |
3578 | PyObject * obj1 = 0 ; | |
3579 | char * kwnames[] = { | |
3580 | (char *) "self",(char *) "par", NULL | |
3581 | }; | |
3582 | ||
3583 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) SWIG_fail; | |
3584 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3585 | if (!SWIG_IsOK(res1)) { | |
3586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3587 | } | |
3588 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3589 | { | |
3590 | arg2 = wxString_in_helper(obj1); | |
3591 | if (arg2 == NULL) SWIG_fail; | |
3592 | temp2 = true; | |
3593 | } | |
3594 | { | |
3595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3596 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
3597 | wxPyEndAllowThreads(__tstate); | |
3598 | if (PyErr_Occurred()) SWIG_fail; | |
3599 | } | |
3600 | { | |
3601 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3602 | } | |
3603 | { | |
3604 | if (temp2) | |
3605 | delete arg2; | |
3606 | } | |
3607 | return resultobj; | |
3608 | fail: | |
3609 | { | |
3610 | if (temp2) | |
3611 | delete arg2; | |
3612 | } | |
3613 | return NULL; | |
3614 | } | |
3615 | ||
3616 | ||
3617 | SWIGINTERN PyObject *_wrap_HtmlTag_GetParam(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3618 | PyObject *resultobj = 0; | |
3619 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3620 | wxString *arg2 = 0 ; | |
3621 | int arg3 = (int) false ; | |
3622 | wxString result; | |
3623 | void *argp1 = 0 ; | |
3624 | int res1 = 0 ; | |
3625 | bool temp2 = false ; | |
3626 | int val3 ; | |
3627 | int ecode3 = 0 ; | |
3628 | PyObject * obj0 = 0 ; | |
3629 | PyObject * obj1 = 0 ; | |
3630 | PyObject * obj2 = 0 ; | |
3631 | char * kwnames[] = { | |
3632 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
3633 | }; | |
3634 | ||
3635 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
3636 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3637 | if (!SWIG_IsOK(res1)) { | |
3638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetParam" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3639 | } | |
3640 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3641 | { | |
3642 | arg2 = wxString_in_helper(obj1); | |
3643 | if (arg2 == NULL) SWIG_fail; | |
3644 | temp2 = true; | |
3645 | } | |
3646 | if (obj2) { | |
3647 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3648 | if (!SWIG_IsOK(ecode3)) { | |
3649 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlTag_GetParam" "', expected argument " "3"" of type '" "int""'"); | |
3650 | } | |
3651 | arg3 = static_cast< int >(val3); | |
3652 | } | |
3653 | { | |
3654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3655 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
3656 | wxPyEndAllowThreads(__tstate); | |
3657 | if (PyErr_Occurred()) SWIG_fail; | |
3658 | } | |
3659 | { | |
3660 | #if wxUSE_UNICODE | |
3661 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3662 | #else | |
3663 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3664 | #endif | |
3665 | } | |
3666 | { | |
3667 | if (temp2) | |
3668 | delete arg2; | |
3669 | } | |
3670 | return resultobj; | |
3671 | fail: | |
3672 | { | |
3673 | if (temp2) | |
3674 | delete arg2; | |
3675 | } | |
3676 | return NULL; | |
d14a1e28 RD |
3677 | } |
3678 | ||
3679 | ||
0085ce49 RD |
3680 | SWIGINTERN PyObject *_wrap_HtmlTag_GetAllParams(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3681 | PyObject *resultobj = 0; | |
3682 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3683 | wxString result; | |
3684 | void *argp1 = 0 ; | |
3685 | int res1 = 0 ; | |
3686 | PyObject *swig_obj[1] ; | |
3687 | ||
3688 | if (!args) SWIG_fail; | |
3689 | swig_obj[0] = args; | |
3690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3691 | if (!SWIG_IsOK(res1)) { | |
3692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetAllParams" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3693 | } | |
3694 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3695 | { | |
3696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3697 | result = (arg1)->GetAllParams(); | |
3698 | wxPyEndAllowThreads(__tstate); | |
3699 | if (PyErr_Occurred()) SWIG_fail; | |
3700 | } | |
3701 | { | |
d14a1e28 | 3702 | #if wxUSE_UNICODE |
0085ce49 | 3703 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3704 | #else |
0085ce49 | 3705 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 3706 | #endif |
0085ce49 RD |
3707 | } |
3708 | return resultobj; | |
3709 | fail: | |
3710 | return NULL; | |
d14a1e28 RD |
3711 | } |
3712 | ||
3713 | ||
0085ce49 RD |
3714 | SWIGINTERN PyObject *_wrap_HtmlTag_HasEnding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3715 | PyObject *resultobj = 0; | |
3716 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3717 | bool result; | |
3718 | void *argp1 = 0 ; | |
3719 | int res1 = 0 ; | |
3720 | PyObject *swig_obj[1] ; | |
3721 | ||
3722 | if (!args) SWIG_fail; | |
3723 | swig_obj[0] = args; | |
3724 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3725 | if (!SWIG_IsOK(res1)) { | |
3726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_HasEnding" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3727 | } | |
3728 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3729 | { | |
3730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3731 | result = (bool)(arg1)->HasEnding(); | |
3732 | wxPyEndAllowThreads(__tstate); | |
3733 | if (PyErr_Occurred()) SWIG_fail; | |
3734 | } | |
3735 | { | |
3736 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3737 | } | |
3738 | return resultobj; | |
3739 | fail: | |
3740 | return NULL; | |
d14a1e28 RD |
3741 | } |
3742 | ||
3743 | ||
0085ce49 RD |
3744 | SWIGINTERN PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3745 | PyObject *resultobj = 0; | |
3746 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3747 | int result; | |
3748 | void *argp1 = 0 ; | |
3749 | int res1 = 0 ; | |
3750 | PyObject *swig_obj[1] ; | |
3751 | ||
3752 | if (!args) SWIG_fail; | |
3753 | swig_obj[0] = args; | |
3754 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3755 | if (!SWIG_IsOK(res1)) { | |
3756 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetBeginPos" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3757 | } | |
3758 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3759 | { | |
3760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3761 | result = (int)(arg1)->GetBeginPos(); | |
3762 | wxPyEndAllowThreads(__tstate); | |
3763 | if (PyErr_Occurred()) SWIG_fail; | |
3764 | } | |
3765 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3766 | return resultobj; | |
3767 | fail: | |
3768 | return NULL; | |
d14a1e28 RD |
3769 | } |
3770 | ||
3771 | ||
0085ce49 RD |
3772 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3773 | PyObject *resultobj = 0; | |
3774 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3775 | int result; | |
3776 | void *argp1 = 0 ; | |
3777 | int res1 = 0 ; | |
3778 | PyObject *swig_obj[1] ; | |
3779 | ||
3780 | if (!args) SWIG_fail; | |
3781 | swig_obj[0] = args; | |
3782 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3783 | if (!SWIG_IsOK(res1)) { | |
3784 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos1" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3785 | } | |
3786 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3787 | { | |
3788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3789 | result = (int)(arg1)->GetEndPos1(); | |
3790 | wxPyEndAllowThreads(__tstate); | |
3791 | if (PyErr_Occurred()) SWIG_fail; | |
3792 | } | |
3793 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3794 | return resultobj; | |
3795 | fail: | |
3796 | return NULL; | |
d14a1e28 RD |
3797 | } |
3798 | ||
3799 | ||
0085ce49 RD |
3800 | SWIGINTERN PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3801 | PyObject *resultobj = 0; | |
3802 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
3803 | int result; | |
3804 | void *argp1 = 0 ; | |
3805 | int res1 = 0 ; | |
3806 | PyObject *swig_obj[1] ; | |
3807 | ||
3808 | if (!args) SWIG_fail; | |
3809 | swig_obj[0] = args; | |
3810 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlTag, 0 | 0 ); | |
3811 | if (!SWIG_IsOK(res1)) { | |
3812 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTag_GetEndPos2" "', expected argument " "1"" of type '" "wxHtmlTag *""'"); | |
3813 | } | |
3814 | arg1 = reinterpret_cast< wxHtmlTag * >(argp1); | |
3815 | { | |
3816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3817 | result = (int)(arg1)->GetEndPos2(); | |
3818 | wxPyEndAllowThreads(__tstate); | |
3819 | if (PyErr_Occurred()) SWIG_fail; | |
3820 | } | |
3821 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
3822 | return resultobj; | |
3823 | fail: | |
3824 | return NULL; | |
3825 | } | |
3826 | ||
3827 | ||
3828 | SWIGINTERN PyObject *HtmlTag_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3829 | PyObject *obj; | |
3830 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3831 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlTag, SWIG_NewClientData(obj)); | |
3832 | return SWIG_Py_Void(); | |
3833 | } | |
3834 | ||
3835 | SWIGINTERN PyObject *_wrap_HtmlParser_SetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3836 | PyObject *resultobj = 0; | |
3837 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3838 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
3839 | void *argp1 = 0 ; | |
3840 | int res1 = 0 ; | |
3841 | void *argp2 = 0 ; | |
3842 | int res2 = 0 ; | |
3843 | PyObject * obj0 = 0 ; | |
3844 | PyObject * obj1 = 0 ; | |
3845 | char * kwnames[] = { | |
3846 | (char *) "self",(char *) "fs", NULL | |
3847 | }; | |
3848 | ||
3849 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) SWIG_fail; | |
3850 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3851 | if (!SWIG_IsOK(res1)) { | |
3852 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_SetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3853 | } | |
3854 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3855 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFileSystem, 0 | 0 ); | |
3856 | if (!SWIG_IsOK(res2)) { | |
3857 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_SetFS" "', expected argument " "2"" of type '" "wxFileSystem *""'"); | |
3858 | } | |
3859 | arg2 = reinterpret_cast< wxFileSystem * >(argp2); | |
3860 | { | |
3861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3862 | (arg1)->SetFS(arg2); | |
3863 | wxPyEndAllowThreads(__tstate); | |
3864 | if (PyErr_Occurred()) SWIG_fail; | |
3865 | } | |
3866 | resultobj = SWIG_Py_Void(); | |
3867 | return resultobj; | |
3868 | fail: | |
3869 | return NULL; | |
d14a1e28 RD |
3870 | } |
3871 | ||
3872 | ||
0085ce49 RD |
3873 | SWIGINTERN PyObject *_wrap_HtmlParser_GetFS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3874 | PyObject *resultobj = 0; | |
3875 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3876 | wxFileSystem *result = 0 ; | |
3877 | void *argp1 = 0 ; | |
3878 | int res1 = 0 ; | |
3879 | PyObject *swig_obj[1] ; | |
3880 | ||
3881 | if (!args) SWIG_fail; | |
3882 | swig_obj[0] = args; | |
3883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3884 | if (!SWIG_IsOK(res1)) { | |
3885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetFS" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3886 | } | |
3887 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3888 | { | |
3889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3890 | result = (wxFileSystem *)(arg1)->GetFS(); | |
3891 | wxPyEndAllowThreads(__tstate); | |
3892 | if (PyErr_Occurred()) SWIG_fail; | |
3893 | } | |
3894 | { | |
3ecece7e | 3895 | resultobj = wxPyMake_wxObject(result, 0); |
0085ce49 RD |
3896 | } |
3897 | return resultobj; | |
3898 | fail: | |
3899 | return NULL; | |
3900 | } | |
3901 | ||
3902 | ||
3903 | SWIGINTERN PyObject *_wrap_HtmlParser_Parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3904 | PyObject *resultobj = 0; | |
3905 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3906 | wxString *arg2 = 0 ; | |
3907 | wxObject *result = 0 ; | |
3908 | void *argp1 = 0 ; | |
3909 | int res1 = 0 ; | |
3910 | bool temp2 = false ; | |
3911 | PyObject * obj0 = 0 ; | |
3912 | PyObject * obj1 = 0 ; | |
3913 | char * kwnames[] = { | |
3914 | (char *) "self",(char *) "source", NULL | |
3915 | }; | |
3916 | ||
3917 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) SWIG_fail; | |
3918 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3919 | if (!SWIG_IsOK(res1)) { | |
3920 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_Parse" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3921 | } | |
3922 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3923 | { | |
3924 | arg2 = wxString_in_helper(obj1); | |
3925 | if (arg2 == NULL) SWIG_fail; | |
3926 | temp2 = true; | |
3927 | } | |
3928 | { | |
3929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3930 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
3931 | wxPyEndAllowThreads(__tstate); | |
3932 | if (PyErr_Occurred()) SWIG_fail; | |
3933 | } | |
3934 | { | |
3935 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
3936 | } | |
3937 | { | |
3938 | if (temp2) | |
3939 | delete arg2; | |
3940 | } | |
3941 | return resultobj; | |
3942 | fail: | |
3943 | { | |
3944 | if (temp2) | |
3945 | delete arg2; | |
3946 | } | |
3947 | return NULL; | |
d14a1e28 RD |
3948 | } |
3949 | ||
3950 | ||
0085ce49 RD |
3951 | SWIGINTERN PyObject *_wrap_HtmlParser_InitParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3952 | PyObject *resultobj = 0; | |
3953 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3954 | wxString *arg2 = 0 ; | |
3955 | void *argp1 = 0 ; | |
3956 | int res1 = 0 ; | |
3957 | bool temp2 = false ; | |
3958 | PyObject * obj0 = 0 ; | |
3959 | PyObject * obj1 = 0 ; | |
3960 | char * kwnames[] = { | |
3961 | (char *) "self",(char *) "source", NULL | |
3962 | }; | |
3963 | ||
3964 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
3965 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
3966 | if (!SWIG_IsOK(res1)) { | |
3967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_InitParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
3968 | } | |
3969 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
3970 | { | |
3971 | arg2 = wxString_in_helper(obj1); | |
3972 | if (arg2 == NULL) SWIG_fail; | |
3973 | temp2 = true; | |
3974 | } | |
3975 | { | |
3976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3977 | (arg1)->InitParser((wxString const &)*arg2); | |
3978 | wxPyEndAllowThreads(__tstate); | |
3979 | if (PyErr_Occurred()) SWIG_fail; | |
3980 | } | |
3981 | resultobj = SWIG_Py_Void(); | |
3982 | { | |
3983 | if (temp2) | |
3984 | delete arg2; | |
3985 | } | |
3986 | return resultobj; | |
3987 | fail: | |
3988 | { | |
3989 | if (temp2) | |
3990 | delete arg2; | |
3991 | } | |
3992 | return NULL; | |
d14a1e28 RD |
3993 | } |
3994 | ||
3995 | ||
0085ce49 RD |
3996 | SWIGINTERN PyObject *_wrap_HtmlParser_DoneParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3997 | PyObject *resultobj = 0; | |
3998 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
3999 | void *argp1 = 0 ; | |
4000 | int res1 = 0 ; | |
4001 | PyObject *swig_obj[1] ; | |
4002 | ||
4003 | if (!args) SWIG_fail; | |
4004 | swig_obj[0] = args; | |
4005 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4006 | if (!SWIG_IsOK(res1)) { | |
4007 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoneParser" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4008 | } | |
4009 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4010 | { | |
4011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4012 | (arg1)->DoneParser(); | |
4013 | wxPyEndAllowThreads(__tstate); | |
4014 | if (PyErr_Occurred()) SWIG_fail; | |
4015 | } | |
4016 | resultobj = SWIG_Py_Void(); | |
4017 | return resultobj; | |
4018 | fail: | |
4019 | return NULL; | |
4020 | } | |
4021 | ||
4022 | ||
4023 | SWIGINTERN PyObject *_wrap_HtmlParser_DoParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4024 | PyObject *resultobj = 0; | |
4025 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4026 | int arg2 ; | |
4027 | int arg3 ; | |
4028 | void *argp1 = 0 ; | |
4029 | int res1 = 0 ; | |
4030 | int val2 ; | |
4031 | int ecode2 = 0 ; | |
4032 | int val3 ; | |
4033 | int ecode3 = 0 ; | |
4034 | PyObject * obj0 = 0 ; | |
4035 | PyObject * obj1 = 0 ; | |
4036 | PyObject * obj2 = 0 ; | |
4037 | char * kwnames[] = { | |
4038 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
4039 | }; | |
4040 | ||
4041 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4042 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4043 | if (!SWIG_IsOK(res1)) { | |
4044 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_DoParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4045 | } | |
4046 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4047 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4048 | if (!SWIG_IsOK(ecode2)) { | |
4049 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlParser_DoParsing" "', expected argument " "2"" of type '" "int""'"); | |
4050 | } | |
4051 | arg2 = static_cast< int >(val2); | |
4052 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4053 | if (!SWIG_IsOK(ecode3)) { | |
4054 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlParser_DoParsing" "', expected argument " "3"" of type '" "int""'"); | |
4055 | } | |
4056 | arg3 = static_cast< int >(val3); | |
4057 | { | |
4058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4059 | (arg1)->DoParsing(arg2,arg3); | |
4060 | wxPyEndAllowThreads(__tstate); | |
4061 | if (PyErr_Occurred()) SWIG_fail; | |
4062 | } | |
4063 | resultobj = SWIG_Py_Void(); | |
4064 | return resultobj; | |
4065 | fail: | |
4066 | return NULL; | |
d14a1e28 RD |
4067 | } |
4068 | ||
4069 | ||
0085ce49 RD |
4070 | SWIGINTERN PyObject *_wrap_HtmlParser_StopParsing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4071 | PyObject *resultobj = 0; | |
4072 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4073 | void *argp1 = 0 ; | |
4074 | int res1 = 0 ; | |
4075 | PyObject *swig_obj[1] ; | |
4076 | ||
4077 | if (!args) SWIG_fail; | |
4078 | swig_obj[0] = args; | |
4079 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4080 | if (!SWIG_IsOK(res1)) { | |
4081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_StopParsing" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4082 | } | |
4083 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4084 | { | |
4085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4086 | (arg1)->StopParsing(); | |
4087 | wxPyEndAllowThreads(__tstate); | |
4088 | if (PyErr_Occurred()) SWIG_fail; | |
4089 | } | |
4090 | resultobj = SWIG_Py_Void(); | |
4091 | return resultobj; | |
4092 | fail: | |
4093 | return NULL; | |
4094 | } | |
4095 | ||
4096 | ||
4097 | SWIGINTERN PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4098 | PyObject *resultobj = 0; | |
4099 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4100 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4101 | void *argp1 = 0 ; | |
4102 | int res1 = 0 ; | |
4103 | void *argp2 = 0 ; | |
4104 | int res2 = 0 ; | |
4105 | PyObject * obj0 = 0 ; | |
4106 | PyObject * obj1 = 0 ; | |
4107 | char * kwnames[] = { | |
4108 | (char *) "self",(char *) "handler", NULL | |
4109 | }; | |
4110 | ||
4111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) SWIG_fail; | |
4112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4113 | if (!SWIG_IsOK(res1)) { | |
4114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4115 | } | |
4116 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4117 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4118 | if (!SWIG_IsOK(res2)) { | |
4119 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_AddTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4120 | } | |
4121 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4122 | { | |
4123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4124 | (arg1)->AddTagHandler(arg2); | |
4125 | wxPyEndAllowThreads(__tstate); | |
4126 | if (PyErr_Occurred()) SWIG_fail; | |
4127 | } | |
4128 | resultobj = SWIG_Py_Void(); | |
4129 | return resultobj; | |
4130 | fail: | |
4131 | return NULL; | |
d14a1e28 RD |
4132 | } |
4133 | ||
4134 | ||
0085ce49 RD |
4135 | SWIGINTERN PyObject *_wrap_HtmlParser_GetSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4136 | PyObject *resultobj = 0; | |
4137 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4138 | wxString *result = 0 ; | |
4139 | void *argp1 = 0 ; | |
4140 | int res1 = 0 ; | |
4141 | PyObject *swig_obj[1] ; | |
4142 | ||
4143 | if (!args) SWIG_fail; | |
4144 | swig_obj[0] = args; | |
4145 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4146 | if (!SWIG_IsOK(res1)) { | |
4147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4148 | } | |
4149 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4150 | { | |
4151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4152 | result = (wxString *)(arg1)->GetSource(); | |
4153 | wxPyEndAllowThreads(__tstate); | |
4154 | if (PyErr_Occurred()) SWIG_fail; | |
4155 | } | |
4156 | { | |
4157 | #if wxUSE_UNICODE | |
4158 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4159 | #else | |
4160 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4161 | #endif | |
4162 | } | |
4163 | return resultobj; | |
4164 | fail: | |
4165 | return NULL; | |
4166 | } | |
4167 | ||
4168 | ||
4169 | SWIGINTERN PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4170 | PyObject *resultobj = 0; | |
4171 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4172 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
4173 | wxString arg3 ; | |
4174 | void *argp1 = 0 ; | |
4175 | int res1 = 0 ; | |
4176 | void *argp2 = 0 ; | |
4177 | int res2 = 0 ; | |
4178 | PyObject * obj0 = 0 ; | |
4179 | PyObject * obj1 = 0 ; | |
4180 | PyObject * obj2 = 0 ; | |
4181 | char * kwnames[] = { | |
4182 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
4183 | }; | |
4184 | ||
4185 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4186 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4187 | if (!SWIG_IsOK(res1)) { | |
4188 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4189 | } | |
4190 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4191 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlTagHandler, 0 | 0 ); | |
4192 | if (!SWIG_IsOK(res2)) { | |
4193 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_PushTagHandler" "', expected argument " "2"" of type '" "wxHtmlTagHandler *""'"); | |
4194 | } | |
4195 | arg2 = reinterpret_cast< wxHtmlTagHandler * >(argp2); | |
4196 | { | |
4197 | wxString* sptr = wxString_in_helper(obj2); | |
4198 | if (sptr == NULL) SWIG_fail; | |
4199 | arg3 = *sptr; | |
4200 | delete sptr; | |
4201 | } | |
4202 | { | |
4203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4204 | (arg1)->PushTagHandler(arg2,arg3); | |
4205 | wxPyEndAllowThreads(__tstate); | |
4206 | if (PyErr_Occurred()) SWIG_fail; | |
4207 | } | |
4208 | resultobj = SWIG_Py_Void(); | |
4209 | return resultobj; | |
4210 | fail: | |
4211 | return NULL; | |
d14a1e28 RD |
4212 | } |
4213 | ||
4214 | ||
0085ce49 RD |
4215 | SWIGINTERN PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4216 | PyObject *resultobj = 0; | |
4217 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4218 | void *argp1 = 0 ; | |
4219 | int res1 = 0 ; | |
4220 | PyObject *swig_obj[1] ; | |
4221 | ||
4222 | if (!args) SWIG_fail; | |
4223 | swig_obj[0] = args; | |
4224 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4225 | if (!SWIG_IsOK(res1)) { | |
4226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_PopTagHandler" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4227 | } | |
4228 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4229 | { | |
4230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4231 | (arg1)->PopTagHandler(); | |
4232 | wxPyEndAllowThreads(__tstate); | |
4233 | if (PyErr_Occurred()) SWIG_fail; | |
4234 | } | |
4235 | resultobj = SWIG_Py_Void(); | |
4236 | return resultobj; | |
4237 | fail: | |
4238 | return NULL; | |
d14a1e28 RD |
4239 | } |
4240 | ||
4241 | ||
e9d6f3a4 RD |
4242 | SWIGINTERN PyObject *_wrap_HtmlParser_GetInnerSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4243 | PyObject *resultobj = 0; | |
4244 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
4245 | wxHtmlTag *arg2 = 0 ; | |
4246 | wxString result; | |
4247 | void *argp1 = 0 ; | |
4248 | int res1 = 0 ; | |
4249 | void *argp2 = 0 ; | |
4250 | int res2 = 0 ; | |
4251 | PyObject * obj0 = 0 ; | |
4252 | PyObject * obj1 = 0 ; | |
4253 | char * kwnames[] = { | |
4254 | (char *) "self",(char *) "tag", NULL | |
4255 | }; | |
4256 | ||
4257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_GetInnerSource",kwnames,&obj0,&obj1)) SWIG_fail; | |
4258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
4259 | if (!SWIG_IsOK(res1)) { | |
4260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "1"" of type '" "wxHtmlParser *""'"); | |
4261 | } | |
4262 | arg1 = reinterpret_cast< wxHtmlParser * >(argp1); | |
4263 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
4264 | if (!SWIG_IsOK(res2)) { | |
4265 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4266 | } | |
4267 | if (!argp2) { | |
4268 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlParser_GetInnerSource" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
4269 | } | |
4270 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
4271 | { | |
4272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4273 | result = (arg1)->GetInnerSource((wxHtmlTag const &)*arg2); | |
4274 | wxPyEndAllowThreads(__tstate); | |
4275 | if (PyErr_Occurred()) SWIG_fail; | |
4276 | } | |
4277 | { | |
4278 | #if wxUSE_UNICODE | |
4279 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4280 | #else | |
4281 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4282 | #endif | |
4283 | } | |
4284 | return resultobj; | |
4285 | fail: | |
4286 | return NULL; | |
4287 | } | |
4288 | ||
4289 | ||
0085ce49 RD |
4290 | SWIGINTERN PyObject *HtmlParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4291 | PyObject *obj; | |
4292 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4293 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlParser, SWIG_NewClientData(obj)); | |
4294 | return SWIG_Py_Void(); | |
d14a1e28 RD |
4295 | } |
4296 | ||
0085ce49 RD |
4297 | SWIGINTERN PyObject *_wrap_new_HtmlWinParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4298 | PyObject *resultobj = 0; | |
4299 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
4300 | wxHtmlWinParser *result = 0 ; | |
4301 | void *argp1 = 0 ; | |
4302 | int res1 = 0 ; | |
4303 | PyObject * obj0 = 0 ; | |
4304 | char * kwnames[] = { | |
4305 | (char *) "wnd", NULL | |
4306 | }; | |
4307 | ||
4308 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) SWIG_fail; | |
4309 | if (obj0) { | |
4310 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
4311 | if (!SWIG_IsOK(res1)) { | |
4312 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWinParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
d14a1e28 | 4313 | } |
0085ce49 RD |
4314 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); |
4315 | } | |
4316 | { | |
4317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4318 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
4319 | wxPyEndAllowThreads(__tstate); | |
4320 | if (PyErr_Occurred()) SWIG_fail; | |
4321 | } | |
4322 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_NEW | 0 ); | |
4323 | return resultobj; | |
4324 | fail: | |
4325 | return NULL; | |
4326 | } | |
4327 | ||
4328 | ||
4329 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4330 | PyObject *resultobj = 0; | |
4331 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4332 | wxDC *arg2 = (wxDC *) 0 ; | |
4333 | void *argp1 = 0 ; | |
4334 | int res1 = 0 ; | |
4335 | void *argp2 = 0 ; | |
4336 | int res2 = 0 ; | |
4337 | PyObject * obj0 = 0 ; | |
4338 | PyObject * obj1 = 0 ; | |
4339 | char * kwnames[] = { | |
4340 | (char *) "self",(char *) "dc", NULL | |
4341 | }; | |
4342 | ||
4343 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
4344 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4345 | if (!SWIG_IsOK(res1)) { | |
4346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4347 | } | |
4348 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4349 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
4350 | if (!SWIG_IsOK(res2)) { | |
4351 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
4352 | } | |
4353 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
4354 | { | |
4355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4356 | (arg1)->SetDC(arg2); | |
4357 | wxPyEndAllowThreads(__tstate); | |
4358 | if (PyErr_Occurred()) SWIG_fail; | |
4359 | } | |
4360 | resultobj = SWIG_Py_Void(); | |
4361 | return resultobj; | |
4362 | fail: | |
4363 | return NULL; | |
d14a1e28 RD |
4364 | } |
4365 | ||
4366 | ||
0085ce49 RD |
4367 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4368 | PyObject *resultobj = 0; | |
4369 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4370 | wxDC *result = 0 ; | |
4371 | void *argp1 = 0 ; | |
4372 | int res1 = 0 ; | |
4373 | PyObject *swig_obj[1] ; | |
4374 | ||
4375 | if (!args) SWIG_fail; | |
4376 | swig_obj[0] = args; | |
4377 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4378 | if (!SWIG_IsOK(res1)) { | |
4379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetDC" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4380 | } | |
4381 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4382 | { | |
4383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4384 | result = (wxDC *)(arg1)->GetDC(); | |
4385 | wxPyEndAllowThreads(__tstate); | |
4386 | if (PyErr_Occurred()) SWIG_fail; | |
4387 | } | |
4388 | { | |
4389 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4390 | } | |
4391 | return resultobj; | |
4392 | fail: | |
4393 | return NULL; | |
d14a1e28 RD |
4394 | } |
4395 | ||
4396 | ||
0085ce49 RD |
4397 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4398 | PyObject *resultobj = 0; | |
4399 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4400 | int result; | |
4401 | void *argp1 = 0 ; | |
4402 | int res1 = 0 ; | |
4403 | PyObject *swig_obj[1] ; | |
4404 | ||
4405 | if (!args) SWIG_fail; | |
4406 | swig_obj[0] = args; | |
4407 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4408 | if (!SWIG_IsOK(res1)) { | |
4409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharHeight" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4410 | } | |
4411 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4412 | { | |
4413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4414 | result = (int)(arg1)->GetCharHeight(); | |
4415 | wxPyEndAllowThreads(__tstate); | |
4416 | if (PyErr_Occurred()) SWIG_fail; | |
4417 | } | |
4418 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4419 | return resultobj; | |
4420 | fail: | |
4421 | return NULL; | |
d14a1e28 RD |
4422 | } |
4423 | ||
4424 | ||
0085ce49 RD |
4425 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4426 | PyObject *resultobj = 0; | |
4427 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4428 | int result; | |
4429 | void *argp1 = 0 ; | |
4430 | int res1 = 0 ; | |
4431 | PyObject *swig_obj[1] ; | |
4432 | ||
4433 | if (!args) SWIG_fail; | |
4434 | swig_obj[0] = args; | |
4435 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4436 | if (!SWIG_IsOK(res1)) { | |
4437 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetCharWidth" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4438 | } | |
4439 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4440 | { | |
4441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4442 | result = (int)(arg1)->GetCharWidth(); | |
4443 | wxPyEndAllowThreads(__tstate); | |
4444 | if (PyErr_Occurred()) SWIG_fail; | |
4445 | } | |
4446 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4447 | return resultobj; | |
4448 | fail: | |
4449 | return NULL; | |
d14a1e28 RD |
4450 | } |
4451 | ||
4452 | ||
0085ce49 RD |
4453 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4454 | PyObject *resultobj = 0; | |
4455 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4456 | wxPyHtmlWindow *result = 0 ; | |
4457 | void *argp1 = 0 ; | |
4458 | int res1 = 0 ; | |
4459 | PyObject *swig_obj[1] ; | |
4460 | ||
4461 | if (!args) SWIG_fail; | |
4462 | swig_obj[0] = args; | |
4463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4464 | if (!SWIG_IsOK(res1)) { | |
4465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindow" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4466 | } | |
4467 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4468 | { | |
4469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4470 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
4471 | wxPyEndAllowThreads(__tstate); | |
4472 | if (PyErr_Occurred()) SWIG_fail; | |
4473 | } | |
4474 | { | |
4475 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
4476 | } | |
4477 | return resultobj; | |
4478 | fail: | |
4479 | return NULL; | |
4480 | } | |
4481 | ||
4482 | ||
e9d6f3a4 RD |
4483 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4484 | PyObject *resultobj = 0; | |
4485 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4486 | wxHtmlWindowInterface *result = 0 ; | |
4487 | void *argp1 = 0 ; | |
4488 | int res1 = 0 ; | |
4489 | PyObject *swig_obj[1] ; | |
4490 | ||
4491 | if (!args) SWIG_fail; | |
4492 | swig_obj[0] = args; | |
4493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4494 | if (!SWIG_IsOK(res1)) { | |
4495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4496 | } | |
4497 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4498 | { | |
4499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4500 | result = (wxHtmlWindowInterface *)(arg1)->GetWindowInterface(); | |
4501 | wxPyEndAllowThreads(__tstate); | |
4502 | if (PyErr_Occurred()) SWIG_fail; | |
4503 | } | |
4504 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
4505 | return resultobj; | |
4506 | fail: | |
4507 | return NULL; | |
4508 | } | |
4509 | ||
4510 | ||
0085ce49 RD |
4511 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
4512 | PyObject *resultobj = 0; | |
4513 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4514 | wxString arg2 ; | |
4515 | wxString arg3 ; | |
4516 | PyObject *arg4 = (PyObject *) NULL ; | |
4517 | void *argp1 = 0 ; | |
4518 | int res1 = 0 ; | |
4519 | PyObject * obj0 = 0 ; | |
4520 | PyObject * obj1 = 0 ; | |
4521 | PyObject * obj2 = 0 ; | |
4522 | PyObject * obj3 = 0 ; | |
4523 | char * kwnames[] = { | |
4524 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
4525 | }; | |
4526 | ||
4527 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4528 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4529 | if (!SWIG_IsOK(res1)) { | |
4530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4531 | } | |
4532 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4533 | { | |
4534 | wxString* sptr = wxString_in_helper(obj1); | |
4535 | if (sptr == NULL) SWIG_fail; | |
4536 | arg2 = *sptr; | |
4537 | delete sptr; | |
4538 | } | |
4539 | { | |
4540 | wxString* sptr = wxString_in_helper(obj2); | |
4541 | if (sptr == NULL) SWIG_fail; | |
4542 | arg3 = *sptr; | |
4543 | delete sptr; | |
4544 | } | |
4545 | if (obj3) { | |
4546 | arg4 = obj3; | |
4547 | } | |
4548 | { | |
4549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4550 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
4551 | wxPyEndAllowThreads(__tstate); | |
4552 | if (PyErr_Occurred()) SWIG_fail; | |
4553 | } | |
4554 | resultobj = SWIG_Py_Void(); | |
4555 | return resultobj; | |
4556 | fail: | |
4557 | return NULL; | |
4558 | } | |
4559 | ||
4560 | ||
4561 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4562 | PyObject *resultobj = 0; | |
4563 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4564 | int arg2 = (int) -1 ; | |
4565 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4566 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
4567 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4568 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4569 | void *argp1 = 0 ; | |
4570 | int res1 = 0 ; | |
4571 | int val2 ; | |
4572 | int ecode2 = 0 ; | |
4573 | bool temp3 = false ; | |
4574 | bool temp4 = false ; | |
4575 | PyObject * obj0 = 0 ; | |
4576 | PyObject * obj1 = 0 ; | |
4577 | PyObject * obj2 = 0 ; | |
4578 | PyObject * obj3 = 0 ; | |
4579 | char * kwnames[] = { | |
4580 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
4581 | }; | |
4582 | ||
4583 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
4584 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4585 | if (!SWIG_IsOK(res1)) { | |
4586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4587 | } | |
4588 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4589 | if (obj1) { | |
4590 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4591 | if (!SWIG_IsOK(ecode2)) { | |
4592 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
4593 | } | |
4594 | arg2 = static_cast< int >(val2); | |
4595 | } | |
4596 | if (obj2) { | |
d14a1e28 | 4597 | { |
0085ce49 RD |
4598 | arg3 = wxString_in_helper(obj2); |
4599 | if (arg3 == NULL) SWIG_fail; | |
4600 | temp3 = true; | |
d14a1e28 | 4601 | } |
0085ce49 RD |
4602 | } |
4603 | if (obj3) { | |
d14a1e28 | 4604 | { |
0085ce49 RD |
4605 | arg4 = wxString_in_helper(obj3); |
4606 | if (arg4 == NULL) SWIG_fail; | |
4607 | temp4 = true; | |
d14a1e28 | 4608 | } |
0085ce49 RD |
4609 | } |
4610 | { | |
4611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4612 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
4613 | wxPyEndAllowThreads(__tstate); | |
4614 | if (PyErr_Occurred()) SWIG_fail; | |
4615 | } | |
4616 | resultobj = SWIG_Py_Void(); | |
4617 | { | |
4618 | if (temp3) | |
4619 | delete arg3; | |
4620 | } | |
4621 | { | |
4622 | if (temp4) | |
4623 | delete arg4; | |
4624 | } | |
4625 | return resultobj; | |
4626 | fail: | |
4627 | { | |
4628 | if (temp3) | |
4629 | delete arg3; | |
4630 | } | |
4631 | { | |
4632 | if (temp4) | |
4633 | delete arg4; | |
4634 | } | |
4635 | return NULL; | |
d14a1e28 RD |
4636 | } |
4637 | ||
4638 | ||
0085ce49 RD |
4639 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4640 | PyObject *resultobj = 0; | |
4641 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4642 | wxHtmlContainerCell *result = 0 ; | |
4643 | void *argp1 = 0 ; | |
4644 | int res1 = 0 ; | |
4645 | PyObject *swig_obj[1] ; | |
4646 | ||
4647 | if (!args) SWIG_fail; | |
4648 | swig_obj[0] = args; | |
4649 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4650 | if (!SWIG_IsOK(res1)) { | |
4651 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4652 | } | |
4653 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4654 | { | |
4655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4656 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
4657 | wxPyEndAllowThreads(__tstate); | |
4658 | if (PyErr_Occurred()) SWIG_fail; | |
4659 | } | |
4660 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4661 | return resultobj; | |
4662 | fail: | |
4663 | return NULL; | |
d14a1e28 RD |
4664 | } |
4665 | ||
4666 | ||
0085ce49 RD |
4667 | SWIGINTERN PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4668 | PyObject *resultobj = 0; | |
4669 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4670 | wxHtmlContainerCell *result = 0 ; | |
4671 | void *argp1 = 0 ; | |
4672 | int res1 = 0 ; | |
4673 | PyObject *swig_obj[1] ; | |
4674 | ||
4675 | if (!args) SWIG_fail; | |
4676 | swig_obj[0] = args; | |
4677 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4678 | if (!SWIG_IsOK(res1)) { | |
4679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_OpenContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4680 | } | |
4681 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4682 | { | |
4683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4684 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
4685 | wxPyEndAllowThreads(__tstate); | |
4686 | if (PyErr_Occurred()) SWIG_fail; | |
4687 | } | |
4688 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4689 | return resultobj; | |
4690 | fail: | |
4691 | return NULL; | |
4692 | } | |
4693 | ||
4694 | ||
4695 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4696 | PyObject *resultobj = 0; | |
4697 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4698 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4699 | wxHtmlContainerCell *result = 0 ; | |
4700 | void *argp1 = 0 ; | |
4701 | int res1 = 0 ; | |
4702 | void *argp2 = 0 ; | |
4703 | int res2 = 0 ; | |
4704 | PyObject * obj0 = 0 ; | |
4705 | PyObject * obj1 = 0 ; | |
4706 | char * kwnames[] = { | |
4707 | (char *) "self",(char *) "c", NULL | |
4708 | }; | |
4709 | ||
4710 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4711 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4712 | if (!SWIG_IsOK(res1)) { | |
4713 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4714 | } | |
4715 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4716 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4717 | if (!SWIG_IsOK(res2)) { | |
4718 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinParser_SetContainer" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
4719 | } | |
4720 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
4721 | { | |
4722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4723 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
4724 | wxPyEndAllowThreads(__tstate); | |
4725 | if (PyErr_Occurred()) SWIG_fail; | |
4726 | } | |
4727 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4728 | return resultobj; | |
4729 | fail: | |
4730 | return NULL; | |
d14a1e28 RD |
4731 | } |
4732 | ||
4733 | ||
0085ce49 RD |
4734 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4735 | PyObject *resultobj = 0; | |
4736 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4737 | wxHtmlContainerCell *result = 0 ; | |
4738 | void *argp1 = 0 ; | |
4739 | int res1 = 0 ; | |
4740 | PyObject *swig_obj[1] ; | |
4741 | ||
4742 | if (!args) SWIG_fail; | |
4743 | swig_obj[0] = args; | |
4744 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4745 | if (!SWIG_IsOK(res1)) { | |
4746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CloseContainer" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4747 | } | |
4748 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4749 | { | |
4750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4751 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
4752 | wxPyEndAllowThreads(__tstate); | |
4753 | if (PyErr_Occurred()) SWIG_fail; | |
4754 | } | |
4755 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
4756 | return resultobj; | |
4757 | fail: | |
4758 | return NULL; | |
d14a1e28 RD |
4759 | } |
4760 | ||
4761 | ||
0085ce49 RD |
4762 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4763 | PyObject *resultobj = 0; | |
4764 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4765 | int result; | |
4766 | void *argp1 = 0 ; | |
4767 | int res1 = 0 ; | |
4768 | PyObject *swig_obj[1] ; | |
4769 | ||
4770 | if (!args) SWIG_fail; | |
4771 | swig_obj[0] = args; | |
4772 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4773 | if (!SWIG_IsOK(res1)) { | |
4774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4775 | } | |
4776 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4777 | { | |
4778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4779 | result = (int)(arg1)->GetFontSize(); | |
4780 | wxPyEndAllowThreads(__tstate); | |
4781 | if (PyErr_Occurred()) SWIG_fail; | |
4782 | } | |
4783 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4784 | return resultobj; | |
4785 | fail: | |
4786 | return NULL; | |
4787 | } | |
4788 | ||
4789 | ||
4790 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4791 | PyObject *resultobj = 0; | |
4792 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4793 | int arg2 ; | |
4794 | void *argp1 = 0 ; | |
4795 | int res1 = 0 ; | |
4796 | int val2 ; | |
4797 | int ecode2 = 0 ; | |
4798 | PyObject * obj0 = 0 ; | |
4799 | PyObject * obj1 = 0 ; | |
4800 | char * kwnames[] = { | |
4801 | (char *) "self",(char *) "s", NULL | |
4802 | }; | |
4803 | ||
4804 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4805 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4806 | if (!SWIG_IsOK(res1)) { | |
4807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4808 | } | |
4809 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4810 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4811 | if (!SWIG_IsOK(ecode2)) { | |
4812 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontSize" "', expected argument " "2"" of type '" "int""'"); | |
4813 | } | |
4814 | arg2 = static_cast< int >(val2); | |
4815 | { | |
4816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4817 | (arg1)->SetFontSize(arg2); | |
4818 | wxPyEndAllowThreads(__tstate); | |
4819 | if (PyErr_Occurred()) SWIG_fail; | |
4820 | } | |
4821 | resultobj = SWIG_Py_Void(); | |
4822 | return resultobj; | |
4823 | fail: | |
4824 | return NULL; | |
d14a1e28 RD |
4825 | } |
4826 | ||
4827 | ||
0085ce49 RD |
4828 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4829 | PyObject *resultobj = 0; | |
4830 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4831 | int result; | |
4832 | void *argp1 = 0 ; | |
4833 | int res1 = 0 ; | |
4834 | PyObject *swig_obj[1] ; | |
4835 | ||
4836 | if (!args) SWIG_fail; | |
4837 | swig_obj[0] = args; | |
4838 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4839 | if (!SWIG_IsOK(res1)) { | |
4840 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4841 | } | |
4842 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4843 | { | |
4844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4845 | result = (int)(arg1)->GetFontBold(); | |
4846 | wxPyEndAllowThreads(__tstate); | |
4847 | if (PyErr_Occurred()) SWIG_fail; | |
4848 | } | |
4849 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4850 | return resultobj; | |
4851 | fail: | |
4852 | return NULL; | |
4853 | } | |
4854 | ||
4855 | ||
4856 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4857 | PyObject *resultobj = 0; | |
4858 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4859 | int arg2 ; | |
4860 | void *argp1 = 0 ; | |
4861 | int res1 = 0 ; | |
4862 | int val2 ; | |
4863 | int ecode2 = 0 ; | |
4864 | PyObject * obj0 = 0 ; | |
4865 | PyObject * obj1 = 0 ; | |
4866 | char * kwnames[] = { | |
4867 | (char *) "self",(char *) "x", NULL | |
4868 | }; | |
4869 | ||
4870 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) SWIG_fail; | |
4871 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4872 | if (!SWIG_IsOK(res1)) { | |
4873 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4874 | } | |
4875 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4876 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4877 | if (!SWIG_IsOK(ecode2)) { | |
4878 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontBold" "', expected argument " "2"" of type '" "int""'"); | |
4879 | } | |
4880 | arg2 = static_cast< int >(val2); | |
4881 | { | |
4882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4883 | (arg1)->SetFontBold(arg2); | |
4884 | wxPyEndAllowThreads(__tstate); | |
4885 | if (PyErr_Occurred()) SWIG_fail; | |
4886 | } | |
4887 | resultobj = SWIG_Py_Void(); | |
4888 | return resultobj; | |
4889 | fail: | |
4890 | return NULL; | |
d14a1e28 RD |
4891 | } |
4892 | ||
4893 | ||
0085ce49 RD |
4894 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4895 | PyObject *resultobj = 0; | |
4896 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4897 | int result; | |
4898 | void *argp1 = 0 ; | |
4899 | int res1 = 0 ; | |
4900 | PyObject *swig_obj[1] ; | |
4901 | ||
4902 | if (!args) SWIG_fail; | |
4903 | swig_obj[0] = args; | |
4904 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4905 | if (!SWIG_IsOK(res1)) { | |
4906 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4907 | } | |
4908 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4909 | { | |
4910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4911 | result = (int)(arg1)->GetFontItalic(); | |
4912 | wxPyEndAllowThreads(__tstate); | |
4913 | if (PyErr_Occurred()) SWIG_fail; | |
4914 | } | |
4915 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4916 | return resultobj; | |
4917 | fail: | |
4918 | return NULL; | |
4919 | } | |
4920 | ||
4921 | ||
4922 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4923 | PyObject *resultobj = 0; | |
4924 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4925 | int arg2 ; | |
4926 | void *argp1 = 0 ; | |
4927 | int res1 = 0 ; | |
4928 | int val2 ; | |
4929 | int ecode2 = 0 ; | |
4930 | PyObject * obj0 = 0 ; | |
4931 | PyObject * obj1 = 0 ; | |
4932 | char * kwnames[] = { | |
4933 | (char *) "self",(char *) "x", NULL | |
4934 | }; | |
4935 | ||
4936 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) SWIG_fail; | |
4937 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4938 | if (!SWIG_IsOK(res1)) { | |
4939 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4940 | } | |
4941 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4942 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4943 | if (!SWIG_IsOK(ecode2)) { | |
4944 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontItalic" "', expected argument " "2"" of type '" "int""'"); | |
4945 | } | |
4946 | arg2 = static_cast< int >(val2); | |
4947 | { | |
4948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4949 | (arg1)->SetFontItalic(arg2); | |
4950 | wxPyEndAllowThreads(__tstate); | |
4951 | if (PyErr_Occurred()) SWIG_fail; | |
4952 | } | |
4953 | resultobj = SWIG_Py_Void(); | |
4954 | return resultobj; | |
4955 | fail: | |
4956 | return NULL; | |
d14a1e28 RD |
4957 | } |
4958 | ||
4959 | ||
0085ce49 RD |
4960 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4961 | PyObject *resultobj = 0; | |
4962 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4963 | int result; | |
4964 | void *argp1 = 0 ; | |
4965 | int res1 = 0 ; | |
4966 | PyObject *swig_obj[1] ; | |
4967 | ||
4968 | if (!args) SWIG_fail; | |
4969 | swig_obj[0] = args; | |
4970 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
4971 | if (!SWIG_IsOK(res1)) { | |
4972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
4973 | } | |
4974 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
4975 | { | |
4976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4977 | result = (int)(arg1)->GetFontUnderlined(); | |
4978 | wxPyEndAllowThreads(__tstate); | |
4979 | if (PyErr_Occurred()) SWIG_fail; | |
4980 | } | |
4981 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4982 | return resultobj; | |
4983 | fail: | |
4984 | return NULL; | |
4985 | } | |
4986 | ||
4987 | ||
4988 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4989 | PyObject *resultobj = 0; | |
4990 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
4991 | int arg2 ; | |
4992 | void *argp1 = 0 ; | |
4993 | int res1 = 0 ; | |
4994 | int val2 ; | |
4995 | int ecode2 = 0 ; | |
4996 | PyObject * obj0 = 0 ; | |
4997 | PyObject * obj1 = 0 ; | |
4998 | char * kwnames[] = { | |
4999 | (char *) "self",(char *) "x", NULL | |
5000 | }; | |
5001 | ||
5002 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail; | |
5003 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5004 | if (!SWIG_IsOK(res1)) { | |
5005 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5006 | } | |
5007 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5008 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5009 | if (!SWIG_IsOK(ecode2)) { | |
5010 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontUnderlined" "', expected argument " "2"" of type '" "int""'"); | |
5011 | } | |
5012 | arg2 = static_cast< int >(val2); | |
5013 | { | |
5014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5015 | (arg1)->SetFontUnderlined(arg2); | |
5016 | wxPyEndAllowThreads(__tstate); | |
5017 | if (PyErr_Occurred()) SWIG_fail; | |
5018 | } | |
5019 | resultobj = SWIG_Py_Void(); | |
5020 | return resultobj; | |
5021 | fail: | |
5022 | return NULL; | |
d14a1e28 RD |
5023 | } |
5024 | ||
5025 | ||
0085ce49 RD |
5026 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5027 | PyObject *resultobj = 0; | |
5028 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5029 | int result; | |
5030 | void *argp1 = 0 ; | |
5031 | int res1 = 0 ; | |
5032 | PyObject *swig_obj[1] ; | |
5033 | ||
5034 | if (!args) SWIG_fail; | |
5035 | swig_obj[0] = args; | |
5036 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5037 | if (!SWIG_IsOK(res1)) { | |
5038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5039 | } | |
5040 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5041 | { | |
5042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5043 | result = (int)(arg1)->GetFontFixed(); | |
5044 | wxPyEndAllowThreads(__tstate); | |
5045 | if (PyErr_Occurred()) SWIG_fail; | |
5046 | } | |
5047 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5048 | return resultobj; | |
5049 | fail: | |
5050 | return NULL; | |
5051 | } | |
5052 | ||
5053 | ||
5054 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5055 | PyObject *resultobj = 0; | |
5056 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5057 | int arg2 ; | |
5058 | void *argp1 = 0 ; | |
5059 | int res1 = 0 ; | |
5060 | int val2 ; | |
5061 | int ecode2 = 0 ; | |
5062 | PyObject * obj0 = 0 ; | |
5063 | PyObject * obj1 = 0 ; | |
5064 | char * kwnames[] = { | |
5065 | (char *) "self",(char *) "x", NULL | |
5066 | }; | |
5067 | ||
5068 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) SWIG_fail; | |
5069 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5070 | if (!SWIG_IsOK(res1)) { | |
5071 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5072 | } | |
5073 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5074 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5075 | if (!SWIG_IsOK(ecode2)) { | |
5076 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetFontFixed" "', expected argument " "2"" of type '" "int""'"); | |
5077 | } | |
5078 | arg2 = static_cast< int >(val2); | |
5079 | { | |
5080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5081 | (arg1)->SetFontFixed(arg2); | |
5082 | wxPyEndAllowThreads(__tstate); | |
5083 | if (PyErr_Occurred()) SWIG_fail; | |
5084 | } | |
5085 | resultobj = SWIG_Py_Void(); | |
5086 | return resultobj; | |
5087 | fail: | |
5088 | return NULL; | |
30ee79f7 RD |
5089 | } |
5090 | ||
5091 | ||
0085ce49 RD |
5092 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5093 | PyObject *resultobj = 0; | |
5094 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5095 | int result; | |
5096 | void *argp1 = 0 ; | |
5097 | int res1 = 0 ; | |
5098 | PyObject *swig_obj[1] ; | |
5099 | ||
5100 | if (!args) SWIG_fail; | |
5101 | swig_obj[0] = args; | |
5102 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5103 | if (!SWIG_IsOK(res1)) { | |
5104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5105 | } | |
5106 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5107 | { | |
5108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5109 | result = (int)(arg1)->GetAlign(); | |
5110 | wxPyEndAllowThreads(__tstate); | |
5111 | if (PyErr_Occurred()) SWIG_fail; | |
5112 | } | |
5113 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5114 | return resultobj; | |
5115 | fail: | |
5116 | return NULL; | |
5117 | } | |
5118 | ||
5119 | ||
5120 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5121 | PyObject *resultobj = 0; | |
5122 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5123 | int arg2 ; | |
5124 | void *argp1 = 0 ; | |
5125 | int res1 = 0 ; | |
5126 | int val2 ; | |
5127 | int ecode2 = 0 ; | |
5128 | PyObject * obj0 = 0 ; | |
5129 | PyObject * obj1 = 0 ; | |
5130 | char * kwnames[] = { | |
5131 | (char *) "self",(char *) "a", NULL | |
5132 | }; | |
5133 | ||
5134 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
5135 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5136 | if (!SWIG_IsOK(res1)) { | |
5137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5138 | } | |
5139 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5140 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5141 | if (!SWIG_IsOK(ecode2)) { | |
5142 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWinParser_SetAlign" "', expected argument " "2"" of type '" "int""'"); | |
5143 | } | |
5144 | arg2 = static_cast< int >(val2); | |
5145 | { | |
5146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5147 | (arg1)->SetAlign(arg2); | |
5148 | wxPyEndAllowThreads(__tstate); | |
5149 | if (PyErr_Occurred()) SWIG_fail; | |
5150 | } | |
5151 | resultobj = SWIG_Py_Void(); | |
5152 | return resultobj; | |
5153 | fail: | |
5154 | return NULL; | |
d14a1e28 RD |
5155 | } |
5156 | ||
5157 | ||
0085ce49 RD |
5158 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5159 | PyObject *resultobj = 0; | |
5160 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5161 | wxColour result; | |
5162 | void *argp1 = 0 ; | |
5163 | int res1 = 0 ; | |
5164 | PyObject *swig_obj[1] ; | |
5165 | ||
5166 | if (!args) SWIG_fail; | |
5167 | swig_obj[0] = args; | |
5168 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5169 | if (!SWIG_IsOK(res1)) { | |
5170 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5171 | } | |
5172 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5173 | { | |
5174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5175 | result = (arg1)->GetLinkColor(); | |
5176 | wxPyEndAllowThreads(__tstate); | |
5177 | if (PyErr_Occurred()) SWIG_fail; | |
5178 | } | |
5179 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5180 | return resultobj; | |
5181 | fail: | |
5182 | return NULL; | |
5183 | } | |
5184 | ||
5185 | ||
5186 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5187 | PyObject *resultobj = 0; | |
5188 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5189 | wxColour *arg2 = 0 ; | |
5190 | void *argp1 = 0 ; | |
5191 | int res1 = 0 ; | |
5192 | wxColour temp2 ; | |
5193 | PyObject * obj0 = 0 ; | |
5194 | PyObject * obj1 = 0 ; | |
5195 | char * kwnames[] = { | |
5196 | (char *) "self",(char *) "clr", NULL | |
5197 | }; | |
5198 | ||
5199 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5200 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5201 | if (!SWIG_IsOK(res1)) { | |
5202 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLinkColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5203 | } | |
5204 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5205 | { | |
5206 | arg2 = &temp2; | |
5207 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5208 | } | |
5209 | { | |
5210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5211 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
5212 | wxPyEndAllowThreads(__tstate); | |
5213 | if (PyErr_Occurred()) SWIG_fail; | |
5214 | } | |
5215 | resultobj = SWIG_Py_Void(); | |
5216 | return resultobj; | |
5217 | fail: | |
5218 | return NULL; | |
d14a1e28 RD |
5219 | } |
5220 | ||
5221 | ||
0085ce49 RD |
5222 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5223 | PyObject *resultobj = 0; | |
5224 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5225 | wxColour result; | |
5226 | void *argp1 = 0 ; | |
5227 | int res1 = 0 ; | |
5228 | PyObject *swig_obj[1] ; | |
5229 | ||
5230 | if (!args) SWIG_fail; | |
5231 | swig_obj[0] = args; | |
5232 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5233 | if (!SWIG_IsOK(res1)) { | |
5234 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5235 | } | |
5236 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5237 | { | |
5238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5239 | result = (arg1)->GetActualColor(); | |
5240 | wxPyEndAllowThreads(__tstate); | |
5241 | if (PyErr_Occurred()) SWIG_fail; | |
5242 | } | |
5243 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
5244 | return resultobj; | |
5245 | fail: | |
5246 | return NULL; | |
5247 | } | |
5248 | ||
5249 | ||
5250 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5251 | PyObject *resultobj = 0; | |
5252 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5253 | wxColour *arg2 = 0 ; | |
5254 | void *argp1 = 0 ; | |
5255 | int res1 = 0 ; | |
5256 | wxColour temp2 ; | |
5257 | PyObject * obj0 = 0 ; | |
5258 | PyObject * obj1 = 0 ; | |
5259 | char * kwnames[] = { | |
5260 | (char *) "self",(char *) "clr", NULL | |
5261 | }; | |
5262 | ||
5263 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
5264 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5265 | if (!SWIG_IsOK(res1)) { | |
5266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetActualColor" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5267 | } | |
5268 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5269 | { | |
5270 | arg2 = &temp2; | |
5271 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5272 | } | |
5273 | { | |
5274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5275 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
5276 | wxPyEndAllowThreads(__tstate); | |
5277 | if (PyErr_Occurred()) SWIG_fail; | |
5278 | } | |
5279 | resultobj = SWIG_Py_Void(); | |
5280 | return resultobj; | |
5281 | fail: | |
5282 | return NULL; | |
5283 | } | |
5284 | ||
5285 | ||
5286 | SWIGINTERN PyObject *_wrap_HtmlWinParser_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5287 | PyObject *resultobj = 0; | |
5288 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5289 | wxString *arg2 = 0 ; | |
5290 | void *argp1 = 0 ; | |
5291 | int res1 = 0 ; | |
5292 | bool temp2 = false ; | |
5293 | PyObject * obj0 = 0 ; | |
5294 | PyObject * obj1 = 0 ; | |
5295 | char * kwnames[] = { | |
5296 | (char *) "self",(char *) "link", NULL | |
5297 | }; | |
5298 | ||
5299 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
5300 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5301 | if (!SWIG_IsOK(res1)) { | |
5302 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_SetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5303 | } | |
5304 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5305 | { | |
5306 | arg2 = wxString_in_helper(obj1); | |
5307 | if (arg2 == NULL) SWIG_fail; | |
5308 | temp2 = true; | |
5309 | } | |
5310 | { | |
5311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5312 | (arg1)->SetLink((wxString const &)*arg2); | |
5313 | wxPyEndAllowThreads(__tstate); | |
5314 | if (PyErr_Occurred()) SWIG_fail; | |
5315 | } | |
5316 | resultobj = SWIG_Py_Void(); | |
5317 | { | |
5318 | if (temp2) | |
5319 | delete arg2; | |
5320 | } | |
5321 | return resultobj; | |
5322 | fail: | |
5323 | { | |
5324 | if (temp2) | |
5325 | delete arg2; | |
5326 | } | |
5327 | return NULL; | |
d14a1e28 RD |
5328 | } |
5329 | ||
5330 | ||
0085ce49 RD |
5331 | SWIGINTERN PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5332 | PyObject *resultobj = 0; | |
5333 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5334 | wxFont *result = 0 ; | |
5335 | void *argp1 = 0 ; | |
5336 | int res1 = 0 ; | |
5337 | PyObject *swig_obj[1] ; | |
5338 | ||
5339 | if (!args) SWIG_fail; | |
5340 | swig_obj[0] = args; | |
5341 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5342 | if (!SWIG_IsOK(res1)) { | |
5343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_CreateCurrentFont" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5344 | } | |
5345 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5346 | { | |
5347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5348 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
5349 | wxPyEndAllowThreads(__tstate); | |
5350 | if (PyErr_Occurred()) SWIG_fail; | |
5351 | } | |
5352 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFont, 0 | 0 ); | |
5353 | return resultobj; | |
5354 | fail: | |
5355 | return NULL; | |
d14a1e28 RD |
5356 | } |
5357 | ||
5358 | ||
0085ce49 RD |
5359 | SWIGINTERN PyObject *_wrap_HtmlWinParser_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5360 | PyObject *resultobj = 0; | |
5361 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
5362 | SwigValueWrapper<wxHtmlLinkInfo > result; | |
5363 | void *argp1 = 0 ; | |
5364 | int res1 = 0 ; | |
5365 | PyObject *swig_obj[1] ; | |
5366 | ||
5367 | if (!args) SWIG_fail; | |
5368 | swig_obj[0] = args; | |
5369 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5370 | if (!SWIG_IsOK(res1)) { | |
5371 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinParser_GetLink" "', expected argument " "1"" of type '" "wxHtmlWinParser *""'"); | |
5372 | } | |
5373 | arg1 = reinterpret_cast< wxHtmlWinParser * >(argp1); | |
5374 | { | |
5375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5376 | result = (arg1)->GetLink(); | |
5377 | wxPyEndAllowThreads(__tstate); | |
5378 | if (PyErr_Occurred()) SWIG_fail; | |
5379 | } | |
5380 | resultobj = SWIG_NewPointerObj((new wxHtmlLinkInfo(static_cast< const wxHtmlLinkInfo& >(result))), SWIGTYPE_p_wxHtmlLinkInfo, SWIG_POINTER_OWN | 0 ); | |
5381 | return resultobj; | |
5382 | fail: | |
5383 | return NULL; | |
d14a1e28 RD |
5384 | } |
5385 | ||
5386 | ||
0085ce49 RD |
5387 | SWIGINTERN PyObject *HtmlWinParser_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5388 | PyObject *obj; | |
5389 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5390 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWinParser, SWIG_NewClientData(obj)); | |
5391 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5392 | } |
5393 | ||
0085ce49 RD |
5394 | SWIGINTERN PyObject *HtmlWinParser_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5395 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
5396 | } |
5397 | ||
0085ce49 RD |
5398 | SWIGINTERN PyObject *_wrap_new_HtmlTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5399 | PyObject *resultobj = 0; | |
5400 | wxPyHtmlTagHandler *result = 0 ; | |
5401 | ||
5402 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlTagHandler",0,0,0)) SWIG_fail; | |
5403 | { | |
5404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5405 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
5406 | wxPyEndAllowThreads(__tstate); | |
5407 | if (PyErr_Occurred()) SWIG_fail; | |
5408 | } | |
5409 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_POINTER_NEW | 0 ); | |
5410 | return resultobj; | |
5411 | fail: | |
5412 | return NULL; | |
5413 | } | |
5414 | ||
5415 | ||
5416 | SWIGINTERN PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5417 | PyObject *resultobj = 0; | |
5418 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5419 | PyObject *arg2 = (PyObject *) 0 ; | |
5420 | PyObject *arg3 = (PyObject *) 0 ; | |
5421 | void *argp1 = 0 ; | |
5422 | int res1 = 0 ; | |
5423 | PyObject * obj0 = 0 ; | |
5424 | PyObject * obj1 = 0 ; | |
5425 | PyObject * obj2 = 0 ; | |
5426 | char * kwnames[] = { | |
5427 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5428 | }; | |
5429 | ||
5430 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5431 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5432 | if (!SWIG_IsOK(res1)) { | |
5433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5434 | } | |
5435 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5436 | arg2 = obj1; | |
5437 | arg3 = obj2; | |
5438 | { | |
5439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5440 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5441 | wxPyEndAllowThreads(__tstate); | |
5442 | if (PyErr_Occurred()) SWIG_fail; | |
5443 | } | |
5444 | resultobj = SWIG_Py_Void(); | |
5445 | return resultobj; | |
5446 | fail: | |
5447 | return NULL; | |
5448 | } | |
5449 | ||
5450 | ||
5451 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5452 | PyObject *resultobj = 0; | |
5453 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5454 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5455 | void *argp1 = 0 ; | |
5456 | int res1 = 0 ; | |
5457 | void *argp2 = 0 ; | |
5458 | int res2 = 0 ; | |
5459 | PyObject * obj0 = 0 ; | |
5460 | PyObject * obj1 = 0 ; | |
5461 | char * kwnames[] = { | |
5462 | (char *) "self",(char *) "parser", NULL | |
5463 | }; | |
5464 | ||
5465 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5466 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5467 | if (!SWIG_IsOK(res1)) { | |
5468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5469 | } | |
5470 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5471 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5472 | if (!SWIG_IsOK(res2)) { | |
5473 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5474 | } | |
5475 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5476 | { | |
5477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5478 | (arg1)->SetParser(arg2); | |
5479 | wxPyEndAllowThreads(__tstate); | |
5480 | if (PyErr_Occurred()) SWIG_fail; | |
5481 | } | |
5482 | resultobj = SWIG_Py_Void(); | |
5483 | return resultobj; | |
5484 | fail: | |
5485 | return NULL; | |
d14a1e28 RD |
5486 | } |
5487 | ||
5488 | ||
0085ce49 RD |
5489 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5490 | PyObject *resultobj = 0; | |
5491 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5492 | wxHtmlParser *result = 0 ; | |
5493 | void *argp1 = 0 ; | |
5494 | int res1 = 0 ; | |
5495 | PyObject *swig_obj[1] ; | |
5496 | ||
5497 | if (!args) SWIG_fail; | |
5498 | swig_obj[0] = args; | |
5499 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5500 | if (!SWIG_IsOK(res1)) { | |
5501 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5502 | } | |
5503 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5504 | { | |
5505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5506 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
5507 | wxPyEndAllowThreads(__tstate); | |
5508 | if (PyErr_Occurred()) SWIG_fail; | |
5509 | } | |
5510 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5511 | return resultobj; | |
5512 | fail: | |
5513 | return NULL; | |
5514 | } | |
5515 | ||
5516 | ||
5517 | SWIGINTERN PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5518 | PyObject *resultobj = 0; | |
5519 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
5520 | wxHtmlTag *arg2 = 0 ; | |
5521 | void *argp1 = 0 ; | |
5522 | int res1 = 0 ; | |
5523 | void *argp2 = 0 ; | |
5524 | int res2 = 0 ; | |
5525 | PyObject * obj0 = 0 ; | |
5526 | PyObject * obj1 = 0 ; | |
5527 | char * kwnames[] = { | |
5528 | (char *) "self",(char *) "tag", NULL | |
5529 | }; | |
5530 | ||
5531 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5532 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlTagHandler, 0 | 0 ); | |
5533 | if (!SWIG_IsOK(res1)) { | |
5534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlTagHandler *""'"); | |
5535 | } | |
5536 | arg1 = reinterpret_cast< wxPyHtmlTagHandler * >(argp1); | |
5537 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5538 | if (!SWIG_IsOK(res2)) { | |
5539 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5540 | } | |
5541 | if (!argp2) { | |
5542 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5543 | } | |
5544 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5545 | { | |
5546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5547 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5548 | wxPyEndAllowThreads(__tstate); | |
5549 | if (PyErr_Occurred()) SWIG_fail; | |
5550 | } | |
5551 | resultobj = SWIG_Py_Void(); | |
5552 | return resultobj; | |
5553 | fail: | |
5554 | return NULL; | |
d14a1e28 RD |
5555 | } |
5556 | ||
5557 | ||
0085ce49 RD |
5558 | SWIGINTERN PyObject *HtmlTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5559 | PyObject *obj; | |
5560 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5561 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlTagHandler, SWIG_NewClientData(obj)); | |
5562 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5563 | } |
5564 | ||
0085ce49 RD |
5565 | SWIGINTERN PyObject *HtmlTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5566 | return SWIG_Python_InitShadowInstance(args); | |
5567 | } | |
d14a1e28 | 5568 | |
0085ce49 RD |
5569 | SWIGINTERN PyObject *_wrap_new_HtmlWinTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5570 | PyObject *resultobj = 0; | |
5571 | wxPyHtmlWinTagHandler *result = 0 ; | |
5572 | ||
5573 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlWinTagHandler",0,0,0)) SWIG_fail; | |
5574 | { | |
5575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5576 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
5577 | wxPyEndAllowThreads(__tstate); | |
5578 | if (PyErr_Occurred()) SWIG_fail; | |
5579 | } | |
5580 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_POINTER_NEW | 0 ); | |
5581 | return resultobj; | |
5582 | fail: | |
5583 | return NULL; | |
5584 | } | |
5585 | ||
5586 | ||
5587 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5588 | PyObject *resultobj = 0; | |
5589 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5590 | PyObject *arg2 = (PyObject *) 0 ; | |
5591 | PyObject *arg3 = (PyObject *) 0 ; | |
5592 | void *argp1 = 0 ; | |
5593 | int res1 = 0 ; | |
5594 | PyObject * obj0 = 0 ; | |
5595 | PyObject * obj1 = 0 ; | |
5596 | PyObject * obj2 = 0 ; | |
5597 | char * kwnames[] = { | |
5598 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5599 | }; | |
5600 | ||
5601 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5602 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5603 | if (!SWIG_IsOK(res1)) { | |
5604 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5605 | } | |
5606 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5607 | arg2 = obj1; | |
5608 | arg3 = obj2; | |
5609 | { | |
5610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5611 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5612 | wxPyEndAllowThreads(__tstate); | |
5613 | if (PyErr_Occurred()) SWIG_fail; | |
5614 | } | |
5615 | resultobj = SWIG_Py_Void(); | |
5616 | return resultobj; | |
5617 | fail: | |
5618 | return NULL; | |
5619 | } | |
5620 | ||
5621 | ||
5622 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5623 | PyObject *resultobj = 0; | |
5624 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5625 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
5626 | void *argp1 = 0 ; | |
5627 | int res1 = 0 ; | |
5628 | void *argp2 = 0 ; | |
5629 | int res2 = 0 ; | |
5630 | PyObject * obj0 = 0 ; | |
5631 | PyObject * obj1 = 0 ; | |
5632 | char * kwnames[] = { | |
5633 | (char *) "self",(char *) "parser", NULL | |
5634 | }; | |
5635 | ||
5636 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) SWIG_fail; | |
5637 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5638 | if (!SWIG_IsOK(res1)) { | |
5639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5640 | } | |
5641 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5642 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlParser, 0 | 0 ); | |
5643 | if (!SWIG_IsOK(res2)) { | |
5644 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_SetParser" "', expected argument " "2"" of type '" "wxHtmlParser *""'"); | |
5645 | } | |
5646 | arg2 = reinterpret_cast< wxHtmlParser * >(argp2); | |
5647 | { | |
5648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5649 | (arg1)->SetParser(arg2); | |
5650 | wxPyEndAllowThreads(__tstate); | |
5651 | if (PyErr_Occurred()) SWIG_fail; | |
5652 | } | |
5653 | resultobj = SWIG_Py_Void(); | |
5654 | return resultobj; | |
5655 | fail: | |
5656 | return NULL; | |
d14a1e28 RD |
5657 | } |
5658 | ||
5659 | ||
0085ce49 RD |
5660 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5661 | PyObject *resultobj = 0; | |
5662 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5663 | wxHtmlWinParser *result = 0 ; | |
5664 | void *argp1 = 0 ; | |
5665 | int res1 = 0 ; | |
5666 | PyObject *swig_obj[1] ; | |
5667 | ||
5668 | if (!args) SWIG_fail; | |
5669 | swig_obj[0] = args; | |
5670 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5671 | if (!SWIG_IsOK(res1)) { | |
5672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5673 | } | |
5674 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5675 | { | |
5676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5677 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5678 | wxPyEndAllowThreads(__tstate); | |
5679 | if (PyErr_Occurred()) SWIG_fail; | |
5680 | } | |
5681 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
5682 | return resultobj; | |
5683 | fail: | |
5684 | return NULL; | |
5685 | } | |
5686 | ||
5687 | ||
5688 | SWIGINTERN PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5689 | PyObject *resultobj = 0; | |
5690 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
5691 | wxHtmlTag *arg2 = 0 ; | |
5692 | void *argp1 = 0 ; | |
5693 | int res1 = 0 ; | |
5694 | void *argp2 = 0 ; | |
5695 | int res2 = 0 ; | |
5696 | PyObject * obj0 = 0 ; | |
5697 | PyObject * obj1 = 0 ; | |
5698 | char * kwnames[] = { | |
5699 | (char *) "self",(char *) "tag", NULL | |
5700 | }; | |
5701 | ||
5702 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) SWIG_fail; | |
5703 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWinTagHandler, 0 | 0 ); | |
5704 | if (!SWIG_IsOK(res1)) { | |
5705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "1"" of type '" "wxPyHtmlWinTagHandler *""'"); | |
5706 | } | |
5707 | arg1 = reinterpret_cast< wxPyHtmlWinTagHandler * >(argp1); | |
5708 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
5709 | if (!SWIG_IsOK(res2)) { | |
5710 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5711 | } | |
5712 | if (!argp2) { | |
5713 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWinTagHandler_ParseInner" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
5714 | } | |
5715 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
5716 | { | |
5717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5718 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
5719 | wxPyEndAllowThreads(__tstate); | |
5720 | if (PyErr_Occurred()) SWIG_fail; | |
5721 | } | |
5722 | resultobj = SWIG_Py_Void(); | |
5723 | return resultobj; | |
5724 | fail: | |
5725 | return NULL; | |
d14a1e28 RD |
5726 | } |
5727 | ||
5728 | ||
0085ce49 RD |
5729 | SWIGINTERN PyObject *HtmlWinTagHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5730 | PyObject *obj; | |
5731 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5732 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, SWIG_NewClientData(obj)); | |
5733 | return SWIG_Py_Void(); | |
d14a1e28 RD |
5734 | } |
5735 | ||
0085ce49 RD |
5736 | SWIGINTERN PyObject *HtmlWinTagHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5737 | return SWIG_Python_InitShadowInstance(args); | |
5738 | } | |
d14a1e28 | 5739 | |
0085ce49 RD |
5740 | SWIGINTERN PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5741 | PyObject *resultobj = 0; | |
5742 | PyObject *arg1 = (PyObject *) 0 ; | |
5743 | PyObject * obj0 = 0 ; | |
5744 | char * kwnames[] = { | |
5745 | (char *) "tagHandlerClass", NULL | |
5746 | }; | |
5747 | ||
5748 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) SWIG_fail; | |
5749 | arg1 = obj0; | |
5750 | { | |
5751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5752 | wxHtmlWinParser_AddTagHandler(arg1); | |
5753 | wxPyEndAllowThreads(__tstate); | |
5754 | if (PyErr_Occurred()) SWIG_fail; | |
5755 | } | |
5756 | resultobj = SWIG_Py_Void(); | |
5757 | return resultobj; | |
5758 | fail: | |
5759 | return NULL; | |
d14a1e28 RD |
5760 | } |
5761 | ||
5762 | ||
0085ce49 RD |
5763 | SWIGINTERN PyObject *_wrap_new_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5764 | PyObject *resultobj = 0; | |
5765 | wxHtmlSelection *result = 0 ; | |
5766 | ||
5767 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlSelection",0,0,0)) SWIG_fail; | |
5768 | { | |
5769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5770 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
5771 | wxPyEndAllowThreads(__tstate); | |
5772 | if (PyErr_Occurred()) SWIG_fail; | |
5773 | } | |
5774 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_NEW | 0 ); | |
5775 | return resultobj; | |
5776 | fail: | |
5777 | return NULL; | |
d14a1e28 RD |
5778 | } |
5779 | ||
5780 | ||
0085ce49 RD |
5781 | SWIGINTERN PyObject *_wrap_delete_HtmlSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5782 | PyObject *resultobj = 0; | |
5783 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5784 | void *argp1 = 0 ; | |
5785 | int res1 = 0 ; | |
5786 | PyObject *swig_obj[1] ; | |
5787 | ||
5788 | if (!args) SWIG_fail; | |
5789 | swig_obj[0] = args; | |
5790 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, SWIG_POINTER_DISOWN | 0 ); | |
5791 | if (!SWIG_IsOK(res1)) { | |
5792 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlSelection" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5793 | } | |
5794 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5795 | { | |
5796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5797 | delete arg1; | |
d14a1e28 | 5798 | |
0085ce49 RD |
5799 | wxPyEndAllowThreads(__tstate); |
5800 | if (PyErr_Occurred()) SWIG_fail; | |
5801 | } | |
5802 | resultobj = SWIG_Py_Void(); | |
5803 | return resultobj; | |
5804 | fail: | |
5805 | return NULL; | |
5806 | } | |
5807 | ||
5808 | ||
5809 | SWIGINTERN PyObject *_wrap_HtmlSelection_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5810 | PyObject *resultobj = 0; | |
5811 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5812 | wxPoint *arg2 = 0 ; | |
5813 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5814 | wxPoint *arg4 = 0 ; | |
5815 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
5816 | void *argp1 = 0 ; | |
5817 | int res1 = 0 ; | |
5818 | wxPoint temp2 ; | |
5819 | void *argp3 = 0 ; | |
5820 | int res3 = 0 ; | |
5821 | wxPoint temp4 ; | |
5822 | void *argp5 = 0 ; | |
5823 | int res5 = 0 ; | |
5824 | PyObject * obj0 = 0 ; | |
5825 | PyObject * obj1 = 0 ; | |
5826 | PyObject * obj2 = 0 ; | |
5827 | PyObject * obj3 = 0 ; | |
5828 | PyObject * obj4 = 0 ; | |
5829 | char * kwnames[] = { | |
5830 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
5831 | }; | |
5832 | ||
5833 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
5834 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5835 | if (!SWIG_IsOK(res1)) { | |
5836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_Set" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5837 | } | |
5838 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5839 | { | |
5840 | arg2 = &temp2; | |
5841 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
5842 | } | |
5843 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5844 | if (!SWIG_IsOK(res3)) { | |
5845 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_Set" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5846 | } | |
5847 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5848 | { | |
5849 | arg4 = &temp4; | |
5850 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5851 | } | |
5852 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5853 | if (!SWIG_IsOK(res5)) { | |
5854 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlSelection_Set" "', expected argument " "5"" of type '" "wxHtmlCell const *""'"); | |
5855 | } | |
5856 | arg5 = reinterpret_cast< wxHtmlCell * >(argp5); | |
5857 | { | |
5858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5859 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
5860 | wxPyEndAllowThreads(__tstate); | |
5861 | if (PyErr_Occurred()) SWIG_fail; | |
5862 | } | |
5863 | resultobj = SWIG_Py_Void(); | |
5864 | return resultobj; | |
5865 | fail: | |
5866 | return NULL; | |
5867 | } | |
5868 | ||
5869 | ||
5870 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetCells(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5871 | PyObject *resultobj = 0; | |
5872 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5873 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5874 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
5875 | void *argp1 = 0 ; | |
5876 | int res1 = 0 ; | |
5877 | void *argp2 = 0 ; | |
5878 | int res2 = 0 ; | |
5879 | void *argp3 = 0 ; | |
5880 | int res3 = 0 ; | |
5881 | PyObject * obj0 = 0 ; | |
5882 | PyObject * obj1 = 0 ; | |
5883 | PyObject * obj2 = 0 ; | |
5884 | char * kwnames[] = { | |
5885 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
5886 | }; | |
5887 | ||
5888 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5889 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5890 | if (!SWIG_IsOK(res1)) { | |
5891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetCells" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
5892 | } | |
5893 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5894 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5895 | if (!SWIG_IsOK(res2)) { | |
5896 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlSelection_SetCells" "', expected argument " "2"" of type '" "wxHtmlCell const *""'"); | |
5897 | } | |
5898 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
5899 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
5900 | if (!SWIG_IsOK(res3)) { | |
5901 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlSelection_SetCells" "', expected argument " "3"" of type '" "wxHtmlCell const *""'"); | |
5902 | } | |
5903 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); | |
5904 | { | |
5905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5906 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
5907 | wxPyEndAllowThreads(__tstate); | |
5908 | if (PyErr_Occurred()) SWIG_fail; | |
5909 | } | |
5910 | resultobj = SWIG_Py_Void(); | |
5911 | return resultobj; | |
5912 | fail: | |
5913 | return NULL; | |
d14a1e28 RD |
5914 | } |
5915 | ||
5916 | ||
0085ce49 RD |
5917 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5918 | PyObject *resultobj = 0; | |
5919 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5920 | wxHtmlCell *result = 0 ; | |
5921 | void *argp1 = 0 ; | |
5922 | int res1 = 0 ; | |
5923 | PyObject *swig_obj[1] ; | |
5924 | ||
5925 | if (!args) SWIG_fail; | |
5926 | swig_obj[0] = args; | |
5927 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5928 | if (!SWIG_IsOK(res1)) { | |
5929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5930 | } | |
5931 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5932 | { | |
5933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5934 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
5935 | wxPyEndAllowThreads(__tstate); | |
5936 | if (PyErr_Occurred()) SWIG_fail; | |
5937 | } | |
5938 | { | |
5939 | resultobj = wxPyMake_wxObject(result, 0); | |
5940 | } | |
5941 | return resultobj; | |
5942 | fail: | |
5943 | return NULL; | |
d14a1e28 RD |
5944 | } |
5945 | ||
5946 | ||
0085ce49 RD |
5947 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5948 | PyObject *resultobj = 0; | |
5949 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5950 | wxHtmlCell *result = 0 ; | |
5951 | void *argp1 = 0 ; | |
5952 | int res1 = 0 ; | |
5953 | PyObject *swig_obj[1] ; | |
5954 | ||
5955 | if (!args) SWIG_fail; | |
5956 | swig_obj[0] = args; | |
5957 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5958 | if (!SWIG_IsOK(res1)) { | |
5959 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToCell" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5960 | } | |
5961 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5962 | { | |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
5965 | wxPyEndAllowThreads(__tstate); | |
5966 | if (PyErr_Occurred()) SWIG_fail; | |
5967 | } | |
5968 | { | |
5969 | resultobj = wxPyMake_wxObject(result, 0); | |
5970 | } | |
5971 | return resultobj; | |
5972 | fail: | |
5973 | return NULL; | |
d14a1e28 RD |
5974 | } |
5975 | ||
5976 | ||
0085ce49 RD |
5977 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5978 | PyObject *resultobj = 0; | |
5979 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
5980 | wxPoint *result = 0 ; | |
5981 | void *argp1 = 0 ; | |
5982 | int res1 = 0 ; | |
5983 | PyObject *swig_obj[1] ; | |
5984 | ||
5985 | if (!args) SWIG_fail; | |
5986 | swig_obj[0] = args; | |
5987 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
5988 | if (!SWIG_IsOK(res1)) { | |
5989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
5990 | } | |
5991 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
5992 | { | |
5993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 5994 | { |
0085ce49 RD |
5995 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); |
5996 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 5997 | } |
0085ce49 RD |
5998 | wxPyEndAllowThreads(__tstate); |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
6001 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6002 | return resultobj; | |
6003 | fail: | |
6004 | return NULL; | |
d14a1e28 RD |
6005 | } |
6006 | ||
6007 | ||
0085ce49 RD |
6008 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6009 | PyObject *resultobj = 0; | |
6010 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6011 | wxPoint *result = 0 ; | |
6012 | void *argp1 = 0 ; | |
6013 | int res1 = 0 ; | |
6014 | PyObject *swig_obj[1] ; | |
6015 | ||
6016 | if (!args) SWIG_fail; | |
6017 | swig_obj[0] = args; | |
6018 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6019 | if (!SWIG_IsOK(res1)) { | |
6020 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6021 | } | |
6022 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6023 | { | |
6024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6025 | { |
0085ce49 RD |
6026 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); |
6027 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6028 | } |
0085ce49 RD |
6029 | wxPyEndAllowThreads(__tstate); |
6030 | if (PyErr_Occurred()) SWIG_fail; | |
6031 | } | |
6032 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6033 | return resultobj; | |
6034 | fail: | |
6035 | return NULL; | |
d14a1e28 RD |
6036 | } |
6037 | ||
6038 | ||
0085ce49 RD |
6039 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6040 | PyObject *resultobj = 0; | |
6041 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6042 | wxPoint *result = 0 ; | |
6043 | void *argp1 = 0 ; | |
6044 | int res1 = 0 ; | |
6045 | PyObject *swig_obj[1] ; | |
6046 | ||
6047 | if (!args) SWIG_fail; | |
6048 | swig_obj[0] = args; | |
6049 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6050 | if (!SWIG_IsOK(res1)) { | |
6051 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6052 | } | |
6053 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6054 | { | |
6055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6056 | { |
0085ce49 RD |
6057 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); |
6058 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6059 | } |
0085ce49 RD |
6060 | wxPyEndAllowThreads(__tstate); |
6061 | if (PyErr_Occurred()) SWIG_fail; | |
6062 | } | |
6063 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6064 | return resultobj; | |
6065 | fail: | |
6066 | return NULL; | |
d14a1e28 RD |
6067 | } |
6068 | ||
6069 | ||
0085ce49 RD |
6070 | SWIGINTERN PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6071 | PyObject *resultobj = 0; | |
6072 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6073 | wxPoint *result = 0 ; | |
6074 | void *argp1 = 0 ; | |
6075 | int res1 = 0 ; | |
6076 | PyObject *swig_obj[1] ; | |
6077 | ||
6078 | if (!args) SWIG_fail; | |
6079 | swig_obj[0] = args; | |
6080 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6081 | if (!SWIG_IsOK(res1)) { | |
6082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_GetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6083 | } | |
6084 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6085 | { | |
6086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6087 | { |
0085ce49 RD |
6088 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); |
6089 | result = (wxPoint *) &_result_ref; | |
d14a1e28 | 6090 | } |
0085ce49 RD |
6091 | wxPyEndAllowThreads(__tstate); |
6092 | if (PyErr_Occurred()) SWIG_fail; | |
6093 | } | |
6094 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6095 | return resultobj; | |
6096 | fail: | |
6097 | return NULL; | |
6098 | } | |
6099 | ||
6100 | ||
6101 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6102 | PyObject *resultobj = 0; | |
6103 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6104 | wxPoint *arg2 = 0 ; | |
6105 | void *argp1 = 0 ; | |
6106 | int res1 = 0 ; | |
6107 | wxPoint temp2 ; | |
6108 | PyObject * obj0 = 0 ; | |
6109 | PyObject * obj1 = 0 ; | |
6110 | char * kwnames[] = { | |
6111 | (char *) "self",(char *) "pos", NULL | |
6112 | }; | |
6113 | ||
6114 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6116 | if (!SWIG_IsOK(res1)) { | |
6117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetFromPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6118 | } | |
6119 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6120 | { | |
6121 | arg2 = &temp2; | |
6122 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6123 | } | |
6124 | { | |
6125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6126 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
6127 | wxPyEndAllowThreads(__tstate); | |
6128 | if (PyErr_Occurred()) SWIG_fail; | |
6129 | } | |
6130 | resultobj = SWIG_Py_Void(); | |
6131 | return resultobj; | |
6132 | fail: | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
6137 | SWIGINTERN PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6138 | PyObject *resultobj = 0; | |
6139 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6140 | wxPoint *arg2 = 0 ; | |
6141 | void *argp1 = 0 ; | |
6142 | int res1 = 0 ; | |
6143 | wxPoint temp2 ; | |
6144 | PyObject * obj0 = 0 ; | |
6145 | PyObject * obj1 = 0 ; | |
6146 | char * kwnames[] = { | |
6147 | (char *) "self",(char *) "pos", NULL | |
6148 | }; | |
6149 | ||
6150 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
6151 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6152 | if (!SWIG_IsOK(res1)) { | |
6153 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_SetToPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6154 | } | |
6155 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6156 | { | |
6157 | arg2 = &temp2; | |
6158 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6159 | } | |
6160 | { | |
6161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6162 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
6163 | wxPyEndAllowThreads(__tstate); | |
6164 | if (PyErr_Occurred()) SWIG_fail; | |
6165 | } | |
6166 | resultobj = SWIG_Py_Void(); | |
6167 | return resultobj; | |
6168 | fail: | |
6169 | return NULL; | |
d14a1e28 RD |
6170 | } |
6171 | ||
6172 | ||
0085ce49 RD |
6173 | SWIGINTERN PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6174 | PyObject *resultobj = 0; | |
6175 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6176 | void *argp1 = 0 ; | |
6177 | int res1 = 0 ; | |
6178 | PyObject *swig_obj[1] ; | |
6179 | ||
6180 | if (!args) SWIG_fail; | |
6181 | swig_obj[0] = args; | |
6182 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6183 | if (!SWIG_IsOK(res1)) { | |
6184 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_ClearPrivPos" "', expected argument " "1"" of type '" "wxHtmlSelection *""'"); | |
6185 | } | |
6186 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6187 | { | |
6188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6189 | (arg1)->ClearPrivPos(); | |
6190 | wxPyEndAllowThreads(__tstate); | |
6191 | if (PyErr_Occurred()) SWIG_fail; | |
6192 | } | |
6193 | resultobj = SWIG_Py_Void(); | |
6194 | return resultobj; | |
6195 | fail: | |
6196 | return NULL; | |
d14a1e28 RD |
6197 | } |
6198 | ||
6199 | ||
0085ce49 RD |
6200 | SWIGINTERN PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6201 | PyObject *resultobj = 0; | |
6202 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
6203 | bool result; | |
6204 | void *argp1 = 0 ; | |
6205 | int res1 = 0 ; | |
6206 | PyObject *swig_obj[1] ; | |
6207 | ||
6208 | if (!args) SWIG_fail; | |
6209 | swig_obj[0] = args; | |
6210 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6211 | if (!SWIG_IsOK(res1)) { | |
6212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSelection_IsEmpty" "', expected argument " "1"" of type '" "wxHtmlSelection const *""'"); | |
6213 | } | |
6214 | arg1 = reinterpret_cast< wxHtmlSelection * >(argp1); | |
6215 | { | |
6216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6217 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
6218 | wxPyEndAllowThreads(__tstate); | |
6219 | if (PyErr_Occurred()) SWIG_fail; | |
6220 | } | |
6221 | resultobj = SWIG_From_bool(static_cast< bool >(result)); | |
6222 | return resultobj; | |
6223 | fail: | |
6224 | return NULL; | |
d14a1e28 RD |
6225 | } |
6226 | ||
6227 | ||
0085ce49 RD |
6228 | SWIGINTERN PyObject *HtmlSelection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6229 | PyObject *obj; | |
6230 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6231 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSelection, SWIG_NewClientData(obj)); | |
6232 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6233 | } |
6234 | ||
0085ce49 RD |
6235 | SWIGINTERN PyObject *HtmlSelection_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6236 | return SWIG_Python_InitShadowInstance(args); | |
6237 | } | |
d14a1e28 | 6238 | |
0085ce49 RD |
6239 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6240 | PyObject *resultobj = 0; | |
6241 | wxHtmlRenderingState *result = 0 ; | |
6242 | ||
6243 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingState",0,0,0)) SWIG_fail; | |
6244 | { | |
6245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6246 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
6247 | wxPyEndAllowThreads(__tstate); | |
6248 | if (PyErr_Occurred()) SWIG_fail; | |
6249 | } | |
6250 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_NEW | 0 ); | |
6251 | return resultobj; | |
6252 | fail: | |
6253 | return NULL; | |
d14a1e28 RD |
6254 | } |
6255 | ||
6256 | ||
0085ce49 RD |
6257 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6258 | PyObject *resultobj = 0; | |
6259 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6260 | void *argp1 = 0 ; | |
6261 | int res1 = 0 ; | |
6262 | PyObject *swig_obj[1] ; | |
6263 | ||
6264 | if (!args) SWIG_fail; | |
6265 | swig_obj[0] = args; | |
6266 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_DISOWN | 0 ); | |
6267 | if (!SWIG_IsOK(res1)) { | |
6268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6269 | } | |
6270 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6271 | { | |
6272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6273 | delete arg1; | |
d14a1e28 | 6274 | |
0085ce49 RD |
6275 | wxPyEndAllowThreads(__tstate); |
6276 | if (PyErr_Occurred()) SWIG_fail; | |
6277 | } | |
6278 | resultobj = SWIG_Py_Void(); | |
6279 | return resultobj; | |
6280 | fail: | |
6281 | return NULL; | |
6282 | } | |
6283 | ||
6284 | ||
6285 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6286 | PyObject *resultobj = 0; | |
6287 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6288 | wxHtmlSelectionState arg2 ; | |
6289 | void *argp1 = 0 ; | |
6290 | int res1 = 0 ; | |
6291 | int val2 ; | |
6292 | int ecode2 = 0 ; | |
6293 | PyObject * obj0 = 0 ; | |
6294 | PyObject * obj1 = 0 ; | |
6295 | char * kwnames[] = { | |
6296 | (char *) "self",(char *) "s", NULL | |
6297 | }; | |
6298 | ||
6299 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) SWIG_fail; | |
6300 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6301 | if (!SWIG_IsOK(res1)) { | |
6302 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6303 | } | |
6304 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6305 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6306 | if (!SWIG_IsOK(ecode2)) { | |
6307 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlRenderingState_SetSelectionState" "', expected argument " "2"" of type '" "wxHtmlSelectionState""'"); | |
6308 | } | |
6309 | arg2 = static_cast< wxHtmlSelectionState >(val2); | |
6310 | { | |
6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6312 | (arg1)->SetSelectionState(arg2); | |
6313 | wxPyEndAllowThreads(__tstate); | |
6314 | if (PyErr_Occurred()) SWIG_fail; | |
6315 | } | |
6316 | resultobj = SWIG_Py_Void(); | |
6317 | return resultobj; | |
6318 | fail: | |
6319 | return NULL; | |
d14a1e28 RD |
6320 | } |
6321 | ||
6322 | ||
0085ce49 RD |
6323 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6324 | PyObject *resultobj = 0; | |
6325 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6326 | wxHtmlSelectionState result; | |
6327 | void *argp1 = 0 ; | |
6328 | int res1 = 0 ; | |
6329 | PyObject *swig_obj[1] ; | |
6330 | ||
6331 | if (!args) SWIG_fail; | |
6332 | swig_obj[0] = args; | |
6333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6334 | if (!SWIG_IsOK(res1)) { | |
6335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetSelectionState" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6336 | } | |
6337 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6338 | { | |
6339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6340 | result = (wxHtmlSelectionState)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
6341 | wxPyEndAllowThreads(__tstate); | |
6342 | if (PyErr_Occurred()) SWIG_fail; | |
6343 | } | |
6344 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6345 | return resultobj; | |
6346 | fail: | |
6347 | return NULL; | |
6348 | } | |
6349 | ||
6350 | ||
6351 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6352 | PyObject *resultobj = 0; | |
6353 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6354 | wxColour *arg2 = 0 ; | |
6355 | void *argp1 = 0 ; | |
6356 | int res1 = 0 ; | |
6357 | wxColour temp2 ; | |
6358 | PyObject * obj0 = 0 ; | |
6359 | PyObject * obj1 = 0 ; | |
6360 | char * kwnames[] = { | |
6361 | (char *) "self",(char *) "c", NULL | |
6362 | }; | |
6363 | ||
6364 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6365 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6366 | if (!SWIG_IsOK(res1)) { | |
6367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6368 | } | |
6369 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6370 | { | |
6371 | arg2 = &temp2; | |
6372 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6373 | } | |
6374 | { | |
6375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6376 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
6377 | wxPyEndAllowThreads(__tstate); | |
6378 | if (PyErr_Occurred()) SWIG_fail; | |
6379 | } | |
6380 | resultobj = SWIG_Py_Void(); | |
6381 | return resultobj; | |
6382 | fail: | |
6383 | return NULL; | |
d14a1e28 RD |
6384 | } |
6385 | ||
6386 | ||
0085ce49 RD |
6387 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6388 | PyObject *resultobj = 0; | |
6389 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6390 | wxColour *result = 0 ; | |
6391 | void *argp1 = 0 ; | |
6392 | int res1 = 0 ; | |
6393 | PyObject *swig_obj[1] ; | |
6394 | ||
6395 | if (!args) SWIG_fail; | |
6396 | swig_obj[0] = args; | |
6397 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6398 | if (!SWIG_IsOK(res1)) { | |
6399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetFgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6400 | } | |
6401 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6402 | { | |
6403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6404 | { |
0085ce49 RD |
6405 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); |
6406 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6407 | } |
0085ce49 RD |
6408 | wxPyEndAllowThreads(__tstate); |
6409 | if (PyErr_Occurred()) SWIG_fail; | |
6410 | } | |
6411 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6412 | return resultobj; | |
6413 | fail: | |
6414 | return NULL; | |
6415 | } | |
6416 | ||
6417 | ||
6418 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6419 | PyObject *resultobj = 0; | |
6420 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6421 | wxColour *arg2 = 0 ; | |
6422 | void *argp1 = 0 ; | |
6423 | int res1 = 0 ; | |
6424 | wxColour temp2 ; | |
6425 | PyObject * obj0 = 0 ; | |
6426 | PyObject * obj1 = 0 ; | |
6427 | char * kwnames[] = { | |
6428 | (char *) "self",(char *) "c", NULL | |
6429 | }; | |
6430 | ||
6431 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6432 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6433 | if (!SWIG_IsOK(res1)) { | |
6434 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_SetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState *""'"); | |
6435 | } | |
6436 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6437 | { | |
6438 | arg2 = &temp2; | |
6439 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6440 | } | |
6441 | { | |
6442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6443 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
6444 | wxPyEndAllowThreads(__tstate); | |
6445 | if (PyErr_Occurred()) SWIG_fail; | |
6446 | } | |
6447 | resultobj = SWIG_Py_Void(); | |
6448 | return resultobj; | |
6449 | fail: | |
6450 | return NULL; | |
d14a1e28 RD |
6451 | } |
6452 | ||
6453 | ||
0085ce49 RD |
6454 | SWIGINTERN PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6455 | PyObject *resultobj = 0; | |
6456 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
6457 | wxColour *result = 0 ; | |
6458 | void *argp1 = 0 ; | |
6459 | int res1 = 0 ; | |
6460 | PyObject *swig_obj[1] ; | |
6461 | ||
6462 | if (!args) SWIG_fail; | |
6463 | swig_obj[0] = args; | |
6464 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6465 | if (!SWIG_IsOK(res1)) { | |
6466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingState_GetBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingState const *""'"); | |
6467 | } | |
6468 | arg1 = reinterpret_cast< wxHtmlRenderingState * >(argp1); | |
6469 | { | |
6470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 6471 | { |
0085ce49 RD |
6472 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); |
6473 | result = (wxColour *) &_result_ref; | |
d14a1e28 | 6474 | } |
0085ce49 RD |
6475 | wxPyEndAllowThreads(__tstate); |
6476 | if (PyErr_Occurred()) SWIG_fail; | |
6477 | } | |
6478 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 ); | |
6479 | return resultobj; | |
6480 | fail: | |
6481 | return NULL; | |
d14a1e28 RD |
6482 | } |
6483 | ||
6484 | ||
0085ce49 RD |
6485 | SWIGINTERN PyObject *HtmlRenderingState_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6486 | PyObject *obj; | |
6487 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6488 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingState, SWIG_NewClientData(obj)); | |
6489 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6490 | } |
6491 | ||
0085ce49 RD |
6492 | SWIGINTERN PyObject *HtmlRenderingState_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6493 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
6494 | } |
6495 | ||
0085ce49 RD |
6496 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
6497 | PyObject *resultobj = 0; | |
6498 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6499 | wxColour *arg2 = 0 ; | |
6500 | wxColour result; | |
6501 | void *argp1 = 0 ; | |
6502 | int res1 = 0 ; | |
6503 | wxColour temp2 ; | |
6504 | PyObject * obj0 = 0 ; | |
6505 | PyObject * obj1 = 0 ; | |
6506 | char * kwnames[] = { | |
6507 | (char *) "self",(char *) "clr", NULL | |
6508 | }; | |
6509 | ||
6510 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6511 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6512 | if (!SWIG_IsOK(res1)) { | |
6513 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6514 | } | |
6515 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6516 | { | |
6517 | arg2 = &temp2; | |
6518 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6519 | } | |
6520 | { | |
6521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6522 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
6523 | wxPyEndAllowThreads(__tstate); | |
6524 | if (PyErr_Occurred()) SWIG_fail; | |
6525 | } | |
6526 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6527 | return resultobj; | |
6528 | fail: | |
6529 | return NULL; | |
6530 | } | |
6531 | ||
6532 | ||
6533 | SWIGINTERN PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6534 | PyObject *resultobj = 0; | |
6535 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
6536 | wxColour *arg2 = 0 ; | |
6537 | wxColour result; | |
6538 | void *argp1 = 0 ; | |
6539 | int res1 = 0 ; | |
6540 | wxColour temp2 ; | |
6541 | PyObject * obj0 = 0 ; | |
6542 | PyObject * obj1 = 0 ; | |
6543 | char * kwnames[] = { | |
6544 | (char *) "self",(char *) "clr", NULL | |
6545 | }; | |
6546 | ||
6547 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
6548 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6549 | if (!SWIG_IsOK(res1)) { | |
6550 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingStyle_GetSelectedTextBgColour" "', expected argument " "1"" of type '" "wxHtmlRenderingStyle *""'"); | |
6551 | } | |
6552 | arg1 = reinterpret_cast< wxHtmlRenderingStyle * >(argp1); | |
6553 | { | |
6554 | arg2 = &temp2; | |
6555 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6556 | } | |
6557 | { | |
6558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6559 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
6560 | wxPyEndAllowThreads(__tstate); | |
6561 | if (PyErr_Occurred()) SWIG_fail; | |
6562 | } | |
6563 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
6564 | return resultobj; | |
6565 | fail: | |
6566 | return NULL; | |
d14a1e28 RD |
6567 | } |
6568 | ||
6569 | ||
0085ce49 RD |
6570 | SWIGINTERN PyObject *HtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6571 | PyObject *obj; | |
6572 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6573 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6574 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6575 | } |
6576 | ||
0085ce49 RD |
6577 | SWIGINTERN PyObject *DefaultHtmlRenderingStyle_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6578 | PyObject *obj; | |
6579 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6580 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, SWIG_NewClientData(obj)); | |
6581 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6582 | } |
6583 | ||
0085ce49 RD |
6584 | SWIGINTERN PyObject *_wrap_new_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6585 | PyObject *resultobj = 0; | |
6586 | wxHtmlRenderingInfo *result = 0 ; | |
6587 | ||
6588 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlRenderingInfo",0,0,0)) SWIG_fail; | |
6589 | { | |
6590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6591 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
6592 | wxPyEndAllowThreads(__tstate); | |
6593 | if (PyErr_Occurred()) SWIG_fail; | |
6594 | } | |
6595 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_NEW | 0 ); | |
6596 | return resultobj; | |
6597 | fail: | |
6598 | return NULL; | |
d14a1e28 RD |
6599 | } |
6600 | ||
6601 | ||
0085ce49 RD |
6602 | SWIGINTERN PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6603 | PyObject *resultobj = 0; | |
6604 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6605 | void *argp1 = 0 ; | |
6606 | int res1 = 0 ; | |
6607 | PyObject *swig_obj[1] ; | |
6608 | ||
6609 | if (!args) SWIG_fail; | |
6610 | swig_obj[0] = args; | |
6611 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_POINTER_DISOWN | 0 ); | |
6612 | if (!SWIG_IsOK(res1)) { | |
6613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlRenderingInfo" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6614 | } | |
6615 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6616 | { | |
6617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6618 | delete arg1; | |
d14a1e28 | 6619 | |
0085ce49 RD |
6620 | wxPyEndAllowThreads(__tstate); |
6621 | if (PyErr_Occurred()) SWIG_fail; | |
6622 | } | |
6623 | resultobj = SWIG_Py_Void(); | |
6624 | return resultobj; | |
6625 | fail: | |
6626 | return NULL; | |
6627 | } | |
6628 | ||
6629 | ||
6630 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6631 | PyObject *resultobj = 0; | |
6632 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6633 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
6634 | void *argp1 = 0 ; | |
6635 | int res1 = 0 ; | |
6636 | void *argp2 = 0 ; | |
6637 | int res2 = 0 ; | |
6638 | PyObject * obj0 = 0 ; | |
6639 | PyObject * obj1 = 0 ; | |
6640 | char * kwnames[] = { | |
6641 | (char *) "self",(char *) "s", NULL | |
6642 | }; | |
6643 | ||
6644 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
6645 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6646 | if (!SWIG_IsOK(res1)) { | |
6647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6648 | } | |
6649 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6650 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6651 | if (!SWIG_IsOK(res2)) { | |
6652 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetSelection" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
6653 | } | |
6654 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
6655 | { | |
6656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6657 | (arg1)->SetSelection(arg2); | |
6658 | wxPyEndAllowThreads(__tstate); | |
6659 | if (PyErr_Occurred()) SWIG_fail; | |
6660 | } | |
6661 | resultobj = SWIG_Py_Void(); | |
6662 | return resultobj; | |
6663 | fail: | |
6664 | return NULL; | |
d14a1e28 RD |
6665 | } |
6666 | ||
6667 | ||
0085ce49 RD |
6668 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6669 | PyObject *resultobj = 0; | |
6670 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6671 | wxHtmlSelection *result = 0 ; | |
6672 | void *argp1 = 0 ; | |
6673 | int res1 = 0 ; | |
6674 | PyObject *swig_obj[1] ; | |
6675 | ||
6676 | if (!args) SWIG_fail; | |
6677 | swig_obj[0] = args; | |
6678 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6679 | if (!SWIG_IsOK(res1)) { | |
6680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetSelection" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo const *""'"); | |
6681 | } | |
6682 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6683 | { | |
6684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6685 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
6686 | wxPyEndAllowThreads(__tstate); | |
6687 | if (PyErr_Occurred()) SWIG_fail; | |
6688 | } | |
6689 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
6690 | return resultobj; | |
6691 | fail: | |
6692 | return NULL; | |
6693 | } | |
6694 | ||
6695 | ||
6696 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6697 | PyObject *resultobj = 0; | |
6698 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6699 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
6700 | void *argp1 = 0 ; | |
6701 | int res1 = 0 ; | |
6702 | void *argp2 = 0 ; | |
6703 | int res2 = 0 ; | |
6704 | PyObject * obj0 = 0 ; | |
6705 | PyObject * obj1 = 0 ; | |
6706 | char * kwnames[] = { | |
6707 | (char *) "self",(char *) "style", NULL | |
6708 | }; | |
6709 | ||
6710 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail; | |
6711 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6712 | if (!SWIG_IsOK(res1)) { | |
6713 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6714 | } | |
6715 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6716 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6717 | if (!SWIG_IsOK(res2)) { | |
6718 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlRenderingInfo_SetStyle" "', expected argument " "2"" of type '" "wxHtmlRenderingStyle *""'"); | |
6719 | } | |
6720 | arg2 = reinterpret_cast< wxHtmlRenderingStyle * >(argp2); | |
6721 | { | |
6722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6723 | (arg1)->SetStyle(arg2); | |
6724 | wxPyEndAllowThreads(__tstate); | |
6725 | if (PyErr_Occurred()) SWIG_fail; | |
6726 | } | |
6727 | resultobj = SWIG_Py_Void(); | |
6728 | return resultobj; | |
6729 | fail: | |
6730 | return NULL; | |
d14a1e28 RD |
6731 | } |
6732 | ||
6733 | ||
0085ce49 RD |
6734 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6735 | PyObject *resultobj = 0; | |
6736 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6737 | wxHtmlRenderingStyle *result = 0 ; | |
6738 | void *argp1 = 0 ; | |
6739 | int res1 = 0 ; | |
6740 | PyObject *swig_obj[1] ; | |
6741 | ||
6742 | if (!args) SWIG_fail; | |
6743 | swig_obj[0] = args; | |
6744 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6745 | if (!SWIG_IsOK(res1)) { | |
6746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetStyle" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6747 | } | |
6748 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6749 | { | |
6750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6751 | { |
0085ce49 RD |
6752 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); |
6753 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
b1fcee84 | 6754 | } |
0085ce49 RD |
6755 | wxPyEndAllowThreads(__tstate); |
6756 | if (PyErr_Occurred()) SWIG_fail; | |
6757 | } | |
6758 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0 | 0 ); | |
6759 | return resultobj; | |
6760 | fail: | |
6761 | return NULL; | |
d14a1e28 RD |
6762 | } |
6763 | ||
6764 | ||
0085ce49 RD |
6765 | SWIGINTERN PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6766 | PyObject *resultobj = 0; | |
6767 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
6768 | wxHtmlRenderingState *result = 0 ; | |
6769 | void *argp1 = 0 ; | |
6770 | int res1 = 0 ; | |
6771 | PyObject *swig_obj[1] ; | |
6772 | ||
6773 | if (!args) SWIG_fail; | |
6774 | swig_obj[0] = args; | |
6775 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlRenderingInfo, 0 | 0 ); | |
6776 | if (!SWIG_IsOK(res1)) { | |
6777 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlRenderingInfo_GetState" "', expected argument " "1"" of type '" "wxHtmlRenderingInfo *""'"); | |
6778 | } | |
6779 | arg1 = reinterpret_cast< wxHtmlRenderingInfo * >(argp1); | |
6780 | { | |
6781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b1fcee84 | 6782 | { |
0085ce49 RD |
6783 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); |
6784 | result = (wxHtmlRenderingState *) &_result_ref; | |
b1fcee84 | 6785 | } |
0085ce49 RD |
6786 | wxPyEndAllowThreads(__tstate); |
6787 | if (PyErr_Occurred()) SWIG_fail; | |
6788 | } | |
6789 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlRenderingState, 0 | 0 ); | |
6790 | return resultobj; | |
6791 | fail: | |
6792 | return NULL; | |
d14a1e28 RD |
6793 | } |
6794 | ||
6795 | ||
0085ce49 RD |
6796 | SWIGINTERN PyObject *HtmlRenderingInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6797 | PyObject *obj; | |
6798 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6799 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlRenderingInfo, SWIG_NewClientData(obj)); | |
6800 | return SWIG_Py_Void(); | |
d14a1e28 RD |
6801 | } |
6802 | ||
0085ce49 RD |
6803 | SWIGINTERN PyObject *HtmlRenderingInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6804 | return SWIG_Python_InitShadowInstance(args); | |
6805 | } | |
d14a1e28 | 6806 | |
0085ce49 RD |
6807 | SWIGINTERN PyObject *_wrap_new_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6808 | PyObject *resultobj = 0; | |
6809 | wxHtmlCell *result = 0 ; | |
6810 | ||
6811 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlCell",0,0,0)) SWIG_fail; | |
6812 | { | |
6813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6814 | result = (wxHtmlCell *)new wxHtmlCell(); | |
6815 | wxPyEndAllowThreads(__tstate); | |
6816 | if (PyErr_Occurred()) SWIG_fail; | |
6817 | } | |
6818 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_NEW | 0 ); | |
6819 | return resultobj; | |
6820 | fail: | |
6821 | return NULL; | |
d14a1e28 RD |
6822 | } |
6823 | ||
6824 | ||
0085ce49 RD |
6825 | SWIGINTERN PyObject *_wrap_delete_HtmlCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6826 | PyObject *resultobj = 0; | |
6827 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6828 | void *argp1 = 0 ; | |
6829 | int res1 = 0 ; | |
6830 | PyObject *swig_obj[1] ; | |
6831 | ||
6832 | if (!args) SWIG_fail; | |
6833 | swig_obj[0] = args; | |
6834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
6835 | if (!SWIG_IsOK(res1)) { | |
6836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlCell" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6837 | } | |
6838 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6839 | { | |
6840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6841 | delete arg1; | |
d14a1e28 | 6842 | |
0085ce49 RD |
6843 | wxPyEndAllowThreads(__tstate); |
6844 | if (PyErr_Occurred()) SWIG_fail; | |
6845 | } | |
6846 | resultobj = SWIG_Py_Void(); | |
6847 | return resultobj; | |
6848 | fail: | |
6849 | return NULL; | |
d14a1e28 RD |
6850 | } |
6851 | ||
6852 | ||
0085ce49 RD |
6853 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6854 | PyObject *resultobj = 0; | |
6855 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6856 | int result; | |
6857 | void *argp1 = 0 ; | |
6858 | int res1 = 0 ; | |
6859 | PyObject *swig_obj[1] ; | |
6860 | ||
6861 | if (!args) SWIG_fail; | |
6862 | swig_obj[0] = args; | |
6863 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6864 | if (!SWIG_IsOK(res1)) { | |
6865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosX" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6866 | } | |
6867 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6868 | { | |
6869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6870 | result = (int)(arg1)->GetPosX(); | |
6871 | wxPyEndAllowThreads(__tstate); | |
6872 | if (PyErr_Occurred()) SWIG_fail; | |
6873 | } | |
6874 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6875 | return resultobj; | |
6876 | fail: | |
6877 | return NULL; | |
d14a1e28 RD |
6878 | } |
6879 | ||
6880 | ||
0085ce49 RD |
6881 | SWIGINTERN PyObject *_wrap_HtmlCell_GetPosY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6882 | PyObject *resultobj = 0; | |
6883 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6884 | int result; | |
6885 | void *argp1 = 0 ; | |
6886 | int res1 = 0 ; | |
6887 | PyObject *swig_obj[1] ; | |
6888 | ||
6889 | if (!args) SWIG_fail; | |
6890 | swig_obj[0] = args; | |
6891 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6892 | if (!SWIG_IsOK(res1)) { | |
6893 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetPosY" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6894 | } | |
6895 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6896 | { | |
6897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6898 | result = (int)(arg1)->GetPosY(); | |
6899 | wxPyEndAllowThreads(__tstate); | |
6900 | if (PyErr_Occurred()) SWIG_fail; | |
6901 | } | |
6902 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6903 | return resultobj; | |
6904 | fail: | |
6905 | return NULL; | |
d14a1e28 RD |
6906 | } |
6907 | ||
6908 | ||
0085ce49 RD |
6909 | SWIGINTERN PyObject *_wrap_HtmlCell_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6910 | PyObject *resultobj = 0; | |
6911 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6912 | int result; | |
6913 | void *argp1 = 0 ; | |
6914 | int res1 = 0 ; | |
6915 | PyObject *swig_obj[1] ; | |
6916 | ||
6917 | if (!args) SWIG_fail; | |
6918 | swig_obj[0] = args; | |
6919 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6920 | if (!SWIG_IsOK(res1)) { | |
6921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetWidth" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6922 | } | |
6923 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6924 | { | |
6925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6926 | result = (int)(arg1)->GetWidth(); | |
6927 | wxPyEndAllowThreads(__tstate); | |
6928 | if (PyErr_Occurred()) SWIG_fail; | |
6929 | } | |
6930 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6931 | return resultobj; | |
6932 | fail: | |
6933 | return NULL; | |
d14a1e28 RD |
6934 | } |
6935 | ||
6936 | ||
0085ce49 RD |
6937 | SWIGINTERN PyObject *_wrap_HtmlCell_GetHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6938 | PyObject *resultobj = 0; | |
6939 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6940 | int result; | |
6941 | void *argp1 = 0 ; | |
6942 | int res1 = 0 ; | |
6943 | PyObject *swig_obj[1] ; | |
6944 | ||
6945 | if (!args) SWIG_fail; | |
6946 | swig_obj[0] = args; | |
6947 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6948 | if (!SWIG_IsOK(res1)) { | |
6949 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetHeight" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6950 | } | |
6951 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6952 | { | |
6953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6954 | result = (int)(arg1)->GetHeight(); | |
6955 | wxPyEndAllowThreads(__tstate); | |
6956 | if (PyErr_Occurred()) SWIG_fail; | |
6957 | } | |
6958 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6959 | return resultobj; | |
6960 | fail: | |
6961 | return NULL; | |
d14a1e28 RD |
6962 | } |
6963 | ||
6964 | ||
0085ce49 RD |
6965 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6966 | PyObject *resultobj = 0; | |
6967 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6968 | int result; | |
6969 | void *argp1 = 0 ; | |
6970 | int res1 = 0 ; | |
6971 | PyObject *swig_obj[1] ; | |
6972 | ||
6973 | if (!args) SWIG_fail; | |
6974 | swig_obj[0] = args; | |
6975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
6976 | if (!SWIG_IsOK(res1)) { | |
6977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDescent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
6978 | } | |
6979 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
6980 | { | |
6981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6982 | result = (int)(arg1)->GetDescent(); | |
6983 | wxPyEndAllowThreads(__tstate); | |
6984 | if (PyErr_Occurred()) SWIG_fail; | |
6985 | } | |
6986 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6987 | return resultobj; | |
6988 | fail: | |
6989 | return NULL; | |
d14a1e28 RD |
6990 | } |
6991 | ||
6992 | ||
0085ce49 RD |
6993 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6994 | PyObject *resultobj = 0; | |
6995 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
6996 | int result; | |
6997 | void *argp1 = 0 ; | |
6998 | int res1 = 0 ; | |
6999 | PyObject *swig_obj[1] ; | |
7000 | ||
7001 | if (!args) SWIG_fail; | |
7002 | swig_obj[0] = args; | |
7003 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7004 | if (!SWIG_IsOK(res1)) { | |
7005 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMaxTotalWidth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7006 | } | |
7007 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7008 | { | |
7009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7010 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
7011 | wxPyEndAllowThreads(__tstate); | |
7012 | if (PyErr_Occurred()) SWIG_fail; | |
7013 | } | |
7014 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7015 | return resultobj; | |
7016 | fail: | |
7017 | return NULL; | |
d14a1e28 RD |
7018 | } |
7019 | ||
7020 | ||
0085ce49 RD |
7021 | SWIGINTERN PyObject *_wrap_HtmlCell_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7022 | PyObject *resultobj = 0; | |
7023 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7024 | wxString *result = 0 ; | |
7025 | void *argp1 = 0 ; | |
7026 | int res1 = 0 ; | |
7027 | PyObject *swig_obj[1] ; | |
7028 | ||
7029 | if (!args) SWIG_fail; | |
7030 | swig_obj[0] = args; | |
7031 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7032 | if (!SWIG_IsOK(res1)) { | |
7033 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetId" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7034 | } | |
7035 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7036 | { | |
7037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 7038 | { |
0085ce49 RD |
7039 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); |
7040 | result = (wxString *) &_result_ref; | |
d14a1e28 | 7041 | } |
0085ce49 RD |
7042 | wxPyEndAllowThreads(__tstate); |
7043 | if (PyErr_Occurred()) SWIG_fail; | |
7044 | } | |
7045 | { | |
7046 | #if wxUSE_UNICODE | |
7047 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
7048 | #else | |
7049 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
7050 | #endif | |
7051 | } | |
7052 | return resultobj; | |
7053 | fail: | |
7054 | return NULL; | |
7055 | } | |
7056 | ||
7057 | ||
7058 | SWIGINTERN PyObject *_wrap_HtmlCell_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7059 | PyObject *resultobj = 0; | |
7060 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7061 | wxString *arg2 = 0 ; | |
7062 | void *argp1 = 0 ; | |
7063 | int res1 = 0 ; | |
7064 | bool temp2 = false ; | |
7065 | PyObject * obj0 = 0 ; | |
7066 | PyObject * obj1 = 0 ; | |
7067 | char * kwnames[] = { | |
7068 | (char *) "self",(char *) "id", NULL | |
7069 | }; | |
7070 | ||
7071 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) SWIG_fail; | |
7072 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7073 | if (!SWIG_IsOK(res1)) { | |
7074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetId" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7075 | } | |
7076 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7077 | { | |
7078 | arg2 = wxString_in_helper(obj1); | |
7079 | if (arg2 == NULL) SWIG_fail; | |
7080 | temp2 = true; | |
7081 | } | |
7082 | { | |
7083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7084 | (arg1)->SetId((wxString const &)*arg2); | |
7085 | wxPyEndAllowThreads(__tstate); | |
7086 | if (PyErr_Occurred()) SWIG_fail; | |
7087 | } | |
7088 | resultobj = SWIG_Py_Void(); | |
7089 | { | |
7090 | if (temp2) | |
7091 | delete arg2; | |
7092 | } | |
7093 | return resultobj; | |
7094 | fail: | |
7095 | { | |
7096 | if (temp2) | |
7097 | delete arg2; | |
7098 | } | |
7099 | return NULL; | |
7100 | } | |
7101 | ||
7102 | ||
7103 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7104 | PyObject *resultobj = 0; | |
7105 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7106 | int arg2 = (int) 0 ; | |
7107 | int arg3 = (int) 0 ; | |
7108 | wxHtmlLinkInfo *result = 0 ; | |
7109 | void *argp1 = 0 ; | |
7110 | int res1 = 0 ; | |
7111 | int val2 ; | |
7112 | int ecode2 = 0 ; | |
7113 | int val3 ; | |
7114 | int ecode3 = 0 ; | |
7115 | PyObject * obj0 = 0 ; | |
7116 | PyObject * obj1 = 0 ; | |
7117 | PyObject * obj2 = 0 ; | |
7118 | char * kwnames[] = { | |
7119 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7120 | }; | |
7121 | ||
7122 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7123 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7124 | if (!SWIG_IsOK(res1)) { | |
7125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7126 | } | |
7127 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7128 | if (obj1) { | |
7129 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7130 | if (!SWIG_IsOK(ecode2)) { | |
7131 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_GetLink" "', expected argument " "2"" of type '" "int""'"); | |
7132 | } | |
7133 | arg2 = static_cast< int >(val2); | |
7134 | } | |
7135 | if (obj2) { | |
7136 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7137 | if (!SWIG_IsOK(ecode3)) { | |
7138 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_GetLink" "', expected argument " "3"" of type '" "int""'"); | |
7139 | } | |
7140 | arg3 = static_cast< int >(val3); | |
7141 | } | |
7142 | { | |
7143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7144 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
7145 | wxPyEndAllowThreads(__tstate); | |
7146 | if (PyErr_Occurred()) SWIG_fail; | |
7147 | } | |
7148 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); | |
7149 | return resultobj; | |
7150 | fail: | |
7151 | return NULL; | |
d14a1e28 RD |
7152 | } |
7153 | ||
7154 | ||
0085ce49 RD |
7155 | SWIGINTERN PyObject *_wrap_HtmlCell_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7156 | PyObject *resultobj = 0; | |
7157 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7158 | wxHtmlCell *result = 0 ; | |
7159 | void *argp1 = 0 ; | |
7160 | int res1 = 0 ; | |
7161 | PyObject *swig_obj[1] ; | |
7162 | ||
7163 | if (!args) SWIG_fail; | |
7164 | swig_obj[0] = args; | |
7165 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7166 | if (!SWIG_IsOK(res1)) { | |
7167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7168 | } | |
7169 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7170 | { | |
7171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7172 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
7173 | wxPyEndAllowThreads(__tstate); | |
7174 | if (PyErr_Occurred()) SWIG_fail; | |
7175 | } | |
7176 | { | |
7177 | resultobj = wxPyMake_wxObject(result, 0); | |
7178 | } | |
7179 | return resultobj; | |
7180 | fail: | |
7181 | return NULL; | |
d14a1e28 RD |
7182 | } |
7183 | ||
7184 | ||
0085ce49 RD |
7185 | SWIGINTERN PyObject *_wrap_HtmlCell_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7186 | PyObject *resultobj = 0; | |
7187 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7188 | wxHtmlContainerCell *result = 0 ; | |
7189 | void *argp1 = 0 ; | |
7190 | int res1 = 0 ; | |
7191 | PyObject *swig_obj[1] ; | |
7192 | ||
7193 | if (!args) SWIG_fail; | |
7194 | swig_obj[0] = args; | |
7195 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7196 | if (!SWIG_IsOK(res1)) { | |
7197 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7198 | } | |
7199 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7200 | { | |
7201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7202 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
7203 | wxPyEndAllowThreads(__tstate); | |
7204 | if (PyErr_Occurred()) SWIG_fail; | |
7205 | } | |
7206 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7207 | return resultobj; | |
7208 | fail: | |
7209 | return NULL; | |
d14a1e28 RD |
7210 | } |
7211 | ||
7212 | ||
0085ce49 RD |
7213 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7214 | PyObject *resultobj = 0; | |
7215 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7216 | wxHtmlCell *result = 0 ; | |
7217 | void *argp1 = 0 ; | |
7218 | int res1 = 0 ; | |
7219 | PyObject *swig_obj[1] ; | |
7220 | ||
7221 | if (!args) SWIG_fail; | |
7222 | swig_obj[0] = args; | |
7223 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7224 | if (!SWIG_IsOK(res1)) { | |
7225 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7226 | } | |
7227 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7228 | { | |
7229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7230 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
7231 | wxPyEndAllowThreads(__tstate); | |
7232 | if (PyErr_Occurred()) SWIG_fail; | |
7233 | } | |
7234 | { | |
7235 | resultobj = wxPyMake_wxObject(result, 0); | |
7236 | } | |
7237 | return resultobj; | |
7238 | fail: | |
7239 | return NULL; | |
d14a1e28 RD |
7240 | } |
7241 | ||
7242 | ||
e9d6f3a4 RD |
7243 | SWIGINTERN PyObject *_wrap_HtmlCell_GetMouseCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7244 | PyObject *resultobj = 0; | |
7245 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7246 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7247 | wxCursor result; | |
7248 | void *argp1 = 0 ; | |
7249 | int res1 = 0 ; | |
7250 | void *argp2 = 0 ; | |
7251 | int res2 = 0 ; | |
7252 | PyObject * obj0 = 0 ; | |
7253 | PyObject * obj1 = 0 ; | |
7254 | char * kwnames[] = { | |
7255 | (char *) "self",(char *) "window", NULL | |
7256 | }; | |
7257 | ||
7258 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_GetMouseCursor",kwnames,&obj0,&obj1)) SWIG_fail; | |
7259 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7260 | if (!SWIG_IsOK(res1)) { | |
7261 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7262 | } | |
7263 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7264 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7265 | if (!SWIG_IsOK(res2)) { | |
7266 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetMouseCursor" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7267 | } | |
7268 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7269 | { | |
7270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7271 | result = ((wxHtmlCell const *)arg1)->GetMouseCursor(arg2); | |
7272 | wxPyEndAllowThreads(__tstate); | |
7273 | if (PyErr_Occurred()) SWIG_fail; | |
7274 | } | |
7275 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7276 | return resultobj; | |
7277 | fail: | |
7278 | return NULL; | |
7279 | } | |
7280 | ||
7281 | ||
0085ce49 RD |
7282 | SWIGINTERN PyObject *_wrap_HtmlCell_GetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7283 | PyObject *resultobj = 0; | |
7284 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7285 | wxCursor result; | |
7286 | void *argp1 = 0 ; | |
7287 | int res1 = 0 ; | |
7288 | PyObject *swig_obj[1] ; | |
7289 | ||
7290 | if (!args) SWIG_fail; | |
7291 | swig_obj[0] = args; | |
7292 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7293 | if (!SWIG_IsOK(res1)) { | |
7294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetCursor" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7295 | } | |
7296 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7297 | { | |
7298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7299 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
7300 | wxPyEndAllowThreads(__tstate); | |
7301 | if (PyErr_Occurred()) SWIG_fail; | |
7302 | } | |
7303 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
7304 | return resultobj; | |
7305 | fail: | |
7306 | return NULL; | |
d14a1e28 RD |
7307 | } |
7308 | ||
7309 | ||
0085ce49 RD |
7310 | SWIGINTERN PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7311 | PyObject *resultobj = 0; | |
7312 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7313 | bool result; | |
7314 | void *argp1 = 0 ; | |
7315 | int res1 = 0 ; | |
7316 | PyObject *swig_obj[1] ; | |
7317 | ||
7318 | if (!args) SWIG_fail; | |
7319 | swig_obj[0] = args; | |
7320 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7321 | if (!SWIG_IsOK(res1)) { | |
7322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsFormattingCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7323 | } | |
7324 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7325 | { | |
7326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7327 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
7328 | wxPyEndAllowThreads(__tstate); | |
7329 | if (PyErr_Occurred()) SWIG_fail; | |
7330 | } | |
7331 | { | |
7332 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7333 | } | |
7334 | return resultobj; | |
7335 | fail: | |
7336 | return NULL; | |
7337 | } | |
7338 | ||
7339 | ||
7340 | SWIGINTERN PyObject *_wrap_HtmlCell_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7341 | PyObject *resultobj = 0; | |
7342 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7343 | wxHtmlLinkInfo *arg2 = 0 ; | |
7344 | void *argp1 = 0 ; | |
7345 | int res1 = 0 ; | |
7346 | void *argp2 = 0 ; | |
7347 | int res2 = 0 ; | |
7348 | PyObject * obj0 = 0 ; | |
7349 | PyObject * obj1 = 0 ; | |
7350 | char * kwnames[] = { | |
7351 | (char *) "self",(char *) "link", NULL | |
7352 | }; | |
7353 | ||
7354 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) SWIG_fail; | |
7355 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7356 | if (!SWIG_IsOK(res1)) { | |
7357 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetLink" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7358 | } | |
7359 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7360 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
7361 | if (!SWIG_IsOK(res2)) { | |
7362 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7363 | } | |
7364 | if (!argp2) { | |
7365 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_SetLink" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
7366 | } | |
7367 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
7368 | { | |
7369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7370 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
7371 | wxPyEndAllowThreads(__tstate); | |
7372 | if (PyErr_Occurred()) SWIG_fail; | |
7373 | } | |
7374 | resultobj = SWIG_Py_Void(); | |
7375 | return resultobj; | |
7376 | fail: | |
7377 | return NULL; | |
7378 | } | |
7379 | ||
7380 | ||
7381 | SWIGINTERN PyObject *_wrap_HtmlCell_SetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7382 | PyObject *resultobj = 0; | |
7383 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7384 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7385 | int res1 = 0 ; | |
7386 | int res2 = 0 ; | |
7387 | PyObject * obj0 = 0 ; | |
7388 | PyObject * obj1 = 0 ; | |
7389 | char * kwnames[] = { | |
7390 | (char *) "self",(char *) "cell", NULL | |
7391 | }; | |
7392 | ||
7393 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) SWIG_fail; | |
7394 | res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7395 | if (!SWIG_IsOK(res1)) { | |
7396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetNext" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7397 | } | |
7398 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
7399 | if (!SWIG_IsOK(res2)) { | |
7400 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetNext" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7401 | } | |
7402 | { | |
7403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7404 | (arg1)->SetNext(arg2); | |
7405 | wxPyEndAllowThreads(__tstate); | |
7406 | if (PyErr_Occurred()) SWIG_fail; | |
7407 | } | |
7408 | resultobj = SWIG_Py_Void(); | |
7409 | return resultobj; | |
7410 | fail: | |
7411 | return NULL; | |
7412 | } | |
7413 | ||
7414 | ||
7415 | SWIGINTERN PyObject *_wrap_HtmlCell_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7416 | PyObject *resultobj = 0; | |
7417 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7418 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
7419 | void *argp1 = 0 ; | |
7420 | int res1 = 0 ; | |
7421 | void *argp2 = 0 ; | |
7422 | int res2 = 0 ; | |
7423 | PyObject * obj0 = 0 ; | |
7424 | PyObject * obj1 = 0 ; | |
7425 | char * kwnames[] = { | |
7426 | (char *) "self",(char *) "p", NULL | |
7427 | }; | |
7428 | ||
7429 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) SWIG_fail; | |
7430 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7431 | if (!SWIG_IsOK(res1)) { | |
7432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetParent" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7433 | } | |
7434 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7435 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
7436 | if (!SWIG_IsOK(res2)) { | |
7437 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_SetParent" "', expected argument " "2"" of type '" "wxHtmlContainerCell *""'"); | |
7438 | } | |
7439 | arg2 = reinterpret_cast< wxHtmlContainerCell * >(argp2); | |
7440 | { | |
7441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7442 | (arg1)->SetParent(arg2); | |
7443 | wxPyEndAllowThreads(__tstate); | |
7444 | if (PyErr_Occurred()) SWIG_fail; | |
7445 | } | |
7446 | resultobj = SWIG_Py_Void(); | |
7447 | return resultobj; | |
7448 | fail: | |
7449 | return NULL; | |
7450 | } | |
7451 | ||
7452 | ||
7453 | SWIGINTERN PyObject *_wrap_HtmlCell_SetPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7454 | PyObject *resultobj = 0; | |
7455 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7456 | int arg2 ; | |
7457 | int arg3 ; | |
7458 | void *argp1 = 0 ; | |
7459 | int res1 = 0 ; | |
7460 | int val2 ; | |
7461 | int ecode2 = 0 ; | |
7462 | int val3 ; | |
7463 | int ecode3 = 0 ; | |
7464 | PyObject * obj0 = 0 ; | |
7465 | PyObject * obj1 = 0 ; | |
7466 | PyObject * obj2 = 0 ; | |
7467 | char * kwnames[] = { | |
7468 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7469 | }; | |
7470 | ||
7471 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7472 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7473 | if (!SWIG_IsOK(res1)) { | |
7474 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetPos" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7475 | } | |
7476 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7477 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7478 | if (!SWIG_IsOK(ecode2)) { | |
7479 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetPos" "', expected argument " "2"" of type '" "int""'"); | |
7480 | } | |
7481 | arg2 = static_cast< int >(val2); | |
7482 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7483 | if (!SWIG_IsOK(ecode3)) { | |
7484 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_SetPos" "', expected argument " "3"" of type '" "int""'"); | |
7485 | } | |
7486 | arg3 = static_cast< int >(val3); | |
7487 | { | |
7488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7489 | (arg1)->SetPos(arg2,arg3); | |
7490 | wxPyEndAllowThreads(__tstate); | |
7491 | if (PyErr_Occurred()) SWIG_fail; | |
7492 | } | |
7493 | resultobj = SWIG_Py_Void(); | |
7494 | return resultobj; | |
7495 | fail: | |
7496 | return NULL; | |
7497 | } | |
7498 | ||
7499 | ||
7500 | SWIGINTERN PyObject *_wrap_HtmlCell_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7501 | PyObject *resultobj = 0; | |
7502 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7503 | int arg2 ; | |
7504 | void *argp1 = 0 ; | |
7505 | int res1 = 0 ; | |
7506 | int val2 ; | |
7507 | int ecode2 = 0 ; | |
7508 | PyObject * obj0 = 0 ; | |
7509 | PyObject * obj1 = 0 ; | |
7510 | char * kwnames[] = { | |
7511 | (char *) "self",(char *) "w", NULL | |
7512 | }; | |
7513 | ||
7514 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) SWIG_fail; | |
7515 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7516 | if (!SWIG_IsOK(res1)) { | |
7517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Layout" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7518 | } | |
7519 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7520 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7521 | if (!SWIG_IsOK(ecode2)) { | |
7522 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Layout" "', expected argument " "2"" of type '" "int""'"); | |
7523 | } | |
7524 | arg2 = static_cast< int >(val2); | |
7525 | { | |
7526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7527 | (arg1)->Layout(arg2); | |
7528 | wxPyEndAllowThreads(__tstate); | |
7529 | if (PyErr_Occurred()) SWIG_fail; | |
7530 | } | |
7531 | resultobj = SWIG_Py_Void(); | |
7532 | return resultobj; | |
7533 | fail: | |
7534 | return NULL; | |
7535 | } | |
7536 | ||
7537 | ||
7538 | SWIGINTERN PyObject *_wrap_HtmlCell_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7539 | PyObject *resultobj = 0; | |
7540 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7541 | wxDC *arg2 = 0 ; | |
7542 | int arg3 ; | |
7543 | int arg4 ; | |
7544 | int arg5 ; | |
7545 | int arg6 ; | |
7546 | wxHtmlRenderingInfo *arg7 = 0 ; | |
7547 | void *argp1 = 0 ; | |
7548 | int res1 = 0 ; | |
7549 | void *argp2 = 0 ; | |
7550 | int res2 = 0 ; | |
7551 | int val3 ; | |
7552 | int ecode3 = 0 ; | |
7553 | int val4 ; | |
7554 | int ecode4 = 0 ; | |
7555 | int val5 ; | |
7556 | int ecode5 = 0 ; | |
7557 | int val6 ; | |
7558 | int ecode6 = 0 ; | |
7559 | void *argp7 = 0 ; | |
7560 | int res7 = 0 ; | |
7561 | PyObject * obj0 = 0 ; | |
7562 | PyObject * obj1 = 0 ; | |
7563 | PyObject * obj2 = 0 ; | |
7564 | PyObject * obj3 = 0 ; | |
7565 | PyObject * obj4 = 0 ; | |
7566 | PyObject * obj5 = 0 ; | |
7567 | PyObject * obj6 = 0 ; | |
7568 | char * kwnames[] = { | |
7569 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
7570 | }; | |
7571 | ||
7572 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
7573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7574 | if (!SWIG_IsOK(res1)) { | |
7575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Draw" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7576 | } | |
7577 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7578 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7579 | if (!SWIG_IsOK(res2)) { | |
7580 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7581 | } | |
7582 | if (!argp2) { | |
7583 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7584 | } | |
7585 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7586 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7587 | if (!SWIG_IsOK(ecode3)) { | |
7588 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_Draw" "', expected argument " "3"" of type '" "int""'"); | |
7589 | } | |
7590 | arg3 = static_cast< int >(val3); | |
7591 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7592 | if (!SWIG_IsOK(ecode4)) { | |
7593 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_Draw" "', expected argument " "4"" of type '" "int""'"); | |
7594 | } | |
7595 | arg4 = static_cast< int >(val4); | |
7596 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
7597 | if (!SWIG_IsOK(ecode5)) { | |
7598 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlCell_Draw" "', expected argument " "5"" of type '" "int""'"); | |
7599 | } | |
7600 | arg5 = static_cast< int >(val5); | |
7601 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
7602 | if (!SWIG_IsOK(ecode6)) { | |
7603 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlCell_Draw" "', expected argument " "6"" of type '" "int""'"); | |
7604 | } | |
7605 | arg6 = static_cast< int >(val6); | |
7606 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7607 | if (!SWIG_IsOK(res7)) { | |
7608 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7609 | } | |
7610 | if (!argp7) { | |
7611 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_Draw" "', expected argument " "7"" of type '" "wxHtmlRenderingInfo &""'"); | |
7612 | } | |
7613 | arg7 = reinterpret_cast< wxHtmlRenderingInfo * >(argp7); | |
7614 | { | |
7615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7616 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
7617 | wxPyEndAllowThreads(__tstate); | |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | } | |
7620 | resultobj = SWIG_Py_Void(); | |
7621 | return resultobj; | |
7622 | fail: | |
7623 | return NULL; | |
7624 | } | |
7625 | ||
7626 | ||
7627 | SWIGINTERN PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7628 | PyObject *resultobj = 0; | |
7629 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7630 | wxDC *arg2 = 0 ; | |
7631 | int arg3 ; | |
7632 | int arg4 ; | |
7633 | wxHtmlRenderingInfo *arg5 = 0 ; | |
7634 | void *argp1 = 0 ; | |
7635 | int res1 = 0 ; | |
7636 | void *argp2 = 0 ; | |
7637 | int res2 = 0 ; | |
7638 | int val3 ; | |
7639 | int ecode3 = 0 ; | |
7640 | int val4 ; | |
7641 | int ecode4 = 0 ; | |
7642 | void *argp5 = 0 ; | |
7643 | int res5 = 0 ; | |
7644 | PyObject * obj0 = 0 ; | |
7645 | PyObject * obj1 = 0 ; | |
7646 | PyObject * obj2 = 0 ; | |
7647 | PyObject * obj3 = 0 ; | |
7648 | PyObject * obj4 = 0 ; | |
7649 | char * kwnames[] = { | |
7650 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
7651 | }; | |
7652 | ||
7653 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
7654 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7655 | if (!SWIG_IsOK(res1)) { | |
7656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7657 | } | |
7658 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7659 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
7660 | if (!SWIG_IsOK(res2)) { | |
7661 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7662 | } | |
7663 | if (!argp2) { | |
7664 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "2"" of type '" "wxDC &""'"); | |
7665 | } | |
7666 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
7667 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7668 | if (!SWIG_IsOK(ecode3)) { | |
7669 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "3"" of type '" "int""'"); | |
7670 | } | |
7671 | arg3 = static_cast< int >(val3); | |
7672 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7673 | if (!SWIG_IsOK(ecode4)) { | |
7674 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "4"" of type '" "int""'"); | |
7675 | } | |
7676 | arg4 = static_cast< int >(val4); | |
7677 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxHtmlRenderingInfo, 0 ); | |
7678 | if (!SWIG_IsOK(res5)) { | |
7679 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7680 | } | |
7681 | if (!argp5) { | |
7682 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_DrawInvisible" "', expected argument " "5"" of type '" "wxHtmlRenderingInfo &""'"); | |
7683 | } | |
7684 | arg5 = reinterpret_cast< wxHtmlRenderingInfo * >(argp5); | |
7685 | { | |
7686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7687 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
7688 | wxPyEndAllowThreads(__tstate); | |
7689 | if (PyErr_Occurred()) SWIG_fail; | |
7690 | } | |
7691 | resultobj = SWIG_Py_Void(); | |
7692 | return resultobj; | |
7693 | fail: | |
7694 | return NULL; | |
7695 | } | |
7696 | ||
7697 | ||
7698 | SWIGINTERN PyObject *_wrap_HtmlCell_Find(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7699 | PyObject *resultobj = 0; | |
7700 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7701 | int arg2 ; | |
7702 | void *arg3 = (void *) 0 ; | |
7703 | wxHtmlCell *result = 0 ; | |
7704 | void *argp1 = 0 ; | |
7705 | int res1 = 0 ; | |
7706 | int val2 ; | |
7707 | int ecode2 = 0 ; | |
7708 | int res3 ; | |
7709 | PyObject * obj0 = 0 ; | |
7710 | PyObject * obj1 = 0 ; | |
7711 | PyObject * obj2 = 0 ; | |
7712 | char * kwnames[] = { | |
7713 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
7714 | }; | |
7715 | ||
7716 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7717 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7718 | if (!SWIG_IsOK(res1)) { | |
7719 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_Find" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7720 | } | |
7721 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7722 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7723 | if (!SWIG_IsOK(ecode2)) { | |
7724 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_Find" "', expected argument " "2"" of type '" "int""'"); | |
7725 | } | |
7726 | arg2 = static_cast< int >(val2); | |
7727 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
7728 | if (!SWIG_IsOK(res3)) { | |
7729 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlCell_Find" "', expected argument " "3"" of type '" "void const *""'"); | |
7730 | } | |
7731 | { | |
7732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7733 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
7734 | wxPyEndAllowThreads(__tstate); | |
7735 | if (PyErr_Occurred()) SWIG_fail; | |
7736 | } | |
7737 | { | |
7738 | resultobj = wxPyMake_wxObject(result, 0); | |
7739 | } | |
7740 | return resultobj; | |
7741 | fail: | |
7742 | return NULL; | |
7743 | } | |
7744 | ||
7745 | ||
e9d6f3a4 RD |
7746 | SWIGINTERN PyObject *_wrap_HtmlCell_ProcessMouseClick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7747 | PyObject *resultobj = 0; | |
7748 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7749 | wxHtmlWindowInterface *arg2 = (wxHtmlWindowInterface *) 0 ; | |
7750 | wxPoint *arg3 = 0 ; | |
7751 | wxMouseEvent *arg4 = 0 ; | |
7752 | bool result; | |
7753 | void *argp1 = 0 ; | |
7754 | int res1 = 0 ; | |
7755 | void *argp2 = 0 ; | |
7756 | int res2 = 0 ; | |
7757 | wxPoint temp3 ; | |
7758 | void *argp4 = 0 ; | |
7759 | int res4 = 0 ; | |
7760 | PyObject * obj0 = 0 ; | |
7761 | PyObject * obj1 = 0 ; | |
7762 | PyObject * obj2 = 0 ; | |
7763 | PyObject * obj3 = 0 ; | |
7764 | char * kwnames[] = { | |
7765 | (char *) "self",(char *) "window",(char *) "pos",(char *) "event", NULL | |
7766 | }; | |
7767 | ||
7768 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlCell_ProcessMouseClick",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7769 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7770 | if (!SWIG_IsOK(res1)) { | |
7771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7772 | } | |
7773 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7774 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
7775 | if (!SWIG_IsOK(res2)) { | |
7776 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "2"" of type '" "wxHtmlWindowInterface *""'"); | |
7777 | } | |
7778 | arg2 = reinterpret_cast< wxHtmlWindowInterface * >(argp2); | |
7779 | { | |
7780 | arg3 = &temp3; | |
7781 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7782 | } | |
7783 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
7784 | if (!SWIG_IsOK(res4)) { | |
7785 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7786 | } | |
7787 | if (!argp4) { | |
7788 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlCell_ProcessMouseClick" "', expected argument " "4"" of type '" "wxMouseEvent const &""'"); | |
7789 | } | |
7790 | arg4 = reinterpret_cast< wxMouseEvent * >(argp4); | |
7791 | { | |
7792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7793 | result = (bool)(arg1)->ProcessMouseClick(arg2,(wxPoint const &)*arg3,(wxMouseEvent const &)*arg4); | |
7794 | wxPyEndAllowThreads(__tstate); | |
7795 | if (PyErr_Occurred()) SWIG_fail; | |
7796 | } | |
7797 | { | |
7798 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7799 | } | |
7800 | return resultobj; | |
7801 | fail: | |
7802 | return NULL; | |
7803 | } | |
7804 | ||
7805 | ||
0085ce49 RD |
7806 | SWIGINTERN PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7807 | PyObject *resultobj = 0; | |
7808 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7809 | bool arg2 ; | |
7810 | void *argp1 = 0 ; | |
7811 | int res1 = 0 ; | |
7812 | bool val2 ; | |
7813 | int ecode2 = 0 ; | |
7814 | PyObject * obj0 = 0 ; | |
7815 | PyObject * obj1 = 0 ; | |
7816 | char * kwnames[] = { | |
7817 | (char *) "self",(char *) "can", NULL | |
7818 | }; | |
7819 | ||
7820 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) SWIG_fail; | |
7821 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7822 | if (!SWIG_IsOK(res1)) { | |
7823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "1"" of type '" "wxHtmlCell *""'"); | |
7824 | } | |
7825 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7826 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
7827 | if (!SWIG_IsOK(ecode2)) { | |
7828 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_SetCanLiveOnPagebreak" "', expected argument " "2"" of type '" "bool""'"); | |
7829 | } | |
7830 | arg2 = static_cast< bool >(val2); | |
7831 | { | |
7832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7833 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
7834 | wxPyEndAllowThreads(__tstate); | |
7835 | if (PyErr_Occurred()) SWIG_fail; | |
7836 | } | |
7837 | resultobj = SWIG_Py_Void(); | |
7838 | return resultobj; | |
7839 | fail: | |
7840 | return NULL; | |
d14a1e28 RD |
7841 | } |
7842 | ||
7843 | ||
0085ce49 RD |
7844 | SWIGINTERN PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7845 | PyObject *resultobj = 0; | |
7846 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7847 | bool result; | |
7848 | void *argp1 = 0 ; | |
7849 | int res1 = 0 ; | |
7850 | PyObject *swig_obj[1] ; | |
7851 | ||
7852 | if (!args) SWIG_fail; | |
7853 | swig_obj[0] = args; | |
7854 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7855 | if (!SWIG_IsOK(res1)) { | |
7856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7857 | } | |
7858 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7859 | { | |
7860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7861 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
7862 | wxPyEndAllowThreads(__tstate); | |
7863 | if (PyErr_Occurred()) SWIG_fail; | |
7864 | } | |
7865 | { | |
7866 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7867 | } | |
7868 | return resultobj; | |
7869 | fail: | |
7870 | return NULL; | |
d14a1e28 RD |
7871 | } |
7872 | ||
7873 | ||
0085ce49 RD |
7874 | SWIGINTERN PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7875 | PyObject *resultobj = 0; | |
7876 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7877 | bool result; | |
7878 | void *argp1 = 0 ; | |
7879 | int res1 = 0 ; | |
7880 | PyObject *swig_obj[1] ; | |
7881 | ||
7882 | if (!args) SWIG_fail; | |
7883 | swig_obj[0] = args; | |
7884 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7885 | if (!SWIG_IsOK(res1)) { | |
7886 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsTerminalCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7887 | } | |
7888 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7889 | { | |
7890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7891 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
7892 | wxPyEndAllowThreads(__tstate); | |
7893 | if (PyErr_Occurred()) SWIG_fail; | |
7894 | } | |
7895 | { | |
7896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7897 | } | |
7898 | return resultobj; | |
7899 | fail: | |
7900 | return NULL; | |
7901 | } | |
7902 | ||
7903 | ||
7904 | SWIGINTERN PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7905 | PyObject *resultobj = 0; | |
7906 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
7907 | int arg2 ; | |
7908 | int arg3 ; | |
7909 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
7910 | wxHtmlCell *result = 0 ; | |
7911 | void *argp1 = 0 ; | |
7912 | int res1 = 0 ; | |
7913 | int val2 ; | |
7914 | int ecode2 = 0 ; | |
7915 | int val3 ; | |
7916 | int ecode3 = 0 ; | |
7917 | unsigned int val4 ; | |
7918 | int ecode4 = 0 ; | |
7919 | PyObject * obj0 = 0 ; | |
7920 | PyObject * obj1 = 0 ; | |
7921 | PyObject * obj2 = 0 ; | |
7922 | PyObject * obj3 = 0 ; | |
7923 | char * kwnames[] = { | |
7924 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
7925 | }; | |
7926 | ||
7927 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7928 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7929 | if (!SWIG_IsOK(res1)) { | |
7930 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7931 | } | |
7932 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7933 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7934 | if (!SWIG_IsOK(ecode2)) { | |
7935 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "2"" of type '" "int""'"); | |
7936 | } | |
7937 | arg2 = static_cast< int >(val2); | |
7938 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7939 | if (!SWIG_IsOK(ecode3)) { | |
7940 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "3"" of type '" "int""'"); | |
7941 | } | |
7942 | arg3 = static_cast< int >(val3); | |
7943 | if (obj3) { | |
7944 | ecode4 = SWIG_AsVal_unsigned_SS_int(obj3, &val4); | |
7945 | if (!SWIG_IsOK(ecode4)) { | |
7946 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlCell_FindCellByPos" "', expected argument " "4"" of type '" "unsigned int""'"); | |
7947 | } | |
7948 | arg4 = static_cast< unsigned int >(val4); | |
7949 | } | |
7950 | { | |
7951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7952 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
7953 | wxPyEndAllowThreads(__tstate); | |
7954 | if (PyErr_Occurred()) SWIG_fail; | |
7955 | } | |
7956 | { | |
7957 | resultobj = wxPyMake_wxObject(result, 0); | |
7958 | } | |
7959 | return resultobj; | |
7960 | fail: | |
7961 | return NULL; | |
d14a1e28 RD |
7962 | } |
7963 | ||
7964 | ||
e9d6f3a4 | 7965 | SWIGINTERN PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
7966 | PyObject *resultobj = 0; |
7967 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e9d6f3a4 | 7968 | wxHtmlCell *arg2 = (wxHtmlCell *) NULL ; |
0085ce49 RD |
7969 | wxPoint result; |
7970 | void *argp1 = 0 ; | |
7971 | int res1 = 0 ; | |
e9d6f3a4 RD |
7972 | void *argp2 = 0 ; |
7973 | int res2 = 0 ; | |
7974 | PyObject * obj0 = 0 ; | |
7975 | PyObject * obj1 = 0 ; | |
7976 | char * kwnames[] = { | |
7977 | (char *) "self",(char *) "rootCell", NULL | |
7978 | }; | |
7979 | ||
7980 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlCell_GetAbsPos",kwnames,&obj0,&obj1)) SWIG_fail; | |
7981 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7982 | if (!SWIG_IsOK(res1)) { | |
7983 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
7984 | } | |
7985 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
7986 | if (obj1) { | |
7987 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
7988 | if (!SWIG_IsOK(res2)) { | |
7989 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_GetAbsPos" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
7990 | } | |
7991 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
7992 | } | |
7993 | { | |
7994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7995 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(arg2); | |
7996 | wxPyEndAllowThreads(__tstate); | |
7997 | if (PyErr_Occurred()) SWIG_fail; | |
7998 | } | |
7999 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
8000 | return resultobj; | |
8001 | fail: | |
8002 | return NULL; | |
8003 | } | |
8004 | ||
8005 | ||
8006 | SWIGINTERN PyObject *_wrap_HtmlCell_GetRootCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8007 | PyObject *resultobj = 0; | |
8008 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8009 | wxHtmlCell *result = 0 ; | |
8010 | void *argp1 = 0 ; | |
8011 | int res1 = 0 ; | |
0085ce49 RD |
8012 | PyObject *swig_obj[1] ; |
8013 | ||
8014 | if (!args) SWIG_fail; | |
8015 | swig_obj[0] = args; | |
8016 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8017 | if (!SWIG_IsOK(res1)) { | |
e9d6f3a4 | 8018 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetRootCell" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); |
0085ce49 RD |
8019 | } |
8020 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8021 | { | |
8022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 8023 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetRootCell(); |
0085ce49 RD |
8024 | wxPyEndAllowThreads(__tstate); |
8025 | if (PyErr_Occurred()) SWIG_fail; | |
8026 | } | |
e9d6f3a4 RD |
8027 | { |
8028 | resultobj = wxPyMake_wxObject(result, 0); | |
8029 | } | |
0085ce49 RD |
8030 | return resultobj; |
8031 | fail: | |
8032 | return NULL; | |
d14a1e28 RD |
8033 | } |
8034 | ||
8035 | ||
0085ce49 RD |
8036 | SWIGINTERN PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8037 | PyObject *resultobj = 0; | |
8038 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8039 | wxHtmlCell *result = 0 ; | |
8040 | void *argp1 = 0 ; | |
8041 | int res1 = 0 ; | |
8042 | PyObject *swig_obj[1] ; | |
8043 | ||
8044 | if (!args) SWIG_fail; | |
8045 | swig_obj[0] = args; | |
8046 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8047 | if (!SWIG_IsOK(res1)) { | |
8048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetFirstTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8049 | } | |
8050 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8051 | { | |
8052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8053 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
8054 | wxPyEndAllowThreads(__tstate); | |
8055 | if (PyErr_Occurred()) SWIG_fail; | |
8056 | } | |
8057 | { | |
8058 | resultobj = wxPyMake_wxObject(result, 0); | |
8059 | } | |
8060 | return resultobj; | |
8061 | fail: | |
8062 | return NULL; | |
d14a1e28 RD |
8063 | } |
8064 | ||
8065 | ||
0085ce49 RD |
8066 | SWIGINTERN PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8067 | PyObject *resultobj = 0; | |
8068 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8069 | wxHtmlCell *result = 0 ; | |
8070 | void *argp1 = 0 ; | |
8071 | int res1 = 0 ; | |
8072 | PyObject *swig_obj[1] ; | |
8073 | ||
8074 | if (!args) SWIG_fail; | |
8075 | swig_obj[0] = args; | |
8076 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8077 | if (!SWIG_IsOK(res1)) { | |
8078 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetLastTerminal" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8079 | } | |
8080 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8081 | { | |
8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8083 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
8084 | wxPyEndAllowThreads(__tstate); | |
8085 | if (PyErr_Occurred()) SWIG_fail; | |
8086 | } | |
8087 | { | |
8088 | resultobj = wxPyMake_wxObject(result, 0); | |
8089 | } | |
8090 | return resultobj; | |
8091 | fail: | |
8092 | return NULL; | |
d14a1e28 RD |
8093 | } |
8094 | ||
8095 | ||
0085ce49 RD |
8096 | SWIGINTERN PyObject *_wrap_HtmlCell_GetDepth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8097 | PyObject *resultobj = 0; | |
8098 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8099 | unsigned int result; | |
8100 | void *argp1 = 0 ; | |
8101 | int res1 = 0 ; | |
8102 | PyObject *swig_obj[1] ; | |
8103 | ||
8104 | if (!args) SWIG_fail; | |
8105 | swig_obj[0] = args; | |
8106 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8107 | if (!SWIG_IsOK(res1)) { | |
8108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_GetDepth" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8109 | } | |
8110 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8111 | { | |
8112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8113 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
8114 | wxPyEndAllowThreads(__tstate); | |
8115 | if (PyErr_Occurred()) SWIG_fail; | |
8116 | } | |
8117 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
8118 | return resultobj; | |
8119 | fail: | |
8120 | return NULL; | |
8121 | } | |
8122 | ||
8123 | ||
8124 | SWIGINTERN PyObject *_wrap_HtmlCell_IsBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8125 | PyObject *resultobj = 0; | |
8126 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8127 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8128 | bool result; | |
8129 | void *argp1 = 0 ; | |
8130 | int res1 = 0 ; | |
8131 | void *argp2 = 0 ; | |
8132 | int res2 = 0 ; | |
8133 | PyObject * obj0 = 0 ; | |
8134 | PyObject * obj1 = 0 ; | |
8135 | char * kwnames[] = { | |
8136 | (char *) "self",(char *) "cell", NULL | |
8137 | }; | |
8138 | ||
8139 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) SWIG_fail; | |
8140 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8141 | if (!SWIG_IsOK(res1)) { | |
8142 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_IsBefore" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8143 | } | |
8144 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8145 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8146 | if (!SWIG_IsOK(res2)) { | |
8147 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_IsBefore" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8148 | } | |
8149 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
8150 | { | |
8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8152 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
8153 | wxPyEndAllowThreads(__tstate); | |
8154 | if (PyErr_Occurred()) SWIG_fail; | |
8155 | } | |
8156 | { | |
8157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8158 | } | |
8159 | return resultobj; | |
8160 | fail: | |
8161 | return NULL; | |
8162 | } | |
8163 | ||
8164 | ||
8165 | SWIGINTERN PyObject *_wrap_HtmlCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8166 | PyObject *resultobj = 0; | |
8167 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
8168 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8169 | wxString result; | |
8170 | void *argp1 = 0 ; | |
8171 | int res1 = 0 ; | |
8172 | void *argp2 = 0 ; | |
8173 | int res2 = 0 ; | |
8174 | PyObject * obj0 = 0 ; | |
8175 | PyObject * obj1 = 0 ; | |
8176 | char * kwnames[] = { | |
8177 | (char *) "self",(char *) "sel", NULL | |
8178 | }; | |
8179 | ||
8180 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8181 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
8182 | if (!SWIG_IsOK(res1)) { | |
8183 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlCell const *""'"); | |
8184 | } | |
8185 | arg1 = reinterpret_cast< wxHtmlCell * >(argp1); | |
8186 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8187 | if (!SWIG_IsOK(res2)) { | |
8188 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8189 | } | |
8190 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8191 | { | |
8192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8193 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
8194 | wxPyEndAllowThreads(__tstate); | |
8195 | if (PyErr_Occurred()) SWIG_fail; | |
8196 | } | |
8197 | { | |
8198 | #if wxUSE_UNICODE | |
8199 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8200 | #else | |
8201 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8202 | #endif | |
8203 | } | |
8204 | return resultobj; | |
8205 | fail: | |
8206 | return NULL; | |
d14a1e28 RD |
8207 | } |
8208 | ||
8209 | ||
0085ce49 RD |
8210 | SWIGINTERN PyObject *HtmlCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8211 | PyObject *obj; | |
8212 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8213 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCell, SWIG_NewClientData(obj)); | |
8214 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8215 | } |
8216 | ||
0085ce49 RD |
8217 | SWIGINTERN PyObject *HtmlCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8218 | return SWIG_Python_InitShadowInstance(args); | |
8219 | } | |
d14a1e28 | 8220 | |
0085ce49 RD |
8221 | SWIGINTERN PyObject *_wrap_new_HtmlWordCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8222 | PyObject *resultobj = 0; | |
8223 | wxString *arg1 = 0 ; | |
8224 | wxDC *arg2 = 0 ; | |
8225 | wxHtmlWordCell *result = 0 ; | |
8226 | bool temp1 = false ; | |
8227 | void *argp2 = 0 ; | |
8228 | int res2 = 0 ; | |
8229 | PyObject * obj0 = 0 ; | |
8230 | PyObject * obj1 = 0 ; | |
8231 | char * kwnames[] = { | |
8232 | (char *) "word",(char *) "dc", NULL | |
8233 | }; | |
8234 | ||
8235 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8236 | { | |
8237 | arg1 = wxString_in_helper(obj0); | |
8238 | if (arg1 == NULL) SWIG_fail; | |
8239 | temp1 = true; | |
8240 | } | |
8241 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
8242 | if (!SWIG_IsOK(res2)) { | |
8243 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8244 | } | |
8245 | if (!argp2) { | |
8246 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlWordCell" "', expected argument " "2"" of type '" "wxDC &""'"); | |
8247 | } | |
8248 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8249 | { | |
8250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8251 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
8252 | wxPyEndAllowThreads(__tstate); | |
8253 | if (PyErr_Occurred()) SWIG_fail; | |
8254 | } | |
8255 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWordCell, SWIG_POINTER_NEW | 0 ); | |
8256 | { | |
8257 | if (temp1) | |
8258 | delete arg1; | |
8259 | } | |
8260 | return resultobj; | |
8261 | fail: | |
8262 | { | |
8263 | if (temp1) | |
8264 | delete arg1; | |
8265 | } | |
8266 | return NULL; | |
8267 | } | |
8268 | ||
8269 | ||
8270 | SWIGINTERN PyObject *_wrap_HtmlWordCell_ConvertToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8271 | PyObject *resultobj = 0; | |
8272 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8273 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
8274 | wxString result; | |
8275 | void *argp1 = 0 ; | |
8276 | int res1 = 0 ; | |
8277 | void *argp2 = 0 ; | |
8278 | int res2 = 0 ; | |
8279 | PyObject * obj0 = 0 ; | |
8280 | PyObject * obj1 = 0 ; | |
8281 | char * kwnames[] = { | |
8282 | (char *) "self",(char *) "sel", NULL | |
8283 | }; | |
8284 | ||
8285 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_ConvertToText",kwnames,&obj0,&obj1)) SWIG_fail; | |
8286 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8287 | if (!SWIG_IsOK(res1)) { | |
8288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8289 | } | |
8290 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8291 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlSelection, 0 | 0 ); | |
8292 | if (!SWIG_IsOK(res2)) { | |
8293 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_ConvertToText" "', expected argument " "2"" of type '" "wxHtmlSelection *""'"); | |
8294 | } | |
8295 | arg2 = reinterpret_cast< wxHtmlSelection * >(argp2); | |
8296 | { | |
8297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8298 | result = ((wxHtmlWordCell const *)arg1)->ConvertToText(arg2); | |
8299 | wxPyEndAllowThreads(__tstate); | |
8300 | if (PyErr_Occurred()) SWIG_fail; | |
8301 | } | |
8302 | { | |
8303 | #if wxUSE_UNICODE | |
8304 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8305 | #else | |
8306 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8307 | #endif | |
8308 | } | |
8309 | return resultobj; | |
8310 | fail: | |
8311 | return NULL; | |
d14a1e28 RD |
8312 | } |
8313 | ||
8314 | ||
0085ce49 RD |
8315 | SWIGINTERN PyObject *_wrap_HtmlWordCell_IsLinebreakAllowed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8316 | PyObject *resultobj = 0; | |
8317 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8318 | bool result; | |
8319 | void *argp1 = 0 ; | |
8320 | int res1 = 0 ; | |
8321 | PyObject *swig_obj[1] ; | |
8322 | ||
8323 | if (!args) SWIG_fail; | |
8324 | swig_obj[0] = args; | |
8325 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8326 | if (!SWIG_IsOK(res1)) { | |
8327 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_IsLinebreakAllowed" "', expected argument " "1"" of type '" "wxHtmlWordCell const *""'"); | |
8328 | } | |
8329 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8330 | { | |
8331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8332 | result = (bool)((wxHtmlWordCell const *)arg1)->IsLinebreakAllowed(); | |
8333 | wxPyEndAllowThreads(__tstate); | |
8334 | if (PyErr_Occurred()) SWIG_fail; | |
8335 | } | |
8336 | { | |
8337 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8338 | } | |
8339 | return resultobj; | |
8340 | fail: | |
8341 | return NULL; | |
8342 | } | |
8343 | ||
8344 | ||
8345 | SWIGINTERN PyObject *_wrap_HtmlWordCell_SetPreviousWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8346 | PyObject *resultobj = 0; | |
8347 | wxHtmlWordCell *arg1 = (wxHtmlWordCell *) 0 ; | |
8348 | wxHtmlWordCell *arg2 = (wxHtmlWordCell *) 0 ; | |
8349 | void *argp1 = 0 ; | |
8350 | int res1 = 0 ; | |
8351 | void *argp2 = 0 ; | |
8352 | int res2 = 0 ; | |
8353 | PyObject * obj0 = 0 ; | |
8354 | PyObject * obj1 = 0 ; | |
8355 | char * kwnames[] = { | |
8356 | (char *) "self",(char *) "cell", NULL | |
8357 | }; | |
8358 | ||
8359 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWordCell_SetPreviousWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
8360 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8361 | if (!SWIG_IsOK(res1)) { | |
8362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "1"" of type '" "wxHtmlWordCell *""'"); | |
8363 | } | |
8364 | arg1 = reinterpret_cast< wxHtmlWordCell * >(argp1); | |
8365 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlWordCell, 0 | 0 ); | |
8366 | if (!SWIG_IsOK(res2)) { | |
8367 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWordCell_SetPreviousWord" "', expected argument " "2"" of type '" "wxHtmlWordCell *""'"); | |
8368 | } | |
8369 | arg2 = reinterpret_cast< wxHtmlWordCell * >(argp2); | |
8370 | { | |
8371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8372 | (arg1)->SetPreviousWord(arg2); | |
8373 | wxPyEndAllowThreads(__tstate); | |
8374 | if (PyErr_Occurred()) SWIG_fail; | |
8375 | } | |
8376 | resultobj = SWIG_Py_Void(); | |
8377 | return resultobj; | |
8378 | fail: | |
8379 | return NULL; | |
d14a1e28 RD |
8380 | } |
8381 | ||
8382 | ||
0085ce49 RD |
8383 | SWIGINTERN PyObject *HtmlWordCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8384 | PyObject *obj; | |
8385 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8386 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWordCell, SWIG_NewClientData(obj)); | |
8387 | return SWIG_Py_Void(); | |
d14a1e28 RD |
8388 | } |
8389 | ||
0085ce49 RD |
8390 | SWIGINTERN PyObject *HtmlWordCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8391 | return SWIG_Python_InitShadowInstance(args); | |
8392 | } | |
d14a1e28 | 8393 | |
0085ce49 RD |
8394 | SWIGINTERN PyObject *_wrap_new_HtmlContainerCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8395 | PyObject *resultobj = 0; | |
8396 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8397 | wxHtmlContainerCell *result = 0 ; | |
8398 | void *argp1 = 0 ; | |
8399 | int res1 = 0 ; | |
8400 | PyObject * obj0 = 0 ; | |
8401 | char * kwnames[] = { | |
8402 | (char *) "parent", NULL | |
8403 | }; | |
8404 | ||
8405 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) SWIG_fail; | |
8406 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8407 | if (!SWIG_IsOK(res1)) { | |
8408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlContainerCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8409 | } | |
8410 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8411 | { | |
8412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8413 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
8414 | wxPyEndAllowThreads(__tstate); | |
8415 | if (PyErr_Occurred()) SWIG_fail; | |
8416 | } | |
8417 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_NEW | 0 ); | |
8418 | return resultobj; | |
8419 | fail: | |
8420 | return NULL; | |
8421 | } | |
8422 | ||
8423 | ||
8424 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8425 | PyObject *resultobj = 0; | |
8426 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8427 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
8428 | void *argp1 = 0 ; | |
8429 | int res1 = 0 ; | |
8430 | int res2 = 0 ; | |
8431 | PyObject * obj0 = 0 ; | |
8432 | PyObject * obj1 = 0 ; | |
8433 | char * kwnames[] = { | |
8434 | (char *) "self",(char *) "cell", NULL | |
8435 | }; | |
8436 | ||
8437 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
8438 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8439 | if (!SWIG_IsOK(res1)) { | |
8440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8441 | } | |
8442 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8443 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_DISOWN | 0 ); | |
8444 | if (!SWIG_IsOK(res2)) { | |
8445 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_InsertCell" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
8446 | } | |
8447 | { | |
8448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8449 | (arg1)->InsertCell(arg2); | |
8450 | wxPyEndAllowThreads(__tstate); | |
8451 | if (PyErr_Occurred()) SWIG_fail; | |
8452 | } | |
8453 | resultobj = SWIG_Py_Void(); | |
8454 | return resultobj; | |
8455 | fail: | |
8456 | return NULL; | |
8457 | } | |
8458 | ||
8459 | ||
8460 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8461 | PyObject *resultobj = 0; | |
8462 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8463 | int arg2 ; | |
8464 | void *argp1 = 0 ; | |
8465 | int res1 = 0 ; | |
8466 | int val2 ; | |
8467 | int ecode2 = 0 ; | |
8468 | PyObject * obj0 = 0 ; | |
8469 | PyObject * obj1 = 0 ; | |
8470 | char * kwnames[] = { | |
8471 | (char *) "self",(char *) "al", NULL | |
8472 | }; | |
8473 | ||
8474 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) SWIG_fail; | |
8475 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8476 | if (!SWIG_IsOK(res1)) { | |
8477 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8478 | } | |
8479 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8480 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8481 | if (!SWIG_IsOK(ecode2)) { | |
8482 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignHor" "', expected argument " "2"" of type '" "int""'"); | |
8483 | } | |
8484 | arg2 = static_cast< int >(val2); | |
8485 | { | |
8486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8487 | (arg1)->SetAlignHor(arg2); | |
8488 | wxPyEndAllowThreads(__tstate); | |
8489 | if (PyErr_Occurred()) SWIG_fail; | |
8490 | } | |
8491 | resultobj = SWIG_Py_Void(); | |
8492 | return resultobj; | |
8493 | fail: | |
8494 | return NULL; | |
d14a1e28 | 8495 | } |
0085ce49 RD |
8496 | |
8497 | ||
8498 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8499 | PyObject *resultobj = 0; | |
8500 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8501 | int result; | |
8502 | void *argp1 = 0 ; | |
8503 | int res1 = 0 ; | |
8504 | PyObject *swig_obj[1] ; | |
8505 | ||
8506 | if (!args) SWIG_fail; | |
8507 | swig_obj[0] = args; | |
8508 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8509 | if (!SWIG_IsOK(res1)) { | |
8510 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignHor" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8511 | } | |
8512 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8513 | { | |
8514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8515 | result = (int)(arg1)->GetAlignHor(); | |
8516 | wxPyEndAllowThreads(__tstate); | |
8517 | if (PyErr_Occurred()) SWIG_fail; | |
8518 | } | |
8519 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8520 | return resultobj; | |
8521 | fail: | |
8522 | return NULL; | |
8523 | } | |
8524 | ||
8525 | ||
8526 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8527 | PyObject *resultobj = 0; | |
8528 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8529 | int arg2 ; | |
8530 | void *argp1 = 0 ; | |
8531 | int res1 = 0 ; | |
8532 | int val2 ; | |
8533 | int ecode2 = 0 ; | |
8534 | PyObject * obj0 = 0 ; | |
8535 | PyObject * obj1 = 0 ; | |
8536 | char * kwnames[] = { | |
8537 | (char *) "self",(char *) "al", NULL | |
8538 | }; | |
8539 | ||
8540 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) SWIG_fail; | |
8541 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8542 | if (!SWIG_IsOK(res1)) { | |
8543 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8544 | } | |
8545 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8546 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8547 | if (!SWIG_IsOK(ecode2)) { | |
8548 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetAlignVer" "', expected argument " "2"" of type '" "int""'"); | |
8549 | } | |
8550 | arg2 = static_cast< int >(val2); | |
8551 | { | |
8552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8553 | (arg1)->SetAlignVer(arg2); | |
8554 | wxPyEndAllowThreads(__tstate); | |
8555 | if (PyErr_Occurred()) SWIG_fail; | |
8556 | } | |
8557 | resultobj = SWIG_Py_Void(); | |
8558 | return resultobj; | |
8559 | fail: | |
8560 | return NULL; | |
d14a1e28 RD |
8561 | } |
8562 | ||
8563 | ||
0085ce49 RD |
8564 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8565 | PyObject *resultobj = 0; | |
8566 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8567 | int result; | |
8568 | void *argp1 = 0 ; | |
8569 | int res1 = 0 ; | |
8570 | PyObject *swig_obj[1] ; | |
8571 | ||
8572 | if (!args) SWIG_fail; | |
8573 | swig_obj[0] = args; | |
8574 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8575 | if (!SWIG_IsOK(res1)) { | |
8576 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetAlignVer" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8577 | } | |
8578 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8579 | { | |
8580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8581 | result = (int)(arg1)->GetAlignVer(); | |
8582 | wxPyEndAllowThreads(__tstate); | |
8583 | if (PyErr_Occurred()) SWIG_fail; | |
8584 | } | |
8585 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8586 | return resultobj; | |
8587 | fail: | |
8588 | return NULL; | |
8589 | } | |
8590 | ||
8591 | ||
8592 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8593 | PyObject *resultobj = 0; | |
8594 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8595 | int arg2 ; | |
8596 | int arg3 ; | |
8597 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
8598 | void *argp1 = 0 ; | |
8599 | int res1 = 0 ; | |
8600 | int val2 ; | |
8601 | int ecode2 = 0 ; | |
8602 | int val3 ; | |
8603 | int ecode3 = 0 ; | |
8604 | int val4 ; | |
8605 | int ecode4 = 0 ; | |
8606 | PyObject * obj0 = 0 ; | |
8607 | PyObject * obj1 = 0 ; | |
8608 | PyObject * obj2 = 0 ; | |
8609 | PyObject * obj3 = 0 ; | |
8610 | char * kwnames[] = { | |
8611 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
8612 | }; | |
8613 | ||
8614 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8615 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8616 | if (!SWIG_IsOK(res1)) { | |
8617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8618 | } | |
8619 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8620 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8621 | if (!SWIG_IsOK(ecode2)) { | |
8622 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8623 | } | |
8624 | arg2 = static_cast< int >(val2); | |
8625 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8626 | if (!SWIG_IsOK(ecode3)) { | |
8627 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "3"" of type '" "int""'"); | |
8628 | } | |
8629 | arg3 = static_cast< int >(val3); | |
8630 | if (obj3) { | |
8631 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
8632 | if (!SWIG_IsOK(ecode4)) { | |
8633 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlContainerCell_SetIndent" "', expected argument " "4"" of type '" "int""'"); | |
8634 | } | |
8635 | arg4 = static_cast< int >(val4); | |
8636 | } | |
8637 | { | |
8638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8639 | (arg1)->SetIndent(arg2,arg3,arg4); | |
8640 | wxPyEndAllowThreads(__tstate); | |
8641 | if (PyErr_Occurred()) SWIG_fail; | |
8642 | } | |
8643 | resultobj = SWIG_Py_Void(); | |
8644 | return resultobj; | |
8645 | fail: | |
8646 | return NULL; | |
8647 | } | |
8648 | ||
8649 | ||
8650 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8651 | PyObject *resultobj = 0; | |
8652 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8653 | int arg2 ; | |
8654 | int result; | |
8655 | void *argp1 = 0 ; | |
8656 | int res1 = 0 ; | |
8657 | int val2 ; | |
8658 | int ecode2 = 0 ; | |
8659 | PyObject * obj0 = 0 ; | |
8660 | PyObject * obj1 = 0 ; | |
8661 | char * kwnames[] = { | |
8662 | (char *) "self",(char *) "ind", NULL | |
8663 | }; | |
8664 | ||
8665 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
8666 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8667 | if (!SWIG_IsOK(res1)) { | |
8668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8669 | } | |
8670 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8671 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8672 | if (!SWIG_IsOK(ecode2)) { | |
8673 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndent" "', expected argument " "2"" of type '" "int""'"); | |
8674 | } | |
8675 | arg2 = static_cast< int >(val2); | |
8676 | { | |
8677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8678 | result = (int)(arg1)->GetIndent(arg2); | |
8679 | wxPyEndAllowThreads(__tstate); | |
8680 | if (PyErr_Occurred()) SWIG_fail; | |
8681 | } | |
8682 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8683 | return resultobj; | |
8684 | fail: | |
8685 | return NULL; | |
8686 | } | |
8687 | ||
8688 | ||
8689 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8690 | PyObject *resultobj = 0; | |
8691 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8692 | int arg2 ; | |
8693 | int result; | |
8694 | void *argp1 = 0 ; | |
8695 | int res1 = 0 ; | |
8696 | int val2 ; | |
8697 | int ecode2 = 0 ; | |
8698 | PyObject * obj0 = 0 ; | |
8699 | PyObject * obj1 = 0 ; | |
8700 | char * kwnames[] = { | |
8701 | (char *) "self",(char *) "ind", NULL | |
8702 | }; | |
8703 | ||
8704 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) SWIG_fail; | |
8705 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8706 | if (!SWIG_IsOK(res1)) { | |
8707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8708 | } | |
8709 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8710 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8711 | if (!SWIG_IsOK(ecode2)) { | |
8712 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_GetIndentUnits" "', expected argument " "2"" of type '" "int""'"); | |
8713 | } | |
8714 | arg2 = static_cast< int >(val2); | |
8715 | { | |
8716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8717 | result = (int)(arg1)->GetIndentUnits(arg2); | |
8718 | wxPyEndAllowThreads(__tstate); | |
8719 | if (PyErr_Occurred()) SWIG_fail; | |
8720 | } | |
8721 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8722 | return resultobj; | |
8723 | fail: | |
8724 | return NULL; | |
8725 | } | |
8726 | ||
8727 | ||
8728 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8729 | PyObject *resultobj = 0; | |
8730 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8731 | wxHtmlTag *arg2 = 0 ; | |
8732 | void *argp1 = 0 ; | |
8733 | int res1 = 0 ; | |
8734 | void *argp2 = 0 ; | |
8735 | int res2 = 0 ; | |
8736 | PyObject * obj0 = 0 ; | |
8737 | PyObject * obj1 = 0 ; | |
8738 | char * kwnames[] = { | |
8739 | (char *) "self",(char *) "tag", NULL | |
8740 | }; | |
8741 | ||
8742 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail; | |
8743 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8744 | if (!SWIG_IsOK(res1)) { | |
8745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8746 | } | |
8747 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8748 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8749 | if (!SWIG_IsOK(res2)) { | |
8750 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8751 | } | |
8752 | if (!argp2) { | |
8753 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetAlign" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8754 | } | |
8755 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8756 | { | |
8757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8758 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
8759 | wxPyEndAllowThreads(__tstate); | |
8760 | if (PyErr_Occurred()) SWIG_fail; | |
8761 | } | |
8762 | resultobj = SWIG_Py_Void(); | |
8763 | return resultobj; | |
8764 | fail: | |
8765 | return NULL; | |
8766 | } | |
8767 | ||
8768 | ||
8769 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8770 | PyObject *resultobj = 0; | |
8771 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8772 | int arg2 ; | |
8773 | int arg3 ; | |
8774 | void *argp1 = 0 ; | |
8775 | int res1 = 0 ; | |
8776 | int val2 ; | |
8777 | int ecode2 = 0 ; | |
8778 | int val3 ; | |
8779 | int ecode3 = 0 ; | |
8780 | PyObject * obj0 = 0 ; | |
8781 | PyObject * obj1 = 0 ; | |
8782 | PyObject * obj2 = 0 ; | |
8783 | char * kwnames[] = { | |
8784 | (char *) "self",(char *) "w",(char *) "units", NULL | |
8785 | }; | |
8786 | ||
8787 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8788 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8789 | if (!SWIG_IsOK(res1)) { | |
8790 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8791 | } | |
8792 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8793 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8794 | if (!SWIG_IsOK(ecode2)) { | |
8795 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "2"" of type '" "int""'"); | |
8796 | } | |
8797 | arg2 = static_cast< int >(val2); | |
8798 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8799 | if (!SWIG_IsOK(ecode3)) { | |
8800 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetWidthFloat" "', expected argument " "3"" of type '" "int""'"); | |
8801 | } | |
8802 | arg3 = static_cast< int >(val3); | |
8803 | { | |
8804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8805 | (arg1)->SetWidthFloat(arg2,arg3); | |
8806 | wxPyEndAllowThreads(__tstate); | |
8807 | if (PyErr_Occurred()) SWIG_fail; | |
8808 | } | |
8809 | resultobj = SWIG_Py_Void(); | |
8810 | return resultobj; | |
8811 | fail: | |
8812 | return NULL; | |
8813 | } | |
8814 | ||
8815 | ||
8816 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8817 | PyObject *resultobj = 0; | |
8818 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8819 | wxHtmlTag *arg2 = 0 ; | |
8820 | void *argp1 = 0 ; | |
8821 | int res1 = 0 ; | |
8822 | void *argp2 = 0 ; | |
8823 | int res2 = 0 ; | |
8824 | PyObject * obj0 = 0 ; | |
8825 | PyObject * obj1 = 0 ; | |
8826 | char * kwnames[] = { | |
8827 | (char *) "self",(char *) "tag", NULL | |
8828 | }; | |
8829 | ||
8830 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) SWIG_fail; | |
8831 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8832 | if (!SWIG_IsOK(res1)) { | |
8833 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8834 | } | |
8835 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8836 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlTag, 0 | 0); | |
8837 | if (!SWIG_IsOK(res2)) { | |
8838 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8839 | } | |
8840 | if (!argp2) { | |
8841 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlContainerCell_SetWidthFloatFromTag" "', expected argument " "2"" of type '" "wxHtmlTag const &""'"); | |
8842 | } | |
8843 | arg2 = reinterpret_cast< wxHtmlTag * >(argp2); | |
8844 | { | |
8845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8846 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
8847 | wxPyEndAllowThreads(__tstate); | |
8848 | if (PyErr_Occurred()) SWIG_fail; | |
8849 | } | |
8850 | resultobj = SWIG_Py_Void(); | |
8851 | return resultobj; | |
8852 | fail: | |
8853 | return NULL; | |
8854 | } | |
8855 | ||
8856 | ||
8857 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8858 | PyObject *resultobj = 0; | |
8859 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8860 | int arg2 ; | |
8861 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
8862 | void *argp1 = 0 ; | |
8863 | int res1 = 0 ; | |
8864 | int val2 ; | |
8865 | int ecode2 = 0 ; | |
8866 | int val3 ; | |
8867 | int ecode3 = 0 ; | |
8868 | PyObject * obj0 = 0 ; | |
8869 | PyObject * obj1 = 0 ; | |
8870 | PyObject * obj2 = 0 ; | |
8871 | char * kwnames[] = { | |
8872 | (char *) "self",(char *) "h",(char *) "align", NULL | |
8873 | }; | |
8874 | ||
8875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8877 | if (!SWIG_IsOK(res1)) { | |
8878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8879 | } | |
8880 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8881 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8882 | if (!SWIG_IsOK(ecode2)) { | |
8883 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); | |
8884 | } | |
8885 | arg2 = static_cast< int >(val2); | |
8886 | if (obj2) { | |
8887 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
8888 | if (!SWIG_IsOK(ecode3)) { | |
8889 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlContainerCell_SetMinHeight" "', expected argument " "3"" of type '" "int""'"); | |
8890 | } | |
8891 | arg3 = static_cast< int >(val3); | |
8892 | } | |
8893 | { | |
8894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8895 | (arg1)->SetMinHeight(arg2,arg3); | |
8896 | wxPyEndAllowThreads(__tstate); | |
8897 | if (PyErr_Occurred()) SWIG_fail; | |
8898 | } | |
8899 | resultobj = SWIG_Py_Void(); | |
8900 | return resultobj; | |
8901 | fail: | |
8902 | return NULL; | |
8903 | } | |
8904 | ||
8905 | ||
8906 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8907 | PyObject *resultobj = 0; | |
8908 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8909 | wxColour *arg2 = 0 ; | |
8910 | void *argp1 = 0 ; | |
8911 | int res1 = 0 ; | |
8912 | wxColour temp2 ; | |
8913 | PyObject * obj0 = 0 ; | |
8914 | PyObject * obj1 = 0 ; | |
8915 | char * kwnames[] = { | |
8916 | (char *) "self",(char *) "clr", NULL | |
8917 | }; | |
8918 | ||
8919 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
8920 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8921 | if (!SWIG_IsOK(res1)) { | |
8922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8923 | } | |
8924 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8925 | { | |
8926 | arg2 = &temp2; | |
8927 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8928 | } | |
8929 | { | |
8930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8931 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
8932 | wxPyEndAllowThreads(__tstate); | |
8933 | if (PyErr_Occurred()) SWIG_fail; | |
8934 | } | |
8935 | resultobj = SWIG_Py_Void(); | |
8936 | return resultobj; | |
8937 | fail: | |
8938 | return NULL; | |
d14a1e28 RD |
8939 | } |
8940 | ||
8941 | ||
0085ce49 RD |
8942 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8943 | PyObject *resultobj = 0; | |
8944 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8945 | wxColour result; | |
8946 | void *argp1 = 0 ; | |
8947 | int res1 = 0 ; | |
8948 | PyObject *swig_obj[1] ; | |
8949 | ||
8950 | if (!args) SWIG_fail; | |
8951 | swig_obj[0] = args; | |
8952 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8953 | if (!SWIG_IsOK(res1)) { | |
8954 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8955 | } | |
8956 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8957 | { | |
8958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8959 | result = (arg1)->GetBackgroundColour(); | |
8960 | wxPyEndAllowThreads(__tstate); | |
8961 | if (PyErr_Occurred()) SWIG_fail; | |
8962 | } | |
8963 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
8964 | return resultobj; | |
8965 | fail: | |
8966 | return NULL; | |
8967 | } | |
8968 | ||
8969 | ||
8970 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8971 | PyObject *resultobj = 0; | |
8972 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
8973 | wxColour *arg2 = 0 ; | |
8974 | wxColour *arg3 = 0 ; | |
8975 | void *argp1 = 0 ; | |
8976 | int res1 = 0 ; | |
8977 | wxColour temp2 ; | |
8978 | wxColour temp3 ; | |
8979 | PyObject * obj0 = 0 ; | |
8980 | PyObject * obj1 = 0 ; | |
8981 | PyObject * obj2 = 0 ; | |
8982 | char * kwnames[] = { | |
8983 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
8984 | }; | |
8985 | ||
8986 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8987 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
8988 | if (!SWIG_IsOK(res1)) { | |
8989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_SetBorder" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
8990 | } | |
8991 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
8992 | { | |
8993 | arg2 = &temp2; | |
8994 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8995 | } | |
8996 | { | |
8997 | arg3 = &temp3; | |
8998 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8999 | } | |
9000 | { | |
9001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9002 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
9003 | wxPyEndAllowThreads(__tstate); | |
9004 | if (PyErr_Occurred()) SWIG_fail; | |
9005 | } | |
9006 | resultobj = SWIG_Py_Void(); | |
9007 | return resultobj; | |
9008 | fail: | |
9009 | return NULL; | |
d14a1e28 RD |
9010 | } |
9011 | ||
9012 | ||
0085ce49 RD |
9013 | SWIGINTERN PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9014 | PyObject *resultobj = 0; | |
9015 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
9016 | wxHtmlCell *result = 0 ; | |
9017 | void *argp1 = 0 ; | |
9018 | int res1 = 0 ; | |
9019 | PyObject *swig_obj[1] ; | |
9020 | ||
9021 | if (!args) SWIG_fail; | |
9022 | swig_obj[0] = args; | |
9023 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
9024 | if (!SWIG_IsOK(res1)) { | |
9025 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlContainerCell_GetFirstChild" "', expected argument " "1"" of type '" "wxHtmlContainerCell *""'"); | |
9026 | } | |
9027 | arg1 = reinterpret_cast< wxHtmlContainerCell * >(argp1); | |
9028 | { | |
9029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9030 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
9031 | wxPyEndAllowThreads(__tstate); | |
9032 | if (PyErr_Occurred()) SWIG_fail; | |
9033 | } | |
9034 | { | |
9035 | resultobj = wxPyMake_wxObject(result, 0); | |
9036 | } | |
9037 | return resultobj; | |
9038 | fail: | |
9039 | return NULL; | |
d14a1e28 RD |
9040 | } |
9041 | ||
9042 | ||
0085ce49 RD |
9043 | SWIGINTERN PyObject *HtmlContainerCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9044 | PyObject *obj; | |
9045 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9046 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlContainerCell, SWIG_NewClientData(obj)); | |
9047 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9048 | } |
9049 | ||
0085ce49 RD |
9050 | SWIGINTERN PyObject *HtmlContainerCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9051 | return SWIG_Python_InitShadowInstance(args); | |
9052 | } | |
d14a1e28 | 9053 | |
0085ce49 RD |
9054 | SWIGINTERN PyObject *_wrap_new_HtmlColourCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9055 | PyObject *resultobj = 0; | |
9056 | wxColour *arg1 = 0 ; | |
9057 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
9058 | wxHtmlColourCell *result = 0 ; | |
9059 | wxColour temp1 ; | |
9060 | int val2 ; | |
9061 | int ecode2 = 0 ; | |
9062 | PyObject * obj0 = 0 ; | |
9063 | PyObject * obj1 = 0 ; | |
9064 | char * kwnames[] = { | |
9065 | (char *) "clr",(char *) "flags", NULL | |
9066 | }; | |
9067 | ||
9068 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9069 | { | |
9070 | arg1 = &temp1; | |
9071 | if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail; | |
9072 | } | |
9073 | if (obj1) { | |
9074 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9075 | if (!SWIG_IsOK(ecode2)) { | |
9076 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlColourCell" "', expected argument " "2"" of type '" "int""'"); | |
9077 | } | |
9078 | arg2 = static_cast< int >(val2); | |
9079 | } | |
9080 | { | |
9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9082 | result = (wxHtmlColourCell *)new wxHtmlColourCell((wxColour const &)*arg1,arg2); | |
9083 | wxPyEndAllowThreads(__tstate); | |
9084 | if (PyErr_Occurred()) SWIG_fail; | |
9085 | } | |
9086 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlColourCell, SWIG_POINTER_NEW | 0 ); | |
9087 | return resultobj; | |
9088 | fail: | |
9089 | return NULL; | |
d14a1e28 RD |
9090 | } |
9091 | ||
9092 | ||
0085ce49 RD |
9093 | SWIGINTERN PyObject *HtmlColourCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9094 | PyObject *obj; | |
9095 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9096 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlColourCell, SWIG_NewClientData(obj)); | |
9097 | return SWIG_Py_Void(); | |
4f89f6a3 RD |
9098 | } |
9099 | ||
0085ce49 RD |
9100 | SWIGINTERN PyObject *HtmlColourCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9101 | return SWIG_Python_InitShadowInstance(args); | |
9102 | } | |
4f89f6a3 | 9103 | |
0085ce49 RD |
9104 | SWIGINTERN PyObject *_wrap_new_HtmlFontCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9105 | PyObject *resultobj = 0; | |
9106 | wxFont *arg1 = (wxFont *) 0 ; | |
9107 | wxHtmlFontCell *result = 0 ; | |
9108 | void *argp1 = 0 ; | |
9109 | int res1 = 0 ; | |
9110 | PyObject * obj0 = 0 ; | |
9111 | char * kwnames[] = { | |
9112 | (char *) "font", NULL | |
9113 | }; | |
9114 | ||
9115 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) SWIG_fail; | |
9116 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFont, 0 | 0 ); | |
9117 | if (!SWIG_IsOK(res1)) { | |
9118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlFontCell" "', expected argument " "1"" of type '" "wxFont *""'"); | |
9119 | } | |
9120 | arg1 = reinterpret_cast< wxFont * >(argp1); | |
9121 | { | |
9122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9123 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
9124 | wxPyEndAllowThreads(__tstate); | |
9125 | if (PyErr_Occurred()) SWIG_fail; | |
9126 | } | |
9127 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlFontCell, SWIG_POINTER_NEW | 0 ); | |
9128 | return resultobj; | |
9129 | fail: | |
9130 | return NULL; | |
39f61e25 RD |
9131 | } |
9132 | ||
9133 | ||
0085ce49 RD |
9134 | SWIGINTERN PyObject *HtmlFontCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9135 | PyObject *obj; | |
9136 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9137 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlFontCell, SWIG_NewClientData(obj)); | |
9138 | return SWIG_Py_Void(); | |
39f61e25 RD |
9139 | } |
9140 | ||
0085ce49 RD |
9141 | SWIGINTERN PyObject *HtmlFontCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9142 | return SWIG_Python_InitShadowInstance(args); | |
9143 | } | |
39f61e25 | 9144 | |
0085ce49 RD |
9145 | SWIGINTERN PyObject *_wrap_new_HtmlWidgetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9146 | PyObject *resultobj = 0; | |
9147 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9148 | int arg2 = (int) 0 ; | |
9149 | wxHtmlWidgetCell *result = 0 ; | |
9150 | void *argp1 = 0 ; | |
9151 | int res1 = 0 ; | |
9152 | int val2 ; | |
9153 | int ecode2 = 0 ; | |
9154 | PyObject * obj0 = 0 ; | |
9155 | PyObject * obj1 = 0 ; | |
9156 | char * kwnames[] = { | |
9157 | (char *) "wnd",(char *) "w", NULL | |
9158 | }; | |
9159 | ||
9160 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) SWIG_fail; | |
9161 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9162 | if (!SWIG_IsOK(res1)) { | |
9163 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWidgetCell" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9164 | } | |
9165 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9166 | if (obj1) { | |
9167 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9168 | if (!SWIG_IsOK(ecode2)) { | |
9169 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWidgetCell" "', expected argument " "2"" of type '" "int""'"); | |
9170 | } | |
9171 | arg2 = static_cast< int >(val2); | |
9172 | } | |
9173 | { | |
9174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9175 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
9176 | wxPyEndAllowThreads(__tstate); | |
9177 | if (PyErr_Occurred()) SWIG_fail; | |
9178 | } | |
9179 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWidgetCell, SWIG_POINTER_NEW | 0 ); | |
9180 | return resultobj; | |
9181 | fail: | |
9182 | return NULL; | |
d14a1e28 RD |
9183 | } |
9184 | ||
9185 | ||
0085ce49 RD |
9186 | SWIGINTERN PyObject *HtmlWidgetCell_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9187 | PyObject *obj; | |
9188 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9189 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWidgetCell, SWIG_NewClientData(obj)); | |
9190 | return SWIG_Py_Void(); | |
d14a1e28 RD |
9191 | } |
9192 | ||
0085ce49 RD |
9193 | SWIGINTERN PyObject *HtmlWidgetCell_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9194 | return SWIG_Python_InitShadowInstance(args); | |
9195 | } | |
d14a1e28 | 9196 | |
0085ce49 RD |
9197 | SWIGINTERN PyObject *_wrap_new_HtmlFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9198 | PyObject *resultobj = 0; | |
9199 | wxPyHtmlFilter *result = 0 ; | |
9200 | ||
9201 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlFilter",0,0,0)) SWIG_fail; | |
9202 | { | |
9203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9204 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
9205 | wxPyEndAllowThreads(__tstate); | |
9206 | if (PyErr_Occurred()) SWIG_fail; | |
9207 | } | |
9208 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlFilter, SWIG_POINTER_NEW | 0 ); | |
9209 | return resultobj; | |
9210 | fail: | |
9211 | return NULL; | |
9212 | } | |
9213 | ||
9214 | ||
9215 | SWIGINTERN PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9216 | PyObject *resultobj = 0; | |
9217 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
9218 | PyObject *arg2 = (PyObject *) 0 ; | |
9219 | PyObject *arg3 = (PyObject *) 0 ; | |
9220 | void *argp1 = 0 ; | |
9221 | int res1 = 0 ; | |
9222 | PyObject * obj0 = 0 ; | |
9223 | PyObject * obj1 = 0 ; | |
9224 | PyObject * obj2 = 0 ; | |
9225 | char * kwnames[] = { | |
9226 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9227 | }; | |
9228 | ||
9229 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9230 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
9231 | if (!SWIG_IsOK(res1)) { | |
9232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlFilter__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
9233 | } | |
9234 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
9235 | arg2 = obj1; | |
9236 | arg3 = obj2; | |
9237 | { | |
9238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9239 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9240 | wxPyEndAllowThreads(__tstate); | |
9241 | if (PyErr_Occurred()) SWIG_fail; | |
9242 | } | |
9243 | resultobj = SWIG_Py_Void(); | |
9244 | return resultobj; | |
9245 | fail: | |
9246 | return NULL; | |
9247 | } | |
9248 | ||
9249 | ||
9250 | SWIGINTERN PyObject *HtmlFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9251 | PyObject *obj; | |
9252 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9253 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlFilter, SWIG_NewClientData(obj)); | |
9254 | return SWIG_Py_Void(); | |
9255 | } | |
9256 | ||
9257 | SWIGINTERN PyObject *HtmlFilter_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9258 | return SWIG_Python_InitShadowInstance(args); | |
9259 | } | |
9260 | ||
e9d6f3a4 RD |
9261 | SWIGINTERN PyObject *_wrap_delete_HtmlWindowInterface(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9262 | PyObject *resultobj = 0; | |
9263 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9264 | void *argp1 = 0 ; | |
9265 | int res1 = 0 ; | |
9266 | PyObject *swig_obj[1] ; | |
9267 | ||
9268 | if (!args) SWIG_fail; | |
9269 | swig_obj[0] = args; | |
9270 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, SWIG_POINTER_DISOWN | 0 ); | |
9271 | if (!SWIG_IsOK(res1)) { | |
9272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlWindowInterface" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9273 | } | |
9274 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9275 | { | |
9276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9277 | delete arg1; | |
9278 | ||
9279 | wxPyEndAllowThreads(__tstate); | |
9280 | if (PyErr_Occurred()) SWIG_fail; | |
9281 | } | |
9282 | resultobj = SWIG_Py_Void(); | |
9283 | return resultobj; | |
9284 | fail: | |
9285 | return NULL; | |
9286 | } | |
9287 | ||
9288 | ||
9289 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLWindowTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9290 | PyObject *resultobj = 0; | |
9291 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9292 | wxString *arg2 = 0 ; | |
9293 | void *argp1 = 0 ; | |
9294 | int res1 = 0 ; | |
9295 | bool temp2 = false ; | |
9296 | PyObject * obj0 = 0 ; | |
9297 | PyObject * obj1 = 0 ; | |
9298 | char * kwnames[] = { | |
9299 | (char *) "self",(char *) "title", NULL | |
9300 | }; | |
9301 | ||
9302 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLWindowTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
9303 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9304 | if (!SWIG_IsOK(res1)) { | |
9305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLWindowTitle" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9306 | } | |
9307 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9308 | { | |
9309 | arg2 = wxString_in_helper(obj1); | |
9310 | if (arg2 == NULL) SWIG_fail; | |
9311 | temp2 = true; | |
9312 | } | |
9313 | { | |
9314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9315 | (arg1)->SetHTMLWindowTitle((wxString const &)*arg2); | |
9316 | wxPyEndAllowThreads(__tstate); | |
9317 | if (PyErr_Occurred()) SWIG_fail; | |
9318 | } | |
9319 | resultobj = SWIG_Py_Void(); | |
9320 | { | |
9321 | if (temp2) | |
9322 | delete arg2; | |
9323 | } | |
9324 | return resultobj; | |
9325 | fail: | |
9326 | { | |
9327 | if (temp2) | |
9328 | delete arg2; | |
9329 | } | |
9330 | return NULL; | |
9331 | } | |
9332 | ||
9333 | ||
9334 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_HTMLCoordsToWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9335 | PyObject *resultobj = 0; | |
9336 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9337 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
9338 | wxPoint *arg3 = 0 ; | |
9339 | wxPoint result; | |
9340 | void *argp1 = 0 ; | |
9341 | int res1 = 0 ; | |
9342 | void *argp2 = 0 ; | |
9343 | int res2 = 0 ; | |
9344 | wxPoint temp3 ; | |
9345 | PyObject * obj0 = 0 ; | |
9346 | PyObject * obj1 = 0 ; | |
9347 | PyObject * obj2 = 0 ; | |
9348 | char * kwnames[] = { | |
9349 | (char *) "self",(char *) "cell",(char *) "pos", NULL | |
9350 | }; | |
9351 | ||
9352 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindowInterface_HTMLCoordsToWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9353 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9354 | if (!SWIG_IsOK(res1)) { | |
9355 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9356 | } | |
9357 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9358 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
9359 | if (!SWIG_IsOK(res2)) { | |
9360 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_HTMLCoordsToWindow" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
9361 | } | |
9362 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
9363 | { | |
9364 | arg3 = &temp3; | |
9365 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9366 | } | |
9367 | { | |
9368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9369 | result = ((wxHtmlWindowInterface const *)arg1)->HTMLCoordsToWindow(arg2,(wxPoint const &)*arg3); | |
9370 | wxPyEndAllowThreads(__tstate); | |
9371 | if (PyErr_Occurred()) SWIG_fail; | |
9372 | } | |
9373 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
9374 | return resultobj; | |
9375 | fail: | |
9376 | return NULL; | |
9377 | } | |
9378 | ||
9379 | ||
9380 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9381 | PyObject *resultobj = 0; | |
9382 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9383 | wxWindow *result = 0 ; | |
9384 | void *argp1 = 0 ; | |
9385 | int res1 = 0 ; | |
9386 | PyObject *swig_obj[1] ; | |
9387 | ||
9388 | if (!args) SWIG_fail; | |
9389 | swig_obj[0] = args; | |
9390 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9391 | if (!SWIG_IsOK(res1)) { | |
9392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLWindow" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9393 | } | |
9394 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9395 | { | |
9396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9397 | result = (wxWindow *)(arg1)->GetHTMLWindow(); | |
9398 | wxPyEndAllowThreads(__tstate); | |
9399 | if (PyErr_Occurred()) SWIG_fail; | |
9400 | } | |
9401 | { | |
9402 | resultobj = wxPyMake_wxObject(result, 0); | |
9403 | } | |
9404 | return resultobj; | |
9405 | fail: | |
9406 | return NULL; | |
9407 | } | |
9408 | ||
9409 | ||
9410 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_GetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9411 | PyObject *resultobj = 0; | |
9412 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9413 | wxColour result; | |
9414 | void *argp1 = 0 ; | |
9415 | int res1 = 0 ; | |
9416 | PyObject *swig_obj[1] ; | |
9417 | ||
9418 | if (!args) SWIG_fail; | |
9419 | swig_obj[0] = args; | |
9420 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9421 | if (!SWIG_IsOK(res1)) { | |
9422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_GetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface const *""'"); | |
9423 | } | |
9424 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9425 | { | |
9426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9427 | result = ((wxHtmlWindowInterface const *)arg1)->GetHTMLBackgroundColour(); | |
9428 | wxPyEndAllowThreads(__tstate); | |
9429 | if (PyErr_Occurred()) SWIG_fail; | |
9430 | } | |
9431 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
9432 | return resultobj; | |
9433 | fail: | |
9434 | return NULL; | |
9435 | } | |
9436 | ||
9437 | ||
9438 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9439 | PyObject *resultobj = 0; | |
9440 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9441 | wxColour *arg2 = 0 ; | |
9442 | void *argp1 = 0 ; | |
9443 | int res1 = 0 ; | |
9444 | wxColour temp2 ; | |
9445 | PyObject * obj0 = 0 ; | |
9446 | PyObject * obj1 = 0 ; | |
9447 | char * kwnames[] = { | |
9448 | (char *) "self",(char *) "clr", NULL | |
9449 | }; | |
9450 | ||
9451 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
9452 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9453 | if (!SWIG_IsOK(res1)) { | |
9454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundColour" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9455 | } | |
9456 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9457 | { | |
9458 | arg2 = &temp2; | |
9459 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9460 | } | |
9461 | { | |
9462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9463 | (arg1)->SetHTMLBackgroundColour((wxColour const &)*arg2); | |
9464 | wxPyEndAllowThreads(__tstate); | |
9465 | if (PyErr_Occurred()) SWIG_fail; | |
9466 | } | |
9467 | resultobj = SWIG_Py_Void(); | |
9468 | return resultobj; | |
9469 | fail: | |
9470 | return NULL; | |
9471 | } | |
9472 | ||
9473 | ||
9474 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9475 | PyObject *resultobj = 0; | |
9476 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9477 | wxBitmap *arg2 = 0 ; | |
9478 | void *argp1 = 0 ; | |
9479 | int res1 = 0 ; | |
9480 | void *argp2 = 0 ; | |
9481 | int res2 = 0 ; | |
9482 | PyObject * obj0 = 0 ; | |
9483 | PyObject * obj1 = 0 ; | |
9484 | char * kwnames[] = { | |
9485 | (char *) "self",(char *) "bmpBg", NULL | |
9486 | }; | |
9487 | ||
9488 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9489 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9490 | if (!SWIG_IsOK(res1)) { | |
9491 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9492 | } | |
9493 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9494 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
9495 | if (!SWIG_IsOK(res2)) { | |
9496 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9497 | } | |
9498 | if (!argp2) { | |
9499 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindowInterface_SetHTMLBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
9500 | } | |
9501 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
9502 | { | |
9503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9504 | (arg1)->SetHTMLBackgroundImage((wxBitmap const &)*arg2); | |
9505 | wxPyEndAllowThreads(__tstate); | |
9506 | if (PyErr_Occurred()) SWIG_fail; | |
9507 | } | |
9508 | resultobj = SWIG_Py_Void(); | |
9509 | return resultobj; | |
9510 | fail: | |
9511 | return NULL; | |
9512 | } | |
9513 | ||
9514 | ||
9515 | SWIGINTERN PyObject *_wrap_HtmlWindowInterface_SetHTMLStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9516 | PyObject *resultobj = 0; | |
9517 | wxHtmlWindowInterface *arg1 = (wxHtmlWindowInterface *) 0 ; | |
9518 | wxString *arg2 = 0 ; | |
9519 | void *argp1 = 0 ; | |
9520 | int res1 = 0 ; | |
9521 | bool temp2 = false ; | |
9522 | PyObject * obj0 = 0 ; | |
9523 | PyObject * obj1 = 0 ; | |
9524 | char * kwnames[] = { | |
9525 | (char *) "self",(char *) "text", NULL | |
9526 | }; | |
9527 | ||
9528 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowInterface_SetHTMLStatusText",kwnames,&obj0,&obj1)) SWIG_fail; | |
9529 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlWindowInterface, 0 | 0 ); | |
9530 | if (!SWIG_IsOK(res1)) { | |
9531 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindowInterface_SetHTMLStatusText" "', expected argument " "1"" of type '" "wxHtmlWindowInterface *""'"); | |
9532 | } | |
9533 | arg1 = reinterpret_cast< wxHtmlWindowInterface * >(argp1); | |
9534 | { | |
9535 | arg2 = wxString_in_helper(obj1); | |
9536 | if (arg2 == NULL) SWIG_fail; | |
9537 | temp2 = true; | |
9538 | } | |
9539 | { | |
9540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9541 | (arg1)->SetHTMLStatusText((wxString const &)*arg2); | |
9542 | wxPyEndAllowThreads(__tstate); | |
9543 | if (PyErr_Occurred()) SWIG_fail; | |
9544 | } | |
9545 | resultobj = SWIG_Py_Void(); | |
9546 | { | |
9547 | if (temp2) | |
9548 | delete arg2; | |
9549 | } | |
9550 | return resultobj; | |
9551 | fail: | |
9552 | { | |
9553 | if (temp2) | |
9554 | delete arg2; | |
9555 | } | |
9556 | return NULL; | |
9557 | } | |
9558 | ||
9559 | ||
9560 | SWIGINTERN PyObject *HtmlWindowInterface_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9561 | PyObject *obj; | |
9562 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9563 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlWindowInterface, SWIG_NewClientData(obj)); | |
9564 | return SWIG_Py_Void(); | |
9565 | } | |
9566 | ||
0085ce49 RD |
9567 | SWIGINTERN PyObject *_wrap_new_HtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9568 | PyObject *resultobj = 0; | |
9569 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9570 | int arg2 = (int) -1 ; | |
9571 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
9572 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9573 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9574 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9575 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
9576 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
9577 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9578 | wxPyHtmlWindow *result = 0 ; | |
9579 | void *argp1 = 0 ; | |
9580 | int res1 = 0 ; | |
9581 | int val2 ; | |
9582 | int ecode2 = 0 ; | |
9583 | wxPoint temp3 ; | |
9584 | wxSize temp4 ; | |
9585 | int val5 ; | |
9586 | int ecode5 = 0 ; | |
9587 | bool temp6 = false ; | |
9588 | PyObject * obj0 = 0 ; | |
9589 | PyObject * obj1 = 0 ; | |
9590 | PyObject * obj2 = 0 ; | |
9591 | PyObject * obj3 = 0 ; | |
9592 | PyObject * obj4 = 0 ; | |
9593 | PyObject * obj5 = 0 ; | |
9594 | char * kwnames[] = { | |
9595 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9596 | }; | |
9597 | ||
9598 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9599 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9600 | if (!SWIG_IsOK(res1)) { | |
9601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
9602 | } | |
9603 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
9604 | if (obj1) { | |
9605 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9606 | if (!SWIG_IsOK(ecode2)) { | |
9607 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlWindow" "', expected argument " "2"" of type '" "int""'"); | |
9608 | } | |
9609 | arg2 = static_cast< int >(val2); | |
9610 | } | |
9611 | if (obj2) { | |
d14a1e28 | 9612 | { |
0085ce49 RD |
9613 | arg3 = &temp3; |
9614 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 9615 | } |
0085ce49 RD |
9616 | } |
9617 | if (obj3) { | |
d14a1e28 | 9618 | { |
0085ce49 RD |
9619 | arg4 = &temp4; |
9620 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9621 | } |
0085ce49 RD |
9622 | } |
9623 | if (obj4) { | |
9624 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9625 | if (!SWIG_IsOK(ecode5)) { | |
9626 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlWindow" "', expected argument " "5"" of type '" "int""'"); | |
9627 | } | |
9628 | arg5 = static_cast< int >(val5); | |
9629 | } | |
9630 | if (obj5) { | |
b1fcee84 | 9631 | { |
0085ce49 RD |
9632 | arg6 = wxString_in_helper(obj5); |
9633 | if (arg6 == NULL) SWIG_fail; | |
9634 | temp6 = true; | |
b1fcee84 | 9635 | } |
0085ce49 RD |
9636 | } |
9637 | { | |
9638 | if (!wxPyCheckForApp()) SWIG_fail; | |
9639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9640 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9641 | wxPyEndAllowThreads(__tstate); | |
9642 | if (PyErr_Occurred()) SWIG_fail; | |
9643 | } | |
9644 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_NEW | 0 ); | |
9645 | { | |
9646 | if (temp6) | |
9647 | delete arg6; | |
9648 | } | |
9649 | return resultobj; | |
9650 | fail: | |
9651 | { | |
9652 | if (temp6) | |
9653 | delete arg6; | |
9654 | } | |
9655 | return NULL; | |
d14a1e28 RD |
9656 | } |
9657 | ||
9658 | ||
0085ce49 RD |
9659 | SWIGINTERN PyObject *_wrap_new_PreHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9660 | PyObject *resultobj = 0; | |
9661 | wxPyHtmlWindow *result = 0 ; | |
9662 | ||
9663 | if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlWindow",0,0,0)) SWIG_fail; | |
9664 | { | |
9665 | if (!wxPyCheckForApp()) SWIG_fail; | |
9666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9667 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
9668 | wxPyEndAllowThreads(__tstate); | |
9669 | if (PyErr_Occurred()) SWIG_fail; | |
9670 | } | |
9671 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_OWN | 0 ); | |
9672 | return resultobj; | |
9673 | fail: | |
9674 | return NULL; | |
9675 | } | |
9676 | ||
9677 | ||
9678 | SWIGINTERN PyObject *_wrap_HtmlWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9679 | PyObject *resultobj = 0; | |
9680 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9681 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9682 | int arg3 = (int) -1 ; | |
9683 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
9684 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9685 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9686 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9687 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
9688 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
9689 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9690 | bool result; | |
9691 | void *argp1 = 0 ; | |
9692 | int res1 = 0 ; | |
9693 | void *argp2 = 0 ; | |
9694 | int res2 = 0 ; | |
9695 | int val3 ; | |
9696 | int ecode3 = 0 ; | |
9697 | wxPoint temp4 ; | |
9698 | wxSize temp5 ; | |
9699 | int val6 ; | |
9700 | int ecode6 = 0 ; | |
9701 | bool temp7 = false ; | |
9702 | PyObject * obj0 = 0 ; | |
9703 | PyObject * obj1 = 0 ; | |
9704 | PyObject * obj2 = 0 ; | |
9705 | PyObject * obj3 = 0 ; | |
9706 | PyObject * obj4 = 0 ; | |
9707 | PyObject * obj5 = 0 ; | |
9708 | PyObject * obj6 = 0 ; | |
9709 | char * kwnames[] = { | |
9710 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9711 | }; | |
9712 | ||
9713 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9714 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9715 | if (!SWIG_IsOK(res1)) { | |
9716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_Create" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9717 | } | |
9718 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9719 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
9720 | if (!SWIG_IsOK(res2)) { | |
9721 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
9722 | } | |
9723 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
9724 | if (obj2) { | |
9725 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9726 | if (!SWIG_IsOK(ecode3)) { | |
9727 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
9728 | } | |
9729 | arg3 = static_cast< int >(val3); | |
9730 | } | |
9731 | if (obj3) { | |
d14a1e28 | 9732 | { |
0085ce49 RD |
9733 | arg4 = &temp4; |
9734 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 9735 | } |
0085ce49 RD |
9736 | } |
9737 | if (obj4) { | |
d14a1e28 | 9738 | { |
0085ce49 RD |
9739 | arg5 = &temp5; |
9740 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 9741 | } |
0085ce49 RD |
9742 | } |
9743 | if (obj5) { | |
9744 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9745 | if (!SWIG_IsOK(ecode6)) { | |
9746 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
9747 | } | |
9748 | arg6 = static_cast< int >(val6); | |
9749 | } | |
9750 | if (obj6) { | |
4f89f6a3 | 9751 | { |
0085ce49 RD |
9752 | arg7 = wxString_in_helper(obj6); |
9753 | if (arg7 == NULL) SWIG_fail; | |
9754 | temp7 = true; | |
4f89f6a3 | 9755 | } |
0085ce49 RD |
9756 | } |
9757 | { | |
9758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9759 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9760 | wxPyEndAllowThreads(__tstate); | |
9761 | if (PyErr_Occurred()) SWIG_fail; | |
9762 | } | |
9763 | { | |
9764 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9765 | } | |
9766 | { | |
9767 | if (temp7) | |
9768 | delete arg7; | |
9769 | } | |
9770 | return resultobj; | |
9771 | fail: | |
9772 | { | |
9773 | if (temp7) | |
9774 | delete arg7; | |
9775 | } | |
9776 | return NULL; | |
9777 | } | |
9778 | ||
9779 | ||
9780 | SWIGINTERN PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9781 | PyObject *resultobj = 0; | |
9782 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9783 | PyObject *arg2 = (PyObject *) 0 ; | |
9784 | PyObject *arg3 = (PyObject *) 0 ; | |
9785 | void *argp1 = 0 ; | |
9786 | int res1 = 0 ; | |
9787 | PyObject * obj0 = 0 ; | |
9788 | PyObject * obj1 = 0 ; | |
9789 | PyObject * obj2 = 0 ; | |
9790 | char * kwnames[] = { | |
9791 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9792 | }; | |
9793 | ||
9794 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9795 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9796 | if (!SWIG_IsOK(res1)) { | |
9797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9798 | } | |
9799 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9800 | arg2 = obj1; | |
9801 | arg3 = obj2; | |
9802 | { | |
9803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9804 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9805 | wxPyEndAllowThreads(__tstate); | |
9806 | if (PyErr_Occurred()) SWIG_fail; | |
9807 | } | |
9808 | resultobj = SWIG_Py_Void(); | |
9809 | return resultobj; | |
9810 | fail: | |
9811 | return NULL; | |
9812 | } | |
9813 | ||
9814 | ||
9815 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9816 | PyObject *resultobj = 0; | |
9817 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9818 | wxString *arg2 = 0 ; | |
9819 | bool result; | |
9820 | void *argp1 = 0 ; | |
9821 | int res1 = 0 ; | |
9822 | bool temp2 = false ; | |
9823 | PyObject * obj0 = 0 ; | |
9824 | PyObject * obj1 = 0 ; | |
9825 | char * kwnames[] = { | |
9826 | (char *) "self",(char *) "source", NULL | |
9827 | }; | |
9828 | ||
9829 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9830 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9831 | if (!SWIG_IsOK(res1)) { | |
9832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9833 | } | |
9834 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9835 | { | |
9836 | arg2 = wxString_in_helper(obj1); | |
9837 | if (arg2 == NULL) SWIG_fail; | |
9838 | temp2 = true; | |
9839 | } | |
9840 | { | |
9841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9842 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
9843 | wxPyEndAllowThreads(__tstate); | |
9844 | if (PyErr_Occurred()) SWIG_fail; | |
9845 | } | |
9846 | { | |
9847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9848 | } | |
9849 | { | |
9850 | if (temp2) | |
9851 | delete arg2; | |
9852 | } | |
9853 | return resultobj; | |
9854 | fail: | |
9855 | { | |
9856 | if (temp2) | |
9857 | delete arg2; | |
9858 | } | |
9859 | return NULL; | |
9860 | } | |
9861 | ||
9862 | ||
9863 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9864 | PyObject *resultobj = 0; | |
9865 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9866 | wxString *arg2 = 0 ; | |
9867 | bool result; | |
9868 | void *argp1 = 0 ; | |
9869 | int res1 = 0 ; | |
9870 | bool temp2 = false ; | |
9871 | PyObject * obj0 = 0 ; | |
9872 | PyObject * obj1 = 0 ; | |
9873 | char * kwnames[] = { | |
9874 | (char *) "self",(char *) "location", NULL | |
9875 | }; | |
9876 | ||
9877 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9878 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9879 | if (!SWIG_IsOK(res1)) { | |
9880 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9881 | } | |
9882 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9883 | { | |
9884 | arg2 = wxString_in_helper(obj1); | |
9885 | if (arg2 == NULL) SWIG_fail; | |
9886 | temp2 = true; | |
9887 | } | |
9888 | { | |
9889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9890 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
9891 | wxPyEndAllowThreads(__tstate); | |
9892 | if (PyErr_Occurred()) SWIG_fail; | |
9893 | } | |
9894 | { | |
9895 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9896 | } | |
9897 | { | |
9898 | if (temp2) | |
9899 | delete arg2; | |
9900 | } | |
9901 | return resultobj; | |
9902 | fail: | |
9903 | { | |
9904 | if (temp2) | |
9905 | delete arg2; | |
9906 | } | |
9907 | return NULL; | |
9908 | } | |
9909 | ||
9910 | ||
9911 | SWIGINTERN PyObject *_wrap_HtmlWindow_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9912 | PyObject *resultobj = 0; | |
9913 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9914 | wxString *arg2 = 0 ; | |
9915 | bool result; | |
9916 | void *argp1 = 0 ; | |
9917 | int res1 = 0 ; | |
9918 | bool temp2 = false ; | |
9919 | PyObject * obj0 = 0 ; | |
9920 | PyObject * obj1 = 0 ; | |
9921 | char * kwnames[] = { | |
9922 | (char *) "self",(char *) "filename", NULL | |
9923 | }; | |
9924 | ||
9925 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
9926 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9927 | if (!SWIG_IsOK(res1)) { | |
9928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_LoadFile" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9929 | } | |
9930 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9931 | { | |
9932 | arg2 = wxString_in_helper(obj1); | |
9933 | if (arg2 == NULL) SWIG_fail; | |
9934 | temp2 = true; | |
9935 | } | |
9936 | { | |
9937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9938 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
9939 | wxPyEndAllowThreads(__tstate); | |
9940 | if (PyErr_Occurred()) SWIG_fail; | |
9941 | } | |
9942 | { | |
9943 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9944 | } | |
9945 | { | |
9946 | if (temp2) | |
9947 | delete arg2; | |
9948 | } | |
9949 | return resultobj; | |
9950 | fail: | |
9951 | { | |
9952 | if (temp2) | |
9953 | delete arg2; | |
9954 | } | |
9955 | return NULL; | |
9956 | } | |
9957 | ||
9958 | ||
9959 | SWIGINTERN PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9960 | PyObject *resultobj = 0; | |
9961 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
9962 | wxString *arg2 = 0 ; | |
9963 | bool result; | |
9964 | void *argp1 = 0 ; | |
9965 | int res1 = 0 ; | |
9966 | bool temp2 = false ; | |
9967 | PyObject * obj0 = 0 ; | |
9968 | PyObject * obj1 = 0 ; | |
9969 | char * kwnames[] = { | |
9970 | (char *) "self",(char *) "source", NULL | |
9971 | }; | |
9972 | ||
9973 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
9974 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
9975 | if (!SWIG_IsOK(res1)) { | |
9976 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AppendToPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
9977 | } | |
9978 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
9979 | { | |
9980 | arg2 = wxString_in_helper(obj1); | |
9981 | if (arg2 == NULL) SWIG_fail; | |
9982 | temp2 = true; | |
9983 | } | |
9984 | { | |
9985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9986 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
9987 | wxPyEndAllowThreads(__tstate); | |
9988 | if (PyErr_Occurred()) SWIG_fail; | |
9989 | } | |
9990 | { | |
9991 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9992 | } | |
9993 | { | |
9994 | if (temp2) | |
9995 | delete arg2; | |
9996 | } | |
9997 | return resultobj; | |
9998 | fail: | |
9999 | { | |
10000 | if (temp2) | |
10001 | delete arg2; | |
10002 | } | |
10003 | return NULL; | |
d14a1e28 RD |
10004 | } |
10005 | ||
10006 | ||
0085ce49 RD |
10007 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10008 | PyObject *resultobj = 0; | |
10009 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10010 | wxString result; | |
10011 | void *argp1 = 0 ; | |
10012 | int res1 = 0 ; | |
10013 | PyObject *swig_obj[1] ; | |
10014 | ||
10015 | if (!args) SWIG_fail; | |
10016 | swig_obj[0] = args; | |
10017 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10018 | if (!SWIG_IsOK(res1)) { | |
10019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10020 | } | |
10021 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10022 | { | |
10023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10024 | result = (arg1)->GetOpenedPage(); | |
10025 | wxPyEndAllowThreads(__tstate); | |
10026 | if (PyErr_Occurred()) SWIG_fail; | |
10027 | } | |
10028 | { | |
10029 | #if wxUSE_UNICODE | |
10030 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10031 | #else | |
10032 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10033 | #endif | |
10034 | } | |
10035 | return resultobj; | |
10036 | fail: | |
10037 | return NULL; | |
d14a1e28 RD |
10038 | } |
10039 | ||
10040 | ||
0085ce49 RD |
10041 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10042 | PyObject *resultobj = 0; | |
10043 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10044 | wxString result; | |
10045 | void *argp1 = 0 ; | |
10046 | int res1 = 0 ; | |
10047 | PyObject *swig_obj[1] ; | |
10048 | ||
10049 | if (!args) SWIG_fail; | |
10050 | swig_obj[0] = args; | |
10051 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10052 | if (!SWIG_IsOK(res1)) { | |
10053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10054 | } | |
10055 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10056 | { | |
10057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10058 | result = (arg1)->GetOpenedAnchor(); | |
10059 | wxPyEndAllowThreads(__tstate); | |
10060 | if (PyErr_Occurred()) SWIG_fail; | |
10061 | } | |
10062 | { | |
10063 | #if wxUSE_UNICODE | |
10064 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10065 | #else | |
10066 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10067 | #endif | |
10068 | } | |
10069 | return resultobj; | |
10070 | fail: | |
10071 | return NULL; | |
d14a1e28 RD |
10072 | } |
10073 | ||
10074 | ||
0085ce49 RD |
10075 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10076 | PyObject *resultobj = 0; | |
10077 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10078 | wxString result; | |
10079 | void *argp1 = 0 ; | |
10080 | int res1 = 0 ; | |
10081 | PyObject *swig_obj[1] ; | |
10082 | ||
10083 | if (!args) SWIG_fail; | |
10084 | swig_obj[0] = args; | |
10085 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10086 | if (!SWIG_IsOK(res1)) { | |
10087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetOpenedPageTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10088 | } | |
10089 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10090 | { | |
10091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10092 | result = (arg1)->GetOpenedPageTitle(); | |
10093 | wxPyEndAllowThreads(__tstate); | |
10094 | if (PyErr_Occurred()) SWIG_fail; | |
10095 | } | |
10096 | { | |
10097 | #if wxUSE_UNICODE | |
10098 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10099 | #else | |
10100 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10101 | #endif | |
10102 | } | |
10103 | return resultobj; | |
10104 | fail: | |
10105 | return NULL; | |
10106 | } | |
10107 | ||
10108 | ||
10109 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10110 | PyObject *resultobj = 0; | |
10111 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10112 | wxFrame *arg2 = (wxFrame *) 0 ; | |
10113 | wxString *arg3 = 0 ; | |
10114 | void *argp1 = 0 ; | |
10115 | int res1 = 0 ; | |
10116 | void *argp2 = 0 ; | |
10117 | int res2 = 0 ; | |
10118 | bool temp3 = false ; | |
10119 | PyObject * obj0 = 0 ; | |
10120 | PyObject * obj1 = 0 ; | |
10121 | PyObject * obj2 = 0 ; | |
10122 | char * kwnames[] = { | |
10123 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
10124 | }; | |
10125 | ||
10126 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10128 | if (!SWIG_IsOK(res1)) { | |
10129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10130 | } | |
10131 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10132 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 ); | |
10133 | if (!SWIG_IsOK(res2)) { | |
10134 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetRelatedFrame" "', expected argument " "2"" of type '" "wxFrame *""'"); | |
10135 | } | |
10136 | arg2 = reinterpret_cast< wxFrame * >(argp2); | |
10137 | { | |
10138 | arg3 = wxString_in_helper(obj2); | |
10139 | if (arg3 == NULL) SWIG_fail; | |
10140 | temp3 = true; | |
10141 | } | |
10142 | { | |
10143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10144 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
10145 | wxPyEndAllowThreads(__tstate); | |
10146 | if (PyErr_Occurred()) SWIG_fail; | |
10147 | } | |
10148 | resultobj = SWIG_Py_Void(); | |
10149 | { | |
10150 | if (temp3) | |
10151 | delete arg3; | |
10152 | } | |
10153 | return resultobj; | |
10154 | fail: | |
10155 | { | |
10156 | if (temp3) | |
10157 | delete arg3; | |
10158 | } | |
10159 | return NULL; | |
d14a1e28 RD |
10160 | } |
10161 | ||
10162 | ||
0085ce49 RD |
10163 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10164 | PyObject *resultobj = 0; | |
10165 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10166 | wxFrame *result = 0 ; | |
10167 | void *argp1 = 0 ; | |
10168 | int res1 = 0 ; | |
10169 | PyObject *swig_obj[1] ; | |
10170 | ||
10171 | if (!args) SWIG_fail; | |
10172 | swig_obj[0] = args; | |
10173 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10174 | if (!SWIG_IsOK(res1)) { | |
10175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetRelatedFrame" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10176 | } | |
10177 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10178 | { | |
10179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10180 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
10181 | wxPyEndAllowThreads(__tstate); | |
10182 | if (PyErr_Occurred()) SWIG_fail; | |
10183 | } | |
10184 | { | |
10185 | resultobj = wxPyMake_wxObject(result, 0); | |
10186 | } | |
10187 | return resultobj; | |
10188 | fail: | |
10189 | return NULL; | |
10190 | } | |
10191 | ||
10192 | ||
10193 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10194 | PyObject *resultobj = 0; | |
10195 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10196 | int arg2 ; | |
10197 | void *argp1 = 0 ; | |
10198 | int res1 = 0 ; | |
10199 | int val2 ; | |
10200 | int ecode2 = 0 ; | |
10201 | PyObject * obj0 = 0 ; | |
10202 | PyObject * obj1 = 0 ; | |
10203 | char * kwnames[] = { | |
10204 | (char *) "self",(char *) "bar", NULL | |
10205 | }; | |
10206 | ||
10207 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
10208 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10209 | if (!SWIG_IsOK(res1)) { | |
10210 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10211 | } | |
10212 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10213 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10214 | if (!SWIG_IsOK(ecode2)) { | |
10215 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetRelatedStatusBar" "', expected argument " "2"" of type '" "int""'"); | |
10216 | } | |
10217 | arg2 = static_cast< int >(val2); | |
10218 | { | |
10219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10220 | (arg1)->SetRelatedStatusBar(arg2); | |
10221 | wxPyEndAllowThreads(__tstate); | |
10222 | if (PyErr_Occurred()) SWIG_fail; | |
10223 | } | |
10224 | resultobj = SWIG_Py_Void(); | |
10225 | return resultobj; | |
10226 | fail: | |
10227 | return NULL; | |
10228 | } | |
10229 | ||
10230 | ||
10231 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10232 | PyObject *resultobj = 0; | |
10233 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10234 | wxString arg2 ; | |
10235 | wxString arg3 ; | |
10236 | PyObject *arg4 = (PyObject *) NULL ; | |
10237 | void *argp1 = 0 ; | |
10238 | int res1 = 0 ; | |
10239 | PyObject * obj0 = 0 ; | |
10240 | PyObject * obj1 = 0 ; | |
10241 | PyObject * obj2 = 0 ; | |
10242 | PyObject * obj3 = 0 ; | |
10243 | char * kwnames[] = { | |
10244 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
10245 | }; | |
10246 | ||
10247 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10248 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10249 | if (!SWIG_IsOK(res1)) { | |
10250 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10251 | } | |
10252 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10253 | { | |
10254 | wxString* sptr = wxString_in_helper(obj1); | |
10255 | if (sptr == NULL) SWIG_fail; | |
10256 | arg2 = *sptr; | |
10257 | delete sptr; | |
10258 | } | |
10259 | { | |
10260 | wxString* sptr = wxString_in_helper(obj2); | |
10261 | if (sptr == NULL) SWIG_fail; | |
10262 | arg3 = *sptr; | |
10263 | delete sptr; | |
10264 | } | |
10265 | if (obj3) { | |
10266 | arg4 = obj3; | |
10267 | } | |
10268 | { | |
10269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10270 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
10271 | wxPyEndAllowThreads(__tstate); | |
10272 | if (PyErr_Occurred()) SWIG_fail; | |
10273 | } | |
10274 | resultobj = SWIG_Py_Void(); | |
10275 | return resultobj; | |
10276 | fail: | |
10277 | return NULL; | |
10278 | } | |
10279 | ||
10280 | ||
10281 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10282 | PyObject *resultobj = 0; | |
10283 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10284 | int arg2 = (int) -1 ; | |
10285 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10286 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10287 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10288 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10289 | void *argp1 = 0 ; | |
10290 | int res1 = 0 ; | |
10291 | int val2 ; | |
10292 | int ecode2 = 0 ; | |
10293 | bool temp3 = false ; | |
10294 | bool temp4 = false ; | |
10295 | PyObject * obj0 = 0 ; | |
10296 | PyObject * obj1 = 0 ; | |
10297 | PyObject * obj2 = 0 ; | |
10298 | PyObject * obj3 = 0 ; | |
10299 | char * kwnames[] = { | |
10300 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
10301 | }; | |
10302 | ||
10303 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10304 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10305 | if (!SWIG_IsOK(res1)) { | |
10306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10307 | } | |
10308 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10309 | if (obj1) { | |
10310 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10311 | if (!SWIG_IsOK(ecode2)) { | |
10312 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
10313 | } | |
10314 | arg2 = static_cast< int >(val2); | |
10315 | } | |
10316 | if (obj2) { | |
093d3ff1 | 10317 | { |
0085ce49 RD |
10318 | arg3 = wxString_in_helper(obj2); |
10319 | if (arg3 == NULL) SWIG_fail; | |
10320 | temp3 = true; | |
093d3ff1 | 10321 | } |
0085ce49 RD |
10322 | } |
10323 | if (obj3) { | |
d14a1e28 | 10324 | { |
0085ce49 RD |
10325 | arg4 = wxString_in_helper(obj3); |
10326 | if (arg4 == NULL) SWIG_fail; | |
10327 | temp4 = true; | |
093d3ff1 | 10328 | } |
0085ce49 RD |
10329 | } |
10330 | { | |
10331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10332 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
10333 | wxPyEndAllowThreads(__tstate); | |
10334 | if (PyErr_Occurred()) SWIG_fail; | |
10335 | } | |
10336 | resultobj = SWIG_Py_Void(); | |
10337 | { | |
10338 | if (temp3) | |
10339 | delete arg3; | |
10340 | } | |
10341 | { | |
10342 | if (temp4) | |
10343 | delete arg4; | |
10344 | } | |
10345 | return resultobj; | |
10346 | fail: | |
10347 | { | |
10348 | if (temp3) | |
10349 | delete arg3; | |
10350 | } | |
10351 | { | |
10352 | if (temp4) | |
10353 | delete arg4; | |
10354 | } | |
10355 | return NULL; | |
10356 | } | |
10357 | ||
10358 | ||
10359 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBorders(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10360 | PyObject *resultobj = 0; | |
10361 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10362 | int arg2 ; | |
10363 | void *argp1 = 0 ; | |
10364 | int res1 = 0 ; | |
10365 | int val2 ; | |
10366 | int ecode2 = 0 ; | |
10367 | PyObject * obj0 = 0 ; | |
10368 | PyObject * obj1 = 0 ; | |
10369 | char * kwnames[] = { | |
10370 | (char *) "self",(char *) "b", NULL | |
10371 | }; | |
10372 | ||
10373 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) SWIG_fail; | |
10374 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10375 | if (!SWIG_IsOK(res1)) { | |
10376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBorders" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10377 | } | |
10378 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10379 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10380 | if (!SWIG_IsOK(ecode2)) { | |
10381 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_SetBorders" "', expected argument " "2"" of type '" "int""'"); | |
10382 | } | |
10383 | arg2 = static_cast< int >(val2); | |
10384 | { | |
10385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10386 | (arg1)->SetBorders(arg2); | |
10387 | wxPyEndAllowThreads(__tstate); | |
10388 | if (PyErr_Occurred()) SWIG_fail; | |
10389 | } | |
10390 | resultobj = SWIG_Py_Void(); | |
10391 | return resultobj; | |
10392 | fail: | |
10393 | return NULL; | |
10394 | } | |
10395 | ||
10396 | ||
10397 | SWIGINTERN PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10398 | PyObject *resultobj = 0; | |
10399 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10400 | wxBitmap *arg2 = 0 ; | |
10401 | void *argp1 = 0 ; | |
10402 | int res1 = 0 ; | |
10403 | void *argp2 = 0 ; | |
10404 | int res2 = 0 ; | |
10405 | PyObject * obj0 = 0 ; | |
10406 | PyObject * obj1 = 0 ; | |
10407 | char * kwnames[] = { | |
10408 | (char *) "self",(char *) "bmpBg", NULL | |
10409 | }; | |
10410 | ||
10411 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBackgroundImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
10412 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10413 | if (!SWIG_IsOK(res1)) { | |
10414 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10415 | } | |
10416 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10417 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
10418 | if (!SWIG_IsOK(res2)) { | |
10419 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10420 | } | |
10421 | if (!argp2) { | |
10422 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_SetBackgroundImage" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
10423 | } | |
10424 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
10425 | { | |
10426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10427 | (arg1)->SetBackgroundImage((wxBitmap const &)*arg2); | |
10428 | wxPyEndAllowThreads(__tstate); | |
10429 | if (PyErr_Occurred()) SWIG_fail; | |
10430 | } | |
10431 | resultobj = SWIG_Py_Void(); | |
10432 | return resultobj; | |
10433 | fail: | |
10434 | return NULL; | |
10435 | } | |
10436 | ||
10437 | ||
10438 | SWIGINTERN PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10439 | PyObject *resultobj = 0; | |
10440 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10441 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10442 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10443 | void *argp1 = 0 ; | |
10444 | int res1 = 0 ; | |
10445 | void *argp2 = 0 ; | |
10446 | int res2 = 0 ; | |
10447 | PyObject * obj0 = 0 ; | |
10448 | PyObject * obj1 = 0 ; | |
10449 | PyObject * obj2 = 0 ; | |
10450 | char * kwnames[] = { | |
10451 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10452 | }; | |
10453 | ||
10454 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10455 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10456 | if (!SWIG_IsOK(res1)) { | |
10457 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10458 | } | |
10459 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10460 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10461 | if (!SWIG_IsOK(res2)) { | |
10462 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10463 | } | |
10464 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10465 | if (obj2) { | |
093d3ff1 | 10466 | { |
0085ce49 RD |
10467 | wxString* sptr = wxString_in_helper(obj2); |
10468 | if (sptr == NULL) SWIG_fail; | |
10469 | arg3 = *sptr; | |
10470 | delete sptr; | |
d14a1e28 | 10471 | } |
0085ce49 RD |
10472 | } |
10473 | { | |
10474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10475 | (arg1)->ReadCustomization(arg2,arg3); | |
10476 | wxPyEndAllowThreads(__tstate); | |
10477 | if (PyErr_Occurred()) SWIG_fail; | |
10478 | } | |
10479 | resultobj = SWIG_Py_Void(); | |
10480 | return resultobj; | |
10481 | fail: | |
10482 | return NULL; | |
10483 | } | |
10484 | ||
10485 | ||
10486 | SWIGINTERN PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10487 | PyObject *resultobj = 0; | |
10488 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10489 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10490 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10491 | void *argp1 = 0 ; | |
10492 | int res1 = 0 ; | |
10493 | void *argp2 = 0 ; | |
10494 | int res2 = 0 ; | |
10495 | PyObject * obj0 = 0 ; | |
10496 | PyObject * obj1 = 0 ; | |
10497 | PyObject * obj2 = 0 ; | |
10498 | char * kwnames[] = { | |
10499 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10500 | }; | |
10501 | ||
10502 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10503 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10504 | if (!SWIG_IsOK(res1)) { | |
10505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10506 | } | |
10507 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10508 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
10509 | if (!SWIG_IsOK(res2)) { | |
10510 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
10511 | } | |
10512 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
10513 | if (obj2) { | |
d14a1e28 | 10514 | { |
0085ce49 RD |
10515 | wxString* sptr = wxString_in_helper(obj2); |
10516 | if (sptr == NULL) SWIG_fail; | |
10517 | arg3 = *sptr; | |
10518 | delete sptr; | |
d14a1e28 | 10519 | } |
0085ce49 RD |
10520 | } |
10521 | { | |
10522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10523 | (arg1)->WriteCustomization(arg2,arg3); | |
10524 | wxPyEndAllowThreads(__tstate); | |
10525 | if (PyErr_Occurred()) SWIG_fail; | |
10526 | } | |
10527 | resultobj = SWIG_Py_Void(); | |
10528 | return resultobj; | |
10529 | fail: | |
10530 | return NULL; | |
d14a1e28 RD |
10531 | } |
10532 | ||
10533 | ||
0085ce49 RD |
10534 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10535 | PyObject *resultobj = 0; | |
10536 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10537 | bool result; | |
10538 | void *argp1 = 0 ; | |
10539 | int res1 = 0 ; | |
10540 | PyObject *swig_obj[1] ; | |
10541 | ||
10542 | if (!args) SWIG_fail; | |
10543 | swig_obj[0] = args; | |
10544 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10545 | if (!SWIG_IsOK(res1)) { | |
10546 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10547 | } | |
10548 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10549 | { | |
10550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10551 | result = (bool)(arg1)->HistoryBack(); | |
10552 | wxPyEndAllowThreads(__tstate); | |
10553 | if (PyErr_Occurred()) SWIG_fail; | |
10554 | } | |
10555 | { | |
10556 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10557 | } | |
10558 | return resultobj; | |
10559 | fail: | |
10560 | return NULL; | |
d14a1e28 RD |
10561 | } |
10562 | ||
10563 | ||
0085ce49 RD |
10564 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10565 | PyObject *resultobj = 0; | |
10566 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10567 | bool result; | |
10568 | void *argp1 = 0 ; | |
10569 | int res1 = 0 ; | |
10570 | PyObject *swig_obj[1] ; | |
10571 | ||
10572 | if (!args) SWIG_fail; | |
10573 | swig_obj[0] = args; | |
10574 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10575 | if (!SWIG_IsOK(res1)) { | |
10576 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10577 | } | |
10578 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10579 | { | |
10580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10581 | result = (bool)(arg1)->HistoryForward(); | |
10582 | wxPyEndAllowThreads(__tstate); | |
10583 | if (PyErr_Occurred()) SWIG_fail; | |
10584 | } | |
10585 | { | |
10586 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10587 | } | |
10588 | return resultobj; | |
10589 | fail: | |
10590 | return NULL; | |
d14a1e28 RD |
10591 | } |
10592 | ||
10593 | ||
0085ce49 RD |
10594 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10595 | PyObject *resultobj = 0; | |
10596 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10597 | bool result; | |
10598 | void *argp1 = 0 ; | |
10599 | int res1 = 0 ; | |
10600 | PyObject *swig_obj[1] ; | |
10601 | ||
10602 | if (!args) SWIG_fail; | |
10603 | swig_obj[0] = args; | |
10604 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10605 | if (!SWIG_IsOK(res1)) { | |
10606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanBack" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10607 | } | |
10608 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10609 | { | |
10610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10611 | result = (bool)(arg1)->HistoryCanBack(); | |
10612 | wxPyEndAllowThreads(__tstate); | |
10613 | if (PyErr_Occurred()) SWIG_fail; | |
10614 | } | |
10615 | { | |
10616 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10617 | } | |
10618 | return resultobj; | |
10619 | fail: | |
10620 | return NULL; | |
d14a1e28 RD |
10621 | } |
10622 | ||
10623 | ||
0085ce49 RD |
10624 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10625 | PyObject *resultobj = 0; | |
10626 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10627 | bool result; | |
10628 | void *argp1 = 0 ; | |
10629 | int res1 = 0 ; | |
10630 | PyObject *swig_obj[1] ; | |
10631 | ||
10632 | if (!args) SWIG_fail; | |
10633 | swig_obj[0] = args; | |
10634 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10635 | if (!SWIG_IsOK(res1)) { | |
10636 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryCanForward" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10637 | } | |
10638 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10639 | { | |
10640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10641 | result = (bool)(arg1)->HistoryCanForward(); | |
10642 | wxPyEndAllowThreads(__tstate); | |
10643 | if (PyErr_Occurred()) SWIG_fail; | |
10644 | } | |
10645 | { | |
10646 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10647 | } | |
10648 | return resultobj; | |
10649 | fail: | |
10650 | return NULL; | |
d14a1e28 RD |
10651 | } |
10652 | ||
10653 | ||
0085ce49 RD |
10654 | SWIGINTERN PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10655 | PyObject *resultobj = 0; | |
10656 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10657 | void *argp1 = 0 ; | |
10658 | int res1 = 0 ; | |
10659 | PyObject *swig_obj[1] ; | |
10660 | ||
10661 | if (!args) SWIG_fail; | |
10662 | swig_obj[0] = args; | |
10663 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10664 | if (!SWIG_IsOK(res1)) { | |
10665 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HistoryClear" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10666 | } | |
10667 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10668 | { | |
10669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10670 | (arg1)->HistoryClear(); | |
10671 | wxPyEndAllowThreads(__tstate); | |
10672 | if (PyErr_Occurred()) SWIG_fail; | |
10673 | } | |
10674 | resultobj = SWIG_Py_Void(); | |
10675 | return resultobj; | |
10676 | fail: | |
10677 | return NULL; | |
d14a1e28 RD |
10678 | } |
10679 | ||
10680 | ||
0085ce49 RD |
10681 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10682 | PyObject *resultobj = 0; | |
10683 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10684 | wxHtmlContainerCell *result = 0 ; | |
10685 | void *argp1 = 0 ; | |
10686 | int res1 = 0 ; | |
10687 | PyObject *swig_obj[1] ; | |
10688 | ||
10689 | if (!args) SWIG_fail; | |
10690 | swig_obj[0] = args; | |
10691 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10692 | if (!SWIG_IsOK(res1)) { | |
10693 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetInternalRepresentation" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10694 | } | |
10695 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10696 | { | |
10697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10698 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
10699 | wxPyEndAllowThreads(__tstate); | |
10700 | if (PyErr_Occurred()) SWIG_fail; | |
10701 | } | |
10702 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlContainerCell, 0 | 0 ); | |
10703 | return resultobj; | |
10704 | fail: | |
10705 | return NULL; | |
d14a1e28 RD |
10706 | } |
10707 | ||
10708 | ||
0085ce49 RD |
10709 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetParser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10710 | PyObject *resultobj = 0; | |
10711 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10712 | wxHtmlWinParser *result = 0 ; | |
10713 | void *argp1 = 0 ; | |
10714 | int res1 = 0 ; | |
10715 | PyObject *swig_obj[1] ; | |
10716 | ||
10717 | if (!args) SWIG_fail; | |
10718 | swig_obj[0] = args; | |
10719 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10720 | if (!SWIG_IsOK(res1)) { | |
10721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_GetParser" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10722 | } | |
10723 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10724 | { | |
10725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10726 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
10727 | wxPyEndAllowThreads(__tstate); | |
10728 | if (PyErr_Occurred()) SWIG_fail; | |
10729 | } | |
10730 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlWinParser, 0 | 0 ); | |
10731 | return resultobj; | |
10732 | fail: | |
10733 | return NULL; | |
10734 | } | |
10735 | ||
10736 | ||
10737 | SWIGINTERN PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10738 | PyObject *resultobj = 0; | |
10739 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10740 | wxString *arg2 = 0 ; | |
10741 | bool result; | |
10742 | void *argp1 = 0 ; | |
10743 | int res1 = 0 ; | |
10744 | bool temp2 = false ; | |
10745 | PyObject * obj0 = 0 ; | |
10746 | PyObject * obj1 = 0 ; | |
10747 | char * kwnames[] = { | |
10748 | (char *) "self",(char *) "anchor", NULL | |
10749 | }; | |
10750 | ||
10751 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10752 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10753 | if (!SWIG_IsOK(res1)) { | |
10754 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ScrollToAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10755 | } | |
10756 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10757 | { | |
10758 | arg2 = wxString_in_helper(obj1); | |
10759 | if (arg2 == NULL) SWIG_fail; | |
10760 | temp2 = true; | |
10761 | } | |
10762 | { | |
10763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10764 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
10765 | wxPyEndAllowThreads(__tstate); | |
10766 | if (PyErr_Occurred()) SWIG_fail; | |
10767 | } | |
10768 | { | |
10769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10770 | } | |
10771 | { | |
10772 | if (temp2) | |
10773 | delete arg2; | |
10774 | } | |
10775 | return resultobj; | |
10776 | fail: | |
10777 | { | |
10778 | if (temp2) | |
10779 | delete arg2; | |
10780 | } | |
10781 | return NULL; | |
10782 | } | |
10783 | ||
10784 | ||
10785 | SWIGINTERN PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10786 | PyObject *resultobj = 0; | |
10787 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10788 | wxString *arg2 = 0 ; | |
10789 | bool result; | |
10790 | void *argp1 = 0 ; | |
10791 | int res1 = 0 ; | |
10792 | bool temp2 = false ; | |
10793 | PyObject * obj0 = 0 ; | |
10794 | PyObject * obj1 = 0 ; | |
10795 | char * kwnames[] = { | |
10796 | (char *) "self",(char *) "anchor", NULL | |
10797 | }; | |
10798 | ||
10799 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10800 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10801 | if (!SWIG_IsOK(res1)) { | |
10802 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_HasAnchor" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10803 | } | |
10804 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10805 | { | |
10806 | arg2 = wxString_in_helper(obj1); | |
10807 | if (arg2 == NULL) SWIG_fail; | |
10808 | temp2 = true; | |
10809 | } | |
10810 | { | |
10811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10812 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
10813 | wxPyEndAllowThreads(__tstate); | |
10814 | if (PyErr_Occurred()) SWIG_fail; | |
10815 | } | |
10816 | { | |
10817 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10818 | } | |
10819 | { | |
10820 | if (temp2) | |
10821 | delete arg2; | |
10822 | } | |
10823 | return resultobj; | |
10824 | fail: | |
10825 | { | |
10826 | if (temp2) | |
10827 | delete arg2; | |
10828 | } | |
10829 | return NULL; | |
d14a1e28 RD |
10830 | } |
10831 | ||
10832 | ||
0085ce49 RD |
10833 | SWIGINTERN PyObject *_wrap_HtmlWindow_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10834 | PyObject *resultobj = 0; | |
10835 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
10836 | void *argp1 = 0 ; | |
10837 | int res1 = 0 ; | |
10838 | PyObject * obj0 = 0 ; | |
10839 | char * kwnames[] = { | |
10840 | (char *) "filter", NULL | |
10841 | }; | |
10842 | ||
10843 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) SWIG_fail; | |
10844 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlFilter, 0 | 0 ); | |
10845 | if (!SWIG_IsOK(res1)) { | |
10846 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_AddFilter" "', expected argument " "1"" of type '" "wxPyHtmlFilter *""'"); | |
10847 | } | |
10848 | arg1 = reinterpret_cast< wxPyHtmlFilter * >(argp1); | |
10849 | { | |
10850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10851 | wxPyHtmlWindow::AddFilter(arg1); | |
10852 | wxPyEndAllowThreads(__tstate); | |
10853 | if (PyErr_Occurred()) SWIG_fail; | |
10854 | } | |
10855 | resultobj = SWIG_Py_Void(); | |
10856 | return resultobj; | |
10857 | fail: | |
10858 | return NULL; | |
10859 | } | |
10860 | ||
10861 | ||
10862 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10863 | PyObject *resultobj = 0; | |
10864 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10865 | wxPoint *arg2 = 0 ; | |
10866 | void *argp1 = 0 ; | |
10867 | int res1 = 0 ; | |
10868 | wxPoint temp2 ; | |
10869 | PyObject * obj0 = 0 ; | |
10870 | PyObject * obj1 = 0 ; | |
10871 | char * kwnames[] = { | |
10872 | (char *) "self",(char *) "pos", NULL | |
10873 | }; | |
10874 | ||
10875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) SWIG_fail; | |
10876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10877 | if (!SWIG_IsOK(res1)) { | |
10878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectWord" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10879 | } | |
10880 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10881 | { | |
10882 | arg2 = &temp2; | |
10883 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10884 | } | |
10885 | { | |
10886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10887 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
10888 | wxPyEndAllowThreads(__tstate); | |
10889 | if (PyErr_Occurred()) SWIG_fail; | |
10890 | } | |
10891 | resultobj = SWIG_Py_Void(); | |
10892 | return resultobj; | |
10893 | fail: | |
10894 | return NULL; | |
10895 | } | |
10896 | ||
10897 | ||
10898 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10899 | PyObject *resultobj = 0; | |
10900 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10901 | wxPoint *arg2 = 0 ; | |
10902 | void *argp1 = 0 ; | |
10903 | int res1 = 0 ; | |
10904 | wxPoint temp2 ; | |
10905 | PyObject * obj0 = 0 ; | |
10906 | PyObject * obj1 = 0 ; | |
10907 | char * kwnames[] = { | |
10908 | (char *) "self",(char *) "pos", NULL | |
10909 | }; | |
10910 | ||
10911 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) SWIG_fail; | |
10912 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10913 | if (!SWIG_IsOK(res1)) { | |
10914 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectLine" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10915 | } | |
10916 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10917 | { | |
10918 | arg2 = &temp2; | |
10919 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10920 | } | |
10921 | { | |
10922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10923 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
10924 | wxPyEndAllowThreads(__tstate); | |
10925 | if (PyErr_Occurred()) SWIG_fail; | |
10926 | } | |
10927 | resultobj = SWIG_Py_Void(); | |
10928 | return resultobj; | |
10929 | fail: | |
10930 | return NULL; | |
d14a1e28 RD |
10931 | } |
10932 | ||
10933 | ||
0085ce49 RD |
10934 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10935 | PyObject *resultobj = 0; | |
10936 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10937 | void *argp1 = 0 ; | |
10938 | int res1 = 0 ; | |
10939 | PyObject *swig_obj[1] ; | |
10940 | ||
10941 | if (!args) SWIG_fail; | |
10942 | swig_obj[0] = args; | |
10943 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10944 | if (!SWIG_IsOK(res1)) { | |
10945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectAll" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10946 | } | |
10947 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10948 | { | |
10949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10950 | (arg1)->SelectAll(); | |
10951 | wxPyEndAllowThreads(__tstate); | |
10952 | if (PyErr_Occurred()) SWIG_fail; | |
10953 | } | |
10954 | resultobj = SWIG_Py_Void(); | |
10955 | return resultobj; | |
10956 | fail: | |
10957 | return NULL; | |
d14a1e28 RD |
10958 | } |
10959 | ||
10960 | ||
0085ce49 RD |
10961 | SWIGINTERN PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10962 | PyObject *resultobj = 0; | |
10963 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10964 | wxString result; | |
10965 | void *argp1 = 0 ; | |
10966 | int res1 = 0 ; | |
10967 | PyObject *swig_obj[1] ; | |
10968 | ||
10969 | if (!args) SWIG_fail; | |
10970 | swig_obj[0] = args; | |
10971 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
10972 | if (!SWIG_IsOK(res1)) { | |
10973 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_SelectionToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
10974 | } | |
10975 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
10976 | { | |
10977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10978 | result = (arg1)->SelectionToText(); | |
10979 | wxPyEndAllowThreads(__tstate); | |
10980 | if (PyErr_Occurred()) SWIG_fail; | |
10981 | } | |
10982 | { | |
10983 | #if wxUSE_UNICODE | |
10984 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10985 | #else | |
10986 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10987 | #endif | |
10988 | } | |
10989 | return resultobj; | |
10990 | fail: | |
10991 | return NULL; | |
d14a1e28 RD |
10992 | } |
10993 | ||
10994 | ||
0085ce49 RD |
10995 | SWIGINTERN PyObject *_wrap_HtmlWindow_ToText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10996 | PyObject *resultobj = 0; | |
10997 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
10998 | wxString result; | |
10999 | void *argp1 = 0 ; | |
11000 | int res1 = 0 ; | |
11001 | PyObject *swig_obj[1] ; | |
11002 | ||
11003 | if (!args) SWIG_fail; | |
11004 | swig_obj[0] = args; | |
11005 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11006 | if (!SWIG_IsOK(res1)) { | |
11007 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_ToText" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11008 | } | |
11009 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11010 | { | |
11011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11012 | result = (arg1)->ToText(); | |
11013 | wxPyEndAllowThreads(__tstate); | |
11014 | if (PyErr_Occurred()) SWIG_fail; | |
11015 | } | |
11016 | { | |
d14a1e28 | 11017 | #if wxUSE_UNICODE |
0085ce49 | 11018 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11019 | #else |
0085ce49 | 11020 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 11021 | #endif |
0085ce49 RD |
11022 | } |
11023 | return resultobj; | |
11024 | fail: | |
11025 | return NULL; | |
11026 | } | |
11027 | ||
11028 | ||
11029 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11030 | PyObject *resultobj = 0; | |
11031 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11032 | wxHtmlLinkInfo *arg2 = 0 ; | |
11033 | void *argp1 = 0 ; | |
11034 | int res1 = 0 ; | |
11035 | void *argp2 = 0 ; | |
11036 | int res2 = 0 ; | |
11037 | PyObject * obj0 = 0 ; | |
11038 | PyObject * obj1 = 0 ; | |
11039 | char * kwnames[] = { | |
11040 | (char *) "self",(char *) "link", NULL | |
11041 | }; | |
11042 | ||
11043 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; | |
11044 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11045 | if (!SWIG_IsOK(res1)) { | |
11046 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11047 | } | |
11048 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11049 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
11050 | if (!SWIG_IsOK(res2)) { | |
11051 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11052 | } | |
11053 | if (!argp2) { | |
11054 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnLinkClicked" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
11055 | } | |
11056 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
11057 | { | |
11058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11059 | (arg1)->OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
11060 | wxPyEndAllowThreads(__tstate); | |
11061 | if (PyErr_Occurred()) SWIG_fail; | |
11062 | } | |
11063 | resultobj = SWIG_Py_Void(); | |
11064 | return resultobj; | |
11065 | fail: | |
11066 | return NULL; | |
11067 | } | |
11068 | ||
11069 | ||
11070 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnSetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11071 | PyObject *resultobj = 0; | |
11072 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11073 | wxString *arg2 = 0 ; | |
11074 | void *argp1 = 0 ; | |
11075 | int res1 = 0 ; | |
11076 | bool temp2 = false ; | |
11077 | PyObject * obj0 = 0 ; | |
11078 | PyObject * obj1 = 0 ; | |
11079 | char * kwnames[] = { | |
11080 | (char *) "self",(char *) "title", NULL | |
11081 | }; | |
11082 | ||
11083 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_OnSetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
11084 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11085 | if (!SWIG_IsOK(res1)) { | |
11086 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnSetTitle" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11087 | } | |
11088 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11089 | { | |
11090 | arg2 = wxString_in_helper(obj1); | |
11091 | if (arg2 == NULL) SWIG_fail; | |
11092 | temp2 = true; | |
11093 | } | |
11094 | { | |
11095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11096 | (arg1)->OnSetTitle((wxString const &)*arg2); | |
11097 | wxPyEndAllowThreads(__tstate); | |
11098 | if (PyErr_Occurred()) SWIG_fail; | |
11099 | } | |
11100 | resultobj = SWIG_Py_Void(); | |
11101 | { | |
11102 | if (temp2) | |
11103 | delete arg2; | |
11104 | } | |
11105 | return resultobj; | |
11106 | fail: | |
11107 | { | |
11108 | if (temp2) | |
11109 | delete arg2; | |
11110 | } | |
11111 | return NULL; | |
11112 | } | |
11113 | ||
11114 | ||
11115 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellMouseHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11116 | PyObject *resultobj = 0; | |
11117 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11118 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11119 | int arg3 ; | |
11120 | int arg4 ; | |
11121 | void *argp1 = 0 ; | |
11122 | int res1 = 0 ; | |
11123 | void *argp2 = 0 ; | |
11124 | int res2 = 0 ; | |
11125 | int val3 ; | |
11126 | int ecode3 = 0 ; | |
11127 | int val4 ; | |
11128 | int ecode4 = 0 ; | |
11129 | PyObject * obj0 = 0 ; | |
11130 | PyObject * obj1 = 0 ; | |
11131 | PyObject * obj2 = 0 ; | |
11132 | PyObject * obj3 = 0 ; | |
11133 | char * kwnames[] = { | |
11134 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
11135 | }; | |
11136 | ||
11137 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11138 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11139 | if (!SWIG_IsOK(res1)) { | |
11140 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11141 | } | |
11142 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11143 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11144 | if (!SWIG_IsOK(res2)) { | |
11145 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11146 | } | |
11147 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11148 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11149 | if (!SWIG_IsOK(ecode3)) { | |
11150 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "3"" of type '" "int""'"); | |
11151 | } | |
11152 | arg3 = static_cast< int >(val3); | |
11153 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11154 | if (!SWIG_IsOK(ecode4)) { | |
11155 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellMouseHover" "', expected argument " "4"" of type '" "int""'"); | |
11156 | } | |
11157 | arg4 = static_cast< int >(val4); | |
11158 | { | |
11159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11160 | (arg1)->OnCellMouseHover(arg2,arg3,arg4); | |
11161 | wxPyEndAllowThreads(__tstate); | |
11162 | if (PyErr_Occurred()) SWIG_fail; | |
11163 | } | |
11164 | resultobj = SWIG_Py_Void(); | |
11165 | return resultobj; | |
11166 | fail: | |
11167 | return NULL; | |
11168 | } | |
11169 | ||
11170 | ||
11171 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnCellClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11172 | PyObject *resultobj = 0; | |
11173 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11174 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
11175 | int arg3 ; | |
11176 | int arg4 ; | |
11177 | wxMouseEvent *arg5 = 0 ; | |
e9d6f3a4 | 11178 | bool result; |
0085ce49 RD |
11179 | void *argp1 = 0 ; |
11180 | int res1 = 0 ; | |
11181 | void *argp2 = 0 ; | |
11182 | int res2 = 0 ; | |
11183 | int val3 ; | |
11184 | int ecode3 = 0 ; | |
11185 | int val4 ; | |
11186 | int ecode4 = 0 ; | |
11187 | void *argp5 = 0 ; | |
11188 | int res5 = 0 ; | |
11189 | PyObject * obj0 = 0 ; | |
11190 | PyObject * obj1 = 0 ; | |
11191 | PyObject * obj2 = 0 ; | |
11192 | PyObject * obj3 = 0 ; | |
11193 | PyObject * obj4 = 0 ; | |
11194 | char * kwnames[] = { | |
11195 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
11196 | }; | |
11197 | ||
11198 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
11199 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11200 | if (!SWIG_IsOK(res1)) { | |
11201 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "1"" of type '" "wxPyHtmlWindow *""'"); | |
11202 | } | |
11203 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11204 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
11205 | if (!SWIG_IsOK(res2)) { | |
11206 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "2"" of type '" "wxHtmlCell *""'"); | |
11207 | } | |
11208 | arg2 = reinterpret_cast< wxHtmlCell * >(argp2); | |
11209 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11210 | if (!SWIG_IsOK(ecode3)) { | |
11211 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "3"" of type '" "int""'"); | |
11212 | } | |
11213 | arg3 = static_cast< int >(val3); | |
11214 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11215 | if (!SWIG_IsOK(ecode4)) { | |
11216 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "4"" of type '" "int""'"); | |
11217 | } | |
11218 | arg4 = static_cast< int >(val4); | |
11219 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
11220 | if (!SWIG_IsOK(res5)) { | |
11221 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11222 | } | |
11223 | if (!argp5) { | |
11224 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlWindow_OnCellClicked" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
11225 | } | |
11226 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
11227 | { | |
11228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e9d6f3a4 | 11229 | result = (bool)(arg1)->OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); |
0085ce49 RD |
11230 | wxPyEndAllowThreads(__tstate); |
11231 | if (PyErr_Occurred()) SWIG_fail; | |
11232 | } | |
e9d6f3a4 RD |
11233 | { |
11234 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11235 | } | |
11236 | return resultobj; | |
11237 | fail: | |
11238 | return NULL; | |
11239 | } | |
11240 | ||
11241 | ||
11242 | SWIGINTERN PyObject *_wrap_HtmlWindow_OnOpeningURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11243 | PyObject *resultobj = 0; | |
11244 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
11245 | wxHtmlURLType arg2 ; | |
11246 | wxString *arg3 = 0 ; | |
11247 | wxString *arg4 = (wxString *) 0 ; | |
11248 | wxHtmlOpeningStatus result; | |
11249 | void *argp1 = 0 ; | |
11250 | int res1 = 0 ; | |
11251 | int val2 ; | |
11252 | int ecode2 = 0 ; | |
11253 | bool temp3 = false ; | |
11254 | bool temp4 = false ; | |
11255 | PyObject * obj0 = 0 ; | |
11256 | PyObject * obj1 = 0 ; | |
11257 | PyObject * obj2 = 0 ; | |
11258 | PyObject * obj3 = 0 ; | |
11259 | char * kwnames[] = { | |
11260 | (char *) "self",(char *) "type",(char *) "url",(char *) "redirect", NULL | |
11261 | }; | |
11262 | ||
11263 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_OnOpeningURL",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11264 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlWindow, 0 | 0 ); | |
11265 | if (!SWIG_IsOK(res1)) { | |
11266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "1"" of type '" "wxPyHtmlWindow const *""'"); | |
11267 | } | |
11268 | arg1 = reinterpret_cast< wxPyHtmlWindow * >(argp1); | |
11269 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11270 | if (!SWIG_IsOK(ecode2)) { | |
11271 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlWindow_OnOpeningURL" "', expected argument " "2"" of type '" "wxHtmlURLType""'"); | |
11272 | } | |
11273 | arg2 = static_cast< wxHtmlURLType >(val2); | |
11274 | { | |
11275 | arg3 = wxString_in_helper(obj2); | |
11276 | if (arg3 == NULL) SWIG_fail; | |
11277 | temp3 = true; | |
11278 | } | |
11279 | { | |
11280 | arg4 = wxString_in_helper(obj3); | |
11281 | if (arg4 == NULL) SWIG_fail; | |
11282 | temp4 = true; | |
11283 | } | |
11284 | { | |
11285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11286 | result = (wxHtmlOpeningStatus)((wxPyHtmlWindow const *)arg1)->OnOpeningURL(arg2,(wxString const &)*arg3,arg4); | |
11287 | wxPyEndAllowThreads(__tstate); | |
11288 | if (PyErr_Occurred()) SWIG_fail; | |
11289 | } | |
11290 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11291 | { | |
11292 | if (temp3) | |
11293 | delete arg3; | |
11294 | } | |
11295 | { | |
11296 | if (temp4) | |
11297 | delete arg4; | |
11298 | } | |
0085ce49 RD |
11299 | return resultobj; |
11300 | fail: | |
e9d6f3a4 RD |
11301 | { |
11302 | if (temp3) | |
11303 | delete arg3; | |
11304 | } | |
11305 | { | |
11306 | if (temp4) | |
11307 | delete arg4; | |
11308 | } | |
0085ce49 RD |
11309 | return NULL; |
11310 | } | |
11311 | ||
11312 | ||
11313 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11314 | PyObject *resultobj = 0; | |
11315 | wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; | |
11316 | SwigValueWrapper<wxVisualAttributes > result; | |
11317 | int val1 ; | |
11318 | int ecode1 = 0 ; | |
11319 | PyObject * obj0 = 0 ; | |
11320 | char * kwnames[] = { | |
11321 | (char *) "variant", NULL | |
11322 | }; | |
11323 | ||
11324 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail; | |
11325 | if (obj0) { | |
11326 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11327 | if (!SWIG_IsOK(ecode1)) { | |
11328 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); | |
11329 | } | |
11330 | arg1 = static_cast< wxWindowVariant >(val1); | |
11331 | } | |
11332 | { | |
11333 | if (!wxPyCheckForApp()) SWIG_fail; | |
11334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11335 | result = wxPyHtmlWindow::GetClassDefaultAttributes(arg1); | |
11336 | wxPyEndAllowThreads(__tstate); | |
11337 | if (PyErr_Occurred()) SWIG_fail; | |
11338 | } | |
11339 | resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 ); | |
11340 | return resultobj; | |
11341 | fail: | |
11342 | return NULL; | |
d14a1e28 RD |
11343 | } |
11344 | ||
11345 | ||
e9d6f3a4 RD |
11346 | SWIGINTERN PyObject *_wrap_HtmlWindow_GetDefaultHTMLCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11347 | PyObject *resultobj = 0; | |
11348 | wxPyHtmlWindow::HTMLCursor arg1 ; | |
11349 | wxCursor result; | |
11350 | int val1 ; | |
11351 | int ecode1 = 0 ; | |
11352 | PyObject * obj0 = 0 ; | |
11353 | char * kwnames[] = { | |
11354 | (char *) "type", NULL | |
11355 | }; | |
11356 | ||
11357 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetDefaultHTMLCursor",kwnames,&obj0)) SWIG_fail; | |
11358 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11359 | if (!SWIG_IsOK(ecode1)) { | |
11360 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "HtmlWindow_GetDefaultHTMLCursor" "', expected argument " "1"" of type '" "wxPyHtmlWindow::HTMLCursor""'"); | |
11361 | } | |
11362 | arg1 = static_cast< wxPyHtmlWindow::HTMLCursor >(val1); | |
11363 | { | |
11364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11365 | result = wxPyHtmlWindow::GetDefaultHTMLCursor(arg1); | |
11366 | wxPyEndAllowThreads(__tstate); | |
11367 | if (PyErr_Occurred()) SWIG_fail; | |
11368 | } | |
11369 | resultobj = SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor& >(result))), SWIGTYPE_p_wxCursor, SWIG_POINTER_OWN | 0 ); | |
11370 | return resultobj; | |
11371 | fail: | |
11372 | return NULL; | |
11373 | } | |
11374 | ||
11375 | ||
0085ce49 RD |
11376 | SWIGINTERN PyObject *HtmlWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11377 | PyObject *obj; | |
11378 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11379 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlWindow, SWIG_NewClientData(obj)); | |
11380 | return SWIG_Py_Void(); | |
b1fcee84 RD |
11381 | } |
11382 | ||
0085ce49 RD |
11383 | SWIGINTERN PyObject *HtmlWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11384 | return SWIG_Python_InitShadowInstance(args); | |
b1fcee84 RD |
11385 | } |
11386 | ||
0085ce49 RD |
11387 | SWIGINTERN PyObject *_wrap_new_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11388 | PyObject *resultobj = 0; | |
11389 | wxHtmlDCRenderer *result = 0 ; | |
11390 | ||
11391 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlDCRenderer",0,0,0)) SWIG_fail; | |
11392 | { | |
11393 | if (!wxPyCheckForApp()) SWIG_fail; | |
11394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11395 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
11396 | wxPyEndAllowThreads(__tstate); | |
11397 | if (PyErr_Occurred()) SWIG_fail; | |
11398 | } | |
11399 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_NEW | 0 ); | |
11400 | return resultobj; | |
11401 | fail: | |
11402 | return NULL; | |
b1fcee84 RD |
11403 | } |
11404 | ||
11405 | ||
0085ce49 RD |
11406 | SWIGINTERN PyObject *_wrap_delete_HtmlDCRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11407 | PyObject *resultobj = 0; | |
11408 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11409 | void *argp1 = 0 ; | |
11410 | int res1 = 0 ; | |
11411 | PyObject *swig_obj[1] ; | |
11412 | ||
11413 | if (!args) SWIG_fail; | |
11414 | swig_obj[0] = args; | |
11415 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_DISOWN | 0 ); | |
11416 | if (!SWIG_IsOK(res1)) { | |
11417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlDCRenderer" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11418 | } | |
11419 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11420 | { | |
11421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11422 | delete arg1; | |
d14a1e28 | 11423 | |
0085ce49 RD |
11424 | wxPyEndAllowThreads(__tstate); |
11425 | if (PyErr_Occurred()) SWIG_fail; | |
11426 | } | |
11427 | resultobj = SWIG_Py_Void(); | |
11428 | return resultobj; | |
11429 | fail: | |
11430 | return NULL; | |
11431 | } | |
11432 | ||
11433 | ||
11434 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11435 | PyObject *resultobj = 0; | |
11436 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11437 | wxDC *arg2 = (wxDC *) 0 ; | |
11438 | int arg3 ; | |
11439 | void *argp1 = 0 ; | |
11440 | int res1 = 0 ; | |
11441 | void *argp2 = 0 ; | |
11442 | int res2 = 0 ; | |
11443 | int val3 ; | |
11444 | int ecode3 = 0 ; | |
11445 | PyObject * obj0 = 0 ; | |
11446 | PyObject * obj1 = 0 ; | |
11447 | PyObject * obj2 = 0 ; | |
11448 | char * kwnames[] = { | |
11449 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
11450 | }; | |
11451 | ||
11452 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11453 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11454 | if (!SWIG_IsOK(res1)) { | |
11455 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11456 | } | |
11457 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11458 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
11459 | if (!SWIG_IsOK(res2)) { | |
11460 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
11461 | } | |
11462 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11463 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11464 | if (!SWIG_IsOK(ecode3)) { | |
11465 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetDC" "', expected argument " "3"" of type '" "int""'"); | |
11466 | } | |
11467 | arg3 = static_cast< int >(val3); | |
11468 | { | |
11469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11470 | (arg1)->SetDC(arg2,arg3); | |
11471 | wxPyEndAllowThreads(__tstate); | |
11472 | if (PyErr_Occurred()) SWIG_fail; | |
11473 | } | |
11474 | resultobj = SWIG_Py_Void(); | |
11475 | return resultobj; | |
11476 | fail: | |
11477 | return NULL; | |
11478 | } | |
11479 | ||
11480 | ||
11481 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11482 | PyObject *resultobj = 0; | |
11483 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11484 | int arg2 ; | |
11485 | int arg3 ; | |
11486 | void *argp1 = 0 ; | |
11487 | int res1 = 0 ; | |
11488 | int val2 ; | |
11489 | int ecode2 = 0 ; | |
11490 | int val3 ; | |
11491 | int ecode3 = 0 ; | |
11492 | PyObject * obj0 = 0 ; | |
11493 | PyObject * obj1 = 0 ; | |
11494 | PyObject * obj2 = 0 ; | |
11495 | char * kwnames[] = { | |
11496 | (char *) "self",(char *) "width",(char *) "height", NULL | |
11497 | }; | |
11498 | ||
11499 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11500 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11501 | if (!SWIG_IsOK(res1)) { | |
11502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11503 | } | |
11504 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11505 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11506 | if (!SWIG_IsOK(ecode2)) { | |
11507 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "2"" of type '" "int""'"); | |
11508 | } | |
11509 | arg2 = static_cast< int >(val2); | |
11510 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11511 | if (!SWIG_IsOK(ecode3)) { | |
11512 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_SetSize" "', expected argument " "3"" of type '" "int""'"); | |
11513 | } | |
11514 | arg3 = static_cast< int >(val3); | |
11515 | { | |
11516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11517 | (arg1)->SetSize(arg2,arg3); | |
11518 | wxPyEndAllowThreads(__tstate); | |
11519 | if (PyErr_Occurred()) SWIG_fail; | |
11520 | } | |
11521 | resultobj = SWIG_Py_Void(); | |
11522 | return resultobj; | |
11523 | fail: | |
11524 | return NULL; | |
11525 | } | |
11526 | ||
11527 | ||
11528 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11529 | PyObject *resultobj = 0; | |
11530 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11531 | wxString *arg2 = 0 ; | |
11532 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11533 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11534 | bool arg4 = (bool) true ; | |
11535 | void *argp1 = 0 ; | |
11536 | int res1 = 0 ; | |
11537 | bool temp2 = false ; | |
11538 | bool temp3 = false ; | |
11539 | bool val4 ; | |
11540 | int ecode4 = 0 ; | |
11541 | PyObject * obj0 = 0 ; | |
11542 | PyObject * obj1 = 0 ; | |
11543 | PyObject * obj2 = 0 ; | |
11544 | PyObject * obj3 = 0 ; | |
11545 | char * kwnames[] = { | |
11546 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11547 | }; | |
11548 | ||
11549 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11550 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11551 | if (!SWIG_IsOK(res1)) { | |
11552 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11553 | } | |
11554 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11555 | { | |
11556 | arg2 = wxString_in_helper(obj1); | |
11557 | if (arg2 == NULL) SWIG_fail; | |
11558 | temp2 = true; | |
11559 | } | |
11560 | if (obj2) { | |
d14a1e28 | 11561 | { |
0085ce49 RD |
11562 | arg3 = wxString_in_helper(obj2); |
11563 | if (arg3 == NULL) SWIG_fail; | |
11564 | temp3 = true; | |
d14a1e28 | 11565 | } |
0085ce49 RD |
11566 | } |
11567 | if (obj3) { | |
11568 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11569 | if (!SWIG_IsOK(ecode4)) { | |
11570 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlDCRenderer_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11571 | } | |
11572 | arg4 = static_cast< bool >(val4); | |
11573 | } | |
11574 | { | |
11575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11576 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11577 | wxPyEndAllowThreads(__tstate); | |
11578 | if (PyErr_Occurred()) SWIG_fail; | |
11579 | } | |
11580 | resultobj = SWIG_Py_Void(); | |
11581 | { | |
11582 | if (temp2) | |
11583 | delete arg2; | |
11584 | } | |
11585 | { | |
11586 | if (temp3) | |
11587 | delete arg3; | |
11588 | } | |
11589 | return resultobj; | |
11590 | fail: | |
11591 | { | |
11592 | if (temp2) | |
11593 | delete arg2; | |
11594 | } | |
11595 | { | |
11596 | if (temp3) | |
11597 | delete arg3; | |
11598 | } | |
11599 | return NULL; | |
11600 | } | |
11601 | ||
11602 | ||
11603 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11604 | PyObject *resultobj = 0; | |
11605 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11606 | wxString arg2 ; | |
11607 | wxString arg3 ; | |
11608 | PyObject *arg4 = (PyObject *) NULL ; | |
11609 | void *argp1 = 0 ; | |
11610 | int res1 = 0 ; | |
11611 | PyObject * obj0 = 0 ; | |
11612 | PyObject * obj1 = 0 ; | |
11613 | PyObject * obj2 = 0 ; | |
11614 | PyObject * obj3 = 0 ; | |
11615 | char * kwnames[] = { | |
11616 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
11617 | }; | |
11618 | ||
11619 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11620 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11621 | if (!SWIG_IsOK(res1)) { | |
11622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11623 | } | |
11624 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11625 | { | |
11626 | wxString* sptr = wxString_in_helper(obj1); | |
11627 | if (sptr == NULL) SWIG_fail; | |
11628 | arg2 = *sptr; | |
11629 | delete sptr; | |
11630 | } | |
11631 | { | |
11632 | wxString* sptr = wxString_in_helper(obj2); | |
11633 | if (sptr == NULL) SWIG_fail; | |
11634 | arg3 = *sptr; | |
11635 | delete sptr; | |
11636 | } | |
11637 | if (obj3) { | |
11638 | arg4 = obj3; | |
11639 | } | |
11640 | { | |
11641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11642 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
11643 | wxPyEndAllowThreads(__tstate); | |
11644 | if (PyErr_Occurred()) SWIG_fail; | |
11645 | } | |
11646 | resultobj = SWIG_Py_Void(); | |
11647 | return resultobj; | |
11648 | fail: | |
11649 | return NULL; | |
11650 | } | |
11651 | ||
11652 | ||
11653 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11654 | PyObject *resultobj = 0; | |
11655 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11656 | int arg2 = (int) -1 ; | |
11657 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11658 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11659 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11660 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11661 | void *argp1 = 0 ; | |
11662 | int res1 = 0 ; | |
11663 | int val2 ; | |
11664 | int ecode2 = 0 ; | |
11665 | bool temp3 = false ; | |
11666 | bool temp4 = false ; | |
11667 | PyObject * obj0 = 0 ; | |
11668 | PyObject * obj1 = 0 ; | |
11669 | PyObject * obj2 = 0 ; | |
11670 | PyObject * obj3 = 0 ; | |
11671 | char * kwnames[] = { | |
11672 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
11673 | }; | |
11674 | ||
11675 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11676 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11677 | if (!SWIG_IsOK(res1)) { | |
11678 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11679 | } | |
11680 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11681 | if (obj1) { | |
11682 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11683 | if (!SWIG_IsOK(ecode2)) { | |
11684 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
11685 | } | |
11686 | arg2 = static_cast< int >(val2); | |
11687 | } | |
11688 | if (obj2) { | |
d14a1e28 | 11689 | { |
0085ce49 RD |
11690 | arg3 = wxString_in_helper(obj2); |
11691 | if (arg3 == NULL) SWIG_fail; | |
11692 | temp3 = true; | |
d14a1e28 | 11693 | } |
0085ce49 RD |
11694 | } |
11695 | if (obj3) { | |
093d3ff1 | 11696 | { |
0085ce49 RD |
11697 | arg4 = wxString_in_helper(obj3); |
11698 | if (arg4 == NULL) SWIG_fail; | |
11699 | temp4 = true; | |
093d3ff1 | 11700 | } |
0085ce49 RD |
11701 | } |
11702 | { | |
11703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11704 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
11705 | wxPyEndAllowThreads(__tstate); | |
11706 | if (PyErr_Occurred()) SWIG_fail; | |
11707 | } | |
11708 | resultobj = SWIG_Py_Void(); | |
11709 | { | |
11710 | if (temp3) | |
11711 | delete arg3; | |
11712 | } | |
11713 | { | |
11714 | if (temp4) | |
11715 | delete arg4; | |
11716 | } | |
11717 | return resultobj; | |
11718 | fail: | |
11719 | { | |
11720 | if (temp3) | |
11721 | delete arg3; | |
11722 | } | |
11723 | { | |
11724 | if (temp4) | |
11725 | delete arg4; | |
11726 | } | |
11727 | return NULL; | |
11728 | } | |
11729 | ||
11730 | ||
11731 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_Render(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11732 | PyObject *resultobj = 0; | |
11733 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11734 | int arg2 ; | |
11735 | int arg3 ; | |
704eda0c RD |
11736 | wxArrayInt *arg4 = 0 ; |
11737 | int arg5 = (int) 0 ; | |
11738 | int arg6 = (int) FALSE ; | |
11739 | int arg7 = (int) INT_MAX ; | |
0085ce49 RD |
11740 | int result; |
11741 | void *argp1 = 0 ; | |
11742 | int res1 = 0 ; | |
11743 | int val2 ; | |
11744 | int ecode2 = 0 ; | |
11745 | int val3 ; | |
11746 | int ecode3 = 0 ; | |
704eda0c | 11747 | bool temp4 = false ; |
0085ce49 RD |
11748 | int val5 ; |
11749 | int ecode5 = 0 ; | |
11750 | int val6 ; | |
11751 | int ecode6 = 0 ; | |
704eda0c RD |
11752 | int val7 ; |
11753 | int ecode7 = 0 ; | |
0085ce49 RD |
11754 | PyObject * obj0 = 0 ; |
11755 | PyObject * obj1 = 0 ; | |
11756 | PyObject * obj2 = 0 ; | |
11757 | PyObject * obj3 = 0 ; | |
11758 | PyObject * obj4 = 0 ; | |
11759 | PyObject * obj5 = 0 ; | |
11760 | PyObject * obj6 = 0 ; | |
0085ce49 | 11761 | char * kwnames[] = { |
704eda0c | 11762 | (char *) "self",(char *) "x",(char *) "y",(char *) "known_pagebreaks",(char *) "from",(char *) "dont_render",(char *) "to", NULL |
0085ce49 RD |
11763 | }; |
11764 | ||
704eda0c | 11765 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
11766 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); |
11767 | if (!SWIG_IsOK(res1)) { | |
11768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_Render" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11769 | } | |
11770 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11771 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11772 | if (!SWIG_IsOK(ecode2)) { | |
11773 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlDCRenderer_Render" "', expected argument " "2"" of type '" "int""'"); | |
11774 | } | |
11775 | arg2 = static_cast< int >(val2); | |
11776 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11777 | if (!SWIG_IsOK(ecode3)) { | |
11778 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlDCRenderer_Render" "', expected argument " "3"" of type '" "int""'"); | |
11779 | } | |
11780 | arg3 = static_cast< int >(val3); | |
704eda0c RD |
11781 | { |
11782 | if (! PySequence_Check(obj3)) { | |
11783 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11784 | SWIG_fail; | |
11785 | } | |
11786 | arg4 = new wxArrayInt; | |
11787 | temp4 = true; | |
11788 | int i, len=PySequence_Length(obj3); | |
11789 | for (i=0; i<len; i++) { | |
11790 | PyObject* item = PySequence_GetItem(obj3, i); | |
11791 | PyObject* number = PyNumber_Int(item); | |
ec8a7755 RD |
11792 | if (!number) { |
11793 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11794 | SWIG_fail; | |
11795 | } | |
704eda0c RD |
11796 | arg4->Add(PyInt_AS_LONG(number)); |
11797 | Py_DECREF(item); | |
11798 | Py_DECREF(number); | |
11799 | } | |
0085ce49 RD |
11800 | } |
11801 | if (obj4) { | |
11802 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11803 | if (!SWIG_IsOK(ecode5)) { | |
11804 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlDCRenderer_Render" "', expected argument " "5"" of type '" "int""'"); | |
11805 | } | |
11806 | arg5 = static_cast< int >(val5); | |
11807 | } | |
11808 | if (obj5) { | |
11809 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11810 | if (!SWIG_IsOK(ecode6)) { | |
11811 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlDCRenderer_Render" "', expected argument " "6"" of type '" "int""'"); | |
11812 | } | |
11813 | arg6 = static_cast< int >(val6); | |
11814 | } | |
11815 | if (obj6) { | |
704eda0c RD |
11816 | ecode7 = SWIG_AsVal_int(obj6, &val7); |
11817 | if (!SWIG_IsOK(ecode7)) { | |
11818 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlDCRenderer_Render" "', expected argument " "7"" of type '" "int""'"); | |
0085ce49 | 11819 | } |
704eda0c | 11820 | arg7 = static_cast< int >(val7); |
0085ce49 RD |
11821 | } |
11822 | { | |
11823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
704eda0c | 11824 | result = (int)(arg1)->Render(arg2,arg3,*arg4,arg5,arg6,arg7); |
0085ce49 RD |
11825 | wxPyEndAllowThreads(__tstate); |
11826 | if (PyErr_Occurred()) SWIG_fail; | |
11827 | } | |
11828 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
704eda0c RD |
11829 | { |
11830 | if (temp4) delete arg4; | |
11831 | } | |
0085ce49 RD |
11832 | return resultobj; |
11833 | fail: | |
704eda0c RD |
11834 | { |
11835 | if (temp4) delete arg4; | |
11836 | } | |
0085ce49 | 11837 | return NULL; |
d14a1e28 RD |
11838 | } |
11839 | ||
11840 | ||
0085ce49 RD |
11841 | SWIGINTERN PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11842 | PyObject *resultobj = 0; | |
11843 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
11844 | int result; | |
11845 | void *argp1 = 0 ; | |
11846 | int res1 = 0 ; | |
11847 | PyObject *swig_obj[1] ; | |
11848 | ||
11849 | if (!args) SWIG_fail; | |
11850 | swig_obj[0] = args; | |
11851 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlDCRenderer, 0 | 0 ); | |
11852 | if (!SWIG_IsOK(res1)) { | |
11853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlDCRenderer_GetTotalHeight" "', expected argument " "1"" of type '" "wxHtmlDCRenderer *""'"); | |
11854 | } | |
11855 | arg1 = reinterpret_cast< wxHtmlDCRenderer * >(argp1); | |
11856 | { | |
11857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11858 | result = (int)(arg1)->GetTotalHeight(); | |
11859 | wxPyEndAllowThreads(__tstate); | |
11860 | if (PyErr_Occurred()) SWIG_fail; | |
11861 | } | |
11862 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11863 | return resultobj; | |
11864 | fail: | |
11865 | return NULL; | |
d14a1e28 RD |
11866 | } |
11867 | ||
11868 | ||
0085ce49 RD |
11869 | SWIGINTERN PyObject *HtmlDCRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11870 | PyObject *obj; | |
11871 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11872 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlDCRenderer, SWIG_NewClientData(obj)); | |
11873 | return SWIG_Py_Void(); | |
d14a1e28 RD |
11874 | } |
11875 | ||
0085ce49 RD |
11876 | SWIGINTERN PyObject *HtmlDCRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11877 | return SWIG_Python_InitShadowInstance(args); | |
11878 | } | |
d14a1e28 | 11879 | |
0085ce49 RD |
11880 | SWIGINTERN PyObject *_wrap_new_HtmlPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11881 | PyObject *resultobj = 0; | |
11882 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
11883 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
11884 | wxHtmlPrintout *result = 0 ; | |
11885 | bool temp1 = false ; | |
11886 | PyObject * obj0 = 0 ; | |
11887 | char * kwnames[] = { | |
11888 | (char *) "title", NULL | |
11889 | }; | |
11890 | ||
11891 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) SWIG_fail; | |
11892 | if (obj0) { | |
d14a1e28 | 11893 | { |
0085ce49 RD |
11894 | arg1 = wxString_in_helper(obj0); |
11895 | if (arg1 == NULL) SWIG_fail; | |
11896 | temp1 = true; | |
d14a1e28 | 11897 | } |
0085ce49 RD |
11898 | } |
11899 | { | |
11900 | if (!wxPyCheckForApp()) SWIG_fail; | |
11901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11902 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
11903 | wxPyEndAllowThreads(__tstate); | |
11904 | if (PyErr_Occurred()) SWIG_fail; | |
11905 | } | |
11906 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlPrintout, SWIG_POINTER_NEW | 0 ); | |
11907 | { | |
11908 | if (temp1) | |
11909 | delete arg1; | |
11910 | } | |
11911 | return resultobj; | |
11912 | fail: | |
11913 | { | |
11914 | if (temp1) | |
11915 | delete arg1; | |
11916 | } | |
11917 | return NULL; | |
11918 | } | |
11919 | ||
11920 | ||
11921 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11922 | PyObject *resultobj = 0; | |
11923 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11924 | wxString *arg2 = 0 ; | |
11925 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11926 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11927 | bool arg4 = (bool) true ; | |
11928 | void *argp1 = 0 ; | |
11929 | int res1 = 0 ; | |
11930 | bool temp2 = false ; | |
11931 | bool temp3 = false ; | |
11932 | bool val4 ; | |
11933 | int ecode4 = 0 ; | |
11934 | PyObject * obj0 = 0 ; | |
11935 | PyObject * obj1 = 0 ; | |
11936 | PyObject * obj2 = 0 ; | |
11937 | PyObject * obj3 = 0 ; | |
11938 | char * kwnames[] = { | |
11939 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
11940 | }; | |
11941 | ||
11942 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11943 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
11944 | if (!SWIG_IsOK(res1)) { | |
11945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
11946 | } | |
11947 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
11948 | { | |
11949 | arg2 = wxString_in_helper(obj1); | |
11950 | if (arg2 == NULL) SWIG_fail; | |
11951 | temp2 = true; | |
11952 | } | |
11953 | if (obj2) { | |
093d3ff1 | 11954 | { |
0085ce49 RD |
11955 | arg3 = wxString_in_helper(obj2); |
11956 | if (arg3 == NULL) SWIG_fail; | |
11957 | temp3 = true; | |
093d3ff1 | 11958 | } |
0085ce49 RD |
11959 | } |
11960 | if (obj3) { | |
11961 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
11962 | if (!SWIG_IsOK(ecode4)) { | |
11963 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetHtmlText" "', expected argument " "4"" of type '" "bool""'"); | |
11964 | } | |
11965 | arg4 = static_cast< bool >(val4); | |
11966 | } | |
11967 | { | |
11968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11969 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
11970 | wxPyEndAllowThreads(__tstate); | |
11971 | if (PyErr_Occurred()) SWIG_fail; | |
11972 | } | |
11973 | resultobj = SWIG_Py_Void(); | |
11974 | { | |
11975 | if (temp2) | |
11976 | delete arg2; | |
11977 | } | |
11978 | { | |
11979 | if (temp3) | |
11980 | delete arg3; | |
11981 | } | |
11982 | return resultobj; | |
11983 | fail: | |
11984 | { | |
11985 | if (temp2) | |
11986 | delete arg2; | |
11987 | } | |
11988 | { | |
11989 | if (temp3) | |
11990 | delete arg3; | |
11991 | } | |
11992 | return NULL; | |
d14a1e28 RD |
11993 | } |
11994 | ||
11995 | ||
0085ce49 RD |
11996 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11997 | PyObject *resultobj = 0; | |
11998 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
11999 | wxString *arg2 = 0 ; | |
12000 | void *argp1 = 0 ; | |
12001 | int res1 = 0 ; | |
12002 | bool temp2 = false ; | |
12003 | PyObject * obj0 = 0 ; | |
12004 | PyObject * obj1 = 0 ; | |
12005 | char * kwnames[] = { | |
12006 | (char *) "self",(char *) "htmlfile", NULL | |
12007 | }; | |
12008 | ||
12009 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12010 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12011 | if (!SWIG_IsOK(res1)) { | |
12012 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHtmlFile" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12013 | } | |
12014 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12015 | { | |
12016 | arg2 = wxString_in_helper(obj1); | |
12017 | if (arg2 == NULL) SWIG_fail; | |
12018 | temp2 = true; | |
12019 | } | |
12020 | { | |
12021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12022 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
12023 | wxPyEndAllowThreads(__tstate); | |
12024 | if (PyErr_Occurred()) SWIG_fail; | |
12025 | } | |
12026 | resultobj = SWIG_Py_Void(); | |
12027 | { | |
12028 | if (temp2) | |
12029 | delete arg2; | |
12030 | } | |
12031 | return resultobj; | |
12032 | fail: | |
12033 | { | |
12034 | if (temp2) | |
12035 | delete arg2; | |
12036 | } | |
12037 | return NULL; | |
12038 | } | |
12039 | ||
12040 | ||
12041 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12042 | PyObject *resultobj = 0; | |
12043 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12044 | wxString *arg2 = 0 ; | |
12045 | int arg3 = (int) wxPAGE_ALL ; | |
12046 | void *argp1 = 0 ; | |
12047 | int res1 = 0 ; | |
12048 | bool temp2 = false ; | |
12049 | int val3 ; | |
12050 | int ecode3 = 0 ; | |
12051 | PyObject * obj0 = 0 ; | |
12052 | PyObject * obj1 = 0 ; | |
12053 | PyObject * obj2 = 0 ; | |
12054 | char * kwnames[] = { | |
12055 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12056 | }; | |
12057 | ||
12058 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12059 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12060 | if (!SWIG_IsOK(res1)) { | |
12061 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12062 | } | |
12063 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12064 | { | |
12065 | arg2 = wxString_in_helper(obj1); | |
12066 | if (arg2 == NULL) SWIG_fail; | |
12067 | temp2 = true; | |
12068 | } | |
12069 | if (obj2) { | |
12070 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12071 | if (!SWIG_IsOK(ecode3)) { | |
12072 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12073 | } | |
12074 | arg3 = static_cast< int >(val3); | |
12075 | } | |
12076 | { | |
12077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12078 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12079 | wxPyEndAllowThreads(__tstate); | |
12080 | if (PyErr_Occurred()) SWIG_fail; | |
12081 | } | |
12082 | resultobj = SWIG_Py_Void(); | |
12083 | { | |
12084 | if (temp2) | |
12085 | delete arg2; | |
12086 | } | |
12087 | return resultobj; | |
12088 | fail: | |
12089 | { | |
12090 | if (temp2) | |
12091 | delete arg2; | |
12092 | } | |
12093 | return NULL; | |
12094 | } | |
12095 | ||
12096 | ||
12097 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12098 | PyObject *resultobj = 0; | |
12099 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12100 | wxString *arg2 = 0 ; | |
12101 | int arg3 = (int) wxPAGE_ALL ; | |
12102 | void *argp1 = 0 ; | |
12103 | int res1 = 0 ; | |
12104 | bool temp2 = false ; | |
12105 | int val3 ; | |
12106 | int ecode3 = 0 ; | |
12107 | PyObject * obj0 = 0 ; | |
12108 | PyObject * obj1 = 0 ; | |
12109 | PyObject * obj2 = 0 ; | |
12110 | char * kwnames[] = { | |
12111 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12112 | }; | |
12113 | ||
12114 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12116 | if (!SWIG_IsOK(res1)) { | |
12117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12118 | } | |
12119 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12120 | { | |
12121 | arg2 = wxString_in_helper(obj1); | |
12122 | if (arg2 == NULL) SWIG_fail; | |
12123 | temp2 = true; | |
12124 | } | |
12125 | if (obj2) { | |
12126 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12127 | if (!SWIG_IsOK(ecode3)) { | |
12128 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12129 | } | |
12130 | arg3 = static_cast< int >(val3); | |
12131 | } | |
12132 | { | |
12133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12134 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12135 | wxPyEndAllowThreads(__tstate); | |
12136 | if (PyErr_Occurred()) SWIG_fail; | |
12137 | } | |
12138 | resultobj = SWIG_Py_Void(); | |
12139 | { | |
12140 | if (temp2) | |
12141 | delete arg2; | |
12142 | } | |
12143 | return resultobj; | |
12144 | fail: | |
12145 | { | |
12146 | if (temp2) | |
12147 | delete arg2; | |
12148 | } | |
12149 | return NULL; | |
12150 | } | |
12151 | ||
12152 | ||
12153 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12154 | PyObject *resultobj = 0; | |
12155 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12156 | wxString arg2 ; | |
12157 | wxString arg3 ; | |
12158 | PyObject *arg4 = (PyObject *) NULL ; | |
12159 | void *argp1 = 0 ; | |
12160 | int res1 = 0 ; | |
12161 | PyObject * obj0 = 0 ; | |
12162 | PyObject * obj1 = 0 ; | |
12163 | PyObject * obj2 = 0 ; | |
12164 | PyObject * obj3 = 0 ; | |
12165 | char * kwnames[] = { | |
12166 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12167 | }; | |
12168 | ||
12169 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12170 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12171 | if (!SWIG_IsOK(res1)) { | |
12172 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12173 | } | |
12174 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12175 | { | |
12176 | wxString* sptr = wxString_in_helper(obj1); | |
12177 | if (sptr == NULL) SWIG_fail; | |
12178 | arg2 = *sptr; | |
12179 | delete sptr; | |
12180 | } | |
12181 | { | |
12182 | wxString* sptr = wxString_in_helper(obj2); | |
12183 | if (sptr == NULL) SWIG_fail; | |
12184 | arg3 = *sptr; | |
12185 | delete sptr; | |
12186 | } | |
12187 | if (obj3) { | |
12188 | arg4 = obj3; | |
12189 | } | |
12190 | { | |
12191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12192 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
12193 | wxPyEndAllowThreads(__tstate); | |
12194 | if (PyErr_Occurred()) SWIG_fail; | |
12195 | } | |
12196 | resultobj = SWIG_Py_Void(); | |
12197 | return resultobj; | |
12198 | fail: | |
12199 | return NULL; | |
12200 | } | |
12201 | ||
12202 | ||
12203 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12204 | PyObject *resultobj = 0; | |
12205 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12206 | int arg2 = (int) -1 ; | |
12207 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12208 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12209 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12210 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12211 | void *argp1 = 0 ; | |
12212 | int res1 = 0 ; | |
12213 | int val2 ; | |
12214 | int ecode2 = 0 ; | |
12215 | bool temp3 = false ; | |
12216 | bool temp4 = false ; | |
12217 | PyObject * obj0 = 0 ; | |
12218 | PyObject * obj1 = 0 ; | |
12219 | PyObject * obj2 = 0 ; | |
12220 | PyObject * obj3 = 0 ; | |
12221 | char * kwnames[] = { | |
12222 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12223 | }; | |
12224 | ||
12225 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12227 | if (!SWIG_IsOK(res1)) { | |
12228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12229 | } | |
12230 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12231 | if (obj1) { | |
12232 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12233 | if (!SWIG_IsOK(ecode2)) { | |
12234 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12235 | } | |
12236 | arg2 = static_cast< int >(val2); | |
12237 | } | |
12238 | if (obj2) { | |
12239 | { | |
12240 | arg3 = wxString_in_helper(obj2); | |
12241 | if (arg3 == NULL) SWIG_fail; | |
12242 | temp3 = true; | |
994141e6 | 12243 | } |
0085ce49 RD |
12244 | } |
12245 | if (obj3) { | |
d14a1e28 | 12246 | { |
0085ce49 RD |
12247 | arg4 = wxString_in_helper(obj3); |
12248 | if (arg4 == NULL) SWIG_fail; | |
12249 | temp4 = true; | |
d14a1e28 | 12250 | } |
0085ce49 RD |
12251 | } |
12252 | { | |
12253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12254 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12255 | wxPyEndAllowThreads(__tstate); | |
12256 | if (PyErr_Occurred()) SWIG_fail; | |
12257 | } | |
12258 | resultobj = SWIG_Py_Void(); | |
12259 | { | |
12260 | if (temp3) | |
12261 | delete arg3; | |
12262 | } | |
12263 | { | |
12264 | if (temp4) | |
12265 | delete arg4; | |
12266 | } | |
12267 | return resultobj; | |
12268 | fail: | |
12269 | { | |
12270 | if (temp3) | |
12271 | delete arg3; | |
12272 | } | |
12273 | { | |
12274 | if (temp4) | |
12275 | delete arg4; | |
12276 | } | |
12277 | return NULL; | |
12278 | } | |
12279 | ||
12280 | ||
12281 | SWIGINTERN PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12282 | PyObject *resultobj = 0; | |
12283 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
12284 | float arg2 = (float) 25.2 ; | |
12285 | float arg3 = (float) 25.2 ; | |
12286 | float arg4 = (float) 25.2 ; | |
12287 | float arg5 = (float) 25.2 ; | |
12288 | float arg6 = (float) 5 ; | |
12289 | void *argp1 = 0 ; | |
12290 | int res1 = 0 ; | |
12291 | float val2 ; | |
12292 | int ecode2 = 0 ; | |
12293 | float val3 ; | |
12294 | int ecode3 = 0 ; | |
12295 | float val4 ; | |
12296 | int ecode4 = 0 ; | |
12297 | float val5 ; | |
12298 | int ecode5 = 0 ; | |
12299 | float val6 ; | |
12300 | int ecode6 = 0 ; | |
12301 | PyObject * obj0 = 0 ; | |
12302 | PyObject * obj1 = 0 ; | |
12303 | PyObject * obj2 = 0 ; | |
12304 | PyObject * obj3 = 0 ; | |
12305 | PyObject * obj4 = 0 ; | |
12306 | PyObject * obj5 = 0 ; | |
12307 | char * kwnames[] = { | |
12308 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
12309 | }; | |
12310 | ||
12311 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12312 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlPrintout, 0 | 0 ); | |
12313 | if (!SWIG_IsOK(res1)) { | |
12314 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "1"" of type '" "wxHtmlPrintout *""'"); | |
12315 | } | |
12316 | arg1 = reinterpret_cast< wxHtmlPrintout * >(argp1); | |
12317 | if (obj1) { | |
12318 | ecode2 = SWIG_AsVal_float(obj1, &val2); | |
12319 | if (!SWIG_IsOK(ecode2)) { | |
12320 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "2"" of type '" "float""'"); | |
12321 | } | |
12322 | arg2 = static_cast< float >(val2); | |
12323 | } | |
12324 | if (obj2) { | |
12325 | ecode3 = SWIG_AsVal_float(obj2, &val3); | |
12326 | if (!SWIG_IsOK(ecode3)) { | |
12327 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "3"" of type '" "float""'"); | |
12328 | } | |
12329 | arg3 = static_cast< float >(val3); | |
12330 | } | |
12331 | if (obj3) { | |
12332 | ecode4 = SWIG_AsVal_float(obj3, &val4); | |
12333 | if (!SWIG_IsOK(ecode4)) { | |
12334 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "4"" of type '" "float""'"); | |
12335 | } | |
12336 | arg4 = static_cast< float >(val4); | |
12337 | } | |
12338 | if (obj4) { | |
12339 | ecode5 = SWIG_AsVal_float(obj4, &val5); | |
12340 | if (!SWIG_IsOK(ecode5)) { | |
12341 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "5"" of type '" "float""'"); | |
12342 | } | |
12343 | arg5 = static_cast< float >(val5); | |
12344 | } | |
12345 | if (obj5) { | |
12346 | ecode6 = SWIG_AsVal_float(obj5, &val6); | |
12347 | if (!SWIG_IsOK(ecode6)) { | |
12348 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlPrintout_SetMargins" "', expected argument " "6"" of type '" "float""'"); | |
12349 | } | |
12350 | arg6 = static_cast< float >(val6); | |
12351 | } | |
12352 | { | |
12353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12354 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
12355 | wxPyEndAllowThreads(__tstate); | |
12356 | if (PyErr_Occurred()) SWIG_fail; | |
12357 | } | |
12358 | resultobj = SWIG_Py_Void(); | |
12359 | return resultobj; | |
12360 | fail: | |
12361 | return NULL; | |
d14a1e28 RD |
12362 | } |
12363 | ||
12364 | ||
0085ce49 RD |
12365 | SWIGINTERN PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12366 | PyObject *resultobj = 0; | |
12367 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
12368 | void *argp1 = 0 ; | |
12369 | int res1 = 0 ; | |
12370 | PyObject * obj0 = 0 ; | |
12371 | char * kwnames[] = { | |
12372 | (char *) "filter", NULL | |
12373 | }; | |
12374 | ||
12375 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) SWIG_fail; | |
12376 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlFilter, 0 | 0 ); | |
12377 | if (!SWIG_IsOK(res1)) { | |
12378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlPrintout_AddFilter" "', expected argument " "1"" of type '" "wxHtmlFilter *""'"); | |
12379 | } | |
12380 | arg1 = reinterpret_cast< wxHtmlFilter * >(argp1); | |
12381 | { | |
12382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12383 | wxHtmlPrintout::AddFilter(arg1); | |
12384 | wxPyEndAllowThreads(__tstate); | |
12385 | if (PyErr_Occurred()) SWIG_fail; | |
12386 | } | |
12387 | resultobj = SWIG_Py_Void(); | |
12388 | return resultobj; | |
12389 | fail: | |
12390 | return NULL; | |
d14a1e28 RD |
12391 | } |
12392 | ||
12393 | ||
0085ce49 RD |
12394 | SWIGINTERN PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12395 | PyObject *resultobj = 0; | |
12396 | ||
12397 | if (!SWIG_Python_UnpackTuple(args,"HtmlPrintout_CleanUpStatics",0,0,0)) SWIG_fail; | |
12398 | { | |
12399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12400 | wxHtmlPrintout::CleanUpStatics(); | |
12401 | wxPyEndAllowThreads(__tstate); | |
12402 | if (PyErr_Occurred()) SWIG_fail; | |
12403 | } | |
12404 | resultobj = SWIG_Py_Void(); | |
12405 | return resultobj; | |
12406 | fail: | |
12407 | return NULL; | |
d14a1e28 RD |
12408 | } |
12409 | ||
12410 | ||
0085ce49 RD |
12411 | SWIGINTERN PyObject *HtmlPrintout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12412 | PyObject *obj; | |
12413 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12414 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlPrintout, SWIG_NewClientData(obj)); | |
12415 | return SWIG_Py_Void(); | |
d14a1e28 RD |
12416 | } |
12417 | ||
0085ce49 RD |
12418 | SWIGINTERN PyObject *HtmlPrintout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12419 | return SWIG_Python_InitShadowInstance(args); | |
12420 | } | |
d14a1e28 | 12421 | |
0085ce49 RD |
12422 | SWIGINTERN PyObject *_wrap_new_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12423 | PyObject *resultobj = 0; | |
12424 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
12425 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
12426 | wxWindow *arg2 = (wxWindow *) NULL ; | |
12427 | wxHtmlEasyPrinting *result = 0 ; | |
12428 | bool temp1 = false ; | |
12429 | void *argp2 = 0 ; | |
12430 | int res2 = 0 ; | |
12431 | PyObject * obj0 = 0 ; | |
12432 | PyObject * obj1 = 0 ; | |
12433 | char * kwnames[] = { | |
12434 | (char *) "name",(char *) "parentWindow", NULL | |
12435 | }; | |
12436 | ||
12437 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) SWIG_fail; | |
12438 | if (obj0) { | |
093d3ff1 | 12439 | { |
0085ce49 RD |
12440 | arg1 = wxString_in_helper(obj0); |
12441 | if (arg1 == NULL) SWIG_fail; | |
12442 | temp1 = true; | |
093d3ff1 | 12443 | } |
0085ce49 RD |
12444 | } |
12445 | if (obj1) { | |
12446 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12447 | if (!SWIG_IsOK(res2)) { | |
12448 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlEasyPrinting" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 12449 | } |
0085ce49 RD |
12450 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12451 | } | |
12452 | { | |
12453 | if (!wxPyCheckForApp()) SWIG_fail; | |
12454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12455 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
12456 | wxPyEndAllowThreads(__tstate); | |
12457 | if (PyErr_Occurred()) SWIG_fail; | |
12458 | } | |
12459 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_NEW | 0 ); | |
12460 | { | |
12461 | if (temp1) | |
12462 | delete arg1; | |
12463 | } | |
12464 | return resultobj; | |
12465 | fail: | |
12466 | { | |
12467 | if (temp1) | |
12468 | delete arg1; | |
12469 | } | |
12470 | return NULL; | |
d14a1e28 RD |
12471 | } |
12472 | ||
12473 | ||
0085ce49 RD |
12474 | SWIGINTERN PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12475 | PyObject *resultobj = 0; | |
12476 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12477 | void *argp1 = 0 ; | |
12478 | int res1 = 0 ; | |
12479 | PyObject *swig_obj[1] ; | |
12480 | ||
12481 | if (!args) SWIG_fail; | |
12482 | swig_obj[0] = args; | |
12483 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_POINTER_DISOWN | 0 ); | |
12484 | if (!SWIG_IsOK(res1)) { | |
12485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlEasyPrinting" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12486 | } | |
12487 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12488 | { | |
12489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12490 | delete arg1; | |
d14a1e28 | 12491 | |
0085ce49 RD |
12492 | wxPyEndAllowThreads(__tstate); |
12493 | if (PyErr_Occurred()) SWIG_fail; | |
12494 | } | |
12495 | resultobj = SWIG_Py_Void(); | |
12496 | return resultobj; | |
12497 | fail: | |
12498 | return NULL; | |
12499 | } | |
12500 | ||
12501 | ||
12502 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12503 | PyObject *resultobj = 0; | |
12504 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12505 | wxString *arg2 = 0 ; | |
12506 | void *argp1 = 0 ; | |
12507 | int res1 = 0 ; | |
12508 | bool temp2 = false ; | |
12509 | PyObject * obj0 = 0 ; | |
12510 | PyObject * obj1 = 0 ; | |
12511 | char * kwnames[] = { | |
12512 | (char *) "self",(char *) "htmlfile", NULL | |
12513 | }; | |
12514 | ||
12515 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12516 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12517 | if (!SWIG_IsOK(res1)) { | |
12518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12519 | } | |
12520 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12521 | { | |
12522 | arg2 = wxString_in_helper(obj1); | |
12523 | if (arg2 == NULL) SWIG_fail; | |
12524 | temp2 = true; | |
12525 | } | |
12526 | { | |
12527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12528 | (arg1)->PreviewFile((wxString const &)*arg2); | |
12529 | wxPyEndAllowThreads(__tstate); | |
12530 | if (PyErr_Occurred()) SWIG_fail; | |
12531 | } | |
12532 | resultobj = SWIG_Py_Void(); | |
12533 | { | |
12534 | if (temp2) | |
12535 | delete arg2; | |
12536 | } | |
12537 | return resultobj; | |
12538 | fail: | |
12539 | { | |
12540 | if (temp2) | |
12541 | delete arg2; | |
12542 | } | |
12543 | return NULL; | |
12544 | } | |
12545 | ||
12546 | ||
12547 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12548 | PyObject *resultobj = 0; | |
12549 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12550 | wxString *arg2 = 0 ; | |
12551 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12552 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12553 | void *argp1 = 0 ; | |
12554 | int res1 = 0 ; | |
12555 | bool temp2 = false ; | |
12556 | bool temp3 = false ; | |
12557 | PyObject * obj0 = 0 ; | |
12558 | PyObject * obj1 = 0 ; | |
12559 | PyObject * obj2 = 0 ; | |
12560 | char * kwnames[] = { | |
12561 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12562 | }; | |
12563 | ||
12564 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12565 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12566 | if (!SWIG_IsOK(res1)) { | |
12567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PreviewText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12568 | } | |
12569 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12570 | { | |
12571 | arg2 = wxString_in_helper(obj1); | |
12572 | if (arg2 == NULL) SWIG_fail; | |
12573 | temp2 = true; | |
12574 | } | |
12575 | if (obj2) { | |
d14a1e28 | 12576 | { |
0085ce49 RD |
12577 | arg3 = wxString_in_helper(obj2); |
12578 | if (arg3 == NULL) SWIG_fail; | |
12579 | temp3 = true; | |
d14a1e28 | 12580 | } |
0085ce49 RD |
12581 | } |
12582 | { | |
12583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12584 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
12585 | wxPyEndAllowThreads(__tstate); | |
12586 | if (PyErr_Occurred()) SWIG_fail; | |
12587 | } | |
12588 | resultobj = SWIG_Py_Void(); | |
12589 | { | |
12590 | if (temp2) | |
12591 | delete arg2; | |
12592 | } | |
12593 | { | |
12594 | if (temp3) | |
12595 | delete arg3; | |
12596 | } | |
12597 | return resultobj; | |
12598 | fail: | |
12599 | { | |
12600 | if (temp2) | |
12601 | delete arg2; | |
12602 | } | |
12603 | { | |
12604 | if (temp3) | |
12605 | delete arg3; | |
12606 | } | |
12607 | return NULL; | |
d14a1e28 RD |
12608 | } |
12609 | ||
12610 | ||
0085ce49 RD |
12611 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12612 | PyObject *resultobj = 0; | |
12613 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12614 | wxString *arg2 = 0 ; | |
12615 | void *argp1 = 0 ; | |
12616 | int res1 = 0 ; | |
12617 | bool temp2 = false ; | |
12618 | PyObject * obj0 = 0 ; | |
12619 | PyObject * obj1 = 0 ; | |
12620 | char * kwnames[] = { | |
12621 | (char *) "self",(char *) "htmlfile", NULL | |
12622 | }; | |
12623 | ||
12624 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
12625 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12626 | if (!SWIG_IsOK(res1)) { | |
12627 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintFile" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12628 | } | |
12629 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12630 | { | |
12631 | arg2 = wxString_in_helper(obj1); | |
12632 | if (arg2 == NULL) SWIG_fail; | |
12633 | temp2 = true; | |
12634 | } | |
12635 | { | |
12636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12637 | (arg1)->PrintFile((wxString const &)*arg2); | |
12638 | wxPyEndAllowThreads(__tstate); | |
12639 | if (PyErr_Occurred()) SWIG_fail; | |
12640 | } | |
12641 | resultobj = SWIG_Py_Void(); | |
12642 | { | |
12643 | if (temp2) | |
12644 | delete arg2; | |
12645 | } | |
12646 | return resultobj; | |
12647 | fail: | |
12648 | { | |
12649 | if (temp2) | |
12650 | delete arg2; | |
12651 | } | |
12652 | return NULL; | |
12653 | } | |
12654 | ||
12655 | ||
12656 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12657 | PyObject *resultobj = 0; | |
12658 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12659 | wxString *arg2 = 0 ; | |
12660 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12661 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12662 | void *argp1 = 0 ; | |
12663 | int res1 = 0 ; | |
12664 | bool temp2 = false ; | |
12665 | bool temp3 = false ; | |
12666 | PyObject * obj0 = 0 ; | |
12667 | PyObject * obj1 = 0 ; | |
12668 | PyObject * obj2 = 0 ; | |
12669 | char * kwnames[] = { | |
12670 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
12671 | }; | |
12672 | ||
12673 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12674 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12675 | if (!SWIG_IsOK(res1)) { | |
12676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PrintText" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12677 | } | |
12678 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12679 | { | |
12680 | arg2 = wxString_in_helper(obj1); | |
12681 | if (arg2 == NULL) SWIG_fail; | |
12682 | temp2 = true; | |
12683 | } | |
12684 | if (obj2) { | |
d14a1e28 | 12685 | { |
0085ce49 RD |
12686 | arg3 = wxString_in_helper(obj2); |
12687 | if (arg3 == NULL) SWIG_fail; | |
12688 | temp3 = true; | |
d14a1e28 | 12689 | } |
0085ce49 RD |
12690 | } |
12691 | { | |
12692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12693 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
12694 | wxPyEndAllowThreads(__tstate); | |
12695 | if (PyErr_Occurred()) SWIG_fail; | |
12696 | } | |
12697 | resultobj = SWIG_Py_Void(); | |
12698 | { | |
12699 | if (temp2) | |
12700 | delete arg2; | |
12701 | } | |
12702 | { | |
12703 | if (temp3) | |
12704 | delete arg3; | |
12705 | } | |
12706 | return resultobj; | |
12707 | fail: | |
12708 | { | |
12709 | if (temp2) | |
12710 | delete arg2; | |
12711 | } | |
12712 | { | |
12713 | if (temp3) | |
12714 | delete arg3; | |
12715 | } | |
12716 | return NULL; | |
d14a1e28 RD |
12717 | } |
12718 | ||
12719 | ||
0085ce49 RD |
12720 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12721 | PyObject *resultobj = 0; | |
12722 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12723 | void *argp1 = 0 ; | |
12724 | int res1 = 0 ; | |
12725 | PyObject *swig_obj[1] ; | |
12726 | ||
12727 | if (!args) SWIG_fail; | |
12728 | swig_obj[0] = args; | |
12729 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12730 | if (!SWIG_IsOK(res1)) { | |
12731 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_PageSetup" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12732 | } | |
12733 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12734 | { | |
12735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12736 | (arg1)->PageSetup(); | |
12737 | wxPyEndAllowThreads(__tstate); | |
12738 | if (PyErr_Occurred()) SWIG_fail; | |
12739 | } | |
12740 | resultobj = SWIG_Py_Void(); | |
12741 | return resultobj; | |
12742 | fail: | |
12743 | return NULL; | |
12744 | } | |
12745 | ||
12746 | ||
12747 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12748 | PyObject *resultobj = 0; | |
12749 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12750 | wxString *arg2 = 0 ; | |
12751 | int arg3 = (int) wxPAGE_ALL ; | |
12752 | void *argp1 = 0 ; | |
12753 | int res1 = 0 ; | |
12754 | bool temp2 = false ; | |
12755 | int val3 ; | |
12756 | int ecode3 = 0 ; | |
12757 | PyObject * obj0 = 0 ; | |
12758 | PyObject * obj1 = 0 ; | |
12759 | PyObject * obj2 = 0 ; | |
12760 | char * kwnames[] = { | |
12761 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
12762 | }; | |
12763 | ||
12764 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12765 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12766 | if (!SWIG_IsOK(res1)) { | |
12767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12768 | } | |
12769 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12770 | { | |
12771 | arg2 = wxString_in_helper(obj1); | |
12772 | if (arg2 == NULL) SWIG_fail; | |
12773 | temp2 = true; | |
12774 | } | |
12775 | if (obj2) { | |
12776 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12777 | if (!SWIG_IsOK(ecode3)) { | |
12778 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetHeader" "', expected argument " "3"" of type '" "int""'"); | |
12779 | } | |
12780 | arg3 = static_cast< int >(val3); | |
12781 | } | |
12782 | { | |
12783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12784 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
12785 | wxPyEndAllowThreads(__tstate); | |
12786 | if (PyErr_Occurred()) SWIG_fail; | |
12787 | } | |
12788 | resultobj = SWIG_Py_Void(); | |
12789 | { | |
12790 | if (temp2) | |
12791 | delete arg2; | |
12792 | } | |
12793 | return resultobj; | |
12794 | fail: | |
12795 | { | |
12796 | if (temp2) | |
12797 | delete arg2; | |
12798 | } | |
12799 | return NULL; | |
12800 | } | |
12801 | ||
12802 | ||
12803 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12804 | PyObject *resultobj = 0; | |
12805 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12806 | wxString *arg2 = 0 ; | |
12807 | int arg3 = (int) wxPAGE_ALL ; | |
12808 | void *argp1 = 0 ; | |
12809 | int res1 = 0 ; | |
12810 | bool temp2 = false ; | |
12811 | int val3 ; | |
12812 | int ecode3 = 0 ; | |
12813 | PyObject * obj0 = 0 ; | |
12814 | PyObject * obj1 = 0 ; | |
12815 | PyObject * obj2 = 0 ; | |
12816 | char * kwnames[] = { | |
12817 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
12818 | }; | |
12819 | ||
12820 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12821 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12822 | if (!SWIG_IsOK(res1)) { | |
12823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12824 | } | |
12825 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12826 | { | |
12827 | arg2 = wxString_in_helper(obj1); | |
12828 | if (arg2 == NULL) SWIG_fail; | |
12829 | temp2 = true; | |
12830 | } | |
12831 | if (obj2) { | |
12832 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12833 | if (!SWIG_IsOK(ecode3)) { | |
12834 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlEasyPrinting_SetFooter" "', expected argument " "3"" of type '" "int""'"); | |
12835 | } | |
12836 | arg3 = static_cast< int >(val3); | |
12837 | } | |
12838 | { | |
12839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12840 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
12841 | wxPyEndAllowThreads(__tstate); | |
12842 | if (PyErr_Occurred()) SWIG_fail; | |
12843 | } | |
12844 | resultobj = SWIG_Py_Void(); | |
12845 | { | |
12846 | if (temp2) | |
12847 | delete arg2; | |
12848 | } | |
12849 | return resultobj; | |
12850 | fail: | |
12851 | { | |
12852 | if (temp2) | |
12853 | delete arg2; | |
12854 | } | |
12855 | return NULL; | |
12856 | } | |
12857 | ||
12858 | ||
12859 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12860 | PyObject *resultobj = 0; | |
12861 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12862 | wxString arg2 ; | |
12863 | wxString arg3 ; | |
12864 | PyObject *arg4 = (PyObject *) NULL ; | |
12865 | void *argp1 = 0 ; | |
12866 | int res1 = 0 ; | |
12867 | PyObject * obj0 = 0 ; | |
12868 | PyObject * obj1 = 0 ; | |
12869 | PyObject * obj2 = 0 ; | |
12870 | PyObject * obj3 = 0 ; | |
12871 | char * kwnames[] = { | |
12872 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
12873 | }; | |
12874 | ||
12875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12877 | if (!SWIG_IsOK(res1)) { | |
12878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12879 | } | |
12880 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12881 | { | |
12882 | wxString* sptr = wxString_in_helper(obj1); | |
12883 | if (sptr == NULL) SWIG_fail; | |
12884 | arg2 = *sptr; | |
12885 | delete sptr; | |
12886 | } | |
12887 | { | |
12888 | wxString* sptr = wxString_in_helper(obj2); | |
12889 | if (sptr == NULL) SWIG_fail; | |
12890 | arg3 = *sptr; | |
12891 | delete sptr; | |
12892 | } | |
12893 | if (obj3) { | |
12894 | arg4 = obj3; | |
12895 | } | |
12896 | { | |
12897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12898 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
12899 | wxPyEndAllowThreads(__tstate); | |
12900 | if (PyErr_Occurred()) SWIG_fail; | |
12901 | } | |
12902 | resultobj = SWIG_Py_Void(); | |
12903 | return resultobj; | |
12904 | fail: | |
12905 | return NULL; | |
12906 | } | |
12907 | ||
12908 | ||
12909 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12910 | PyObject *resultobj = 0; | |
12911 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12912 | int arg2 = (int) -1 ; | |
12913 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12914 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12915 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12916 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12917 | void *argp1 = 0 ; | |
12918 | int res1 = 0 ; | |
12919 | int val2 ; | |
12920 | int ecode2 = 0 ; | |
12921 | bool temp3 = false ; | |
12922 | bool temp4 = false ; | |
12923 | PyObject * obj0 = 0 ; | |
12924 | PyObject * obj1 = 0 ; | |
12925 | PyObject * obj2 = 0 ; | |
12926 | PyObject * obj3 = 0 ; | |
12927 | char * kwnames[] = { | |
12928 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL | |
12929 | }; | |
12930 | ||
12931 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12932 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12933 | if (!SWIG_IsOK(res1)) { | |
12934 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
12935 | } | |
12936 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
12937 | if (obj1) { | |
12938 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12939 | if (!SWIG_IsOK(ecode2)) { | |
12940 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlEasyPrinting_SetStandardFonts" "', expected argument " "2"" of type '" "int""'"); | |
12941 | } | |
12942 | arg2 = static_cast< int >(val2); | |
12943 | } | |
12944 | if (obj2) { | |
d14a1e28 | 12945 | { |
0085ce49 RD |
12946 | arg3 = wxString_in_helper(obj2); |
12947 | if (arg3 == NULL) SWIG_fail; | |
12948 | temp3 = true; | |
d14a1e28 | 12949 | } |
0085ce49 RD |
12950 | } |
12951 | if (obj3) { | |
d14a1e28 | 12952 | { |
0085ce49 RD |
12953 | arg4 = wxString_in_helper(obj3); |
12954 | if (arg4 == NULL) SWIG_fail; | |
12955 | temp4 = true; | |
d14a1e28 | 12956 | } |
0085ce49 RD |
12957 | } |
12958 | { | |
12959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12960 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
12961 | wxPyEndAllowThreads(__tstate); | |
12962 | if (PyErr_Occurred()) SWIG_fail; | |
12963 | } | |
12964 | resultobj = SWIG_Py_Void(); | |
12965 | { | |
12966 | if (temp3) | |
12967 | delete arg3; | |
12968 | } | |
12969 | { | |
12970 | if (temp4) | |
12971 | delete arg4; | |
12972 | } | |
12973 | return resultobj; | |
12974 | fail: | |
12975 | { | |
12976 | if (temp3) | |
12977 | delete arg3; | |
12978 | } | |
12979 | { | |
12980 | if (temp4) | |
12981 | delete arg4; | |
12982 | } | |
12983 | return NULL; | |
d14a1e28 RD |
12984 | } |
12985 | ||
12986 | ||
0085ce49 RD |
12987 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12988 | PyObject *resultobj = 0; | |
12989 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
12990 | wxPrintData *result = 0 ; | |
12991 | void *argp1 = 0 ; | |
12992 | int res1 = 0 ; | |
12993 | PyObject *swig_obj[1] ; | |
12994 | ||
12995 | if (!args) SWIG_fail; | |
12996 | swig_obj[0] = args; | |
12997 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
12998 | if (!SWIG_IsOK(res1)) { | |
12999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPrintData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
13000 | } | |
13001 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
13002 | { | |
13003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13004 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
13005 | wxPyEndAllowThreads(__tstate); | |
13006 | if (PyErr_Occurred()) SWIG_fail; | |
13007 | } | |
13008 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 ); | |
13009 | return resultobj; | |
13010 | fail: | |
13011 | return NULL; | |
d14a1e28 RD |
13012 | } |
13013 | ||
13014 | ||
0085ce49 RD |
13015 | SWIGINTERN PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13016 | PyObject *resultobj = 0; | |
13017 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
13018 | wxPageSetupDialogData *result = 0 ; | |
13019 | void *argp1 = 0 ; | |
13020 | int res1 = 0 ; | |
13021 | PyObject *swig_obj[1] ; | |
13022 | ||
13023 | if (!args) SWIG_fail; | |
13024 | swig_obj[0] = args; | |
13025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlEasyPrinting, 0 | 0 ); | |
13026 | if (!SWIG_IsOK(res1)) { | |
13027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlEasyPrinting_GetPageSetupData" "', expected argument " "1"" of type '" "wxHtmlEasyPrinting *""'"); | |
13028 | } | |
13029 | arg1 = reinterpret_cast< wxHtmlEasyPrinting * >(argp1); | |
13030 | { | |
13031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13032 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
13033 | wxPyEndAllowThreads(__tstate); | |
13034 | if (PyErr_Occurred()) SWIG_fail; | |
13035 | } | |
13036 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 ); | |
13037 | return resultobj; | |
13038 | fail: | |
13039 | return NULL; | |
13040 | } | |
13041 | ||
13042 | ||
13043 | SWIGINTERN PyObject *HtmlEasyPrinting_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13044 | PyObject *obj; | |
13045 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13046 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlEasyPrinting, SWIG_NewClientData(obj)); | |
13047 | return SWIG_Py_Void(); | |
13048 | } | |
13049 | ||
13050 | SWIGINTERN PyObject *HtmlEasyPrinting_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13051 | return SWIG_Python_InitShadowInstance(args); | |
13052 | } | |
13053 | ||
13054 | SWIGINTERN PyObject *_wrap_new_HtmlBookRecord(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13055 | PyObject *resultobj = 0; | |
13056 | wxString *arg1 = 0 ; | |
13057 | wxString *arg2 = 0 ; | |
13058 | wxString *arg3 = 0 ; | |
13059 | wxString *arg4 = 0 ; | |
13060 | wxHtmlBookRecord *result = 0 ; | |
13061 | bool temp1 = false ; | |
13062 | bool temp2 = false ; | |
13063 | bool temp3 = false ; | |
13064 | bool temp4 = false ; | |
13065 | PyObject * obj0 = 0 ; | |
13066 | PyObject * obj1 = 0 ; | |
13067 | PyObject * obj2 = 0 ; | |
13068 | PyObject * obj3 = 0 ; | |
13069 | char * kwnames[] = { | |
13070 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
13071 | }; | |
13072 | ||
13073 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13074 | { | |
13075 | arg1 = wxString_in_helper(obj0); | |
13076 | if (arg1 == NULL) SWIG_fail; | |
13077 | temp1 = true; | |
13078 | } | |
13079 | { | |
13080 | arg2 = wxString_in_helper(obj1); | |
13081 | if (arg2 == NULL) SWIG_fail; | |
13082 | temp2 = true; | |
13083 | } | |
13084 | { | |
13085 | arg3 = wxString_in_helper(obj2); | |
13086 | if (arg3 == NULL) SWIG_fail; | |
13087 | temp3 = true; | |
13088 | } | |
13089 | { | |
13090 | arg4 = wxString_in_helper(obj3); | |
13091 | if (arg4 == NULL) SWIG_fail; | |
13092 | temp4 = true; | |
13093 | } | |
13094 | { | |
13095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13096 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
13097 | wxPyEndAllowThreads(__tstate); | |
13098 | if (PyErr_Occurred()) SWIG_fail; | |
13099 | } | |
13100 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_NEW | 0 ); | |
13101 | { | |
13102 | if (temp1) | |
13103 | delete arg1; | |
13104 | } | |
13105 | { | |
13106 | if (temp2) | |
13107 | delete arg2; | |
13108 | } | |
13109 | { | |
13110 | if (temp3) | |
13111 | delete arg3; | |
13112 | } | |
13113 | { | |
13114 | if (temp4) | |
13115 | delete arg4; | |
13116 | } | |
13117 | return resultobj; | |
13118 | fail: | |
13119 | { | |
13120 | if (temp1) | |
13121 | delete arg1; | |
13122 | } | |
13123 | { | |
13124 | if (temp2) | |
13125 | delete arg2; | |
13126 | } | |
13127 | { | |
13128 | if (temp3) | |
13129 | delete arg3; | |
13130 | } | |
13131 | { | |
13132 | if (temp4) | |
13133 | delete arg4; | |
13134 | } | |
13135 | return NULL; | |
d14a1e28 RD |
13136 | } |
13137 | ||
13138 | ||
0085ce49 RD |
13139 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13140 | PyObject *resultobj = 0; | |
13141 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13142 | wxString result; | |
13143 | void *argp1 = 0 ; | |
13144 | int res1 = 0 ; | |
13145 | PyObject *swig_obj[1] ; | |
13146 | ||
13147 | if (!args) SWIG_fail; | |
13148 | swig_obj[0] = args; | |
13149 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13150 | if (!SWIG_IsOK(res1)) { | |
13151 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBookFile" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13152 | } | |
13153 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13154 | { | |
13155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13156 | result = (arg1)->GetBookFile(); | |
13157 | wxPyEndAllowThreads(__tstate); | |
13158 | if (PyErr_Occurred()) SWIG_fail; | |
13159 | } | |
13160 | { | |
13161 | #if wxUSE_UNICODE | |
13162 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13163 | #else | |
13164 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13165 | #endif | |
13166 | } | |
13167 | return resultobj; | |
13168 | fail: | |
13169 | return NULL; | |
d14a1e28 RD |
13170 | } |
13171 | ||
13172 | ||
0085ce49 RD |
13173 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13174 | PyObject *resultobj = 0; | |
13175 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13176 | wxString result; | |
13177 | void *argp1 = 0 ; | |
13178 | int res1 = 0 ; | |
13179 | PyObject *swig_obj[1] ; | |
13180 | ||
13181 | if (!args) SWIG_fail; | |
13182 | swig_obj[0] = args; | |
13183 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13184 | if (!SWIG_IsOK(res1)) { | |
13185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13186 | } | |
13187 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13188 | { | |
13189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13190 | result = (arg1)->GetTitle(); | |
13191 | wxPyEndAllowThreads(__tstate); | |
13192 | if (PyErr_Occurred()) SWIG_fail; | |
13193 | } | |
13194 | { | |
13195 | #if wxUSE_UNICODE | |
13196 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13197 | #else | |
13198 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13199 | #endif | |
13200 | } | |
13201 | return resultobj; | |
13202 | fail: | |
13203 | return NULL; | |
d14a1e28 RD |
13204 | } |
13205 | ||
13206 | ||
0085ce49 RD |
13207 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13208 | PyObject *resultobj = 0; | |
13209 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13210 | wxString result; | |
13211 | void *argp1 = 0 ; | |
13212 | int res1 = 0 ; | |
13213 | PyObject *swig_obj[1] ; | |
13214 | ||
13215 | if (!args) SWIG_fail; | |
13216 | swig_obj[0] = args; | |
13217 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13218 | if (!SWIG_IsOK(res1)) { | |
13219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13220 | } | |
13221 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13222 | { | |
13223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13224 | result = (arg1)->GetStart(); | |
13225 | wxPyEndAllowThreads(__tstate); | |
13226 | if (PyErr_Occurred()) SWIG_fail; | |
13227 | } | |
13228 | { | |
13229 | #if wxUSE_UNICODE | |
13230 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13231 | #else | |
13232 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13233 | #endif | |
13234 | } | |
13235 | return resultobj; | |
13236 | fail: | |
13237 | return NULL; | |
d14a1e28 RD |
13238 | } |
13239 | ||
13240 | ||
0085ce49 RD |
13241 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13242 | PyObject *resultobj = 0; | |
13243 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13244 | wxString result; | |
13245 | void *argp1 = 0 ; | |
13246 | int res1 = 0 ; | |
13247 | PyObject *swig_obj[1] ; | |
13248 | ||
13249 | if (!args) SWIG_fail; | |
13250 | swig_obj[0] = args; | |
13251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13252 | if (!SWIG_IsOK(res1)) { | |
13253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13254 | } | |
13255 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13256 | { | |
13257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13258 | result = (arg1)->GetBasePath(); | |
13259 | wxPyEndAllowThreads(__tstate); | |
13260 | if (PyErr_Occurred()) SWIG_fail; | |
13261 | } | |
13262 | { | |
13263 | #if wxUSE_UNICODE | |
13264 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13265 | #else | |
13266 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13267 | #endif | |
13268 | } | |
13269 | return resultobj; | |
13270 | fail: | |
13271 | return NULL; | |
13272 | } | |
13273 | ||
13274 | ||
13275 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13276 | PyObject *resultobj = 0; | |
13277 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13278 | int arg2 ; | |
13279 | int arg3 ; | |
13280 | void *argp1 = 0 ; | |
13281 | int res1 = 0 ; | |
13282 | int val2 ; | |
13283 | int ecode2 = 0 ; | |
13284 | int val3 ; | |
13285 | int ecode3 = 0 ; | |
13286 | PyObject * obj0 = 0 ; | |
13287 | PyObject * obj1 = 0 ; | |
13288 | PyObject * obj2 = 0 ; | |
13289 | char * kwnames[] = { | |
13290 | (char *) "self",(char *) "start",(char *) "end", NULL | |
13291 | }; | |
13292 | ||
13293 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13294 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13295 | if (!SWIG_IsOK(res1)) { | |
13296 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13297 | } | |
13298 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13299 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13300 | if (!SWIG_IsOK(ecode2)) { | |
13301 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "2"" of type '" "int""'"); | |
13302 | } | |
13303 | arg2 = static_cast< int >(val2); | |
13304 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13305 | if (!SWIG_IsOK(ecode3)) { | |
13306 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlBookRecord_SetContentsRange" "', expected argument " "3"" of type '" "int""'"); | |
13307 | } | |
13308 | arg3 = static_cast< int >(val3); | |
13309 | { | |
13310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13311 | (arg1)->SetContentsRange(arg2,arg3); | |
13312 | wxPyEndAllowThreads(__tstate); | |
13313 | if (PyErr_Occurred()) SWIG_fail; | |
13314 | } | |
13315 | resultobj = SWIG_Py_Void(); | |
13316 | return resultobj; | |
13317 | fail: | |
13318 | return NULL; | |
d14a1e28 RD |
13319 | } |
13320 | ||
13321 | ||
0085ce49 RD |
13322 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13323 | PyObject *resultobj = 0; | |
13324 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13325 | int result; | |
13326 | void *argp1 = 0 ; | |
13327 | int res1 = 0 ; | |
13328 | PyObject *swig_obj[1] ; | |
13329 | ||
13330 | if (!args) SWIG_fail; | |
13331 | swig_obj[0] = args; | |
13332 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13333 | if (!SWIG_IsOK(res1)) { | |
13334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13335 | } | |
13336 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13337 | { | |
13338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13339 | result = (int)(arg1)->GetContentsStart(); | |
13340 | wxPyEndAllowThreads(__tstate); | |
13341 | if (PyErr_Occurred()) SWIG_fail; | |
13342 | } | |
13343 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13344 | return resultobj; | |
13345 | fail: | |
13346 | return NULL; | |
d14a1e28 | 13347 | } |
0085ce49 RD |
13348 | |
13349 | ||
13350 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13351 | PyObject *resultobj = 0; | |
13352 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13353 | int result; | |
13354 | void *argp1 = 0 ; | |
13355 | int res1 = 0 ; | |
13356 | PyObject *swig_obj[1] ; | |
13357 | ||
13358 | if (!args) SWIG_fail; | |
13359 | swig_obj[0] = args; | |
13360 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13361 | if (!SWIG_IsOK(res1)) { | |
13362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetContentsEnd" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13363 | } | |
13364 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13365 | { | |
13366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13367 | result = (int)(arg1)->GetContentsEnd(); | |
13368 | wxPyEndAllowThreads(__tstate); | |
13369 | if (PyErr_Occurred()) SWIG_fail; | |
13370 | } | |
13371 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13372 | return resultobj; | |
13373 | fail: | |
13374 | return NULL; | |
13375 | } | |
13376 | ||
13377 | ||
13378 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13379 | PyObject *resultobj = 0; | |
13380 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13381 | wxString *arg2 = 0 ; | |
13382 | void *argp1 = 0 ; | |
13383 | int res1 = 0 ; | |
13384 | bool temp2 = false ; | |
13385 | PyObject * obj0 = 0 ; | |
13386 | PyObject * obj1 = 0 ; | |
13387 | char * kwnames[] = { | |
13388 | (char *) "self",(char *) "title", NULL | |
13389 | }; | |
13390 | ||
13391 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
13392 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13393 | if (!SWIG_IsOK(res1)) { | |
13394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetTitle" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13395 | } | |
13396 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13397 | { | |
13398 | arg2 = wxString_in_helper(obj1); | |
13399 | if (arg2 == NULL) SWIG_fail; | |
13400 | temp2 = true; | |
13401 | } | |
13402 | { | |
13403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13404 | (arg1)->SetTitle((wxString const &)*arg2); | |
13405 | wxPyEndAllowThreads(__tstate); | |
13406 | if (PyErr_Occurred()) SWIG_fail; | |
13407 | } | |
13408 | resultobj = SWIG_Py_Void(); | |
13409 | { | |
13410 | if (temp2) | |
13411 | delete arg2; | |
13412 | } | |
13413 | return resultobj; | |
13414 | fail: | |
13415 | { | |
13416 | if (temp2) | |
13417 | delete arg2; | |
13418 | } | |
13419 | return NULL; | |
d14a1e28 RD |
13420 | } |
13421 | ||
13422 | ||
0085ce49 RD |
13423 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13424 | PyObject *resultobj = 0; | |
13425 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13426 | wxString *arg2 = 0 ; | |
13427 | void *argp1 = 0 ; | |
13428 | int res1 = 0 ; | |
13429 | bool temp2 = false ; | |
13430 | PyObject * obj0 = 0 ; | |
13431 | PyObject * obj1 = 0 ; | |
13432 | char * kwnames[] = { | |
13433 | (char *) "self",(char *) "path", NULL | |
13434 | }; | |
13435 | ||
13436 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13437 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13438 | if (!SWIG_IsOK(res1)) { | |
13439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetBasePath" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13440 | } | |
13441 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13442 | { | |
13443 | arg2 = wxString_in_helper(obj1); | |
13444 | if (arg2 == NULL) SWIG_fail; | |
13445 | temp2 = true; | |
13446 | } | |
13447 | { | |
13448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13449 | (arg1)->SetBasePath((wxString const &)*arg2); | |
13450 | wxPyEndAllowThreads(__tstate); | |
13451 | if (PyErr_Occurred()) SWIG_fail; | |
13452 | } | |
13453 | resultobj = SWIG_Py_Void(); | |
13454 | { | |
13455 | if (temp2) | |
13456 | delete arg2; | |
13457 | } | |
13458 | return resultobj; | |
13459 | fail: | |
13460 | { | |
13461 | if (temp2) | |
13462 | delete arg2; | |
13463 | } | |
13464 | return NULL; | |
d14a1e28 RD |
13465 | } |
13466 | ||
13467 | ||
0085ce49 RD |
13468 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13469 | PyObject *resultobj = 0; | |
13470 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13471 | wxString *arg2 = 0 ; | |
13472 | void *argp1 = 0 ; | |
13473 | int res1 = 0 ; | |
13474 | bool temp2 = false ; | |
13475 | PyObject * obj0 = 0 ; | |
13476 | PyObject * obj1 = 0 ; | |
13477 | char * kwnames[] = { | |
13478 | (char *) "self",(char *) "start", NULL | |
13479 | }; | |
13480 | ||
13481 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) SWIG_fail; | |
13482 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13483 | if (!SWIG_IsOK(res1)) { | |
13484 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_SetStart" "', expected argument " "1"" of type '" "wxHtmlBookRecord *""'"); | |
13485 | } | |
13486 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13487 | { | |
13488 | arg2 = wxString_in_helper(obj1); | |
13489 | if (arg2 == NULL) SWIG_fail; | |
13490 | temp2 = true; | |
13491 | } | |
13492 | { | |
13493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13494 | (arg1)->SetStart((wxString const &)*arg2); | |
13495 | wxPyEndAllowThreads(__tstate); | |
13496 | if (PyErr_Occurred()) SWIG_fail; | |
13497 | } | |
13498 | resultobj = SWIG_Py_Void(); | |
13499 | { | |
13500 | if (temp2) | |
13501 | delete arg2; | |
13502 | } | |
13503 | return resultobj; | |
13504 | fail: | |
13505 | { | |
13506 | if (temp2) | |
13507 | delete arg2; | |
13508 | } | |
13509 | return NULL; | |
13510 | } | |
13511 | ||
13512 | ||
13513 | SWIGINTERN PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13514 | PyObject *resultobj = 0; | |
13515 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
13516 | wxString *arg2 = 0 ; | |
13517 | wxString result; | |
13518 | void *argp1 = 0 ; | |
13519 | int res1 = 0 ; | |
13520 | bool temp2 = false ; | |
13521 | PyObject * obj0 = 0 ; | |
13522 | PyObject * obj1 = 0 ; | |
13523 | char * kwnames[] = { | |
13524 | (char *) "self",(char *) "page", NULL | |
13525 | }; | |
13526 | ||
13527 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) SWIG_fail; | |
13528 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlBookRecord, 0 | 0 ); | |
13529 | if (!SWIG_IsOK(res1)) { | |
13530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlBookRecord_GetFullPath" "', expected argument " "1"" of type '" "wxHtmlBookRecord const *""'"); | |
13531 | } | |
13532 | arg1 = reinterpret_cast< wxHtmlBookRecord * >(argp1); | |
13533 | { | |
13534 | arg2 = wxString_in_helper(obj1); | |
13535 | if (arg2 == NULL) SWIG_fail; | |
13536 | temp2 = true; | |
13537 | } | |
13538 | { | |
13539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13540 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
13541 | wxPyEndAllowThreads(__tstate); | |
13542 | if (PyErr_Occurred()) SWIG_fail; | |
13543 | } | |
13544 | { | |
13545 | #if wxUSE_UNICODE | |
13546 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13547 | #else | |
13548 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13549 | #endif | |
13550 | } | |
13551 | { | |
13552 | if (temp2) | |
13553 | delete arg2; | |
13554 | } | |
13555 | return resultobj; | |
13556 | fail: | |
13557 | { | |
13558 | if (temp2) | |
13559 | delete arg2; | |
13560 | } | |
13561 | return NULL; | |
d14a1e28 RD |
13562 | } |
13563 | ||
13564 | ||
0085ce49 RD |
13565 | SWIGINTERN PyObject *HtmlBookRecord_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13566 | PyObject *obj; | |
13567 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13568 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlBookRecord, SWIG_NewClientData(obj)); | |
13569 | return SWIG_Py_Void(); | |
d14a1e28 RD |
13570 | } |
13571 | ||
0085ce49 RD |
13572 | SWIGINTERN PyObject *HtmlBookRecord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13573 | return SWIG_Python_InitShadowInstance(args); | |
13574 | } | |
d14a1e28 | 13575 | |
0085ce49 RD |
13576 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_Search(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13577 | PyObject *resultobj = 0; | |
13578 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13579 | bool result; | |
13580 | void *argp1 = 0 ; | |
13581 | int res1 = 0 ; | |
13582 | PyObject *swig_obj[1] ; | |
13583 | ||
13584 | if (!args) SWIG_fail; | |
13585 | swig_obj[0] = args; | |
13586 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13587 | if (!SWIG_IsOK(res1)) { | |
13588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_Search" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13589 | } | |
13590 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13591 | { | |
13592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13593 | result = (bool)(arg1)->Search(); | |
13594 | wxPyEndAllowThreads(__tstate); | |
13595 | if (PyErr_Occurred()) SWIG_fail; | |
13596 | } | |
13597 | { | |
13598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13599 | } | |
13600 | return resultobj; | |
13601 | fail: | |
13602 | return NULL; | |
d14a1e28 RD |
13603 | } |
13604 | ||
13605 | ||
0085ce49 RD |
13606 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13607 | PyObject *resultobj = 0; | |
13608 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13609 | bool result; | |
13610 | void *argp1 = 0 ; | |
13611 | int res1 = 0 ; | |
13612 | PyObject *swig_obj[1] ; | |
13613 | ||
13614 | if (!args) SWIG_fail; | |
13615 | swig_obj[0] = args; | |
13616 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13617 | if (!SWIG_IsOK(res1)) { | |
13618 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_IsActive" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13619 | } | |
13620 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13621 | { | |
13622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13623 | result = (bool)(arg1)->IsActive(); | |
13624 | wxPyEndAllowThreads(__tstate); | |
13625 | if (PyErr_Occurred()) SWIG_fail; | |
13626 | } | |
13627 | { | |
13628 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13629 | } | |
13630 | return resultobj; | |
13631 | fail: | |
13632 | return NULL; | |
d14a1e28 RD |
13633 | } |
13634 | ||
13635 | ||
0085ce49 RD |
13636 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13637 | PyObject *resultobj = 0; | |
13638 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13639 | int result; | |
13640 | void *argp1 = 0 ; | |
13641 | int res1 = 0 ; | |
13642 | PyObject *swig_obj[1] ; | |
13643 | ||
13644 | if (!args) SWIG_fail; | |
13645 | swig_obj[0] = args; | |
13646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13647 | if (!SWIG_IsOK(res1)) { | |
13648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetCurIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13649 | } | |
13650 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13651 | { | |
13652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13653 | result = (int)(arg1)->GetCurIndex(); | |
13654 | wxPyEndAllowThreads(__tstate); | |
13655 | if (PyErr_Occurred()) SWIG_fail; | |
13656 | } | |
13657 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13658 | return resultobj; | |
13659 | fail: | |
13660 | return NULL; | |
d14a1e28 RD |
13661 | } |
13662 | ||
13663 | ||
0085ce49 RD |
13664 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13665 | PyObject *resultobj = 0; | |
13666 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13667 | int result; | |
13668 | void *argp1 = 0 ; | |
13669 | int res1 = 0 ; | |
13670 | PyObject *swig_obj[1] ; | |
13671 | ||
13672 | if (!args) SWIG_fail; | |
13673 | swig_obj[0] = args; | |
13674 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13675 | if (!SWIG_IsOK(res1)) { | |
13676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetMaxIndex" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13677 | } | |
13678 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13679 | { | |
13680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13681 | result = (int)(arg1)->GetMaxIndex(); | |
13682 | wxPyEndAllowThreads(__tstate); | |
13683 | if (PyErr_Occurred()) SWIG_fail; | |
13684 | } | |
13685 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13686 | return resultobj; | |
13687 | fail: | |
13688 | return NULL; | |
d14a1e28 RD |
13689 | } |
13690 | ||
13691 | ||
0085ce49 RD |
13692 | SWIGINTERN PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13693 | PyObject *resultobj = 0; | |
13694 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
13695 | wxString *result = 0 ; | |
13696 | void *argp1 = 0 ; | |
13697 | int res1 = 0 ; | |
13698 | PyObject *swig_obj[1] ; | |
13699 | ||
13700 | if (!args) SWIG_fail; | |
13701 | swig_obj[0] = args; | |
13702 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlSearchStatus, 0 | 0 ); | |
13703 | if (!SWIG_IsOK(res1)) { | |
13704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlSearchStatus_GetName" "', expected argument " "1"" of type '" "wxHtmlSearchStatus *""'"); | |
13705 | } | |
13706 | arg1 = reinterpret_cast< wxHtmlSearchStatus * >(argp1); | |
13707 | { | |
13708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13709 | { |
0085ce49 RD |
13710 | wxString const &_result_ref = (arg1)->GetName(); |
13711 | result = (wxString *) &_result_ref; | |
d14a1e28 | 13712 | } |
0085ce49 RD |
13713 | wxPyEndAllowThreads(__tstate); |
13714 | if (PyErr_Occurred()) SWIG_fail; | |
13715 | } | |
13716 | { | |
13717 | #if wxUSE_UNICODE | |
13718 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13719 | #else | |
13720 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13721 | #endif | |
13722 | } | |
13723 | return resultobj; | |
13724 | fail: | |
13725 | return NULL; | |
d14a1e28 RD |
13726 | } |
13727 | ||
13728 | ||
0085ce49 RD |
13729 | SWIGINTERN PyObject *HtmlSearchStatus_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13730 | PyObject *obj; | |
13731 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13732 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlSearchStatus, SWIG_NewClientData(obj)); | |
13733 | return SWIG_Py_Void(); | |
13734 | } | |
13735 | ||
13736 | SWIGINTERN PyObject *_wrap_new_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13737 | PyObject *resultobj = 0; | |
13738 | wxHtmlHelpData *result = 0 ; | |
13739 | ||
13740 | if (!SWIG_Python_UnpackTuple(args,"new_HtmlHelpData",0,0,0)) SWIG_fail; | |
13741 | { | |
13742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13743 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
13744 | wxPyEndAllowThreads(__tstate); | |
13745 | if (PyErr_Occurred()) SWIG_fail; | |
13746 | } | |
13747 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_NEW | 0 ); | |
13748 | return resultobj; | |
13749 | fail: | |
13750 | return NULL; | |
d14a1e28 RD |
13751 | } |
13752 | ||
13753 | ||
0085ce49 RD |
13754 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13755 | PyObject *resultobj = 0; | |
13756 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13757 | void *argp1 = 0 ; | |
13758 | int res1 = 0 ; | |
13759 | PyObject *swig_obj[1] ; | |
13760 | ||
13761 | if (!args) SWIG_fail; | |
13762 | swig_obj[0] = args; | |
13763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_DISOWN | 0 ); | |
13764 | if (!SWIG_IsOK(res1)) { | |
13765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpData" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13766 | } | |
13767 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13768 | { | |
13769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13770 | delete arg1; | |
d14a1e28 | 13771 | |
0085ce49 RD |
13772 | wxPyEndAllowThreads(__tstate); |
13773 | if (PyErr_Occurred()) SWIG_fail; | |
13774 | } | |
13775 | resultobj = SWIG_Py_Void(); | |
13776 | return resultobj; | |
13777 | fail: | |
13778 | return NULL; | |
13779 | } | |
13780 | ||
13781 | ||
13782 | SWIGINTERN PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13783 | PyObject *resultobj = 0; | |
13784 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13785 | wxString *arg2 = 0 ; | |
13786 | void *argp1 = 0 ; | |
13787 | int res1 = 0 ; | |
13788 | bool temp2 = false ; | |
13789 | PyObject * obj0 = 0 ; | |
13790 | PyObject * obj1 = 0 ; | |
13791 | char * kwnames[] = { | |
13792 | (char *) "self",(char *) "path", NULL | |
13793 | }; | |
13794 | ||
13795 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
13796 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13797 | if (!SWIG_IsOK(res1)) { | |
13798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13799 | } | |
13800 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13801 | { | |
13802 | arg2 = wxString_in_helper(obj1); | |
13803 | if (arg2 == NULL) SWIG_fail; | |
13804 | temp2 = true; | |
13805 | } | |
13806 | { | |
13807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13808 | (arg1)->SetTempDir((wxString const &)*arg2); | |
13809 | wxPyEndAllowThreads(__tstate); | |
13810 | if (PyErr_Occurred()) SWIG_fail; | |
13811 | } | |
13812 | resultobj = SWIG_Py_Void(); | |
13813 | { | |
13814 | if (temp2) | |
13815 | delete arg2; | |
13816 | } | |
13817 | return resultobj; | |
13818 | fail: | |
13819 | { | |
13820 | if (temp2) | |
13821 | delete arg2; | |
13822 | } | |
13823 | return NULL; | |
13824 | } | |
13825 | ||
13826 | ||
13827 | SWIGINTERN PyObject *_wrap_HtmlHelpData_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13828 | PyObject *resultobj = 0; | |
13829 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13830 | wxString *arg2 = 0 ; | |
13831 | bool result; | |
13832 | void *argp1 = 0 ; | |
13833 | int res1 = 0 ; | |
13834 | bool temp2 = false ; | |
13835 | PyObject * obj0 = 0 ; | |
13836 | PyObject * obj1 = 0 ; | |
13837 | char * kwnames[] = { | |
13838 | (char *) "self",(char *) "book", NULL | |
13839 | }; | |
13840 | ||
13841 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) SWIG_fail; | |
13842 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13843 | if (!SWIG_IsOK(res1)) { | |
13844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13845 | } | |
13846 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13847 | { | |
13848 | arg2 = wxString_in_helper(obj1); | |
13849 | if (arg2 == NULL) SWIG_fail; | |
13850 | temp2 = true; | |
13851 | } | |
13852 | { | |
13853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13854 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
13855 | wxPyEndAllowThreads(__tstate); | |
13856 | if (PyErr_Occurred()) SWIG_fail; | |
13857 | } | |
13858 | { | |
13859 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13860 | } | |
13861 | { | |
13862 | if (temp2) | |
13863 | delete arg2; | |
13864 | } | |
13865 | return resultobj; | |
13866 | fail: | |
13867 | { | |
13868 | if (temp2) | |
13869 | delete arg2; | |
13870 | } | |
13871 | return NULL; | |
13872 | } | |
13873 | ||
13874 | ||
13875 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13876 | PyObject *resultobj = 0; | |
13877 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13878 | wxString *arg2 = 0 ; | |
13879 | wxString result; | |
13880 | void *argp1 = 0 ; | |
13881 | int res1 = 0 ; | |
13882 | bool temp2 = false ; | |
13883 | PyObject * obj0 = 0 ; | |
13884 | PyObject * obj1 = 0 ; | |
13885 | char * kwnames[] = { | |
13886 | (char *) "self",(char *) "page", NULL | |
13887 | }; | |
13888 | ||
13889 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
13890 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13891 | if (!SWIG_IsOK(res1)) { | |
13892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageByName" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13893 | } | |
13894 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13895 | { | |
13896 | arg2 = wxString_in_helper(obj1); | |
13897 | if (arg2 == NULL) SWIG_fail; | |
13898 | temp2 = true; | |
13899 | } | |
13900 | { | |
13901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13902 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
13903 | wxPyEndAllowThreads(__tstate); | |
13904 | if (PyErr_Occurred()) SWIG_fail; | |
13905 | } | |
13906 | { | |
d14a1e28 | 13907 | #if wxUSE_UNICODE |
0085ce49 | 13908 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13909 | #else |
0085ce49 | 13910 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13911 | #endif |
0085ce49 RD |
13912 | } |
13913 | { | |
13914 | if (temp2) | |
13915 | delete arg2; | |
13916 | } | |
13917 | return resultobj; | |
13918 | fail: | |
13919 | { | |
13920 | if (temp2) | |
13921 | delete arg2; | |
13922 | } | |
13923 | return NULL; | |
13924 | } | |
13925 | ||
13926 | ||
13927 | SWIGINTERN PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13928 | PyObject *resultobj = 0; | |
13929 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13930 | int arg2 ; | |
13931 | wxString result; | |
13932 | void *argp1 = 0 ; | |
13933 | int res1 = 0 ; | |
13934 | int val2 ; | |
13935 | int ecode2 = 0 ; | |
13936 | PyObject * obj0 = 0 ; | |
13937 | PyObject * obj1 = 0 ; | |
13938 | char * kwnames[] = { | |
13939 | (char *) "self",(char *) "id", NULL | |
13940 | }; | |
13941 | ||
13942 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) SWIG_fail; | |
13943 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13944 | if (!SWIG_IsOK(res1)) { | |
13945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13946 | } | |
13947 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13948 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13949 | if (!SWIG_IsOK(ecode2)) { | |
13950 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpData_FindPageById" "', expected argument " "2"" of type '" "int""'"); | |
13951 | } | |
13952 | arg2 = static_cast< int >(val2); | |
13953 | { | |
13954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13955 | result = (arg1)->FindPageById(arg2); | |
13956 | wxPyEndAllowThreads(__tstate); | |
13957 | if (PyErr_Occurred()) SWIG_fail; | |
13958 | } | |
13959 | { | |
d14a1e28 | 13960 | #if wxUSE_UNICODE |
0085ce49 | 13961 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13962 | #else |
0085ce49 | 13963 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
d14a1e28 | 13964 | #endif |
0085ce49 RD |
13965 | } |
13966 | return resultobj; | |
13967 | fail: | |
13968 | return NULL; | |
d14a1e28 RD |
13969 | } |
13970 | ||
13971 | ||
0085ce49 RD |
13972 | SWIGINTERN PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13973 | PyObject *resultobj = 0; | |
13974 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
13975 | wxHtmlBookRecArray *result = 0 ; | |
13976 | void *argp1 = 0 ; | |
13977 | int res1 = 0 ; | |
13978 | PyObject *swig_obj[1] ; | |
13979 | ||
13980 | if (!args) SWIG_fail; | |
13981 | swig_obj[0] = args; | |
13982 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
13983 | if (!SWIG_IsOK(res1)) { | |
13984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpData_GetBookRecArray" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
13985 | } | |
13986 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); | |
13987 | { | |
13988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 13989 | { |
0085ce49 RD |
13990 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); |
13991 | result = (wxHtmlBookRecArray *) &_result_ref; | |
d14a1e28 | 13992 | } |
0085ce49 RD |
13993 | wxPyEndAllowThreads(__tstate); |
13994 | if (PyErr_Occurred()) SWIG_fail; | |
13995 | } | |
13996 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlBookRecArray, 0 | 0 ); | |
13997 | return resultobj; | |
13998 | fail: | |
13999 | return NULL; | |
14000 | } | |
14001 | ||
14002 | ||
14003 | SWIGINTERN PyObject *HtmlHelpData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14004 | PyObject *obj; | |
14005 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14006 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpData, SWIG_NewClientData(obj)); | |
14007 | return SWIG_Py_Void(); | |
14008 | } | |
14009 | ||
14010 | SWIGINTERN PyObject *HtmlHelpData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14011 | return SWIG_Python_InitShadowInstance(args); | |
14012 | } | |
14013 | ||
14014 | SWIGINTERN PyObject *_wrap_new_HtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14015 | PyObject *resultobj = 0; | |
14016 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14017 | int arg2 ; | |
14018 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14019 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14020 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14021 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14022 | int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14023 | int arg6 = (int) wxHF_DEFAULT_STYLE ; | |
14024 | wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; | |
14025 | wxHtmlHelpWindow *result = 0 ; | |
14026 | void *argp1 = 0 ; | |
14027 | int res1 = 0 ; | |
14028 | int val2 ; | |
14029 | int ecode2 = 0 ; | |
14030 | wxPoint temp3 ; | |
14031 | wxSize temp4 ; | |
14032 | int val5 ; | |
14033 | int ecode5 = 0 ; | |
14034 | int val6 ; | |
14035 | int ecode6 = 0 ; | |
14036 | void *argp7 = 0 ; | |
14037 | int res7 = 0 ; | |
14038 | PyObject * obj0 = 0 ; | |
14039 | PyObject * obj1 = 0 ; | |
14040 | PyObject * obj2 = 0 ; | |
14041 | PyObject * obj3 = 0 ; | |
14042 | PyObject * obj4 = 0 ; | |
14043 | PyObject * obj5 = 0 ; | |
14044 | PyObject * obj6 = 0 ; | |
14045 | char * kwnames[] = { | |
14046 | (char *) "parent",(char *)"arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL | |
14047 | }; | |
14048 | ||
14049 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14050 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14051 | if (!SWIG_IsOK(res1)) { | |
14052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14053 | } | |
14054 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14055 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14056 | if (!SWIG_IsOK(ecode2)) { | |
14057 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpWindow" "', expected argument " "2"" of type '" "int""'"); | |
14058 | } | |
14059 | arg2 = static_cast< int >(val2); | |
14060 | if (obj2) { | |
d14a1e28 | 14061 | { |
0085ce49 RD |
14062 | arg3 = &temp3; |
14063 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 | 14064 | } |
0085ce49 RD |
14065 | } |
14066 | if (obj3) { | |
d14a1e28 | 14067 | { |
0085ce49 RD |
14068 | arg4 = &temp4; |
14069 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14070 | } |
0085ce49 RD |
14071 | } |
14072 | if (obj4) { | |
14073 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
14074 | if (!SWIG_IsOK(ecode5)) { | |
14075 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlHelpWindow" "', expected argument " "5"" of type '" "int""'"); | |
14076 | } | |
14077 | arg5 = static_cast< int >(val5); | |
14078 | } | |
14079 | if (obj5) { | |
14080 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14081 | if (!SWIG_IsOK(ecode6)) { | |
14082 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_HtmlHelpWindow" "', expected argument " "6"" of type '" "int""'"); | |
14083 | } | |
14084 | arg6 = static_cast< int >(val6); | |
14085 | } | |
14086 | if (obj6) { | |
14087 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14088 | if (!SWIG_IsOK(res7)) { | |
14089 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_HtmlHelpWindow" "', expected argument " "7"" of type '" "wxHtmlHelpData *""'"); | |
14090 | } | |
14091 | arg7 = reinterpret_cast< wxHtmlHelpData * >(argp7); | |
14092 | } | |
14093 | { | |
14094 | if (!wxPyCheckForApp()) SWIG_fail; | |
14095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14096 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); | |
14097 | wxPyEndAllowThreads(__tstate); | |
14098 | if (PyErr_Occurred()) SWIG_fail; | |
14099 | } | |
14100 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_NEW | 0 ); | |
14101 | return resultobj; | |
14102 | fail: | |
14103 | return NULL; | |
14104 | } | |
14105 | ||
14106 | ||
14107 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14108 | PyObject *resultobj = 0; | |
14109 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
14110 | wxHtmlHelpWindow *result = 0 ; | |
14111 | void *argp1 = 0 ; | |
14112 | int res1 = 0 ; | |
14113 | PyObject * obj0 = 0 ; | |
14114 | char * kwnames[] = { | |
14115 | (char *) "data", NULL | |
14116 | }; | |
14117 | ||
14118 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) SWIG_fail; | |
14119 | if (obj0) { | |
14120 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14121 | if (!SWIG_IsOK(res1)) { | |
14122 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 14123 | } |
0085ce49 RD |
14124 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
14125 | } | |
14126 | { | |
14127 | if (!wxPyCheckForApp()) SWIG_fail; | |
14128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14129 | result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); | |
14130 | wxPyEndAllowThreads(__tstate); | |
14131 | if (PyErr_Occurred()) SWIG_fail; | |
14132 | } | |
14133 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_OWN | 0 ); | |
14134 | return resultobj; | |
14135 | fail: | |
14136 | return NULL; | |
14137 | } | |
14138 | ||
14139 | ||
14140 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14141 | PyObject *resultobj = 0; | |
14142 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14143 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14144 | int arg3 ; | |
14145 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14146 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14147 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14148 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14149 | int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
14150 | int arg7 = (int) wxHF_DEFAULT_STYLE ; | |
14151 | bool result; | |
14152 | void *argp1 = 0 ; | |
14153 | int res1 = 0 ; | |
14154 | void *argp2 = 0 ; | |
14155 | int res2 = 0 ; | |
14156 | int val3 ; | |
14157 | int ecode3 = 0 ; | |
14158 | wxPoint temp4 ; | |
14159 | wxSize temp5 ; | |
14160 | int val6 ; | |
14161 | int ecode6 = 0 ; | |
14162 | int val7 ; | |
14163 | int ecode7 = 0 ; | |
14164 | PyObject * obj0 = 0 ; | |
14165 | PyObject * obj1 = 0 ; | |
14166 | PyObject * obj2 = 0 ; | |
14167 | PyObject * obj3 = 0 ; | |
14168 | PyObject * obj4 = 0 ; | |
14169 | PyObject * obj5 = 0 ; | |
14170 | PyObject * obj6 = 0 ; | |
14171 | char * kwnames[] = { | |
14172 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL | |
14173 | }; | |
14174 | ||
14175 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
14176 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14177 | if (!SWIG_IsOK(res1)) { | |
14178 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Create" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14179 | } | |
14180 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14181 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14182 | if (!SWIG_IsOK(res2)) { | |
14183 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14184 | } | |
14185 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14186 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14187 | if (!SWIG_IsOK(ecode3)) { | |
14188 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
14189 | } | |
14190 | arg3 = static_cast< int >(val3); | |
14191 | if (obj3) { | |
d14a1e28 | 14192 | { |
0085ce49 RD |
14193 | arg4 = &temp4; |
14194 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 14195 | } |
0085ce49 RD |
14196 | } |
14197 | if (obj4) { | |
d14a1e28 | 14198 | { |
0085ce49 RD |
14199 | arg5 = &temp5; |
14200 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
d14a1e28 | 14201 | } |
0085ce49 RD |
14202 | } |
14203 | if (obj5) { | |
14204 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
14205 | if (!SWIG_IsOK(ecode6)) { | |
14206 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlHelpWindow_Create" "', expected argument " "6"" of type '" "int""'"); | |
14207 | } | |
14208 | arg6 = static_cast< int >(val6); | |
14209 | } | |
14210 | if (obj6) { | |
14211 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
14212 | if (!SWIG_IsOK(ecode7)) { | |
14213 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "HtmlHelpWindow_Create" "', expected argument " "7"" of type '" "int""'"); | |
14214 | } | |
14215 | arg7 = static_cast< int >(val7); | |
14216 | } | |
14217 | { | |
14218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14219 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); | |
14220 | wxPyEndAllowThreads(__tstate); | |
14221 | if (PyErr_Occurred()) SWIG_fail; | |
14222 | } | |
14223 | { | |
14224 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14225 | } | |
14226 | return resultobj; | |
14227 | fail: | |
14228 | return NULL; | |
d14a1e28 RD |
14229 | } |
14230 | ||
14231 | ||
0085ce49 RD |
14232 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14233 | PyObject *resultobj = 0; | |
14234 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14235 | wxHtmlHelpData *result = 0 ; | |
14236 | void *argp1 = 0 ; | |
14237 | int res1 = 0 ; | |
14238 | PyObject *swig_obj[1] ; | |
14239 | ||
14240 | if (!args) SWIG_fail; | |
14241 | swig_obj[0] = args; | |
14242 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14243 | if (!SWIG_IsOK(res1)) { | |
14244 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14245 | } | |
14246 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14247 | { | |
14248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14249 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
14250 | wxPyEndAllowThreads(__tstate); | |
14251 | if (PyErr_Occurred()) SWIG_fail; | |
14252 | } | |
14253 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
14254 | return resultobj; | |
14255 | fail: | |
14256 | return NULL; | |
d14a1e28 RD |
14257 | } |
14258 | ||
14259 | ||
0085ce49 RD |
14260 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14261 | PyObject *resultobj = 0; | |
14262 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14263 | wxHtmlHelpController *result = 0 ; | |
14264 | void *argp1 = 0 ; | |
14265 | int res1 = 0 ; | |
14266 | PyObject *swig_obj[1] ; | |
14267 | ||
14268 | if (!args) SWIG_fail; | |
14269 | swig_obj[0] = args; | |
14270 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14271 | if (!SWIG_IsOK(res1)) { | |
14272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14273 | } | |
14274 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14275 | { | |
14276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14277 | result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); | |
14278 | wxPyEndAllowThreads(__tstate); | |
14279 | if (PyErr_Occurred()) SWIG_fail; | |
14280 | } | |
14281 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
14282 | return resultobj; | |
14283 | fail: | |
14284 | return NULL; | |
14285 | } | |
14286 | ||
14287 | ||
14288 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14289 | PyObject *resultobj = 0; | |
14290 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14291 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
14292 | void *argp1 = 0 ; | |
14293 | int res1 = 0 ; | |
14294 | int res2 = 0 ; | |
14295 | PyObject * obj0 = 0 ; | |
14296 | PyObject * obj1 = 0 ; | |
14297 | char * kwnames[] = { | |
14298 | (char *) "self",(char *) "controller", NULL | |
14299 | }; | |
14300 | ||
14301 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
14302 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14303 | if (!SWIG_IsOK(res1)) { | |
14304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14305 | } | |
14306 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14307 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
14308 | if (!SWIG_IsOK(res2)) { | |
14309 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
14310 | } | |
14311 | { | |
14312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14313 | (arg1)->SetController(arg2); | |
14314 | wxPyEndAllowThreads(__tstate); | |
14315 | if (PyErr_Occurred()) SWIG_fail; | |
14316 | } | |
14317 | resultobj = SWIG_Py_Void(); | |
14318 | return resultobj; | |
14319 | fail: | |
14320 | return NULL; | |
14321 | } | |
14322 | ||
14323 | ||
14324 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14325 | PyObject *resultobj = 0; | |
14326 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14327 | wxString *arg2 = 0 ; | |
14328 | bool result; | |
14329 | void *argp1 = 0 ; | |
14330 | int res1 = 0 ; | |
14331 | bool temp2 = false ; | |
14332 | PyObject * obj0 = 0 ; | |
14333 | PyObject * obj1 = 0 ; | |
14334 | char * kwnames[] = { | |
14335 | (char *) "self",(char *) "x", NULL | |
14336 | }; | |
14337 | ||
14338 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
14339 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14340 | if (!SWIG_IsOK(res1)) { | |
14341 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_Display" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14342 | } | |
14343 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14344 | { | |
14345 | arg2 = wxString_in_helper(obj1); | |
14346 | if (arg2 == NULL) SWIG_fail; | |
14347 | temp2 = true; | |
14348 | } | |
14349 | { | |
14350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14351 | result = (bool)(arg1)->Display((wxString const &)*arg2); | |
14352 | wxPyEndAllowThreads(__tstate); | |
14353 | if (PyErr_Occurred()) SWIG_fail; | |
14354 | } | |
14355 | { | |
14356 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14357 | } | |
14358 | { | |
14359 | if (temp2) | |
14360 | delete arg2; | |
14361 | } | |
14362 | return resultobj; | |
14363 | fail: | |
14364 | { | |
14365 | if (temp2) | |
14366 | delete arg2; | |
14367 | } | |
14368 | return NULL; | |
14369 | } | |
14370 | ||
14371 | ||
14372 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14373 | PyObject *resultobj = 0; | |
14374 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14375 | int arg2 ; | |
14376 | bool result; | |
14377 | void *argp1 = 0 ; | |
14378 | int res1 = 0 ; | |
14379 | int val2 ; | |
14380 | int ecode2 = 0 ; | |
14381 | PyObject * obj0 = 0 ; | |
14382 | PyObject * obj1 = 0 ; | |
14383 | char * kwnames[] = { | |
14384 | (char *) "self",(char *) "id", NULL | |
14385 | }; | |
14386 | ||
14387 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
14388 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14389 | if (!SWIG_IsOK(res1)) { | |
14390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14391 | } | |
14392 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14393 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14394 | if (!SWIG_IsOK(ecode2)) { | |
14395 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpWindow_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
14396 | } | |
14397 | arg2 = static_cast< int >(val2); | |
14398 | { | |
14399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14400 | result = (bool)(arg1)->Display(arg2); | |
14401 | wxPyEndAllowThreads(__tstate); | |
14402 | if (PyErr_Occurred()) SWIG_fail; | |
14403 | } | |
14404 | { | |
14405 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14406 | } | |
14407 | return resultobj; | |
14408 | fail: | |
14409 | return NULL; | |
d14a1e28 RD |
14410 | } |
14411 | ||
14412 | ||
0085ce49 RD |
14413 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14414 | PyObject *resultobj = 0; | |
14415 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14416 | bool result; | |
14417 | void *argp1 = 0 ; | |
14418 | int res1 = 0 ; | |
14419 | PyObject *swig_obj[1] ; | |
14420 | ||
14421 | if (!args) SWIG_fail; | |
14422 | swig_obj[0] = args; | |
14423 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14424 | if (!SWIG_IsOK(res1)) { | |
14425 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14426 | } | |
14427 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14428 | { | |
14429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14430 | result = (bool)(arg1)->DisplayContents(); | |
14431 | wxPyEndAllowThreads(__tstate); | |
14432 | if (PyErr_Occurred()) SWIG_fail; | |
14433 | } | |
14434 | { | |
14435 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14436 | } | |
14437 | return resultobj; | |
14438 | fail: | |
14439 | return NULL; | |
d14a1e28 RD |
14440 | } |
14441 | ||
14442 | ||
0085ce49 RD |
14443 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14444 | PyObject *resultobj = 0; | |
14445 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14446 | bool result; | |
14447 | void *argp1 = 0 ; | |
14448 | int res1 = 0 ; | |
14449 | PyObject *swig_obj[1] ; | |
14450 | ||
14451 | if (!args) SWIG_fail; | |
14452 | swig_obj[0] = args; | |
14453 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14454 | if (!SWIG_IsOK(res1)) { | |
14455 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14456 | } | |
14457 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14458 | { | |
14459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14460 | result = (bool)(arg1)->DisplayIndex(); | |
14461 | wxPyEndAllowThreads(__tstate); | |
14462 | if (PyErr_Occurred()) SWIG_fail; | |
14463 | } | |
14464 | { | |
14465 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14466 | } | |
14467 | return resultobj; | |
14468 | fail: | |
14469 | return NULL; | |
14470 | } | |
14471 | ||
14472 | ||
14473 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14474 | PyObject *resultobj = 0; | |
14475 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14476 | wxString *arg2 = 0 ; | |
14477 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
14478 | bool result; | |
14479 | void *argp1 = 0 ; | |
14480 | int res1 = 0 ; | |
14481 | bool temp2 = false ; | |
14482 | void *argp3 ; | |
14483 | int res3 = 0 ; | |
14484 | PyObject * obj0 = 0 ; | |
14485 | PyObject * obj1 = 0 ; | |
14486 | PyObject * obj2 = 0 ; | |
14487 | char * kwnames[] = { | |
14488 | (char *) "self",(char *) "keyword",(char *) "mode", NULL | |
14489 | }; | |
14490 | ||
14491 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14492 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14493 | if (!SWIG_IsOK(res1)) { | |
14494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14495 | } | |
14496 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14497 | { | |
14498 | arg2 = wxString_in_helper(obj1); | |
14499 | if (arg2 == NULL) SWIG_fail; | |
14500 | temp2 = true; | |
14501 | } | |
14502 | if (obj2) { | |
14503 | { | |
14504 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
14505 | if (!SWIG_IsOK(res3)) { | |
14506 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14507 | } | |
14508 | if (!argp3) { | |
14509 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlHelpWindow_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
14510 | } else { | |
14511 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
14512 | arg3 = *temp; | |
14513 | if (SWIG_IsNewObj(res3)) delete temp; | |
14514 | } | |
ae8162c8 | 14515 | } |
0085ce49 RD |
14516 | } |
14517 | { | |
14518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14519 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
14520 | wxPyEndAllowThreads(__tstate); | |
14521 | if (PyErr_Occurred()) SWIG_fail; | |
14522 | } | |
14523 | { | |
14524 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14525 | } | |
14526 | { | |
14527 | if (temp2) | |
14528 | delete arg2; | |
14529 | } | |
14530 | return resultobj; | |
14531 | fail: | |
14532 | { | |
14533 | if (temp2) | |
14534 | delete arg2; | |
14535 | } | |
14536 | return NULL; | |
14537 | } | |
14538 | ||
14539 | ||
14540 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14541 | PyObject *resultobj = 0; | |
14542 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14543 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14544 | wxString const &arg3_defvalue = wxEmptyString ; | |
14545 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14546 | void *argp1 = 0 ; | |
14547 | int res1 = 0 ; | |
14548 | void *argp2 = 0 ; | |
14549 | int res2 = 0 ; | |
14550 | bool temp3 = false ; | |
14551 | PyObject * obj0 = 0 ; | |
14552 | PyObject * obj1 = 0 ; | |
14553 | PyObject * obj2 = 0 ; | |
14554 | char * kwnames[] = { | |
14555 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
14556 | }; | |
14557 | ||
14558 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14559 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14560 | if (!SWIG_IsOK(res1)) { | |
14561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14562 | } | |
14563 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14564 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14565 | if (!SWIG_IsOK(res2)) { | |
14566 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14567 | } | |
14568 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14569 | if (obj2) { | |
ae8162c8 | 14570 | { |
0085ce49 RD |
14571 | arg3 = wxString_in_helper(obj2); |
14572 | if (arg3 == NULL) SWIG_fail; | |
14573 | temp3 = true; | |
ae8162c8 | 14574 | } |
0085ce49 RD |
14575 | } |
14576 | { | |
14577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14578 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
14579 | wxPyEndAllowThreads(__tstate); | |
14580 | if (PyErr_Occurred()) SWIG_fail; | |
14581 | } | |
14582 | resultobj = SWIG_Py_Void(); | |
14583 | { | |
14584 | if (temp3) | |
14585 | delete arg3; | |
14586 | } | |
14587 | return resultobj; | |
14588 | fail: | |
14589 | { | |
14590 | if (temp3) | |
14591 | delete arg3; | |
14592 | } | |
14593 | return NULL; | |
14594 | } | |
14595 | ||
14596 | ||
14597 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14598 | PyObject *resultobj = 0; | |
14599 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14600 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14601 | wxString const &arg3_defvalue = wxEmptyString ; | |
14602 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14603 | void *argp1 = 0 ; | |
14604 | int res1 = 0 ; | |
14605 | void *argp2 = 0 ; | |
14606 | int res2 = 0 ; | |
14607 | bool temp3 = false ; | |
14608 | PyObject * obj0 = 0 ; | |
14609 | PyObject * obj1 = 0 ; | |
14610 | PyObject * obj2 = 0 ; | |
14611 | char * kwnames[] = { | |
14612 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14613 | }; | |
14614 | ||
14615 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14616 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14617 | if (!SWIG_IsOK(res1)) { | |
14618 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14619 | } | |
14620 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14621 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14622 | if (!SWIG_IsOK(res2)) { | |
14623 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14624 | } | |
14625 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14626 | if (obj2) { | |
ae8162c8 | 14627 | { |
0085ce49 RD |
14628 | arg3 = wxString_in_helper(obj2); |
14629 | if (arg3 == NULL) SWIG_fail; | |
14630 | temp3 = true; | |
ae8162c8 | 14631 | } |
0085ce49 RD |
14632 | } |
14633 | { | |
14634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14635 | (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); | |
14636 | wxPyEndAllowThreads(__tstate); | |
14637 | if (PyErr_Occurred()) SWIG_fail; | |
14638 | } | |
14639 | resultobj = SWIG_Py_Void(); | |
14640 | { | |
14641 | if (temp3) | |
14642 | delete arg3; | |
14643 | } | |
14644 | return resultobj; | |
14645 | fail: | |
14646 | { | |
14647 | if (temp3) | |
14648 | delete arg3; | |
14649 | } | |
14650 | return NULL; | |
14651 | } | |
14652 | ||
14653 | ||
14654 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14655 | PyObject *resultobj = 0; | |
14656 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14657 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
14658 | wxString const &arg3_defvalue = wxEmptyString ; | |
14659 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14660 | void *argp1 = 0 ; | |
14661 | int res1 = 0 ; | |
14662 | void *argp2 = 0 ; | |
14663 | int res2 = 0 ; | |
14664 | bool temp3 = false ; | |
14665 | PyObject * obj0 = 0 ; | |
14666 | PyObject * obj1 = 0 ; | |
14667 | PyObject * obj2 = 0 ; | |
14668 | char * kwnames[] = { | |
14669 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
14670 | }; | |
14671 | ||
14672 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14673 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14674 | if (!SWIG_IsOK(res1)) { | |
14675 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14676 | } | |
14677 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14678 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
14679 | if (!SWIG_IsOK(res2)) { | |
14680 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpWindow_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
14681 | } | |
14682 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
14683 | if (obj2) { | |
ae8162c8 | 14684 | { |
0085ce49 RD |
14685 | arg3 = wxString_in_helper(obj2); |
14686 | if (arg3 == NULL) SWIG_fail; | |
14687 | temp3 = true; | |
ae8162c8 | 14688 | } |
0085ce49 RD |
14689 | } |
14690 | { | |
14691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14692 | (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); | |
14693 | wxPyEndAllowThreads(__tstate); | |
14694 | if (PyErr_Occurred()) SWIG_fail; | |
14695 | } | |
14696 | resultobj = SWIG_Py_Void(); | |
14697 | { | |
14698 | if (temp3) | |
14699 | delete arg3; | |
14700 | } | |
14701 | return resultobj; | |
14702 | fail: | |
14703 | { | |
14704 | if (temp3) | |
14705 | delete arg3; | |
14706 | } | |
14707 | return NULL; | |
30ee79f7 RD |
14708 | } |
14709 | ||
14710 | ||
0085ce49 RD |
14711 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14712 | PyObject *resultobj = 0; | |
14713 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14714 | void *argp1 = 0 ; | |
14715 | int res1 = 0 ; | |
14716 | PyObject *swig_obj[1] ; | |
14717 | ||
14718 | if (!args) SWIG_fail; | |
14719 | swig_obj[0] = args; | |
14720 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14721 | if (!SWIG_IsOK(res1)) { | |
14722 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_NotifyPageChanged" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14723 | } | |
14724 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14725 | { | |
14726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14727 | (arg1)->NotifyPageChanged(); | |
14728 | wxPyEndAllowThreads(__tstate); | |
14729 | if (PyErr_Occurred()) SWIG_fail; | |
14730 | } | |
14731 | resultobj = SWIG_Py_Void(); | |
14732 | return resultobj; | |
14733 | fail: | |
14734 | return NULL; | |
d14a1e28 RD |
14735 | } |
14736 | ||
14737 | ||
0085ce49 RD |
14738 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14739 | PyObject *resultobj = 0; | |
14740 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14741 | void *argp1 = 0 ; | |
14742 | int res1 = 0 ; | |
14743 | PyObject *swig_obj[1] ; | |
14744 | ||
14745 | if (!args) SWIG_fail; | |
14746 | swig_obj[0] = args; | |
14747 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14748 | if (!SWIG_IsOK(res1)) { | |
14749 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_RefreshLists" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14750 | } | |
14751 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14752 | { | |
14753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14754 | (arg1)->RefreshLists(); | |
14755 | wxPyEndAllowThreads(__tstate); | |
14756 | if (PyErr_Occurred()) SWIG_fail; | |
14757 | } | |
14758 | resultobj = SWIG_Py_Void(); | |
14759 | return resultobj; | |
14760 | fail: | |
14761 | return NULL; | |
d14a1e28 RD |
14762 | } |
14763 | ||
14764 | ||
0085ce49 RD |
14765 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14766 | PyObject *resultobj = 0; | |
14767 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
b6df5cf9 | 14768 | wxPyHtmlWindow *result = 0 ; |
0085ce49 RD |
14769 | void *argp1 = 0 ; |
14770 | int res1 = 0 ; | |
14771 | PyObject *swig_obj[1] ; | |
14772 | ||
14773 | if (!args) SWIG_fail; | |
14774 | swig_obj[0] = args; | |
14775 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14776 | if (!SWIG_IsOK(res1)) { | |
14777 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetHtmlWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14778 | } | |
14779 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14780 | { | |
14781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b6df5cf9 | 14782 | result = (wxPyHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); |
0085ce49 RD |
14783 | wxPyEndAllowThreads(__tstate); |
14784 | if (PyErr_Occurred()) SWIG_fail; | |
14785 | } | |
b6df5cf9 RD |
14786 | { |
14787 | resultobj = wxPyMake_wxObject(result, 0); | |
14788 | } | |
0085ce49 RD |
14789 | return resultobj; |
14790 | fail: | |
14791 | return NULL; | |
53aa7709 RD |
14792 | } |
14793 | ||
14794 | ||
0085ce49 RD |
14795 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14796 | PyObject *resultobj = 0; | |
14797 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14798 | wxSplitterWindow *result = 0 ; | |
14799 | void *argp1 = 0 ; | |
14800 | int res1 = 0 ; | |
14801 | PyObject *swig_obj[1] ; | |
14802 | ||
14803 | if (!args) SWIG_fail; | |
14804 | swig_obj[0] = args; | |
14805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14806 | if (!SWIG_IsOK(res1)) { | |
14807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetSplitterWindow" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14808 | } | |
14809 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14810 | { | |
14811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14812 | result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); | |
14813 | wxPyEndAllowThreads(__tstate); | |
14814 | if (PyErr_Occurred()) SWIG_fail; | |
14815 | } | |
14816 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, 0 | 0 ); | |
14817 | return resultobj; | |
14818 | fail: | |
14819 | return NULL; | |
d14a1e28 RD |
14820 | } |
14821 | ||
14822 | ||
0085ce49 RD |
14823 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14824 | PyObject *resultobj = 0; | |
14825 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14826 | wxToolBar *result = 0 ; | |
14827 | void *argp1 = 0 ; | |
14828 | int res1 = 0 ; | |
14829 | PyObject *swig_obj[1] ; | |
14830 | ||
14831 | if (!args) SWIG_fail; | |
14832 | swig_obj[0] = args; | |
14833 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14834 | if (!SWIG_IsOK(res1)) { | |
14835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetToolBar" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14836 | } | |
14837 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14838 | { | |
14839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14840 | result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); | |
14841 | wxPyEndAllowThreads(__tstate); | |
14842 | if (PyErr_Occurred()) SWIG_fail; | |
14843 | } | |
14844 | { | |
14845 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14846 | } | |
14847 | return resultobj; | |
14848 | fail: | |
14849 | return NULL; | |
d14a1e28 RD |
14850 | } |
14851 | ||
14852 | ||
0085ce49 RD |
14853 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14854 | PyObject *resultobj = 0; | |
14855 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
14856 | wxHtmlHelpFrameCfg *result = 0 ; | |
14857 | void *argp1 = 0 ; | |
14858 | int res1 = 0 ; | |
14859 | PyObject *swig_obj[1] ; | |
14860 | ||
14861 | if (!args) SWIG_fail; | |
14862 | swig_obj[0] = args; | |
14863 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14864 | if (!SWIG_IsOK(res1)) { | |
14865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetCfgData" "', expected argument " "1"" of type '" "wxHtmlHelpWindow *""'"); | |
14866 | } | |
14867 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14868 | { | |
14869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4f89f6a3 | 14870 | { |
0085ce49 RD |
14871 | wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); |
14872 | result = (wxHtmlHelpFrameCfg *) &_result_ref; | |
4f89f6a3 | 14873 | } |
0085ce49 RD |
14874 | wxPyEndAllowThreads(__tstate); |
14875 | if (PyErr_Occurred()) SWIG_fail; | |
14876 | } | |
14877 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0 | 0 ); | |
14878 | return resultobj; | |
14879 | fail: | |
14880 | return NULL; | |
d14a1e28 RD |
14881 | } |
14882 | ||
14883 | ||
0085ce49 RD |
14884 | SWIGINTERN PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14885 | PyObject *resultobj = 0; | |
14886 | wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; | |
10044bf1 | 14887 | wxPyTreeCtrl *result = 0 ; |
0085ce49 RD |
14888 | void *argp1 = 0 ; |
14889 | int res1 = 0 ; | |
14890 | PyObject *swig_obj[1] ; | |
14891 | ||
14892 | if (!args) SWIG_fail; | |
14893 | swig_obj[0] = args; | |
14894 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
14895 | if (!SWIG_IsOK(res1)) { | |
14896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxHtmlHelpWindow const *""'"); | |
14897 | } | |
14898 | arg1 = reinterpret_cast< wxHtmlHelpWindow * >(argp1); | |
14899 | { | |
14900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 14901 | result = (wxPyTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); |
0085ce49 RD |
14902 | wxPyEndAllowThreads(__tstate); |
14903 | if (PyErr_Occurred()) SWIG_fail; | |
14904 | } | |
10044bf1 RD |
14905 | { |
14906 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
14907 | } | |
0085ce49 RD |
14908 | return resultobj; |
14909 | fail: | |
14910 | return NULL; | |
d14a1e28 RD |
14911 | } |
14912 | ||
14913 | ||
0085ce49 RD |
14914 | SWIGINTERN PyObject *HtmlHelpWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14915 | PyObject *obj; | |
14916 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14917 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpWindow, SWIG_NewClientData(obj)); | |
14918 | return SWIG_Py_Void(); | |
14919 | } | |
14920 | ||
14921 | SWIGINTERN PyObject *HtmlHelpWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14922 | return SWIG_Python_InitShadowInstance(args); | |
14923 | } | |
14924 | ||
8f514ab4 | 14925 | SWIGINTERN PyObject *_wrap_new_HtmlCellEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 | 14926 | PyObject *resultobj = 0; |
8f514ab4 RD |
14927 | wxEventType arg1 ; |
14928 | int arg2 ; | |
14929 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
14930 | wxPoint *arg4 = 0 ; | |
14931 | wxMouseEvent *arg5 = 0 ; | |
14932 | wxHtmlCellEvent *result = 0 ; | |
0085ce49 RD |
14933 | int val1 ; |
14934 | int ecode1 = 0 ; | |
14935 | int val2 ; | |
14936 | int ecode2 = 0 ; | |
8f514ab4 RD |
14937 | void *argp3 = 0 ; |
14938 | int res3 = 0 ; | |
14939 | wxPoint temp4 ; | |
14940 | void *argp5 = 0 ; | |
14941 | int res5 = 0 ; | |
0085ce49 RD |
14942 | PyObject * obj0 = 0 ; |
14943 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
14944 | PyObject * obj2 = 0 ; |
14945 | PyObject * obj3 = 0 ; | |
14946 | PyObject * obj4 = 0 ; | |
0085ce49 | 14947 | char * kwnames[] = { |
8f514ab4 | 14948 | (char *) "commandType",(char *) "id",(char *) "cell",(char *) "pt",(char *) "ev", NULL |
0085ce49 RD |
14949 | }; |
14950 | ||
8f514ab4 RD |
14951 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_HtmlCellEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14952 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
14953 | if (!SWIG_IsOK(ecode1)) { | |
14954 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlCellEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
14955 | } | |
14956 | arg1 = static_cast< wxEventType >(val1); | |
14957 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14958 | if (!SWIG_IsOK(ecode2)) { | |
14959 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlCellEvent" "', expected argument " "2"" of type '" "int""'"); | |
14960 | } | |
14961 | arg2 = static_cast< int >(val2); | |
14962 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxHtmlCell, 0 | 0 ); | |
14963 | if (!SWIG_IsOK(res3)) { | |
14964 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_HtmlCellEvent" "', expected argument " "3"" of type '" "wxHtmlCell *""'"); | |
0085ce49 | 14965 | } |
8f514ab4 RD |
14966 | arg3 = reinterpret_cast< wxHtmlCell * >(argp3); |
14967 | { | |
14968 | arg4 = &temp4; | |
14969 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14970 | } | |
14971 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxMouseEvent, 0 | 0); | |
14972 | if (!SWIG_IsOK(res5)) { | |
14973 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
0085ce49 | 14974 | } |
8f514ab4 RD |
14975 | if (!argp5) { |
14976 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlCellEvent" "', expected argument " "5"" of type '" "wxMouseEvent const &""'"); | |
14977 | } | |
14978 | arg5 = reinterpret_cast< wxMouseEvent * >(argp5); | |
0085ce49 RD |
14979 | { |
14980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 14981 | result = (wxHtmlCellEvent *)new wxHtmlCellEvent(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxMouseEvent const &)*arg5); |
0085ce49 RD |
14982 | wxPyEndAllowThreads(__tstate); |
14983 | if (PyErr_Occurred()) SWIG_fail; | |
14984 | } | |
8f514ab4 | 14985 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlCellEvent, SWIG_POINTER_NEW | 0 ); |
0085ce49 RD |
14986 | return resultobj; |
14987 | fail: | |
14988 | return NULL; | |
14989 | } | |
14990 | ||
14991 | ||
8f514ab4 | 14992 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 | 14993 | PyObject *resultobj = 0; |
8f514ab4 RD |
14994 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; |
14995 | wxHtmlCell *result = 0 ; | |
0085ce49 RD |
14996 | void *argp1 = 0 ; |
14997 | int res1 = 0 ; | |
8f514ab4 RD |
14998 | PyObject *swig_obj[1] ; |
14999 | ||
15000 | if (!args) SWIG_fail; | |
15001 | swig_obj[0] = args; | |
15002 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15003 | if (!SWIG_IsOK(res1)) { | |
15004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetCell" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15005 | } | |
15006 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15007 | { | |
15008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15009 | result = (wxHtmlCell *)((wxHtmlCellEvent const *)arg1)->GetCell(); | |
15010 | wxPyEndAllowThreads(__tstate); | |
15011 | if (PyErr_Occurred()) SWIG_fail; | |
15012 | } | |
15013 | { | |
15014 | resultobj = wxPyMake_wxObject(result, 0); | |
15015 | } | |
15016 | return resultobj; | |
15017 | fail: | |
15018 | return NULL; | |
15019 | } | |
15020 | ||
15021 | ||
15022 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15023 | PyObject *resultobj = 0; | |
15024 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15025 | wxPoint result; | |
15026 | void *argp1 = 0 ; | |
15027 | int res1 = 0 ; | |
15028 | PyObject *swig_obj[1] ; | |
15029 | ||
15030 | if (!args) SWIG_fail; | |
15031 | swig_obj[0] = args; | |
15032 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15033 | if (!SWIG_IsOK(res1)) { | |
15034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetPoint" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15035 | } | |
15036 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15037 | { | |
15038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15039 | result = ((wxHtmlCellEvent const *)arg1)->GetPoint(); | |
15040 | wxPyEndAllowThreads(__tstate); | |
15041 | if (PyErr_Occurred()) SWIG_fail; | |
15042 | } | |
15043 | resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 ); | |
15044 | return resultobj; | |
15045 | fail: | |
15046 | return NULL; | |
15047 | } | |
15048 | ||
15049 | ||
15050 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15051 | PyObject *resultobj = 0; | |
15052 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15053 | wxMouseEvent result; | |
15054 | void *argp1 = 0 ; | |
15055 | int res1 = 0 ; | |
15056 | PyObject *swig_obj[1] ; | |
15057 | ||
15058 | if (!args) SWIG_fail; | |
15059 | swig_obj[0] = args; | |
15060 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15061 | if (!SWIG_IsOK(res1)) { | |
15062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
15063 | } | |
15064 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); | |
15065 | { | |
15066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15067 | result = ((wxHtmlCellEvent const *)arg1)->GetMouseEvent(); | |
15068 | wxPyEndAllowThreads(__tstate); | |
15069 | if (PyErr_Occurred()) SWIG_fail; | |
15070 | } | |
15071 | resultobj = SWIG_NewPointerObj((new wxMouseEvent(static_cast< const wxMouseEvent& >(result))), SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_OWN | 0 ); | |
15072 | return resultobj; | |
15073 | fail: | |
15074 | return NULL; | |
15075 | } | |
15076 | ||
15077 | ||
15078 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_SetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15079 | PyObject *resultobj = 0; | |
15080 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15081 | bool arg2 ; | |
15082 | void *argp1 = 0 ; | |
15083 | int res1 = 0 ; | |
15084 | bool val2 ; | |
15085 | int ecode2 = 0 ; | |
0085ce49 RD |
15086 | PyObject * obj0 = 0 ; |
15087 | PyObject * obj1 = 0 ; | |
15088 | char * kwnames[] = { | |
8f514ab4 | 15089 | (char *) "self",(char *) "linkclicked", NULL |
0085ce49 RD |
15090 | }; |
15091 | ||
8f514ab4 RD |
15092 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCellEvent_SetLinkClicked",kwnames,&obj0,&obj1)) SWIG_fail; |
15093 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
0085ce49 | 15094 | if (!SWIG_IsOK(res1)) { |
8f514ab4 | 15095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent *""'"); |
0085ce49 | 15096 | } |
8f514ab4 RD |
15097 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); |
15098 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
15099 | if (!SWIG_IsOK(ecode2)) { | |
15100 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlCellEvent_SetLinkClicked" "', expected argument " "2"" of type '" "bool""'"); | |
15101 | } | |
15102 | arg2 = static_cast< bool >(val2); | |
0085ce49 | 15103 | { |
8f514ab4 RD |
15104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15105 | (arg1)->SetLinkClicked(arg2); | |
15106 | wxPyEndAllowThreads(__tstate); | |
15107 | if (PyErr_Occurred()) SWIG_fail; | |
15108 | } | |
15109 | resultobj = SWIG_Py_Void(); | |
15110 | return resultobj; | |
15111 | fail: | |
15112 | return NULL; | |
15113 | } | |
15114 | ||
15115 | ||
15116 | SWIGINTERN PyObject *_wrap_HtmlCellEvent_GetLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15117 | PyObject *resultobj = 0; | |
15118 | wxHtmlCellEvent *arg1 = (wxHtmlCellEvent *) 0 ; | |
15119 | bool result; | |
15120 | void *argp1 = 0 ; | |
15121 | int res1 = 0 ; | |
15122 | PyObject *swig_obj[1] ; | |
15123 | ||
15124 | if (!args) SWIG_fail; | |
15125 | swig_obj[0] = args; | |
15126 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlCellEvent, 0 | 0 ); | |
15127 | if (!SWIG_IsOK(res1)) { | |
15128 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlCellEvent_GetLinkClicked" "', expected argument " "1"" of type '" "wxHtmlCellEvent const *""'"); | |
0085ce49 | 15129 | } |
8f514ab4 | 15130 | arg1 = reinterpret_cast< wxHtmlCellEvent * >(argp1); |
0085ce49 RD |
15131 | { |
15132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 15133 | result = (bool)((wxHtmlCellEvent const *)arg1)->GetLinkClicked(); |
0085ce49 RD |
15134 | wxPyEndAllowThreads(__tstate); |
15135 | if (PyErr_Occurred()) SWIG_fail; | |
15136 | } | |
0085ce49 | 15137 | { |
8f514ab4 | 15138 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
0085ce49 RD |
15139 | } |
15140 | return resultobj; | |
15141 | fail: | |
8f514ab4 RD |
15142 | return NULL; |
15143 | } | |
15144 | ||
15145 | ||
15146 | SWIGINTERN PyObject *HtmlCellEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15147 | PyObject *obj; | |
15148 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15149 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlCellEvent, SWIG_NewClientData(obj)); | |
15150 | return SWIG_Py_Void(); | |
15151 | } | |
15152 | ||
15153 | SWIGINTERN PyObject *HtmlCellEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15154 | return SWIG_Python_InitShadowInstance(args); | |
15155 | } | |
15156 | ||
15157 | SWIGINTERN PyObject *_wrap_new_HtmlLinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15158 | PyObject *resultobj = 0; | |
15159 | int arg1 ; | |
15160 | wxHtmlLinkInfo *arg2 = 0 ; | |
15161 | wxHtmlLinkEvent *result = 0 ; | |
15162 | int val1 ; | |
15163 | int ecode1 = 0 ; | |
15164 | void *argp2 = 0 ; | |
15165 | int res2 = 0 ; | |
15166 | PyObject * obj0 = 0 ; | |
15167 | PyObject * obj1 = 0 ; | |
15168 | char * kwnames[] = { | |
15169 | (char *) "id",(char *) "linkinfo", NULL | |
15170 | }; | |
15171 | ||
15172 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlLinkEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
15173 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
15174 | if (!SWIG_IsOK(ecode1)) { | |
15175 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlLinkEvent" "', expected argument " "1"" of type '" "int""'"); | |
15176 | } | |
15177 | arg1 = static_cast< int >(val1); | |
15178 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0); | |
15179 | if (!SWIG_IsOK(res2)) { | |
15180 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
15181 | } | |
15182 | if (!argp2) { | |
15183 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_HtmlLinkEvent" "', expected argument " "2"" of type '" "wxHtmlLinkInfo const &""'"); | |
15184 | } | |
15185 | arg2 = reinterpret_cast< wxHtmlLinkInfo * >(argp2); | |
0085ce49 | 15186 | { |
8f514ab4 RD |
15187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15188 | result = (wxHtmlLinkEvent *)new wxHtmlLinkEvent(arg1,(wxHtmlLinkInfo const &)*arg2); | |
15189 | wxPyEndAllowThreads(__tstate); | |
15190 | if (PyErr_Occurred()) SWIG_fail; | |
0085ce49 | 15191 | } |
8f514ab4 RD |
15192 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkEvent, SWIG_POINTER_NEW | 0 ); |
15193 | return resultobj; | |
15194 | fail: | |
0085ce49 RD |
15195 | return NULL; |
15196 | } | |
15197 | ||
15198 | ||
8f514ab4 | 15199 | SWIGINTERN PyObject *_wrap_HtmlLinkEvent_GetLinkInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 | 15200 | PyObject *resultobj = 0; |
8f514ab4 RD |
15201 | wxHtmlLinkEvent *arg1 = (wxHtmlLinkEvent *) 0 ; |
15202 | wxHtmlLinkInfo *result = 0 ; | |
0085ce49 RD |
15203 | void *argp1 = 0 ; |
15204 | int res1 = 0 ; | |
15205 | PyObject *swig_obj[1] ; | |
15206 | ||
15207 | if (!args) SWIG_fail; | |
15208 | swig_obj[0] = args; | |
8f514ab4 | 15209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlLinkEvent, 0 | 0 ); |
0085ce49 | 15210 | if (!SWIG_IsOK(res1)) { |
8f514ab4 | 15211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlLinkEvent_GetLinkInfo" "', expected argument " "1"" of type '" "wxHtmlLinkEvent const *""'"); |
0085ce49 | 15212 | } |
8f514ab4 | 15213 | arg1 = reinterpret_cast< wxHtmlLinkEvent * >(argp1); |
0085ce49 RD |
15214 | { |
15215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d14a1e28 | 15216 | { |
8f514ab4 RD |
15217 | wxHtmlLinkInfo const &_result_ref = ((wxHtmlLinkEvent const *)arg1)->GetLinkInfo(); |
15218 | result = (wxHtmlLinkInfo *) &_result_ref; | |
d14a1e28 | 15219 | } |
0085ce49 RD |
15220 | wxPyEndAllowThreads(__tstate); |
15221 | if (PyErr_Occurred()) SWIG_fail; | |
15222 | } | |
8f514ab4 | 15223 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0 ); |
0085ce49 RD |
15224 | return resultobj; |
15225 | fail: | |
15226 | return NULL; | |
15227 | } | |
15228 | ||
15229 | ||
8f514ab4 | 15230 | SWIGINTERN PyObject *HtmlLinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
15231 | PyObject *obj; |
15232 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8f514ab4 | 15233 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlLinkEvent, SWIG_NewClientData(obj)); |
0085ce49 RD |
15234 | return SWIG_Py_Void(); |
15235 | } | |
15236 | ||
8f514ab4 | 15237 | SWIGINTERN PyObject *HtmlLinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
15238 | return SWIG_Python_InitShadowInstance(args); |
15239 | } | |
15240 | ||
15241 | SWIGINTERN PyObject *_wrap_new_HtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15242 | PyObject *resultobj = 0; | |
15243 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15244 | int arg2 ; | |
15245 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15246 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15247 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
15248 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
85965ae1 RD |
15249 | wxConfigBase *arg6 = (wxConfigBase *) NULL ; |
15250 | wxString const &arg7_defvalue = wxPyEmptyString ; | |
15251 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
0085ce49 RD |
15252 | wxHtmlHelpFrame *result = 0 ; |
15253 | void *argp1 = 0 ; | |
15254 | int res1 = 0 ; | |
15255 | int val2 ; | |
15256 | int ecode2 = 0 ; | |
15257 | bool temp3 = false ; | |
15258 | int val4 ; | |
15259 | int ecode4 = 0 ; | |
15260 | void *argp5 = 0 ; | |
15261 | int res5 = 0 ; | |
85965ae1 RD |
15262 | void *argp6 = 0 ; |
15263 | int res6 = 0 ; | |
15264 | bool temp7 = false ; | |
0085ce49 RD |
15265 | PyObject * obj0 = 0 ; |
15266 | PyObject * obj1 = 0 ; | |
15267 | PyObject * obj2 = 0 ; | |
15268 | PyObject * obj3 = 0 ; | |
15269 | PyObject * obj4 = 0 ; | |
85965ae1 RD |
15270 | PyObject * obj5 = 0 ; |
15271 | PyObject * obj6 = 0 ; | |
0085ce49 | 15272 | char * kwnames[] = { |
85965ae1 | 15273 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data",(char *) "config",(char *) "rootpath", NULL |
0085ce49 RD |
15274 | }; |
15275 | ||
85965ae1 | 15276 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
15277 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15278 | if (!SWIG_IsOK(res1)) { | |
15279 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15280 | } | |
15281 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15282 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15283 | if (!SWIG_IsOK(ecode2)) { | |
15284 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpFrame" "', expected argument " "2"" of type '" "int""'"); | |
15285 | } | |
15286 | arg2 = static_cast< int >(val2); | |
15287 | if (obj2) { | |
4f89f6a3 | 15288 | { |
0085ce49 RD |
15289 | arg3 = wxString_in_helper(obj2); |
15290 | if (arg3 == NULL) SWIG_fail; | |
15291 | temp3 = true; | |
4f89f6a3 | 15292 | } |
0085ce49 RD |
15293 | } |
15294 | if (obj3) { | |
15295 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15296 | if (!SWIG_IsOK(ecode4)) { | |
15297 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpFrame" "', expected argument " "4"" of type '" "int""'"); | |
15298 | } | |
15299 | arg4 = static_cast< int >(val4); | |
15300 | } | |
15301 | if (obj4) { | |
15302 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15303 | if (!SWIG_IsOK(res5)) { | |
15304 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpFrame" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
15305 | } | |
15306 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); | |
15307 | } | |
85965ae1 RD |
15308 | if (obj5) { |
15309 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
15310 | if (!SWIG_IsOK(res6)) { | |
15311 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_HtmlHelpFrame" "', expected argument " "6"" of type '" "wxConfigBase *""'"); | |
15312 | } | |
15313 | arg6 = reinterpret_cast< wxConfigBase * >(argp6); | |
15314 | } | |
15315 | if (obj6) { | |
15316 | { | |
15317 | arg7 = wxString_in_helper(obj6); | |
15318 | if (arg7 == NULL) SWIG_fail; | |
15319 | temp7 = true; | |
15320 | } | |
15321 | } | |
0085ce49 RD |
15322 | { |
15323 | if (!wxPyCheckForApp()) SWIG_fail; | |
15324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
85965ae1 | 15325 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxString const &)*arg7); |
0085ce49 RD |
15326 | wxPyEndAllowThreads(__tstate); |
15327 | if (PyErr_Occurred()) SWIG_fail; | |
15328 | } | |
15329 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_NEW | 0 ); | |
15330 | { | |
15331 | if (temp3) | |
15332 | delete arg3; | |
15333 | } | |
85965ae1 RD |
15334 | { |
15335 | if (temp7) | |
15336 | delete arg7; | |
15337 | } | |
0085ce49 RD |
15338 | return resultobj; |
15339 | fail: | |
15340 | { | |
15341 | if (temp3) | |
15342 | delete arg3; | |
15343 | } | |
85965ae1 RD |
15344 | { |
15345 | if (temp7) | |
15346 | delete arg7; | |
15347 | } | |
0085ce49 | 15348 | return NULL; |
d14a1e28 RD |
15349 | } |
15350 | ||
15351 | ||
0085ce49 RD |
15352 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15353 | PyObject *resultobj = 0; | |
15354 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15355 | wxHtmlHelpFrame *result = 0 ; | |
15356 | void *argp1 = 0 ; | |
15357 | int res1 = 0 ; | |
15358 | PyObject * obj0 = 0 ; | |
15359 | char * kwnames[] = { | |
15360 | (char *) "data", NULL | |
15361 | }; | |
15362 | ||
15363 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) SWIG_fail; | |
15364 | if (obj0) { | |
15365 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15366 | if (!SWIG_IsOK(res1)) { | |
15367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpFrame" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15368 | } |
0085ce49 RD |
15369 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15370 | } | |
15371 | { | |
15372 | if (!wxPyCheckForApp()) SWIG_fail; | |
15373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15374 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); | |
15375 | wxPyEndAllowThreads(__tstate); | |
15376 | if (PyErr_Occurred()) SWIG_fail; | |
15377 | } | |
15378 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_OWN | 0 ); | |
15379 | return resultobj; | |
15380 | fail: | |
15381 | return NULL; | |
15382 | } | |
15383 | ||
15384 | ||
15385 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15386 | PyObject *resultobj = 0; | |
15387 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15388 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15389 | int arg3 ; | |
15390 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15391 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15392 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
85965ae1 RD |
15393 | wxConfigBase *arg6 = (wxConfigBase *) NULL ; |
15394 | wxString const &arg7_defvalue = wxPyEmptyString ; | |
15395 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
0085ce49 RD |
15396 | bool result; |
15397 | void *argp1 = 0 ; | |
15398 | int res1 = 0 ; | |
15399 | void *argp2 = 0 ; | |
15400 | int res2 = 0 ; | |
15401 | int val3 ; | |
15402 | int ecode3 = 0 ; | |
15403 | bool temp4 = false ; | |
15404 | int val5 ; | |
15405 | int ecode5 = 0 ; | |
85965ae1 RD |
15406 | void *argp6 = 0 ; |
15407 | int res6 = 0 ; | |
15408 | bool temp7 = false ; | |
0085ce49 RD |
15409 | PyObject * obj0 = 0 ; |
15410 | PyObject * obj1 = 0 ; | |
15411 | PyObject * obj2 = 0 ; | |
15412 | PyObject * obj3 = 0 ; | |
15413 | PyObject * obj4 = 0 ; | |
85965ae1 RD |
15414 | PyObject * obj5 = 0 ; |
15415 | PyObject * obj6 = 0 ; | |
0085ce49 | 15416 | char * kwnames[] = { |
85965ae1 | 15417 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style",(char *) "config",(char *) "rootpath", NULL |
0085ce49 RD |
15418 | }; |
15419 | ||
85965ae1 | 15420 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
15421 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); |
15422 | if (!SWIG_IsOK(res1)) { | |
15423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_Create" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15424 | } | |
15425 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15426 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15427 | if (!SWIG_IsOK(res2)) { | |
15428 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15429 | } | |
15430 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15431 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15432 | if (!SWIG_IsOK(ecode3)) { | |
15433 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
15434 | } | |
15435 | arg3 = static_cast< int >(val3); | |
15436 | if (obj3) { | |
4f89f6a3 | 15437 | { |
0085ce49 RD |
15438 | arg4 = wxString_in_helper(obj3); |
15439 | if (arg4 == NULL) SWIG_fail; | |
15440 | temp4 = true; | |
4f89f6a3 | 15441 | } |
0085ce49 RD |
15442 | } |
15443 | if (obj4) { | |
15444 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15445 | if (!SWIG_IsOK(ecode5)) { | |
15446 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpFrame_Create" "', expected argument " "5"" of type '" "int""'"); | |
15447 | } | |
15448 | arg5 = static_cast< int >(val5); | |
15449 | } | |
85965ae1 RD |
15450 | if (obj5) { |
15451 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
15452 | if (!SWIG_IsOK(res6)) { | |
15453 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "HtmlHelpFrame_Create" "', expected argument " "6"" of type '" "wxConfigBase *""'"); | |
15454 | } | |
15455 | arg6 = reinterpret_cast< wxConfigBase * >(argp6); | |
15456 | } | |
15457 | if (obj6) { | |
15458 | { | |
15459 | arg7 = wxString_in_helper(obj6); | |
15460 | if (arg7 == NULL) SWIG_fail; | |
15461 | temp7 = true; | |
15462 | } | |
15463 | } | |
0085ce49 RD |
15464 | { |
15465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
85965ae1 | 15466 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5,arg6,(wxString const &)*arg7); |
0085ce49 RD |
15467 | wxPyEndAllowThreads(__tstate); |
15468 | if (PyErr_Occurred()) SWIG_fail; | |
15469 | } | |
15470 | { | |
15471 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15472 | } | |
15473 | { | |
15474 | if (temp4) | |
15475 | delete arg4; | |
15476 | } | |
85965ae1 RD |
15477 | { |
15478 | if (temp7) | |
15479 | delete arg7; | |
15480 | } | |
0085ce49 RD |
15481 | return resultobj; |
15482 | fail: | |
15483 | { | |
15484 | if (temp4) | |
15485 | delete arg4; | |
15486 | } | |
85965ae1 RD |
15487 | { |
15488 | if (temp7) | |
15489 | delete arg7; | |
15490 | } | |
0085ce49 | 15491 | return NULL; |
d14a1e28 RD |
15492 | } |
15493 | ||
15494 | ||
0085ce49 RD |
15495 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15496 | PyObject *resultobj = 0; | |
15497 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15498 | wxHtmlHelpData *result = 0 ; | |
15499 | void *argp1 = 0 ; | |
15500 | int res1 = 0 ; | |
15501 | PyObject *swig_obj[1] ; | |
15502 | ||
15503 | if (!args) SWIG_fail; | |
15504 | swig_obj[0] = args; | |
15505 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15506 | if (!SWIG_IsOK(res1)) { | |
15507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15508 | } | |
15509 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15510 | { | |
15511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15512 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15513 | wxPyEndAllowThreads(__tstate); | |
15514 | if (PyErr_Occurred()) SWIG_fail; | |
15515 | } | |
15516 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15517 | return resultobj; | |
15518 | fail: | |
15519 | return NULL; | |
15520 | } | |
15521 | ||
15522 | ||
15523 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15524 | PyObject *resultobj = 0; | |
15525 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15526 | wxString *arg2 = 0 ; | |
15527 | void *argp1 = 0 ; | |
15528 | int res1 = 0 ; | |
15529 | bool temp2 = false ; | |
15530 | PyObject * obj0 = 0 ; | |
15531 | PyObject * obj1 = 0 ; | |
15532 | char * kwnames[] = { | |
15533 | (char *) "self",(char *) "format", NULL | |
15534 | }; | |
15535 | ||
15536 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
15537 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15538 | if (!SWIG_IsOK(res1)) { | |
15539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15540 | } | |
15541 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15542 | { | |
15543 | arg2 = wxString_in_helper(obj1); | |
15544 | if (arg2 == NULL) SWIG_fail; | |
15545 | temp2 = true; | |
15546 | } | |
15547 | { | |
15548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15549 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
15550 | wxPyEndAllowThreads(__tstate); | |
15551 | if (PyErr_Occurred()) SWIG_fail; | |
15552 | } | |
15553 | resultobj = SWIG_Py_Void(); | |
15554 | { | |
15555 | if (temp2) | |
15556 | delete arg2; | |
15557 | } | |
15558 | return resultobj; | |
15559 | fail: | |
15560 | { | |
15561 | if (temp2) | |
15562 | delete arg2; | |
15563 | } | |
15564 | return NULL; | |
d14a1e28 RD |
15565 | } |
15566 | ||
15567 | ||
0085ce49 RD |
15568 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15569 | PyObject *resultobj = 0; | |
15570 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15571 | void *argp1 = 0 ; | |
15572 | int res1 = 0 ; | |
15573 | PyObject *swig_obj[1] ; | |
15574 | ||
15575 | if (!args) SWIG_fail; | |
15576 | swig_obj[0] = args; | |
15577 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15578 | if (!SWIG_IsOK(res1)) { | |
15579 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_AddGrabIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15580 | } | |
15581 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15582 | { | |
15583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15584 | (arg1)->AddGrabIfNeeded(); | |
15585 | wxPyEndAllowThreads(__tstate); | |
15586 | if (PyErr_Occurred()) SWIG_fail; | |
15587 | } | |
15588 | resultobj = SWIG_Py_Void(); | |
15589 | return resultobj; | |
15590 | fail: | |
15591 | return NULL; | |
d14a1e28 RD |
15592 | } |
15593 | ||
15594 | ||
0085ce49 RD |
15595 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15596 | PyObject *resultobj = 0; | |
15597 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15598 | wxHtmlHelpController *result = 0 ; | |
15599 | void *argp1 = 0 ; | |
15600 | int res1 = 0 ; | |
15601 | PyObject *swig_obj[1] ; | |
15602 | ||
15603 | if (!args) SWIG_fail; | |
15604 | swig_obj[0] = args; | |
15605 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15606 | if (!SWIG_IsOK(res1)) { | |
15607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15608 | } | |
15609 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15610 | { | |
15611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15612 | result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); | |
15613 | wxPyEndAllowThreads(__tstate); | |
15614 | if (PyErr_Occurred()) SWIG_fail; | |
15615 | } | |
15616 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15617 | return resultobj; | |
15618 | fail: | |
15619 | return NULL; | |
15620 | } | |
15621 | ||
15622 | ||
15623 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15624 | PyObject *resultobj = 0; | |
15625 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15626 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15627 | void *argp1 = 0 ; | |
15628 | int res1 = 0 ; | |
15629 | int res2 = 0 ; | |
15630 | PyObject * obj0 = 0 ; | |
15631 | PyObject * obj1 = 0 ; | |
15632 | char * kwnames[] = { | |
15633 | (char *) "self",(char *) "controller", NULL | |
15634 | }; | |
15635 | ||
15636 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15637 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15638 | if (!SWIG_IsOK(res1)) { | |
15639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpFrame *""'"); | |
15640 | } | |
15641 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15642 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15643 | if (!SWIG_IsOK(res2)) { | |
15644 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpFrame_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15645 | } | |
15646 | { | |
15647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15648 | (arg1)->SetController(arg2); | |
15649 | wxPyEndAllowThreads(__tstate); | |
15650 | if (PyErr_Occurred()) SWIG_fail; | |
15651 | } | |
15652 | resultobj = SWIG_Py_Void(); | |
15653 | return resultobj; | |
15654 | fail: | |
15655 | return NULL; | |
d14a1e28 RD |
15656 | } |
15657 | ||
15658 | ||
0085ce49 RD |
15659 | SWIGINTERN PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15660 | PyObject *resultobj = 0; | |
15661 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
15662 | wxHtmlHelpWindow *result = 0 ; | |
15663 | void *argp1 = 0 ; | |
15664 | int res1 = 0 ; | |
15665 | PyObject *swig_obj[1] ; | |
15666 | ||
15667 | if (!args) SWIG_fail; | |
15668 | swig_obj[0] = args; | |
15669 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpFrame, 0 | 0 ); | |
15670 | if (!SWIG_IsOK(res1)) { | |
15671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpFrame_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpFrame const *""'"); | |
15672 | } | |
15673 | arg1 = reinterpret_cast< wxHtmlHelpFrame * >(argp1); | |
15674 | { | |
15675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15676 | result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); | |
15677 | wxPyEndAllowThreads(__tstate); | |
15678 | if (PyErr_Occurred()) SWIG_fail; | |
15679 | } | |
15680 | { | |
15681 | resultobj = wxPyMake_wxObject(result, 0); | |
15682 | } | |
15683 | return resultobj; | |
15684 | fail: | |
15685 | return NULL; | |
15686 | } | |
15687 | ||
15688 | ||
15689 | SWIGINTERN PyObject *HtmlHelpFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15690 | PyObject *obj; | |
15691 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
15692 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpFrame, SWIG_NewClientData(obj)); | |
15693 | return SWIG_Py_Void(); | |
15694 | } | |
15695 | ||
15696 | SWIGINTERN PyObject *HtmlHelpFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15697 | return SWIG_Python_InitShadowInstance(args); | |
15698 | } | |
15699 | ||
15700 | SWIGINTERN PyObject *_wrap_new_HtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15701 | PyObject *resultobj = 0; | |
15702 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15703 | int arg2 ; | |
15704 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15705 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
15706 | int arg4 = (int) wxHF_DEFAULT_STYLE ; | |
15707 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
15708 | wxHtmlHelpDialog *result = 0 ; | |
15709 | void *argp1 = 0 ; | |
15710 | int res1 = 0 ; | |
15711 | int val2 ; | |
15712 | int ecode2 = 0 ; | |
15713 | bool temp3 = false ; | |
15714 | int val4 ; | |
15715 | int ecode4 = 0 ; | |
15716 | void *argp5 = 0 ; | |
15717 | int res5 = 0 ; | |
15718 | PyObject * obj0 = 0 ; | |
15719 | PyObject * obj1 = 0 ; | |
15720 | PyObject * obj2 = 0 ; | |
15721 | PyObject * obj3 = 0 ; | |
15722 | PyObject * obj4 = 0 ; | |
15723 | char * kwnames[] = { | |
15724 | (char *) "parent",(char *)"arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
15725 | }; | |
15726 | ||
15727 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15728 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15729 | if (!SWIG_IsOK(res1)) { | |
15730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlHelpDialog" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
15731 | } | |
15732 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15733 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15734 | if (!SWIG_IsOK(ecode2)) { | |
15735 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlHelpDialog" "', expected argument " "2"" of type '" "int""'"); | |
15736 | } | |
15737 | arg2 = static_cast< int >(val2); | |
15738 | if (obj2) { | |
d14a1e28 | 15739 | { |
0085ce49 RD |
15740 | arg3 = wxString_in_helper(obj2); |
15741 | if (arg3 == NULL) SWIG_fail; | |
15742 | temp3 = true; | |
d14a1e28 | 15743 | } |
0085ce49 RD |
15744 | } |
15745 | if (obj3) { | |
15746 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
15747 | if (!SWIG_IsOK(ecode4)) { | |
15748 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlHelpDialog" "', expected argument " "4"" of type '" "int""'"); | |
15749 | } | |
15750 | arg4 = static_cast< int >(val4); | |
15751 | } | |
15752 | if (obj4) { | |
15753 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15754 | if (!SWIG_IsOK(res5)) { | |
15755 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_HtmlHelpDialog" "', expected argument " "5"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15756 | } |
0085ce49 RD |
15757 | arg5 = reinterpret_cast< wxHtmlHelpData * >(argp5); |
15758 | } | |
15759 | { | |
15760 | if (!wxPyCheckForApp()) SWIG_fail; | |
15761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15762 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
15763 | wxPyEndAllowThreads(__tstate); | |
15764 | if (PyErr_Occurred()) SWIG_fail; | |
15765 | } | |
15766 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_NEW | 0 ); | |
15767 | { | |
15768 | if (temp3) | |
15769 | delete arg3; | |
15770 | } | |
15771 | return resultobj; | |
15772 | fail: | |
15773 | { | |
15774 | if (temp3) | |
15775 | delete arg3; | |
15776 | } | |
15777 | return NULL; | |
d14a1e28 RD |
15778 | } |
15779 | ||
15780 | ||
0085ce49 RD |
15781 | SWIGINTERN PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15782 | PyObject *resultobj = 0; | |
15783 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; | |
15784 | wxHtmlHelpDialog *result = 0 ; | |
15785 | void *argp1 = 0 ; | |
15786 | int res1 = 0 ; | |
15787 | PyObject * obj0 = 0 ; | |
15788 | char * kwnames[] = { | |
15789 | (char *) "data", NULL | |
15790 | }; | |
15791 | ||
15792 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) SWIG_fail; | |
15793 | if (obj0) { | |
15794 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15795 | if (!SWIG_IsOK(res1)) { | |
15796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreHtmlHelpDialog" "', expected argument " "1"" of type '" "wxHtmlHelpData *""'"); | |
d14a1e28 | 15797 | } |
0085ce49 RD |
15798 | arg1 = reinterpret_cast< wxHtmlHelpData * >(argp1); |
15799 | } | |
15800 | { | |
15801 | if (!wxPyCheckForApp()) SWIG_fail; | |
15802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15803 | result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); | |
15804 | wxPyEndAllowThreads(__tstate); | |
15805 | if (PyErr_Occurred()) SWIG_fail; | |
15806 | } | |
15807 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_OWN | 0 ); | |
15808 | return resultobj; | |
15809 | fail: | |
15810 | return NULL; | |
15811 | } | |
15812 | ||
15813 | ||
15814 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15815 | PyObject *resultobj = 0; | |
15816 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15817 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15818 | int arg3 ; | |
15819 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15820 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
15821 | int arg5 = (int) wxHF_DEFAULT_STYLE ; | |
15822 | bool result; | |
15823 | void *argp1 = 0 ; | |
15824 | int res1 = 0 ; | |
15825 | void *argp2 = 0 ; | |
15826 | int res2 = 0 ; | |
15827 | int val3 ; | |
15828 | int ecode3 = 0 ; | |
15829 | bool temp4 = false ; | |
15830 | int val5 ; | |
15831 | int ecode5 = 0 ; | |
15832 | PyObject * obj0 = 0 ; | |
15833 | PyObject * obj1 = 0 ; | |
15834 | PyObject * obj2 = 0 ; | |
15835 | PyObject * obj3 = 0 ; | |
15836 | PyObject * obj4 = 0 ; | |
15837 | char * kwnames[] = { | |
15838 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL | |
15839 | }; | |
15840 | ||
15841 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
15842 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15843 | if (!SWIG_IsOK(res1)) { | |
15844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_Create" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15845 | } | |
15846 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15847 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15848 | if (!SWIG_IsOK(res2)) { | |
15849 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15850 | } | |
15851 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15852 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15853 | if (!SWIG_IsOK(ecode3)) { | |
15854 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpDialog_Create" "', expected argument " "3"" of type '" "int""'"); | |
15855 | } | |
15856 | arg3 = static_cast< int >(val3); | |
15857 | if (obj3) { | |
d14a1e28 | 15858 | { |
0085ce49 RD |
15859 | arg4 = wxString_in_helper(obj3); |
15860 | if (arg4 == NULL) SWIG_fail; | |
15861 | temp4 = true; | |
d14a1e28 | 15862 | } |
0085ce49 RD |
15863 | } |
15864 | if (obj4) { | |
15865 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
15866 | if (!SWIG_IsOK(ecode5)) { | |
15867 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HtmlHelpDialog_Create" "', expected argument " "5"" of type '" "int""'"); | |
15868 | } | |
15869 | arg5 = static_cast< int >(val5); | |
15870 | } | |
15871 | { | |
15872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15873 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15874 | wxPyEndAllowThreads(__tstate); | |
15875 | if (PyErr_Occurred()) SWIG_fail; | |
15876 | } | |
15877 | { | |
15878 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15879 | } | |
15880 | { | |
15881 | if (temp4) | |
15882 | delete arg4; | |
15883 | } | |
15884 | return resultobj; | |
15885 | fail: | |
15886 | { | |
15887 | if (temp4) | |
15888 | delete arg4; | |
15889 | } | |
15890 | return NULL; | |
d14a1e28 RD |
15891 | } |
15892 | ||
15893 | ||
0085ce49 RD |
15894 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15895 | PyObject *resultobj = 0; | |
15896 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15897 | wxHtmlHelpData *result = 0 ; | |
15898 | void *argp1 = 0 ; | |
15899 | int res1 = 0 ; | |
15900 | PyObject *swig_obj[1] ; | |
15901 | ||
15902 | if (!args) SWIG_fail; | |
15903 | swig_obj[0] = args; | |
15904 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15905 | if (!SWIG_IsOK(res1)) { | |
15906 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetData" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15907 | } | |
15908 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15909 | { | |
15910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15911 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
15912 | wxPyEndAllowThreads(__tstate); | |
15913 | if (PyErr_Occurred()) SWIG_fail; | |
15914 | } | |
15915 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpData, 0 | 0 ); | |
15916 | return resultobj; | |
15917 | fail: | |
15918 | return NULL; | |
d14a1e28 RD |
15919 | } |
15920 | ||
15921 | ||
0085ce49 RD |
15922 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15923 | PyObject *resultobj = 0; | |
15924 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15925 | wxHtmlHelpController *result = 0 ; | |
15926 | void *argp1 = 0 ; | |
15927 | int res1 = 0 ; | |
15928 | PyObject *swig_obj[1] ; | |
15929 | ||
15930 | if (!args) SWIG_fail; | |
15931 | swig_obj[0] = args; | |
15932 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15933 | if (!SWIG_IsOK(res1)) { | |
15934 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15935 | } | |
15936 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15937 | { | |
15938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15939 | result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); | |
15940 | wxPyEndAllowThreads(__tstate); | |
15941 | if (PyErr_Occurred()) SWIG_fail; | |
15942 | } | |
15943 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
15944 | return resultobj; | |
15945 | fail: | |
15946 | return NULL; | |
15947 | } | |
15948 | ||
15949 | ||
15950 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15951 | PyObject *resultobj = 0; | |
15952 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15953 | wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; | |
15954 | void *argp1 = 0 ; | |
15955 | int res1 = 0 ; | |
15956 | int res2 = 0 ; | |
15957 | PyObject * obj0 = 0 ; | |
15958 | PyObject * obj1 = 0 ; | |
15959 | char * kwnames[] = { | |
15960 | (char *) "self",(char *) "controller", NULL | |
15961 | }; | |
15962 | ||
15963 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) SWIG_fail; | |
15964 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15965 | if (!SWIG_IsOK(res1)) { | |
15966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
15967 | } | |
15968 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
15969 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
15970 | if (!SWIG_IsOK(res2)) { | |
15971 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpDialog_SetController" "', expected argument " "2"" of type '" "wxHtmlHelpController *""'"); | |
15972 | } | |
15973 | { | |
15974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15975 | (arg1)->SetController(arg2); | |
15976 | wxPyEndAllowThreads(__tstate); | |
15977 | if (PyErr_Occurred()) SWIG_fail; | |
15978 | } | |
15979 | resultobj = SWIG_Py_Void(); | |
15980 | return resultobj; | |
15981 | fail: | |
15982 | return NULL; | |
db914595 RD |
15983 | } |
15984 | ||
15985 | ||
0085ce49 RD |
15986 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
15987 | PyObject *resultobj = 0; | |
15988 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
15989 | wxHtmlHelpWindow *result = 0 ; | |
15990 | void *argp1 = 0 ; | |
15991 | int res1 = 0 ; | |
15992 | PyObject *swig_obj[1] ; | |
15993 | ||
15994 | if (!args) SWIG_fail; | |
15995 | swig_obj[0] = args; | |
15996 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
15997 | if (!SWIG_IsOK(res1)) { | |
15998 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpDialog const *""'"); | |
15999 | } | |
16000 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
16001 | { | |
16002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16003 | result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); | |
16004 | wxPyEndAllowThreads(__tstate); | |
16005 | if (PyErr_Occurred()) SWIG_fail; | |
16006 | } | |
16007 | { | |
16008 | resultobj = wxPyMake_wxObject(result, 0); | |
16009 | } | |
16010 | return resultobj; | |
16011 | fail: | |
16012 | return NULL; | |
16013 | } | |
16014 | ||
16015 | ||
16016 | SWIGINTERN PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16017 | PyObject *resultobj = 0; | |
16018 | wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; | |
16019 | wxString *arg2 = 0 ; | |
16020 | void *argp1 = 0 ; | |
16021 | int res1 = 0 ; | |
16022 | bool temp2 = false ; | |
16023 | PyObject * obj0 = 0 ; | |
16024 | PyObject * obj1 = 0 ; | |
16025 | char * kwnames[] = { | |
16026 | (char *) "self",(char *) "format", NULL | |
16027 | }; | |
16028 | ||
16029 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
16030 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpDialog, 0 | 0 ); | |
16031 | if (!SWIG_IsOK(res1)) { | |
16032 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpDialog_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpDialog *""'"); | |
16033 | } | |
16034 | arg1 = reinterpret_cast< wxHtmlHelpDialog * >(argp1); | |
16035 | { | |
16036 | arg2 = wxString_in_helper(obj1); | |
16037 | if (arg2 == NULL) SWIG_fail; | |
16038 | temp2 = true; | |
16039 | } | |
16040 | { | |
16041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16042 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
16043 | wxPyEndAllowThreads(__tstate); | |
16044 | if (PyErr_Occurred()) SWIG_fail; | |
16045 | } | |
16046 | resultobj = SWIG_Py_Void(); | |
16047 | { | |
16048 | if (temp2) | |
16049 | delete arg2; | |
16050 | } | |
16051 | return resultobj; | |
16052 | fail: | |
16053 | { | |
16054 | if (temp2) | |
16055 | delete arg2; | |
16056 | } | |
16057 | return NULL; | |
db914595 RD |
16058 | } |
16059 | ||
16060 | ||
0085ce49 RD |
16061 | SWIGINTERN PyObject *HtmlHelpDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16062 | PyObject *obj; | |
16063 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16064 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpDialog, SWIG_NewClientData(obj)); | |
16065 | return SWIG_Py_Void(); | |
db914595 RD |
16066 | } |
16067 | ||
0085ce49 RD |
16068 | SWIGINTERN PyObject *HtmlHelpDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16069 | return SWIG_Python_InitShadowInstance(args); | |
16070 | } | |
db914595 | 16071 | |
0085ce49 RD |
16072 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16073 | PyObject *resultobj = 0; | |
16074 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16075 | wxString *arg2 = 0 ; | |
16076 | int arg3 ; | |
16077 | bool result; | |
16078 | void *argp1 = 0 ; | |
16079 | int res1 = 0 ; | |
16080 | bool temp2 = false ; | |
16081 | int val3 ; | |
16082 | int ecode3 = 0 ; | |
16083 | ||
16084 | if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; | |
16085 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16086 | if (!SWIG_IsOK(res1)) { | |
16087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16088 | } | |
16089 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16090 | { | |
16091 | arg2 = wxString_in_helper(swig_obj[1]); | |
16092 | if (arg2 == NULL) SWIG_fail; | |
16093 | temp2 = true; | |
16094 | } | |
16095 | ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); | |
16096 | if (!SWIG_IsOK(ecode3)) { | |
16097 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_Initialize" "', expected argument " "3"" of type '" "int""'"); | |
16098 | } | |
16099 | arg3 = static_cast< int >(val3); | |
16100 | { | |
16101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16102 | result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); | |
16103 | wxPyEndAllowThreads(__tstate); | |
16104 | if (PyErr_Occurred()) SWIG_fail; | |
16105 | } | |
16106 | { | |
16107 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16108 | } | |
16109 | { | |
16110 | if (temp2) | |
16111 | delete arg2; | |
16112 | } | |
16113 | return resultobj; | |
16114 | fail: | |
16115 | { | |
16116 | if (temp2) | |
16117 | delete arg2; | |
16118 | } | |
16119 | return NULL; | |
b0f7404b RD |
16120 | } |
16121 | ||
16122 | ||
0085ce49 RD |
16123 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16124 | PyObject *resultobj = 0; | |
16125 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16126 | wxString *arg2 = 0 ; | |
16127 | bool result; | |
16128 | void *argp1 = 0 ; | |
16129 | int res1 = 0 ; | |
16130 | bool temp2 = false ; | |
16131 | ||
16132 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16133 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16134 | if (!SWIG_IsOK(res1)) { | |
16135 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Initialize" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16136 | } | |
16137 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16138 | { | |
16139 | arg2 = wxString_in_helper(swig_obj[1]); | |
16140 | if (arg2 == NULL) SWIG_fail; | |
16141 | temp2 = true; | |
16142 | } | |
16143 | { | |
16144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16145 | result = (bool)(arg1)->Initialize((wxString const &)*arg2); | |
16146 | wxPyEndAllowThreads(__tstate); | |
16147 | if (PyErr_Occurred()) SWIG_fail; | |
16148 | } | |
16149 | { | |
16150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16151 | } | |
16152 | { | |
16153 | if (temp2) | |
16154 | delete arg2; | |
16155 | } | |
16156 | return resultobj; | |
16157 | fail: | |
16158 | { | |
16159 | if (temp2) | |
16160 | delete arg2; | |
16161 | } | |
16162 | return NULL; | |
b0f7404b RD |
16163 | } |
16164 | ||
16165 | ||
0085ce49 RD |
16166 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { |
16167 | int argc; | |
16168 | PyObject *argv[4]; | |
16169 | ||
16170 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_Initialize",0,3,argv))) SWIG_fail; | |
16171 | --argc; | |
16172 | if (argc == 2) { | |
16173 | return _wrap_HelpControllerBase_Initialize__SWIG_1(self, argc, argv); | |
16174 | } | |
16175 | if (argc == 3) { | |
16176 | return _wrap_HelpControllerBase_Initialize__SWIG_0(self, argc, argv); | |
16177 | } | |
16178 | ||
16179 | fail: | |
16180 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); | |
16181 | return NULL; | |
16182 | } | |
16183 | ||
16184 | ||
16185 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16186 | PyObject *resultobj = 0; | |
16187 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16188 | wxString *arg2 = 0 ; | |
16189 | long arg3 = (long) 0 ; | |
16190 | void *argp1 = 0 ; | |
16191 | int res1 = 0 ; | |
16192 | bool temp2 = false ; | |
16193 | long val3 ; | |
16194 | int ecode3 = 0 ; | |
16195 | PyObject * obj0 = 0 ; | |
16196 | PyObject * obj1 = 0 ; | |
16197 | PyObject * obj2 = 0 ; | |
16198 | char * kwnames[] = { | |
16199 | (char *) "self",(char *) "viewer",(char *) "flags", NULL | |
16200 | }; | |
16201 | ||
16202 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16203 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16204 | if (!SWIG_IsOK(res1)) { | |
16205 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16206 | } | |
16207 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16208 | { | |
16209 | arg2 = wxString_in_helper(obj1); | |
16210 | if (arg2 == NULL) SWIG_fail; | |
16211 | temp2 = true; | |
16212 | } | |
16213 | if (obj2) { | |
16214 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
16215 | if (!SWIG_IsOK(ecode3)) { | |
16216 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HelpControllerBase_SetViewer" "', expected argument " "3"" of type '" "long""'"); | |
16217 | } | |
16218 | arg3 = static_cast< long >(val3); | |
16219 | } | |
16220 | { | |
16221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16222 | (arg1)->SetViewer((wxString const &)*arg2,arg3); | |
16223 | wxPyEndAllowThreads(__tstate); | |
16224 | if (PyErr_Occurred()) SWIG_fail; | |
16225 | } | |
16226 | resultobj = SWIG_Py_Void(); | |
16227 | { | |
16228 | if (temp2) | |
16229 | delete arg2; | |
16230 | } | |
16231 | return resultobj; | |
16232 | fail: | |
16233 | { | |
16234 | if (temp2) | |
16235 | delete arg2; | |
16236 | } | |
16237 | return NULL; | |
16238 | } | |
16239 | ||
16240 | ||
16241 | SWIGINTERN PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16242 | PyObject *resultobj = 0; | |
16243 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16244 | wxString const &arg2_defvalue = wxEmptyString ; | |
16245 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
16246 | bool result; | |
16247 | void *argp1 = 0 ; | |
16248 | int res1 = 0 ; | |
16249 | bool temp2 = false ; | |
16250 | PyObject * obj0 = 0 ; | |
16251 | PyObject * obj1 = 0 ; | |
16252 | char * kwnames[] = { | |
16253 | (char *) "self",(char *) "file", NULL | |
16254 | }; | |
16255 | ||
16256 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16257 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16258 | if (!SWIG_IsOK(res1)) { | |
16259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_LoadFile" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16260 | } | |
16261 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16262 | if (obj1) { | |
d14a1e28 | 16263 | { |
0085ce49 RD |
16264 | arg2 = wxString_in_helper(obj1); |
16265 | if (arg2 == NULL) SWIG_fail; | |
16266 | temp2 = true; | |
d14a1e28 | 16267 | } |
0085ce49 RD |
16268 | } |
16269 | { | |
16270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16271 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
16272 | wxPyEndAllowThreads(__tstate); | |
16273 | if (PyErr_Occurred()) SWIG_fail; | |
16274 | } | |
16275 | { | |
16276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16277 | } | |
16278 | { | |
16279 | if (temp2) | |
16280 | delete arg2; | |
16281 | } | |
16282 | return resultobj; | |
16283 | fail: | |
16284 | { | |
16285 | if (temp2) | |
16286 | delete arg2; | |
16287 | } | |
16288 | return NULL; | |
d14a1e28 RD |
16289 | } |
16290 | ||
16291 | ||
0085ce49 RD |
16292 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16293 | PyObject *resultobj = 0; | |
16294 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16295 | bool result; | |
16296 | void *argp1 = 0 ; | |
16297 | int res1 = 0 ; | |
16298 | PyObject *swig_obj[1] ; | |
16299 | ||
16300 | if (!args) SWIG_fail; | |
16301 | swig_obj[0] = args; | |
16302 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16303 | if (!SWIG_IsOK(res1)) { | |
16304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContents" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16305 | } | |
16306 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16307 | { | |
16308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16309 | result = (bool)(arg1)->DisplayContents(); | |
16310 | wxPyEndAllowThreads(__tstate); | |
16311 | if (PyErr_Occurred()) SWIG_fail; | |
16312 | } | |
16313 | { | |
16314 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16315 | } | |
16316 | return resultobj; | |
16317 | fail: | |
16318 | return NULL; | |
d14a1e28 RD |
16319 | } |
16320 | ||
16321 | ||
0085ce49 RD |
16322 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16323 | PyObject *resultobj = 0; | |
16324 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16325 | int arg2 ; | |
16326 | bool result; | |
16327 | void *argp1 = 0 ; | |
16328 | int res1 = 0 ; | |
16329 | int val2 ; | |
16330 | int ecode2 = 0 ; | |
16331 | ||
16332 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16334 | if (!SWIG_IsOK(res1)) { | |
16335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16336 | } | |
16337 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16338 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
16339 | if (!SWIG_IsOK(ecode2)) { | |
16340 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "2"" of type '" "int""'"); | |
16341 | } | |
16342 | arg2 = static_cast< int >(val2); | |
16343 | { | |
16344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16345 | result = (bool)(arg1)->DisplaySection(arg2); | |
16346 | wxPyEndAllowThreads(__tstate); | |
16347 | if (PyErr_Occurred()) SWIG_fail; | |
16348 | } | |
16349 | { | |
16350 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16351 | } | |
16352 | return resultobj; | |
16353 | fail: | |
16354 | return NULL; | |
16355 | } | |
16356 | ||
16357 | ||
16358 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16359 | PyObject *resultobj = 0; | |
16360 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16361 | int arg2 ; | |
16362 | bool result; | |
16363 | void *argp1 = 0 ; | |
16364 | int res1 = 0 ; | |
16365 | int val2 ; | |
16366 | int ecode2 = 0 ; | |
16367 | PyObject * obj0 = 0 ; | |
16368 | PyObject * obj1 = 0 ; | |
16369 | char * kwnames[] = { | |
16370 | (char *) "self",(char *) "contextId", NULL | |
16371 | }; | |
16372 | ||
16373 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) SWIG_fail; | |
16374 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16375 | if (!SWIG_IsOK(res1)) { | |
16376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16377 | } | |
16378 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16379 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16380 | if (!SWIG_IsOK(ecode2)) { | |
16381 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayContextPopup" "', expected argument " "2"" of type '" "int""'"); | |
16382 | } | |
16383 | arg2 = static_cast< int >(val2); | |
16384 | { | |
16385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16386 | result = (bool)(arg1)->DisplayContextPopup(arg2); | |
16387 | wxPyEndAllowThreads(__tstate); | |
16388 | if (PyErr_Occurred()) SWIG_fail; | |
16389 | } | |
16390 | { | |
16391 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16392 | } | |
16393 | return resultobj; | |
16394 | fail: | |
16395 | return NULL; | |
16396 | } | |
16397 | ||
16398 | ||
16399 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16400 | PyObject *resultobj = 0; | |
16401 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16402 | wxString *arg2 = 0 ; | |
16403 | wxPoint *arg3 = 0 ; | |
16404 | bool result; | |
16405 | void *argp1 = 0 ; | |
16406 | int res1 = 0 ; | |
16407 | bool temp2 = false ; | |
16408 | wxPoint temp3 ; | |
16409 | PyObject * obj0 = 0 ; | |
16410 | PyObject * obj1 = 0 ; | |
16411 | PyObject * obj2 = 0 ; | |
16412 | char * kwnames[] = { | |
16413 | (char *) "self",(char *) "text",(char *) "pos", NULL | |
16414 | }; | |
16415 | ||
16416 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16417 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16418 | if (!SWIG_IsOK(res1)) { | |
16419 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayTextPopup" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16420 | } | |
16421 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16422 | { | |
16423 | arg2 = wxString_in_helper(obj1); | |
16424 | if (arg2 == NULL) SWIG_fail; | |
16425 | temp2 = true; | |
16426 | } | |
16427 | { | |
16428 | arg3 = &temp3; | |
16429 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16430 | } | |
16431 | { | |
16432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16433 | result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); | |
16434 | wxPyEndAllowThreads(__tstate); | |
16435 | if (PyErr_Occurred()) SWIG_fail; | |
16436 | } | |
16437 | { | |
16438 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16439 | } | |
16440 | { | |
16441 | if (temp2) | |
16442 | delete arg2; | |
16443 | } | |
16444 | return resultobj; | |
16445 | fail: | |
16446 | { | |
16447 | if (temp2) | |
16448 | delete arg2; | |
16449 | } | |
16450 | return NULL; | |
d14a1e28 RD |
16451 | } |
16452 | ||
16453 | ||
0085ce49 RD |
16454 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { |
16455 | PyObject *resultobj = 0; | |
16456 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16457 | wxString *arg2 = 0 ; | |
16458 | bool result; | |
16459 | void *argp1 = 0 ; | |
16460 | int res1 = 0 ; | |
16461 | bool temp2 = false ; | |
16462 | ||
16463 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
16464 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16465 | if (!SWIG_IsOK(res1)) { | |
16466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplaySection" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16467 | } | |
16468 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16469 | { | |
16470 | arg2 = wxString_in_helper(swig_obj[1]); | |
16471 | if (arg2 == NULL) SWIG_fail; | |
16472 | temp2 = true; | |
16473 | } | |
16474 | { | |
16475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16476 | result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); | |
16477 | wxPyEndAllowThreads(__tstate); | |
16478 | if (PyErr_Occurred()) SWIG_fail; | |
16479 | } | |
16480 | { | |
16481 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16482 | } | |
16483 | { | |
16484 | if (temp2) | |
16485 | delete arg2; | |
16486 | } | |
16487 | return resultobj; | |
16488 | fail: | |
16489 | { | |
16490 | if (temp2) | |
16491 | delete arg2; | |
16492 | } | |
16493 | return NULL; | |
d14a1e28 RD |
16494 | } |
16495 | ||
16496 | ||
0085ce49 RD |
16497 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { |
16498 | int argc; | |
16499 | PyObject *argv[3]; | |
16500 | ||
16501 | if (!(argc = SWIG_Python_UnpackTuple(args,"HelpControllerBase_DisplaySection",0,2,argv))) SWIG_fail; | |
16502 | --argc; | |
16503 | if (argc == 2) { | |
16504 | int _v = 0; | |
22bfe96c | 16505 | { |
0085ce49 RD |
16506 | { |
16507 | _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); | |
16508 | } | |
22bfe96c | 16509 | } |
0085ce49 RD |
16510 | if (!_v) goto check_1; |
16511 | return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self, argc, argv); | |
16512 | } | |
16513 | check_1: | |
16514 | ||
16515 | if (argc == 2) { | |
16516 | return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self, argc, argv); | |
16517 | } | |
16518 | ||
16519 | fail: | |
16520 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); | |
16521 | return NULL; | |
16522 | } | |
16523 | ||
16524 | ||
16525 | SWIGINTERN PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16526 | PyObject *resultobj = 0; | |
16527 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16528 | long arg2 ; | |
16529 | bool result; | |
16530 | void *argp1 = 0 ; | |
16531 | int res1 = 0 ; | |
16532 | long val2 ; | |
16533 | int ecode2 = 0 ; | |
16534 | PyObject * obj0 = 0 ; | |
16535 | PyObject * obj1 = 0 ; | |
16536 | char * kwnames[] = { | |
16537 | (char *) "self",(char *) "blockNo", NULL | |
16538 | }; | |
16539 | ||
16540 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) SWIG_fail; | |
16541 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16542 | if (!SWIG_IsOK(res1)) { | |
16543 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16544 | } | |
16545 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16546 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
16547 | if (!SWIG_IsOK(ecode2)) { | |
16548 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpControllerBase_DisplayBlock" "', expected argument " "2"" of type '" "long""'"); | |
16549 | } | |
16550 | arg2 = static_cast< long >(val2); | |
16551 | { | |
16552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16553 | result = (bool)(arg1)->DisplayBlock(arg2); | |
16554 | wxPyEndAllowThreads(__tstate); | |
16555 | if (PyErr_Occurred()) SWIG_fail; | |
16556 | } | |
16557 | { | |
16558 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16559 | } | |
16560 | return resultobj; | |
16561 | fail: | |
16562 | return NULL; | |
16563 | } | |
16564 | ||
16565 | ||
16566 | SWIGINTERN PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16567 | PyObject *resultobj = 0; | |
16568 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16569 | wxString *arg2 = 0 ; | |
16570 | wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; | |
16571 | bool result; | |
16572 | void *argp1 = 0 ; | |
16573 | int res1 = 0 ; | |
16574 | bool temp2 = false ; | |
16575 | void *argp3 ; | |
16576 | int res3 = 0 ; | |
16577 | PyObject * obj0 = 0 ; | |
16578 | PyObject * obj1 = 0 ; | |
16579 | PyObject * obj2 = 0 ; | |
16580 | char * kwnames[] = { | |
16581 | (char *) "self",(char *) "k",(char *) "mode", NULL | |
16582 | }; | |
16583 | ||
16584 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
16585 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16586 | if (!SWIG_IsOK(res1)) { | |
16587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16588 | } | |
16589 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16590 | { | |
16591 | arg2 = wxString_in_helper(obj1); | |
16592 | if (arg2 == NULL) SWIG_fail; | |
16593 | temp2 = true; | |
16594 | } | |
16595 | if (obj2) { | |
16596 | { | |
16597 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHelpSearchMode, 0 | 0); | |
16598 | if (!SWIG_IsOK(res3)) { | |
16599 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16600 | } | |
16601 | if (!argp3) { | |
16602 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HelpControllerBase_KeywordSearch" "', expected argument " "3"" of type '" "wxHelpSearchMode""'"); | |
16603 | } else { | |
16604 | wxHelpSearchMode * temp = reinterpret_cast< wxHelpSearchMode * >(argp3); | |
16605 | arg3 = *temp; | |
16606 | if (SWIG_IsNewObj(res3)) delete temp; | |
16607 | } | |
22bfe96c | 16608 | } |
0085ce49 RD |
16609 | } |
16610 | { | |
16611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16612 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); | |
16613 | wxPyEndAllowThreads(__tstate); | |
16614 | if (PyErr_Occurred()) SWIG_fail; | |
16615 | } | |
16616 | { | |
16617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16618 | } | |
16619 | { | |
16620 | if (temp2) | |
16621 | delete arg2; | |
16622 | } | |
16623 | return resultobj; | |
16624 | fail: | |
16625 | { | |
16626 | if (temp2) | |
16627 | delete arg2; | |
16628 | } | |
16629 | return NULL; | |
16630 | } | |
16631 | ||
16632 | ||
16633 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16634 | PyObject *resultobj = 0; | |
16635 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16636 | wxString *arg2 = 0 ; | |
16637 | wxSize *arg3 = 0 ; | |
16638 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16639 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16640 | bool arg5 = (bool) false ; | |
16641 | void *argp1 = 0 ; | |
16642 | int res1 = 0 ; | |
16643 | bool temp2 = false ; | |
16644 | wxSize temp3 ; | |
16645 | wxPoint temp4 ; | |
16646 | bool val5 ; | |
16647 | int ecode5 = 0 ; | |
16648 | PyObject * obj0 = 0 ; | |
16649 | PyObject * obj1 = 0 ; | |
16650 | PyObject * obj2 = 0 ; | |
16651 | PyObject * obj3 = 0 ; | |
16652 | PyObject * obj4 = 0 ; | |
16653 | char * kwnames[] = { | |
16654 | (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16655 | }; | |
16656 | ||
16657 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
16658 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16659 | if (!SWIG_IsOK(res1)) { | |
16660 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16661 | } | |
16662 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16663 | { | |
16664 | arg2 = wxString_in_helper(obj1); | |
16665 | if (arg2 == NULL) SWIG_fail; | |
16666 | temp2 = true; | |
16667 | } | |
16668 | { | |
16669 | arg3 = &temp3; | |
16670 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
16671 | } | |
16672 | if (obj3) { | |
d14a1e28 | 16673 | { |
0085ce49 RD |
16674 | arg4 = &temp4; |
16675 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
d14a1e28 | 16676 | } |
0085ce49 RD |
16677 | } |
16678 | if (obj4) { | |
16679 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
16680 | if (!SWIG_IsOK(ecode5)) { | |
16681 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "HelpControllerBase_SetFrameParameters" "', expected argument " "5"" of type '" "bool""'"); | |
16682 | } | |
16683 | arg5 = static_cast< bool >(val5); | |
16684 | } | |
16685 | { | |
16686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16687 | (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); | |
16688 | wxPyEndAllowThreads(__tstate); | |
16689 | if (PyErr_Occurred()) SWIG_fail; | |
16690 | } | |
16691 | resultobj = SWIG_Py_Void(); | |
16692 | { | |
16693 | if (temp2) | |
16694 | delete arg2; | |
16695 | } | |
16696 | return resultobj; | |
16697 | fail: | |
16698 | { | |
16699 | if (temp2) | |
16700 | delete arg2; | |
16701 | } | |
16702 | return NULL; | |
16703 | } | |
16704 | ||
16705 | ||
16706 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16707 | PyObject *resultobj = 0; | |
16708 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16709 | wxSize *arg2 = (wxSize *) NULL ; | |
16710 | wxPoint *arg3 = (wxPoint *) NULL ; | |
16711 | bool *arg4 = (bool *) NULL ; | |
16712 | wxFrame *result = 0 ; | |
16713 | void *argp1 = 0 ; | |
16714 | int res1 = 0 ; | |
16715 | void *argp2 = 0 ; | |
16716 | int res2 = 0 ; | |
16717 | void *argp3 = 0 ; | |
16718 | int res3 = 0 ; | |
16719 | void *argp4 = 0 ; | |
16720 | int res4 = 0 ; | |
16721 | PyObject * obj0 = 0 ; | |
16722 | PyObject * obj1 = 0 ; | |
16723 | PyObject * obj2 = 0 ; | |
16724 | PyObject * obj3 = 0 ; | |
16725 | char * kwnames[] = { | |
16726 | (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL | |
16727 | }; | |
16728 | ||
16729 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
16730 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16731 | if (!SWIG_IsOK(res1)) { | |
16732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16733 | } | |
16734 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16735 | if (obj1) { | |
16736 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
16737 | if (!SWIG_IsOK(res2)) { | |
16738 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "2"" of type '" "wxSize *""'"); | |
d14a1e28 | 16739 | } |
0085ce49 RD |
16740 | arg2 = reinterpret_cast< wxSize * >(argp2); |
16741 | } | |
16742 | if (obj2) { | |
16743 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
16744 | if (!SWIG_IsOK(res3)) { | |
16745 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "3"" of type '" "wxPoint *""'"); | |
093d3ff1 | 16746 | } |
0085ce49 RD |
16747 | arg3 = reinterpret_cast< wxPoint * >(argp3); |
16748 | } | |
16749 | if (obj3) { | |
16750 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_bool, 0 | 0 ); | |
16751 | if (!SWIG_IsOK(res4)) { | |
16752 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "HelpControllerBase_GetFrameParameters" "', expected argument " "4"" of type '" "bool *""'"); | |
d14a1e28 | 16753 | } |
0085ce49 RD |
16754 | arg4 = reinterpret_cast< bool * >(argp4); |
16755 | } | |
16756 | { | |
16757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16758 | result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); | |
16759 | wxPyEndAllowThreads(__tstate); | |
16760 | if (PyErr_Occurred()) SWIG_fail; | |
16761 | } | |
16762 | { | |
16763 | resultobj = wxPyMake_wxObject(result, 0); | |
16764 | } | |
16765 | return resultobj; | |
16766 | fail: | |
16767 | return NULL; | |
d14a1e28 RD |
16768 | } |
16769 | ||
16770 | ||
0085ce49 RD |
16771 | SWIGINTERN PyObject *_wrap_HelpControllerBase_Quit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16772 | PyObject *resultobj = 0; | |
16773 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16774 | bool result; | |
16775 | void *argp1 = 0 ; | |
16776 | int res1 = 0 ; | |
16777 | PyObject *swig_obj[1] ; | |
16778 | ||
16779 | if (!args) SWIG_fail; | |
16780 | swig_obj[0] = args; | |
16781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16782 | if (!SWIG_IsOK(res1)) { | |
16783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_Quit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16784 | } | |
16785 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16786 | { | |
16787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16788 | result = (bool)(arg1)->Quit(); | |
16789 | wxPyEndAllowThreads(__tstate); | |
16790 | if (PyErr_Occurred()) SWIG_fail; | |
16791 | } | |
16792 | { | |
16793 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16794 | } | |
16795 | return resultobj; | |
16796 | fail: | |
16797 | return NULL; | |
d14a1e28 RD |
16798 | } |
16799 | ||
16800 | ||
0085ce49 RD |
16801 | SWIGINTERN PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16802 | PyObject *resultobj = 0; | |
16803 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16804 | void *argp1 = 0 ; | |
16805 | int res1 = 0 ; | |
16806 | PyObject *swig_obj[1] ; | |
16807 | ||
16808 | if (!args) SWIG_fail; | |
16809 | swig_obj[0] = args; | |
16810 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16811 | if (!SWIG_IsOK(res1)) { | |
16812 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_OnQuit" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16813 | } | |
16814 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16815 | { | |
16816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16817 | (arg1)->OnQuit(); | |
16818 | wxPyEndAllowThreads(__tstate); | |
16819 | if (PyErr_Occurred()) SWIG_fail; | |
16820 | } | |
16821 | resultobj = SWIG_Py_Void(); | |
16822 | return resultobj; | |
16823 | fail: | |
16824 | return NULL; | |
16825 | } | |
16826 | ||
16827 | ||
16828 | SWIGINTERN PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16829 | PyObject *resultobj = 0; | |
16830 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16831 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16832 | void *argp1 = 0 ; | |
16833 | int res1 = 0 ; | |
16834 | void *argp2 = 0 ; | |
16835 | int res2 = 0 ; | |
16836 | PyObject * obj0 = 0 ; | |
16837 | PyObject * obj1 = 0 ; | |
16838 | char * kwnames[] = { | |
16839 | (char *) "self",(char *) "win", NULL | |
16840 | }; | |
16841 | ||
16842 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
16843 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16844 | if (!SWIG_IsOK(res1)) { | |
16845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase *""'"); | |
16846 | } | |
16847 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16848 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16849 | if (!SWIG_IsOK(res2)) { | |
16850 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpControllerBase_SetParentWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16851 | } | |
16852 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16853 | { | |
16854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16855 | (arg1)->SetParentWindow(arg2); | |
16856 | wxPyEndAllowThreads(__tstate); | |
16857 | if (PyErr_Occurred()) SWIG_fail; | |
16858 | } | |
16859 | resultobj = SWIG_Py_Void(); | |
16860 | return resultobj; | |
16861 | fail: | |
16862 | return NULL; | |
d14a1e28 RD |
16863 | } |
16864 | ||
16865 | ||
0085ce49 RD |
16866 | SWIGINTERN PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16867 | PyObject *resultobj = 0; | |
16868 | wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; | |
16869 | wxWindow *result = 0 ; | |
16870 | void *argp1 = 0 ; | |
16871 | int res1 = 0 ; | |
16872 | PyObject *swig_obj[1] ; | |
16873 | ||
16874 | if (!args) SWIG_fail; | |
16875 | swig_obj[0] = args; | |
16876 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpControllerBase, 0 | 0 ); | |
16877 | if (!SWIG_IsOK(res1)) { | |
16878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpControllerBase_GetParentWindow" "', expected argument " "1"" of type '" "wxHelpControllerBase const *""'"); | |
16879 | } | |
16880 | arg1 = reinterpret_cast< wxHelpControllerBase * >(argp1); | |
16881 | { | |
16882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16883 | result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); | |
16884 | wxPyEndAllowThreads(__tstate); | |
16885 | if (PyErr_Occurred()) SWIG_fail; | |
16886 | } | |
16887 | { | |
16888 | resultobj = wxPyMake_wxObject(result, 0); | |
16889 | } | |
16890 | return resultobj; | |
16891 | fail: | |
16892 | return NULL; | |
16893 | } | |
16894 | ||
16895 | ||
16896 | SWIGINTERN PyObject *HelpControllerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16897 | PyObject *obj; | |
16898 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16899 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpControllerBase, SWIG_NewClientData(obj)); | |
16900 | return SWIG_Py_Void(); | |
16901 | } | |
16902 | ||
16903 | SWIGINTERN PyObject *_wrap_new_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16904 | PyObject *resultobj = 0; | |
16905 | int arg1 = (int) wxHF_DEFAULT_STYLE ; | |
16906 | wxWindow *arg2 = (wxWindow *) NULL ; | |
16907 | wxHtmlHelpController *result = 0 ; | |
16908 | int val1 ; | |
16909 | int ecode1 = 0 ; | |
16910 | void *argp2 = 0 ; | |
16911 | int res2 = 0 ; | |
16912 | PyObject * obj0 = 0 ; | |
16913 | PyObject * obj1 = 0 ; | |
16914 | char * kwnames[] = { | |
16915 | (char *) "style",(char *) "parentWindow", NULL | |
16916 | }; | |
16917 | ||
16918 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) SWIG_fail; | |
16919 | if (obj0) { | |
16920 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
16921 | if (!SWIG_IsOK(ecode1)) { | |
16922 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HtmlHelpController" "', expected argument " "1"" of type '" "int""'"); | |
16923 | } | |
16924 | arg1 = static_cast< int >(val1); | |
16925 | } | |
16926 | if (obj1) { | |
16927 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16928 | if (!SWIG_IsOK(res2)) { | |
16929 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_HtmlHelpController" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
d14a1e28 | 16930 | } |
0085ce49 RD |
16931 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
16932 | } | |
16933 | { | |
16934 | if (!wxPyCheckForApp()) SWIG_fail; | |
16935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16936 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); | |
16937 | wxPyEndAllowThreads(__tstate); | |
16938 | if (PyErr_Occurred()) SWIG_fail; | |
16939 | } | |
16940 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_NEW | 0 ); | |
16941 | return resultobj; | |
16942 | fail: | |
16943 | return NULL; | |
d14a1e28 RD |
16944 | } |
16945 | ||
16946 | ||
0085ce49 RD |
16947 | SWIGINTERN PyObject *_wrap_delete_HtmlHelpController(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16948 | PyObject *resultobj = 0; | |
16949 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16950 | void *argp1 = 0 ; | |
16951 | int res1 = 0 ; | |
16952 | PyObject *swig_obj[1] ; | |
16953 | ||
16954 | if (!args) SWIG_fail; | |
16955 | swig_obj[0] = args; | |
16956 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_DISOWN | 0 ); | |
16957 | if (!SWIG_IsOK(res1)) { | |
16958 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HtmlHelpController" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16959 | } | |
16960 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16961 | { | |
16962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16963 | delete arg1; | |
30ee79f7 | 16964 | |
0085ce49 RD |
16965 | wxPyEndAllowThreads(__tstate); |
16966 | if (PyErr_Occurred()) SWIG_fail; | |
16967 | } | |
16968 | resultobj = SWIG_Py_Void(); | |
16969 | return resultobj; | |
16970 | fail: | |
16971 | return NULL; | |
30ee79f7 RD |
16972 | } |
16973 | ||
16974 | ||
0085ce49 RD |
16975 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16976 | PyObject *resultobj = 0; | |
16977 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
16978 | wxHtmlHelpWindow *result = 0 ; | |
16979 | void *argp1 = 0 ; | |
16980 | int res1 = 0 ; | |
16981 | PyObject *swig_obj[1] ; | |
16982 | ||
16983 | if (!args) SWIG_fail; | |
16984 | swig_obj[0] = args; | |
16985 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
16986 | if (!SWIG_IsOK(res1)) { | |
16987 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
16988 | } | |
16989 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
16990 | { | |
16991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16992 | result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); | |
16993 | wxPyEndAllowThreads(__tstate); | |
16994 | if (PyErr_Occurred()) SWIG_fail; | |
16995 | } | |
16996 | { | |
16997 | resultobj = wxPyMake_wxObject(result, 0); | |
16998 | } | |
16999 | return resultobj; | |
17000 | fail: | |
17001 | return NULL; | |
17002 | } | |
17003 | ||
17004 | ||
17005 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17006 | PyObject *resultobj = 0; | |
17007 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17008 | wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; | |
17009 | void *argp1 = 0 ; | |
17010 | int res1 = 0 ; | |
17011 | void *argp2 = 0 ; | |
17012 | int res2 = 0 ; | |
17013 | PyObject * obj0 = 0 ; | |
17014 | PyObject * obj1 = 0 ; | |
17015 | char * kwnames[] = { | |
17016 | (char *) "self",(char *) "helpWindow", NULL | |
17017 | }; | |
17018 | ||
17019 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17020 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17021 | if (!SWIG_IsOK(res1)) { | |
17022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17023 | } | |
17024 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17025 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxHtmlHelpWindow, 0 | 0 ); | |
17026 | if (!SWIG_IsOK(res2)) { | |
17027 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_SetHelpWindow" "', expected argument " "2"" of type '" "wxHtmlHelpWindow *""'"); | |
17028 | } | |
17029 | arg2 = reinterpret_cast< wxHtmlHelpWindow * >(argp2); | |
17030 | { | |
17031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17032 | (arg1)->SetHelpWindow(arg2); | |
17033 | wxPyEndAllowThreads(__tstate); | |
17034 | if (PyErr_Occurred()) SWIG_fail; | |
17035 | } | |
17036 | resultobj = SWIG_Py_Void(); | |
17037 | return resultobj; | |
17038 | fail: | |
17039 | return NULL; | |
d14a1e28 RD |
17040 | } |
17041 | ||
17042 | ||
0085ce49 RD |
17043 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17044 | PyObject *resultobj = 0; | |
17045 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17046 | wxHtmlHelpFrame *result = 0 ; | |
17047 | void *argp1 = 0 ; | |
17048 | int res1 = 0 ; | |
17049 | PyObject *swig_obj[1] ; | |
17050 | ||
17051 | if (!args) SWIG_fail; | |
17052 | swig_obj[0] = args; | |
17053 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17054 | if (!SWIG_IsOK(res1)) { | |
17055 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetFrame" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17056 | } | |
17057 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17058 | { | |
17059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17060 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
17061 | wxPyEndAllowThreads(__tstate); | |
17062 | if (PyErr_Occurred()) SWIG_fail; | |
17063 | } | |
17064 | { | |
17065 | resultobj = wxPyMake_wxObject(result, 0); | |
17066 | } | |
17067 | return resultobj; | |
17068 | fail: | |
17069 | return NULL; | |
d14a1e28 RD |
17070 | } |
17071 | ||
17072 | ||
0085ce49 RD |
17073 | SWIGINTERN PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17074 | PyObject *resultobj = 0; | |
17075 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17076 | wxHtmlHelpDialog *result = 0 ; | |
17077 | void *argp1 = 0 ; | |
17078 | int res1 = 0 ; | |
17079 | PyObject *swig_obj[1] ; | |
17080 | ||
17081 | if (!args) SWIG_fail; | |
17082 | swig_obj[0] = args; | |
17083 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17084 | if (!SWIG_IsOK(res1)) { | |
17085 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_GetDialog" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17086 | } | |
17087 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17088 | { | |
17089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17090 | result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); | |
17091 | wxPyEndAllowThreads(__tstate); | |
17092 | if (PyErr_Occurred()) SWIG_fail; | |
17093 | } | |
17094 | { | |
17095 | resultobj = wxPyMake_wxObject(result, 0); | |
17096 | } | |
17097 | return resultobj; | |
17098 | fail: | |
17099 | return NULL; | |
17100 | } | |
17101 | ||
17102 | ||
17103 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17104 | PyObject *resultobj = 0; | |
17105 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17106 | wxString *arg2 = 0 ; | |
17107 | void *argp1 = 0 ; | |
17108 | int res1 = 0 ; | |
17109 | bool temp2 = false ; | |
17110 | PyObject * obj0 = 0 ; | |
17111 | PyObject * obj1 = 0 ; | |
17112 | char * kwnames[] = { | |
17113 | (char *) "self",(char *) "format", NULL | |
17114 | }; | |
17115 | ||
17116 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) SWIG_fail; | |
17117 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17118 | if (!SWIG_IsOK(res1)) { | |
17119 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTitleFormat" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17120 | } | |
17121 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17122 | { | |
17123 | arg2 = wxString_in_helper(obj1); | |
17124 | if (arg2 == NULL) SWIG_fail; | |
17125 | temp2 = true; | |
17126 | } | |
17127 | { | |
17128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17129 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
17130 | wxPyEndAllowThreads(__tstate); | |
17131 | if (PyErr_Occurred()) SWIG_fail; | |
17132 | } | |
17133 | resultobj = SWIG_Py_Void(); | |
17134 | { | |
17135 | if (temp2) | |
17136 | delete arg2; | |
17137 | } | |
17138 | return resultobj; | |
17139 | fail: | |
17140 | { | |
17141 | if (temp2) | |
17142 | delete arg2; | |
17143 | } | |
17144 | return NULL; | |
d14a1e28 RD |
17145 | } |
17146 | ||
17147 | ||
0085ce49 RD |
17148 | SWIGINTERN PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
17149 | PyObject *resultobj = 0; | |
17150 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17151 | wxString *arg2 = 0 ; | |
17152 | void *argp1 = 0 ; | |
17153 | int res1 = 0 ; | |
17154 | bool temp2 = false ; | |
17155 | PyObject * obj0 = 0 ; | |
17156 | PyObject * obj1 = 0 ; | |
17157 | char * kwnames[] = { | |
17158 | (char *) "self",(char *) "path", NULL | |
17159 | }; | |
17160 | ||
17161 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail; | |
17162 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17163 | if (!SWIG_IsOK(res1)) { | |
17164 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_SetTempDir" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17165 | } | |
17166 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17167 | { | |
17168 | arg2 = wxString_in_helper(obj1); | |
17169 | if (arg2 == NULL) SWIG_fail; | |
17170 | temp2 = true; | |
17171 | } | |
17172 | { | |
17173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17174 | (arg1)->SetTempDir((wxString const &)*arg2); | |
17175 | wxPyEndAllowThreads(__tstate); | |
17176 | if (PyErr_Occurred()) SWIG_fail; | |
17177 | } | |
17178 | resultobj = SWIG_Py_Void(); | |
17179 | { | |
17180 | if (temp2) | |
17181 | delete arg2; | |
17182 | } | |
17183 | return resultobj; | |
17184 | fail: | |
17185 | { | |
17186 | if (temp2) | |
17187 | delete arg2; | |
17188 | } | |
17189 | return NULL; | |
17190 | } | |
17191 | ||
17192 | ||
17193 | SWIGINTERN PyObject *_wrap_HtmlHelpController_AddBook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17194 | PyObject *resultobj = 0; | |
17195 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17196 | wxString *arg2 = 0 ; | |
17197 | int arg3 = (int) false ; | |
17198 | bool result; | |
17199 | void *argp1 = 0 ; | |
17200 | int res1 = 0 ; | |
17201 | bool temp2 = false ; | |
17202 | int val3 ; | |
17203 | int ecode3 = 0 ; | |
17204 | PyObject * obj0 = 0 ; | |
17205 | PyObject * obj1 = 0 ; | |
17206 | PyObject * obj2 = 0 ; | |
17207 | char * kwnames[] = { | |
17208 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
17209 | }; | |
17210 | ||
17211 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17212 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17213 | if (!SWIG_IsOK(res1)) { | |
17214 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_AddBook" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17215 | } | |
17216 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17217 | { | |
17218 | arg2 = wxString_in_helper(obj1); | |
17219 | if (arg2 == NULL) SWIG_fail; | |
17220 | temp2 = true; | |
17221 | } | |
17222 | if (obj2) { | |
17223 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17224 | if (!SWIG_IsOK(ecode3)) { | |
17225 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlHelpController_AddBook" "', expected argument " "3"" of type '" "int""'"); | |
17226 | } | |
17227 | arg3 = static_cast< int >(val3); | |
17228 | } | |
17229 | { | |
17230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17231 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
17232 | wxPyEndAllowThreads(__tstate); | |
17233 | if (PyErr_Occurred()) SWIG_fail; | |
17234 | } | |
17235 | { | |
17236 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17237 | } | |
17238 | { | |
17239 | if (temp2) | |
17240 | delete arg2; | |
17241 | } | |
17242 | return resultobj; | |
17243 | fail: | |
17244 | { | |
17245 | if (temp2) | |
17246 | delete arg2; | |
17247 | } | |
17248 | return NULL; | |
d14a1e28 RD |
17249 | } |
17250 | ||
17251 | ||
0085ce49 RD |
17252 | SWIGINTERN PyObject *_wrap_HtmlHelpController_Display(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
17253 | PyObject *resultobj = 0; | |
17254 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17255 | wxString *arg2 = 0 ; | |
17256 | void *argp1 = 0 ; | |
17257 | int res1 = 0 ; | |
17258 | bool temp2 = false ; | |
17259 | PyObject * obj0 = 0 ; | |
17260 | PyObject * obj1 = 0 ; | |
17261 | char * kwnames[] = { | |
17262 | (char *) "self",(char *) "x", NULL | |
17263 | }; | |
17264 | ||
17265 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) SWIG_fail; | |
17266 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17267 | if (!SWIG_IsOK(res1)) { | |
17268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_Display" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17269 | } | |
17270 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17271 | { | |
17272 | arg2 = wxString_in_helper(obj1); | |
17273 | if (arg2 == NULL) SWIG_fail; | |
17274 | temp2 = true; | |
17275 | } | |
17276 | { | |
17277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17278 | (arg1)->Display((wxString const &)*arg2); | |
17279 | wxPyEndAllowThreads(__tstate); | |
17280 | if (PyErr_Occurred()) SWIG_fail; | |
17281 | } | |
17282 | resultobj = SWIG_Py_Void(); | |
17283 | { | |
17284 | if (temp2) | |
17285 | delete arg2; | |
17286 | } | |
17287 | return resultobj; | |
17288 | fail: | |
17289 | { | |
17290 | if (temp2) | |
17291 | delete arg2; | |
17292 | } | |
17293 | return NULL; | |
17294 | } | |
17295 | ||
17296 | ||
17297 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17298 | PyObject *resultobj = 0; | |
17299 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17300 | int arg2 ; | |
17301 | void *argp1 = 0 ; | |
17302 | int res1 = 0 ; | |
17303 | int val2 ; | |
17304 | int ecode2 = 0 ; | |
17305 | PyObject * obj0 = 0 ; | |
17306 | PyObject * obj1 = 0 ; | |
17307 | char * kwnames[] = { | |
17308 | (char *) "self",(char *) "id", NULL | |
17309 | }; | |
17310 | ||
17311 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) SWIG_fail; | |
17312 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17313 | if (!SWIG_IsOK(res1)) { | |
17314 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17315 | } | |
17316 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17317 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17318 | if (!SWIG_IsOK(ecode2)) { | |
17319 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlHelpController_DisplayID" "', expected argument " "2"" of type '" "int""'"); | |
17320 | } | |
17321 | arg2 = static_cast< int >(val2); | |
17322 | { | |
17323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17324 | (arg1)->Display(arg2); | |
17325 | wxPyEndAllowThreads(__tstate); | |
17326 | if (PyErr_Occurred()) SWIG_fail; | |
17327 | } | |
17328 | resultobj = SWIG_Py_Void(); | |
17329 | return resultobj; | |
17330 | fail: | |
17331 | return NULL; | |
d14a1e28 RD |
17332 | } |
17333 | ||
17334 | ||
0085ce49 RD |
17335 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17336 | PyObject *resultobj = 0; | |
17337 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17338 | void *argp1 = 0 ; | |
17339 | int res1 = 0 ; | |
17340 | PyObject *swig_obj[1] ; | |
17341 | ||
17342 | if (!args) SWIG_fail; | |
17343 | swig_obj[0] = args; | |
17344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17345 | if (!SWIG_IsOK(res1)) { | |
17346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayContents" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17347 | } | |
17348 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17349 | { | |
17350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17351 | (arg1)->DisplayContents(); | |
17352 | wxPyEndAllowThreads(__tstate); | |
17353 | if (PyErr_Occurred()) SWIG_fail; | |
17354 | } | |
17355 | resultobj = SWIG_Py_Void(); | |
17356 | return resultobj; | |
17357 | fail: | |
17358 | return NULL; | |
d14a1e28 RD |
17359 | } |
17360 | ||
17361 | ||
0085ce49 RD |
17362 | SWIGINTERN PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17363 | PyObject *resultobj = 0; | |
17364 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17365 | void *argp1 = 0 ; | |
17366 | int res1 = 0 ; | |
17367 | PyObject *swig_obj[1] ; | |
17368 | ||
17369 | if (!args) SWIG_fail; | |
17370 | swig_obj[0] = args; | |
17371 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17372 | if (!SWIG_IsOK(res1)) { | |
17373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_DisplayIndex" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17374 | } | |
17375 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17376 | { | |
17377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17378 | (arg1)->DisplayIndex(); | |
17379 | wxPyEndAllowThreads(__tstate); | |
17380 | if (PyErr_Occurred()) SWIG_fail; | |
17381 | } | |
17382 | resultobj = SWIG_Py_Void(); | |
17383 | return resultobj; | |
17384 | fail: | |
17385 | return NULL; | |
17386 | } | |
17387 | ||
17388 | ||
17389 | SWIGINTERN PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17390 | PyObject *resultobj = 0; | |
17391 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17392 | wxString *arg2 = 0 ; | |
17393 | bool result; | |
17394 | void *argp1 = 0 ; | |
17395 | int res1 = 0 ; | |
17396 | bool temp2 = false ; | |
17397 | PyObject * obj0 = 0 ; | |
17398 | PyObject * obj1 = 0 ; | |
17399 | char * kwnames[] = { | |
17400 | (char *) "self",(char *) "keyword", NULL | |
17401 | }; | |
17402 | ||
17403 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) SWIG_fail; | |
17404 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17405 | if (!SWIG_IsOK(res1)) { | |
17406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_KeywordSearch" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17407 | } | |
17408 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17409 | { | |
17410 | arg2 = wxString_in_helper(obj1); | |
17411 | if (arg2 == NULL) SWIG_fail; | |
17412 | temp2 = true; | |
17413 | } | |
17414 | { | |
17415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17416 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
17417 | wxPyEndAllowThreads(__tstate); | |
17418 | if (PyErr_Occurred()) SWIG_fail; | |
17419 | } | |
17420 | { | |
17421 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17422 | } | |
17423 | { | |
17424 | if (temp2) | |
17425 | delete arg2; | |
17426 | } | |
17427 | return resultobj; | |
17428 | fail: | |
17429 | { | |
17430 | if (temp2) | |
17431 | delete arg2; | |
17432 | } | |
17433 | return NULL; | |
17434 | } | |
17435 | ||
17436 | ||
17437 | SWIGINTERN PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17438 | PyObject *resultobj = 0; | |
17439 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17440 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17441 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
17442 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17443 | void *argp1 = 0 ; | |
17444 | int res1 = 0 ; | |
17445 | void *argp2 = 0 ; | |
17446 | int res2 = 0 ; | |
17447 | bool temp3 = false ; | |
17448 | PyObject * obj0 = 0 ; | |
17449 | PyObject * obj1 = 0 ; | |
17450 | PyObject * obj2 = 0 ; | |
17451 | char * kwnames[] = { | |
17452 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
17453 | }; | |
17454 | ||
17455 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17456 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17457 | if (!SWIG_IsOK(res1)) { | |
17458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17459 | } | |
17460 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17461 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17462 | if (!SWIG_IsOK(res2)) { | |
17463 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_UseConfig" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17464 | } | |
17465 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17466 | if (obj2) { | |
ae8162c8 | 17467 | { |
0085ce49 RD |
17468 | arg3 = wxString_in_helper(obj2); |
17469 | if (arg3 == NULL) SWIG_fail; | |
17470 | temp3 = true; | |
ae8162c8 | 17471 | } |
0085ce49 RD |
17472 | } |
17473 | { | |
17474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17475 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
17476 | wxPyEndAllowThreads(__tstate); | |
17477 | if (PyErr_Occurred()) SWIG_fail; | |
17478 | } | |
17479 | resultobj = SWIG_Py_Void(); | |
17480 | { | |
17481 | if (temp3) | |
17482 | delete arg3; | |
17483 | } | |
17484 | return resultobj; | |
17485 | fail: | |
17486 | { | |
17487 | if (temp3) | |
17488 | delete arg3; | |
17489 | } | |
17490 | return NULL; | |
17491 | } | |
17492 | ||
17493 | ||
17494 | SWIGINTERN PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17495 | PyObject *resultobj = 0; | |
17496 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17497 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17498 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17499 | void *argp1 = 0 ; | |
17500 | int res1 = 0 ; | |
17501 | void *argp2 = 0 ; | |
17502 | int res2 = 0 ; | |
17503 | PyObject * obj0 = 0 ; | |
17504 | PyObject * obj1 = 0 ; | |
17505 | PyObject * obj2 = 0 ; | |
17506 | char * kwnames[] = { | |
17507 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17508 | }; | |
17509 | ||
17510 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17511 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17512 | if (!SWIG_IsOK(res1)) { | |
17513 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17514 | } | |
17515 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17516 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17517 | if (!SWIG_IsOK(res2)) { | |
17518 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_ReadCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17519 | } | |
17520 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17521 | if (obj2) { | |
ae8162c8 | 17522 | { |
0085ce49 RD |
17523 | wxString* sptr = wxString_in_helper(obj2); |
17524 | if (sptr == NULL) SWIG_fail; | |
17525 | arg3 = *sptr; | |
17526 | delete sptr; | |
994141e6 | 17527 | } |
0085ce49 RD |
17528 | } |
17529 | { | |
17530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17531 | (arg1)->ReadCustomization(arg2,arg3); | |
17532 | wxPyEndAllowThreads(__tstate); | |
17533 | if (PyErr_Occurred()) SWIG_fail; | |
17534 | } | |
17535 | resultobj = SWIG_Py_Void(); | |
17536 | return resultobj; | |
17537 | fail: | |
17538 | return NULL; | |
17539 | } | |
17540 | ||
17541 | ||
17542 | SWIGINTERN PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17543 | PyObject *resultobj = 0; | |
17544 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17545 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
17546 | wxString arg3 = (wxString) wxPyEmptyString ; | |
17547 | void *argp1 = 0 ; | |
17548 | int res1 = 0 ; | |
17549 | void *argp2 = 0 ; | |
17550 | int res2 = 0 ; | |
17551 | PyObject * obj0 = 0 ; | |
17552 | PyObject * obj1 = 0 ; | |
17553 | PyObject * obj2 = 0 ; | |
17554 | char * kwnames[] = { | |
17555 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
17556 | }; | |
17557 | ||
17558 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17559 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17560 | if (!SWIG_IsOK(res1)) { | |
17561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17562 | } | |
17563 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17564 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxConfigBase, 0 | 0 ); | |
17565 | if (!SWIG_IsOK(res2)) { | |
17566 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlHelpController_WriteCustomization" "', expected argument " "2"" of type '" "wxConfigBase *""'"); | |
17567 | } | |
17568 | arg2 = reinterpret_cast< wxConfigBase * >(argp2); | |
17569 | if (obj2) { | |
d14a1e28 | 17570 | { |
0085ce49 RD |
17571 | wxString* sptr = wxString_in_helper(obj2); |
17572 | if (sptr == NULL) SWIG_fail; | |
17573 | arg3 = *sptr; | |
17574 | delete sptr; | |
d14a1e28 | 17575 | } |
0085ce49 RD |
17576 | } |
17577 | { | |
17578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17579 | (arg1)->WriteCustomization(arg2,arg3); | |
17580 | wxPyEndAllowThreads(__tstate); | |
17581 | if (PyErr_Occurred()) SWIG_fail; | |
17582 | } | |
17583 | resultobj = SWIG_Py_Void(); | |
17584 | return resultobj; | |
17585 | fail: | |
17586 | return NULL; | |
d14a1e28 RD |
17587 | } |
17588 | ||
17589 | ||
0085ce49 RD |
17590 | SWIGINTERN PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17591 | PyObject *resultobj = 0; | |
17592 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17593 | void *argp1 = 0 ; | |
17594 | int res1 = 0 ; | |
17595 | PyObject *swig_obj[1] ; | |
17596 | ||
17597 | if (!args) SWIG_fail; | |
17598 | swig_obj[0] = args; | |
17599 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17600 | if (!SWIG_IsOK(res1)) { | |
17601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_MakeModalIfNeeded" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17602 | } | |
17603 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17604 | { | |
17605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17606 | (arg1)->MakeModalIfNeeded(); | |
17607 | wxPyEndAllowThreads(__tstate); | |
17608 | if (PyErr_Occurred()) SWIG_fail; | |
17609 | } | |
17610 | resultobj = SWIG_Py_Void(); | |
17611 | return resultobj; | |
17612 | fail: | |
17613 | return NULL; | |
d14a1e28 RD |
17614 | } |
17615 | ||
17616 | ||
0085ce49 RD |
17617 | SWIGINTERN PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17618 | PyObject *resultobj = 0; | |
17619 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
17620 | wxWindow *result = 0 ; | |
17621 | void *argp1 = 0 ; | |
17622 | int res1 = 0 ; | |
17623 | PyObject *swig_obj[1] ; | |
17624 | ||
17625 | if (!args) SWIG_fail; | |
17626 | swig_obj[0] = args; | |
17627 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHtmlHelpController, 0 | 0 ); | |
17628 | if (!SWIG_IsOK(res1)) { | |
17629 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlHelpController_FindTopLevelWindow" "', expected argument " "1"" of type '" "wxHtmlHelpController *""'"); | |
17630 | } | |
17631 | arg1 = reinterpret_cast< wxHtmlHelpController * >(argp1); | |
17632 | { | |
17633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17634 | result = (wxWindow *)(arg1)->FindTopLevelWindow(); | |
17635 | wxPyEndAllowThreads(__tstate); | |
17636 | if (PyErr_Occurred()) SWIG_fail; | |
17637 | } | |
17638 | { | |
17639 | resultobj = wxPyMake_wxObject(result, 0); | |
17640 | } | |
17641 | return resultobj; | |
17642 | fail: | |
17643 | return NULL; | |
17644 | } | |
17645 | ||
17646 | ||
17647 | SWIGINTERN PyObject *HtmlHelpController_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17648 | PyObject *obj; | |
17649 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17650 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlHelpController, SWIG_NewClientData(obj)); | |
17651 | return SWIG_Py_Void(); | |
17652 | } | |
17653 | ||
17654 | SWIGINTERN PyObject *HtmlHelpController_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17655 | return SWIG_Python_InitShadowInstance(args); | |
17656 | } | |
17657 | ||
17658 | SWIGINTERN PyObject *_wrap_new_HtmlModalHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17659 | PyObject *resultobj = 0; | |
17660 | wxWindow *arg1 = (wxWindow *) 0 ; | |
17661 | wxString *arg2 = 0 ; | |
17662 | wxString const &arg3_defvalue = wxEmptyString ; | |
17663 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
17664 | int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; | |
17665 | wxHtmlModalHelp *result = 0 ; | |
17666 | void *argp1 = 0 ; | |
17667 | int res1 = 0 ; | |
17668 | bool temp2 = false ; | |
17669 | bool temp3 = false ; | |
17670 | int val4 ; | |
17671 | int ecode4 = 0 ; | |
17672 | PyObject * obj0 = 0 ; | |
17673 | PyObject * obj1 = 0 ; | |
17674 | PyObject * obj2 = 0 ; | |
17675 | PyObject * obj3 = 0 ; | |
17676 | char * kwnames[] = { | |
17677 | (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL | |
17678 | }; | |
17679 | ||
17680 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
17681 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
17682 | if (!SWIG_IsOK(res1)) { | |
17683 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlModalHelp" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
17684 | } | |
17685 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
17686 | { | |
17687 | arg2 = wxString_in_helper(obj1); | |
17688 | if (arg2 == NULL) SWIG_fail; | |
17689 | temp2 = true; | |
17690 | } | |
17691 | if (obj2) { | |
d14a1e28 | 17692 | { |
0085ce49 RD |
17693 | arg3 = wxString_in_helper(obj2); |
17694 | if (arg3 == NULL) SWIG_fail; | |
17695 | temp3 = true; | |
d14a1e28 | 17696 | } |
0085ce49 RD |
17697 | } |
17698 | if (obj3) { | |
17699 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17700 | if (!SWIG_IsOK(ecode4)) { | |
17701 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HtmlModalHelp" "', expected argument " "4"" of type '" "int""'"); | |
17702 | } | |
17703 | arg4 = static_cast< int >(val4); | |
17704 | } | |
17705 | { | |
17706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17707 | result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
17708 | wxPyEndAllowThreads(__tstate); | |
17709 | if (PyErr_Occurred()) SWIG_fail; | |
17710 | } | |
17711 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHtmlModalHelp, SWIG_POINTER_NEW | 0 ); | |
17712 | { | |
17713 | if (temp2) | |
17714 | delete arg2; | |
17715 | } | |
17716 | { | |
17717 | if (temp3) | |
17718 | delete arg3; | |
17719 | } | |
17720 | return resultobj; | |
17721 | fail: | |
17722 | { | |
17723 | if (temp2) | |
17724 | delete arg2; | |
17725 | } | |
17726 | { | |
17727 | if (temp3) | |
17728 | delete arg3; | |
17729 | } | |
17730 | return NULL; | |
d14a1e28 RD |
17731 | } |
17732 | ||
17733 | ||
0085ce49 RD |
17734 | SWIGINTERN PyObject *HtmlModalHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17735 | PyObject *obj; | |
17736 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17737 | SWIG_TypeNewClientData(SWIGTYPE_p_wxHtmlModalHelp, SWIG_NewClientData(obj)); | |
17738 | return SWIG_Py_Void(); | |
d14a1e28 RD |
17739 | } |
17740 | ||
0085ce49 RD |
17741 | SWIGINTERN PyObject *HtmlModalHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
17742 | return SWIG_Python_InitShadowInstance(args); | |
d14a1e28 RD |
17743 | } |
17744 | ||
091f5bed RD |
17745 | static PyMethodDef SwigMethods[] = { |
17746 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17747 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction)_wrap_HtmlLinkInfo_GetHref, METH_O, NULL}, |
17748 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction)_wrap_HtmlLinkInfo_GetTarget, METH_O, NULL}, | |
17749 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction)_wrap_HtmlLinkInfo_GetEvent, METH_O, NULL}, | |
17750 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction)_wrap_HtmlLinkInfo_GetHtmlCell, METH_O, NULL}, | |
091f5bed RD |
17751 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17752 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17753 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
17754 | { (char *)"HtmlLinkInfo_swiginit", HtmlLinkInfo_swiginit, METH_VARARGS, NULL}, |
17755 | { (char *)"HtmlTag_GetName", (PyCFunction)_wrap_HtmlTag_GetName, METH_O, NULL}, | |
091f5bed RD |
17756 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL}, |
17757 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17758 | { (char *)"HtmlTag_GetAllParams", (PyCFunction)_wrap_HtmlTag_GetAllParams, METH_O, NULL}, |
17759 | { (char *)"HtmlTag_HasEnding", (PyCFunction)_wrap_HtmlTag_HasEnding, METH_O, NULL}, | |
17760 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction)_wrap_HtmlTag_GetBeginPos, METH_O, NULL}, | |
17761 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction)_wrap_HtmlTag_GetEndPos1, METH_O, NULL}, | |
17762 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction)_wrap_HtmlTag_GetEndPos2, METH_O, NULL}, | |
093d3ff1 RD |
17763 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL}, |
17764 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17765 | { (char *)"HtmlParser_GetFS", (PyCFunction)_wrap_HtmlParser_GetFS, METH_O, NULL}, |
093d3ff1 RD |
17766 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL}, |
17767 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17768 | { (char *)"HtmlParser_DoneParser", (PyCFunction)_wrap_HtmlParser_DoneParser, METH_O, NULL}, |
093d3ff1 | 17769 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17770 | { (char *)"HtmlParser_StopParsing", (PyCFunction)_wrap_HtmlParser_StopParsing, METH_O, NULL}, |
093d3ff1 | 17771 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17772 | { (char *)"HtmlParser_GetSource", (PyCFunction)_wrap_HtmlParser_GetSource, METH_O, NULL}, |
093d3ff1 | 17773 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17774 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction)_wrap_HtmlParser_PopTagHandler, METH_O, NULL}, |
e9d6f3a4 | 17775 | { (char *)"HtmlParser_GetInnerSource", (PyCFunction) _wrap_HtmlParser_GetInnerSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17776 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL}, |
17777 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17778 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17779 | { (char *)"HtmlWinParser_GetDC", (PyCFunction)_wrap_HtmlWinParser_GetDC, METH_O, NULL}, |
17780 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction)_wrap_HtmlWinParser_GetCharHeight, METH_O, NULL}, | |
17781 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction)_wrap_HtmlWinParser_GetCharWidth, METH_O, NULL}, | |
17782 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction)_wrap_HtmlWinParser_GetWindow, METH_O, NULL}, | |
e9d6f3a4 | 17783 | { (char *)"HtmlWinParser_GetWindowInterface", (PyCFunction)_wrap_HtmlWinParser_GetWindowInterface, METH_O, NULL}, |
093d3ff1 RD |
17784 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, |
17785 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17786 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction)_wrap_HtmlWinParser_GetContainer, METH_O, NULL}, |
17787 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction)_wrap_HtmlWinParser_OpenContainer, METH_O, NULL}, | |
093d3ff1 | 17788 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17789 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction)_wrap_HtmlWinParser_CloseContainer, METH_O, NULL}, |
17790 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction)_wrap_HtmlWinParser_GetFontSize, METH_O, NULL}, | |
093d3ff1 | 17791 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17792 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction)_wrap_HtmlWinParser_GetFontBold, METH_O, NULL}, |
093d3ff1 | 17793 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17794 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction)_wrap_HtmlWinParser_GetFontItalic, METH_O, NULL}, |
093d3ff1 | 17795 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17796 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction)_wrap_HtmlWinParser_GetFontUnderlined, METH_O, NULL}, |
093d3ff1 | 17797 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17798 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction)_wrap_HtmlWinParser_GetFontFixed, METH_O, NULL}, |
093d3ff1 | 17799 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17800 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction)_wrap_HtmlWinParser_GetAlign, METH_O, NULL}, |
093d3ff1 | 17801 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17802 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction)_wrap_HtmlWinParser_GetLinkColor, METH_O, NULL}, |
093d3ff1 | 17803 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17804 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction)_wrap_HtmlWinParser_GetActualColor, METH_O, NULL}, |
093d3ff1 RD |
17805 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17806 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17807 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction)_wrap_HtmlWinParser_CreateCurrentFont, METH_O, NULL}, |
17808 | { (char *)"HtmlWinParser_GetLink", (PyCFunction)_wrap_HtmlWinParser_GetLink, METH_O, NULL}, | |
093d3ff1 | 17809 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17810 | { (char *)"HtmlWinParser_swiginit", HtmlWinParser_swiginit, METH_VARARGS, NULL}, |
17811 | { (char *)"new_HtmlTagHandler", (PyCFunction)_wrap_new_HtmlTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17812 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17813 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17814 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction)_wrap_HtmlTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17815 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17816 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
17817 | { (char *)"HtmlTagHandler_swiginit", HtmlTagHandler_swiginit, METH_VARARGS, NULL}, |
17818 | { (char *)"new_HtmlWinTagHandler", (PyCFunction)_wrap_new_HtmlWinTagHandler, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17819 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17820 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17821 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction)_wrap_HtmlWinTagHandler_GetParser, METH_O, NULL}, |
093d3ff1 RD |
17822 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL}, |
17823 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17824 | { (char *)"HtmlWinTagHandler_swiginit", HtmlWinTagHandler_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17825 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17826 | { (char *)"new_HtmlSelection", (PyCFunction)_wrap_new_HtmlSelection, METH_NOARGS, NULL}, |
17827 | { (char *)"delete_HtmlSelection", (PyCFunction)_wrap_delete_HtmlSelection, METH_O, NULL}, | |
093d3ff1 RD |
17828 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL}, |
17829 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17830 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction)_wrap_HtmlSelection_GetFromCell, METH_O, NULL}, |
17831 | { (char *)"HtmlSelection_GetToCell", (PyCFunction)_wrap_HtmlSelection_GetToCell, METH_O, NULL}, | |
17832 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction)_wrap_HtmlSelection_GetFromPos, METH_O, NULL}, | |
17833 | { (char *)"HtmlSelection_GetToPos", (PyCFunction)_wrap_HtmlSelection_GetToPos, METH_O, NULL}, | |
17834 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction)_wrap_HtmlSelection_GetFromPrivPos, METH_O, NULL}, | |
17835 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction)_wrap_HtmlSelection_GetToPrivPos, METH_O, NULL}, | |
093d3ff1 RD |
17836 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17837 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17838 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction)_wrap_HtmlSelection_ClearPrivPos, METH_O, NULL}, |
17839 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction)_wrap_HtmlSelection_IsEmpty, METH_O, NULL}, | |
093d3ff1 | 17840 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17841 | { (char *)"HtmlSelection_swiginit", HtmlSelection_swiginit, METH_VARARGS, NULL}, |
17842 | { (char *)"new_HtmlRenderingState", (PyCFunction)_wrap_new_HtmlRenderingState, METH_NOARGS, NULL}, | |
17843 | { (char *)"delete_HtmlRenderingState", (PyCFunction)_wrap_delete_HtmlRenderingState, METH_O, NULL}, | |
093d3ff1 | 17844 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17845 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction)_wrap_HtmlRenderingState_GetSelectionState, METH_O, NULL}, |
093d3ff1 | 17846 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17847 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction)_wrap_HtmlRenderingState_GetFgColour, METH_O, NULL}, |
093d3ff1 | 17848 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17849 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction)_wrap_HtmlRenderingState_GetBgColour, METH_O, NULL}, |
093d3ff1 | 17850 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 17851 | { (char *)"HtmlRenderingState_swiginit", HtmlRenderingState_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17852 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
17853 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17854 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17855 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17856 | { (char *)"new_HtmlRenderingInfo", (PyCFunction)_wrap_new_HtmlRenderingInfo, METH_NOARGS, NULL}, |
17857 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction)_wrap_delete_HtmlRenderingInfo, METH_O, NULL}, | |
093d3ff1 | 17858 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17859 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction)_wrap_HtmlRenderingInfo_GetSelection, METH_O, NULL}, |
093d3ff1 | 17860 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17861 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction)_wrap_HtmlRenderingInfo_GetStyle, METH_O, NULL}, |
17862 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction)_wrap_HtmlRenderingInfo_GetState, METH_O, NULL}, | |
093d3ff1 | 17863 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17864 | { (char *)"HtmlRenderingInfo_swiginit", HtmlRenderingInfo_swiginit, METH_VARARGS, NULL}, |
17865 | { (char *)"new_HtmlCell", (PyCFunction)_wrap_new_HtmlCell, METH_NOARGS, NULL}, | |
17866 | { (char *)"delete_HtmlCell", (PyCFunction)_wrap_delete_HtmlCell, METH_O, NULL}, | |
17867 | { (char *)"HtmlCell_GetPosX", (PyCFunction)_wrap_HtmlCell_GetPosX, METH_O, NULL}, | |
17868 | { (char *)"HtmlCell_GetPosY", (PyCFunction)_wrap_HtmlCell_GetPosY, METH_O, NULL}, | |
17869 | { (char *)"HtmlCell_GetWidth", (PyCFunction)_wrap_HtmlCell_GetWidth, METH_O, NULL}, | |
17870 | { (char *)"HtmlCell_GetHeight", (PyCFunction)_wrap_HtmlCell_GetHeight, METH_O, NULL}, | |
17871 | { (char *)"HtmlCell_GetDescent", (PyCFunction)_wrap_HtmlCell_GetDescent, METH_O, NULL}, | |
17872 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction)_wrap_HtmlCell_GetMaxTotalWidth, METH_O, NULL}, | |
17873 | { (char *)"HtmlCell_GetId", (PyCFunction)_wrap_HtmlCell_GetId, METH_O, NULL}, | |
093d3ff1 RD |
17874 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, |
17875 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17876 | { (char *)"HtmlCell_GetNext", (PyCFunction)_wrap_HtmlCell_GetNext, METH_O, NULL}, |
17877 | { (char *)"HtmlCell_GetParent", (PyCFunction)_wrap_HtmlCell_GetParent, METH_O, NULL}, | |
17878 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction)_wrap_HtmlCell_GetFirstChild, METH_O, NULL}, | |
e9d6f3a4 | 17879 | { (char *)"HtmlCell_GetMouseCursor", (PyCFunction) _wrap_HtmlCell_GetMouseCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17880 | { (char *)"HtmlCell_GetCursor", (PyCFunction)_wrap_HtmlCell_GetCursor, METH_O, NULL}, |
17881 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction)_wrap_HtmlCell_IsFormattingCell, METH_O, NULL}, | |
093d3ff1 RD |
17882 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL}, |
17883 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17884 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17885 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17886 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17887 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17888 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17889 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17890 | { (char *)"HtmlCell_ProcessMouseClick", (PyCFunction) _wrap_HtmlCell_ProcessMouseClick, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17891 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
17892 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlCell_IsLinebreakAllowed, METH_O, NULL}, |
17893 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction)_wrap_HtmlCell_IsTerminalCell, METH_O, NULL}, | |
093d3ff1 | 17894 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 RD |
17895 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
17896 | { (char *)"HtmlCell_GetRootCell", (PyCFunction)_wrap_HtmlCell_GetRootCell, METH_O, NULL}, | |
0085ce49 RD |
17897 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction)_wrap_HtmlCell_GetFirstTerminal, METH_O, NULL}, |
17898 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction)_wrap_HtmlCell_GetLastTerminal, METH_O, NULL}, | |
17899 | { (char *)"HtmlCell_GetDepth", (PyCFunction)_wrap_HtmlCell_GetDepth, METH_O, NULL}, | |
093d3ff1 RD |
17900 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL}, |
17901 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17902 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17903 | { (char *)"HtmlCell_swiginit", HtmlCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 17904 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
b1fcee84 | 17905 | { (char *)"HtmlWordCell_ConvertToText", (PyCFunction) _wrap_HtmlWordCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17906 | { (char *)"HtmlWordCell_IsLinebreakAllowed", (PyCFunction)_wrap_HtmlWordCell_IsLinebreakAllowed, METH_O, NULL}, |
b1fcee84 | 17907 | { (char *)"HtmlWordCell_SetPreviousWord", (PyCFunction) _wrap_HtmlWordCell_SetPreviousWord, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17908 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 17909 | { (char *)"HtmlWordCell_swiginit", HtmlWordCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17910 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17911 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17912 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17913 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction)_wrap_HtmlContainerCell_GetAlignHor, METH_O, NULL}, |
093d3ff1 | 17914 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17915 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction)_wrap_HtmlContainerCell_GetAlignVer, METH_O, NULL}, |
093d3ff1 RD |
17916 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
17917 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17918 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17919 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17920 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17921 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17922 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17923 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 17924 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction)_wrap_HtmlContainerCell_GetBackgroundColour, METH_O, NULL}, |
093d3ff1 | 17925 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17926 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction)_wrap_HtmlContainerCell_GetFirstChild, METH_O, NULL}, |
093d3ff1 | 17927 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 17928 | { (char *)"HtmlContainerCell_swiginit", HtmlContainerCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17929 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17930 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17931 | { (char *)"HtmlColourCell_swiginit", HtmlColourCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17932 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17933 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17934 | { (char *)"HtmlFontCell_swiginit", HtmlFontCell_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
17935 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL}, |
17936 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
17937 | { (char *)"HtmlWidgetCell_swiginit", HtmlWidgetCell_swiginit, METH_VARARGS, NULL}, |
17938 | { (char *)"new_HtmlFilter", (PyCFunction)_wrap_new_HtmlFilter, METH_NOARGS, NULL}, | |
093d3ff1 RD |
17939 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
17940 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 17941 | { (char *)"HtmlFilter_swiginit", HtmlFilter_swiginit, METH_VARARGS, NULL}, |
e9d6f3a4 RD |
17942 | { (char *)"delete_HtmlWindowInterface", (PyCFunction)_wrap_delete_HtmlWindowInterface, METH_O, NULL}, |
17943 | { (char *)"HtmlWindowInterface_SetHTMLWindowTitle", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLWindowTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17944 | { (char *)"HtmlWindowInterface_HTMLCoordsToWindow", (PyCFunction) _wrap_HtmlWindowInterface_HTMLCoordsToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17945 | { (char *)"HtmlWindowInterface_GetHTMLWindow", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLWindow, METH_O, NULL}, | |
17946 | { (char *)"HtmlWindowInterface_GetHTMLBackgroundColour", (PyCFunction)_wrap_HtmlWindowInterface_GetHTMLBackgroundColour, METH_O, NULL}, | |
17947 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundColour", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17948 | { (char *)"HtmlWindowInterface_SetHTMLBackgroundImage", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17949 | { (char *)"HtmlWindowInterface_SetHTMLStatusText", (PyCFunction) _wrap_HtmlWindowInterface_SetHTMLStatusText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17950 | { (char *)"HtmlWindowInterface_swigregister", HtmlWindowInterface_swigregister, METH_VARARGS, NULL}, | |
093d3ff1 | 17951 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17952 | { (char *)"new_PreHtmlWindow", (PyCFunction)_wrap_new_PreHtmlWindow, METH_NOARGS, NULL}, |
093d3ff1 RD |
17953 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
17954 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17955 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17956 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17957 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17958 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17959 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction)_wrap_HtmlWindow_GetOpenedPage, METH_O, NULL}, |
17960 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction)_wrap_HtmlWindow_GetOpenedAnchor, METH_O, NULL}, | |
17961 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction)_wrap_HtmlWindow_GetOpenedPageTitle, METH_O, NULL}, | |
093d3ff1 | 17962 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 17963 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction)_wrap_HtmlWindow_GetRelatedFrame, METH_O, NULL}, |
093d3ff1 RD |
17964 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
17965 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17966 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
093d3ff1 | 17967 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL}, |
53aa7709 | 17968 | { (char *)"HtmlWindow_SetBackgroundImage", (PyCFunction) _wrap_HtmlWindow_SetBackgroundImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17969 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, |
17970 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17971 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction)_wrap_HtmlWindow_HistoryBack, METH_O, NULL}, |
17972 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction)_wrap_HtmlWindow_HistoryForward, METH_O, NULL}, | |
17973 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction)_wrap_HtmlWindow_HistoryCanBack, METH_O, NULL}, | |
17974 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction)_wrap_HtmlWindow_HistoryCanForward, METH_O, NULL}, | |
17975 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction)_wrap_HtmlWindow_HistoryClear, METH_O, NULL}, | |
17976 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction)_wrap_HtmlWindow_GetInternalRepresentation, METH_O, NULL}, | |
17977 | { (char *)"HtmlWindow_GetParser", (PyCFunction)_wrap_HtmlWindow_GetParser, METH_O, NULL}, | |
093d3ff1 RD |
17978 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, |
17979 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17980 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17981 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17982 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
17983 | { (char *)"HtmlWindow_SelectAll", (PyCFunction)_wrap_HtmlWindow_SelectAll, METH_O, NULL}, |
17984 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction)_wrap_HtmlWindow_SelectionToText, METH_O, NULL}, | |
17985 | { (char *)"HtmlWindow_ToText", (PyCFunction)_wrap_HtmlWindow_ToText, METH_O, NULL}, | |
c26d9ab4 RD |
17986 | { (char *)"HtmlWindow_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, |
17987 | { (char *)"HtmlWindow_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17988 | { (char *)"HtmlWindow_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17989 | { (char *)"HtmlWindow_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e9d6f3a4 | 17990 | { (char *)"HtmlWindow_OnOpeningURL", (PyCFunction) _wrap_HtmlWindow_OnOpeningURL, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17991 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, |
e9d6f3a4 | 17992 | { (char *)"HtmlWindow_GetDefaultHTMLCursor", (PyCFunction) _wrap_HtmlWindow_GetDefaultHTMLCursor, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 | 17993 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
17994 | { (char *)"HtmlWindow_swiginit", HtmlWindow_swiginit, METH_VARARGS, NULL}, |
17995 | { (char *)"new_HtmlDCRenderer", (PyCFunction)_wrap_new_HtmlDCRenderer, METH_NOARGS, NULL}, | |
17996 | { (char *)"delete_HtmlDCRenderer", (PyCFunction)_wrap_delete_HtmlDCRenderer, METH_O, NULL}, | |
093d3ff1 RD |
17997 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
17998 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17999 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18000 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18001 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18002 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18003 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction)_wrap_HtmlDCRenderer_GetTotalHeight, METH_O, NULL}, |
093d3ff1 | 18004 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18005 | { (char *)"HtmlDCRenderer_swiginit", HtmlDCRenderer_swiginit, METH_VARARGS, NULL}, |
093d3ff1 RD |
18006 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL}, |
18007 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18008 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18009 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18010 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18011 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18012 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18013 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18014 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18015 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction)_wrap_HtmlPrintout_CleanUpStatics, METH_NOARGS, NULL}, |
093d3ff1 | 18016 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18017 | { (char *)"HtmlPrintout_swiginit", HtmlPrintout_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 18018 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18019 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction)_wrap_delete_HtmlEasyPrinting, METH_O, NULL}, |
093d3ff1 RD |
18020 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL}, |
18021 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18022 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18023 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18024 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction)_wrap_HtmlEasyPrinting_PageSetup, METH_O, NULL}, |
093d3ff1 RD |
18025 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL}, |
18026 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18027 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18028 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18029 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPrintData, METH_O, NULL}, |
18030 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction)_wrap_HtmlEasyPrinting_GetPageSetupData, METH_O, NULL}, | |
093d3ff1 | 18031 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18032 | { (char *)"HtmlEasyPrinting_swiginit", HtmlEasyPrinting_swiginit, METH_VARARGS, NULL}, |
093d3ff1 | 18033 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18034 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction)_wrap_HtmlBookRecord_GetBookFile, METH_O, NULL}, |
18035 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction)_wrap_HtmlBookRecord_GetTitle, METH_O, NULL}, | |
18036 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction)_wrap_HtmlBookRecord_GetStart, METH_O, NULL}, | |
18037 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction)_wrap_HtmlBookRecord_GetBasePath, METH_O, NULL}, | |
093d3ff1 | 18038 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18039 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction)_wrap_HtmlBookRecord_GetContentsStart, METH_O, NULL}, |
18040 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction)_wrap_HtmlBookRecord_GetContentsEnd, METH_O, NULL}, | |
093d3ff1 RD |
18041 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, |
18042 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18043 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18044 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18045 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL}, | |
0085ce49 RD |
18046 | { (char *)"HtmlBookRecord_swiginit", HtmlBookRecord_swiginit, METH_VARARGS, NULL}, |
18047 | { (char *)"HtmlSearchStatus_Search", (PyCFunction)_wrap_HtmlSearchStatus_Search, METH_O, NULL}, | |
18048 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction)_wrap_HtmlSearchStatus_IsActive, METH_O, NULL}, | |
18049 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetCurIndex, METH_O, NULL}, | |
18050 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction)_wrap_HtmlSearchStatus_GetMaxIndex, METH_O, NULL}, | |
18051 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction)_wrap_HtmlSearchStatus_GetName, METH_O, NULL}, | |
093d3ff1 | 18052 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL}, |
0085ce49 RD |
18053 | { (char *)"new_HtmlHelpData", (PyCFunction)_wrap_new_HtmlHelpData, METH_NOARGS, NULL}, |
18054 | { (char *)"delete_HtmlHelpData", (PyCFunction)_wrap_delete_HtmlHelpData, METH_O, NULL}, | |
093d3ff1 RD |
18055 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, |
18056 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18057 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18058 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18059 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction)_wrap_HtmlHelpData_GetBookRecArray, METH_O, NULL}, |
093d3ff1 | 18060 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18061 | { (char *)"HtmlHelpData_swiginit", HtmlHelpData_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18062 | { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
18063 | { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18064 | { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18065 | { (char *)"HtmlHelpWindow_GetData", (PyCFunction)_wrap_HtmlHelpWindow_GetData, METH_O, NULL}, |
18066 | { (char *)"HtmlHelpWindow_GetController", (PyCFunction)_wrap_HtmlHelpWindow_GetController, METH_O, NULL}, | |
091f5bed RD |
18067 | { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
18068 | { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18069 | { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18070 | { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction)_wrap_HtmlHelpWindow_DisplayContents, METH_O, NULL}, |
18071 | { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction)_wrap_HtmlHelpWindow_DisplayIndex, METH_O, NULL}, | |
091f5bed RD |
18072 | { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
18073 | { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18074 | { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18075 | { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18076 | { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction)_wrap_HtmlHelpWindow_NotifyPageChanged, METH_O, NULL}, |
18077 | { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction)_wrap_HtmlHelpWindow_RefreshLists, METH_O, NULL}, | |
18078 | { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetHtmlWindow, METH_O, NULL}, | |
18079 | { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction)_wrap_HtmlHelpWindow_GetSplitterWindow, METH_O, NULL}, | |
18080 | { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction)_wrap_HtmlHelpWindow_GetToolBar, METH_O, NULL}, | |
18081 | { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction)_wrap_HtmlHelpWindow_GetCfgData, METH_O, NULL}, | |
18082 | { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction)_wrap_HtmlHelpWindow_GetTreeCtrl, METH_O, NULL}, | |
091f5bed | 18083 | { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18084 | { (char *)"HtmlHelpWindow_swiginit", HtmlHelpWindow_swiginit, METH_VARARGS, NULL}, |
8f514ab4 RD |
18085 | { (char *)"new_HtmlCellEvent", (PyCFunction) _wrap_new_HtmlCellEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
18086 | { (char *)"HtmlCellEvent_GetCell", (PyCFunction)_wrap_HtmlCellEvent_GetCell, METH_O, NULL}, | |
18087 | { (char *)"HtmlCellEvent_GetPoint", (PyCFunction)_wrap_HtmlCellEvent_GetPoint, METH_O, NULL}, | |
18088 | { (char *)"HtmlCellEvent_GetMouseEvent", (PyCFunction)_wrap_HtmlCellEvent_GetMouseEvent, METH_O, NULL}, | |
18089 | { (char *)"HtmlCellEvent_SetLinkClicked", (PyCFunction) _wrap_HtmlCellEvent_SetLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18090 | { (char *)"HtmlCellEvent_GetLinkClicked", (PyCFunction)_wrap_HtmlCellEvent_GetLinkClicked, METH_O, NULL}, | |
18091 | { (char *)"HtmlCellEvent_swigregister", HtmlCellEvent_swigregister, METH_VARARGS, NULL}, | |
18092 | { (char *)"HtmlCellEvent_swiginit", HtmlCellEvent_swiginit, METH_VARARGS, NULL}, | |
18093 | { (char *)"new_HtmlLinkEvent", (PyCFunction) _wrap_new_HtmlLinkEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18094 | { (char *)"HtmlLinkEvent_GetLinkInfo", (PyCFunction)_wrap_HtmlLinkEvent_GetLinkInfo, METH_O, NULL}, | |
18095 | { (char *)"HtmlLinkEvent_swigregister", HtmlLinkEvent_swigregister, METH_VARARGS, NULL}, | |
18096 | { (char *)"HtmlLinkEvent_swiginit", HtmlLinkEvent_swiginit, METH_VARARGS, NULL}, | |
093d3ff1 | 18097 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
091f5bed RD |
18098 | { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
18099 | { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18100 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction)_wrap_HtmlHelpFrame_GetData, METH_O, NULL}, |
093d3ff1 | 18101 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18102 | { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction)_wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_O, NULL}, |
18103 | { (char *)"HtmlHelpFrame_GetController", (PyCFunction)_wrap_HtmlHelpFrame_GetController, METH_O, NULL}, | |
091f5bed | 18104 | { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18105 | { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpFrame_GetHelpWindow, METH_O, NULL}, |
093d3ff1 | 18106 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18107 | { (char *)"HtmlHelpFrame_swiginit", HtmlHelpFrame_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18108 | { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, |
18109 | { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18110 | { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18111 | { (char *)"HtmlHelpDialog_GetData", (PyCFunction)_wrap_HtmlHelpDialog_GetData, METH_O, NULL}, |
18112 | { (char *)"HtmlHelpDialog_GetController", (PyCFunction)_wrap_HtmlHelpDialog_GetController, METH_O, NULL}, | |
091f5bed | 18113 | { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18114 | { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpDialog_GetHelpWindow, METH_O, NULL}, |
091f5bed RD |
18115 | { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
18116 | { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 18117 | { (char *)"HtmlHelpDialog_swiginit", HtmlHelpDialog_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18118 | { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, |
18119 | { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18120 | { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 18121 | { (char *)"HelpControllerBase_DisplayContents", (PyCFunction)_wrap_HelpControllerBase_DisplayContents, METH_O, NULL}, |
091f5bed RD |
18122 | { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, |
18123 | { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18124 | { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, | |
18125 | { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18126 | { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18127 | { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18128 | { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18129 | { (char *)"HelpControllerBase_Quit", (PyCFunction)_wrap_HelpControllerBase_Quit, METH_O, NULL}, |
18130 | { (char *)"HelpControllerBase_OnQuit", (PyCFunction)_wrap_HelpControllerBase_OnQuit, METH_O, NULL}, | |
091f5bed | 18131 | { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 18132 | { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction)_wrap_HelpControllerBase_GetParentWindow, METH_O, NULL}, |
091f5bed | 18133 | { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, |
093d3ff1 | 18134 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18135 | { (char *)"delete_HtmlHelpController", (PyCFunction)_wrap_delete_HtmlHelpController, METH_O, NULL}, |
18136 | { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction)_wrap_HtmlHelpController_GetHelpWindow, METH_O, NULL}, | |
091f5bed | 18137 | { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
18138 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction)_wrap_HtmlHelpController_GetFrame, METH_O, NULL}, |
18139 | { (char *)"HtmlHelpController_GetDialog", (PyCFunction)_wrap_HtmlHelpController_GetDialog, METH_O, NULL}, | |
093d3ff1 RD |
18140 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, |
18141 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18142 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18143 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18144 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18145 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction)_wrap_HtmlHelpController_DisplayContents, METH_O, NULL}, |
18146 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction)_wrap_HtmlHelpController_DisplayIndex, METH_O, NULL}, | |
093d3ff1 RD |
18147 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, |
18148 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18149 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18150 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
18151 | { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction)_wrap_HtmlHelpController_MakeModalIfNeeded, METH_O, NULL}, |
18152 | { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction)_wrap_HtmlHelpController_FindTopLevelWindow, METH_O, NULL}, | |
093d3ff1 | 18153 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 18154 | { (char *)"HtmlHelpController_swiginit", HtmlHelpController_swiginit, METH_VARARGS, NULL}, |
091f5bed RD |
18155 | { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, |
18156 | { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 18157 | { (char *)"HtmlModalHelp_swiginit", HtmlModalHelp_swiginit, METH_VARARGS, NULL}, |
c32bde28 | 18158 | { NULL, NULL, 0, NULL } |
d14a1e28 RD |
18159 | }; |
18160 | ||
18161 | ||
18162 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
18163 | ||
18164 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
18165 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
18166 | } | |
091f5bed RD |
18167 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
18168 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18169 | } | |
18170 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18171 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18172 | } | |
18173 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18174 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18175 | } | |
18176 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18177 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 18178 | } |
091f5bed RD |
18179 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
18180 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 18181 | } |
091f5bed RD |
18182 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
18183 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18184 | } |
091f5bed RD |
18185 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
18186 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
823f0cfe | 18187 | } |
091f5bed RD |
18188 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
18189 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18190 | } |
091f5bed RD |
18191 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
18192 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 18193 | } |
091f5bed RD |
18194 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
18195 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 18196 | } |
8f514ab4 RD |
18197 | static void *_p_wxHtmlCellEventTo_p_wxEvent(void *x) { |
18198 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
18199 | } | |
091f5bed RD |
18200 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
18201 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 | 18202 | } |
34e0a3bb RD |
18203 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
18204 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18205 | } | |
2131d850 RD |
18206 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
18207 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18208 | } | |
091f5bed RD |
18209 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
18210 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 18211 | } |
091f5bed RD |
18212 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
18213 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
d14a1e28 | 18214 | } |
091f5bed RD |
18215 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { |
18216 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
823f0cfe | 18217 | } |
091f5bed RD |
18218 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { |
18219 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
d14a1e28 | 18220 | } |
091f5bed RD |
18221 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { |
18222 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
d14a1e28 | 18223 | } |
091f5bed RD |
18224 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { |
18225 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
d14a1e28 | 18226 | } |
091f5bed RD |
18227 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { |
18228 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
d14a1e28 | 18229 | } |
091f5bed RD |
18230 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { |
18231 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
d14a1e28 | 18232 | } |
091f5bed RD |
18233 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { |
18234 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
d14a1e28 | 18235 | } |
091f5bed RD |
18236 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
18237 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 18238 | } |
091f5bed RD |
18239 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
18240 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 18241 | } |
091f5bed RD |
18242 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { |
18243 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
d14a1e28 | 18244 | } |
34e0a3bb RD |
18245 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
18246 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18247 | } | |
091f5bed RD |
18248 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
18249 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d3b6e4ff | 18250 | } |
091f5bed RD |
18251 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { |
18252 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18253 | } |
091f5bed RD |
18254 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { |
18255 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18256 | } |
091f5bed RD |
18257 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { |
18258 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18259 | } |
091f5bed RD |
18260 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { |
18261 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18262 | } | |
8f514ab4 RD |
18263 | static void *_p_wxHtmlLinkEventTo_p_wxEvent(void *x) { |
18264 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
18265 | } | |
091f5bed RD |
18266 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
18267 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18268 | } | |
18269 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18270 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18271 | } | |
18272 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18273 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18274 | } | |
18275 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18276 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18277 | } | |
18278 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18279 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18280 | } | |
18281 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18282 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18283 | } | |
091f5bed RD |
18284 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { |
18285 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18286 | } | |
18287 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18288 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18289 | } | |
18290 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
18291 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18292 | } | |
18293 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18294 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18295 | } | |
18296 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18297 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18298 | } | |
18299 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18300 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18301 | } | |
18302 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18303 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18304 | } | |
18305 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
18306 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
18307 | } | |
18308 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
18309 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
18310 | } | |
18311 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
18312 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
18313 | } | |
18314 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
18315 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
18316 | } | |
18317 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
18318 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
18319 | } | |
091f5bed RD |
18320 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
18321 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18322 | } | |
18323 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18324 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18325 | } | |
18326 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
18327 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18328 | } | |
18329 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18330 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18331 | } | |
18332 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18333 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18334 | } | |
18335 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18336 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18337 | } | |
18338 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18339 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18340 | } | |
091f5bed RD |
18341 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
18342 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18343 | } | |
18344 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18345 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18346 | } | |
18347 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18348 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18349 | } | |
18350 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18351 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18352 | } | |
f9bf356b RD |
18353 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
18354 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18355 | } | |
27e45892 RD |
18356 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
18357 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18358 | } | |
091f5bed RD |
18359 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
18360 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18361 | } | |
18362 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18363 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18364 | } | |
18365 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18366 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18367 | } | |
18368 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18369 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18370 | } | |
18371 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18372 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18373 | } | |
18374 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18375 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18376 | } | |
18377 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18378 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18379 | } | |
18380 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18381 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18382 | } | |
18383 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18384 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18385 | } | |
18386 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18387 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
18388 | } | |
18389 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
18390 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
18391 | } | |
18392 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
18393 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
18394 | } | |
18395 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
18396 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
18397 | } | |
18398 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18399 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18400 | } | |
18401 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18402 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
18403 | } | |
18404 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
18405 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
18406 | } | |
18407 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18408 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
18409 | } | |
18410 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18411 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
18412 | } | |
18413 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
18414 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
18415 | } | |
18416 | static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { | |
18417 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); | |
18418 | } | |
18419 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18420 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18421 | } | |
18422 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18423 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
18424 | } | |
18425 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18426 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18427 | } | |
18428 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18429 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
18430 | } | |
18431 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18432 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18433 | } | |
18434 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18435 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18436 | } | |
18437 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
18438 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
18439 | } | |
18440 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
18441 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
18442 | } | |
f9bf356b RD |
18443 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
18444 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18445 | } | |
091f5bed RD |
18446 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
18447 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
18448 | } | |
18449 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
18450 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
18451 | } | |
18452 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18453 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
18454 | } | |
18455 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18456 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
18457 | } | |
18458 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
18459 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
18460 | } | |
18461 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
18462 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
18463 | } | |
18464 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
18465 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
18466 | } | |
18467 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
18468 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
18469 | } | |
18470 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
18471 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
18472 | } | |
18473 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
18474 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
18475 | } | |
18476 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
18477 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
18478 | } | |
18479 | static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { | |
18480 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
18481 | } | |
18482 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
18483 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
18484 | } | |
18485 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
18486 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
18487 | } | |
18488 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
18489 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
18490 | } | |
18491 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
18492 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
18493 | } | |
18494 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
18495 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
18496 | } | |
18497 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
18498 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18499 | } | |
18500 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
18501 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18502 | } |
091f5bed RD |
18503 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { |
18504 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 18505 | } |
091f5bed RD |
18506 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { |
18507 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18508 | } |
091f5bed RD |
18509 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { |
18510 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 18511 | } |
091f5bed RD |
18512 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { |
18513 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18514 | } |
091f5bed RD |
18515 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
18516 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 18517 | } |
091f5bed RD |
18518 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
18519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 18520 | } |
091f5bed RD |
18521 | static void *_p_wxEventTo_p_wxObject(void *x) { |
18522 | return (void *)((wxObject *) ((wxEvent *) x)); | |
d14a1e28 | 18523 | } |
091f5bed RD |
18524 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
18525 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
d14a1e28 | 18526 | } |
091f5bed RD |
18527 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
18528 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
d14a1e28 | 18529 | } |
091f5bed RD |
18530 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
18531 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
d14a1e28 | 18532 | } |
091f5bed RD |
18533 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { |
18534 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
d14a1e28 | 18535 | } |
091f5bed RD |
18536 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
18537 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 18538 | } |
091f5bed RD |
18539 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
18540 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d3b6e4ff | 18541 | } |
091f5bed RD |
18542 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { |
18543 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
823f0cfe | 18544 | } |
091f5bed RD |
18545 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
18546 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
d14a1e28 | 18547 | } |
091f5bed RD |
18548 | static void *_p_wxImageTo_p_wxObject(void *x) { |
18549 | return (void *)((wxObject *) ((wxImage *) x)); | |
d14a1e28 | 18550 | } |
091f5bed RD |
18551 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
18552 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
d14a1e28 | 18553 | } |
091f5bed RD |
18554 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { |
18555 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
d14a1e28 | 18556 | } |
091f5bed RD |
18557 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
18558 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 | 18559 | } |
091f5bed RD |
18560 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
18561 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
d14a1e28 | 18562 | } |
091f5bed RD |
18563 | static void *_p_wxPyAppTo_p_wxObject(void *x) { |
18564 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
d14a1e28 | 18565 | } |
091f5bed RD |
18566 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
18567 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 18568 | } |
091f5bed RD |
18569 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
18570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 18571 | } |
091f5bed RD |
18572 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
18573 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
d14a1e28 | 18574 | } |
091f5bed RD |
18575 | static void *_p_wxValidatorTo_p_wxObject(void *x) { |
18576 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
d14a1e28 | 18577 | } |
091f5bed RD |
18578 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
18579 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
d14a1e28 | 18580 | } |
091f5bed RD |
18581 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
18582 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
d14a1e28 | 18583 | } |
091f5bed RD |
18584 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
18585 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
d14a1e28 | 18586 | } |
091f5bed RD |
18587 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
18588 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
d14a1e28 | 18589 | } |
091f5bed RD |
18590 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { |
18591 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
d14a1e28 | 18592 | } |
091f5bed RD |
18593 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
18594 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
d14a1e28 | 18595 | } |
580080c5 RD |
18596 | static void *_p_wxHtmlCellEventTo_p_wxObject(void *x) { |
18597 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
18598 | } | |
091f5bed RD |
18599 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
18600 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
d3b6e4ff | 18601 | } |
091f5bed RD |
18602 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
18603 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
d14a1e28 | 18604 | } |
091f5bed RD |
18605 | static void *_p_wxPrinterTo_p_wxObject(void *x) { |
18606 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
d14a1e28 | 18607 | } |
091f5bed RD |
18608 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
18609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 18610 | } |
091f5bed RD |
18611 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { |
18612 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 18613 | } |
091f5bed RD |
18614 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { |
18615 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
d3b6e4ff | 18616 | } |
091f5bed RD |
18617 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
18618 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
d14a1e28 | 18619 | } |
091f5bed RD |
18620 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
18621 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
d14a1e28 | 18622 | } |
091f5bed RD |
18623 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
18624 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
943e8dfd | 18625 | } |
091f5bed RD |
18626 | static void *_p_wxControlTo_p_wxObject(void *x) { |
18627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
943e8dfd | 18628 | } |
091f5bed RD |
18629 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { |
18630 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
943e8dfd | 18631 | } |
091f5bed RD |
18632 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { |
18633 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
943e8dfd | 18634 | } |
091f5bed RD |
18635 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
18636 | return (void *)((wxObject *) ((wxColourData *) x)); | |
943e8dfd | 18637 | } |
091f5bed RD |
18638 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
18639 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
943e8dfd | 18640 | } |
091f5bed RD |
18641 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
18642 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
943e8dfd | 18643 | } |
091f5bed RD |
18644 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
18645 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
943e8dfd | 18646 | } |
091f5bed RD |
18647 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
18648 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
943e8dfd | 18649 | } |
091f5bed RD |
18650 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
18651 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
943e8dfd | 18652 | } |
091f5bed RD |
18653 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
18654 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
943e8dfd | 18655 | } |
091f5bed RD |
18656 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
18657 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
943e8dfd | 18658 | } |
091f5bed RD |
18659 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
18660 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
943e8dfd | 18661 | } |
091f5bed RD |
18662 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
18663 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
d14a1e28 | 18664 | } |
091f5bed RD |
18665 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
18666 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
d14a1e28 | 18667 | } |
34e0a3bb RD |
18668 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
18669 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18670 | } | |
091f5bed RD |
18671 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { |
18672 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
d14a1e28 | 18673 | } |
091f5bed RD |
18674 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
18675 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
d14a1e28 | 18676 | } |
091f5bed RD |
18677 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
18678 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 18679 | } |
091f5bed RD |
18680 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
18681 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
d14a1e28 | 18682 | } |
091f5bed RD |
18683 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
18684 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
d14a1e28 | 18685 | } |
091f5bed RD |
18686 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
18687 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
d14a1e28 | 18688 | } |
091f5bed RD |
18689 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
18690 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
d14a1e28 | 18691 | } |
091f5bed RD |
18692 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
18693 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
d14a1e28 | 18694 | } |
f9bf356b RD |
18695 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
18696 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18697 | } | |
091f5bed RD |
18698 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
18699 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 18700 | } |
091f5bed RD |
18701 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
18702 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 18703 | } |
091f5bed RD |
18704 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
18705 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
d14a1e28 | 18706 | } |
091f5bed RD |
18707 | static void *_p_wxFontDataTo_p_wxObject(void *x) { |
18708 | return (void *)((wxObject *) ((wxFontData *) x)); | |
d14a1e28 | 18709 | } |
091f5bed RD |
18710 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
18711 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 18712 | } |
091f5bed RD |
18713 | static void *_p_wxFrameTo_p_wxObject(void *x) { |
18714 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 RD |
18715 | } |
18716 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
18717 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18718 | } | |
091f5bed RD |
18719 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
18720 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
d14a1e28 | 18721 | } |
091f5bed RD |
18722 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
18723 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 18724 | } |
091f5bed RD |
18725 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
18726 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
d14a1e28 | 18727 | } |
091f5bed RD |
18728 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
18729 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
d14a1e28 | 18730 | } |
091f5bed RD |
18731 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
18732 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
d14a1e28 | 18733 | } |
091f5bed RD |
18734 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
18735 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
d14a1e28 | 18736 | } |
091f5bed RD |
18737 | static void *_p_wxSizerTo_p_wxObject(void *x) { |
18738 | return (void *)((wxObject *) ((wxSizer *) x)); | |
d14a1e28 | 18739 | } |
091f5bed RD |
18740 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
18741 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
d14a1e28 | 18742 | } |
091f5bed RD |
18743 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
18744 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
d14a1e28 | 18745 | } |
091f5bed RD |
18746 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
18747 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
d14a1e28 | 18748 | } |
091f5bed RD |
18749 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { |
18750 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
d14a1e28 RD |
18751 | } |
18752 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
18753 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
18754 | } | |
091f5bed RD |
18755 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
18756 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
d14a1e28 | 18757 | } |
2131d850 RD |
18758 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
18759 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18760 | } | |
091f5bed RD |
18761 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
18762 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
d14a1e28 | 18763 | } |
091f5bed RD |
18764 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
18765 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
d14a1e28 | 18766 | } |
091f5bed RD |
18767 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
18768 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
d14a1e28 | 18769 | } |
091f5bed RD |
18770 | static void *_p_wxMenuTo_p_wxObject(void *x) { |
18771 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
d14a1e28 | 18772 | } |
091f5bed RD |
18773 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
18774 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
d14a1e28 | 18775 | } |
34e0a3bb RD |
18776 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
18777 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
18778 | } | |
091f5bed RD |
18779 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
18780 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
d14a1e28 | 18781 | } |
091f5bed RD |
18782 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
18783 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
d14a1e28 | 18784 | } |
091f5bed RD |
18785 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
18786 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 18787 | } |
091f5bed RD |
18788 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
18789 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 18790 | } |
091f5bed RD |
18791 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
18792 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 18793 | } |
091f5bed RD |
18794 | static void *_p_wxDialogTo_p_wxObject(void *x) { |
18795 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 18796 | } |
091f5bed RD |
18797 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
18798 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
d14a1e28 RD |
18799 | } |
18800 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
18801 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
18802 | } | |
27e45892 RD |
18803 | static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { |
18804 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
18805 | } | |
091f5bed RD |
18806 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { |
18807 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
d14a1e28 | 18808 | } |
091f5bed RD |
18809 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { |
18810 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
d14a1e28 | 18811 | } |
091f5bed RD |
18812 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
18813 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
d14a1e28 | 18814 | } |
580080c5 RD |
18815 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
18816 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
18817 | } | |
091f5bed RD |
18818 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
18819 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
d14a1e28 | 18820 | } |
091f5bed RD |
18821 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
18822 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
d14a1e28 | 18823 | } |
091f5bed RD |
18824 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
18825 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
d14a1e28 | 18826 | } |
091f5bed RD |
18827 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
18828 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
d14a1e28 | 18829 | } |
091f5bed RD |
18830 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
18831 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
d3b6e4ff | 18832 | } |
091f5bed RD |
18833 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
18834 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
d14a1e28 | 18835 | } |
091f5bed RD |
18836 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
18837 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
d14a1e28 | 18838 | } |
091f5bed RD |
18839 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
18840 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
d14a1e28 | 18841 | } |
091f5bed RD |
18842 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
18843 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
d14a1e28 | 18844 | } |
091f5bed RD |
18845 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
18846 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
d14a1e28 | 18847 | } |
091f5bed RD |
18848 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
18849 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
d14a1e28 | 18850 | } |
091f5bed RD |
18851 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
18852 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
53aa7709 | 18853 | } |
091f5bed RD |
18854 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
18855 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
d14a1e28 | 18856 | } |
091f5bed RD |
18857 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
18858 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
d14a1e28 | 18859 | } |
091f5bed RD |
18860 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
18861 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 18862 | } |
091f5bed RD |
18863 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
18864 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 18865 | } |
091f5bed RD |
18866 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
18867 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 18868 | } |
091f5bed RD |
18869 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
18870 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 18871 | } |
091f5bed RD |
18872 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
18873 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 18874 | } |
091f5bed RD |
18875 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
18876 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 18877 | } |
091f5bed RD |
18878 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
18879 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 18880 | } |
091f5bed RD |
18881 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
18882 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 18883 | } |
091f5bed RD |
18884 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
18885 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 18886 | } |
091f5bed RD |
18887 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
18888 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 18889 | } |
091f5bed RD |
18890 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
18891 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 18892 | } |
091f5bed RD |
18893 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
18894 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 18895 | } |
091f5bed RD |
18896 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
18897 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 18898 | } |
091f5bed RD |
18899 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
18900 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
d14a1e28 | 18901 | } |
f9bf356b RD |
18902 | static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { |
18903 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); | |
18904 | } | |
091f5bed RD |
18905 | static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { |
18906 | return (void *)((wxObject *) ((wxHelpControllerBase *) x)); | |
943e8dfd | 18907 | } |
091f5bed RD |
18908 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { |
18909 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
d14a1e28 | 18910 | } |
091f5bed RD |
18911 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
18912 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
943e8dfd | 18913 | } |
091f5bed RD |
18914 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
18915 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
d14a1e28 | 18916 | } |
091f5bed RD |
18917 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
18918 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 18919 | } |
27e45892 RD |
18920 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { |
18921 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18922 | } | |
091f5bed RD |
18923 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
18924 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 18925 | } |
091f5bed RD |
18926 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
18927 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 18928 | } |
091f5bed RD |
18929 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
18930 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 18931 | } |
091f5bed RD |
18932 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
18933 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 18934 | } |
091f5bed RD |
18935 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
18936 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 18937 | } |
091f5bed RD |
18938 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { |
18939 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
51b83b37 | 18940 | } |
091f5bed RD |
18941 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
18942 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 18943 | } |
091f5bed RD |
18944 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
18945 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
d14a1e28 | 18946 | } |
091f5bed RD |
18947 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
18948 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
d14a1e28 | 18949 | } |
091f5bed RD |
18950 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
18951 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
d14a1e28 | 18952 | } |
091f5bed RD |
18953 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
18954 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
d14a1e28 | 18955 | } |
091f5bed RD |
18956 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { |
18957 | return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
d14a1e28 | 18958 | } |
8f514ab4 RD |
18959 | static void *_p_wxHtmlLinkEventTo_p_wxObject(void *x) { |
18960 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
18961 | } | |
091f5bed RD |
18962 | static void *_p_wxPanelTo_p_wxObject(void *x) { |
18963 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
d14a1e28 RD |
18964 | } |
18965 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
18966 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18967 | } | |
091f5bed RD |
18968 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
18969 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
d14a1e28 | 18970 | } |
091f5bed RD |
18971 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { |
18972 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
d14a1e28 | 18973 | } |
091f5bed RD |
18974 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
18975 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
d14a1e28 | 18976 | } |
091f5bed RD |
18977 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
18978 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
d14a1e28 | 18979 | } |
091f5bed RD |
18980 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
18981 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
d14a1e28 | 18982 | } |
091f5bed RD |
18983 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
18984 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
d14a1e28 | 18985 | } |
091f5bed RD |
18986 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { |
18987 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
d14a1e28 | 18988 | } |
091f5bed RD |
18989 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
18990 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 18991 | } |
091f5bed RD |
18992 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
18993 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
0df68c9f | 18994 | } |
091f5bed RD |
18995 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { |
18996 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
d14a1e28 | 18997 | } |
091f5bed RD |
18998 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
18999 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
d14a1e28 | 19000 | } |
091f5bed RD |
19001 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
19002 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 19003 | } |
091f5bed RD |
19004 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { |
19005 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
d14a1e28 | 19006 | } |
091f5bed RD |
19007 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
19008 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 19009 | } |
8f514ab4 RD |
19010 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
19011 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
19012 | } | |
19013 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
19014 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
19015 | } | |
19016 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
19017 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
19018 | } | |
19019 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
19020 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
19021 | } | |
19022 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
19023 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
19024 | } | |
19025 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
19026 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
19027 | } | |
19028 | static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { | |
19029 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); | |
19030 | } | |
19031 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
19032 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
19033 | } | |
19034 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
19035 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
19036 | } | |
19037 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
19038 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
19039 | } | |
19040 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
19041 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
19042 | } | |
19043 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19044 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
19045 | } | |
19046 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19047 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19048 | } | |
19049 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
19050 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
19051 | } | |
19052 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
19053 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19054 | } | |
19055 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
19056 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19057 | } | |
19058 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
19059 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
19060 | } | |
19061 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
19062 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
19063 | } | |
19064 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
19065 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
19066 | } | |
19067 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
19068 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
19069 | } | |
19070 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
19071 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
19072 | } | |
19073 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
19074 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19075 | } | |
091f5bed RD |
19076 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
19077 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
d14a1e28 | 19078 | } |
091f5bed RD |
19079 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
19080 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
d14a1e28 | 19081 | } |
091f5bed RD |
19082 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
19083 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 19084 | } |
091f5bed RD |
19085 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
19086 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
d14a1e28 | 19087 | } |
091f5bed RD |
19088 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
19089 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 19090 | } |
091f5bed RD |
19091 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
19092 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
823f0cfe | 19093 | } |
091f5bed RD |
19094 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
19095 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 19096 | } |
27e45892 RD |
19097 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { |
19098 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19099 | } | |
091f5bed RD |
19100 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
19101 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 19102 | } |
091f5bed RD |
19103 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
19104 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
d14a1e28 | 19105 | } |
091f5bed RD |
19106 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
19107 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 19108 | } |
091f5bed RD |
19109 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
19110 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 19111 | } |
091f5bed RD |
19112 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
19113 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 19114 | } |
091f5bed RD |
19115 | static void *_p_wxPanelTo_p_wxWindow(void *x) { |
19116 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
d14a1e28 | 19117 | } |
091f5bed RD |
19118 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
19119 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
d14a1e28 | 19120 | } |
091f5bed RD |
19121 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
19122 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 19123 | } |
091f5bed RD |
19124 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
19125 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
d14a1e28 | 19126 | } |
091f5bed RD |
19127 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
19128 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
d14a1e28 | 19129 | } |
091f5bed RD |
19130 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
19131 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
d14a1e28 | 19132 | } |
091f5bed RD |
19133 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
19134 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
d14a1e28 | 19135 | } |
091f5bed RD |
19136 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
19137 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 19138 | } |
091f5bed RD |
19139 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
19140 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
d14a1e28 | 19141 | } |
091f5bed RD |
19142 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
19143 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
d14a1e28 | 19144 | } |
091f5bed RD |
19145 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
19146 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
d14a1e28 | 19147 | } |
091f5bed RD |
19148 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
19149 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
d14a1e28 | 19150 | } |
091f5bed RD |
19151 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
19152 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
d14a1e28 | 19153 | } |
091f5bed RD |
19154 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
19155 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19156 | } |
091f5bed RD |
19157 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
19158 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19159 | } |
091f5bed RD |
19160 | static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { |
19161 | return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); | |
d14a1e28 | 19162 | } |
091f5bed RD |
19163 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
19164 | return (void *)((wxWindow *) ((wxControl *) x)); | |
d14a1e28 | 19165 | } |
091f5bed RD |
19166 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
19167 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
d14a1e28 | 19168 | } |
091f5bed RD |
19169 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
19170 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
d14a1e28 | 19171 | } |
091f5bed RD |
19172 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
19173 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
d14a1e28 | 19174 | } |
091f5bed RD |
19175 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
19176 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
d14a1e28 | 19177 | } |
091f5bed RD |
19178 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
19179 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
d14a1e28 | 19180 | } |
091f5bed RD |
19181 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
19182 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19183 | } |
f9bf356b RD |
19184 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
19185 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19186 | } | |
091f5bed RD |
19187 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
19188 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 19189 | } |
091f5bed RD |
19190 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
19191 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 19192 | } |
091f5bed RD |
19193 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
19194 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 19195 | } |
091f5bed RD |
19196 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
19197 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 19198 | } |
091f5bed RD |
19199 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { |
19200 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
d14a1e28 | 19201 | } |
091f5bed RD |
19202 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
19203 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
d14a1e28 | 19204 | } |
091f5bed RD |
19205 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
19206 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 19207 | } |
091f5bed RD |
19208 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
19209 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 19210 | } |
091f5bed RD |
19211 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
19212 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 19213 | } |
091f5bed RD |
19214 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
19215 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
d14a1e28 | 19216 | } |
091f5bed RD |
19217 | static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { |
19218 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 19219 | } |
091f5bed RD |
19220 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
19221 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
d14a1e28 | 19222 | } |
091f5bed RD |
19223 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
19224 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19225 | } |
091f5bed RD |
19226 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
19227 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19228 | } |
091f5bed RD |
19229 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
19230 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19231 | } |
091f5bed RD |
19232 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { |
19233 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
d14a1e28 | 19234 | } |
091f5bed RD |
19235 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { |
19236 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
d14a1e28 | 19237 | } |
091f5bed RD |
19238 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { |
19239 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
d14a1e28 | 19240 | } |
091f5bed RD |
19241 | static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { |
19242 | return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); | |
d14a1e28 | 19243 | } |
091f5bed RD |
19244 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
19245 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
d14a1e28 | 19246 | } |
091f5bed RD |
19247 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { |
19248 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
d14a1e28 | 19249 | } |
091f5bed RD |
19250 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { |
19251 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
d14a1e28 | 19252 | } |
091f5bed RD |
19253 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { |
19254 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
d3b6e4ff | 19255 | } |
091f5bed RD |
19256 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
19257 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
d14a1e28 | 19258 | } |
27e45892 RD |
19259 | static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) { |
19260 | return (void *)((wxDialog *) ((wxNumberEntryDialog *) x)); | |
19261 | } | |
091f5bed RD |
19262 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
19263 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
d14a1e28 | 19264 | } |
091f5bed RD |
19265 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { |
19266 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
d14a1e28 | 19267 | } |
091f5bed RD |
19268 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
19269 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
d14a1e28 | 19270 | } |
091f5bed RD |
19271 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
19272 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
d14a1e28 | 19273 | } |
091f5bed RD |
19274 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
19275 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
d14a1e28 | 19276 | } |
091f5bed RD |
19277 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
19278 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
d14a1e28 | 19279 | } |
091f5bed RD |
19280 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
19281 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
d14a1e28 | 19282 | } |
091f5bed RD |
19283 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
19284 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
d14a1e28 | 19285 | } |
f9bf356b RD |
19286 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
19287 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19288 | } | |
091f5bed RD |
19289 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
19290 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
d14a1e28 | 19291 | } |
091f5bed RD |
19292 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
19293 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
d14a1e28 | 19294 | } |
091f5bed RD |
19295 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
19296 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
d14a1e28 | 19297 | } |
091f5bed RD |
19298 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19299 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
d14a1e28 | 19300 | } |
091f5bed RD |
19301 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { |
19302 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
d14a1e28 | 19303 | } |
091f5bed RD |
19304 | static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { |
19305 | return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); | |
53aa7709 | 19306 | } |
2131d850 RD |
19307 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19308 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
53aa7709 | 19309 | } |
2131d850 RD |
19310 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
19311 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
53aa7709 | 19312 | } |
8f514ab4 RD |
19313 | static void *_p_wxHtmlLinkEventTo_p_wxCommandEvent(void *x) { |
19314 | return (void *)((wxCommandEvent *) ((wxHtmlLinkEvent *) x)); | |
19315 | } | |
2131d850 RD |
19316 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
19317 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
53aa7709 | 19318 | } |
2131d850 RD |
19319 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { |
19320 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
53aa7709 | 19321 | } |
8f514ab4 RD |
19322 | static void *_p_wxHtmlCellEventTo_p_wxCommandEvent(void *x) { |
19323 | return (void *)((wxCommandEvent *) ((wxHtmlCellEvent *) x)); | |
19324 | } | |
2131d850 RD |
19325 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
19326 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
53aa7709 | 19327 | } |
2131d850 RD |
19328 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
19329 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
53aa7709 | 19330 | } |
091f5bed RD |
19331 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { |
19332 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
53aa7709 | 19333 | } |
2131d850 RD |
19334 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
19335 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19336 | } | |
19337 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19338 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19339 | } | |
19340 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19341 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
53aa7709 | 19342 | } |
091f5bed RD |
19343 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { |
19344 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
53aa7709 | 19345 | } |
2131d850 RD |
19346 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
19347 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19348 | } | |
19349 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19350 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
d14a1e28 | 19351 | } |
0085ce49 RD |
19352 | static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; |
19353 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
19354 | 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 | 19355 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19356 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
19357 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
19358 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
704eda0c | 19359 | static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19360 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; |
19361 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
19362 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
19363 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
19364 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
19365 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19366 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19367 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; |
19368 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
19369 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
19370 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
0085ce49 | 19371 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; |
2131d850 | 19372 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; |
8f514ab4 | 19373 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19374 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; |
19375 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
19376 | static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0}; | |
19377 | static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0}; | |
19378 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; | |
19379 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19380 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; | |
19381 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
19382 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
19383 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
19384 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19385 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19386 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19387 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19388 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 19389 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19390 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; |
19391 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19392 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
19393 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
19394 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
19395 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
19396 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
19397 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
19398 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
19399 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
34e0a3bb | 19400 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19401 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
19402 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
19403 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
19404 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
19405 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
19406 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
19407 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
19408 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
19409 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
19410 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
19411 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
19412 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
19413 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
19414 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 19415 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; |
8f514ab4 | 19416 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19417 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
19418 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
19419 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
19420 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
19421 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
19422 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
19423 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
19424 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19425 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19426 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
19427 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
19428 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
19429 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
19430 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19431 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
19432 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
19433 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
19434 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
19435 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
19436 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
19437 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
19438 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
19439 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
19440 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
0085ce49 | 19441 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
f9bf356b | 19442 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19443 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0}; |
19444 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
19445 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
19446 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
19447 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
19448 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
f9bf356b | 19449 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19450 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
19451 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
19452 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
19453 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
19454 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
19455 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
19456 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
19457 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; | |
19458 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
19459 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
19460 | static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, (void*)0, 0}; | |
19461 | static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, (void*)0, 0}; | |
19462 | static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, (void*)0, 0}; | |
19463 | static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, (void*)0, 0}; | |
19464 | static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, (void*)0, 0}; | |
8f514ab4 | 19465 | static swig_type_info _swigt__p_wxHtmlCellEvent = {"_p_wxHtmlCellEvent", "wxHtmlCellEvent *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19466 | static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, (void*)0, 0}; |
19467 | static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, (void*)0, 0}; | |
19468 | static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, (void*)0, 0}; | |
19469 | static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, (void*)0, 0}; | |
19470 | static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, (void*)0, 0}; | |
19471 | static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, (void*)0, 0}; | |
19472 | static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, (void*)0, 0}; | |
19473 | static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, (void*)0, 0}; | |
19474 | static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, (void*)0, 0}; | |
19475 | static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, (void*)0, 0}; | |
19476 | static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, (void*)0, 0}; | |
19477 | static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, (void*)0, 0}; | |
8f514ab4 | 19478 | static swig_type_info _swigt__p_wxHtmlLinkEvent = {"_p_wxHtmlLinkEvent", "wxHtmlLinkEvent *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19479 | static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; |
19480 | static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, (void*)0, 0}; | |
19481 | static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, (void*)0, 0}; | |
19482 | static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, (void*)0, 0}; | |
19483 | static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, (void*)0, 0}; | |
19484 | static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, (void*)0, 0}; | |
19485 | static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, (void*)0, 0}; | |
19486 | static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, (void*)0, 0}; | |
19487 | static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, (void*)0, 0}; | |
19488 | static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, (void*)0, 0}; | |
19489 | static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19490 | static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, (void*)0, 0}; | |
19491 | static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, (void*)0, 0}; | |
e9d6f3a4 | 19492 | static swig_type_info _swigt__p_wxHtmlWindowInterface = {"_p_wxHtmlWindowInterface", "wxHtmlWindowInterface *", 0, 0, (void*)0, 0}; |
0085ce49 RD |
19493 | static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, (void*)0, 0}; |
19494 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0}; | |
0085ce49 RD |
19495 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
19496 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
19497 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
19498 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
19499 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
19500 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
19501 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
19502 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
19503 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
0085ce49 | 19504 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; |
8f514ab4 | 19505 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19506 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; |
19507 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
19508 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
19509 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
19510 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
19511 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
19512 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
0085ce49 | 19513 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; |
34e0a3bb | 19514 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19515 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; |
19516 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
19517 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
0085ce49 | 19518 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; |
34e0a3bb | 19519 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19520 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; |
19521 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
580080c5 | 19522 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
0085ce49 RD |
19523 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; |
19524 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
19525 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
19526 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
19527 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; | |
19528 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
19529 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; | |
19530 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; | |
19531 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
19532 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
19533 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
19534 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
19535 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
19536 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; | |
19537 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; | |
19538 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
19539 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
19540 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; | |
19541 | static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, (void*)0, 0}; | |
19542 | static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, (void*)0, 0}; | |
19543 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, (void*)0, 0}; | |
19544 | static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, (void*)0, 0}; | |
19545 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; | |
19546 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
19547 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
19548 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; | |
19549 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
19550 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
0085ce49 RD |
19551 | static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; |
19552 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
32fe5131 RD |
19553 | |
19554 | static swig_type_info *swig_type_initial[] = { | |
19555 | &_swigt__p_bool, | |
19556 | &_swigt__p_char, | |
19557 | &_swigt__p_form_ops_t, | |
19558 | &_swigt__p_int, | |
19559 | &_swigt__p_unsigned_char, | |
19560 | &_swigt__p_unsigned_int, | |
19561 | &_swigt__p_unsigned_long, | |
19562 | &_swigt__p_wxANIHandler, | |
19563 | &_swigt__p_wxAcceleratorTable, | |
19564 | &_swigt__p_wxActivateEvent, | |
704eda0c | 19565 | &_swigt__p_wxArrayInt, |
32fe5131 RD |
19566 | &_swigt__p_wxBMPHandler, |
19567 | &_swigt__p_wxBitmap, | |
19568 | &_swigt__p_wxBoxSizer, | |
19569 | &_swigt__p_wxCURHandler, | |
19570 | &_swigt__p_wxCalculateLayoutEvent, | |
19571 | &_swigt__p_wxChildFocusEvent, | |
2131d850 | 19572 | &_swigt__p_wxClipboardTextEvent, |
32fe5131 RD |
19573 | &_swigt__p_wxCloseEvent, |
19574 | &_swigt__p_wxColour, | |
19575 | &_swigt__p_wxColourData, | |
19576 | &_swigt__p_wxColourDialog, | |
19577 | &_swigt__p_wxCommandEvent, | |
19578 | &_swigt__p_wxConfigBase, | |
19579 | &_swigt__p_wxContextMenuEvent, | |
19580 | &_swigt__p_wxControl, | |
19581 | &_swigt__p_wxControlWithItems, | |
19582 | &_swigt__p_wxCursor, | |
19583 | &_swigt__p_wxDC, | |
19584 | &_swigt__p_wxDateEvent, | |
19585 | &_swigt__p_wxDefaultHtmlRenderingStyle, | |
19586 | &_swigt__p_wxDialog, | |
19587 | &_swigt__p_wxDirDialog, | |
19588 | &_swigt__p_wxDisplayChangedEvent, | |
19589 | &_swigt__p_wxDropFilesEvent, | |
19590 | &_swigt__p_wxDuplexMode, | |
19591 | &_swigt__p_wxEraseEvent, | |
19592 | &_swigt__p_wxEvent, | |
19593 | &_swigt__p_wxEvtHandler, | |
19594 | &_swigt__p_wxFSFile, | |
19595 | &_swigt__p_wxFileDialog, | |
19596 | &_swigt__p_wxFileSystem, | |
19597 | &_swigt__p_wxFindDialogEvent, | |
19598 | &_swigt__p_wxFindReplaceData, | |
19599 | &_swigt__p_wxFindReplaceDialog, | |
19600 | &_swigt__p_wxFlexGridSizer, | |
19601 | &_swigt__p_wxFocusEvent, | |
19602 | &_swigt__p_wxFont, | |
19603 | &_swigt__p_wxFontData, | |
19604 | &_swigt__p_wxFontDialog, | |
19605 | &_swigt__p_wxFrame, | |
19606 | &_swigt__p_wxGBSizerItem, | |
19607 | &_swigt__p_wxGIFHandler, | |
19608 | &_swigt__p_wxGridBagSizer, | |
19609 | &_swigt__p_wxGridSizer, | |
19610 | &_swigt__p_wxHelpControllerBase, | |
19611 | &_swigt__p_wxHelpSearchMode, | |
19612 | &_swigt__p_wxHtmlBookRecArray, | |
19613 | &_swigt__p_wxHtmlBookRecord, | |
19614 | &_swigt__p_wxHtmlCell, | |
8f514ab4 | 19615 | &_swigt__p_wxHtmlCellEvent, |
32fe5131 RD |
19616 | &_swigt__p_wxHtmlColourCell, |
19617 | &_swigt__p_wxHtmlContainerCell, | |
19618 | &_swigt__p_wxHtmlDCRenderer, | |
19619 | &_swigt__p_wxHtmlEasyPrinting, | |
19620 | &_swigt__p_wxHtmlFilter, | |
19621 | &_swigt__p_wxHtmlFontCell, | |
19622 | &_swigt__p_wxHtmlHelpController, | |
19623 | &_swigt__p_wxHtmlHelpData, | |
19624 | &_swigt__p_wxHtmlHelpDialog, | |
19625 | &_swigt__p_wxHtmlHelpFrame, | |
19626 | &_swigt__p_wxHtmlHelpFrameCfg, | |
19627 | &_swigt__p_wxHtmlHelpWindow, | |
8f514ab4 | 19628 | &_swigt__p_wxHtmlLinkEvent, |
32fe5131 RD |
19629 | &_swigt__p_wxHtmlLinkInfo, |
19630 | &_swigt__p_wxHtmlModalHelp, | |
19631 | &_swigt__p_wxHtmlParser, | |
19632 | &_swigt__p_wxHtmlPrintout, | |
19633 | &_swigt__p_wxHtmlRenderingInfo, | |
19634 | &_swigt__p_wxHtmlRenderingState, | |
19635 | &_swigt__p_wxHtmlRenderingStyle, | |
19636 | &_swigt__p_wxHtmlSearchStatus, | |
19637 | &_swigt__p_wxHtmlSelection, | |
19638 | &_swigt__p_wxHtmlTag, | |
19639 | &_swigt__p_wxHtmlTagHandler, | |
19640 | &_swigt__p_wxHtmlWidgetCell, | |
19641 | &_swigt__p_wxHtmlWinParser, | |
e9d6f3a4 | 19642 | &_swigt__p_wxHtmlWindowInterface, |
32fe5131 RD |
19643 | &_swigt__p_wxHtmlWordCell, |
19644 | &_swigt__p_wxICOHandler, | |
19645 | &_swigt__p_wxIconizeEvent, | |
19646 | &_swigt__p_wxIdleEvent, | |
19647 | &_swigt__p_wxImage, | |
19648 | &_swigt__p_wxImageHandler, | |
19649 | &_swigt__p_wxIndividualLayoutConstraint, | |
19650 | &_swigt__p_wxInitDialogEvent, | |
19651 | &_swigt__p_wxJPEGHandler, | |
19652 | &_swigt__p_wxKeyEvent, | |
19653 | &_swigt__p_wxLayoutAlgorithm, | |
19654 | &_swigt__p_wxLayoutConstraints, | |
19655 | &_swigt__p_wxMDIChildFrame, | |
19656 | &_swigt__p_wxMDIClientWindow, | |
19657 | &_swigt__p_wxMDIParentFrame, | |
19658 | &_swigt__p_wxMaximizeEvent, | |
19659 | &_swigt__p_wxMenu, | |
19660 | &_swigt__p_wxMenuBar, | |
19661 | &_swigt__p_wxMenuEvent, | |
19662 | &_swigt__p_wxMenuItem, | |
19663 | &_swigt__p_wxMessageDialog, | |
19664 | &_swigt__p_wxMiniFrame, | |
19665 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 19666 | &_swigt__p_wxMouseCaptureLostEvent, |
32fe5131 RD |
19667 | &_swigt__p_wxMouseEvent, |
19668 | &_swigt__p_wxMoveEvent, | |
19669 | &_swigt__p_wxMultiChoiceDialog, | |
19670 | &_swigt__p_wxNavigationKeyEvent, | |
19671 | &_swigt__p_wxNcPaintEvent, | |
19672 | &_swigt__p_wxNotifyEvent, | |
27e45892 | 19673 | &_swigt__p_wxNumberEntryDialog, |
32fe5131 RD |
19674 | &_swigt__p_wxObject, |
19675 | &_swigt__p_wxPCXHandler, | |
19676 | &_swigt__p_wxPNGHandler, | |
19677 | &_swigt__p_wxPNMHandler, | |
19678 | &_swigt__p_wxPageSetupDialog, | |
19679 | &_swigt__p_wxPageSetupDialogData, | |
19680 | &_swigt__p_wxPaintEvent, | |
19681 | &_swigt__p_wxPaletteChangedEvent, | |
19682 | &_swigt__p_wxPanel, | |
19683 | &_swigt__p_wxPaperSize, | |
19684 | &_swigt__p_wxPasswordEntryDialog, | |
19685 | &_swigt__p_wxPoint, | |
19686 | &_swigt__p_wxPopupWindow, | |
19687 | &_swigt__p_wxPreviewCanvas, | |
19688 | &_swigt__p_wxPreviewControlBar, | |
19689 | &_swigt__p_wxPreviewFrame, | |
19690 | &_swigt__p_wxPrintData, | |
19691 | &_swigt__p_wxPrintDialog, | |
19692 | &_swigt__p_wxPrintDialogData, | |
19693 | &_swigt__p_wxPrintPreview, | |
19694 | &_swigt__p_wxPrinter, | |
19695 | &_swigt__p_wxProgressDialog, | |
19696 | &_swigt__p_wxPyApp, | |
19697 | &_swigt__p_wxPyCommandEvent, | |
19698 | &_swigt__p_wxPyEvent, | |
19699 | &_swigt__p_wxPyHtmlFilter, | |
19700 | &_swigt__p_wxPyHtmlListBox, | |
19701 | &_swigt__p_wxPyHtmlTagHandler, | |
19702 | &_swigt__p_wxPyHtmlWinTagHandler, | |
19703 | &_swigt__p_wxPyHtmlWindow, | |
19704 | &_swigt__p_wxPyImageHandler, | |
19705 | &_swigt__p_wxPyPanel, | |
19706 | &_swigt__p_wxPyPopupTransientWindow, | |
19707 | &_swigt__p_wxPyPreviewControlBar, | |
19708 | &_swigt__p_wxPyPreviewFrame, | |
19709 | &_swigt__p_wxPyPrintPreview, | |
19710 | &_swigt__p_wxPyPrintout, | |
19711 | &_swigt__p_wxPyScrolledWindow, | |
19712 | &_swigt__p_wxPySizer, | |
19713 | &_swigt__p_wxPyTaskBarIcon, | |
19714 | &_swigt__p_wxPyVListBox, | |
19715 | &_swigt__p_wxPyVScrolledWindow, | |
19716 | &_swigt__p_wxPyValidator, | |
19717 | &_swigt__p_wxPyWindow, | |
19718 | &_swigt__p_wxQueryLayoutInfoEvent, | |
19719 | &_swigt__p_wxQueryNewPaletteEvent, | |
19720 | &_swigt__p_wxSashEvent, | |
19721 | &_swigt__p_wxSashLayoutWindow, | |
19722 | &_swigt__p_wxSashWindow, | |
19723 | &_swigt__p_wxScrollEvent, | |
19724 | &_swigt__p_wxScrollWinEvent, | |
19725 | &_swigt__p_wxScrolledWindow, | |
19726 | &_swigt__p_wxSetCursorEvent, | |
19727 | &_swigt__p_wxShowEvent, | |
f9bf356b | 19728 | &_swigt__p_wxSimpleHtmlListBox, |
32fe5131 RD |
19729 | &_swigt__p_wxSingleChoiceDialog, |
19730 | &_swigt__p_wxSize, | |
19731 | &_swigt__p_wxSizeEvent, | |
19732 | &_swigt__p_wxSizer, | |
19733 | &_swigt__p_wxSizerItem, | |
19734 | &_swigt__p_wxSplashScreen, | |
19735 | &_swigt__p_wxSplashScreenWindow, | |
19736 | &_swigt__p_wxSplitterEvent, | |
19737 | &_swigt__p_wxSplitterWindow, | |
19738 | &_swigt__p_wxStaticBoxSizer, | |
19739 | &_swigt__p_wxStatusBar, | |
19740 | &_swigt__p_wxStdDialogButtonSizer, | |
19741 | &_swigt__p_wxString, | |
19742 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 19743 | &_swigt__p_wxTGAHandler, |
32fe5131 RD |
19744 | &_swigt__p_wxTIFFHandler, |
19745 | &_swigt__p_wxTaskBarIconEvent, | |
19746 | &_swigt__p_wxTextEntryDialog, | |
19747 | &_swigt__p_wxTipWindow, | |
19748 | &_swigt__p_wxTopLevelWindow, | |
32fe5131 RD |
19749 | &_swigt__p_wxUpdateUIEvent, |
19750 | &_swigt__p_wxValidator, | |
19751 | &_swigt__p_wxVisualAttributes, | |
19752 | &_swigt__p_wxWindow, | |
19753 | &_swigt__p_wxWindowCreateEvent, | |
19754 | &_swigt__p_wxWindowDestroyEvent, | |
19755 | &_swigt__p_wxXPMHandler, | |
32fe5131 RD |
19756 | }; |
19757 | ||
19758 | static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; | |
19759 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19760 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
19761 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19762 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
19763 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
19764 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
704eda0c | 19765 | static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19766 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; |
19767 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
19768 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19769 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19770 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19771 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19772 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19773 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19774 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19775 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19776 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
2131d850 | 19777 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19778 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19779 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19780 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19781 | 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 |
19782 | static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; |
19783 | static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; | |
19784 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
19785 | static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 0, 0, 0},{0, 0, 0, 0}}; | |
19786 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19787 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19788 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19789 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19790 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19791 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19792 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19793 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19794 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19795 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
19796 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19797 | 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 |
19798 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
19799 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19800 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19801 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19802 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19803 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19804 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 19805 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19806 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19807 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19808 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19809 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19810 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19811 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19812 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19813 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19814 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19815 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19816 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19817 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19818 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19819 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 19820 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19821 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19822 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
19823 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19824 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19825 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19826 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
19827 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19828 | 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 |
19829 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
19830 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19831 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
19832 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19833 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19834 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
19835 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19836 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19837 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19838 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19839 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19840 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19841 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19842 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19843 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19844 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19845 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19846 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 19847 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19848 | static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; |
19849 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19850 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
19851 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
19852 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
19853 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 19854 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19855 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
19856 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
19857 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19858 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
19859 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
19860 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
19861 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 19862 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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 |
19863 | static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; |
19864 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
19865 | 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}}; | |
19866 | 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}}; | |
19867 | static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; | |
19868 | static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; | |
19869 | static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; | |
19870 | 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 | 19871 | static swig_cast_info _swigc__p_wxHtmlCellEvent[] = { {&_swigt__p_wxHtmlCellEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19872 | static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; |
19873 | static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19874 | static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; | |
19875 | static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; | |
19876 | static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19877 | static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19878 | static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; | |
19879 | static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; | |
19880 | static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
19881 | static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
19882 | static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; | |
19883 | static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
8f514ab4 | 19884 | static swig_cast_info _swigc__p_wxHtmlLinkEvent[] = { {&_swigt__p_wxHtmlLinkEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19885 | static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; |
19886 | static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
19887 | 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}}; | |
19888 | static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
19889 | static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
19890 | static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; | |
19891 | 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}}; | |
19892 | static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; | |
19893 | static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; | |
19894 | static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; | |
19895 | static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19896 | static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; | |
19897 | static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; | |
e9d6f3a4 | 19898 | static swig_cast_info _swigc__p_wxHtmlWindowInterface[] = { {&_swigt__p_wxHtmlWindowInterface, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19899 | static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 0, 0, 0},{0, 0, 0, 0}}; |
19900 | static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
19901 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; |
19902 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
19903 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
19904 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19905 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
19906 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
19907 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
19908 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19909 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
8f514ab4 | 19910 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19911 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; |
19912 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
19913 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19914 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
19915 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19916 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
19917 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19918 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 19919 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19920 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
19921 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
19922 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 19923 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 19924 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19925 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; |
19926 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 19927 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
19928 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
19929 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19930 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19931 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19932 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19933 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19934 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19935 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19936 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19937 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19938 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19939 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19940 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 19941 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCellEvent, _p_wxHtmlCellEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkEvent, _p_wxHtmlLinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 19942 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 19943 | 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 |
19944 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
19945 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
19946 | static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
19947 | static swig_cast_info _swigc__p_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; | |
19948 | 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}}; | |
19949 | static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
19950 | static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19951 | 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}}; | |
19952 | 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}}; | |
19953 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
19954 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
19955 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 19956 | 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 | 19957 | static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 19958 | 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 |
19959 | |
19960 | static swig_cast_info *swig_cast_initial[] = { | |
19961 | _swigc__p_bool, | |
19962 | _swigc__p_char, | |
19963 | _swigc__p_form_ops_t, | |
19964 | _swigc__p_int, | |
19965 | _swigc__p_unsigned_char, | |
19966 | _swigc__p_unsigned_int, | |
19967 | _swigc__p_unsigned_long, | |
19968 | _swigc__p_wxANIHandler, | |
19969 | _swigc__p_wxAcceleratorTable, | |
19970 | _swigc__p_wxActivateEvent, | |
704eda0c | 19971 | _swigc__p_wxArrayInt, |
32fe5131 RD |
19972 | _swigc__p_wxBMPHandler, |
19973 | _swigc__p_wxBitmap, | |
19974 | _swigc__p_wxBoxSizer, | |
19975 | _swigc__p_wxCURHandler, | |
19976 | _swigc__p_wxCalculateLayoutEvent, | |
19977 | _swigc__p_wxChildFocusEvent, | |
2131d850 | 19978 | _swigc__p_wxClipboardTextEvent, |
32fe5131 RD |
19979 | _swigc__p_wxCloseEvent, |
19980 | _swigc__p_wxColour, | |
19981 | _swigc__p_wxColourData, | |
19982 | _swigc__p_wxColourDialog, | |
19983 | _swigc__p_wxCommandEvent, | |
19984 | _swigc__p_wxConfigBase, | |
19985 | _swigc__p_wxContextMenuEvent, | |
19986 | _swigc__p_wxControl, | |
19987 | _swigc__p_wxControlWithItems, | |
19988 | _swigc__p_wxCursor, | |
19989 | _swigc__p_wxDC, | |
19990 | _swigc__p_wxDateEvent, | |
19991 | _swigc__p_wxDefaultHtmlRenderingStyle, | |
19992 | _swigc__p_wxDialog, | |
19993 | _swigc__p_wxDirDialog, | |
19994 | _swigc__p_wxDisplayChangedEvent, | |
19995 | _swigc__p_wxDropFilesEvent, | |
19996 | _swigc__p_wxDuplexMode, | |
19997 | _swigc__p_wxEraseEvent, | |
19998 | _swigc__p_wxEvent, | |
19999 | _swigc__p_wxEvtHandler, | |
20000 | _swigc__p_wxFSFile, | |
20001 | _swigc__p_wxFileDialog, | |
20002 | _swigc__p_wxFileSystem, | |
20003 | _swigc__p_wxFindDialogEvent, | |
20004 | _swigc__p_wxFindReplaceData, | |
20005 | _swigc__p_wxFindReplaceDialog, | |
20006 | _swigc__p_wxFlexGridSizer, | |
20007 | _swigc__p_wxFocusEvent, | |
20008 | _swigc__p_wxFont, | |
20009 | _swigc__p_wxFontData, | |
20010 | _swigc__p_wxFontDialog, | |
20011 | _swigc__p_wxFrame, | |
20012 | _swigc__p_wxGBSizerItem, | |
20013 | _swigc__p_wxGIFHandler, | |
20014 | _swigc__p_wxGridBagSizer, | |
20015 | _swigc__p_wxGridSizer, | |
20016 | _swigc__p_wxHelpControllerBase, | |
20017 | _swigc__p_wxHelpSearchMode, | |
20018 | _swigc__p_wxHtmlBookRecArray, | |
20019 | _swigc__p_wxHtmlBookRecord, | |
20020 | _swigc__p_wxHtmlCell, | |
8f514ab4 | 20021 | _swigc__p_wxHtmlCellEvent, |
32fe5131 RD |
20022 | _swigc__p_wxHtmlColourCell, |
20023 | _swigc__p_wxHtmlContainerCell, | |
20024 | _swigc__p_wxHtmlDCRenderer, | |
20025 | _swigc__p_wxHtmlEasyPrinting, | |
20026 | _swigc__p_wxHtmlFilter, | |
20027 | _swigc__p_wxHtmlFontCell, | |
20028 | _swigc__p_wxHtmlHelpController, | |
20029 | _swigc__p_wxHtmlHelpData, | |
20030 | _swigc__p_wxHtmlHelpDialog, | |
20031 | _swigc__p_wxHtmlHelpFrame, | |
20032 | _swigc__p_wxHtmlHelpFrameCfg, | |
20033 | _swigc__p_wxHtmlHelpWindow, | |
8f514ab4 | 20034 | _swigc__p_wxHtmlLinkEvent, |
32fe5131 RD |
20035 | _swigc__p_wxHtmlLinkInfo, |
20036 | _swigc__p_wxHtmlModalHelp, | |
20037 | _swigc__p_wxHtmlParser, | |
20038 | _swigc__p_wxHtmlPrintout, | |
20039 | _swigc__p_wxHtmlRenderingInfo, | |
20040 | _swigc__p_wxHtmlRenderingState, | |
20041 | _swigc__p_wxHtmlRenderingStyle, | |
20042 | _swigc__p_wxHtmlSearchStatus, | |
20043 | _swigc__p_wxHtmlSelection, | |
20044 | _swigc__p_wxHtmlTag, | |
20045 | _swigc__p_wxHtmlTagHandler, | |
20046 | _swigc__p_wxHtmlWidgetCell, | |
20047 | _swigc__p_wxHtmlWinParser, | |
e9d6f3a4 | 20048 | _swigc__p_wxHtmlWindowInterface, |
32fe5131 RD |
20049 | _swigc__p_wxHtmlWordCell, |
20050 | _swigc__p_wxICOHandler, | |
20051 | _swigc__p_wxIconizeEvent, | |
20052 | _swigc__p_wxIdleEvent, | |
20053 | _swigc__p_wxImage, | |
20054 | _swigc__p_wxImageHandler, | |
20055 | _swigc__p_wxIndividualLayoutConstraint, | |
20056 | _swigc__p_wxInitDialogEvent, | |
20057 | _swigc__p_wxJPEGHandler, | |
20058 | _swigc__p_wxKeyEvent, | |
20059 | _swigc__p_wxLayoutAlgorithm, | |
20060 | _swigc__p_wxLayoutConstraints, | |
20061 | _swigc__p_wxMDIChildFrame, | |
20062 | _swigc__p_wxMDIClientWindow, | |
20063 | _swigc__p_wxMDIParentFrame, | |
20064 | _swigc__p_wxMaximizeEvent, | |
20065 | _swigc__p_wxMenu, | |
20066 | _swigc__p_wxMenuBar, | |
20067 | _swigc__p_wxMenuEvent, | |
20068 | _swigc__p_wxMenuItem, | |
20069 | _swigc__p_wxMessageDialog, | |
20070 | _swigc__p_wxMiniFrame, | |
20071 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 20072 | _swigc__p_wxMouseCaptureLostEvent, |
32fe5131 RD |
20073 | _swigc__p_wxMouseEvent, |
20074 | _swigc__p_wxMoveEvent, | |
20075 | _swigc__p_wxMultiChoiceDialog, | |
20076 | _swigc__p_wxNavigationKeyEvent, | |
20077 | _swigc__p_wxNcPaintEvent, | |
20078 | _swigc__p_wxNotifyEvent, | |
27e45892 | 20079 | _swigc__p_wxNumberEntryDialog, |
32fe5131 RD |
20080 | _swigc__p_wxObject, |
20081 | _swigc__p_wxPCXHandler, | |
20082 | _swigc__p_wxPNGHandler, | |
20083 | _swigc__p_wxPNMHandler, | |
20084 | _swigc__p_wxPageSetupDialog, | |
20085 | _swigc__p_wxPageSetupDialogData, | |
20086 | _swigc__p_wxPaintEvent, | |
20087 | _swigc__p_wxPaletteChangedEvent, | |
20088 | _swigc__p_wxPanel, | |
20089 | _swigc__p_wxPaperSize, | |
20090 | _swigc__p_wxPasswordEntryDialog, | |
20091 | _swigc__p_wxPoint, | |
20092 | _swigc__p_wxPopupWindow, | |
20093 | _swigc__p_wxPreviewCanvas, | |
20094 | _swigc__p_wxPreviewControlBar, | |
20095 | _swigc__p_wxPreviewFrame, | |
20096 | _swigc__p_wxPrintData, | |
20097 | _swigc__p_wxPrintDialog, | |
20098 | _swigc__p_wxPrintDialogData, | |
20099 | _swigc__p_wxPrintPreview, | |
20100 | _swigc__p_wxPrinter, | |
20101 | _swigc__p_wxProgressDialog, | |
20102 | _swigc__p_wxPyApp, | |
20103 | _swigc__p_wxPyCommandEvent, | |
20104 | _swigc__p_wxPyEvent, | |
20105 | _swigc__p_wxPyHtmlFilter, | |
20106 | _swigc__p_wxPyHtmlListBox, | |
20107 | _swigc__p_wxPyHtmlTagHandler, | |
20108 | _swigc__p_wxPyHtmlWinTagHandler, | |
20109 | _swigc__p_wxPyHtmlWindow, | |
20110 | _swigc__p_wxPyImageHandler, | |
20111 | _swigc__p_wxPyPanel, | |
20112 | _swigc__p_wxPyPopupTransientWindow, | |
20113 | _swigc__p_wxPyPreviewControlBar, | |
20114 | _swigc__p_wxPyPreviewFrame, | |
20115 | _swigc__p_wxPyPrintPreview, | |
20116 | _swigc__p_wxPyPrintout, | |
20117 | _swigc__p_wxPyScrolledWindow, | |
20118 | _swigc__p_wxPySizer, | |
20119 | _swigc__p_wxPyTaskBarIcon, | |
20120 | _swigc__p_wxPyVListBox, | |
20121 | _swigc__p_wxPyVScrolledWindow, | |
20122 | _swigc__p_wxPyValidator, | |
20123 | _swigc__p_wxPyWindow, | |
20124 | _swigc__p_wxQueryLayoutInfoEvent, | |
20125 | _swigc__p_wxQueryNewPaletteEvent, | |
20126 | _swigc__p_wxSashEvent, | |
20127 | _swigc__p_wxSashLayoutWindow, | |
20128 | _swigc__p_wxSashWindow, | |
20129 | _swigc__p_wxScrollEvent, | |
20130 | _swigc__p_wxScrollWinEvent, | |
20131 | _swigc__p_wxScrolledWindow, | |
20132 | _swigc__p_wxSetCursorEvent, | |
20133 | _swigc__p_wxShowEvent, | |
f9bf356b | 20134 | _swigc__p_wxSimpleHtmlListBox, |
32fe5131 RD |
20135 | _swigc__p_wxSingleChoiceDialog, |
20136 | _swigc__p_wxSize, | |
20137 | _swigc__p_wxSizeEvent, | |
20138 | _swigc__p_wxSizer, | |
20139 | _swigc__p_wxSizerItem, | |
20140 | _swigc__p_wxSplashScreen, | |
20141 | _swigc__p_wxSplashScreenWindow, | |
20142 | _swigc__p_wxSplitterEvent, | |
20143 | _swigc__p_wxSplitterWindow, | |
20144 | _swigc__p_wxStaticBoxSizer, | |
20145 | _swigc__p_wxStatusBar, | |
20146 | _swigc__p_wxStdDialogButtonSizer, | |
20147 | _swigc__p_wxString, | |
20148 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 20149 | _swigc__p_wxTGAHandler, |
32fe5131 RD |
20150 | _swigc__p_wxTIFFHandler, |
20151 | _swigc__p_wxTaskBarIconEvent, | |
20152 | _swigc__p_wxTextEntryDialog, | |
20153 | _swigc__p_wxTipWindow, | |
20154 | _swigc__p_wxTopLevelWindow, | |
32fe5131 RD |
20155 | _swigc__p_wxUpdateUIEvent, |
20156 | _swigc__p_wxValidator, | |
20157 | _swigc__p_wxVisualAttributes, | |
20158 | _swigc__p_wxWindow, | |
20159 | _swigc__p_wxWindowCreateEvent, | |
20160 | _swigc__p_wxWindowDestroyEvent, | |
20161 | _swigc__p_wxXPMHandler, | |
d14a1e28 RD |
20162 | }; |
20163 | ||
20164 | ||
20165 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
20166 | ||
20167 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 20168 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
20169 | |
20170 | #ifdef __cplusplus | |
20171 | } | |
20172 | #endif | |
0085ce49 | 20173 | /* ----------------------------------------------------------------------------- |
32fe5131 RD |
20174 | * Type initialization: |
20175 | * This problem is tough by the requirement that no dynamic | |
20176 | * memory is used. Also, since swig_type_info structures store pointers to | |
20177 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
20178 | * to swig_type_info structures, we need some lookup code at initialization. | |
20179 | * The idea is that swig generates all the structures that are needed. | |
20180 | * The runtime then collects these partially filled structures. | |
20181 | * The SWIG_InitializeModule function takes these initial arrays out of | |
20182 | * swig_module, and does all the lookup, filling in the swig_module.types | |
20183 | * array with the correct data and linking the correct swig_cast_info | |
20184 | * structures together. | |
0085ce49 | 20185 | * |
32fe5131 RD |
20186 | * The generated swig_type_info structures are assigned staticly to an initial |
20187 | * array. We just loop though that array, and handle each type individually. | |
20188 | * First we lookup if this type has been already loaded, and if so, use the | |
20189 | * loaded structure instead of the generated one. Then we have to fill in the | |
20190 | * cast linked list. The cast data is initially stored in something like a | |
20191 | * two-dimensional array. Each row corresponds to a type (there are the same | |
20192 | * number of rows as there are in the swig_type_initial array). Each entry in | |
20193 | * a column is one of the swig_cast_info structures for that type. | |
20194 | * The cast_initial array is actually an array of arrays, because each row has | |
20195 | * a variable number of columns. So to actually build the cast linked list, | |
20196 | * we find the array of casts associated with the type, and loop through it | |
20197 | * adding the casts to the list. The one last trick we need to do is making | |
20198 | * sure the type pointer in the swig_cast_info struct is correct. | |
0085ce49 | 20199 | * |
32fe5131 RD |
20200 | * First off, we lookup the cast->type name to see if it is already loaded. |
20201 | * There are three cases to handle: | |
20202 | * 1) If the cast->type has already been loaded AND the type we are adding | |
20203 | * casting info to has not been loaded (it is in this module), THEN we | |
20204 | * replace the cast->type pointer with the type pointer that has already | |
20205 | * been loaded. | |
20206 | * 2) If BOTH types (the one we are adding casting info to, and the | |
20207 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
20208 | * the previous module so we just ignore it. | |
20209 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
20210 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
20211 | * be correct. | |
0085ce49 | 20212 | * ----------------------------------------------------------------------------- */ |
32fe5131 RD |
20213 | |
20214 | #ifdef __cplusplus | |
20215 | extern "C" { | |
20216 | #if 0 | |
20217 | } /* c-mode */ | |
20218 | #endif | |
20219 | #endif | |
20220 | ||
20221 | #if 0 | |
20222 | #define SWIGRUNTIME_DEBUG | |
20223 | #endif | |
20224 | ||
20225 | SWIGRUNTIME void | |
20226 | SWIG_InitializeModule(void *clientdata) { | |
0085ce49 RD |
20227 | size_t i; |
20228 | swig_module_info *module_head; | |
20229 | static int init_run = 0; | |
20230 | ||
20231 | clientdata = clientdata; | |
20232 | ||
20233 | if (init_run) return; | |
20234 | init_run = 1; | |
20235 | ||
20236 | /* Initialize the swig_module */ | |
20237 | swig_module.type_initial = swig_type_initial; | |
20238 | swig_module.cast_initial = swig_cast_initial; | |
20239 | ||
20240 | /* Try and load any already created modules */ | |
20241 | module_head = SWIG_GetModule(clientdata); | |
20242 | if (module_head) { | |
20243 | swig_module.next = module_head->next; | |
20244 | module_head->next = &swig_module; | |
20245 | } else { | |
20246 | /* This is the first module loaded */ | |
20247 | swig_module.next = &swig_module; | |
20248 | SWIG_SetModule(clientdata, &swig_module); | |
20249 | } | |
20250 | ||
20251 | /* Now work on filling in swig_module.types */ | |
32fe5131 | 20252 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20253 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
32fe5131 | 20254 | #endif |
0085ce49 RD |
20255 | for (i = 0; i < swig_module.size; ++i) { |
20256 | swig_type_info *type = 0; | |
20257 | swig_type_info *ret; | |
20258 | swig_cast_info *cast; | |
20259 | ||
32fe5131 | 20260 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20261 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
32fe5131 | 20262 | #endif |
0085ce49 RD |
20263 | |
20264 | /* if there is another module already loaded */ | |
20265 | if (swig_module.next != &swig_module) { | |
20266 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
20267 | } | |
20268 | if (type) { | |
20269 | /* Overwrite clientdata field */ | |
32fe5131 | 20270 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20271 | printf("SWIG_InitializeModule: found type %s\n", type->name); |
32fe5131 | 20272 | #endif |
0085ce49 RD |
20273 | if (swig_module.type_initial[i]->clientdata) { |
20274 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
32fe5131 | 20275 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20276 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
32fe5131 | 20277 | #endif |
0085ce49 RD |
20278 | } |
20279 | } else { | |
20280 | type = swig_module.type_initial[i]; | |
20281 | } | |
20282 | ||
20283 | /* Insert casting types */ | |
20284 | cast = swig_module.cast_initial[i]; | |
20285 | while (cast->type) { | |
20286 | /* Don't need to add information already in the list */ | |
20287 | ret = 0; | |
32fe5131 | 20288 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20289 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
32fe5131 | 20290 | #endif |
0085ce49 RD |
20291 | if (swig_module.next != &swig_module) { |
20292 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
32fe5131 | 20293 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20294 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
32fe5131 | 20295 | #endif |
0085ce49 RD |
20296 | } |
20297 | if (ret) { | |
20298 | if (type == swig_module.type_initial[i]) { | |
32fe5131 | 20299 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20300 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
32fe5131 | 20301 | #endif |
0085ce49 RD |
20302 | cast->type = ret; |
20303 | ret = 0; | |
20304 | } else { | |
20305 | /* Check for casting already in the list */ | |
20306 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
32fe5131 | 20307 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20308 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
32fe5131 | 20309 | #endif |
0085ce49 RD |
20310 | if (!ocast) ret = 0; |
20311 | } | |
20312 | } | |
20313 | ||
20314 | if (!ret) { | |
32fe5131 | 20315 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 20316 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
32fe5131 | 20317 | #endif |
0085ce49 RD |
20318 | if (type->cast) { |
20319 | type->cast->prev = cast; | |
20320 | cast->next = type->cast; | |
32fe5131 | 20321 | } |
0085ce49 RD |
20322 | type->cast = cast; |
20323 | } | |
20324 | cast++; | |
32fe5131 | 20325 | } |
0085ce49 RD |
20326 | /* Set entry in modules->types array equal to the type */ |
20327 | swig_module.types[i] = type; | |
20328 | } | |
20329 | swig_module.types[i] = 0; | |
20330 | ||
32fe5131 | 20331 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 RD |
20332 | printf("**** SWIG_InitializeModule: Cast List ******\n"); |
20333 | for (i = 0; i < swig_module.size; ++i) { | |
20334 | int j = 0; | |
20335 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
20336 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
20337 | while (cast->type) { | |
20338 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
20339 | cast++; | |
20340 | ++j; | |
20341 | } | |
20342 | printf("---- Total casts: %d\n",j); | |
20343 | } | |
20344 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
32fe5131 RD |
20345 | #endif |
20346 | } | |
20347 | ||
20348 | /* This function will propagate the clientdata field of type to | |
20349 | * any new swig_type_info structures that have been added into the list | |
20350 | * of equivalent types. It is like calling | |
20351 | * SWIG_TypeClientData(type, clientdata) a second time. | |
20352 | */ | |
20353 | SWIGRUNTIME void | |
20354 | SWIG_PropagateClientData(void) { | |
0085ce49 RD |
20355 | size_t i; |
20356 | swig_cast_info *equiv; | |
20357 | static int init_run = 0; | |
20358 | ||
20359 | if (init_run) return; | |
20360 | init_run = 1; | |
20361 | ||
20362 | for (i = 0; i < swig_module.size; i++) { | |
20363 | if (swig_module.types[i]->clientdata) { | |
20364 | equiv = swig_module.types[i]->cast; | |
20365 | while (equiv) { | |
20366 | if (!equiv->converter) { | |
20367 | if (equiv->type && !equiv->type->clientdata) | |
20368 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
32fe5131 | 20369 | } |
0085ce49 RD |
20370 | equiv = equiv->next; |
20371 | } | |
32fe5131 | 20372 | } |
0085ce49 | 20373 | } |
32fe5131 RD |
20374 | } |
20375 | ||
20376 | #ifdef __cplusplus | |
20377 | #if 0 | |
20378 | { | |
0085ce49 | 20379 | /* c-mode */ |
32fe5131 RD |
20380 | #endif |
20381 | } | |
20382 | #endif | |
20383 | ||
d14a1e28 | 20384 | |
093d3ff1 RD |
20385 | |
20386 | #ifdef __cplusplus | |
20387 | extern "C" { | |
20388 | #endif | |
0085ce49 RD |
20389 | |
20390 | /* Python-specific SWIG API */ | |
093d3ff1 RD |
20391 | #define SWIG_newvarlink() SWIG_Python_newvarlink() |
20392 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
20393 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
0085ce49 RD |
20394 | |
20395 | /* ----------------------------------------------------------------------------- | |
20396 | * global variable support code. | |
20397 | * ----------------------------------------------------------------------------- */ | |
20398 | ||
20399 | typedef struct swig_globalvar { | |
20400 | char *name; /* Name of global variable */ | |
20401 | PyObject *(*get_attr)(void); /* Return the current value */ | |
20402 | int (*set_attr)(PyObject *); /* Set the value */ | |
20403 | struct swig_globalvar *next; | |
20404 | } swig_globalvar; | |
20405 | ||
20406 | typedef struct swig_varlinkobject { | |
20407 | PyObject_HEAD | |
20408 | swig_globalvar *vars; | |
20409 | } swig_varlinkobject; | |
20410 | ||
20411 | SWIGINTERN PyObject * | |
20412 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
20413 | return PyString_FromString("<Swig global variables>"); | |
20414 | } | |
20415 | ||
20416 | SWIGINTERN PyObject * | |
20417 | swig_varlink_str(swig_varlinkobject *v) { | |
20418 | PyObject *str = PyString_FromString("("); | |
20419 | swig_globalvar *var; | |
20420 | for (var = v->vars; var; var=var->next) { | |
20421 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
20422 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
20423 | } | |
20424 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
20425 | return str; | |
20426 | } | |
20427 | ||
20428 | SWIGINTERN int | |
20429 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
20430 | PyObject *str = swig_varlink_str(v); | |
20431 | fprintf(fp,"Swig global variables "); | |
20432 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
20433 | Py_DECREF(str); | |
20434 | return 0; | |
20435 | } | |
20436 | ||
20437 | SWIGINTERN void | |
20438 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
20439 | swig_globalvar *var = v->vars; | |
20440 | while (var) { | |
20441 | swig_globalvar *n = var->next; | |
20442 | free(var->name); | |
20443 | free(var); | |
20444 | var = n; | |
093d3ff1 | 20445 | } |
0085ce49 RD |
20446 | } |
20447 | ||
20448 | SWIGINTERN PyObject * | |
20449 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
20450 | PyObject *res = NULL; | |
20451 | swig_globalvar *var = v->vars; | |
20452 | while (var) { | |
20453 | if (strcmp(var->name,n) == 0) { | |
20454 | res = (*var->get_attr)(); | |
20455 | break; | |
20456 | } | |
20457 | var = var->next; | |
093d3ff1 | 20458 | } |
0085ce49 RD |
20459 | if (res == NULL && !PyErr_Occurred()) { |
20460 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
093d3ff1 | 20461 | } |
0085ce49 RD |
20462 | return res; |
20463 | } | |
20464 | ||
20465 | SWIGINTERN int | |
20466 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
20467 | int res = 1; | |
20468 | swig_globalvar *var = v->vars; | |
20469 | while (var) { | |
20470 | if (strcmp(var->name,n) == 0) { | |
20471 | res = (*var->set_attr)(p); | |
20472 | break; | |
20473 | } | |
20474 | var = var->next; | |
093d3ff1 | 20475 | } |
0085ce49 RD |
20476 | if (res == 1 && !PyErr_Occurred()) { |
20477 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
20478 | } | |
20479 | return res; | |
20480 | } | |
20481 | ||
20482 | SWIGINTERN PyTypeObject* | |
20483 | swig_varlink_type(void) { | |
20484 | static char varlink__doc__[] = "Swig var link object"; | |
20485 | static PyTypeObject varlink_type; | |
20486 | static int type_init = 0; | |
20487 | if (!type_init) { | |
20488 | const PyTypeObject tmp | |
20489 | = { | |
20490 | PyObject_HEAD_INIT(NULL) | |
20491 | 0, /* Number of items in variable part (ob_size) */ | |
20492 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
20493 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
20494 | 0, /* Itemsize (tp_itemsize) */ | |
20495 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
20496 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
20497 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
20498 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
20499 | 0, /* tp_compare */ | |
20500 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
20501 | 0, /* tp_as_number */ | |
20502 | 0, /* tp_as_sequence */ | |
20503 | 0, /* tp_as_mapping */ | |
20504 | 0, /* tp_hash */ | |
20505 | 0, /* tp_call */ | |
20506 | (reprfunc)swig_varlink_str, /* tp_str */ | |
20507 | 0, /* tp_getattro */ | |
20508 | 0, /* tp_setattro */ | |
20509 | 0, /* tp_as_buffer */ | |
20510 | 0, /* tp_flags */ | |
20511 | varlink__doc__, /* tp_doc */ | |
20512 | 0, /* tp_traverse */ | |
20513 | 0, /* tp_clear */ | |
20514 | 0, /* tp_richcompare */ | |
20515 | 0, /* tp_weaklistoffset */ | |
093d3ff1 | 20516 | #if PY_VERSION_HEX >= 0x02020000 |
0085ce49 | 20517 | 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 |
20518 | #endif |
20519 | #if PY_VERSION_HEX >= 0x02030000 | |
0085ce49 | 20520 | 0, /* tp_del */ |
093d3ff1 RD |
20521 | #endif |
20522 | #ifdef COUNT_ALLOCS | |
0085ce49 | 20523 | 0,0,0,0 /* tp_alloc -> tp_next */ |
32fe5131 | 20524 | #endif |
0085ce49 RD |
20525 | }; |
20526 | varlink_type = tmp; | |
20527 | varlink_type.ob_type = &PyType_Type; | |
20528 | type_init = 1; | |
32fe5131 | 20529 | } |
0085ce49 RD |
20530 | return &varlink_type; |
20531 | } | |
20532 | ||
20533 | /* Create a variable linking object for use later */ | |
20534 | SWIGINTERN PyObject * | |
20535 | SWIG_Python_newvarlink(void) { | |
20536 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
20537 | if (result) { | |
20538 | result->vars = 0; | |
20539 | } | |
20540 | return ((PyObject*) result); | |
20541 | } | |
20542 | ||
20543 | SWIGINTERN void | |
20544 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
20545 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
20546 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
20547 | if (gv) { | |
20548 | size_t size = strlen(name)+1; | |
20549 | gv->name = (char *)malloc(size); | |
20550 | if (gv->name) { | |
20551 | strncpy(gv->name,name,size); | |
20552 | gv->get_attr = get_attr; | |
20553 | gv->set_attr = set_attr; | |
20554 | gv->next = v->vars; | |
20555 | } | |
093d3ff1 | 20556 | } |
0085ce49 RD |
20557 | v->vars = gv; |
20558 | } | |
20559 | ||
20560 | SWIGINTERN PyObject * | |
20561 | SWIG_globals() { | |
20562 | static PyObject *_SWIG_globals = 0; | |
20563 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
20564 | return _SWIG_globals; | |
20565 | } | |
20566 | ||
20567 | /* ----------------------------------------------------------------------------- | |
20568 | * constants/methods manipulation | |
20569 | * ----------------------------------------------------------------------------- */ | |
20570 | ||
20571 | /* Install Constants */ | |
20572 | SWIGINTERN void | |
20573 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
20574 | PyObject *obj = 0; | |
20575 | size_t i; | |
20576 | for (i = 0; constants[i].type; ++i) { | |
20577 | switch(constants[i].type) { | |
20578 | case SWIG_PY_POINTER: | |
20579 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
20580 | break; | |
20581 | case SWIG_PY_BINARY: | |
20582 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
20583 | break; | |
20584 | default: | |
20585 | obj = 0; | |
20586 | break; | |
20587 | } | |
20588 | if (obj) { | |
20589 | PyDict_SetItemString(d, constants[i].name, obj); | |
20590 | Py_DECREF(obj); | |
20591 | } | |
093d3ff1 | 20592 | } |
0085ce49 RD |
20593 | } |
20594 | ||
20595 | /* -----------------------------------------------------------------------------*/ | |
20596 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20597 | /* -----------------------------------------------------------------------------*/ | |
20598 | ||
20599 | SWIGINTERN void | |
20600 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
093d3ff1 RD |
20601 | swig_const_info *const_table, |
20602 | swig_type_info **types, | |
20603 | swig_type_info **types_initial) { | |
0085ce49 RD |
20604 | size_t i; |
20605 | for (i = 0; methods[i].ml_name; ++i) { | |
453fb36b | 20606 | const char *c = methods[i].ml_doc; |
0085ce49 RD |
20607 | if (c && (c = strstr(c, "swig_ptr: "))) { |
20608 | int j; | |
20609 | swig_const_info *ci = 0; | |
453fb36b | 20610 | const char *name = c + 10; |
0085ce49 RD |
20611 | for (j = 0; const_table[j].type; ++j) { |
20612 | if (strncmp(const_table[j].name, name, | |
20613 | strlen(const_table[j].name)) == 0) { | |
20614 | ci = &(const_table[j]); | |
20615 | break; | |
20616 | } | |
20617 | } | |
20618 | if (ci) { | |
20619 | size_t shift = (ci->ptype) - types; | |
20620 | swig_type_info *ty = types_initial[shift]; | |
20621 | size_t ldoc = (c - methods[i].ml_doc); | |
20622 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
20623 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
20624 | if (ndoc) { | |
20625 | char *buff = ndoc; | |
20626 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
20627 | if (ptr) { | |
20628 | strncpy(buff, methods[i].ml_doc, ldoc); | |
20629 | buff += ldoc; | |
20630 | strncpy(buff, "swig_ptr: ", 10); | |
20631 | buff += 10; | |
20632 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
20633 | methods[i].ml_doc = ndoc; | |
093d3ff1 | 20634 | } |
0085ce49 | 20635 | } |
093d3ff1 | 20636 | } |
0085ce49 | 20637 | } |
093d3ff1 | 20638 | } |
0085ce49 RD |
20639 | } |
20640 | ||
093d3ff1 RD |
20641 | #ifdef __cplusplus |
20642 | } | |
20643 | #endif | |
20644 | ||
20645 | /* -----------------------------------------------------------------------------* | |
20646 | * Partial Init method | |
20647 | * -----------------------------------------------------------------------------*/ | |
20648 | ||
d14a1e28 RD |
20649 | #ifdef __cplusplus |
20650 | extern "C" | |
20651 | #endif | |
32fe5131 | 20652 | SWIGEXPORT void SWIG_init(void) { |
0085ce49 RD |
20653 | PyObject *m, *d; |
20654 | ||
20655 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
20656 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
20657 | ||
20658 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
20659 | d = PyModule_GetDict(m); | |
20660 | ||
20661 | SWIG_InitializeModule(0); | |
20662 | SWIG_InstallConstants(d,swig_const_table); | |
20663 | ||
20664 | ||
20665 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
20666 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlWindowNameStr",HtmlWindowNameStr_get, HtmlWindowNameStr_set); | |
20667 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintoutTitleStr",HtmlPrintoutTitleStr_get, HtmlPrintoutTitleStr_set); | |
20668 | SWIG_addvarlink(SWIG_globals(),(char*)"HtmlPrintingTitleStr",HtmlPrintingTitleStr_get, HtmlPrintingTitleStr_set); | |
20669 | SWIG_Python_SetConstant(d, "HTML_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_LEFT))); | |
20670 | SWIG_Python_SetConstant(d, "HTML_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_CENTER))); | |
20671 | SWIG_Python_SetConstant(d, "HTML_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_RIGHT))); | |
20672 | SWIG_Python_SetConstant(d, "HTML_ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_BOTTOM))); | |
20673 | SWIG_Python_SetConstant(d, "HTML_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxHTML_ALIGN_TOP))); | |
20674 | SWIG_Python_SetConstant(d, "HTML_CLR_FOREGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_FOREGROUND))); | |
20675 | SWIG_Python_SetConstant(d, "HTML_CLR_BACKGROUND",SWIG_From_int(static_cast< int >(wxHTML_CLR_BACKGROUND))); | |
20676 | SWIG_Python_SetConstant(d, "HTML_UNITS_PIXELS",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PIXELS))); | |
20677 | SWIG_Python_SetConstant(d, "HTML_UNITS_PERCENT",SWIG_From_int(static_cast< int >(wxHTML_UNITS_PERCENT))); | |
20678 | SWIG_Python_SetConstant(d, "HTML_INDENT_LEFT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_LEFT))); | |
20679 | SWIG_Python_SetConstant(d, "HTML_INDENT_RIGHT",SWIG_From_int(static_cast< int >(wxHTML_INDENT_RIGHT))); | |
20680 | SWIG_Python_SetConstant(d, "HTML_INDENT_TOP",SWIG_From_int(static_cast< int >(wxHTML_INDENT_TOP))); | |
20681 | SWIG_Python_SetConstant(d, "HTML_INDENT_BOTTOM",SWIG_From_int(static_cast< int >(wxHTML_INDENT_BOTTOM))); | |
20682 | SWIG_Python_SetConstant(d, "HTML_INDENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_HORIZONTAL))); | |
20683 | SWIG_Python_SetConstant(d, "HTML_INDENT_VERTICAL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_VERTICAL))); | |
20684 | SWIG_Python_SetConstant(d, "HTML_INDENT_ALL",SWIG_From_int(static_cast< int >(wxHTML_INDENT_ALL))); | |
20685 | SWIG_Python_SetConstant(d, "HTML_COND_ISANCHOR",SWIG_From_int(static_cast< int >(wxHTML_COND_ISANCHOR))); | |
20686 | SWIG_Python_SetConstant(d, "HTML_COND_ISIMAGEMAP",SWIG_From_int(static_cast< int >(wxHTML_COND_ISIMAGEMAP))); | |
20687 | SWIG_Python_SetConstant(d, "HTML_COND_USER",SWIG_From_int(static_cast< int >(wxHTML_COND_USER))); | |
0085ce49 RD |
20688 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_NEVER",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_NEVER))); |
20689 | SWIG_Python_SetConstant(d, "HW_SCROLLBAR_AUTO",SWIG_From_int(static_cast< int >(wxHW_SCROLLBAR_AUTO))); | |
20690 | SWIG_Python_SetConstant(d, "HW_NO_SELECTION",SWIG_From_int(static_cast< int >(wxHW_NO_SELECTION))); | |
20691 | SWIG_Python_SetConstant(d, "HW_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHW_DEFAULT_STYLE))); | |
20692 | SWIG_Python_SetConstant(d, "HTML_OPEN",SWIG_From_int(static_cast< int >(wxHTML_OPEN))); | |
20693 | SWIG_Python_SetConstant(d, "HTML_BLOCK",SWIG_From_int(static_cast< int >(wxHTML_BLOCK))); | |
20694 | SWIG_Python_SetConstant(d, "HTML_REDIRECT",SWIG_From_int(static_cast< int >(wxHTML_REDIRECT))); | |
20695 | SWIG_Python_SetConstant(d, "HTML_URL_PAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_PAGE))); | |
20696 | SWIG_Python_SetConstant(d, "HTML_URL_IMAGE",SWIG_From_int(static_cast< int >(wxHTML_URL_IMAGE))); | |
20697 | SWIG_Python_SetConstant(d, "HTML_URL_OTHER",SWIG_From_int(static_cast< int >(wxHTML_URL_OTHER))); | |
20698 | SWIG_Python_SetConstant(d, "HTML_SEL_OUT",SWIG_From_int(static_cast< int >(wxHTML_SEL_OUT))); | |
20699 | SWIG_Python_SetConstant(d, "HTML_SEL_IN",SWIG_From_int(static_cast< int >(wxHTML_SEL_IN))); | |
20700 | SWIG_Python_SetConstant(d, "HTML_SEL_CHANGING",SWIG_From_int(static_cast< int >(wxHTML_SEL_CHANGING))); | |
20701 | SWIG_Python_SetConstant(d, "HTML_FIND_EXACT",SWIG_From_int(static_cast< int >(wxHTML_FIND_EXACT))); | |
20702 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_BEFORE",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_BEFORE))); | |
20703 | SWIG_Python_SetConstant(d, "HTML_FIND_NEAREST_AFTER",SWIG_From_int(static_cast< int >(wxHTML_FIND_NEAREST_AFTER))); | |
e9d6f3a4 RD |
20704 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Default))); |
20705 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Link))); | |
20706 | SWIG_Python_SetConstant(d, "HtmlWindowInterface_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxHtmlWindowInterface::HTMLCursor_Text))); | |
20707 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Default",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Default))); | |
20708 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Link",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Link))); | |
20709 | SWIG_Python_SetConstant(d, "HtmlWindow_HTMLCursor_Text",SWIG_From_int(static_cast< int >(wxPyHtmlWindow::HTMLCursor_Text))); | |
0085ce49 RD |
20710 | SWIG_Python_SetConstant(d, "PAGE_ODD",SWIG_From_int(static_cast< int >(wxPAGE_ODD))); |
20711 | SWIG_Python_SetConstant(d, "PAGE_EVEN",SWIG_From_int(static_cast< int >(wxPAGE_EVEN))); | |
20712 | SWIG_Python_SetConstant(d, "PAGE_ALL",SWIG_From_int(static_cast< int >(wxPAGE_ALL))); | |
20713 | SWIG_Python_SetConstant(d, "HF_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_TOOLBAR))); | |
20714 | SWIG_Python_SetConstant(d, "HF_CONTENTS",SWIG_From_int(static_cast< int >(wxHF_CONTENTS))); | |
20715 | SWIG_Python_SetConstant(d, "HF_INDEX",SWIG_From_int(static_cast< int >(wxHF_INDEX))); | |
20716 | SWIG_Python_SetConstant(d, "HF_SEARCH",SWIG_From_int(static_cast< int >(wxHF_SEARCH))); | |
20717 | SWIG_Python_SetConstant(d, "HF_BOOKMARKS",SWIG_From_int(static_cast< int >(wxHF_BOOKMARKS))); | |
20718 | SWIG_Python_SetConstant(d, "HF_OPEN_FILES",SWIG_From_int(static_cast< int >(wxHF_OPEN_FILES))); | |
20719 | SWIG_Python_SetConstant(d, "HF_PRINT",SWIG_From_int(static_cast< int >(wxHF_PRINT))); | |
20720 | SWIG_Python_SetConstant(d, "HF_FLAT_TOOLBAR",SWIG_From_int(static_cast< int >(wxHF_FLAT_TOOLBAR))); | |
20721 | SWIG_Python_SetConstant(d, "HF_MERGE_BOOKS",SWIG_From_int(static_cast< int >(wxHF_MERGE_BOOKS))); | |
20722 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK))); | |
20723 | SWIG_Python_SetConstant(d, "HF_ICONS_BOOK_CHAPTER",SWIG_From_int(static_cast< int >(wxHF_ICONS_BOOK_CHAPTER))); | |
20724 | SWIG_Python_SetConstant(d, "HF_ICONS_FOLDER",SWIG_From_int(static_cast< int >(wxHF_ICONS_FOLDER))); | |
20725 | SWIG_Python_SetConstant(d, "HF_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHF_DEFAULT_STYLE))); | |
20726 | SWIG_Python_SetConstant(d, "HF_EMBEDDED",SWIG_From_int(static_cast< int >(wxHF_EMBEDDED))); | |
20727 | SWIG_Python_SetConstant(d, "HF_DIALOG",SWIG_From_int(static_cast< int >(wxHF_DIALOG))); | |
20728 | SWIG_Python_SetConstant(d, "HF_FRAME",SWIG_From_int(static_cast< int >(wxHF_FRAME))); | |
20729 | SWIG_Python_SetConstant(d, "HF_MODAL",SWIG_From_int(static_cast< int >(wxHF_MODAL))); | |
20730 | SWIG_Python_SetConstant(d, "ID_HTML_PANEL",SWIG_From_int(static_cast< int >(wxID_HTML_PANEL))); | |
20731 | SWIG_Python_SetConstant(d, "ID_HTML_BACK",SWIG_From_int(static_cast< int >(wxID_HTML_BACK))); | |
20732 | SWIG_Python_SetConstant(d, "ID_HTML_FORWARD",SWIG_From_int(static_cast< int >(wxID_HTML_FORWARD))); | |
20733 | SWIG_Python_SetConstant(d, "ID_HTML_UPNODE",SWIG_From_int(static_cast< int >(wxID_HTML_UPNODE))); | |
20734 | SWIG_Python_SetConstant(d, "ID_HTML_UP",SWIG_From_int(static_cast< int >(wxID_HTML_UP))); | |
20735 | SWIG_Python_SetConstant(d, "ID_HTML_DOWN",SWIG_From_int(static_cast< int >(wxID_HTML_DOWN))); | |
20736 | SWIG_Python_SetConstant(d, "ID_HTML_PRINT",SWIG_From_int(static_cast< int >(wxID_HTML_PRINT))); | |
20737 | SWIG_Python_SetConstant(d, "ID_HTML_OPENFILE",SWIG_From_int(static_cast< int >(wxID_HTML_OPENFILE))); | |
20738 | SWIG_Python_SetConstant(d, "ID_HTML_OPTIONS",SWIG_From_int(static_cast< int >(wxID_HTML_OPTIONS))); | |
20739 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSLIST",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSLIST))); | |
20740 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSADD",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSADD))); | |
20741 | SWIG_Python_SetConstant(d, "ID_HTML_BOOKMARKSREMOVE",SWIG_From_int(static_cast< int >(wxID_HTML_BOOKMARKSREMOVE))); | |
20742 | SWIG_Python_SetConstant(d, "ID_HTML_TREECTRL",SWIG_From_int(static_cast< int >(wxID_HTML_TREECTRL))); | |
20743 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXPAGE))); | |
20744 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXLIST",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXLIST))); | |
20745 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXTEXT))); | |
20746 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTON))); | |
20747 | SWIG_Python_SetConstant(d, "ID_HTML_INDEXBUTTONALL",SWIG_From_int(static_cast< int >(wxID_HTML_INDEXBUTTONALL))); | |
20748 | SWIG_Python_SetConstant(d, "ID_HTML_NOTEBOOK",SWIG_From_int(static_cast< int >(wxID_HTML_NOTEBOOK))); | |
20749 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHPAGE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHPAGE))); | |
20750 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHTEXT",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHTEXT))); | |
20751 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHLIST",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHLIST))); | |
20752 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHBUTTON",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHBUTTON))); | |
20753 | SWIG_Python_SetConstant(d, "ID_HTML_SEARCHCHOICE",SWIG_From_int(static_cast< int >(wxID_HTML_SEARCHCHOICE))); | |
20754 | SWIG_Python_SetConstant(d, "ID_HTML_COUNTINFO",SWIG_From_int(static_cast< int >(wxID_HTML_COUNTINFO))); | |
8f514ab4 RD |
20755 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_CLICKED)); |
20756 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_CELL_HOVER", PyInt_FromLong(wxEVT_COMMAND_HTML_CELL_HOVER)); | |
20757 | PyDict_SetItemString(d, "wxEVT_COMMAND_HTML_LINK_CLICKED", PyInt_FromLong(wxEVT_COMMAND_HTML_LINK_CLICKED)); | |
0085ce49 RD |
20758 | |
20759 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
20760 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
20761 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
20762 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
20763 | ||
d14a1e28 RD |
20764 | } |
20765 |