]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
83448d71 | 3 | * Version 1.3.22 |
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 | |
12 | #define SWIG_NOINCLUDE | |
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); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
c32bde28 | 46 | #define SWIG_TypePrettyName SWIG_Python_TypePrettyName |
d14a1e28 RD |
47 | #define SWIG_TypeQuery SWIG_Python_TypeQuery |
48 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
9fd4be55 RD |
49 | #define SWIG_PackData SWIG_Python_PackData |
50 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
51 | ||
d14a1e28 RD |
52 | |
53 | /*********************************************************************** | |
54 | * common.swg for wxPython | |
55 | * | |
56 | * Include only the function prototypes and such from SWIG's common.swg, | |
57 | * but not the runtime functions themselves. This helps keep the | |
58 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
59 | * anyway. | |
60 | * | |
61 | ************************************************************************/ | |
62 | ||
63 | #include <string.h> | |
64 | ||
f0983263 RD |
65 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
66 | # if defined(_MSC_VER) || defined(__GNUC__) | |
67 | # if defined(STATIC_LINKED) | |
68 | # define SWIGEXPORT(a) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # else | |
71 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
72 | # define SWIGIMPORT(a) extern a | |
73 | # endif | |
74 | # else | |
75 | # if defined(__BORLANDC__) | |
76 | # define SWIGEXPORT(a) a _export | |
77 | # define SWIGIMPORT(a) a _export | |
78 | # else | |
79 | # define SWIGEXPORT(a) a | |
80 | # define SWIGIMPORT(a) a | |
81 | # endif | |
82 | # endif | |
d14a1e28 | 83 | #else |
f0983263 RD |
84 | # define SWIGEXPORT(a) a |
85 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
86 | #endif |
87 | ||
88 | #ifdef SWIG_GLOBAL | |
f0983263 | 89 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 90 | #else |
f0983263 | 91 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
92 | #endif |
93 | ||
d14a1e28 RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
97 | ||
98 | typedef void *(*swig_converter_func)(void *); | |
99 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
100 | ||
101 | typedef struct swig_type_info { | |
f0983263 | 102 | const char *name; |
d14a1e28 RD |
103 | swig_converter_func converter; |
104 | const char *str; | |
f0983263 | 105 | void *clientdata; |
d14a1e28 RD |
106 | swig_dycast_func dcast; |
107 | struct swig_type_info *next; | |
108 | struct swig_type_info *prev; | |
109 | } swig_type_info; | |
110 | ||
111 | ||
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
114 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
116 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
c32bde28 | 117 | SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *); |
d14a1e28 RD |
118 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); |
119 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
f0983263 RD |
120 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
121 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
122 | |
123 | ||
124 | #ifdef __cplusplus | |
125 | } | |
126 | #endif | |
127 | ||
c32bde28 | 128 | |
d14a1e28 RD |
129 | /*********************************************************************** |
130 | * pyrun.swg for wxPython | |
131 | * | |
132 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
133 | * but not the runtime functions themselves. This helps keep the | |
134 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
135 | * anyway. | |
136 | * | |
137 | ************************************************************************/ | |
138 | ||
d14a1e28 RD |
139 | #ifdef __cplusplus |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | #define SWIG_PY_INT 1 | |
144 | #define SWIG_PY_FLOAT 2 | |
145 | #define SWIG_PY_STRING 3 | |
146 | #define SWIG_PY_POINTER 4 | |
147 | #define SWIG_PY_BINARY 5 | |
148 | ||
149 | /* Flags for pointer conversion */ | |
150 | ||
151 | #define SWIG_POINTER_EXCEPTION 0x1 | |
152 | #define SWIG_POINTER_DISOWN 0x2 | |
153 | ||
154 | /* Exception handling in wrappers */ | |
155 | #define SWIG_fail goto fail | |
156 | ||
157 | /* Constant information structure */ | |
158 | typedef struct swig_const_info { | |
159 | int type; | |
160 | char *name; | |
161 | long lvalue; | |
162 | double dvalue; | |
163 | void *pvalue; | |
164 | swig_type_info **ptype; | |
165 | } swig_const_info; | |
166 | ||
d14a1e28 RD |
167 | /* Common SWIG API */ |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
83448d71 | 174 | |
d14a1e28 RD |
175 | /* Python-specific SWIG API */ |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
182 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
183 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
184 | #define SWIG_InstallConstants(d, constants) \ | |
185 | SWIG_Python_InstallConstants(d, constants) | |
186 | ||
8edf1c75 | 187 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 188 | |
f0983263 RD |
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 197 | |
d14a1e28 RD |
198 | |
199 | /* Contract support */ | |
200 | ||
423f194a | 201 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 202 | |
d14a1e28 RD |
203 | #ifdef __cplusplus |
204 | } | |
205 | #endif | |
206 | ||
207 | ||
c32bde28 | 208 | |
d14a1e28 RD |
209 | /* -------- TYPES TABLE (BEGIN) -------- */ |
210 | ||
211 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0] | |
212 | #define SWIGTYPE_p_wxColour swig_types[1] | |
213 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2] | |
214 | #define SWIGTYPE_p_wxDC swig_types[3] | |
215 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4] | |
216 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5] | |
217 | #define SWIGTYPE_p_wxMouseEvent swig_types[6] | |
218 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[7] | |
f20a2e1f RD |
219 | #define SWIGTYPE_p_wxVisualAttributes swig_types[8] |
220 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[9] | |
221 | #define SWIGTYPE_p_char swig_types[10] | |
222 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[11] | |
223 | #define SWIGTYPE_p_wxHtmlParser swig_types[12] | |
224 | #define SWIGTYPE_p_wxPanel swig_types[13] | |
225 | #define SWIGTYPE_p_wxFont swig_types[14] | |
c32bde28 RD |
226 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15] |
227 | #define SWIGTYPE_p_wxScrolledWindow swig_types[16] | |
228 | #define SWIGTYPE_p_wxWindow swig_types[17] | |
229 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[18] | |
230 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[19] | |
f20a2e1f RD |
231 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[20] |
232 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21] | |
233 | #define SWIGTYPE_p_wxHtmlSelection swig_types[22] | |
234 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23] | |
235 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24] | |
236 | #define SWIGTYPE_p_wxObject swig_types[25] | |
237 | #define SWIGTYPE_p_wxString swig_types[26] | |
238 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27] | |
239 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28] | |
240 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29] | |
241 | #define SWIGTYPE_p_wxEvtHandler swig_types[30] | |
242 | #define SWIGTYPE_p_wxPoint swig_types[31] | |
243 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[32] | |
244 | #define SWIGTYPE_p_wxCursor swig_types[33] | |
245 | #define SWIGTYPE_p_wxFileSystem swig_types[34] | |
246 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35] | |
247 | #define SWIGTYPE_p_wxPyPrintout swig_types[36] | |
248 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[37] | |
249 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38] | |
250 | #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39] | |
251 | #define SWIGTYPE_p_wxConfigBase swig_types[40] | |
252 | #define SWIGTYPE_p_wxPrintData swig_types[41] | |
253 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42] | |
254 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43] | |
255 | #define SWIGTYPE_p_wxFrame swig_types[44] | |
256 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45] | |
257 | #define SWIGTYPE_p_wxHtmlFilter swig_types[46] | |
258 | #define SWIGTYPE_p_wxHtmlCell swig_types[47] | |
259 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48] | |
260 | #define SWIGTYPE_p_wxHtmlTag swig_types[49] | |
c32bde28 RD |
261 | #define SWIGTYPE_p_int swig_types[50] |
262 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51] | |
f20a2e1f RD |
263 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52] |
264 | static swig_type_info *swig_types[54]; | |
d14a1e28 RD |
265 | |
266 | /* -------- TYPES TABLE (END) -------- */ | |
267 | ||
268 | ||
269 | /*----------------------------------------------- | |
270 | @(target):= _html.so | |
271 | ------------------------------------------------*/ | |
272 | #define SWIG_init init_html | |
273 | ||
274 | #define SWIG_name "_html" | |
275 | ||
c32bde28 RD |
276 | /* Auxiliar swig macros that appear in the header */ |
277 | ||
278 | #define SWIG_OLDOBJ 1 | |
279 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
280 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
8edf1c75 | 281 | |
8edf1c75 | 282 | #ifdef __cplusplus |
2f4c0a16 | 283 | #define SWIGSTATICINLINE(a) static inline a |
8edf1c75 | 284 | #define SWIGSTATIC(a) static a |
c32bde28 RD |
285 | #define swig_new_array(size,Type) (new Type[(size)]) |
286 | #define swig_delete(cptr) delete cptr | |
2f4c0a16 | 287 | #define swig_delete_array(cptr) delete[] cptr |
c32bde28 RD |
288 | #define swig_const_cast(a,Type) const_cast<Type >(a) |
289 | #define swig_static_cast(a,Type) static_cast<Type >(a) | |
290 | #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) | |
291 | #define swig_new_copy(ptr,Type) (new Type(*ptr)) | |
292 | #define swig_numeric_cast(a,Type) static_cast<Type >(a) | |
8edf1c75 | 293 | |
2f4c0a16 RD |
294 | #else /* C case */ |
295 | ||
296 | #define SWIGSTATICINLINE(a) static a | |
297 | #define SWIGSTATIC(a) static a | |
c32bde28 RD |
298 | #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) |
299 | #define swig_delete(cptr) free((char*)cptr) | |
2f4c0a16 | 300 | #define swig_delete_array(cptr) free((char*)cptr) |
c32bde28 RD |
301 | #define swig_const_cast(a,Type) (Type)(a) |
302 | #define swig_static_cast(a,Type) (Type)(a) | |
303 | #define swig_reinterpret_cast(a,Type) (Type)(a) | |
304 | #define swig_numeric_cast(a,Type) (Type)(a) | |
305 | #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) | |
2f4c0a16 RD |
306 | |
307 | #endif /* __cplusplus */ | |
8edf1c75 RD |
308 | |
309 | ||
c32bde28 RD |
310 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ |
311 | #define SWIG_From_signed_SS_char PyInt_FromLong | |
312 | /*@@*/ | |
313 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
314 | #define SWIG_From_unsigned_SS_char PyInt_FromLong | |
315 | /*@@*/ | |
316 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
317 | #define SWIG_From_short PyInt_FromLong | |
318 | /*@@*/ | |
319 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
320 | #define SWIG_From_unsigned_SS_short PyInt_FromLong | |
321 | /*@@*/ | |
322 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
323 | #define SWIG_From_int PyInt_FromLong | |
324 | /*@@*/ | |
325 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
326 | #define SWIG_From_long PyInt_FromLong | |
327 | /*@@*/ | |
328 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
329 | #define SWIG_From_float PyFloat_FromDouble | |
330 | /*@@*/ | |
331 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ | |
332 | #define SWIG_From_double PyFloat_FromDouble | |
333 | /*@@*/ | |
8edf1c75 RD |
334 | |
335 | ||
d14a1e28 RD |
336 | #include "wx/wxPython/wxPython.h" |
337 | #include "wx/wxPython/pyclasses.h" | |
338 | #include "wx/wxPython/pyistream.h" | |
339 | #include "wx/wxPython/printfw.h" | |
340 | ||
341 | #include <wx/html/htmlwin.h> | |
342 | #include <wx/html/htmprint.h> | |
343 | #include <wx/html/helpctrl.h> | |
344 | ||
345 | ||
d03fd34d RD |
346 | static const wxString wxPyEmptyString(wxEmptyString); |
347 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
348 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
349 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
8edf1c75 | 350 | |
2f4c0a16 RD |
351 | #include <limits.h> |
352 | ||
353 | ||
c32bde28 RD |
354 | SWIGSTATICINLINE(int) |
355 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
356 | const char *errmsg) | |
2f4c0a16 | 357 | { |
c32bde28 RD |
358 | if (value < min_value) { |
359 | if (errmsg) { | |
360 | PyErr_Format(PyExc_OverflowError, | |
361 | "value %ld is less than '%s' minimum %ld", | |
362 | value, errmsg, min_value); | |
363 | } | |
364 | return 0; | |
365 | } else if (value > max_value) { | |
366 | if (errmsg) { | |
367 | PyErr_Format(PyExc_OverflowError, | |
368 | "value %ld is greater than '%s' maximum %ld", | |
369 | value, errmsg, max_value); | |
2f4c0a16 | 370 | } |
c32bde28 | 371 | return 0; |
2f4c0a16 | 372 | } |
c32bde28 | 373 | return 1; |
2f4c0a16 RD |
374 | } |
375 | ||
376 | ||
c32bde28 RD |
377 | // See my_fragments.i |
378 | SWIGSTATICINLINE(int) | |
379 | SWIG_AsVal_long(PyObject* obj, long* val) | |
2f4c0a16 | 380 | { |
c32bde28 RD |
381 | if (PyNumber_Check(obj)) { |
382 | if (val) *val = PyInt_AsLong(obj); | |
383 | return 1; | |
384 | } | |
69223c70 RD |
385 | else { |
386 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
387 | obj->ob_type->tp_name); | |
388 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
389 | Py_DECREF(errmsg); | |
69223c70 | 390 | } |
c32bde28 | 391 | return 0; |
2f4c0a16 RD |
392 | } |
393 | ||
394 | ||
395 | #if INT_MAX != LONG_MAX | |
396 | SWIGSTATICINLINE(int) | |
c32bde28 | 397 | SWIG_AsVal_int(PyObject *obj, int *val) |
8edf1c75 | 398 | { |
c32bde28 RD |
399 | const char* errmsg = val ? "int" : 0; |
400 | long v; | |
401 | if (SWIG_AsVal_long(obj, &v)) { | |
402 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
403 | if (val) *val = swig_numeric_cast(v, int); | |
404 | return 1; | |
405 | } else { | |
406 | return 0; | |
407 | } | |
408 | } else { | |
409 | PyErr_Clear(); | |
410 | } | |
411 | if (val) { | |
412 | PyErr_SetString(PyExc_TypeError, "an int is expected"); | |
413 | } | |
414 | return 0; | |
2f4c0a16 RD |
415 | } |
416 | #else | |
c32bde28 RD |
417 | SWIGSTATICINLINE(int) |
418 | SWIG_AsVal_int(PyObject *obj, int *val) | |
419 | { | |
420 | return SWIG_AsVal_long(obj,(long*)val); | |
421 | } | |
2f4c0a16 RD |
422 | #endif |
423 | ||
424 | ||
425 | SWIGSTATICINLINE(int) | |
c32bde28 | 426 | SWIG_As_int(PyObject* obj) |
2f4c0a16 | 427 | { |
c32bde28 RD |
428 | int v; |
429 | if (!SWIG_AsVal_int(obj, &v)) { | |
430 | /* | |
431 | this is needed to make valgrind/purify happier. the other | |
432 | solution is throw an exception, but since this code should work | |
433 | with plain C .... | |
434 | */ | |
435 | memset((void*)&v, 0, sizeof(int)); | |
2f4c0a16 | 436 | } |
c32bde28 RD |
437 | return v; |
438 | } | |
439 | ||
440 | ||
441 | SWIGSTATICINLINE(int) | |
442 | SWIG_Check_int(PyObject* obj) | |
443 | { | |
444 | return SWIG_AsVal_int(obj, (int*)0); | |
8edf1c75 RD |
445 | } |
446 | ||
d14a1e28 RD |
447 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ |
448 | int* temp = NULL; | |
449 | if (sizes) temp = int_LIST_helper(sizes); | |
450 | self->SetFonts(normal_face, fixed_face, temp); | |
451 | if (temp) | |
452 | delete [] temp; | |
453 | } | |
454 | ||
455 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
456 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
457 | public: | |
458 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
459 | ||
460 | wxHtmlParser* GetParser() { return m_Parser; } | |
461 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
462 | ||
463 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
464 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
465 | ||
466 | PYPRIVATE; | |
467 | }; | |
468 | ||
469 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
470 | ||
471 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
472 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
473 | ||
474 | ||
475 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
476 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
477 | public: | |
478 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
479 | ||
480 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
481 | void ParseInner(const wxHtmlTag& tag) | |
482 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
483 | ||
484 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
485 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
486 | ||
487 | PYPRIVATE; | |
488 | }; | |
489 | ||
490 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
491 | ||
492 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
493 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
494 | ||
495 | ||
496 | ||
497 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
498 | public: | |
499 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
500 | m_tagHandlerClass = thc; | |
501 | Py_INCREF(m_tagHandlerClass); | |
502 | RegisterModule(this); | |
503 | wxHtmlWinParser::AddModule(this); | |
504 | } | |
505 | ||
506 | void OnExit() { | |
4f89f6a3 | 507 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
508 | Py_DECREF(m_tagHandlerClass); |
509 | m_tagHandlerClass = NULL; | |
510 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
511 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
512 | Py_DECREF(obj); | |
513 | } | |
4f89f6a3 | 514 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
515 | }; |
516 | ||
517 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
518 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
519 | ||
520 | // First, make a new instance of the tag handler | |
4f89f6a3 | 521 | bool blocked = wxPyBeginBlockThreads(); |
fb757066 RD |
522 | PyObject* arg = PyTuple_New(0); |
523 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 524 | Py_DECREF(arg); |
fb757066 | 525 | |
d14a1e28 RD |
526 | // now figure out where it's C++ object is... |
527 | wxPyHtmlWinTagHandler* thPtr; | |
fb757066 | 528 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
4f89f6a3 | 529 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 530 | return; |
fb757066 | 531 | } |
4f89f6a3 | 532 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
533 | |
534 | // add it, | |
535 | parser->AddTagHandler(thPtr); | |
536 | ||
537 | // and track it. | |
538 | m_objArray.Add(obj); | |
539 | } | |
540 | ||
541 | private: | |
542 | PyObject* m_tagHandlerClass; | |
543 | wxArrayPtrVoid m_objArray; | |
544 | ||
545 | }; | |
546 | ||
547 | ||
548 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
549 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
550 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
551 | new wxPyHtmlTagsModule(tagHandlerClass); | |
552 | } | |
553 | ||
554 | ||
c32bde28 | 555 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
d14a1e28 RD |
556 | PyObject* o2; |
557 | PyObject* o3; | |
c32bde28 | 558 | |
d14a1e28 RD |
559 | if (!target) { |
560 | target = o; | |
561 | } else if (target == Py_None) { | |
562 | Py_DECREF(Py_None); | |
563 | target = o; | |
7e63a440 RD |
564 | } else { |
565 | if (!PyTuple_Check(target)) { | |
566 | o2 = target; | |
567 | target = PyTuple_New(1); | |
568 | PyTuple_SetItem(target, 0, o2); | |
569 | } | |
d14a1e28 RD |
570 | o3 = PyTuple_New(1); |
571 | PyTuple_SetItem(o3, 0, o); | |
572 | ||
573 | o2 = target; | |
574 | target = PySequence_Concat(o2, o3); | |
575 | Py_DECREF(o2); | |
576 | Py_DECREF(o3); | |
577 | } | |
578 | return target; | |
7e63a440 | 579 | } |
d14a1e28 | 580 | |
8edf1c75 | 581 | |
8edf1c75 | 582 | |
2f4c0a16 | 583 | SWIGSTATICINLINE(int) |
c32bde28 | 584 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
2f4c0a16 | 585 | { |
c32bde28 RD |
586 | /* if (val) *val = PyObject_IsTrue(obj); return 1; */ |
587 | if (obj == Py_True) { | |
588 | if (val) *val = true; | |
589 | return 1; | |
590 | } | |
591 | if (obj == Py_False) { | |
592 | if (val) *val = false; | |
593 | return 1; | |
594 | } | |
595 | int res = 0; | |
596 | if (SWIG_AsVal_int(obj, &res)) { | |
597 | if (val) *val = (bool)res; | |
2f4c0a16 RD |
598 | return 1; |
599 | } | |
c32bde28 RD |
600 | if (val) { |
601 | PyErr_SetString(PyExc_TypeError, "a bool is expected"); | |
602 | } | |
603 | return 0; | |
2f4c0a16 RD |
604 | } |
605 | ||
606 | ||
c32bde28 RD |
607 | SWIGSTATICINLINE(bool) |
608 | SWIG_As_bool(PyObject* obj) | |
2f4c0a16 | 609 | { |
c32bde28 RD |
610 | bool v; |
611 | if (!SWIG_AsVal_bool(obj, &v)) { | |
612 | /* | |
613 | this is needed to make valgrind/purify happier. the other | |
614 | solution is throw an exception, but since this code should work | |
615 | with plain C .... | |
616 | */ | |
617 | memset((void*)&v, 0, sizeof(bool)); | |
2f4c0a16 | 618 | } |
c32bde28 RD |
619 | return v; |
620 | } | |
621 | ||
622 | ||
623 | SWIGSTATICINLINE(int) | |
624 | SWIG_Check_bool(PyObject* obj) | |
625 | { | |
626 | return SWIG_AsVal_bool(obj, (bool*)0); | |
2f4c0a16 RD |
627 | } |
628 | ||
629 | ||
c32bde28 RD |
630 | SWIGSTATICINLINE(int) |
631 | SWIG_CheckUnsignedLongInRange(unsigned long value, | |
632 | unsigned long max_value, | |
633 | const char *errmsg) | |
2f4c0a16 | 634 | { |
c32bde28 RD |
635 | if (value > max_value) { |
636 | if (errmsg) { | |
637 | PyErr_Format(PyExc_OverflowError, | |
638 | "value %ld is greater than '%s' minimum %ld", | |
639 | value, errmsg, max_value); | |
2f4c0a16 | 640 | } |
c32bde28 | 641 | return 0; |
2f4c0a16 | 642 | } |
c32bde28 RD |
643 | return 1; |
644 | } | |
645 | ||
646 | ||
647 | // See my_fragments.i | |
648 | SWIGSTATICINLINE(int) | |
649 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) | |
650 | { | |
651 | long v = 0; | |
652 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
653 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
654 | return 0; | |
655 | } | |
656 | else if (val) | |
657 | *val = (unsigned long)v; | |
658 | return 1; | |
2f4c0a16 RD |
659 | } |
660 | ||
661 | ||
662 | #if UINT_MAX != ULONG_MAX | |
c32bde28 RD |
663 | SWIGSTATICINLINE(int) |
664 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) | |
8edf1c75 | 665 | { |
c32bde28 RD |
666 | const char* errmsg = val ? "unsigned int" : 0; |
667 | unsigned long v; | |
668 | if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
669 | if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { | |
670 | if (val) *val = swig_numeric_cast(v, unsigned int); | |
671 | return 1; | |
672 | } | |
673 | } else { | |
674 | PyErr_Clear(); | |
675 | } | |
676 | if (val) { | |
677 | PyErr_SetString(PyExc_TypeError, "an unsigned int is expected"); | |
678 | } | |
679 | return 0; | |
8edf1c75 | 680 | } |
2f4c0a16 | 681 | #else |
c32bde28 RD |
682 | SWIGSTATICINLINE(unsigned int) |
683 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) | |
684 | { | |
685 | return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); | |
686 | } | |
2f4c0a16 | 687 | #endif |
8edf1c75 RD |
688 | |
689 | ||
c32bde28 RD |
690 | SWIGSTATICINLINE(unsigned int) |
691 | SWIG_As_unsigned_SS_int(PyObject* obj) | |
8edf1c75 | 692 | { |
c32bde28 RD |
693 | unsigned int v; |
694 | if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) { | |
695 | /* | |
696 | this is needed to make valgrind/purify happier. the other | |
697 | solution is throw an exception, but since this code should work | |
698 | with plain C .... | |
699 | */ | |
700 | memset((void*)&v, 0, sizeof(unsigned int)); | |
2f4c0a16 | 701 | } |
c32bde28 RD |
702 | return v; |
703 | } | |
704 | ||
705 | ||
706 | SWIGSTATICINLINE(int) | |
707 | SWIG_Check_unsigned_SS_int(PyObject* obj) | |
708 | { | |
709 | return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); | |
2f4c0a16 RD |
710 | } |
711 | ||
712 | ||
713 | SWIGSTATICINLINE(PyObject* ) | |
c32bde28 | 714 | SWIG_From_unsigned_SS_long(unsigned long value) |
2f4c0a16 RD |
715 | { |
716 | return (value > LONG_MAX) ? | |
717 | PyLong_FromUnsignedLong(value) | |
c32bde28 | 718 | : PyInt_FromLong(swig_numeric_cast(value,long)); |
8edf1c75 RD |
719 | } |
720 | ||
721 | ||
2f4c0a16 | 722 | #if UINT_MAX < LONG_MAX |
c32bde28 RD |
723 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ |
724 | #define SWIG_From_unsigned_SS_int SWIG_From_long | |
725 | /*@@*/ | |
2f4c0a16 | 726 | #else |
c32bde28 RD |
727 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ |
728 | #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long | |
729 | /*@@*/ | |
2f4c0a16 | 730 | #endif |
8edf1c75 | 731 | |
d14a1e28 RD |
732 | // here's the C++ version |
733 | class wxPyHtmlFilter : public wxHtmlFilter { | |
734 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
735 | public: | |
736 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
737 | ||
423f194a | 738 | // returns True if this filter is able to open&read given file |
d14a1e28 | 739 | virtual bool CanRead(const wxFSFile& file) const { |
ae8162c8 | 740 | bool rval = false; |
d14a1e28 | 741 | bool found; |
4f89f6a3 | 742 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 743 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { |
412d302d | 744 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
745 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
746 | Py_DECREF(obj); | |
747 | } | |
4f89f6a3 | 748 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
749 | return rval; |
750 | } | |
751 | ||
752 | ||
753 | // Reads given file and returns HTML document. | |
754 | // Returns empty string if opening failed | |
755 | virtual wxString ReadFile(const wxFSFile& file) const { | |
756 | wxString rval; | |
757 | bool found; | |
4f89f6a3 | 758 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 | 759 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { |
412d302d | 760 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const |
d14a1e28 RD |
761 | PyObject* ro; |
762 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
763 | Py_DECREF(obj); | |
764 | if (ro) { | |
765 | rval = Py2wxString(ro); | |
766 | Py_DECREF(ro); | |
767 | } | |
768 | } | |
4f89f6a3 | 769 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
770 | return rval; |
771 | } | |
772 | ||
773 | PYPRIVATE; | |
774 | }; | |
775 | ||
776 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
777 | ||
778 | ||
779 | class wxPyHtmlWindow : public wxHtmlWindow { | |
780 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
781 | public: | |
782 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
783 | const wxPoint& pos = wxDefaultPosition, | |
784 | const wxSize& size = wxDefaultSize, | |
785 | long style = wxHW_DEFAULT_STYLE, | |
786 | const wxString& name = wxPyHtmlWindowNameStr) | |
787 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
788 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
789 | ||
790 | bool ScrollToAnchor(const wxString& anchor) { | |
791 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
792 | } | |
793 | ||
794 | bool HasAnchor(const wxString& anchor) { | |
795 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
796 | return c!=NULL; | |
797 | } | |
798 | ||
799 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
800 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
801 | ||
802 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
803 | const wxString& url, | |
804 | wxString *redirect) const; | |
805 | ||
806 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
807 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
808 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
809 | PYPRIVATE; | |
810 | }; | |
811 | ||
812 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
813 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
814 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
815 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
816 | ||
817 | ||
818 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
819 | bool found; | |
4f89f6a3 | 820 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
821 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
822 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
823 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
824 | Py_DECREF(obj); | |
825 | } | |
4f89f6a3 | 826 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
827 | if (! found) |
828 | wxHtmlWindow::OnLinkClicked(link); | |
829 | } | |
830 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
831 | wxHtmlWindow::OnLinkClicked(link); | |
832 | } | |
833 | ||
834 | ||
835 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
836 | const wxString& url, | |
837 | wxString *redirect) const { | |
838 | bool found; | |
839 | wxHtmlOpeningStatus rval; | |
4f89f6a3 | 840 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
841 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { |
842 | PyObject* ro; | |
843 | PyObject* s = wx2PyString(url); | |
844 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
845 | Py_DECREF(s); | |
846 | if (PyString_Check(ro) | |
847 | #if PYTHON_API_VERSION >= 1009 | |
848 | || PyUnicode_Check(ro) | |
849 | #endif | |
850 | ) { | |
851 | *redirect = Py2wxString(ro); | |
852 | rval = wxHTML_REDIRECT; | |
853 | } | |
854 | else { | |
855 | PyObject* num = PyNumber_Int(ro); | |
856 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
857 | Py_DECREF(num); | |
858 | } | |
859 | Py_DECREF(ro); | |
860 | } | |
4f89f6a3 | 861 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
862 | if (! found) |
863 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
864 | return rval; | |
865 | } | |
866 | ||
867 | ||
868 | ||
869 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
870 | int* temp = NULL; | |
871 | if (sizes) temp = int_LIST_helper(sizes); | |
872 | self->SetFonts(normal_face, fixed_face, temp); | |
873 | if (temp) | |
874 | delete [] temp; | |
875 | } | |
876 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
877 | int* temp = NULL; | |
878 | if (sizes) temp = int_LIST_helper(sizes); | |
879 | self->SetFonts(normal_face, fixed_face, temp); | |
880 | if (temp) | |
881 | delete [] temp; | |
882 | } | |
883 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
884 | int* temp = NULL; | |
885 | if (sizes) temp = int_LIST_helper(sizes); | |
886 | self->SetFonts(normal_face, fixed_face, temp); | |
887 | if (temp) | |
888 | delete [] temp; | |
889 | } | |
8edf1c75 | 890 | |
2f4c0a16 | 891 | #include <float.h> |
c32bde28 RD |
892 | SWIGSTATICINLINE(int) |
893 | SWIG_CheckDoubleInRange(double value, double min_value, | |
894 | double max_value, const char* errmsg) | |
2f4c0a16 | 895 | { |
c32bde28 RD |
896 | if (value < min_value) { |
897 | if (errmsg) { | |
898 | PyErr_Format(PyExc_OverflowError, | |
899 | "value %g is less than %s minimum %g", | |
900 | value, errmsg, min_value); | |
2f4c0a16 | 901 | } |
c32bde28 RD |
902 | return 0; |
903 | } else if (value > max_value) { | |
904 | if (errmsg) { | |
905 | PyErr_Format(PyExc_OverflowError, | |
906 | "value %g is greater than %s maximum %g", | |
907 | value, errmsg, max_value); | |
908 | } | |
909 | return 0; | |
2f4c0a16 | 910 | } |
c32bde28 | 911 | return 1; |
2f4c0a16 RD |
912 | } |
913 | ||
914 | ||
c32bde28 RD |
915 | // See my_fragments.i |
916 | SWIGSTATICINLINE(int) | |
917 | SWIG_AsVal_double(PyObject *obj, double* val) | |
8edf1c75 | 918 | { |
c32bde28 RD |
919 | if (PyNumber_Check(obj)) { |
920 | if (val) *val = PyFloat_AsDouble(obj); | |
921 | return 1; | |
922 | } | |
69223c70 RD |
923 | else { |
924 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
925 | obj->ob_type->tp_name); | |
926 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
927 | Py_DECREF(errmsg); | |
69223c70 | 928 | } |
c32bde28 RD |
929 | return 0; |
930 | } | |
931 | ||
932 | ||
933 | SWIGSTATICINLINE(int) | |
934 | SWIG_AsVal_float(PyObject *obj, float *val) | |
935 | { | |
936 | const char* errmsg = val ? "float" : 0; | |
937 | double v; | |
938 | if (SWIG_AsVal_double(obj, &v)) { | |
939 | if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { | |
940 | if (val) *val = v; | |
941 | return 1; | |
942 | } else { | |
943 | return 0; | |
944 | } | |
945 | } else { | |
946 | PyErr_Clear(); | |
947 | } | |
948 | if (val) { | |
949 | PyErr_SetString(PyExc_TypeError, "a float is expected"); | |
950 | } | |
951 | return 0; | |
8edf1c75 RD |
952 | } |
953 | ||
954 | ||
2f4c0a16 | 955 | SWIGSTATICINLINE(float) |
c32bde28 | 956 | SWIG_As_float(PyObject* obj) |
8edf1c75 | 957 | { |
c32bde28 RD |
958 | float v; |
959 | if (!SWIG_AsVal_float(obj, &v)) { | |
960 | /* | |
961 | this is needed to make valgrind/purify happier. the other | |
962 | solution is throw an exception, but since this code should work | |
963 | with plain C .... | |
964 | */ | |
965 | memset((void*)&v, 0, sizeof(float)); | |
966 | } | |
967 | return v; | |
2f4c0a16 RD |
968 | } |
969 | ||
c32bde28 | 970 | |
2f4c0a16 | 971 | SWIGSTATICINLINE(int) |
c32bde28 | 972 | SWIG_Check_float(PyObject* obj) |
2f4c0a16 | 973 | { |
c32bde28 | 974 | return SWIG_AsVal_float(obj, (float*)0); |
8edf1c75 RD |
975 | } |
976 | ||
d14a1e28 RD |
977 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ |
978 | int* temp = NULL; | |
979 | if (sizes) temp = int_LIST_helper(sizes); | |
980 | self->SetFonts(normal_face, fixed_face, temp); | |
981 | if (temp) | |
982 | delete [] temp; | |
983 | } | |
984 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
985 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
986 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
987 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
988 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
989 | #ifdef __cplusplus | |
990 | extern "C" { | |
991 | #endif | |
c32bde28 | 992 | static int _wrap_HtmlWindowNameStr_set(PyObject *) { |
d03fd34d RD |
993 | PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only."); |
994 | return 1; | |
995 | } | |
996 | ||
997 | ||
998 | static PyObject *_wrap_HtmlWindowNameStr_get() { | |
999 | PyObject *pyobj; | |
1000 | ||
1001 | { | |
1002 | #if wxUSE_UNICODE | |
1003 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
1004 | #else | |
1005 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
1006 | #endif | |
1007 | } | |
1008 | return pyobj; | |
1009 | } | |
1010 | ||
1011 | ||
c32bde28 | 1012 | static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) { |
d03fd34d RD |
1013 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only."); |
1014 | return 1; | |
1015 | } | |
1016 | ||
1017 | ||
1018 | static PyObject *_wrap_HtmlPrintoutTitleStr_get() { | |
1019 | PyObject *pyobj; | |
1020 | ||
1021 | { | |
1022 | #if wxUSE_UNICODE | |
1023 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
1024 | #else | |
1025 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
1026 | #endif | |
1027 | } | |
1028 | return pyobj; | |
1029 | } | |
1030 | ||
1031 | ||
c32bde28 | 1032 | static int _wrap_HtmlPrintingTitleStr_set(PyObject *) { |
d03fd34d RD |
1033 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only."); |
1034 | return 1; | |
1035 | } | |
1036 | ||
1037 | ||
1038 | static PyObject *_wrap_HtmlPrintingTitleStr_get() { | |
1039 | PyObject *pyobj; | |
1040 | ||
1041 | { | |
1042 | #if wxUSE_UNICODE | |
1043 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
1044 | #else | |
1045 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
1046 | #endif | |
1047 | } | |
1048 | return pyobj; | |
1049 | } | |
1050 | ||
1051 | ||
c32bde28 | 1052 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1053 | PyObject *resultobj; |
1054 | wxString *arg1 = 0 ; | |
1055 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
1056 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
1057 | wxHtmlLinkInfo *result; | |
ae8162c8 RD |
1058 | bool temp1 = false ; |
1059 | bool temp2 = false ; | |
d14a1e28 RD |
1060 | PyObject * obj0 = 0 ; |
1061 | PyObject * obj1 = 0 ; | |
1062 | char *kwnames[] = { | |
1063 | (char *) "href",(char *) "target", NULL | |
1064 | }; | |
1065 | ||
1066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
1067 | { | |
1068 | arg1 = wxString_in_helper(obj0); | |
1069 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 1070 | temp1 = true; |
d14a1e28 RD |
1071 | } |
1072 | if (obj1) { | |
1073 | { | |
1074 | arg2 = wxString_in_helper(obj1); | |
1075 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 1076 | temp2 = true; |
d14a1e28 RD |
1077 | } |
1078 | } | |
1079 | { | |
1080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1081 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
1082 | ||
1083 | wxPyEndAllowThreads(__tstate); | |
1084 | if (PyErr_Occurred()) SWIG_fail; | |
1085 | } | |
2f4c0a16 | 1086 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1); |
d14a1e28 RD |
1087 | { |
1088 | if (temp1) | |
1089 | delete arg1; | |
1090 | } | |
1091 | { | |
1092 | if (temp2) | |
1093 | delete arg2; | |
1094 | } | |
1095 | return resultobj; | |
1096 | fail: | |
1097 | { | |
1098 | if (temp1) | |
1099 | delete arg1; | |
1100 | } | |
1101 | { | |
1102 | if (temp2) | |
1103 | delete arg2; | |
1104 | } | |
1105 | return NULL; | |
1106 | } | |
1107 | ||
1108 | ||
c32bde28 | 1109 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1110 | PyObject *resultobj; |
1111 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1112 | wxString result; | |
1113 | PyObject * obj0 = 0 ; | |
1114 | char *kwnames[] = { | |
1115 | (char *) "self", NULL | |
1116 | }; | |
1117 | ||
1118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, |
1120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1121 | { |
1122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1123 | result = (arg1)->GetHref(); | |
1124 | ||
1125 | wxPyEndAllowThreads(__tstate); | |
1126 | if (PyErr_Occurred()) SWIG_fail; | |
1127 | } | |
1128 | { | |
1129 | #if wxUSE_UNICODE | |
1130 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1131 | #else | |
1132 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1133 | #endif | |
1134 | } | |
1135 | return resultobj; | |
1136 | fail: | |
1137 | return NULL; | |
1138 | } | |
1139 | ||
1140 | ||
c32bde28 | 1141 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1142 | PyObject *resultobj; |
1143 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1144 | wxString result; | |
1145 | PyObject * obj0 = 0 ; | |
1146 | char *kwnames[] = { | |
1147 | (char *) "self", NULL | |
1148 | }; | |
1149 | ||
1150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, |
1152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1153 | { |
1154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1155 | result = (arg1)->GetTarget(); | |
1156 | ||
1157 | wxPyEndAllowThreads(__tstate); | |
1158 | if (PyErr_Occurred()) SWIG_fail; | |
1159 | } | |
1160 | { | |
1161 | #if wxUSE_UNICODE | |
1162 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1163 | #else | |
1164 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1165 | #endif | |
1166 | } | |
1167 | return resultobj; | |
1168 | fail: | |
1169 | return NULL; | |
1170 | } | |
1171 | ||
1172 | ||
c32bde28 | 1173 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1174 | PyObject *resultobj; |
1175 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1176 | wxMouseEvent *result; | |
1177 | PyObject * obj0 = 0 ; | |
1178 | char *kwnames[] = { | |
1179 | (char *) "self", NULL | |
1180 | }; | |
1181 | ||
1182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, |
1184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1185 | { |
1186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1187 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
1188 | ||
1189 | wxPyEndAllowThreads(__tstate); | |
1190 | if (PyErr_Occurred()) SWIG_fail; | |
1191 | } | |
1192 | { | |
412d302d | 1193 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
1194 | } |
1195 | return resultobj; | |
1196 | fail: | |
1197 | return NULL; | |
1198 | } | |
1199 | ||
1200 | ||
c32bde28 | 1201 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1202 | PyObject *resultobj; |
1203 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1204 | wxHtmlCell *result; | |
1205 | PyObject * obj0 = 0 ; | |
1206 | char *kwnames[] = { | |
1207 | (char *) "self", NULL | |
1208 | }; | |
1209 | ||
1210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, |
1212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1213 | { |
1214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1215 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
1216 | ||
1217 | wxPyEndAllowThreads(__tstate); | |
1218 | if (PyErr_Occurred()) SWIG_fail; | |
1219 | } | |
2f4c0a16 | 1220 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
1221 | return resultobj; |
1222 | fail: | |
1223 | return NULL; | |
1224 | } | |
1225 | ||
1226 | ||
c32bde28 | 1227 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1228 | PyObject *resultobj; |
1229 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1230 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
1231 | PyObject * obj0 = 0 ; | |
1232 | PyObject * obj1 = 0 ; | |
1233 | char *kwnames[] = { | |
1234 | (char *) "self",(char *) "e", NULL | |
1235 | }; | |
1236 | ||
1237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, |
1239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1240 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent, | |
1241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1242 | { |
1243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1244 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
1245 | ||
1246 | wxPyEndAllowThreads(__tstate); | |
1247 | if (PyErr_Occurred()) SWIG_fail; | |
1248 | } | |
1249 | Py_INCREF(Py_None); resultobj = Py_None; | |
1250 | return resultobj; | |
1251 | fail: | |
1252 | return NULL; | |
1253 | } | |
1254 | ||
1255 | ||
c32bde28 | 1256 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1257 | PyObject *resultobj; |
1258 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1259 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
1260 | PyObject * obj0 = 0 ; | |
1261 | PyObject * obj1 = 0 ; | |
1262 | char *kwnames[] = { | |
1263 | (char *) "self",(char *) "e", NULL | |
1264 | }; | |
1265 | ||
1266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, |
1268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1269 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
1270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1271 | { |
1272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1273 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
1274 | ||
1275 | wxPyEndAllowThreads(__tstate); | |
1276 | if (PyErr_Occurred()) SWIG_fail; | |
1277 | } | |
1278 | Py_INCREF(Py_None); resultobj = Py_None; | |
1279 | return resultobj; | |
1280 | fail: | |
1281 | return NULL; | |
1282 | } | |
1283 | ||
1284 | ||
c32bde28 | 1285 | static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
1286 | PyObject *obj; |
1287 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1288 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
1289 | Py_INCREF(obj); | |
1290 | return Py_BuildValue((char *)""); | |
1291 | } | |
c32bde28 | 1292 | static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1293 | PyObject *resultobj; |
1294 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1295 | wxString result; | |
1296 | PyObject * obj0 = 0 ; | |
1297 | char *kwnames[] = { | |
1298 | (char *) "self", NULL | |
1299 | }; | |
1300 | ||
1301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1304 | { |
1305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1306 | result = (arg1)->GetName(); | |
1307 | ||
1308 | wxPyEndAllowThreads(__tstate); | |
1309 | if (PyErr_Occurred()) SWIG_fail; | |
1310 | } | |
1311 | { | |
1312 | #if wxUSE_UNICODE | |
1313 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1314 | #else | |
1315 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1316 | #endif | |
1317 | } | |
1318 | return resultobj; | |
1319 | fail: | |
1320 | return NULL; | |
1321 | } | |
1322 | ||
1323 | ||
c32bde28 | 1324 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1325 | PyObject *resultobj; |
1326 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1327 | wxString *arg2 = 0 ; | |
1328 | bool result; | |
ae8162c8 | 1329 | bool temp2 = false ; |
d14a1e28 RD |
1330 | PyObject * obj0 = 0 ; |
1331 | PyObject * obj1 = 0 ; | |
1332 | char *kwnames[] = { | |
1333 | (char *) "self",(char *) "par", NULL | |
1334 | }; | |
1335 | ||
1336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1339 | { |
1340 | arg2 = wxString_in_helper(obj1); | |
1341 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 1342 | temp2 = true; |
d14a1e28 RD |
1343 | } |
1344 | { | |
1345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1346 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
1347 | ||
1348 | wxPyEndAllowThreads(__tstate); | |
1349 | if (PyErr_Occurred()) SWIG_fail; | |
1350 | } | |
4f89f6a3 RD |
1351 | { |
1352 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1353 | } | |
d14a1e28 RD |
1354 | { |
1355 | if (temp2) | |
1356 | delete arg2; | |
1357 | } | |
1358 | return resultobj; | |
1359 | fail: | |
1360 | { | |
1361 | if (temp2) | |
1362 | delete arg2; | |
1363 | } | |
1364 | return NULL; | |
1365 | } | |
1366 | ||
1367 | ||
c32bde28 | 1368 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1369 | PyObject *resultobj; |
1370 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1371 | wxString *arg2 = 0 ; | |
ae8162c8 | 1372 | int arg3 = (int) false ; |
d14a1e28 | 1373 | wxString result; |
ae8162c8 | 1374 | bool temp2 = false ; |
d14a1e28 RD |
1375 | PyObject * obj0 = 0 ; |
1376 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1377 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1378 | char *kwnames[] = { |
1379 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
1380 | }; | |
1381 | ||
8edf1c75 | 1382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1385 | { |
1386 | arg2 = wxString_in_helper(obj1); | |
1387 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 1388 | temp2 = true; |
d14a1e28 | 1389 | } |
8edf1c75 | 1390 | if (obj2) { |
c32bde28 | 1391 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 1392 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 1393 | } |
d14a1e28 RD |
1394 | { |
1395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1396 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
1397 | ||
1398 | wxPyEndAllowThreads(__tstate); | |
1399 | if (PyErr_Occurred()) SWIG_fail; | |
1400 | } | |
1401 | { | |
1402 | #if wxUSE_UNICODE | |
1403 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1404 | #else | |
1405 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1406 | #endif | |
1407 | } | |
1408 | { | |
1409 | if (temp2) | |
1410 | delete arg2; | |
1411 | } | |
1412 | return resultobj; | |
1413 | fail: | |
1414 | { | |
1415 | if (temp2) | |
1416 | delete arg2; | |
1417 | } | |
1418 | return NULL; | |
1419 | } | |
1420 | ||
1421 | ||
c32bde28 | 1422 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1423 | PyObject *resultobj; |
1424 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1425 | wxString result; | |
1426 | PyObject * obj0 = 0 ; | |
1427 | char *kwnames[] = { | |
1428 | (char *) "self", NULL | |
1429 | }; | |
1430 | ||
1431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1434 | { |
1435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1436 | result = (arg1)->GetAllParams(); | |
1437 | ||
1438 | wxPyEndAllowThreads(__tstate); | |
1439 | if (PyErr_Occurred()) SWIG_fail; | |
1440 | } | |
1441 | { | |
1442 | #if wxUSE_UNICODE | |
1443 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1444 | #else | |
1445 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1446 | #endif | |
1447 | } | |
1448 | return resultobj; | |
1449 | fail: | |
1450 | return NULL; | |
1451 | } | |
1452 | ||
1453 | ||
c32bde28 | 1454 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1455 | PyObject *resultobj; |
1456 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1457 | bool result; | |
1458 | PyObject * obj0 = 0 ; | |
1459 | char *kwnames[] = { | |
1460 | (char *) "self", NULL | |
1461 | }; | |
1462 | ||
1463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1466 | { |
1467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1468 | result = (bool)(arg1)->HasEnding(); | |
1469 | ||
1470 | wxPyEndAllowThreads(__tstate); | |
1471 | if (PyErr_Occurred()) SWIG_fail; | |
1472 | } | |
4f89f6a3 RD |
1473 | { |
1474 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1475 | } | |
d14a1e28 RD |
1476 | return resultobj; |
1477 | fail: | |
1478 | return NULL; | |
1479 | } | |
1480 | ||
1481 | ||
c32bde28 | 1482 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1483 | PyObject *resultobj; |
1484 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1485 | int result; | |
1486 | PyObject * obj0 = 0 ; | |
1487 | char *kwnames[] = { | |
1488 | (char *) "self", NULL | |
1489 | }; | |
1490 | ||
1491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1494 | { |
1495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1496 | result = (int)(arg1)->GetBeginPos(); | |
1497 | ||
1498 | wxPyEndAllowThreads(__tstate); | |
1499 | if (PyErr_Occurred()) SWIG_fail; | |
1500 | } | |
c32bde28 | 1501 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1502 | return resultobj; |
1503 | fail: | |
1504 | return NULL; | |
1505 | } | |
1506 | ||
1507 | ||
c32bde28 | 1508 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1509 | PyObject *resultobj; |
1510 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1511 | int result; | |
1512 | PyObject * obj0 = 0 ; | |
1513 | char *kwnames[] = { | |
1514 | (char *) "self", NULL | |
1515 | }; | |
1516 | ||
1517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1518 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1519 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1520 | { |
1521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1522 | result = (int)(arg1)->GetEndPos1(); | |
1523 | ||
1524 | wxPyEndAllowThreads(__tstate); | |
1525 | if (PyErr_Occurred()) SWIG_fail; | |
1526 | } | |
c32bde28 | 1527 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1528 | return resultobj; |
1529 | fail: | |
1530 | return NULL; | |
1531 | } | |
1532 | ||
1533 | ||
c32bde28 | 1534 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1535 | PyObject *resultobj; |
1536 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1537 | int result; | |
1538 | PyObject * obj0 = 0 ; | |
1539 | char *kwnames[] = { | |
1540 | (char *) "self", NULL | |
1541 | }; | |
1542 | ||
1543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, |
1545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1546 | { |
1547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1548 | result = (int)(arg1)->GetEndPos2(); | |
1549 | ||
1550 | wxPyEndAllowThreads(__tstate); | |
1551 | if (PyErr_Occurred()) SWIG_fail; | |
1552 | } | |
c32bde28 | 1553 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1554 | return resultobj; |
1555 | fail: | |
1556 | return NULL; | |
1557 | } | |
1558 | ||
1559 | ||
c32bde28 | 1560 | static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
1561 | PyObject *obj; |
1562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1563 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1564 | Py_INCREF(obj); | |
1565 | return Py_BuildValue((char *)""); | |
1566 | } | |
c32bde28 | 1567 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1568 | PyObject *resultobj; |
1569 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1570 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1571 | PyObject * obj0 = 0 ; | |
1572 | PyObject * obj1 = 0 ; | |
1573 | char *kwnames[] = { | |
1574 | (char *) "self",(char *) "fs", NULL | |
1575 | }; | |
1576 | ||
1577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1580 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem, | |
1581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1582 | { |
1583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1584 | (arg1)->SetFS(arg2); | |
1585 | ||
1586 | wxPyEndAllowThreads(__tstate); | |
1587 | if (PyErr_Occurred()) SWIG_fail; | |
1588 | } | |
1589 | Py_INCREF(Py_None); resultobj = Py_None; | |
1590 | return resultobj; | |
1591 | fail: | |
1592 | return NULL; | |
1593 | } | |
1594 | ||
1595 | ||
c32bde28 | 1596 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1597 | PyObject *resultobj; |
1598 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1599 | wxFileSystem *result; | |
1600 | PyObject * obj0 = 0 ; | |
1601 | char *kwnames[] = { | |
1602 | (char *) "self", NULL | |
1603 | }; | |
1604 | ||
1605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1608 | { |
1609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1610 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1611 | ||
1612 | wxPyEndAllowThreads(__tstate); | |
1613 | if (PyErr_Occurred()) SWIG_fail; | |
1614 | } | |
1615 | { | |
412d302d | 1616 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
1617 | } |
1618 | return resultobj; | |
1619 | fail: | |
1620 | return NULL; | |
1621 | } | |
1622 | ||
1623 | ||
c32bde28 | 1624 | static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1625 | PyObject *resultobj; |
1626 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1627 | wxString *arg2 = 0 ; | |
1628 | wxObject *result; | |
ae8162c8 | 1629 | bool temp2 = false ; |
d14a1e28 RD |
1630 | PyObject * obj0 = 0 ; |
1631 | PyObject * obj1 = 0 ; | |
1632 | char *kwnames[] = { | |
1633 | (char *) "self",(char *) "source", NULL | |
1634 | }; | |
1635 | ||
1636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1639 | { |
1640 | arg2 = wxString_in_helper(obj1); | |
1641 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 1642 | temp2 = true; |
d14a1e28 RD |
1643 | } |
1644 | { | |
1645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1646 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1647 | ||
1648 | wxPyEndAllowThreads(__tstate); | |
1649 | if (PyErr_Occurred()) SWIG_fail; | |
1650 | } | |
1651 | { | |
412d302d | 1652 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
1653 | } |
1654 | { | |
1655 | if (temp2) | |
1656 | delete arg2; | |
1657 | } | |
1658 | return resultobj; | |
1659 | fail: | |
1660 | { | |
1661 | if (temp2) | |
1662 | delete arg2; | |
1663 | } | |
1664 | return NULL; | |
1665 | } | |
1666 | ||
1667 | ||
c32bde28 | 1668 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1669 | PyObject *resultobj; |
1670 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1671 | wxString *arg2 = 0 ; | |
ae8162c8 | 1672 | bool temp2 = false ; |
d14a1e28 RD |
1673 | PyObject * obj0 = 0 ; |
1674 | PyObject * obj1 = 0 ; | |
1675 | char *kwnames[] = { | |
1676 | (char *) "self",(char *) "source", NULL | |
1677 | }; | |
1678 | ||
1679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1682 | { |
1683 | arg2 = wxString_in_helper(obj1); | |
1684 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 1685 | temp2 = true; |
d14a1e28 RD |
1686 | } |
1687 | { | |
1688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1689 | (arg1)->InitParser((wxString const &)*arg2); | |
1690 | ||
1691 | wxPyEndAllowThreads(__tstate); | |
1692 | if (PyErr_Occurred()) SWIG_fail; | |
1693 | } | |
1694 | Py_INCREF(Py_None); resultobj = Py_None; | |
1695 | { | |
1696 | if (temp2) | |
1697 | delete arg2; | |
1698 | } | |
1699 | return resultobj; | |
1700 | fail: | |
1701 | { | |
1702 | if (temp2) | |
1703 | delete arg2; | |
1704 | } | |
1705 | return NULL; | |
1706 | } | |
1707 | ||
1708 | ||
c32bde28 | 1709 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1710 | PyObject *resultobj; |
1711 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1712 | PyObject * obj0 = 0 ; | |
1713 | char *kwnames[] = { | |
1714 | (char *) "self", NULL | |
1715 | }; | |
1716 | ||
1717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1720 | { |
1721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1722 | (arg1)->DoneParser(); | |
1723 | ||
1724 | wxPyEndAllowThreads(__tstate); | |
1725 | if (PyErr_Occurred()) SWIG_fail; | |
1726 | } | |
1727 | Py_INCREF(Py_None); resultobj = Py_None; | |
1728 | return resultobj; | |
1729 | fail: | |
1730 | return NULL; | |
1731 | } | |
1732 | ||
1733 | ||
c32bde28 | 1734 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1735 | PyObject *resultobj; |
1736 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1737 | int arg2 ; | |
1738 | int arg3 ; | |
1739 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1740 | PyObject * obj1 = 0 ; |
1741 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1742 | char *kwnames[] = { |
1743 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1744 | }; | |
1745 | ||
8edf1c75 | 1746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 1749 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 1750 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1751 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 1752 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1753 | { |
1754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1755 | (arg1)->DoParsing(arg2,arg3); | |
1756 | ||
1757 | wxPyEndAllowThreads(__tstate); | |
1758 | if (PyErr_Occurred()) SWIG_fail; | |
1759 | } | |
1760 | Py_INCREF(Py_None); resultobj = Py_None; | |
1761 | return resultobj; | |
1762 | fail: | |
1763 | return NULL; | |
1764 | } | |
1765 | ||
1766 | ||
c32bde28 | 1767 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1768 | PyObject *resultobj; |
1769 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1770 | PyObject * obj0 = 0 ; | |
1771 | char *kwnames[] = { | |
1772 | (char *) "self", NULL | |
1773 | }; | |
1774 | ||
1775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1778 | { |
1779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1780 | (arg1)->StopParsing(); | |
1781 | ||
1782 | wxPyEndAllowThreads(__tstate); | |
1783 | if (PyErr_Occurred()) SWIG_fail; | |
1784 | } | |
1785 | Py_INCREF(Py_None); resultobj = Py_None; | |
1786 | return resultobj; | |
1787 | fail: | |
1788 | return NULL; | |
1789 | } | |
1790 | ||
1791 | ||
c32bde28 | 1792 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1793 | PyObject *resultobj; |
1794 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1795 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1796 | PyObject * obj0 = 0 ; | |
1797 | PyObject * obj1 = 0 ; | |
1798 | char *kwnames[] = { | |
1799 | (char *) "self",(char *) "handler", NULL | |
1800 | }; | |
1801 | ||
1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1805 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler, | |
1806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1807 | { |
1808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1809 | (arg1)->AddTagHandler(arg2); | |
1810 | ||
1811 | wxPyEndAllowThreads(__tstate); | |
1812 | if (PyErr_Occurred()) SWIG_fail; | |
1813 | } | |
1814 | Py_INCREF(Py_None); resultobj = Py_None; | |
1815 | return resultobj; | |
1816 | fail: | |
1817 | return NULL; | |
1818 | } | |
1819 | ||
1820 | ||
c32bde28 | 1821 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1822 | PyObject *resultobj; |
1823 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1824 | wxString *result; | |
1825 | PyObject * obj0 = 0 ; | |
1826 | char *kwnames[] = { | |
1827 | (char *) "self", NULL | |
1828 | }; | |
1829 | ||
1830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1833 | { |
1834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1835 | result = (wxString *)(arg1)->GetSource(); | |
1836 | ||
1837 | wxPyEndAllowThreads(__tstate); | |
1838 | if (PyErr_Occurred()) SWIG_fail; | |
1839 | } | |
1840 | { | |
1841 | #if wxUSE_UNICODE | |
1842 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1843 | #else | |
1844 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1845 | #endif | |
1846 | } | |
1847 | return resultobj; | |
1848 | fail: | |
1849 | return NULL; | |
1850 | } | |
1851 | ||
1852 | ||
c32bde28 | 1853 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1854 | PyObject *resultobj; |
1855 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1856 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1857 | wxString arg3 ; | |
d14a1e28 RD |
1858 | PyObject * obj0 = 0 ; |
1859 | PyObject * obj1 = 0 ; | |
1860 | PyObject * obj2 = 0 ; | |
1861 | char *kwnames[] = { | |
1862 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1863 | }; | |
1864 | ||
1865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
1866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1868 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler, | |
1869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
1870 | { |
1871 | wxString* sptr = wxString_in_helper(obj2); | |
1872 | if (sptr == NULL) SWIG_fail; | |
1873 | arg3 = *sptr; | |
1874 | delete sptr; | |
1875 | } | |
d14a1e28 RD |
1876 | { |
1877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1878 | (arg1)->PushTagHandler(arg2,arg3); | |
1879 | ||
1880 | wxPyEndAllowThreads(__tstate); | |
1881 | if (PyErr_Occurred()) SWIG_fail; | |
1882 | } | |
1883 | Py_INCREF(Py_None); resultobj = Py_None; | |
1884 | return resultobj; | |
1885 | fail: | |
1886 | return NULL; | |
1887 | } | |
1888 | ||
1889 | ||
c32bde28 | 1890 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1891 | PyObject *resultobj; |
1892 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1893 | PyObject * obj0 = 0 ; | |
1894 | char *kwnames[] = { | |
1895 | (char *) "self", NULL | |
1896 | }; | |
1897 | ||
1898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, |
1900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1901 | { |
1902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1903 | (arg1)->PopTagHandler(); | |
1904 | ||
1905 | wxPyEndAllowThreads(__tstate); | |
1906 | if (PyErr_Occurred()) SWIG_fail; | |
1907 | } | |
1908 | Py_INCREF(Py_None); resultobj = Py_None; | |
1909 | return resultobj; | |
1910 | fail: | |
1911 | return NULL; | |
1912 | } | |
1913 | ||
1914 | ||
c32bde28 | 1915 | static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
1916 | PyObject *obj; |
1917 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1918 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1919 | Py_INCREF(obj); | |
1920 | return Py_BuildValue((char *)""); | |
1921 | } | |
c32bde28 | 1922 | static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1923 | PyObject *resultobj; |
1924 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1925 | wxHtmlWinParser *result; | |
1926 | PyObject * obj0 = 0 ; | |
1927 | char *kwnames[] = { | |
1928 | (char *) "wnd", NULL | |
1929 | }; | |
1930 | ||
1931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1932 | if (obj0) { | |
2f4c0a16 RD |
1933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
1934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1935 | } |
1936 | { | |
1937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1938 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1939 | ||
1940 | wxPyEndAllowThreads(__tstate); | |
1941 | if (PyErr_Occurred()) SWIG_fail; | |
1942 | } | |
2f4c0a16 | 1943 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1); |
d14a1e28 RD |
1944 | return resultobj; |
1945 | fail: | |
1946 | return NULL; | |
1947 | } | |
1948 | ||
1949 | ||
c32bde28 | 1950 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1951 | PyObject *resultobj; |
1952 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1953 | wxDC *arg2 = (wxDC *) 0 ; | |
1954 | PyObject * obj0 = 0 ; | |
1955 | PyObject * obj1 = 0 ; | |
1956 | char *kwnames[] = { | |
1957 | (char *) "self",(char *) "dc", NULL | |
1958 | }; | |
1959 | ||
1960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1961 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
1962 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1963 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
1964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1965 | { |
1966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1967 | (arg1)->SetDC(arg2); | |
1968 | ||
1969 | wxPyEndAllowThreads(__tstate); | |
1970 | if (PyErr_Occurred()) SWIG_fail; | |
1971 | } | |
1972 | Py_INCREF(Py_None); resultobj = Py_None; | |
1973 | return resultobj; | |
1974 | fail: | |
1975 | return NULL; | |
1976 | } | |
1977 | ||
1978 | ||
c32bde28 | 1979 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1980 | PyObject *resultobj; |
1981 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1982 | wxDC *result; | |
1983 | PyObject * obj0 = 0 ; | |
1984 | char *kwnames[] = { | |
1985 | (char *) "self", NULL | |
1986 | }; | |
1987 | ||
1988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
1990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1991 | { |
1992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1993 | result = (wxDC *)(arg1)->GetDC(); | |
1994 | ||
1995 | wxPyEndAllowThreads(__tstate); | |
1996 | if (PyErr_Occurred()) SWIG_fail; | |
1997 | } | |
1998 | { | |
412d302d | 1999 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2000 | } |
2001 | return resultobj; | |
2002 | fail: | |
2003 | return NULL; | |
2004 | } | |
2005 | ||
2006 | ||
c32bde28 | 2007 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2008 | PyObject *resultobj; |
2009 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2010 | int result; | |
2011 | PyObject * obj0 = 0 ; | |
2012 | char *kwnames[] = { | |
2013 | (char *) "self", NULL | |
2014 | }; | |
2015 | ||
2016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2019 | { |
2020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2021 | result = (int)(arg1)->GetCharHeight(); | |
2022 | ||
2023 | wxPyEndAllowThreads(__tstate); | |
2024 | if (PyErr_Occurred()) SWIG_fail; | |
2025 | } | |
c32bde28 | 2026 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2027 | return resultobj; |
2028 | fail: | |
2029 | return NULL; | |
2030 | } | |
2031 | ||
2032 | ||
c32bde28 | 2033 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2034 | PyObject *resultobj; |
2035 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2036 | int result; | |
2037 | PyObject * obj0 = 0 ; | |
2038 | char *kwnames[] = { | |
2039 | (char *) "self", NULL | |
2040 | }; | |
2041 | ||
2042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2045 | { |
2046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2047 | result = (int)(arg1)->GetCharWidth(); | |
2048 | ||
2049 | wxPyEndAllowThreads(__tstate); | |
2050 | if (PyErr_Occurred()) SWIG_fail; | |
2051 | } | |
c32bde28 | 2052 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2053 | return resultobj; |
2054 | fail: | |
2055 | return NULL; | |
2056 | } | |
2057 | ||
2058 | ||
c32bde28 | 2059 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2060 | PyObject *resultobj; |
2061 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2062 | wxPyHtmlWindow *result; | |
2063 | PyObject * obj0 = 0 ; | |
2064 | char *kwnames[] = { | |
2065 | (char *) "self", NULL | |
2066 | }; | |
2067 | ||
2068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2071 | { |
2072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2073 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
2074 | ||
2075 | wxPyEndAllowThreads(__tstate); | |
2076 | if (PyErr_Occurred()) SWIG_fail; | |
2077 | } | |
2078 | { | |
412d302d | 2079 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2080 | } |
2081 | return resultobj; | |
2082 | fail: | |
2083 | return NULL; | |
2084 | } | |
2085 | ||
2086 | ||
c32bde28 | 2087 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2088 | PyObject *resultobj; |
2089 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2090 | wxString arg2 ; | |
2091 | wxString arg3 ; | |
2092 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
2093 | PyObject * obj0 = 0 ; |
2094 | PyObject * obj1 = 0 ; | |
2095 | PyObject * obj2 = 0 ; | |
2096 | PyObject * obj3 = 0 ; | |
2097 | char *kwnames[] = { | |
2098 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
2099 | }; | |
2100 | ||
2101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
2102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
2104 | { |
2105 | wxString* sptr = wxString_in_helper(obj1); | |
2106 | if (sptr == NULL) SWIG_fail; | |
2107 | arg2 = *sptr; | |
2108 | delete sptr; | |
2109 | } | |
2110 | { | |
2111 | wxString* sptr = wxString_in_helper(obj2); | |
2112 | if (sptr == NULL) SWIG_fail; | |
2113 | arg3 = *sptr; | |
2114 | delete sptr; | |
2115 | } | |
d14a1e28 RD |
2116 | if (obj3) { |
2117 | arg4 = obj3; | |
2118 | } | |
2119 | { | |
2120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2121 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
2122 | ||
2123 | wxPyEndAllowThreads(__tstate); | |
2124 | if (PyErr_Occurred()) SWIG_fail; | |
2125 | } | |
2126 | Py_INCREF(Py_None); resultobj = Py_None; | |
2127 | return resultobj; | |
2128 | fail: | |
2129 | return NULL; | |
2130 | } | |
2131 | ||
2132 | ||
ae8162c8 | 2133 | static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
2134 | PyObject *resultobj; |
2135 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2136 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
2137 | wxString const &arg3_defvalue = wxPyEmptyString ; |
2138 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
2139 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
2140 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
2141 | bool temp3 = false ; | |
2142 | bool temp4 = false ; | |
30ee79f7 RD |
2143 | PyObject * obj0 = 0 ; |
2144 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
2145 | PyObject * obj2 = 0 ; |
2146 | PyObject * obj3 = 0 ; | |
30ee79f7 | 2147 | char *kwnames[] = { |
ae8162c8 | 2148 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
2149 | }; |
2150 | ||
ae8162c8 | 2151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
30ee79f7 RD |
2152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2154 | if (obj1) { | |
c32bde28 | 2155 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
2156 | if (PyErr_Occurred()) SWIG_fail; |
2157 | } | |
ae8162c8 RD |
2158 | if (obj2) { |
2159 | { | |
2160 | arg3 = wxString_in_helper(obj2); | |
2161 | if (arg3 == NULL) SWIG_fail; | |
2162 | temp3 = true; | |
2163 | } | |
2164 | } | |
2165 | if (obj3) { | |
2166 | { | |
2167 | arg4 = wxString_in_helper(obj3); | |
2168 | if (arg4 == NULL) SWIG_fail; | |
2169 | temp4 = true; | |
2170 | } | |
2171 | } | |
30ee79f7 RD |
2172 | { |
2173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 2174 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
2175 | |
2176 | wxPyEndAllowThreads(__tstate); | |
2177 | if (PyErr_Occurred()) SWIG_fail; | |
2178 | } | |
2179 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
2180 | { |
2181 | if (temp3) | |
2182 | delete arg3; | |
2183 | } | |
2184 | { | |
2185 | if (temp4) | |
2186 | delete arg4; | |
2187 | } | |
30ee79f7 RD |
2188 | return resultobj; |
2189 | fail: | |
ae8162c8 RD |
2190 | { |
2191 | if (temp3) | |
2192 | delete arg3; | |
2193 | } | |
2194 | { | |
2195 | if (temp4) | |
2196 | delete arg4; | |
2197 | } | |
30ee79f7 RD |
2198 | return NULL; |
2199 | } | |
2200 | ||
2201 | ||
c32bde28 | 2202 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2203 | PyObject *resultobj; |
2204 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2205 | wxHtmlContainerCell *result; | |
2206 | PyObject * obj0 = 0 ; | |
2207 | char *kwnames[] = { | |
2208 | (char *) "self", NULL | |
2209 | }; | |
2210 | ||
2211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2214 | { |
2215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2216 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
2217 | ||
2218 | wxPyEndAllowThreads(__tstate); | |
2219 | if (PyErr_Occurred()) SWIG_fail; | |
2220 | } | |
2f4c0a16 | 2221 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2222 | return resultobj; |
2223 | fail: | |
2224 | return NULL; | |
2225 | } | |
2226 | ||
2227 | ||
c32bde28 | 2228 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2229 | PyObject *resultobj; |
2230 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2231 | wxHtmlContainerCell *result; | |
2232 | PyObject * obj0 = 0 ; | |
2233 | char *kwnames[] = { | |
2234 | (char *) "self", NULL | |
2235 | }; | |
2236 | ||
2237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2240 | { |
2241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2242 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
2243 | ||
2244 | wxPyEndAllowThreads(__tstate); | |
2245 | if (PyErr_Occurred()) SWIG_fail; | |
2246 | } | |
2f4c0a16 | 2247 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2248 | return resultobj; |
2249 | fail: | |
2250 | return NULL; | |
2251 | } | |
2252 | ||
2253 | ||
c32bde28 | 2254 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2255 | PyObject *resultobj; |
2256 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2257 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
2258 | wxHtmlContainerCell *result; | |
2259 | PyObject * obj0 = 0 ; | |
2260 | PyObject * obj1 = 0 ; | |
2261 | char *kwnames[] = { | |
2262 | (char *) "self",(char *) "c", NULL | |
2263 | }; | |
2264 | ||
2265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2268 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
2269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2270 | { |
2271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2272 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
2273 | ||
2274 | wxPyEndAllowThreads(__tstate); | |
2275 | if (PyErr_Occurred()) SWIG_fail; | |
2276 | } | |
2f4c0a16 | 2277 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2278 | return resultobj; |
2279 | fail: | |
2280 | return NULL; | |
2281 | } | |
2282 | ||
2283 | ||
c32bde28 | 2284 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2285 | PyObject *resultobj; |
2286 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2287 | wxHtmlContainerCell *result; | |
2288 | PyObject * obj0 = 0 ; | |
2289 | char *kwnames[] = { | |
2290 | (char *) "self", NULL | |
2291 | }; | |
2292 | ||
2293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2296 | { |
2297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2298 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
2299 | ||
2300 | wxPyEndAllowThreads(__tstate); | |
2301 | if (PyErr_Occurred()) SWIG_fail; | |
2302 | } | |
2f4c0a16 | 2303 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2304 | return resultobj; |
2305 | fail: | |
2306 | return NULL; | |
2307 | } | |
2308 | ||
2309 | ||
c32bde28 | 2310 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2311 | PyObject *resultobj; |
2312 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2313 | int result; | |
2314 | PyObject * obj0 = 0 ; | |
2315 | char *kwnames[] = { | |
2316 | (char *) "self", NULL | |
2317 | }; | |
2318 | ||
2319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2322 | { |
2323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2324 | result = (int)(arg1)->GetFontSize(); | |
2325 | ||
2326 | wxPyEndAllowThreads(__tstate); | |
2327 | if (PyErr_Occurred()) SWIG_fail; | |
2328 | } | |
c32bde28 | 2329 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2330 | return resultobj; |
2331 | fail: | |
2332 | return NULL; | |
2333 | } | |
2334 | ||
2335 | ||
c32bde28 | 2336 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2337 | PyObject *resultobj; |
2338 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2339 | int arg2 ; | |
2340 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2341 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2342 | char *kwnames[] = { |
2343 | (char *) "self",(char *) "s", NULL | |
2344 | }; | |
2345 | ||
8edf1c75 | 2346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2347 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2349 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2350 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2351 | { |
2352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2353 | (arg1)->SetFontSize(arg2); | |
2354 | ||
2355 | wxPyEndAllowThreads(__tstate); | |
2356 | if (PyErr_Occurred()) SWIG_fail; | |
2357 | } | |
2358 | Py_INCREF(Py_None); resultobj = Py_None; | |
2359 | return resultobj; | |
2360 | fail: | |
2361 | return NULL; | |
2362 | } | |
2363 | ||
2364 | ||
c32bde28 | 2365 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2366 | PyObject *resultobj; |
2367 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2368 | int result; | |
2369 | PyObject * obj0 = 0 ; | |
2370 | char *kwnames[] = { | |
2371 | (char *) "self", NULL | |
2372 | }; | |
2373 | ||
2374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2377 | { |
2378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2379 | result = (int)(arg1)->GetFontBold(); | |
2380 | ||
2381 | wxPyEndAllowThreads(__tstate); | |
2382 | if (PyErr_Occurred()) SWIG_fail; | |
2383 | } | |
c32bde28 | 2384 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2385 | return resultobj; |
2386 | fail: | |
2387 | return NULL; | |
2388 | } | |
2389 | ||
2390 | ||
c32bde28 | 2391 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2392 | PyObject *resultobj; |
2393 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2394 | int arg2 ; | |
2395 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2396 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2397 | char *kwnames[] = { |
2398 | (char *) "self",(char *) "x", NULL | |
2399 | }; | |
2400 | ||
8edf1c75 | 2401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2404 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2405 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2406 | { |
2407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2408 | (arg1)->SetFontBold(arg2); | |
2409 | ||
2410 | wxPyEndAllowThreads(__tstate); | |
2411 | if (PyErr_Occurred()) SWIG_fail; | |
2412 | } | |
2413 | Py_INCREF(Py_None); resultobj = Py_None; | |
2414 | return resultobj; | |
2415 | fail: | |
2416 | return NULL; | |
2417 | } | |
2418 | ||
2419 | ||
c32bde28 | 2420 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2421 | PyObject *resultobj; |
2422 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2423 | int result; | |
2424 | PyObject * obj0 = 0 ; | |
2425 | char *kwnames[] = { | |
2426 | (char *) "self", NULL | |
2427 | }; | |
2428 | ||
2429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2432 | { |
2433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2434 | result = (int)(arg1)->GetFontItalic(); | |
2435 | ||
2436 | wxPyEndAllowThreads(__tstate); | |
2437 | if (PyErr_Occurred()) SWIG_fail; | |
2438 | } | |
c32bde28 | 2439 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2440 | return resultobj; |
2441 | fail: | |
2442 | return NULL; | |
2443 | } | |
2444 | ||
2445 | ||
c32bde28 | 2446 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2447 | PyObject *resultobj; |
2448 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2449 | int arg2 ; | |
2450 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2451 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2452 | char *kwnames[] = { |
2453 | (char *) "self",(char *) "x", NULL | |
2454 | }; | |
2455 | ||
8edf1c75 | 2456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2459 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2460 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2461 | { |
2462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2463 | (arg1)->SetFontItalic(arg2); | |
2464 | ||
2465 | wxPyEndAllowThreads(__tstate); | |
2466 | if (PyErr_Occurred()) SWIG_fail; | |
2467 | } | |
2468 | Py_INCREF(Py_None); resultobj = Py_None; | |
2469 | return resultobj; | |
2470 | fail: | |
2471 | return NULL; | |
2472 | } | |
2473 | ||
2474 | ||
c32bde28 | 2475 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2476 | PyObject *resultobj; |
2477 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2478 | int result; | |
2479 | PyObject * obj0 = 0 ; | |
2480 | char *kwnames[] = { | |
2481 | (char *) "self", NULL | |
2482 | }; | |
2483 | ||
2484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2487 | { |
2488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2489 | result = (int)(arg1)->GetFontUnderlined(); | |
2490 | ||
2491 | wxPyEndAllowThreads(__tstate); | |
2492 | if (PyErr_Occurred()) SWIG_fail; | |
2493 | } | |
c32bde28 | 2494 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2495 | return resultobj; |
2496 | fail: | |
2497 | return NULL; | |
2498 | } | |
2499 | ||
2500 | ||
c32bde28 | 2501 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2502 | PyObject *resultobj; |
2503 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2504 | int arg2 ; | |
2505 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2506 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2507 | char *kwnames[] = { |
2508 | (char *) "self",(char *) "x", NULL | |
2509 | }; | |
2510 | ||
8edf1c75 | 2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2514 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2515 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2516 | { |
2517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2518 | (arg1)->SetFontUnderlined(arg2); | |
2519 | ||
2520 | wxPyEndAllowThreads(__tstate); | |
2521 | if (PyErr_Occurred()) SWIG_fail; | |
2522 | } | |
2523 | Py_INCREF(Py_None); resultobj = Py_None; | |
2524 | return resultobj; | |
2525 | fail: | |
2526 | return NULL; | |
2527 | } | |
2528 | ||
2529 | ||
c32bde28 | 2530 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2531 | PyObject *resultobj; |
2532 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2533 | int result; | |
2534 | PyObject * obj0 = 0 ; | |
2535 | char *kwnames[] = { | |
2536 | (char *) "self", NULL | |
2537 | }; | |
2538 | ||
2539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2542 | { |
2543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2544 | result = (int)(arg1)->GetFontFixed(); | |
2545 | ||
2546 | wxPyEndAllowThreads(__tstate); | |
2547 | if (PyErr_Occurred()) SWIG_fail; | |
2548 | } | |
c32bde28 | 2549 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2550 | return resultobj; |
2551 | fail: | |
2552 | return NULL; | |
2553 | } | |
2554 | ||
2555 | ||
c32bde28 | 2556 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2557 | PyObject *resultobj; |
2558 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2559 | int arg2 ; | |
2560 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2561 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2562 | char *kwnames[] = { |
2563 | (char *) "self",(char *) "x", NULL | |
2564 | }; | |
2565 | ||
8edf1c75 | 2566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2569 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2570 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2571 | { |
2572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2573 | (arg1)->SetFontFixed(arg2); | |
2574 | ||
2575 | wxPyEndAllowThreads(__tstate); | |
2576 | if (PyErr_Occurred()) SWIG_fail; | |
2577 | } | |
2578 | Py_INCREF(Py_None); resultobj = Py_None; | |
2579 | return resultobj; | |
2580 | fail: | |
2581 | return NULL; | |
2582 | } | |
2583 | ||
2584 | ||
c32bde28 | 2585 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2586 | PyObject *resultobj; |
2587 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2588 | int result; | |
2589 | PyObject * obj0 = 0 ; | |
2590 | char *kwnames[] = { | |
2591 | (char *) "self", NULL | |
2592 | }; | |
2593 | ||
2594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2597 | { |
2598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2599 | result = (int)(arg1)->GetAlign(); | |
2600 | ||
2601 | wxPyEndAllowThreads(__tstate); | |
2602 | if (PyErr_Occurred()) SWIG_fail; | |
2603 | } | |
c32bde28 | 2604 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2605 | return resultobj; |
2606 | fail: | |
2607 | return NULL; | |
2608 | } | |
2609 | ||
2610 | ||
c32bde28 | 2611 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2612 | PyObject *resultobj; |
2613 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2614 | int arg2 ; | |
2615 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2616 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2617 | char *kwnames[] = { |
2618 | (char *) "self",(char *) "a", NULL | |
2619 | }; | |
2620 | ||
8edf1c75 | 2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2624 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2625 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2626 | { |
2627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2628 | (arg1)->SetAlign(arg2); | |
2629 | ||
2630 | wxPyEndAllowThreads(__tstate); | |
2631 | if (PyErr_Occurred()) SWIG_fail; | |
2632 | } | |
2633 | Py_INCREF(Py_None); resultobj = Py_None; | |
2634 | return resultobj; | |
2635 | fail: | |
2636 | return NULL; | |
2637 | } | |
2638 | ||
2639 | ||
c32bde28 | 2640 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2641 | PyObject *resultobj; |
2642 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2643 | wxColour result; | |
2644 | PyObject * obj0 = 0 ; | |
2645 | char *kwnames[] = { | |
2646 | (char *) "self", NULL | |
2647 | }; | |
2648 | ||
2649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2652 | { |
2653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2654 | result = (arg1)->GetLinkColor(); | |
2655 | ||
2656 | wxPyEndAllowThreads(__tstate); | |
2657 | if (PyErr_Occurred()) SWIG_fail; | |
2658 | } | |
2659 | { | |
2660 | wxColour * resultptr; | |
2661 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 2662 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
2663 | } |
2664 | return resultobj; | |
2665 | fail: | |
2666 | return NULL; | |
2667 | } | |
2668 | ||
2669 | ||
c32bde28 | 2670 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2671 | PyObject *resultobj; |
2672 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2673 | wxColour *arg2 = 0 ; | |
2674 | wxColour temp2 ; | |
2675 | PyObject * obj0 = 0 ; | |
2676 | PyObject * obj1 = 0 ; | |
2677 | char *kwnames[] = { | |
2678 | (char *) "self",(char *) "clr", NULL | |
2679 | }; | |
2680 | ||
2681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2684 | { |
2685 | arg2 = &temp2; | |
2686 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2687 | } | |
2688 | { | |
2689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2690 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2691 | ||
2692 | wxPyEndAllowThreads(__tstate); | |
2693 | if (PyErr_Occurred()) SWIG_fail; | |
2694 | } | |
2695 | Py_INCREF(Py_None); resultobj = Py_None; | |
2696 | return resultobj; | |
2697 | fail: | |
2698 | return NULL; | |
2699 | } | |
2700 | ||
2701 | ||
c32bde28 | 2702 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2703 | PyObject *resultobj; |
2704 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2705 | wxColour result; | |
2706 | PyObject * obj0 = 0 ; | |
2707 | char *kwnames[] = { | |
2708 | (char *) "self", NULL | |
2709 | }; | |
2710 | ||
2711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2714 | { |
2715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2716 | result = (arg1)->GetActualColor(); | |
2717 | ||
2718 | wxPyEndAllowThreads(__tstate); | |
2719 | if (PyErr_Occurred()) SWIG_fail; | |
2720 | } | |
2721 | { | |
2722 | wxColour * resultptr; | |
2723 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 2724 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
2725 | } |
2726 | return resultobj; | |
2727 | fail: | |
2728 | return NULL; | |
2729 | } | |
2730 | ||
2731 | ||
c32bde28 | 2732 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2733 | PyObject *resultobj; |
2734 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2735 | wxColour *arg2 = 0 ; | |
2736 | wxColour temp2 ; | |
2737 | PyObject * obj0 = 0 ; | |
2738 | PyObject * obj1 = 0 ; | |
2739 | char *kwnames[] = { | |
2740 | (char *) "self",(char *) "clr", NULL | |
2741 | }; | |
2742 | ||
2743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2746 | { |
2747 | arg2 = &temp2; | |
2748 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2749 | } | |
2750 | { | |
2751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2752 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2753 | ||
2754 | wxPyEndAllowThreads(__tstate); | |
2755 | if (PyErr_Occurred()) SWIG_fail; | |
2756 | } | |
2757 | Py_INCREF(Py_None); resultobj = Py_None; | |
2758 | return resultobj; | |
2759 | fail: | |
2760 | return NULL; | |
2761 | } | |
2762 | ||
2763 | ||
c32bde28 | 2764 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2765 | PyObject *resultobj; |
2766 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2767 | wxString *arg2 = 0 ; | |
ae8162c8 | 2768 | bool temp2 = false ; |
d14a1e28 RD |
2769 | PyObject * obj0 = 0 ; |
2770 | PyObject * obj1 = 0 ; | |
2771 | char *kwnames[] = { | |
2772 | (char *) "self",(char *) "link", NULL | |
2773 | }; | |
2774 | ||
2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2778 | { |
2779 | arg2 = wxString_in_helper(obj1); | |
2780 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 2781 | temp2 = true; |
d14a1e28 RD |
2782 | } |
2783 | { | |
2784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2785 | (arg1)->SetLink((wxString const &)*arg2); | |
2786 | ||
2787 | wxPyEndAllowThreads(__tstate); | |
2788 | if (PyErr_Occurred()) SWIG_fail; | |
2789 | } | |
2790 | Py_INCREF(Py_None); resultobj = Py_None; | |
2791 | { | |
2792 | if (temp2) | |
2793 | delete arg2; | |
2794 | } | |
2795 | return resultobj; | |
2796 | fail: | |
2797 | { | |
2798 | if (temp2) | |
2799 | delete arg2; | |
2800 | } | |
2801 | return NULL; | |
2802 | } | |
2803 | ||
2804 | ||
c32bde28 | 2805 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2806 | PyObject *resultobj; |
2807 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2808 | wxFont *result; | |
2809 | PyObject * obj0 = 0 ; | |
2810 | char *kwnames[] = { | |
2811 | (char *) "self", NULL | |
2812 | }; | |
2813 | ||
2814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2817 | { |
2818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2819 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2820 | ||
2821 | wxPyEndAllowThreads(__tstate); | |
2822 | if (PyErr_Occurred()) SWIG_fail; | |
2823 | } | |
2f4c0a16 | 2824 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); |
d14a1e28 RD |
2825 | return resultobj; |
2826 | fail: | |
2827 | return NULL; | |
2828 | } | |
2829 | ||
2830 | ||
c32bde28 | 2831 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2832 | PyObject *resultobj; |
2833 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2834 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2835 | PyObject * obj0 = 0 ; | |
2836 | char *kwnames[] = { | |
2837 | (char *) "self", NULL | |
2838 | }; | |
2839 | ||
2840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2843 | { |
2844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2845 | result = (arg1)->GetLink(); | |
2846 | ||
2847 | wxPyEndAllowThreads(__tstate); | |
2848 | if (PyErr_Occurred()) SWIG_fail; | |
2849 | } | |
2850 | { | |
2851 | wxHtmlLinkInfo * resultptr; | |
2852 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2f4c0a16 | 2853 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); |
d14a1e28 RD |
2854 | } |
2855 | return resultobj; | |
2856 | fail: | |
2857 | return NULL; | |
2858 | } | |
2859 | ||
2860 | ||
c32bde28 | 2861 | static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2862 | PyObject *obj; |
2863 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2864 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2865 | Py_INCREF(obj); | |
2866 | return Py_BuildValue((char *)""); | |
2867 | } | |
c32bde28 | 2868 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2869 | PyObject *resultobj; |
2870 | wxPyHtmlTagHandler *result; | |
2871 | char *kwnames[] = { | |
2872 | NULL | |
2873 | }; | |
2874 | ||
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2876 | { | |
2877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2878 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2879 | ||
2880 | wxPyEndAllowThreads(__tstate); | |
2881 | if (PyErr_Occurred()) SWIG_fail; | |
2882 | } | |
2f4c0a16 | 2883 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1); |
d14a1e28 RD |
2884 | return resultobj; |
2885 | fail: | |
2886 | return NULL; | |
2887 | } | |
2888 | ||
2889 | ||
c32bde28 | 2890 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2891 | PyObject *resultobj; |
2892 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2893 | PyObject *arg2 = (PyObject *) 0 ; | |
2894 | PyObject *arg3 = (PyObject *) 0 ; | |
2895 | PyObject * obj0 = 0 ; | |
2896 | PyObject * obj1 = 0 ; | |
2897 | PyObject * obj2 = 0 ; | |
2898 | char *kwnames[] = { | |
2899 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2900 | }; | |
2901 | ||
2902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
2903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2905 | arg2 = obj1; |
2906 | arg3 = obj2; | |
2907 | { | |
2908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2909 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2910 | ||
2911 | wxPyEndAllowThreads(__tstate); | |
2912 | if (PyErr_Occurred()) SWIG_fail; | |
2913 | } | |
2914 | Py_INCREF(Py_None); resultobj = Py_None; | |
2915 | return resultobj; | |
2916 | fail: | |
2917 | return NULL; | |
2918 | } | |
2919 | ||
2920 | ||
c32bde28 | 2921 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2922 | PyObject *resultobj; |
2923 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2924 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2925 | PyObject * obj0 = 0 ; | |
2926 | PyObject * obj1 = 0 ; | |
2927 | char *kwnames[] = { | |
2928 | (char *) "self",(char *) "parser", NULL | |
2929 | }; | |
2930 | ||
2931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2932 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2933 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2934 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2936 | { |
2937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2938 | (arg1)->SetParser(arg2); | |
2939 | ||
2940 | wxPyEndAllowThreads(__tstate); | |
2941 | if (PyErr_Occurred()) SWIG_fail; | |
2942 | } | |
2943 | Py_INCREF(Py_None); resultobj = Py_None; | |
2944 | return resultobj; | |
2945 | fail: | |
2946 | return NULL; | |
2947 | } | |
2948 | ||
2949 | ||
c32bde28 | 2950 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2951 | PyObject *resultobj; |
2952 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2953 | wxHtmlParser *result; | |
2954 | PyObject * obj0 = 0 ; | |
2955 | char *kwnames[] = { | |
2956 | (char *) "self", NULL | |
2957 | }; | |
2958 | ||
2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2962 | { |
2963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2964 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2965 | ||
2966 | wxPyEndAllowThreads(__tstate); | |
2967 | if (PyErr_Occurred()) SWIG_fail; | |
2968 | } | |
2f4c0a16 | 2969 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0); |
d14a1e28 RD |
2970 | return resultobj; |
2971 | fail: | |
2972 | return NULL; | |
2973 | } | |
2974 | ||
2975 | ||
c32bde28 | 2976 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2977 | PyObject *resultobj; |
2978 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2979 | wxHtmlTag *arg2 = 0 ; | |
2980 | PyObject * obj0 = 0 ; | |
2981 | PyObject * obj1 = 0 ; | |
2982 | char *kwnames[] = { | |
2983 | (char *) "self",(char *) "tag", NULL | |
2984 | }; | |
2985 | ||
2986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2989 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2990 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2991 | SWIG_fail; | |
d14a1e28 | 2992 | if (arg2 == NULL) { |
2f4c0a16 RD |
2993 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2994 | SWIG_fail; | |
d14a1e28 RD |
2995 | } |
2996 | { | |
2997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2998 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2999 | ||
3000 | wxPyEndAllowThreads(__tstate); | |
3001 | if (PyErr_Occurred()) SWIG_fail; | |
3002 | } | |
3003 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004 | return resultobj; | |
3005 | fail: | |
3006 | return NULL; | |
3007 | } | |
3008 | ||
3009 | ||
c32bde28 | 3010 | static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3011 | PyObject *obj; |
3012 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3013 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
3014 | Py_INCREF(obj); | |
3015 | return Py_BuildValue((char *)""); | |
3016 | } | |
c32bde28 | 3017 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3018 | PyObject *resultobj; |
3019 | wxPyHtmlWinTagHandler *result; | |
3020 | char *kwnames[] = { | |
3021 | NULL | |
3022 | }; | |
3023 | ||
3024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
3025 | { | |
3026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3027 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
3028 | ||
3029 | wxPyEndAllowThreads(__tstate); | |
3030 | if (PyErr_Occurred()) SWIG_fail; | |
3031 | } | |
2f4c0a16 | 3032 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); |
d14a1e28 RD |
3033 | return resultobj; |
3034 | fail: | |
3035 | return NULL; | |
3036 | } | |
3037 | ||
3038 | ||
c32bde28 | 3039 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3040 | PyObject *resultobj; |
3041 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3042 | PyObject *arg2 = (PyObject *) 0 ; | |
3043 | PyObject *arg3 = (PyObject *) 0 ; | |
3044 | PyObject * obj0 = 0 ; | |
3045 | PyObject * obj1 = 0 ; | |
3046 | PyObject * obj2 = 0 ; | |
3047 | char *kwnames[] = { | |
3048 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
3049 | }; | |
3050 | ||
3051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3054 | arg2 = obj1; |
3055 | arg3 = obj2; | |
3056 | { | |
3057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3058 | (arg1)->_setCallbackInfo(arg2,arg3); | |
3059 | ||
3060 | wxPyEndAllowThreads(__tstate); | |
3061 | if (PyErr_Occurred()) SWIG_fail; | |
3062 | } | |
3063 | Py_INCREF(Py_None); resultobj = Py_None; | |
3064 | return resultobj; | |
3065 | fail: | |
3066 | return NULL; | |
3067 | } | |
3068 | ||
3069 | ||
c32bde28 | 3070 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3071 | PyObject *resultobj; |
3072 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3073 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
3074 | PyObject * obj0 = 0 ; | |
3075 | PyObject * obj1 = 0 ; | |
3076 | char *kwnames[] = { | |
3077 | (char *) "self",(char *) "parser", NULL | |
3078 | }; | |
3079 | ||
3080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3083 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
3084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3085 | { |
3086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3087 | (arg1)->SetParser(arg2); | |
3088 | ||
3089 | wxPyEndAllowThreads(__tstate); | |
3090 | if (PyErr_Occurred()) SWIG_fail; | |
3091 | } | |
3092 | Py_INCREF(Py_None); resultobj = Py_None; | |
3093 | return resultobj; | |
3094 | fail: | |
3095 | return NULL; | |
3096 | } | |
3097 | ||
3098 | ||
c32bde28 | 3099 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3100 | PyObject *resultobj; |
3101 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3102 | wxHtmlWinParser *result; | |
3103 | PyObject * obj0 = 0 ; | |
3104 | char *kwnames[] = { | |
3105 | (char *) "self", NULL | |
3106 | }; | |
3107 | ||
3108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3111 | { |
3112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3113 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
3114 | ||
3115 | wxPyEndAllowThreads(__tstate); | |
3116 | if (PyErr_Occurred()) SWIG_fail; | |
3117 | } | |
2f4c0a16 | 3118 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); |
d14a1e28 RD |
3119 | return resultobj; |
3120 | fail: | |
3121 | return NULL; | |
3122 | } | |
3123 | ||
3124 | ||
c32bde28 | 3125 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3126 | PyObject *resultobj; |
3127 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3128 | wxHtmlTag *arg2 = 0 ; | |
3129 | PyObject * obj0 = 0 ; | |
3130 | PyObject * obj1 = 0 ; | |
3131 | char *kwnames[] = { | |
3132 | (char *) "self",(char *) "tag", NULL | |
3133 | }; | |
3134 | ||
3135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3138 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
3139 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3140 | SWIG_fail; | |
d14a1e28 | 3141 | if (arg2 == NULL) { |
2f4c0a16 RD |
3142 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3143 | SWIG_fail; | |
d14a1e28 RD |
3144 | } |
3145 | { | |
3146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3147 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
3148 | ||
3149 | wxPyEndAllowThreads(__tstate); | |
3150 | if (PyErr_Occurred()) SWIG_fail; | |
3151 | } | |
3152 | Py_INCREF(Py_None); resultobj = Py_None; | |
3153 | return resultobj; | |
3154 | fail: | |
3155 | return NULL; | |
3156 | } | |
3157 | ||
3158 | ||
c32bde28 | 3159 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3160 | PyObject *obj; |
3161 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3162 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
3163 | Py_INCREF(obj); | |
3164 | return Py_BuildValue((char *)""); | |
3165 | } | |
c32bde28 | 3166 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3167 | PyObject *resultobj; |
3168 | PyObject *arg1 = (PyObject *) 0 ; | |
3169 | PyObject * obj0 = 0 ; | |
3170 | char *kwnames[] = { | |
3171 | (char *) "tagHandlerClass", NULL | |
3172 | }; | |
3173 | ||
3174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
3175 | arg1 = obj0; | |
3176 | { | |
3177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3178 | wxHtmlWinParser_AddTagHandler(arg1); | |
3179 | ||
3180 | wxPyEndAllowThreads(__tstate); | |
3181 | if (PyErr_Occurred()) SWIG_fail; | |
3182 | } | |
3183 | Py_INCREF(Py_None); resultobj = Py_None; | |
3184 | return resultobj; | |
3185 | fail: | |
3186 | return NULL; | |
3187 | } | |
3188 | ||
3189 | ||
c32bde28 | 3190 | static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3191 | PyObject *resultobj; |
3192 | wxHtmlSelection *result; | |
3193 | char *kwnames[] = { | |
3194 | NULL | |
3195 | }; | |
3196 | ||
3197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
3198 | { | |
3199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3200 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
3201 | ||
3202 | wxPyEndAllowThreads(__tstate); | |
3203 | if (PyErr_Occurred()) SWIG_fail; | |
3204 | } | |
2f4c0a16 | 3205 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1); |
d14a1e28 RD |
3206 | return resultobj; |
3207 | fail: | |
3208 | return NULL; | |
3209 | } | |
3210 | ||
3211 | ||
c32bde28 | 3212 | static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3213 | PyObject *resultobj; |
3214 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3215 | PyObject * obj0 = 0 ; | |
3216 | char *kwnames[] = { | |
3217 | (char *) "self", NULL | |
3218 | }; | |
3219 | ||
3220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3223 | { |
3224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3225 | delete arg1; | |
3226 | ||
3227 | wxPyEndAllowThreads(__tstate); | |
3228 | if (PyErr_Occurred()) SWIG_fail; | |
3229 | } | |
3230 | Py_INCREF(Py_None); resultobj = Py_None; | |
3231 | return resultobj; | |
3232 | fail: | |
3233 | return NULL; | |
3234 | } | |
3235 | ||
3236 | ||
c32bde28 | 3237 | static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3238 | PyObject *resultobj; |
3239 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3240 | wxPoint *arg2 = 0 ; | |
3241 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3242 | wxPoint *arg4 = 0 ; | |
3243 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
3244 | wxPoint temp2 ; | |
3245 | wxPoint temp4 ; | |
3246 | PyObject * obj0 = 0 ; | |
3247 | PyObject * obj1 = 0 ; | |
3248 | PyObject * obj2 = 0 ; | |
3249 | PyObject * obj3 = 0 ; | |
3250 | PyObject * obj4 = 0 ; | |
3251 | char *kwnames[] = { | |
3252 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
3253 | }; | |
3254 | ||
3255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2f4c0a16 RD |
3256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3258 | { |
3259 | arg2 = &temp2; | |
3260 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3261 | } | |
2f4c0a16 RD |
3262 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, |
3263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3264 | { |
3265 | arg4 = &temp4; | |
3266 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3267 | } | |
2f4c0a16 RD |
3268 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell, |
3269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3270 | { |
3271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3272 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
3273 | ||
3274 | wxPyEndAllowThreads(__tstate); | |
3275 | if (PyErr_Occurred()) SWIG_fail; | |
3276 | } | |
3277 | Py_INCREF(Py_None); resultobj = Py_None; | |
3278 | return resultobj; | |
3279 | fail: | |
3280 | return NULL; | |
3281 | } | |
3282 | ||
3283 | ||
c32bde28 | 3284 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3285 | PyObject *resultobj; |
3286 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3287 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3288 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3289 | PyObject * obj0 = 0 ; | |
3290 | PyObject * obj1 = 0 ; | |
3291 | PyObject * obj2 = 0 ; | |
3292 | char *kwnames[] = { | |
3293 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
3294 | }; | |
3295 | ||
3296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3299 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
3300 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3301 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3303 | { |
3304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3305 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
3306 | ||
3307 | wxPyEndAllowThreads(__tstate); | |
3308 | if (PyErr_Occurred()) SWIG_fail; | |
3309 | } | |
3310 | Py_INCREF(Py_None); resultobj = Py_None; | |
3311 | return resultobj; | |
3312 | fail: | |
3313 | return NULL; | |
3314 | } | |
3315 | ||
3316 | ||
c32bde28 | 3317 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3318 | PyObject *resultobj; |
3319 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3320 | wxHtmlCell *result; | |
3321 | PyObject * obj0 = 0 ; | |
3322 | char *kwnames[] = { | |
3323 | (char *) "self", NULL | |
3324 | }; | |
3325 | ||
3326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3329 | { |
3330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3331 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
3332 | ||
3333 | wxPyEndAllowThreads(__tstate); | |
3334 | if (PyErr_Occurred()) SWIG_fail; | |
3335 | } | |
2f4c0a16 | 3336 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
3337 | return resultobj; |
3338 | fail: | |
3339 | return NULL; | |
3340 | } | |
3341 | ||
3342 | ||
c32bde28 | 3343 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3344 | PyObject *resultobj; |
3345 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3346 | wxHtmlCell *result; | |
3347 | PyObject * obj0 = 0 ; | |
3348 | char *kwnames[] = { | |
3349 | (char *) "self", NULL | |
3350 | }; | |
3351 | ||
3352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3355 | { |
3356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3357 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
3358 | ||
3359 | wxPyEndAllowThreads(__tstate); | |
3360 | if (PyErr_Occurred()) SWIG_fail; | |
3361 | } | |
2f4c0a16 | 3362 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
3363 | return resultobj; |
3364 | fail: | |
3365 | return NULL; | |
3366 | } | |
3367 | ||
3368 | ||
c32bde28 | 3369 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3370 | PyObject *resultobj; |
3371 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3372 | wxPoint *result; | |
3373 | PyObject * obj0 = 0 ; | |
3374 | char *kwnames[] = { | |
3375 | (char *) "self", NULL | |
3376 | }; | |
3377 | ||
3378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3381 | { |
3382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3383 | { | |
3384 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
3385 | result = (wxPoint *) &_result_ref; | |
3386 | } | |
3387 | ||
3388 | wxPyEndAllowThreads(__tstate); | |
3389 | if (PyErr_Occurred()) SWIG_fail; | |
3390 | } | |
2f4c0a16 | 3391 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3392 | return resultobj; |
3393 | fail: | |
3394 | return NULL; | |
3395 | } | |
3396 | ||
3397 | ||
c32bde28 | 3398 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3399 | PyObject *resultobj; |
3400 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3401 | wxPoint *result; | |
3402 | PyObject * obj0 = 0 ; | |
3403 | char *kwnames[] = { | |
3404 | (char *) "self", NULL | |
3405 | }; | |
3406 | ||
3407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3410 | { |
3411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3412 | { | |
3413 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
3414 | result = (wxPoint *) &_result_ref; | |
3415 | } | |
3416 | ||
3417 | wxPyEndAllowThreads(__tstate); | |
3418 | if (PyErr_Occurred()) SWIG_fail; | |
3419 | } | |
2f4c0a16 | 3420 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3421 | return resultobj; |
3422 | fail: | |
3423 | return NULL; | |
3424 | } | |
3425 | ||
3426 | ||
c32bde28 | 3427 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3428 | PyObject *resultobj; |
3429 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3430 | wxPoint *result; | |
3431 | PyObject * obj0 = 0 ; | |
3432 | char *kwnames[] = { | |
3433 | (char *) "self", NULL | |
3434 | }; | |
3435 | ||
3436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3439 | { |
3440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3441 | { | |
3442 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
3443 | result = (wxPoint *) &_result_ref; | |
3444 | } | |
3445 | ||
3446 | wxPyEndAllowThreads(__tstate); | |
3447 | if (PyErr_Occurred()) SWIG_fail; | |
3448 | } | |
2f4c0a16 | 3449 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3450 | return resultobj; |
3451 | fail: | |
3452 | return NULL; | |
3453 | } | |
3454 | ||
3455 | ||
c32bde28 | 3456 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3457 | PyObject *resultobj; |
3458 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3459 | wxPoint *result; | |
3460 | PyObject * obj0 = 0 ; | |
3461 | char *kwnames[] = { | |
3462 | (char *) "self", NULL | |
3463 | }; | |
3464 | ||
3465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3468 | { |
3469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3470 | { | |
3471 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
3472 | result = (wxPoint *) &_result_ref; | |
3473 | } | |
3474 | ||
3475 | wxPyEndAllowThreads(__tstate); | |
3476 | if (PyErr_Occurred()) SWIG_fail; | |
3477 | } | |
2f4c0a16 | 3478 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3479 | return resultobj; |
3480 | fail: | |
3481 | return NULL; | |
3482 | } | |
3483 | ||
3484 | ||
c32bde28 | 3485 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3486 | PyObject *resultobj; |
3487 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3488 | wxPoint *arg2 = 0 ; | |
3489 | wxPoint temp2 ; | |
3490 | PyObject * obj0 = 0 ; | |
3491 | PyObject * obj1 = 0 ; | |
3492 | char *kwnames[] = { | |
3493 | (char *) "self",(char *) "pos", NULL | |
3494 | }; | |
3495 | ||
3496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3499 | { |
3500 | arg2 = &temp2; | |
3501 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3502 | } | |
3503 | { | |
3504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3505 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
3506 | ||
3507 | wxPyEndAllowThreads(__tstate); | |
3508 | if (PyErr_Occurred()) SWIG_fail; | |
3509 | } | |
3510 | Py_INCREF(Py_None); resultobj = Py_None; | |
3511 | return resultobj; | |
3512 | fail: | |
3513 | return NULL; | |
3514 | } | |
3515 | ||
3516 | ||
c32bde28 | 3517 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3518 | PyObject *resultobj; |
3519 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3520 | wxPoint *arg2 = 0 ; | |
3521 | wxPoint temp2 ; | |
3522 | PyObject * obj0 = 0 ; | |
3523 | PyObject * obj1 = 0 ; | |
3524 | char *kwnames[] = { | |
3525 | (char *) "self",(char *) "pos", NULL | |
3526 | }; | |
3527 | ||
3528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3531 | { |
3532 | arg2 = &temp2; | |
3533 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3534 | } | |
3535 | { | |
3536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3537 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
3538 | ||
3539 | wxPyEndAllowThreads(__tstate); | |
3540 | if (PyErr_Occurred()) SWIG_fail; | |
3541 | } | |
3542 | Py_INCREF(Py_None); resultobj = Py_None; | |
3543 | return resultobj; | |
3544 | fail: | |
3545 | return NULL; | |
3546 | } | |
3547 | ||
3548 | ||
c32bde28 | 3549 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3550 | PyObject *resultobj; |
3551 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3552 | PyObject * obj0 = 0 ; | |
3553 | char *kwnames[] = { | |
3554 | (char *) "self", NULL | |
3555 | }; | |
3556 | ||
3557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3560 | { |
3561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3562 | (arg1)->ClearPrivPos(); | |
3563 | ||
3564 | wxPyEndAllowThreads(__tstate); | |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
3566 | } | |
3567 | Py_INCREF(Py_None); resultobj = Py_None; | |
3568 | return resultobj; | |
3569 | fail: | |
3570 | return NULL; | |
3571 | } | |
3572 | ||
3573 | ||
c32bde28 | 3574 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3575 | PyObject *resultobj; |
3576 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3577 | bool result; | |
3578 | PyObject * obj0 = 0 ; | |
3579 | char *kwnames[] = { | |
3580 | (char *) "self", NULL | |
3581 | }; | |
3582 | ||
3583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3586 | { |
3587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3588 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
3589 | ||
3590 | wxPyEndAllowThreads(__tstate); | |
3591 | if (PyErr_Occurred()) SWIG_fail; | |
3592 | } | |
4f89f6a3 RD |
3593 | { |
3594 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3595 | } | |
d14a1e28 RD |
3596 | return resultobj; |
3597 | fail: | |
3598 | return NULL; | |
3599 | } | |
3600 | ||
3601 | ||
c32bde28 | 3602 | static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3603 | PyObject *obj; |
3604 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3605 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
3606 | Py_INCREF(obj); | |
3607 | return Py_BuildValue((char *)""); | |
3608 | } | |
c32bde28 | 3609 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3610 | PyObject *resultobj; |
3611 | wxHtmlRenderingState *result; | |
3612 | char *kwnames[] = { | |
3613 | NULL | |
3614 | }; | |
3615 | ||
3616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
3617 | { | |
3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3619 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
3620 | ||
3621 | wxPyEndAllowThreads(__tstate); | |
3622 | if (PyErr_Occurred()) SWIG_fail; | |
3623 | } | |
2f4c0a16 | 3624 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1); |
d14a1e28 RD |
3625 | return resultobj; |
3626 | fail: | |
3627 | return NULL; | |
3628 | } | |
3629 | ||
3630 | ||
c32bde28 | 3631 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3632 | PyObject *resultobj; |
3633 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3634 | PyObject * obj0 = 0 ; | |
3635 | char *kwnames[] = { | |
3636 | (char *) "self", NULL | |
3637 | }; | |
3638 | ||
3639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3642 | { |
3643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3644 | delete arg1; | |
3645 | ||
3646 | wxPyEndAllowThreads(__tstate); | |
3647 | if (PyErr_Occurred()) SWIG_fail; | |
3648 | } | |
3649 | Py_INCREF(Py_None); resultobj = Py_None; | |
3650 | return resultobj; | |
3651 | fail: | |
3652 | return NULL; | |
3653 | } | |
3654 | ||
3655 | ||
c32bde28 | 3656 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3657 | PyObject *resultobj; |
3658 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3659 | int arg2 ; | |
3660 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3661 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3662 | char *kwnames[] = { |
3663 | (char *) "self",(char *) "s", NULL | |
3664 | }; | |
3665 | ||
8edf1c75 | 3666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 3669 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 3670 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3671 | { |
3672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3673 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3674 | ||
3675 | wxPyEndAllowThreads(__tstate); | |
3676 | if (PyErr_Occurred()) SWIG_fail; | |
3677 | } | |
3678 | Py_INCREF(Py_None); resultobj = Py_None; | |
3679 | return resultobj; | |
3680 | fail: | |
3681 | return NULL; | |
3682 | } | |
3683 | ||
3684 | ||
c32bde28 | 3685 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3686 | PyObject *resultobj; |
3687 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3688 | int result; | |
3689 | PyObject * obj0 = 0 ; | |
3690 | char *kwnames[] = { | |
3691 | (char *) "self", NULL | |
3692 | }; | |
3693 | ||
3694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3697 | { |
3698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3699 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3700 | ||
3701 | wxPyEndAllowThreads(__tstate); | |
3702 | if (PyErr_Occurred()) SWIG_fail; | |
3703 | } | |
c32bde28 | 3704 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3705 | return resultobj; |
3706 | fail: | |
3707 | return NULL; | |
3708 | } | |
3709 | ||
3710 | ||
c32bde28 | 3711 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3712 | PyObject *resultobj; |
3713 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3714 | wxColour *arg2 = 0 ; | |
3715 | wxColour temp2 ; | |
3716 | PyObject * obj0 = 0 ; | |
3717 | PyObject * obj1 = 0 ; | |
3718 | char *kwnames[] = { | |
3719 | (char *) "self",(char *) "c", NULL | |
3720 | }; | |
3721 | ||
3722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3725 | { |
3726 | arg2 = &temp2; | |
3727 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3728 | } | |
3729 | { | |
3730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3731 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3732 | ||
3733 | wxPyEndAllowThreads(__tstate); | |
3734 | if (PyErr_Occurred()) SWIG_fail; | |
3735 | } | |
3736 | Py_INCREF(Py_None); resultobj = Py_None; | |
3737 | return resultobj; | |
3738 | fail: | |
3739 | return NULL; | |
3740 | } | |
3741 | ||
3742 | ||
c32bde28 | 3743 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3744 | PyObject *resultobj; |
3745 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3746 | wxColour *result; | |
3747 | PyObject * obj0 = 0 ; | |
3748 | char *kwnames[] = { | |
3749 | (char *) "self", NULL | |
3750 | }; | |
3751 | ||
3752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3755 | { |
3756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3757 | { | |
3758 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3759 | result = (wxColour *) &_result_ref; | |
3760 | } | |
3761 | ||
3762 | wxPyEndAllowThreads(__tstate); | |
3763 | if (PyErr_Occurred()) SWIG_fail; | |
3764 | } | |
2f4c0a16 | 3765 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
3766 | return resultobj; |
3767 | fail: | |
3768 | return NULL; | |
3769 | } | |
3770 | ||
3771 | ||
c32bde28 | 3772 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3773 | PyObject *resultobj; |
3774 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3775 | wxColour *arg2 = 0 ; | |
3776 | wxColour temp2 ; | |
3777 | PyObject * obj0 = 0 ; | |
3778 | PyObject * obj1 = 0 ; | |
3779 | char *kwnames[] = { | |
3780 | (char *) "self",(char *) "c", NULL | |
3781 | }; | |
3782 | ||
3783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3786 | { |
3787 | arg2 = &temp2; | |
3788 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3789 | } | |
3790 | { | |
3791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3792 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3793 | ||
3794 | wxPyEndAllowThreads(__tstate); | |
3795 | if (PyErr_Occurred()) SWIG_fail; | |
3796 | } | |
3797 | Py_INCREF(Py_None); resultobj = Py_None; | |
3798 | return resultobj; | |
3799 | fail: | |
3800 | return NULL; | |
3801 | } | |
3802 | ||
3803 | ||
c32bde28 | 3804 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3805 | PyObject *resultobj; |
3806 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3807 | wxColour *result; | |
3808 | PyObject * obj0 = 0 ; | |
3809 | char *kwnames[] = { | |
3810 | (char *) "self", NULL | |
3811 | }; | |
3812 | ||
3813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3814 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3816 | { |
3817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3818 | { | |
3819 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3820 | result = (wxColour *) &_result_ref; | |
3821 | } | |
3822 | ||
3823 | wxPyEndAllowThreads(__tstate); | |
3824 | if (PyErr_Occurred()) SWIG_fail; | |
3825 | } | |
2f4c0a16 | 3826 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
3827 | return resultobj; |
3828 | fail: | |
3829 | return NULL; | |
3830 | } | |
3831 | ||
3832 | ||
c32bde28 | 3833 | static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3834 | PyObject *obj; |
3835 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3836 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3837 | Py_INCREF(obj); | |
3838 | return Py_BuildValue((char *)""); | |
3839 | } | |
c32bde28 | 3840 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3841 | PyObject *resultobj; |
3842 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3843 | wxColour *arg2 = 0 ; | |
3844 | wxColour result; | |
3845 | wxColour temp2 ; | |
3846 | PyObject * obj0 = 0 ; | |
3847 | PyObject * obj1 = 0 ; | |
3848 | char *kwnames[] = { | |
3849 | (char *) "self",(char *) "clr", NULL | |
3850 | }; | |
3851 | ||
3852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, |
3854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3855 | { |
3856 | arg2 = &temp2; | |
3857 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3858 | } | |
3859 | { | |
3860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3861 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3862 | ||
3863 | wxPyEndAllowThreads(__tstate); | |
3864 | if (PyErr_Occurred()) SWIG_fail; | |
3865 | } | |
3866 | { | |
3867 | wxColour * resultptr; | |
3868 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3869 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3870 | } |
3871 | return resultobj; | |
3872 | fail: | |
3873 | return NULL; | |
3874 | } | |
3875 | ||
3876 | ||
c32bde28 | 3877 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3878 | PyObject *resultobj; |
3879 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3880 | wxColour *arg2 = 0 ; | |
3881 | wxColour result; | |
3882 | wxColour temp2 ; | |
3883 | PyObject * obj0 = 0 ; | |
3884 | PyObject * obj1 = 0 ; | |
3885 | char *kwnames[] = { | |
3886 | (char *) "self",(char *) "clr", NULL | |
3887 | }; | |
3888 | ||
3889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, |
3891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3892 | { |
3893 | arg2 = &temp2; | |
3894 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3895 | } | |
3896 | { | |
3897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3898 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3899 | ||
3900 | wxPyEndAllowThreads(__tstate); | |
3901 | if (PyErr_Occurred()) SWIG_fail; | |
3902 | } | |
3903 | { | |
3904 | wxColour * resultptr; | |
3905 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3906 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3907 | } |
3908 | return resultobj; | |
3909 | fail: | |
3910 | return NULL; | |
3911 | } | |
3912 | ||
3913 | ||
c32bde28 | 3914 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3915 | PyObject *obj; |
3916 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3917 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3918 | Py_INCREF(obj); | |
3919 | return Py_BuildValue((char *)""); | |
3920 | } | |
c32bde28 | 3921 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3922 | PyObject *resultobj; |
3923 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3924 | wxColour *arg2 = 0 ; | |
3925 | wxColour result; | |
3926 | wxColour temp2 ; | |
3927 | PyObject * obj0 = 0 ; | |
3928 | PyObject * obj1 = 0 ; | |
3929 | char *kwnames[] = { | |
3930 | (char *) "self",(char *) "clr", NULL | |
3931 | }; | |
3932 | ||
3933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, |
3935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3936 | { |
3937 | arg2 = &temp2; | |
3938 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3939 | } | |
3940 | { | |
3941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3942 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3943 | ||
3944 | wxPyEndAllowThreads(__tstate); | |
3945 | if (PyErr_Occurred()) SWIG_fail; | |
3946 | } | |
3947 | { | |
3948 | wxColour * resultptr; | |
3949 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3950 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3951 | } |
3952 | return resultobj; | |
3953 | fail: | |
3954 | return NULL; | |
3955 | } | |
3956 | ||
3957 | ||
c32bde28 | 3958 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3959 | PyObject *resultobj; |
3960 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3961 | wxColour *arg2 = 0 ; | |
3962 | wxColour result; | |
3963 | wxColour temp2 ; | |
3964 | PyObject * obj0 = 0 ; | |
3965 | PyObject * obj1 = 0 ; | |
3966 | char *kwnames[] = { | |
3967 | (char *) "self",(char *) "clr", NULL | |
3968 | }; | |
3969 | ||
3970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, |
3972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3973 | { |
3974 | arg2 = &temp2; | |
3975 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3976 | } | |
3977 | { | |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3979 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3980 | ||
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
3984 | { | |
3985 | wxColour * resultptr; | |
3986 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3987 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3988 | } |
3989 | return resultobj; | |
3990 | fail: | |
3991 | return NULL; | |
3992 | } | |
3993 | ||
3994 | ||
c32bde28 | 3995 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3996 | PyObject *obj; |
3997 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3998 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3999 | Py_INCREF(obj); | |
4000 | return Py_BuildValue((char *)""); | |
4001 | } | |
c32bde28 | 4002 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4003 | PyObject *resultobj; |
4004 | wxHtmlRenderingInfo *result; | |
4005 | char *kwnames[] = { | |
4006 | NULL | |
4007 | }; | |
4008 | ||
4009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
4010 | { | |
4011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4012 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
4013 | ||
4014 | wxPyEndAllowThreads(__tstate); | |
4015 | if (PyErr_Occurred()) SWIG_fail; | |
4016 | } | |
2f4c0a16 | 4017 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1); |
d14a1e28 RD |
4018 | return resultobj; |
4019 | fail: | |
4020 | return NULL; | |
4021 | } | |
4022 | ||
4023 | ||
c32bde28 | 4024 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4025 | PyObject *resultobj; |
4026 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4027 | PyObject * obj0 = 0 ; | |
4028 | char *kwnames[] = { | |
4029 | (char *) "self", NULL | |
4030 | }; | |
4031 | ||
4032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4035 | { |
4036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4037 | delete arg1; | |
4038 | ||
4039 | wxPyEndAllowThreads(__tstate); | |
4040 | if (PyErr_Occurred()) SWIG_fail; | |
4041 | } | |
4042 | Py_INCREF(Py_None); resultobj = Py_None; | |
4043 | return resultobj; | |
4044 | fail: | |
4045 | return NULL; | |
4046 | } | |
4047 | ||
4048 | ||
c32bde28 | 4049 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4050 | PyObject *resultobj; |
4051 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4052 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4053 | PyObject * obj0 = 0 ; | |
4054 | PyObject * obj1 = 0 ; | |
4055 | char *kwnames[] = { | |
4056 | (char *) "self",(char *) "s", NULL | |
4057 | }; | |
4058 | ||
4059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4062 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
4063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4064 | { |
4065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4066 | (arg1)->SetSelection(arg2); | |
4067 | ||
4068 | wxPyEndAllowThreads(__tstate); | |
4069 | if (PyErr_Occurred()) SWIG_fail; | |
4070 | } | |
4071 | Py_INCREF(Py_None); resultobj = Py_None; | |
4072 | return resultobj; | |
4073 | fail: | |
4074 | return NULL; | |
4075 | } | |
4076 | ||
4077 | ||
c32bde28 | 4078 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4079 | PyObject *resultobj; |
4080 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4081 | wxHtmlSelection *result; | |
4082 | PyObject * obj0 = 0 ; | |
4083 | char *kwnames[] = { | |
4084 | (char *) "self", NULL | |
4085 | }; | |
4086 | ||
4087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4090 | { |
4091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4092 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
4093 | ||
4094 | wxPyEndAllowThreads(__tstate); | |
4095 | if (PyErr_Occurred()) SWIG_fail; | |
4096 | } | |
2f4c0a16 | 4097 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0); |
d14a1e28 RD |
4098 | return resultobj; |
4099 | fail: | |
4100 | return NULL; | |
4101 | } | |
4102 | ||
4103 | ||
c32bde28 | 4104 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4105 | PyObject *resultobj; |
4106 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4107 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
4108 | PyObject * obj0 = 0 ; | |
4109 | PyObject * obj1 = 0 ; | |
4110 | char *kwnames[] = { | |
4111 | (char *) "self",(char *) "style", NULL | |
4112 | }; | |
4113 | ||
4114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4117 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle, | |
4118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4119 | { |
4120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4121 | (arg1)->SetStyle(arg2); | |
4122 | ||
4123 | wxPyEndAllowThreads(__tstate); | |
4124 | if (PyErr_Occurred()) SWIG_fail; | |
4125 | } | |
4126 | Py_INCREF(Py_None); resultobj = Py_None; | |
4127 | return resultobj; | |
4128 | fail: | |
4129 | return NULL; | |
4130 | } | |
4131 | ||
4132 | ||
c32bde28 | 4133 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4134 | PyObject *resultobj; |
4135 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4136 | wxHtmlRenderingStyle *result; | |
4137 | PyObject * obj0 = 0 ; | |
4138 | char *kwnames[] = { | |
4139 | (char *) "self", NULL | |
4140 | }; | |
4141 | ||
4142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4145 | { |
4146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4147 | { | |
4148 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
4149 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
4150 | } | |
4151 | ||
4152 | wxPyEndAllowThreads(__tstate); | |
4153 | if (PyErr_Occurred()) SWIG_fail; | |
4154 | } | |
2f4c0a16 | 4155 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0); |
d14a1e28 RD |
4156 | return resultobj; |
4157 | fail: | |
4158 | return NULL; | |
4159 | } | |
4160 | ||
4161 | ||
c32bde28 | 4162 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4163 | PyObject *resultobj; |
4164 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4165 | wxHtmlRenderingState *result; | |
4166 | PyObject * obj0 = 0 ; | |
4167 | char *kwnames[] = { | |
4168 | (char *) "self", NULL | |
4169 | }; | |
4170 | ||
4171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4174 | { |
4175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4176 | { | |
4177 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
4178 | result = (wxHtmlRenderingState *) &_result_ref; | |
4179 | } | |
4180 | ||
4181 | wxPyEndAllowThreads(__tstate); | |
4182 | if (PyErr_Occurred()) SWIG_fail; | |
4183 | } | |
2f4c0a16 | 4184 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0); |
d14a1e28 RD |
4185 | return resultobj; |
4186 | fail: | |
4187 | return NULL; | |
4188 | } | |
4189 | ||
4190 | ||
c32bde28 | 4191 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4192 | PyObject *obj; |
4193 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4194 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
4195 | Py_INCREF(obj); | |
4196 | return Py_BuildValue((char *)""); | |
4197 | } | |
c32bde28 | 4198 | static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4199 | PyObject *resultobj; |
4200 | wxHtmlCell *result; | |
4201 | char *kwnames[] = { | |
4202 | NULL | |
4203 | }; | |
4204 | ||
4205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
4206 | { | |
4207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4208 | result = (wxHtmlCell *)new wxHtmlCell(); | |
4209 | ||
4210 | wxPyEndAllowThreads(__tstate); | |
4211 | if (PyErr_Occurred()) SWIG_fail; | |
4212 | } | |
2f4c0a16 | 4213 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1); |
d14a1e28 RD |
4214 | return resultobj; |
4215 | fail: | |
4216 | return NULL; | |
4217 | } | |
4218 | ||
4219 | ||
c32bde28 | 4220 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4221 | PyObject *resultobj; |
4222 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4223 | int result; | |
4224 | PyObject * obj0 = 0 ; | |
4225 | char *kwnames[] = { | |
4226 | (char *) "self", NULL | |
4227 | }; | |
4228 | ||
4229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4232 | { |
4233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4234 | result = (int)(arg1)->GetPosX(); | |
4235 | ||
4236 | wxPyEndAllowThreads(__tstate); | |
4237 | if (PyErr_Occurred()) SWIG_fail; | |
4238 | } | |
c32bde28 | 4239 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4240 | return resultobj; |
4241 | fail: | |
4242 | return NULL; | |
4243 | } | |
4244 | ||
4245 | ||
c32bde28 | 4246 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4247 | PyObject *resultobj; |
4248 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4249 | int result; | |
4250 | PyObject * obj0 = 0 ; | |
4251 | char *kwnames[] = { | |
4252 | (char *) "self", NULL | |
4253 | }; | |
4254 | ||
4255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4258 | { |
4259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4260 | result = (int)(arg1)->GetPosY(); | |
4261 | ||
4262 | wxPyEndAllowThreads(__tstate); | |
4263 | if (PyErr_Occurred()) SWIG_fail; | |
4264 | } | |
c32bde28 | 4265 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4266 | return resultobj; |
4267 | fail: | |
4268 | return NULL; | |
4269 | } | |
4270 | ||
4271 | ||
c32bde28 | 4272 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4273 | PyObject *resultobj; |
4274 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4275 | int result; | |
4276 | PyObject * obj0 = 0 ; | |
4277 | char *kwnames[] = { | |
4278 | (char *) "self", NULL | |
4279 | }; | |
4280 | ||
4281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4284 | { |
4285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4286 | result = (int)(arg1)->GetWidth(); | |
4287 | ||
4288 | wxPyEndAllowThreads(__tstate); | |
4289 | if (PyErr_Occurred()) SWIG_fail; | |
4290 | } | |
c32bde28 | 4291 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4292 | return resultobj; |
4293 | fail: | |
4294 | return NULL; | |
4295 | } | |
4296 | ||
4297 | ||
c32bde28 | 4298 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4299 | PyObject *resultobj; |
4300 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4301 | int result; | |
4302 | PyObject * obj0 = 0 ; | |
4303 | char *kwnames[] = { | |
4304 | (char *) "self", NULL | |
4305 | }; | |
4306 | ||
4307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4310 | { |
4311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4312 | result = (int)(arg1)->GetHeight(); | |
4313 | ||
4314 | wxPyEndAllowThreads(__tstate); | |
4315 | if (PyErr_Occurred()) SWIG_fail; | |
4316 | } | |
c32bde28 | 4317 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4318 | return resultobj; |
4319 | fail: | |
4320 | return NULL; | |
4321 | } | |
4322 | ||
4323 | ||
c32bde28 | 4324 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4325 | PyObject *resultobj; |
4326 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4327 | int result; | |
4328 | PyObject * obj0 = 0 ; | |
4329 | char *kwnames[] = { | |
4330 | (char *) "self", NULL | |
4331 | }; | |
4332 | ||
4333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4336 | { |
4337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4338 | result = (int)(arg1)->GetDescent(); | |
4339 | ||
4340 | wxPyEndAllowThreads(__tstate); | |
4341 | if (PyErr_Occurred()) SWIG_fail; | |
4342 | } | |
c32bde28 | 4343 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4344 | return resultobj; |
4345 | fail: | |
4346 | return NULL; | |
4347 | } | |
4348 | ||
4349 | ||
c32bde28 | 4350 | static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d00d1b88 RD |
4351 | PyObject *resultobj; |
4352 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4353 | int result; | |
4354 | PyObject * obj0 = 0 ; | |
4355 | char *kwnames[] = { | |
4356 | (char *) "self", NULL | |
4357 | }; | |
4358 | ||
4359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail; | |
4360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4362 | { | |
4363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4364 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
4365 | ||
4366 | wxPyEndAllowThreads(__tstate); | |
4367 | if (PyErr_Occurred()) SWIG_fail; | |
4368 | } | |
c32bde28 | 4369 | resultobj = SWIG_From_int((int)result); |
d00d1b88 RD |
4370 | return resultobj; |
4371 | fail: | |
4372 | return NULL; | |
4373 | } | |
4374 | ||
4375 | ||
c32bde28 | 4376 | static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) { |
cbd72d4f RD |
4377 | PyObject *resultobj; |
4378 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4379 | wxString *result; | |
4380 | PyObject * obj0 = 0 ; | |
4381 | char *kwnames[] = { | |
4382 | (char *) "self", NULL | |
4383 | }; | |
4384 | ||
4385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cbd72d4f RD |
4388 | { |
4389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4390 | { | |
4391 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); | |
4392 | result = (wxString *) &_result_ref; | |
4393 | } | |
4394 | ||
4395 | wxPyEndAllowThreads(__tstate); | |
4396 | if (PyErr_Occurred()) SWIG_fail; | |
4397 | } | |
4398 | { | |
4399 | #if wxUSE_UNICODE | |
4400 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4401 | #else | |
4402 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4403 | #endif | |
4404 | } | |
4405 | return resultobj; | |
4406 | fail: | |
4407 | return NULL; | |
4408 | } | |
4409 | ||
4410 | ||
c32bde28 | 4411 | static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) { |
cbd72d4f RD |
4412 | PyObject *resultobj; |
4413 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4414 | wxString *arg2 = 0 ; | |
ae8162c8 | 4415 | bool temp2 = false ; |
cbd72d4f RD |
4416 | PyObject * obj0 = 0 ; |
4417 | PyObject * obj1 = 0 ; | |
4418 | char *kwnames[] = { | |
4419 | (char *) "self",(char *) "id", NULL | |
4420 | }; | |
4421 | ||
4422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cbd72d4f RD |
4425 | { |
4426 | arg2 = wxString_in_helper(obj1); | |
4427 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4428 | temp2 = true; |
cbd72d4f RD |
4429 | } |
4430 | { | |
4431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4432 | (arg1)->SetId((wxString const &)*arg2); | |
4433 | ||
4434 | wxPyEndAllowThreads(__tstate); | |
4435 | if (PyErr_Occurred()) SWIG_fail; | |
4436 | } | |
4437 | Py_INCREF(Py_None); resultobj = Py_None; | |
4438 | { | |
4439 | if (temp2) | |
4440 | delete arg2; | |
4441 | } | |
4442 | return resultobj; | |
4443 | fail: | |
4444 | { | |
4445 | if (temp2) | |
4446 | delete arg2; | |
4447 | } | |
4448 | return NULL; | |
4449 | } | |
4450 | ||
4451 | ||
c32bde28 | 4452 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4453 | PyObject *resultobj; |
4454 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4455 | int arg2 = (int) 0 ; | |
4456 | int arg3 = (int) 0 ; | |
4457 | wxHtmlLinkInfo *result; | |
4458 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4459 | PyObject * obj1 = 0 ; |
4460 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4461 | char *kwnames[] = { |
4462 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4463 | }; | |
4464 | ||
8edf1c75 | 4465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 4468 | if (obj1) { |
c32bde28 | 4469 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 4470 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
4471 | } |
4472 | if (obj2) { | |
c32bde28 | 4473 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4474 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 4475 | } |
d14a1e28 RD |
4476 | { |
4477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4478 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
4479 | ||
4480 | wxPyEndAllowThreads(__tstate); | |
4481 | if (PyErr_Occurred()) SWIG_fail; | |
4482 | } | |
2f4c0a16 | 4483 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0); |
d14a1e28 RD |
4484 | return resultobj; |
4485 | fail: | |
4486 | return NULL; | |
4487 | } | |
4488 | ||
4489 | ||
c32bde28 | 4490 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4491 | PyObject *resultobj; |
4492 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4493 | wxHtmlCell *result; | |
4494 | PyObject * obj0 = 0 ; | |
4495 | char *kwnames[] = { | |
4496 | (char *) "self", NULL | |
4497 | }; | |
4498 | ||
4499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4502 | { |
4503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4504 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
4505 | ||
4506 | wxPyEndAllowThreads(__tstate); | |
4507 | if (PyErr_Occurred()) SWIG_fail; | |
4508 | } | |
2f4c0a16 | 4509 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4510 | return resultobj; |
4511 | fail: | |
4512 | return NULL; | |
4513 | } | |
4514 | ||
4515 | ||
c32bde28 | 4516 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4517 | PyObject *resultobj; |
4518 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4519 | wxHtmlContainerCell *result; | |
4520 | PyObject * obj0 = 0 ; | |
4521 | char *kwnames[] = { | |
4522 | (char *) "self", NULL | |
4523 | }; | |
4524 | ||
4525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4528 | { |
4529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4530 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
4531 | ||
4532 | wxPyEndAllowThreads(__tstate); | |
4533 | if (PyErr_Occurred()) SWIG_fail; | |
4534 | } | |
2f4c0a16 | 4535 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
4536 | return resultobj; |
4537 | fail: | |
4538 | return NULL; | |
4539 | } | |
4540 | ||
4541 | ||
c32bde28 | 4542 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4543 | PyObject *resultobj; |
4544 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4545 | wxHtmlCell *result; | |
4546 | PyObject * obj0 = 0 ; | |
4547 | char *kwnames[] = { | |
4548 | (char *) "self", NULL | |
4549 | }; | |
4550 | ||
4551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4554 | { |
4555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4556 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
4557 | ||
4558 | wxPyEndAllowThreads(__tstate); | |
4559 | if (PyErr_Occurred()) SWIG_fail; | |
4560 | } | |
2f4c0a16 | 4561 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4562 | return resultobj; |
4563 | fail: | |
4564 | return NULL; | |
4565 | } | |
4566 | ||
4567 | ||
c32bde28 | 4568 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4569 | PyObject *resultobj; |
4570 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4571 | wxCursor result; | |
4572 | PyObject * obj0 = 0 ; | |
4573 | char *kwnames[] = { | |
4574 | (char *) "self", NULL | |
4575 | }; | |
4576 | ||
4577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4578 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4579 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4580 | { |
4581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4582 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
4583 | ||
4584 | wxPyEndAllowThreads(__tstate); | |
4585 | if (PyErr_Occurred()) SWIG_fail; | |
4586 | } | |
4587 | { | |
4588 | wxCursor * resultptr; | |
4589 | resultptr = new wxCursor((wxCursor &) result); | |
2f4c0a16 | 4590 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); |
d14a1e28 RD |
4591 | } |
4592 | return resultobj; | |
4593 | fail: | |
4594 | return NULL; | |
4595 | } | |
4596 | ||
4597 | ||
c32bde28 | 4598 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4599 | PyObject *resultobj; |
4600 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4601 | bool result; | |
4602 | PyObject * obj0 = 0 ; | |
4603 | char *kwnames[] = { | |
4604 | (char *) "self", NULL | |
4605 | }; | |
4606 | ||
4607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4610 | { |
4611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4612 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
4613 | ||
4614 | wxPyEndAllowThreads(__tstate); | |
4615 | if (PyErr_Occurred()) SWIG_fail; | |
4616 | } | |
4f89f6a3 RD |
4617 | { |
4618 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4619 | } | |
d14a1e28 RD |
4620 | return resultobj; |
4621 | fail: | |
4622 | return NULL; | |
4623 | } | |
4624 | ||
4625 | ||
c32bde28 | 4626 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4627 | PyObject *resultobj; |
4628 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4629 | wxHtmlLinkInfo *arg2 = 0 ; | |
4630 | PyObject * obj0 = 0 ; | |
4631 | PyObject * obj1 = 0 ; | |
4632 | char *kwnames[] = { | |
4633 | (char *) "self",(char *) "link", NULL | |
4634 | }; | |
4635 | ||
4636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4639 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
4640 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4641 | SWIG_fail; | |
d14a1e28 | 4642 | if (arg2 == NULL) { |
2f4c0a16 RD |
4643 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4644 | SWIG_fail; | |
d14a1e28 RD |
4645 | } |
4646 | { | |
4647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4648 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
4649 | ||
4650 | wxPyEndAllowThreads(__tstate); | |
4651 | if (PyErr_Occurred()) SWIG_fail; | |
4652 | } | |
4653 | Py_INCREF(Py_None); resultobj = Py_None; | |
4654 | return resultobj; | |
4655 | fail: | |
4656 | return NULL; | |
4657 | } | |
4658 | ||
4659 | ||
c32bde28 | 4660 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4661 | PyObject *resultobj; |
4662 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4663 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4664 | PyObject * obj0 = 0 ; | |
4665 | PyObject * obj1 = 0 ; | |
4666 | char *kwnames[] = { | |
4667 | (char *) "self",(char *) "cell", NULL | |
4668 | }; | |
4669 | ||
4670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4673 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
4674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4675 | { |
4676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4677 | (arg1)->SetNext(arg2); | |
4678 | ||
4679 | wxPyEndAllowThreads(__tstate); | |
4680 | if (PyErr_Occurred()) SWIG_fail; | |
4681 | } | |
4682 | Py_INCREF(Py_None); resultobj = Py_None; | |
4683 | return resultobj; | |
4684 | fail: | |
4685 | return NULL; | |
4686 | } | |
4687 | ||
4688 | ||
c32bde28 | 4689 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4690 | PyObject *resultobj; |
4691 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4692 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4693 | PyObject * obj0 = 0 ; | |
4694 | PyObject * obj1 = 0 ; | |
4695 | char *kwnames[] = { | |
4696 | (char *) "self",(char *) "p", NULL | |
4697 | }; | |
4698 | ||
4699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4702 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
4703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4704 | { |
4705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4706 | (arg1)->SetParent(arg2); | |
4707 | ||
4708 | wxPyEndAllowThreads(__tstate); | |
4709 | if (PyErr_Occurred()) SWIG_fail; | |
4710 | } | |
4711 | Py_INCREF(Py_None); resultobj = Py_None; | |
4712 | return resultobj; | |
4713 | fail: | |
4714 | return NULL; | |
4715 | } | |
4716 | ||
4717 | ||
c32bde28 | 4718 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4719 | PyObject *resultobj; |
4720 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4721 | int arg2 ; | |
4722 | int arg3 ; | |
4723 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4724 | PyObject * obj1 = 0 ; |
4725 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4726 | char *kwnames[] = { |
4727 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4728 | }; | |
4729 | ||
8edf1c75 | 4730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4733 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 4734 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 4735 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4736 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4737 | { |
4738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4739 | (arg1)->SetPos(arg2,arg3); | |
4740 | ||
4741 | wxPyEndAllowThreads(__tstate); | |
4742 | if (PyErr_Occurred()) SWIG_fail; | |
4743 | } | |
4744 | Py_INCREF(Py_None); resultobj = Py_None; | |
4745 | return resultobj; | |
4746 | fail: | |
4747 | return NULL; | |
4748 | } | |
4749 | ||
4750 | ||
c32bde28 | 4751 | static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4752 | PyObject *resultobj; |
4753 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4754 | int arg2 ; | |
4755 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4756 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4757 | char *kwnames[] = { |
4758 | (char *) "self",(char *) "w", NULL | |
4759 | }; | |
4760 | ||
8edf1c75 | 4761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4764 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 4765 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4766 | { |
4767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4768 | (arg1)->Layout(arg2); | |
4769 | ||
4770 | wxPyEndAllowThreads(__tstate); | |
4771 | if (PyErr_Occurred()) SWIG_fail; | |
4772 | } | |
4773 | Py_INCREF(Py_None); resultobj = Py_None; | |
4774 | return resultobj; | |
4775 | fail: | |
4776 | return NULL; | |
4777 | } | |
4778 | ||
4779 | ||
c32bde28 | 4780 | static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4781 | PyObject *resultobj; |
4782 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4783 | wxDC *arg2 = 0 ; | |
4784 | int arg3 ; | |
4785 | int arg4 ; | |
4786 | int arg5 ; | |
4787 | int arg6 ; | |
4788 | wxHtmlRenderingInfo *arg7 = 0 ; | |
4789 | PyObject * obj0 = 0 ; | |
4790 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4791 | PyObject * obj2 = 0 ; |
4792 | PyObject * obj3 = 0 ; | |
4793 | PyObject * obj4 = 0 ; | |
4794 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
4795 | PyObject * obj6 = 0 ; |
4796 | char *kwnames[] = { | |
4797 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
4798 | }; | |
4799 | ||
8edf1c75 | 4800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
4801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4803 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4804 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4805 | SWIG_fail; | |
d14a1e28 | 4806 | if (arg2 == NULL) { |
2f4c0a16 RD |
4807 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4808 | SWIG_fail; | |
4809 | } | |
c32bde28 | 4810 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4811 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 4812 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 4813 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 4814 | arg5 = (int)SWIG_As_int(obj4); |
2f4c0a16 | 4815 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 4816 | arg6 = (int)SWIG_As_int(obj5); |
2f4c0a16 RD |
4817 | if (PyErr_Occurred()) SWIG_fail; |
4818 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4819 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4820 | SWIG_fail; | |
d14a1e28 | 4821 | if (arg7 == NULL) { |
2f4c0a16 RD |
4822 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4823 | SWIG_fail; | |
d14a1e28 RD |
4824 | } |
4825 | { | |
4826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4827 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4828 | ||
4829 | wxPyEndAllowThreads(__tstate); | |
4830 | if (PyErr_Occurred()) SWIG_fail; | |
4831 | } | |
4832 | Py_INCREF(Py_None); resultobj = Py_None; | |
4833 | return resultobj; | |
4834 | fail: | |
4835 | return NULL; | |
4836 | } | |
4837 | ||
4838 | ||
c32bde28 | 4839 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4840 | PyObject *resultobj; |
4841 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4842 | wxDC *arg2 = 0 ; | |
4843 | int arg3 ; | |
4844 | int arg4 ; | |
4845 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4846 | PyObject * obj0 = 0 ; | |
4847 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4848 | PyObject * obj2 = 0 ; |
4849 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4850 | PyObject * obj4 = 0 ; |
4851 | char *kwnames[] = { | |
4852 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4853 | }; | |
4854 | ||
8edf1c75 | 4855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
4856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4858 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4859 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4860 | SWIG_fail; | |
d14a1e28 | 4861 | if (arg2 == NULL) { |
2f4c0a16 RD |
4862 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4863 | SWIG_fail; | |
4864 | } | |
c32bde28 | 4865 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4866 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 4867 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 RD |
4868 | if (PyErr_Occurred()) SWIG_fail; |
4869 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4870 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4871 | SWIG_fail; | |
d14a1e28 | 4872 | if (arg5 == NULL) { |
2f4c0a16 RD |
4873 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4874 | SWIG_fail; | |
d14a1e28 RD |
4875 | } |
4876 | { | |
4877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4878 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4879 | ||
4880 | wxPyEndAllowThreads(__tstate); | |
4881 | if (PyErr_Occurred()) SWIG_fail; | |
4882 | } | |
4883 | Py_INCREF(Py_None); resultobj = Py_None; | |
4884 | return resultobj; | |
4885 | fail: | |
4886 | return NULL; | |
4887 | } | |
4888 | ||
4889 | ||
c32bde28 | 4890 | static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4891 | PyObject *resultobj; |
4892 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4893 | int arg2 ; | |
4894 | void *arg3 = (void *) 0 ; | |
4895 | wxHtmlCell *result; | |
4896 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4897 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4898 | PyObject * obj2 = 0 ; |
4899 | char *kwnames[] = { | |
4900 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4901 | }; | |
4902 | ||
8edf1c75 | 4903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4906 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 RD |
4907 | if (PyErr_Occurred()) SWIG_fail; |
4908 | if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4909 | { |
4910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4911 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4912 | ||
4913 | wxPyEndAllowThreads(__tstate); | |
4914 | if (PyErr_Occurred()) SWIG_fail; | |
4915 | } | |
2f4c0a16 | 4916 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4917 | return resultobj; |
4918 | fail: | |
4919 | return NULL; | |
4920 | } | |
4921 | ||
4922 | ||
c32bde28 | 4923 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4924 | PyObject *resultobj; |
4925 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4926 | int *arg2 = (int *) 0 ; | |
4927 | bool result; | |
4928 | int temp2 ; | |
c32bde28 | 4929 | int res2 = 0 ; |
d14a1e28 RD |
4930 | PyObject * obj0 = 0 ; |
4931 | PyObject * obj1 = 0 ; | |
4932 | char *kwnames[] = { | |
4933 | (char *) "self",(char *) "INOUT", NULL | |
4934 | }; | |
4935 | ||
4936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 4939 | { |
c32bde28 RD |
4940 | if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) { |
4941 | temp2 = SWIG_As_int(obj1); | |
4942 | if (PyErr_Occurred()) SWIG_fail; | |
4943 | arg2 = &temp2; | |
4944 | res2 = SWIG_NEWOBJ; | |
4945 | } | |
d14a1e28 RD |
4946 | } |
4947 | { | |
4948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4949 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4950 | ||
4951 | wxPyEndAllowThreads(__tstate); | |
4952 | if (PyErr_Occurred()) SWIG_fail; | |
4953 | } | |
4f89f6a3 RD |
4954 | { |
4955 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4956 | } | |
c32bde28 RD |
4957 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
4958 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
4959 | return resultobj; |
4960 | fail: | |
4961 | return NULL; | |
4962 | } | |
4963 | ||
4964 | ||
c32bde28 | 4965 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4966 | PyObject *resultobj; |
4967 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4968 | bool arg2 ; | |
4969 | PyObject * obj0 = 0 ; | |
4970 | PyObject * obj1 = 0 ; | |
4971 | char *kwnames[] = { | |
4972 | (char *) "self",(char *) "can", NULL | |
4973 | }; | |
4974 | ||
4975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4978 | arg2 = (bool)SWIG_As_bool(obj1); |
2f4c0a16 | 4979 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4980 | { |
4981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4982 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4983 | ||
4984 | wxPyEndAllowThreads(__tstate); | |
4985 | if (PyErr_Occurred()) SWIG_fail; | |
4986 | } | |
4987 | Py_INCREF(Py_None); resultobj = Py_None; | |
4988 | return resultobj; | |
4989 | fail: | |
4990 | return NULL; | |
4991 | } | |
4992 | ||
4993 | ||
c32bde28 | 4994 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4995 | PyObject *resultobj; |
4996 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4997 | bool result; | |
4998 | PyObject * obj0 = 0 ; | |
4999 | char *kwnames[] = { | |
5000 | (char *) "self", NULL | |
5001 | }; | |
5002 | ||
5003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5006 | { |
5007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5008 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
5009 | ||
5010 | wxPyEndAllowThreads(__tstate); | |
5011 | if (PyErr_Occurred()) SWIG_fail; | |
5012 | } | |
4f89f6a3 RD |
5013 | { |
5014 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5015 | } | |
d14a1e28 RD |
5016 | return resultobj; |
5017 | fail: | |
5018 | return NULL; | |
5019 | } | |
5020 | ||
5021 | ||
c32bde28 | 5022 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5023 | PyObject *resultobj; |
5024 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5025 | bool result; | |
5026 | PyObject * obj0 = 0 ; | |
5027 | char *kwnames[] = { | |
5028 | (char *) "self", NULL | |
5029 | }; | |
5030 | ||
5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5034 | { |
5035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5036 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
5037 | ||
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
4f89f6a3 RD |
5041 | { |
5042 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5043 | } | |
d14a1e28 RD |
5044 | return resultobj; |
5045 | fail: | |
5046 | return NULL; | |
5047 | } | |
5048 | ||
5049 | ||
c32bde28 | 5050 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5051 | PyObject *resultobj; |
5052 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
423f194a RD |
5053 | int arg2 ; |
5054 | int arg3 ; | |
d14a1e28 RD |
5055 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
5056 | wxHtmlCell *result; | |
5057 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5058 | PyObject * obj1 = 0 ; |
5059 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5060 | PyObject * obj3 = 0 ; |
5061 | char *kwnames[] = { | |
5062 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
5063 | }; | |
5064 | ||
8edf1c75 | 5065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5068 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5069 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 5070 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5071 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5072 | if (obj3) { |
c32bde28 | 5073 | arg4 = (unsigned int)SWIG_As_unsigned_SS_int(obj3); |
2f4c0a16 | 5074 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5075 | } |
5076 | { | |
5077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5078 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
5079 | ||
5080 | wxPyEndAllowThreads(__tstate); | |
5081 | if (PyErr_Occurred()) SWIG_fail; | |
5082 | } | |
2f4c0a16 | 5083 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5084 | return resultobj; |
5085 | fail: | |
5086 | return NULL; | |
5087 | } | |
5088 | ||
5089 | ||
c32bde28 | 5090 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5091 | PyObject *resultobj; |
5092 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5093 | wxPoint result; | |
5094 | PyObject * obj0 = 0 ; | |
5095 | char *kwnames[] = { | |
5096 | (char *) "self", NULL | |
5097 | }; | |
5098 | ||
5099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5102 | { |
5103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5104 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
5105 | ||
5106 | wxPyEndAllowThreads(__tstate); | |
5107 | if (PyErr_Occurred()) SWIG_fail; | |
5108 | } | |
5109 | { | |
5110 | wxPoint * resultptr; | |
5111 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 5112 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
5113 | } |
5114 | return resultobj; | |
5115 | fail: | |
5116 | return NULL; | |
5117 | } | |
5118 | ||
5119 | ||
c32bde28 | 5120 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5121 | PyObject *resultobj; |
5122 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5123 | wxHtmlCell *result; | |
5124 | PyObject * obj0 = 0 ; | |
5125 | char *kwnames[] = { | |
5126 | (char *) "self", NULL | |
5127 | }; | |
5128 | ||
5129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5130 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5132 | { |
5133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5134 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
5135 | ||
5136 | wxPyEndAllowThreads(__tstate); | |
5137 | if (PyErr_Occurred()) SWIG_fail; | |
5138 | } | |
2f4c0a16 | 5139 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5140 | return resultobj; |
5141 | fail: | |
5142 | return NULL; | |
5143 | } | |
5144 | ||
5145 | ||
c32bde28 | 5146 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5147 | PyObject *resultobj; |
5148 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5149 | wxHtmlCell *result; | |
5150 | PyObject * obj0 = 0 ; | |
5151 | char *kwnames[] = { | |
5152 | (char *) "self", NULL | |
5153 | }; | |
5154 | ||
5155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5158 | { |
5159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5160 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
5161 | ||
5162 | wxPyEndAllowThreads(__tstate); | |
5163 | if (PyErr_Occurred()) SWIG_fail; | |
5164 | } | |
2f4c0a16 | 5165 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5166 | return resultobj; |
5167 | fail: | |
5168 | return NULL; | |
5169 | } | |
5170 | ||
5171 | ||
c32bde28 | 5172 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5173 | PyObject *resultobj; |
5174 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5175 | unsigned int result; | |
5176 | PyObject * obj0 = 0 ; | |
5177 | char *kwnames[] = { | |
5178 | (char *) "self", NULL | |
5179 | }; | |
5180 | ||
5181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5184 | { |
5185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5186 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
5187 | ||
5188 | wxPyEndAllowThreads(__tstate); | |
5189 | if (PyErr_Occurred()) SWIG_fail; | |
5190 | } | |
c32bde28 | 5191 | resultobj = SWIG_From_unsigned_SS_int((unsigned int)result); |
d14a1e28 RD |
5192 | return resultobj; |
5193 | fail: | |
5194 | return NULL; | |
5195 | } | |
5196 | ||
5197 | ||
c32bde28 | 5198 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5199 | PyObject *resultobj; |
5200 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5201 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5202 | bool result; | |
5203 | PyObject * obj0 = 0 ; | |
5204 | PyObject * obj1 = 0 ; | |
5205 | char *kwnames[] = { | |
5206 | (char *) "self",(char *) "cell", NULL | |
5207 | }; | |
5208 | ||
5209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5212 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5214 | { |
5215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5216 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
5217 | ||
5218 | wxPyEndAllowThreads(__tstate); | |
5219 | if (PyErr_Occurred()) SWIG_fail; | |
5220 | } | |
4f89f6a3 RD |
5221 | { |
5222 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5223 | } | |
d14a1e28 RD |
5224 | return resultobj; |
5225 | fail: | |
5226 | return NULL; | |
5227 | } | |
5228 | ||
5229 | ||
c32bde28 | 5230 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5231 | PyObject *resultobj; |
5232 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5233 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
5234 | wxString result; | |
5235 | PyObject * obj0 = 0 ; | |
5236 | PyObject * obj1 = 0 ; | |
5237 | char *kwnames[] = { | |
5238 | (char *) "self",(char *) "sel", NULL | |
5239 | }; | |
5240 | ||
5241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5244 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
5245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5246 | { |
5247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5248 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
5249 | ||
5250 | wxPyEndAllowThreads(__tstate); | |
5251 | if (PyErr_Occurred()) SWIG_fail; | |
5252 | } | |
5253 | { | |
5254 | #if wxUSE_UNICODE | |
5255 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5256 | #else | |
5257 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5258 | #endif | |
5259 | } | |
5260 | return resultobj; | |
5261 | fail: | |
5262 | return NULL; | |
5263 | } | |
5264 | ||
5265 | ||
c32bde28 | 5266 | static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5267 | PyObject *obj; |
5268 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5269 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
5270 | Py_INCREF(obj); | |
5271 | return Py_BuildValue((char *)""); | |
5272 | } | |
c32bde28 | 5273 | static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5274 | PyObject *resultobj; |
5275 | wxString *arg1 = 0 ; | |
5276 | wxDC *arg2 = 0 ; | |
5277 | wxHtmlWordCell *result; | |
ae8162c8 | 5278 | bool temp1 = false ; |
d14a1e28 RD |
5279 | PyObject * obj0 = 0 ; |
5280 | PyObject * obj1 = 0 ; | |
5281 | char *kwnames[] = { | |
5282 | (char *) "word",(char *) "dc", NULL | |
5283 | }; | |
5284 | ||
5285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
5286 | { | |
5287 | arg1 = wxString_in_helper(obj0); | |
5288 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 5289 | temp1 = true; |
d14a1e28 | 5290 | } |
2f4c0a16 RD |
5291 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, |
5292 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5293 | SWIG_fail; | |
d14a1e28 | 5294 | if (arg2 == NULL) { |
2f4c0a16 RD |
5295 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5296 | SWIG_fail; | |
d14a1e28 RD |
5297 | } |
5298 | { | |
5299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5300 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
5301 | ||
5302 | wxPyEndAllowThreads(__tstate); | |
5303 | if (PyErr_Occurred()) SWIG_fail; | |
5304 | } | |
2f4c0a16 | 5305 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1); |
d14a1e28 RD |
5306 | { |
5307 | if (temp1) | |
5308 | delete arg1; | |
5309 | } | |
5310 | return resultobj; | |
5311 | fail: | |
5312 | { | |
5313 | if (temp1) | |
5314 | delete arg1; | |
5315 | } | |
5316 | return NULL; | |
5317 | } | |
5318 | ||
5319 | ||
c32bde28 | 5320 | static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5321 | PyObject *obj; |
5322 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5323 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
5324 | Py_INCREF(obj); | |
5325 | return Py_BuildValue((char *)""); | |
5326 | } | |
c32bde28 | 5327 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5328 | PyObject *resultobj; |
5329 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5330 | wxHtmlContainerCell *result; | |
5331 | PyObject * obj0 = 0 ; | |
5332 | char *kwnames[] = { | |
5333 | (char *) "parent", NULL | |
5334 | }; | |
5335 | ||
5336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5339 | { |
5340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5341 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
5342 | ||
5343 | wxPyEndAllowThreads(__tstate); | |
5344 | if (PyErr_Occurred()) SWIG_fail; | |
5345 | } | |
2f4c0a16 | 5346 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1); |
d14a1e28 RD |
5347 | return resultobj; |
5348 | fail: | |
5349 | return NULL; | |
5350 | } | |
5351 | ||
5352 | ||
c32bde28 | 5353 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5354 | PyObject *resultobj; |
5355 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5356 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5357 | PyObject * obj0 = 0 ; | |
5358 | PyObject * obj1 = 0 ; | |
5359 | char *kwnames[] = { | |
5360 | (char *) "self",(char *) "cell", NULL | |
5361 | }; | |
5362 | ||
5363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5366 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5368 | { |
5369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5370 | (arg1)->InsertCell(arg2); | |
5371 | ||
5372 | wxPyEndAllowThreads(__tstate); | |
5373 | if (PyErr_Occurred()) SWIG_fail; | |
5374 | } | |
5375 | Py_INCREF(Py_None); resultobj = Py_None; | |
5376 | return resultobj; | |
5377 | fail: | |
5378 | return NULL; | |
5379 | } | |
5380 | ||
5381 | ||
c32bde28 | 5382 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5383 | PyObject *resultobj; |
5384 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5385 | int arg2 ; | |
5386 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5387 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5388 | char *kwnames[] = { |
5389 | (char *) "self",(char *) "al", NULL | |
5390 | }; | |
5391 | ||
8edf1c75 | 5392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5395 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5396 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5397 | { |
5398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5399 | (arg1)->SetAlignHor(arg2); | |
5400 | ||
5401 | wxPyEndAllowThreads(__tstate); | |
5402 | if (PyErr_Occurred()) SWIG_fail; | |
5403 | } | |
5404 | Py_INCREF(Py_None); resultobj = Py_None; | |
5405 | return resultobj; | |
5406 | fail: | |
5407 | return NULL; | |
5408 | } | |
5409 | ||
5410 | ||
c32bde28 | 5411 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5412 | PyObject *resultobj; |
5413 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5414 | int result; | |
5415 | PyObject * obj0 = 0 ; | |
5416 | char *kwnames[] = { | |
5417 | (char *) "self", NULL | |
5418 | }; | |
5419 | ||
5420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5421 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5422 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5423 | { |
5424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5425 | result = (int)(arg1)->GetAlignHor(); | |
5426 | ||
5427 | wxPyEndAllowThreads(__tstate); | |
5428 | if (PyErr_Occurred()) SWIG_fail; | |
5429 | } | |
c32bde28 | 5430 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5431 | return resultobj; |
5432 | fail: | |
5433 | return NULL; | |
5434 | } | |
5435 | ||
5436 | ||
c32bde28 | 5437 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5438 | PyObject *resultobj; |
5439 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5440 | int arg2 ; | |
5441 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5442 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5443 | char *kwnames[] = { |
5444 | (char *) "self",(char *) "al", NULL | |
5445 | }; | |
5446 | ||
8edf1c75 | 5447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5450 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5451 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5452 | { |
5453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5454 | (arg1)->SetAlignVer(arg2); | |
5455 | ||
5456 | wxPyEndAllowThreads(__tstate); | |
5457 | if (PyErr_Occurred()) SWIG_fail; | |
5458 | } | |
5459 | Py_INCREF(Py_None); resultobj = Py_None; | |
5460 | return resultobj; | |
5461 | fail: | |
5462 | return NULL; | |
5463 | } | |
5464 | ||
5465 | ||
c32bde28 | 5466 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5467 | PyObject *resultobj; |
5468 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5469 | int result; | |
5470 | PyObject * obj0 = 0 ; | |
5471 | char *kwnames[] = { | |
5472 | (char *) "self", NULL | |
5473 | }; | |
5474 | ||
5475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5478 | { |
5479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5480 | result = (int)(arg1)->GetAlignVer(); | |
5481 | ||
5482 | wxPyEndAllowThreads(__tstate); | |
5483 | if (PyErr_Occurred()) SWIG_fail; | |
5484 | } | |
c32bde28 | 5485 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5486 | return resultobj; |
5487 | fail: | |
5488 | return NULL; | |
5489 | } | |
5490 | ||
5491 | ||
c32bde28 | 5492 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5493 | PyObject *resultobj; |
5494 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5495 | int arg2 ; | |
5496 | int arg3 ; | |
5497 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
5498 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5499 | PyObject * obj1 = 0 ; |
5500 | PyObject * obj2 = 0 ; | |
5501 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5502 | char *kwnames[] = { |
5503 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
5504 | }; | |
5505 | ||
8edf1c75 | 5506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5509 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5510 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 5511 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5512 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5513 | if (obj3) { |
c32bde28 | 5514 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 5515 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5516 | } |
d14a1e28 RD |
5517 | { |
5518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5519 | (arg1)->SetIndent(arg2,arg3,arg4); | |
5520 | ||
5521 | wxPyEndAllowThreads(__tstate); | |
5522 | if (PyErr_Occurred()) SWIG_fail; | |
5523 | } | |
5524 | Py_INCREF(Py_None); resultobj = Py_None; | |
5525 | return resultobj; | |
5526 | fail: | |
5527 | return NULL; | |
5528 | } | |
5529 | ||
5530 | ||
c32bde28 | 5531 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5532 | PyObject *resultobj; |
5533 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5534 | int arg2 ; | |
5535 | int result; | |
5536 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5537 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5538 | char *kwnames[] = { |
5539 | (char *) "self",(char *) "ind", NULL | |
5540 | }; | |
5541 | ||
8edf1c75 | 5542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5545 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5546 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5547 | { |
5548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5549 | result = (int)(arg1)->GetIndent(arg2); | |
5550 | ||
5551 | wxPyEndAllowThreads(__tstate); | |
5552 | if (PyErr_Occurred()) SWIG_fail; | |
5553 | } | |
c32bde28 | 5554 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5555 | return resultobj; |
5556 | fail: | |
5557 | return NULL; | |
5558 | } | |
5559 | ||
5560 | ||
c32bde28 | 5561 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5562 | PyObject *resultobj; |
5563 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5564 | int arg2 ; | |
5565 | int result; | |
5566 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5567 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5568 | char *kwnames[] = { |
5569 | (char *) "self",(char *) "ind", NULL | |
5570 | }; | |
5571 | ||
8edf1c75 | 5572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5575 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5576 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5577 | { |
5578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5579 | result = (int)(arg1)->GetIndentUnits(arg2); | |
5580 | ||
5581 | wxPyEndAllowThreads(__tstate); | |
5582 | if (PyErr_Occurred()) SWIG_fail; | |
5583 | } | |
c32bde28 | 5584 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5585 | return resultobj; |
5586 | fail: | |
5587 | return NULL; | |
5588 | } | |
5589 | ||
5590 | ||
c32bde28 | 5591 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5592 | PyObject *resultobj; |
5593 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5594 | wxHtmlTag *arg2 = 0 ; | |
5595 | PyObject * obj0 = 0 ; | |
5596 | PyObject * obj1 = 0 ; | |
5597 | char *kwnames[] = { | |
5598 | (char *) "self",(char *) "tag", NULL | |
5599 | }; | |
5600 | ||
5601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5604 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5605 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5606 | SWIG_fail; | |
d14a1e28 | 5607 | if (arg2 == NULL) { |
2f4c0a16 RD |
5608 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5609 | SWIG_fail; | |
d14a1e28 RD |
5610 | } |
5611 | { | |
5612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5613 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
5614 | ||
5615 | wxPyEndAllowThreads(__tstate); | |
5616 | if (PyErr_Occurred()) SWIG_fail; | |
5617 | } | |
5618 | Py_INCREF(Py_None); resultobj = Py_None; | |
5619 | return resultobj; | |
5620 | fail: | |
5621 | return NULL; | |
5622 | } | |
5623 | ||
5624 | ||
c32bde28 | 5625 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5626 | PyObject *resultobj; |
5627 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5628 | int arg2 ; | |
5629 | int arg3 ; | |
5630 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5631 | PyObject * obj1 = 0 ; |
5632 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5633 | char *kwnames[] = { |
5634 | (char *) "self",(char *) "w",(char *) "units", NULL | |
5635 | }; | |
5636 | ||
8edf1c75 | 5637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5640 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5641 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 5642 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5643 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5644 | { |
5645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5646 | (arg1)->SetWidthFloat(arg2,arg3); | |
5647 | ||
5648 | wxPyEndAllowThreads(__tstate); | |
5649 | if (PyErr_Occurred()) SWIG_fail; | |
5650 | } | |
5651 | Py_INCREF(Py_None); resultobj = Py_None; | |
5652 | return resultobj; | |
5653 | fail: | |
5654 | return NULL; | |
5655 | } | |
5656 | ||
5657 | ||
c32bde28 | 5658 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5659 | PyObject *resultobj; |
5660 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5661 | wxHtmlTag *arg2 = 0 ; | |
5662 | PyObject * obj0 = 0 ; | |
5663 | PyObject * obj1 = 0 ; | |
5664 | char *kwnames[] = { | |
5665 | (char *) "self",(char *) "tag", NULL | |
5666 | }; | |
5667 | ||
5668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5671 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5672 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5673 | SWIG_fail; | |
d14a1e28 | 5674 | if (arg2 == NULL) { |
2f4c0a16 RD |
5675 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5676 | SWIG_fail; | |
d14a1e28 RD |
5677 | } |
5678 | { | |
5679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5680 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
5681 | ||
5682 | wxPyEndAllowThreads(__tstate); | |
5683 | if (PyErr_Occurred()) SWIG_fail; | |
5684 | } | |
5685 | Py_INCREF(Py_None); resultobj = Py_None; | |
5686 | return resultobj; | |
5687 | fail: | |
5688 | return NULL; | |
5689 | } | |
5690 | ||
5691 | ||
c32bde28 | 5692 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5693 | PyObject *resultobj; |
5694 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5695 | int arg2 ; | |
5696 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
5697 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5698 | PyObject * obj1 = 0 ; |
5699 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5700 | char *kwnames[] = { |
5701 | (char *) "self",(char *) "h",(char *) "align", NULL | |
5702 | }; | |
5703 | ||
8edf1c75 | 5704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5707 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5708 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5709 | if (obj2) { |
c32bde28 | 5710 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5711 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5712 | } |
d14a1e28 RD |
5713 | { |
5714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5715 | (arg1)->SetMinHeight(arg2,arg3); | |
5716 | ||
5717 | wxPyEndAllowThreads(__tstate); | |
5718 | if (PyErr_Occurred()) SWIG_fail; | |
5719 | } | |
5720 | Py_INCREF(Py_None); resultobj = Py_None; | |
5721 | return resultobj; | |
5722 | fail: | |
5723 | return NULL; | |
5724 | } | |
5725 | ||
5726 | ||
c32bde28 | 5727 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5728 | PyObject *resultobj; |
5729 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5730 | wxColour *arg2 = 0 ; | |
5731 | wxColour temp2 ; | |
5732 | PyObject * obj0 = 0 ; | |
5733 | PyObject * obj1 = 0 ; | |
5734 | char *kwnames[] = { | |
5735 | (char *) "self",(char *) "clr", NULL | |
5736 | }; | |
5737 | ||
5738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5741 | { |
5742 | arg2 = &temp2; | |
5743 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5744 | } | |
5745 | { | |
5746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5747 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
5748 | ||
5749 | wxPyEndAllowThreads(__tstate); | |
5750 | if (PyErr_Occurred()) SWIG_fail; | |
5751 | } | |
5752 | Py_INCREF(Py_None); resultobj = Py_None; | |
5753 | return resultobj; | |
5754 | fail: | |
5755 | return NULL; | |
5756 | } | |
5757 | ||
5758 | ||
c32bde28 | 5759 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5760 | PyObject *resultobj; |
5761 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5762 | wxColour result; | |
5763 | PyObject * obj0 = 0 ; | |
5764 | char *kwnames[] = { | |
5765 | (char *) "self", NULL | |
5766 | }; | |
5767 | ||
5768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5771 | { |
5772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5773 | result = (arg1)->GetBackgroundColour(); | |
5774 | ||
5775 | wxPyEndAllowThreads(__tstate); | |
5776 | if (PyErr_Occurred()) SWIG_fail; | |
5777 | } | |
5778 | { | |
5779 | wxColour * resultptr; | |
5780 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 5781 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5782 | } |
5783 | return resultobj; | |
5784 | fail: | |
5785 | return NULL; | |
5786 | } | |
5787 | ||
5788 | ||
c32bde28 | 5789 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5790 | PyObject *resultobj; |
5791 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5792 | wxColour *arg2 = 0 ; | |
5793 | wxColour *arg3 = 0 ; | |
5794 | wxColour temp2 ; | |
5795 | wxColour temp3 ; | |
5796 | PyObject * obj0 = 0 ; | |
5797 | PyObject * obj1 = 0 ; | |
5798 | PyObject * obj2 = 0 ; | |
5799 | char *kwnames[] = { | |
5800 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
5801 | }; | |
5802 | ||
5803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
5804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5806 | { |
5807 | arg2 = &temp2; | |
5808 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5809 | } | |
5810 | { | |
5811 | arg3 = &temp3; | |
5812 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
5813 | } | |
5814 | { | |
5815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5816 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
5817 | ||
5818 | wxPyEndAllowThreads(__tstate); | |
5819 | if (PyErr_Occurred()) SWIG_fail; | |
5820 | } | |
5821 | Py_INCREF(Py_None); resultobj = Py_None; | |
5822 | return resultobj; | |
5823 | fail: | |
5824 | return NULL; | |
5825 | } | |
5826 | ||
5827 | ||
c32bde28 | 5828 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5829 | PyObject *resultobj; |
5830 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5831 | wxHtmlCell *result; | |
5832 | PyObject * obj0 = 0 ; | |
5833 | char *kwnames[] = { | |
5834 | (char *) "self", NULL | |
5835 | }; | |
5836 | ||
5837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5838 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5839 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5840 | { |
5841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5842 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
5843 | ||
5844 | wxPyEndAllowThreads(__tstate); | |
5845 | if (PyErr_Occurred()) SWIG_fail; | |
5846 | } | |
2f4c0a16 | 5847 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5848 | return resultobj; |
5849 | fail: | |
5850 | return NULL; | |
5851 | } | |
5852 | ||
5853 | ||
c32bde28 | 5854 | static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5855 | PyObject *obj; |
5856 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5857 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
5858 | Py_INCREF(obj); | |
5859 | return Py_BuildValue((char *)""); | |
5860 | } | |
c32bde28 | 5861 | static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5862 | PyObject *resultobj; |
5863 | wxColour arg1 ; | |
5864 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
5865 | wxHtmlColourCell *result; | |
5866 | wxColour *argp1 ; | |
5867 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5868 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5869 | char *kwnames[] = { |
5870 | (char *) "clr",(char *) "flags", NULL | |
5871 | }; | |
5872 | ||
8edf1c75 | 5873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5874 | if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour, |
5875 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5876 | arg1 = *argp1; | |
8edf1c75 | 5877 | if (obj1) { |
c32bde28 | 5878 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5879 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5880 | } |
d14a1e28 RD |
5881 | { |
5882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5883 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
5884 | ||
5885 | wxPyEndAllowThreads(__tstate); | |
5886 | if (PyErr_Occurred()) SWIG_fail; | |
5887 | } | |
2f4c0a16 | 5888 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1); |
d14a1e28 RD |
5889 | return resultobj; |
5890 | fail: | |
5891 | return NULL; | |
5892 | } | |
5893 | ||
5894 | ||
c32bde28 | 5895 | static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5896 | PyObject *obj; |
5897 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5898 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
5899 | Py_INCREF(obj); | |
5900 | return Py_BuildValue((char *)""); | |
5901 | } | |
c32bde28 | 5902 | static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5903 | PyObject *resultobj; |
5904 | wxFont *arg1 = (wxFont *) 0 ; | |
5905 | wxHtmlFontCell *result; | |
5906 | PyObject * obj0 = 0 ; | |
5907 | char *kwnames[] = { | |
5908 | (char *) "font", NULL | |
5909 | }; | |
5910 | ||
5911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont, |
5913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5914 | { |
5915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5916 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
5917 | ||
5918 | wxPyEndAllowThreads(__tstate); | |
5919 | if (PyErr_Occurred()) SWIG_fail; | |
5920 | } | |
2f4c0a16 | 5921 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1); |
d14a1e28 RD |
5922 | return resultobj; |
5923 | fail: | |
5924 | return NULL; | |
5925 | } | |
5926 | ||
5927 | ||
c32bde28 | 5928 | static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5929 | PyObject *obj; |
5930 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5931 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
5932 | Py_INCREF(obj); | |
5933 | return Py_BuildValue((char *)""); | |
5934 | } | |
c32bde28 | 5935 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5936 | PyObject *resultobj; |
5937 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5938 | int arg2 = (int) 0 ; | |
5939 | wxHtmlWidgetCell *result; | |
5940 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5941 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5942 | char *kwnames[] = { |
5943 | (char *) "wnd",(char *) "w", NULL | |
5944 | }; | |
5945 | ||
8edf1c75 | 5946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5949 | if (obj1) { |
c32bde28 | 5950 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5951 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5952 | } |
d14a1e28 RD |
5953 | { |
5954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5955 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5956 | ||
5957 | wxPyEndAllowThreads(__tstate); | |
5958 | if (PyErr_Occurred()) SWIG_fail; | |
5959 | } | |
2f4c0a16 | 5960 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1); |
d14a1e28 RD |
5961 | return resultobj; |
5962 | fail: | |
5963 | return NULL; | |
5964 | } | |
5965 | ||
5966 | ||
c32bde28 | 5967 | static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5968 | PyObject *obj; |
5969 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5970 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5971 | Py_INCREF(obj); | |
5972 | return Py_BuildValue((char *)""); | |
5973 | } | |
c32bde28 | 5974 | static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5975 | PyObject *resultobj; |
5976 | wxPyHtmlFilter *result; | |
5977 | char *kwnames[] = { | |
5978 | NULL | |
5979 | }; | |
5980 | ||
5981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5982 | { | |
5983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5984 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5985 | ||
5986 | wxPyEndAllowThreads(__tstate); | |
5987 | if (PyErr_Occurred()) SWIG_fail; | |
5988 | } | |
2f4c0a16 | 5989 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1); |
d14a1e28 RD |
5990 | return resultobj; |
5991 | fail: | |
5992 | return NULL; | |
5993 | } | |
5994 | ||
5995 | ||
c32bde28 | 5996 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5997 | PyObject *resultobj; |
5998 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5999 | PyObject *arg2 = (PyObject *) 0 ; | |
6000 | PyObject *arg3 = (PyObject *) 0 ; | |
6001 | PyObject * obj0 = 0 ; | |
6002 | PyObject * obj1 = 0 ; | |
6003 | PyObject * obj2 = 0 ; | |
6004 | char *kwnames[] = { | |
6005 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
6006 | }; | |
6007 | ||
6008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, |
6010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6011 | arg2 = obj1; |
6012 | arg3 = obj2; | |
6013 | { | |
6014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6015 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6016 | ||
6017 | wxPyEndAllowThreads(__tstate); | |
6018 | if (PyErr_Occurred()) SWIG_fail; | |
6019 | } | |
6020 | Py_INCREF(Py_None); resultobj = Py_None; | |
6021 | return resultobj; | |
6022 | fail: | |
6023 | return NULL; | |
6024 | } | |
6025 | ||
6026 | ||
c32bde28 | 6027 | static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6028 | PyObject *obj; |
6029 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6030 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
6031 | Py_INCREF(obj); | |
6032 | return Py_BuildValue((char *)""); | |
6033 | } | |
c32bde28 | 6034 | static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6035 | PyObject *resultobj; |
6036 | wxWindow *arg1 = (wxWindow *) 0 ; | |
6037 | int arg2 = (int) -1 ; | |
6038 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
6039 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6040 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6041 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6042 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
6043 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
6044 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6045 | wxPyHtmlWindow *result; | |
6046 | wxPoint temp3 ; | |
6047 | wxSize temp4 ; | |
ae8162c8 | 6048 | bool temp6 = false ; |
d14a1e28 | 6049 | PyObject * obj0 = 0 ; |
8edf1c75 | 6050 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6051 | PyObject * obj2 = 0 ; |
6052 | PyObject * obj3 = 0 ; | |
8edf1c75 | 6053 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6054 | PyObject * obj5 = 0 ; |
6055 | char *kwnames[] = { | |
6056 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6057 | }; | |
6058 | ||
8edf1c75 | 6059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
6060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 6062 | if (obj1) { |
c32bde28 | 6063 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 6064 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6065 | } |
d14a1e28 RD |
6066 | if (obj2) { |
6067 | { | |
6068 | arg3 = &temp3; | |
6069 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6070 | } | |
6071 | } | |
6072 | if (obj3) { | |
6073 | { | |
6074 | arg4 = &temp4; | |
6075 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6076 | } | |
6077 | } | |
8edf1c75 | 6078 | if (obj4) { |
c32bde28 | 6079 | arg5 = (int)SWIG_As_int(obj4); |
2f4c0a16 | 6080 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6081 | } |
d14a1e28 RD |
6082 | if (obj5) { |
6083 | { | |
6084 | arg6 = wxString_in_helper(obj5); | |
6085 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 6086 | temp6 = true; |
d14a1e28 RD |
6087 | } |
6088 | } | |
6089 | { | |
0439c23b | 6090 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6092 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6093 | ||
6094 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6095 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6096 | } |
b0f7404b | 6097 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); |
d14a1e28 RD |
6098 | { |
6099 | if (temp6) | |
6100 | delete arg6; | |
6101 | } | |
6102 | return resultobj; | |
6103 | fail: | |
6104 | { | |
6105 | if (temp6) | |
6106 | delete arg6; | |
6107 | } | |
6108 | return NULL; | |
6109 | } | |
6110 | ||
6111 | ||
c32bde28 | 6112 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6113 | PyObject *resultobj; |
6114 | wxPyHtmlWindow *result; | |
6115 | char *kwnames[] = { | |
6116 | NULL | |
6117 | }; | |
6118 | ||
6119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
6120 | { | |
0439c23b | 6121 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6123 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
6124 | ||
6125 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6126 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6127 | } |
b0f7404b | 6128 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); |
d14a1e28 RD |
6129 | return resultobj; |
6130 | fail: | |
6131 | return NULL; | |
6132 | } | |
6133 | ||
6134 | ||
c32bde28 | 6135 | static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6136 | PyObject *resultobj; |
6137 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6138 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6139 | int arg3 = (int) -1 ; | |
6140 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6141 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6142 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6143 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6144 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
6145 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
6146 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6147 | bool result; | |
6148 | wxPoint temp4 ; | |
6149 | wxSize temp5 ; | |
ae8162c8 | 6150 | bool temp7 = false ; |
d14a1e28 RD |
6151 | PyObject * obj0 = 0 ; |
6152 | PyObject * obj1 = 0 ; | |
8edf1c75 | 6153 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6154 | PyObject * obj3 = 0 ; |
6155 | PyObject * obj4 = 0 ; | |
8edf1c75 | 6156 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6157 | PyObject * obj6 = 0 ; |
6158 | char *kwnames[] = { | |
6159 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6160 | }; | |
6161 | ||
8edf1c75 | 6162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
6163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6165 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 6167 | if (obj2) { |
c32bde28 | 6168 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 6169 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6170 | } |
d14a1e28 RD |
6171 | if (obj3) { |
6172 | { | |
6173 | arg4 = &temp4; | |
6174 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6175 | } | |
6176 | } | |
6177 | if (obj4) { | |
6178 | { | |
6179 | arg5 = &temp5; | |
6180 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6181 | } | |
6182 | } | |
8edf1c75 | 6183 | if (obj5) { |
c32bde28 | 6184 | arg6 = (int)SWIG_As_int(obj5); |
2f4c0a16 | 6185 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6186 | } |
d14a1e28 RD |
6187 | if (obj6) { |
6188 | { | |
6189 | arg7 = wxString_in_helper(obj6); | |
6190 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 6191 | temp7 = true; |
d14a1e28 RD |
6192 | } |
6193 | } | |
6194 | { | |
6195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6196 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6197 | ||
6198 | wxPyEndAllowThreads(__tstate); | |
6199 | if (PyErr_Occurred()) SWIG_fail; | |
6200 | } | |
4f89f6a3 RD |
6201 | { |
6202 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6203 | } | |
d14a1e28 RD |
6204 | { |
6205 | if (temp7) | |
6206 | delete arg7; | |
6207 | } | |
6208 | return resultobj; | |
6209 | fail: | |
6210 | { | |
6211 | if (temp7) | |
6212 | delete arg7; | |
6213 | } | |
6214 | return NULL; | |
6215 | } | |
6216 | ||
6217 | ||
c32bde28 | 6218 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6219 | PyObject *resultobj; |
6220 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6221 | PyObject *arg2 = (PyObject *) 0 ; | |
6222 | PyObject *arg3 = (PyObject *) 0 ; | |
6223 | PyObject * obj0 = 0 ; | |
6224 | PyObject * obj1 = 0 ; | |
6225 | PyObject * obj2 = 0 ; | |
6226 | char *kwnames[] = { | |
6227 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
6228 | }; | |
6229 | ||
6230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6233 | arg2 = obj1; |
6234 | arg3 = obj2; | |
6235 | { | |
6236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6237 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6238 | ||
6239 | wxPyEndAllowThreads(__tstate); | |
6240 | if (PyErr_Occurred()) SWIG_fail; | |
6241 | } | |
6242 | Py_INCREF(Py_None); resultobj = Py_None; | |
6243 | return resultobj; | |
6244 | fail: | |
6245 | return NULL; | |
6246 | } | |
6247 | ||
6248 | ||
c32bde28 | 6249 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6250 | PyObject *resultobj; |
6251 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6252 | wxString *arg2 = 0 ; | |
6253 | bool result; | |
ae8162c8 | 6254 | bool temp2 = false ; |
d14a1e28 RD |
6255 | PyObject * obj0 = 0 ; |
6256 | PyObject * obj1 = 0 ; | |
6257 | char *kwnames[] = { | |
6258 | (char *) "self",(char *) "source", NULL | |
6259 | }; | |
6260 | ||
6261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6264 | { |
6265 | arg2 = wxString_in_helper(obj1); | |
6266 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6267 | temp2 = true; |
d14a1e28 RD |
6268 | } |
6269 | { | |
6270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6271 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
6272 | ||
6273 | wxPyEndAllowThreads(__tstate); | |
6274 | if (PyErr_Occurred()) SWIG_fail; | |
6275 | } | |
4f89f6a3 RD |
6276 | { |
6277 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6278 | } | |
d14a1e28 RD |
6279 | { |
6280 | if (temp2) | |
6281 | delete arg2; | |
6282 | } | |
6283 | return resultobj; | |
6284 | fail: | |
6285 | { | |
6286 | if (temp2) | |
6287 | delete arg2; | |
6288 | } | |
6289 | return NULL; | |
6290 | } | |
6291 | ||
6292 | ||
c32bde28 | 6293 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6294 | PyObject *resultobj; |
6295 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6296 | wxString *arg2 = 0 ; | |
6297 | bool result; | |
ae8162c8 | 6298 | bool temp2 = false ; |
d14a1e28 RD |
6299 | PyObject * obj0 = 0 ; |
6300 | PyObject * obj1 = 0 ; | |
6301 | char *kwnames[] = { | |
6302 | (char *) "self",(char *) "location", NULL | |
6303 | }; | |
6304 | ||
6305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6308 | { |
6309 | arg2 = wxString_in_helper(obj1); | |
6310 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6311 | temp2 = true; |
d14a1e28 RD |
6312 | } |
6313 | { | |
6314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6315 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
6316 | ||
6317 | wxPyEndAllowThreads(__tstate); | |
6318 | if (PyErr_Occurred()) SWIG_fail; | |
6319 | } | |
4f89f6a3 RD |
6320 | { |
6321 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6322 | } | |
d14a1e28 RD |
6323 | { |
6324 | if (temp2) | |
6325 | delete arg2; | |
6326 | } | |
6327 | return resultobj; | |
6328 | fail: | |
6329 | { | |
6330 | if (temp2) | |
6331 | delete arg2; | |
6332 | } | |
6333 | return NULL; | |
6334 | } | |
6335 | ||
6336 | ||
c32bde28 | 6337 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6338 | PyObject *resultobj; |
6339 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6340 | wxString *arg2 = 0 ; | |
6341 | bool result; | |
ae8162c8 | 6342 | bool temp2 = false ; |
d14a1e28 RD |
6343 | PyObject * obj0 = 0 ; |
6344 | PyObject * obj1 = 0 ; | |
6345 | char *kwnames[] = { | |
6346 | (char *) "self",(char *) "filename", NULL | |
6347 | }; | |
6348 | ||
6349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6352 | { |
6353 | arg2 = wxString_in_helper(obj1); | |
6354 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6355 | temp2 = true; |
d14a1e28 RD |
6356 | } |
6357 | { | |
6358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6359 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
6360 | ||
6361 | wxPyEndAllowThreads(__tstate); | |
6362 | if (PyErr_Occurred()) SWIG_fail; | |
6363 | } | |
4f89f6a3 RD |
6364 | { |
6365 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6366 | } | |
d14a1e28 RD |
6367 | { |
6368 | if (temp2) | |
6369 | delete arg2; | |
6370 | } | |
6371 | return resultobj; | |
6372 | fail: | |
6373 | { | |
6374 | if (temp2) | |
6375 | delete arg2; | |
6376 | } | |
6377 | return NULL; | |
6378 | } | |
6379 | ||
6380 | ||
c32bde28 | 6381 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6382 | PyObject *resultobj; |
6383 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6384 | wxString *arg2 = 0 ; | |
6385 | bool result; | |
ae8162c8 | 6386 | bool temp2 = false ; |
d14a1e28 RD |
6387 | PyObject * obj0 = 0 ; |
6388 | PyObject * obj1 = 0 ; | |
6389 | char *kwnames[] = { | |
6390 | (char *) "self",(char *) "source", NULL | |
6391 | }; | |
6392 | ||
6393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6396 | { |
6397 | arg2 = wxString_in_helper(obj1); | |
6398 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6399 | temp2 = true; |
d14a1e28 RD |
6400 | } |
6401 | { | |
6402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6403 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
6404 | ||
6405 | wxPyEndAllowThreads(__tstate); | |
6406 | if (PyErr_Occurred()) SWIG_fail; | |
6407 | } | |
4f89f6a3 RD |
6408 | { |
6409 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6410 | } | |
d14a1e28 RD |
6411 | { |
6412 | if (temp2) | |
6413 | delete arg2; | |
6414 | } | |
6415 | return resultobj; | |
6416 | fail: | |
6417 | { | |
6418 | if (temp2) | |
6419 | delete arg2; | |
6420 | } | |
6421 | return NULL; | |
6422 | } | |
6423 | ||
6424 | ||
c32bde28 | 6425 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6426 | PyObject *resultobj; |
6427 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6428 | wxString result; | |
6429 | PyObject * obj0 = 0 ; | |
6430 | char *kwnames[] = { | |
6431 | (char *) "self", NULL | |
6432 | }; | |
6433 | ||
6434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6437 | { |
6438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6439 | result = (arg1)->GetOpenedPage(); | |
6440 | ||
6441 | wxPyEndAllowThreads(__tstate); | |
6442 | if (PyErr_Occurred()) SWIG_fail; | |
6443 | } | |
6444 | { | |
6445 | #if wxUSE_UNICODE | |
6446 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6447 | #else | |
6448 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6449 | #endif | |
6450 | } | |
6451 | return resultobj; | |
6452 | fail: | |
6453 | return NULL; | |
6454 | } | |
6455 | ||
6456 | ||
c32bde28 | 6457 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6458 | PyObject *resultobj; |
6459 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6460 | wxString result; | |
6461 | PyObject * obj0 = 0 ; | |
6462 | char *kwnames[] = { | |
6463 | (char *) "self", NULL | |
6464 | }; | |
6465 | ||
6466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6469 | { |
6470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6471 | result = (arg1)->GetOpenedAnchor(); | |
6472 | ||
6473 | wxPyEndAllowThreads(__tstate); | |
6474 | if (PyErr_Occurred()) SWIG_fail; | |
6475 | } | |
6476 | { | |
6477 | #if wxUSE_UNICODE | |
6478 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6479 | #else | |
6480 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6481 | #endif | |
6482 | } | |
6483 | return resultobj; | |
6484 | fail: | |
6485 | return NULL; | |
6486 | } | |
6487 | ||
6488 | ||
c32bde28 | 6489 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6490 | PyObject *resultobj; |
6491 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6492 | wxString result; | |
6493 | PyObject * obj0 = 0 ; | |
6494 | char *kwnames[] = { | |
6495 | (char *) "self", NULL | |
6496 | }; | |
6497 | ||
6498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6501 | { |
6502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6503 | result = (arg1)->GetOpenedPageTitle(); | |
6504 | ||
6505 | wxPyEndAllowThreads(__tstate); | |
6506 | if (PyErr_Occurred()) SWIG_fail; | |
6507 | } | |
6508 | { | |
6509 | #if wxUSE_UNICODE | |
6510 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6511 | #else | |
6512 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6513 | #endif | |
6514 | } | |
6515 | return resultobj; | |
6516 | fail: | |
6517 | return NULL; | |
6518 | } | |
6519 | ||
6520 | ||
c32bde28 | 6521 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6522 | PyObject *resultobj; |
6523 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6524 | wxFrame *arg2 = (wxFrame *) 0 ; | |
6525 | wxString *arg3 = 0 ; | |
ae8162c8 | 6526 | bool temp3 = false ; |
d14a1e28 RD |
6527 | PyObject * obj0 = 0 ; |
6528 | PyObject * obj1 = 0 ; | |
6529 | PyObject * obj2 = 0 ; | |
6530 | char *kwnames[] = { | |
6531 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
6532 | }; | |
6533 | ||
6534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6537 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
6538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6539 | { |
6540 | arg3 = wxString_in_helper(obj2); | |
6541 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 6542 | temp3 = true; |
d14a1e28 RD |
6543 | } |
6544 | { | |
6545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6546 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
6547 | ||
6548 | wxPyEndAllowThreads(__tstate); | |
6549 | if (PyErr_Occurred()) SWIG_fail; | |
6550 | } | |
6551 | Py_INCREF(Py_None); resultobj = Py_None; | |
6552 | { | |
6553 | if (temp3) | |
6554 | delete arg3; | |
6555 | } | |
6556 | return resultobj; | |
6557 | fail: | |
6558 | { | |
6559 | if (temp3) | |
6560 | delete arg3; | |
6561 | } | |
6562 | return NULL; | |
6563 | } | |
6564 | ||
6565 | ||
c32bde28 | 6566 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6567 | PyObject *resultobj; |
6568 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6569 | wxFrame *result; | |
6570 | PyObject * obj0 = 0 ; | |
6571 | char *kwnames[] = { | |
6572 | (char *) "self", NULL | |
6573 | }; | |
6574 | ||
6575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6578 | { |
6579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6580 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
6581 | ||
6582 | wxPyEndAllowThreads(__tstate); | |
6583 | if (PyErr_Occurred()) SWIG_fail; | |
6584 | } | |
6585 | { | |
412d302d | 6586 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6587 | } |
6588 | return resultobj; | |
6589 | fail: | |
6590 | return NULL; | |
6591 | } | |
6592 | ||
6593 | ||
c32bde28 | 6594 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6595 | PyObject *resultobj; |
6596 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6597 | int arg2 ; | |
6598 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6599 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6600 | char *kwnames[] = { |
6601 | (char *) "self",(char *) "bar", NULL | |
6602 | }; | |
6603 | ||
8edf1c75 | 6604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6607 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 6608 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6609 | { |
6610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6611 | (arg1)->SetRelatedStatusBar(arg2); | |
6612 | ||
6613 | wxPyEndAllowThreads(__tstate); | |
6614 | if (PyErr_Occurred()) SWIG_fail; | |
6615 | } | |
6616 | Py_INCREF(Py_None); resultobj = Py_None; | |
6617 | return resultobj; | |
6618 | fail: | |
6619 | return NULL; | |
6620 | } | |
6621 | ||
6622 | ||
c32bde28 | 6623 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6624 | PyObject *resultobj; |
6625 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6626 | wxString arg2 ; | |
6627 | wxString arg3 ; | |
6628 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6629 | PyObject * obj0 = 0 ; |
6630 | PyObject * obj1 = 0 ; | |
6631 | PyObject * obj2 = 0 ; | |
6632 | PyObject * obj3 = 0 ; | |
6633 | char *kwnames[] = { | |
6634 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6635 | }; | |
6636 | ||
6637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
6638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
6640 | { |
6641 | wxString* sptr = wxString_in_helper(obj1); | |
6642 | if (sptr == NULL) SWIG_fail; | |
6643 | arg2 = *sptr; | |
6644 | delete sptr; | |
6645 | } | |
6646 | { | |
6647 | wxString* sptr = wxString_in_helper(obj2); | |
6648 | if (sptr == NULL) SWIG_fail; | |
6649 | arg3 = *sptr; | |
6650 | delete sptr; | |
6651 | } | |
d14a1e28 RD |
6652 | if (obj3) { |
6653 | arg4 = obj3; | |
6654 | } | |
6655 | { | |
6656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6657 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
6658 | ||
6659 | wxPyEndAllowThreads(__tstate); | |
6660 | if (PyErr_Occurred()) SWIG_fail; | |
6661 | } | |
6662 | Py_INCREF(Py_None); resultobj = Py_None; | |
6663 | return resultobj; | |
6664 | fail: | |
6665 | return NULL; | |
6666 | } | |
6667 | ||
6668 | ||
ae8162c8 | 6669 | static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
6670 | PyObject *resultobj; |
6671 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6672 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
6673 | wxString const &arg3_defvalue = wxPyEmptyString ; |
6674 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
6675 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
6676 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
6677 | bool temp3 = false ; | |
6678 | bool temp4 = false ; | |
30ee79f7 RD |
6679 | PyObject * obj0 = 0 ; |
6680 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
6681 | PyObject * obj2 = 0 ; |
6682 | PyObject * obj3 = 0 ; | |
30ee79f7 | 6683 | char *kwnames[] = { |
ae8162c8 | 6684 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
6685 | }; |
6686 | ||
ae8162c8 | 6687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
30ee79f7 RD |
6688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6690 | if (obj1) { | |
c32bde28 | 6691 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
6692 | if (PyErr_Occurred()) SWIG_fail; |
6693 | } | |
ae8162c8 RD |
6694 | if (obj2) { |
6695 | { | |
6696 | arg3 = wxString_in_helper(obj2); | |
6697 | if (arg3 == NULL) SWIG_fail; | |
6698 | temp3 = true; | |
6699 | } | |
6700 | } | |
6701 | if (obj3) { | |
6702 | { | |
6703 | arg4 = wxString_in_helper(obj3); | |
6704 | if (arg4 == NULL) SWIG_fail; | |
6705 | temp4 = true; | |
6706 | } | |
6707 | } | |
30ee79f7 RD |
6708 | { |
6709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 6710 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
6711 | |
6712 | wxPyEndAllowThreads(__tstate); | |
6713 | if (PyErr_Occurred()) SWIG_fail; | |
6714 | } | |
6715 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
6716 | { |
6717 | if (temp3) | |
6718 | delete arg3; | |
6719 | } | |
6720 | { | |
6721 | if (temp4) | |
6722 | delete arg4; | |
6723 | } | |
30ee79f7 RD |
6724 | return resultobj; |
6725 | fail: | |
ae8162c8 RD |
6726 | { |
6727 | if (temp3) | |
6728 | delete arg3; | |
6729 | } | |
6730 | { | |
6731 | if (temp4) | |
6732 | delete arg4; | |
6733 | } | |
30ee79f7 RD |
6734 | return NULL; |
6735 | } | |
6736 | ||
6737 | ||
c32bde28 | 6738 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6739 | PyObject *resultobj; |
6740 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6741 | wxString *arg2 = 0 ; | |
ae8162c8 | 6742 | bool temp2 = false ; |
d14a1e28 RD |
6743 | PyObject * obj0 = 0 ; |
6744 | PyObject * obj1 = 0 ; | |
6745 | char *kwnames[] = { | |
6746 | (char *) "self",(char *) "title", NULL | |
6747 | }; | |
6748 | ||
6749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6752 | { |
6753 | arg2 = wxString_in_helper(obj1); | |
6754 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 6755 | temp2 = true; |
d14a1e28 RD |
6756 | } |
6757 | { | |
6758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6759 | (arg1)->SetTitle((wxString const &)*arg2); | |
6760 | ||
6761 | wxPyEndAllowThreads(__tstate); | |
6762 | if (PyErr_Occurred()) SWIG_fail; | |
6763 | } | |
6764 | Py_INCREF(Py_None); resultobj = Py_None; | |
6765 | { | |
6766 | if (temp2) | |
6767 | delete arg2; | |
6768 | } | |
6769 | return resultobj; | |
6770 | fail: | |
6771 | { | |
6772 | if (temp2) | |
6773 | delete arg2; | |
6774 | } | |
6775 | return NULL; | |
6776 | } | |
6777 | ||
6778 | ||
c32bde28 | 6779 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6780 | PyObject *resultobj; |
6781 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6782 | int arg2 ; | |
6783 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6784 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6785 | char *kwnames[] = { |
6786 | (char *) "self",(char *) "b", NULL | |
6787 | }; | |
6788 | ||
8edf1c75 | 6789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6792 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 6793 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6794 | { |
6795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6796 | (arg1)->SetBorders(arg2); | |
6797 | ||
6798 | wxPyEndAllowThreads(__tstate); | |
6799 | if (PyErr_Occurred()) SWIG_fail; | |
6800 | } | |
6801 | Py_INCREF(Py_None); resultobj = Py_None; | |
6802 | return resultobj; | |
6803 | fail: | |
6804 | return NULL; | |
6805 | } | |
6806 | ||
6807 | ||
c32bde28 | 6808 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6809 | PyObject *resultobj; |
6810 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6811 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6812 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
6813 | PyObject * obj0 = 0 ; |
6814 | PyObject * obj1 = 0 ; | |
6815 | PyObject * obj2 = 0 ; | |
6816 | char *kwnames[] = { | |
6817 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6818 | }; | |
6819 | ||
6820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6823 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6825 | if (obj2) { |
423f194a RD |
6826 | { |
6827 | wxString* sptr = wxString_in_helper(obj2); | |
6828 | if (sptr == NULL) SWIG_fail; | |
6829 | arg3 = *sptr; | |
6830 | delete sptr; | |
6831 | } | |
d14a1e28 RD |
6832 | } |
6833 | { | |
6834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6835 | (arg1)->ReadCustomization(arg2,arg3); | |
6836 | ||
6837 | wxPyEndAllowThreads(__tstate); | |
6838 | if (PyErr_Occurred()) SWIG_fail; | |
6839 | } | |
6840 | Py_INCREF(Py_None); resultobj = Py_None; | |
6841 | return resultobj; | |
6842 | fail: | |
6843 | return NULL; | |
6844 | } | |
6845 | ||
6846 | ||
c32bde28 | 6847 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6848 | PyObject *resultobj; |
6849 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6850 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6851 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
6852 | PyObject * obj0 = 0 ; |
6853 | PyObject * obj1 = 0 ; | |
6854 | PyObject * obj2 = 0 ; | |
6855 | char *kwnames[] = { | |
6856 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6857 | }; | |
6858 | ||
6859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6862 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6864 | if (obj2) { |
423f194a RD |
6865 | { |
6866 | wxString* sptr = wxString_in_helper(obj2); | |
6867 | if (sptr == NULL) SWIG_fail; | |
6868 | arg3 = *sptr; | |
6869 | delete sptr; | |
6870 | } | |
d14a1e28 RD |
6871 | } |
6872 | { | |
6873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6874 | (arg1)->WriteCustomization(arg2,arg3); | |
6875 | ||
6876 | wxPyEndAllowThreads(__tstate); | |
6877 | if (PyErr_Occurred()) SWIG_fail; | |
6878 | } | |
6879 | Py_INCREF(Py_None); resultobj = Py_None; | |
6880 | return resultobj; | |
6881 | fail: | |
6882 | return NULL; | |
6883 | } | |
6884 | ||
6885 | ||
c32bde28 | 6886 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6887 | PyObject *resultobj; |
6888 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6889 | bool result; | |
6890 | PyObject * obj0 = 0 ; | |
6891 | char *kwnames[] = { | |
6892 | (char *) "self", NULL | |
6893 | }; | |
6894 | ||
6895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6898 | { |
6899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6900 | result = (bool)(arg1)->HistoryBack(); | |
6901 | ||
6902 | wxPyEndAllowThreads(__tstate); | |
6903 | if (PyErr_Occurred()) SWIG_fail; | |
6904 | } | |
4f89f6a3 RD |
6905 | { |
6906 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6907 | } | |
d14a1e28 RD |
6908 | return resultobj; |
6909 | fail: | |
6910 | return NULL; | |
6911 | } | |
6912 | ||
6913 | ||
c32bde28 | 6914 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6915 | PyObject *resultobj; |
6916 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6917 | bool result; | |
6918 | PyObject * obj0 = 0 ; | |
6919 | char *kwnames[] = { | |
6920 | (char *) "self", NULL | |
6921 | }; | |
6922 | ||
6923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6926 | { |
6927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6928 | result = (bool)(arg1)->HistoryForward(); | |
6929 | ||
6930 | wxPyEndAllowThreads(__tstate); | |
6931 | if (PyErr_Occurred()) SWIG_fail; | |
6932 | } | |
4f89f6a3 RD |
6933 | { |
6934 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6935 | } | |
d14a1e28 RD |
6936 | return resultobj; |
6937 | fail: | |
6938 | return NULL; | |
6939 | } | |
6940 | ||
6941 | ||
c32bde28 | 6942 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6943 | PyObject *resultobj; |
6944 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6945 | bool result; | |
6946 | PyObject * obj0 = 0 ; | |
6947 | char *kwnames[] = { | |
6948 | (char *) "self", NULL | |
6949 | }; | |
6950 | ||
6951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6954 | { |
6955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6956 | result = (bool)(arg1)->HistoryCanBack(); | |
6957 | ||
6958 | wxPyEndAllowThreads(__tstate); | |
6959 | if (PyErr_Occurred()) SWIG_fail; | |
6960 | } | |
4f89f6a3 RD |
6961 | { |
6962 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6963 | } | |
d14a1e28 RD |
6964 | return resultobj; |
6965 | fail: | |
6966 | return NULL; | |
6967 | } | |
6968 | ||
6969 | ||
c32bde28 | 6970 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6971 | PyObject *resultobj; |
6972 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6973 | bool result; | |
6974 | PyObject * obj0 = 0 ; | |
6975 | char *kwnames[] = { | |
6976 | (char *) "self", NULL | |
6977 | }; | |
6978 | ||
6979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6982 | { |
6983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6984 | result = (bool)(arg1)->HistoryCanForward(); | |
6985 | ||
6986 | wxPyEndAllowThreads(__tstate); | |
6987 | if (PyErr_Occurred()) SWIG_fail; | |
6988 | } | |
4f89f6a3 RD |
6989 | { |
6990 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6991 | } | |
d14a1e28 RD |
6992 | return resultobj; |
6993 | fail: | |
6994 | return NULL; | |
6995 | } | |
6996 | ||
6997 | ||
c32bde28 | 6998 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6999 | PyObject *resultobj; |
7000 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7001 | PyObject * obj0 = 0 ; | |
7002 | char *kwnames[] = { | |
7003 | (char *) "self", NULL | |
7004 | }; | |
7005 | ||
7006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7009 | { |
7010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7011 | (arg1)->HistoryClear(); | |
7012 | ||
7013 | wxPyEndAllowThreads(__tstate); | |
7014 | if (PyErr_Occurred()) SWIG_fail; | |
7015 | } | |
7016 | Py_INCREF(Py_None); resultobj = Py_None; | |
7017 | return resultobj; | |
7018 | fail: | |
7019 | return NULL; | |
7020 | } | |
7021 | ||
7022 | ||
c32bde28 | 7023 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7024 | PyObject *resultobj; |
7025 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7026 | wxHtmlContainerCell *result; | |
7027 | PyObject * obj0 = 0 ; | |
7028 | char *kwnames[] = { | |
7029 | (char *) "self", NULL | |
7030 | }; | |
7031 | ||
7032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7035 | { |
7036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7037 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
7038 | ||
7039 | wxPyEndAllowThreads(__tstate); | |
7040 | if (PyErr_Occurred()) SWIG_fail; | |
7041 | } | |
2f4c0a16 | 7042 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
7043 | return resultobj; |
7044 | fail: | |
7045 | return NULL; | |
7046 | } | |
7047 | ||
7048 | ||
c32bde28 | 7049 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7050 | PyObject *resultobj; |
7051 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7052 | wxHtmlWinParser *result; | |
7053 | PyObject * obj0 = 0 ; | |
7054 | char *kwnames[] = { | |
7055 | (char *) "self", NULL | |
7056 | }; | |
7057 | ||
7058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7061 | { |
7062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7063 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
7064 | ||
7065 | wxPyEndAllowThreads(__tstate); | |
7066 | if (PyErr_Occurred()) SWIG_fail; | |
7067 | } | |
2f4c0a16 | 7068 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); |
d14a1e28 RD |
7069 | return resultobj; |
7070 | fail: | |
7071 | return NULL; | |
7072 | } | |
7073 | ||
7074 | ||
c32bde28 | 7075 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7076 | PyObject *resultobj; |
7077 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7078 | wxString *arg2 = 0 ; | |
7079 | bool result; | |
ae8162c8 | 7080 | bool temp2 = false ; |
d14a1e28 RD |
7081 | PyObject * obj0 = 0 ; |
7082 | PyObject * obj1 = 0 ; | |
7083 | char *kwnames[] = { | |
7084 | (char *) "self",(char *) "anchor", NULL | |
7085 | }; | |
7086 | ||
7087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7090 | { |
7091 | arg2 = wxString_in_helper(obj1); | |
7092 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7093 | temp2 = true; |
d14a1e28 RD |
7094 | } |
7095 | { | |
7096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7097 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
7098 | ||
7099 | wxPyEndAllowThreads(__tstate); | |
7100 | if (PyErr_Occurred()) SWIG_fail; | |
7101 | } | |
4f89f6a3 RD |
7102 | { |
7103 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7104 | } | |
d14a1e28 RD |
7105 | { |
7106 | if (temp2) | |
7107 | delete arg2; | |
7108 | } | |
7109 | return resultobj; | |
7110 | fail: | |
7111 | { | |
7112 | if (temp2) | |
7113 | delete arg2; | |
7114 | } | |
7115 | return NULL; | |
7116 | } | |
7117 | ||
7118 | ||
c32bde28 | 7119 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7120 | PyObject *resultobj; |
7121 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7122 | wxString *arg2 = 0 ; | |
7123 | bool result; | |
ae8162c8 | 7124 | bool temp2 = false ; |
d14a1e28 RD |
7125 | PyObject * obj0 = 0 ; |
7126 | PyObject * obj1 = 0 ; | |
7127 | char *kwnames[] = { | |
7128 | (char *) "self",(char *) "anchor", NULL | |
7129 | }; | |
7130 | ||
7131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7134 | { |
7135 | arg2 = wxString_in_helper(obj1); | |
7136 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7137 | temp2 = true; |
d14a1e28 RD |
7138 | } |
7139 | { | |
7140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7141 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
7142 | ||
7143 | wxPyEndAllowThreads(__tstate); | |
7144 | if (PyErr_Occurred()) SWIG_fail; | |
7145 | } | |
4f89f6a3 RD |
7146 | { |
7147 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7148 | } | |
d14a1e28 RD |
7149 | { |
7150 | if (temp2) | |
7151 | delete arg2; | |
7152 | } | |
7153 | return resultobj; | |
7154 | fail: | |
7155 | { | |
7156 | if (temp2) | |
7157 | delete arg2; | |
7158 | } | |
7159 | return NULL; | |
7160 | } | |
7161 | ||
7162 | ||
c32bde28 | 7163 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7164 | PyObject *resultobj; |
7165 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
7166 | PyObject * obj0 = 0 ; | |
7167 | char *kwnames[] = { | |
7168 | (char *) "filter", NULL | |
7169 | }; | |
7170 | ||
7171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, |
7173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7174 | { |
7175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7176 | wxPyHtmlWindow::AddFilter(arg1); | |
7177 | ||
7178 | wxPyEndAllowThreads(__tstate); | |
7179 | if (PyErr_Occurred()) SWIG_fail; | |
7180 | } | |
7181 | Py_INCREF(Py_None); resultobj = Py_None; | |
7182 | return resultobj; | |
7183 | fail: | |
7184 | return NULL; | |
7185 | } | |
7186 | ||
7187 | ||
c32bde28 | 7188 | static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
7189 | PyObject *resultobj; |
7190 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7191 | wxPoint *arg2 = 0 ; | |
7192 | wxPoint temp2 ; | |
7193 | PyObject * obj0 = 0 ; | |
7194 | PyObject * obj1 = 0 ; | |
7195 | char *kwnames[] = { | |
7196 | (char *) "self",(char *) "pos", NULL | |
7197 | }; | |
7198 | ||
7199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
7202 | { |
7203 | arg2 = &temp2; | |
7204 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7205 | } | |
7206 | { | |
7207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7208 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
7209 | ||
7210 | wxPyEndAllowThreads(__tstate); | |
7211 | if (PyErr_Occurred()) SWIG_fail; | |
7212 | } | |
7213 | Py_INCREF(Py_None); resultobj = Py_None; | |
7214 | return resultobj; | |
7215 | fail: | |
7216 | return NULL; | |
7217 | } | |
7218 | ||
7219 | ||
c32bde28 | 7220 | static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
7221 | PyObject *resultobj; |
7222 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7223 | wxPoint *arg2 = 0 ; | |
7224 | wxPoint temp2 ; | |
7225 | PyObject * obj0 = 0 ; | |
7226 | PyObject * obj1 = 0 ; | |
7227 | char *kwnames[] = { | |
7228 | (char *) "self",(char *) "pos", NULL | |
7229 | }; | |
7230 | ||
7231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
7234 | { |
7235 | arg2 = &temp2; | |
7236 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7237 | } | |
7238 | { | |
7239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7240 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
7241 | ||
7242 | wxPyEndAllowThreads(__tstate); | |
7243 | if (PyErr_Occurred()) SWIG_fail; | |
7244 | } | |
7245 | Py_INCREF(Py_None); resultobj = Py_None; | |
7246 | return resultobj; | |
7247 | fail: | |
7248 | return NULL; | |
7249 | } | |
7250 | ||
7251 | ||
c32bde28 | 7252 | static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
7253 | PyObject *resultobj; |
7254 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7255 | PyObject * obj0 = 0 ; | |
7256 | char *kwnames[] = { | |
7257 | (char *) "self", NULL | |
7258 | }; | |
7259 | ||
7260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7261 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
7263 | { |
7264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7265 | (arg1)->SelectAll(); | |
7266 | ||
7267 | wxPyEndAllowThreads(__tstate); | |
7268 | if (PyErr_Occurred()) SWIG_fail; | |
7269 | } | |
7270 | Py_INCREF(Py_None); resultobj = Py_None; | |
7271 | return resultobj; | |
7272 | fail: | |
7273 | return NULL; | |
7274 | } | |
7275 | ||
7276 | ||
c32bde28 | 7277 | static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) { |
b0f7404b RD |
7278 | PyObject *resultobj; |
7279 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7280 | wxString result; | |
7281 | PyObject * obj0 = 0 ; | |
7282 | char *kwnames[] = { | |
7283 | (char *) "self", NULL | |
7284 | }; | |
7285 | ||
7286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail; | |
7287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7289 | { | |
7290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7291 | result = (arg1)->SelectionToText(); | |
7292 | ||
7293 | wxPyEndAllowThreads(__tstate); | |
7294 | if (PyErr_Occurred()) SWIG_fail; | |
7295 | } | |
7296 | { | |
7297 | #if wxUSE_UNICODE | |
7298 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7299 | #else | |
7300 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7301 | #endif | |
7302 | } | |
7303 | return resultobj; | |
7304 | fail: | |
7305 | return NULL; | |
7306 | } | |
7307 | ||
7308 | ||
c32bde28 | 7309 | static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) { |
b0f7404b RD |
7310 | PyObject *resultobj; |
7311 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7312 | wxString result; | |
7313 | PyObject * obj0 = 0 ; | |
7314 | char *kwnames[] = { | |
7315 | (char *) "self", NULL | |
7316 | }; | |
7317 | ||
7318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail; | |
7319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7321 | { | |
7322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7323 | result = (arg1)->ToText(); | |
7324 | ||
7325 | wxPyEndAllowThreads(__tstate); | |
7326 | if (PyErr_Occurred()) SWIG_fail; | |
7327 | } | |
7328 | { | |
7329 | #if wxUSE_UNICODE | |
7330 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7331 | #else | |
7332 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7333 | #endif | |
7334 | } | |
7335 | return resultobj; | |
7336 | fail: | |
7337 | return NULL; | |
7338 | } | |
7339 | ||
7340 | ||
c32bde28 | 7341 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7342 | PyObject *resultobj; |
7343 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7344 | wxHtmlLinkInfo *arg2 = 0 ; | |
7345 | PyObject * obj0 = 0 ; | |
7346 | PyObject * obj1 = 0 ; | |
7347 | char *kwnames[] = { | |
7348 | (char *) "self",(char *) "link", NULL | |
7349 | }; | |
7350 | ||
7351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7354 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
7355 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7356 | SWIG_fail; | |
d14a1e28 | 7357 | if (arg2 == NULL) { |
2f4c0a16 RD |
7358 | PyErr_SetString(PyExc_TypeError,"null reference"); |
7359 | SWIG_fail; | |
d14a1e28 RD |
7360 | } |
7361 | { | |
7362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7363 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
7364 | ||
7365 | wxPyEndAllowThreads(__tstate); | |
7366 | if (PyErr_Occurred()) SWIG_fail; | |
7367 | } | |
7368 | Py_INCREF(Py_None); resultobj = Py_None; | |
7369 | return resultobj; | |
7370 | fail: | |
7371 | return NULL; | |
7372 | } | |
7373 | ||
7374 | ||
c32bde28 | 7375 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7376 | PyObject *resultobj; |
7377 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7378 | wxString *arg2 = 0 ; | |
ae8162c8 | 7379 | bool temp2 = false ; |
d14a1e28 RD |
7380 | PyObject * obj0 = 0 ; |
7381 | PyObject * obj1 = 0 ; | |
7382 | char *kwnames[] = { | |
7383 | (char *) "self",(char *) "title", NULL | |
7384 | }; | |
7385 | ||
7386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7389 | { |
7390 | arg2 = wxString_in_helper(obj1); | |
7391 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7392 | temp2 = true; |
d14a1e28 RD |
7393 | } |
7394 | { | |
7395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7396 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
7397 | ||
7398 | wxPyEndAllowThreads(__tstate); | |
7399 | if (PyErr_Occurred()) SWIG_fail; | |
7400 | } | |
7401 | Py_INCREF(Py_None); resultobj = Py_None; | |
7402 | { | |
7403 | if (temp2) | |
7404 | delete arg2; | |
7405 | } | |
7406 | return resultobj; | |
7407 | fail: | |
7408 | { | |
7409 | if (temp2) | |
7410 | delete arg2; | |
7411 | } | |
7412 | return NULL; | |
7413 | } | |
7414 | ||
7415 | ||
c32bde28 | 7416 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7417 | PyObject *resultobj; |
7418 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7419 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
423f194a RD |
7420 | int arg3 ; |
7421 | int arg4 ; | |
d14a1e28 RD |
7422 | PyObject * obj0 = 0 ; |
7423 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
7424 | PyObject * obj2 = 0 ; |
7425 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7426 | char *kwnames[] = { |
7427 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
7428 | }; | |
7429 | ||
8edf1c75 | 7430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
7431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7433 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7435 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7436 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7437 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 7438 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7439 | { |
7440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7441 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
7442 | ||
7443 | wxPyEndAllowThreads(__tstate); | |
7444 | if (PyErr_Occurred()) SWIG_fail; | |
7445 | } | |
7446 | Py_INCREF(Py_None); resultobj = Py_None; | |
7447 | return resultobj; | |
7448 | fail: | |
7449 | return NULL; | |
7450 | } | |
7451 | ||
7452 | ||
c32bde28 | 7453 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7454 | PyObject *resultobj; |
7455 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7456 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
423f194a RD |
7457 | int arg3 ; |
7458 | int arg4 ; | |
d14a1e28 RD |
7459 | wxMouseEvent *arg5 = 0 ; |
7460 | PyObject * obj0 = 0 ; | |
7461 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
7462 | PyObject * obj2 = 0 ; |
7463 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7464 | PyObject * obj4 = 0 ; |
7465 | char *kwnames[] = { | |
7466 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
7467 | }; | |
7468 | ||
8edf1c75 | 7469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
7470 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7471 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7472 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7474 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7475 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7476 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 RD |
7477 | if (PyErr_Occurred()) SWIG_fail; |
7478 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent, | |
7479 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7480 | SWIG_fail; | |
d14a1e28 | 7481 | if (arg5 == NULL) { |
2f4c0a16 RD |
7482 | PyErr_SetString(PyExc_TypeError,"null reference"); |
7483 | SWIG_fail; | |
d14a1e28 RD |
7484 | } |
7485 | { | |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
7488 | ||
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | Py_INCREF(Py_None); resultobj = Py_None; | |
7493 | return resultobj; | |
7494 | fail: | |
7495 | return NULL; | |
7496 | } | |
7497 | ||
7498 | ||
c32bde28 | 7499 | static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
7500 | PyObject *resultobj; |
7501 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
7502 | wxVisualAttributes result; | |
7503 | PyObject * obj0 = 0 ; | |
7504 | char *kwnames[] = { | |
7505 | (char *) "variant", NULL | |
7506 | }; | |
7507 | ||
7508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7509 | if (obj0) { | |
c32bde28 | 7510 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
7511 | if (PyErr_Occurred()) SWIG_fail; |
7512 | } | |
7513 | { | |
0439c23b | 7514 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
7515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7516 | result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7517 | ||
7518 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7519 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
7520 | } |
7521 | { | |
7522 | wxVisualAttributes * resultptr; | |
7523 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
7524 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
7525 | } | |
7526 | return resultobj; | |
7527 | fail: | |
7528 | return NULL; | |
7529 | } | |
7530 | ||
7531 | ||
c32bde28 | 7532 | static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7533 | PyObject *obj; |
7534 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7535 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
7536 | Py_INCREF(obj); | |
7537 | return Py_BuildValue((char *)""); | |
7538 | } | |
c32bde28 | 7539 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7540 | PyObject *resultobj; |
7541 | wxHtmlDCRenderer *result; | |
7542 | char *kwnames[] = { | |
7543 | NULL | |
7544 | }; | |
7545 | ||
7546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
7547 | { | |
0439c23b | 7548 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7550 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
7551 | ||
7552 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7553 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7554 | } |
2f4c0a16 | 7555 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1); |
d14a1e28 RD |
7556 | return resultobj; |
7557 | fail: | |
7558 | return NULL; | |
7559 | } | |
7560 | ||
7561 | ||
c32bde28 | 7562 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7563 | PyObject *resultobj; |
7564 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7565 | PyObject * obj0 = 0 ; | |
7566 | char *kwnames[] = { | |
7567 | (char *) "self", NULL | |
7568 | }; | |
7569 | ||
7570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7573 | { |
7574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7575 | delete arg1; | |
7576 | ||
7577 | wxPyEndAllowThreads(__tstate); | |
7578 | if (PyErr_Occurred()) SWIG_fail; | |
7579 | } | |
7580 | Py_INCREF(Py_None); resultobj = Py_None; | |
7581 | return resultobj; | |
7582 | fail: | |
7583 | return NULL; | |
7584 | } | |
7585 | ||
7586 | ||
c32bde28 | 7587 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7588 | PyObject *resultobj; |
7589 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7590 | wxDC *arg2 = (wxDC *) 0 ; | |
7591 | int arg3 ; | |
7592 | PyObject * obj0 = 0 ; | |
7593 | PyObject * obj1 = 0 ; | |
8edf1c75 | 7594 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7595 | char *kwnames[] = { |
7596 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
7597 | }; | |
7598 | ||
8edf1c75 | 7599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
7600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7602 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
7603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7604 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7605 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7606 | { |
7607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7608 | (arg1)->SetDC(arg2,arg3); | |
7609 | ||
7610 | wxPyEndAllowThreads(__tstate); | |
7611 | if (PyErr_Occurred()) SWIG_fail; | |
7612 | } | |
7613 | Py_INCREF(Py_None); resultobj = Py_None; | |
7614 | return resultobj; | |
7615 | fail: | |
7616 | return NULL; | |
7617 | } | |
7618 | ||
7619 | ||
c32bde28 | 7620 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7621 | PyObject *resultobj; |
7622 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7623 | int arg2 ; | |
7624 | int arg3 ; | |
7625 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7626 | PyObject * obj1 = 0 ; |
7627 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7628 | char *kwnames[] = { |
7629 | (char *) "self",(char *) "width",(char *) "height", NULL | |
7630 | }; | |
7631 | ||
8edf1c75 | 7632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
7633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7635 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 7636 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7637 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7638 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7639 | { |
7640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7641 | (arg1)->SetSize(arg2,arg3); | |
7642 | ||
7643 | wxPyEndAllowThreads(__tstate); | |
7644 | if (PyErr_Occurred()) SWIG_fail; | |
7645 | } | |
7646 | Py_INCREF(Py_None); resultobj = Py_None; | |
7647 | return resultobj; | |
7648 | fail: | |
7649 | return NULL; | |
7650 | } | |
7651 | ||
7652 | ||
c32bde28 | 7653 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7654 | PyObject *resultobj; |
7655 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7656 | wxString *arg2 = 0 ; | |
7657 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7658 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
7659 | bool arg4 = (bool) true ; |
7660 | bool temp2 = false ; | |
7661 | bool temp3 = false ; | |
d14a1e28 RD |
7662 | PyObject * obj0 = 0 ; |
7663 | PyObject * obj1 = 0 ; | |
7664 | PyObject * obj2 = 0 ; | |
7665 | PyObject * obj3 = 0 ; | |
7666 | char *kwnames[] = { | |
7667 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7668 | }; | |
7669 | ||
7670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
7671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7673 | { |
7674 | arg2 = wxString_in_helper(obj1); | |
7675 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7676 | temp2 = true; |
d14a1e28 RD |
7677 | } |
7678 | if (obj2) { | |
7679 | { | |
7680 | arg3 = wxString_in_helper(obj2); | |
7681 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 7682 | temp3 = true; |
d14a1e28 RD |
7683 | } |
7684 | } | |
7685 | if (obj3) { | |
c32bde28 | 7686 | arg4 = (bool)SWIG_As_bool(obj3); |
2f4c0a16 | 7687 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7688 | } |
7689 | { | |
7690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7691 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7692 | ||
7693 | wxPyEndAllowThreads(__tstate); | |
7694 | if (PyErr_Occurred()) SWIG_fail; | |
7695 | } | |
7696 | Py_INCREF(Py_None); resultobj = Py_None; | |
7697 | { | |
7698 | if (temp2) | |
7699 | delete arg2; | |
7700 | } | |
7701 | { | |
7702 | if (temp3) | |
7703 | delete arg3; | |
7704 | } | |
7705 | return resultobj; | |
7706 | fail: | |
7707 | { | |
7708 | if (temp2) | |
7709 | delete arg2; | |
7710 | } | |
7711 | { | |
7712 | if (temp3) | |
7713 | delete arg3; | |
7714 | } | |
7715 | return NULL; | |
7716 | } | |
7717 | ||
7718 | ||
c32bde28 | 7719 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7720 | PyObject *resultobj; |
7721 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7722 | wxString arg2 ; | |
7723 | wxString arg3 ; | |
7724 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7725 | PyObject * obj0 = 0 ; |
7726 | PyObject * obj1 = 0 ; | |
7727 | PyObject * obj2 = 0 ; | |
7728 | PyObject * obj3 = 0 ; | |
7729 | char *kwnames[] = { | |
7730 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7731 | }; | |
7732 | ||
7733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
7734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
7736 | { |
7737 | wxString* sptr = wxString_in_helper(obj1); | |
7738 | if (sptr == NULL) SWIG_fail; | |
7739 | arg2 = *sptr; | |
7740 | delete sptr; | |
7741 | } | |
7742 | { | |
7743 | wxString* sptr = wxString_in_helper(obj2); | |
7744 | if (sptr == NULL) SWIG_fail; | |
7745 | arg3 = *sptr; | |
7746 | delete sptr; | |
7747 | } | |
d14a1e28 RD |
7748 | if (obj3) { |
7749 | arg4 = obj3; | |
7750 | } | |
7751 | { | |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7753 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
7754 | ||
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
7758 | Py_INCREF(Py_None); resultobj = Py_None; | |
7759 | return resultobj; | |
7760 | fail: | |
7761 | return NULL; | |
7762 | } | |
7763 | ||
7764 | ||
ae8162c8 | 7765 | static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
7766 | PyObject *resultobj; |
7767 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7768 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
7769 | wxString const &arg3_defvalue = wxPyEmptyString ; |
7770 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7771 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
7772 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7773 | bool temp3 = false ; | |
7774 | bool temp4 = false ; | |
30ee79f7 RD |
7775 | PyObject * obj0 = 0 ; |
7776 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
7777 | PyObject * obj2 = 0 ; |
7778 | PyObject * obj3 = 0 ; | |
30ee79f7 | 7779 | char *kwnames[] = { |
ae8162c8 | 7780 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
7781 | }; |
7782 | ||
ae8162c8 | 7783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
30ee79f7 RD |
7784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7786 | if (obj1) { | |
c32bde28 | 7787 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
7788 | if (PyErr_Occurred()) SWIG_fail; |
7789 | } | |
ae8162c8 RD |
7790 | if (obj2) { |
7791 | { | |
7792 | arg3 = wxString_in_helper(obj2); | |
7793 | if (arg3 == NULL) SWIG_fail; | |
7794 | temp3 = true; | |
7795 | } | |
7796 | } | |
7797 | if (obj3) { | |
7798 | { | |
7799 | arg4 = wxString_in_helper(obj3); | |
7800 | if (arg4 == NULL) SWIG_fail; | |
7801 | temp4 = true; | |
7802 | } | |
7803 | } | |
30ee79f7 RD |
7804 | { |
7805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 7806 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
7807 | |
7808 | wxPyEndAllowThreads(__tstate); | |
7809 | if (PyErr_Occurred()) SWIG_fail; | |
7810 | } | |
7811 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
7812 | { |
7813 | if (temp3) | |
7814 | delete arg3; | |
7815 | } | |
7816 | { | |
7817 | if (temp4) | |
7818 | delete arg4; | |
7819 | } | |
30ee79f7 RD |
7820 | return resultobj; |
7821 | fail: | |
ae8162c8 RD |
7822 | { |
7823 | if (temp3) | |
7824 | delete arg3; | |
7825 | } | |
7826 | { | |
7827 | if (temp4) | |
7828 | delete arg4; | |
7829 | } | |
30ee79f7 RD |
7830 | return NULL; |
7831 | } | |
7832 | ||
7833 | ||
c32bde28 | 7834 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7835 | PyObject *resultobj; |
7836 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7837 | int arg2 ; | |
7838 | int arg3 ; | |
7839 | int arg4 = (int) 0 ; | |
ae8162c8 | 7840 | int arg5 = (int) false ; |
d14a1e28 RD |
7841 | int arg6 = (int) INT_MAX ; |
7842 | int *arg7 = (int *) NULL ; | |
7843 | int arg8 = (int) 0 ; | |
7844 | int result; | |
7845 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7846 | PyObject * obj1 = 0 ; |
7847 | PyObject * obj2 = 0 ; | |
7848 | PyObject * obj3 = 0 ; | |
7849 | PyObject * obj4 = 0 ; | |
7850 | PyObject * obj5 = 0 ; | |
d14a1e28 | 7851 | PyObject * obj6 = 0 ; |
8edf1c75 | 7852 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
7853 | char *kwnames[] = { |
7854 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
7855 | }; | |
7856 | ||
8edf1c75 | 7857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
7858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7860 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 7861 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7862 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7863 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7864 | if (obj3) { |
c32bde28 | 7865 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 7866 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
7867 | } |
7868 | if (obj4) { | |
c32bde28 | 7869 | arg5 = (int)SWIG_As_int(obj4); |
2f4c0a16 | 7870 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
7871 | } |
7872 | if (obj5) { | |
c32bde28 | 7873 | arg6 = (int)SWIG_As_int(obj5); |
2f4c0a16 | 7874 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7875 | } |
d14a1e28 | 7876 | if (obj6) { |
2f4c0a16 RD |
7877 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int, |
7878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 7879 | } |
8edf1c75 | 7880 | if (obj7) { |
c32bde28 | 7881 | arg8 = (int)SWIG_As_int(obj7); |
2f4c0a16 | 7882 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7883 | } |
d14a1e28 RD |
7884 | { |
7885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7886 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
7887 | ||
7888 | wxPyEndAllowThreads(__tstate); | |
7889 | if (PyErr_Occurred()) SWIG_fail; | |
7890 | } | |
c32bde28 | 7891 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7892 | return resultobj; |
7893 | fail: | |
7894 | return NULL; | |
7895 | } | |
7896 | ||
7897 | ||
c32bde28 | 7898 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7899 | PyObject *resultobj; |
7900 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7901 | int result; | |
7902 | PyObject * obj0 = 0 ; | |
7903 | char *kwnames[] = { | |
7904 | (char *) "self", NULL | |
7905 | }; | |
7906 | ||
7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7910 | { |
7911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7912 | result = (int)(arg1)->GetTotalHeight(); | |
7913 | ||
7914 | wxPyEndAllowThreads(__tstate); | |
7915 | if (PyErr_Occurred()) SWIG_fail; | |
7916 | } | |
c32bde28 | 7917 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7918 | return resultobj; |
7919 | fail: | |
7920 | return NULL; | |
7921 | } | |
7922 | ||
7923 | ||
c32bde28 | 7924 | static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7925 | PyObject *obj; |
7926 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7927 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
7928 | Py_INCREF(obj); | |
7929 | return Py_BuildValue((char *)""); | |
7930 | } | |
c32bde28 | 7931 | static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7932 | PyObject *resultobj; |
7933 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
7934 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7935 | wxHtmlPrintout *result; | |
ae8162c8 | 7936 | bool temp1 = false ; |
d14a1e28 RD |
7937 | PyObject * obj0 = 0 ; |
7938 | char *kwnames[] = { | |
7939 | (char *) "title", NULL | |
7940 | }; | |
7941 | ||
7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
7943 | if (obj0) { | |
7944 | { | |
7945 | arg1 = wxString_in_helper(obj0); | |
7946 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 7947 | temp1 = true; |
d14a1e28 RD |
7948 | } |
7949 | } | |
7950 | { | |
0439c23b | 7951 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7953 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
7954 | ||
7955 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7956 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7957 | } |
2f4c0a16 | 7958 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1); |
d14a1e28 RD |
7959 | { |
7960 | if (temp1) | |
7961 | delete arg1; | |
7962 | } | |
7963 | return resultobj; | |
7964 | fail: | |
7965 | { | |
7966 | if (temp1) | |
7967 | delete arg1; | |
7968 | } | |
7969 | return NULL; | |
7970 | } | |
7971 | ||
7972 | ||
c32bde28 | 7973 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7974 | PyObject *resultobj; |
7975 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7976 | wxString *arg2 = 0 ; | |
7977 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7978 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
7979 | bool arg4 = (bool) true ; |
7980 | bool temp2 = false ; | |
7981 | bool temp3 = false ; | |
d14a1e28 RD |
7982 | PyObject * obj0 = 0 ; |
7983 | PyObject * obj1 = 0 ; | |
7984 | PyObject * obj2 = 0 ; | |
7985 | PyObject * obj3 = 0 ; | |
7986 | char *kwnames[] = { | |
7987 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7988 | }; | |
7989 | ||
7990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
7991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
7992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7993 | { |
7994 | arg2 = wxString_in_helper(obj1); | |
7995 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7996 | temp2 = true; |
d14a1e28 RD |
7997 | } |
7998 | if (obj2) { | |
7999 | { | |
8000 | arg3 = wxString_in_helper(obj2); | |
8001 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 8002 | temp3 = true; |
d14a1e28 RD |
8003 | } |
8004 | } | |
8005 | if (obj3) { | |
c32bde28 | 8006 | arg4 = (bool)SWIG_As_bool(obj3); |
2f4c0a16 | 8007 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8008 | } |
8009 | { | |
8010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8011 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
8012 | ||
8013 | wxPyEndAllowThreads(__tstate); | |
8014 | if (PyErr_Occurred()) SWIG_fail; | |
8015 | } | |
8016 | Py_INCREF(Py_None); resultobj = Py_None; | |
8017 | { | |
8018 | if (temp2) | |
8019 | delete arg2; | |
8020 | } | |
8021 | { | |
8022 | if (temp3) | |
8023 | delete arg3; | |
8024 | } | |
8025 | return resultobj; | |
8026 | fail: | |
8027 | { | |
8028 | if (temp2) | |
8029 | delete arg2; | |
8030 | } | |
8031 | { | |
8032 | if (temp3) | |
8033 | delete arg3; | |
8034 | } | |
8035 | return NULL; | |
8036 | } | |
8037 | ||
8038 | ||
c32bde28 | 8039 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8040 | PyObject *resultobj; |
8041 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8042 | wxString *arg2 = 0 ; | |
ae8162c8 | 8043 | bool temp2 = false ; |
d14a1e28 RD |
8044 | PyObject * obj0 = 0 ; |
8045 | PyObject * obj1 = 0 ; | |
8046 | char *kwnames[] = { | |
8047 | (char *) "self",(char *) "htmlfile", NULL | |
8048 | }; | |
8049 | ||
8050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8053 | { |
8054 | arg2 = wxString_in_helper(obj1); | |
8055 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8056 | temp2 = true; |
d14a1e28 RD |
8057 | } |
8058 | { | |
8059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8060 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
8061 | ||
8062 | wxPyEndAllowThreads(__tstate); | |
8063 | if (PyErr_Occurred()) SWIG_fail; | |
8064 | } | |
8065 | Py_INCREF(Py_None); resultobj = Py_None; | |
8066 | { | |
8067 | if (temp2) | |
8068 | delete arg2; | |
8069 | } | |
8070 | return resultobj; | |
8071 | fail: | |
8072 | { | |
8073 | if (temp2) | |
8074 | delete arg2; | |
8075 | } | |
8076 | return NULL; | |
8077 | } | |
8078 | ||
8079 | ||
c32bde28 | 8080 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8081 | PyObject *resultobj; |
8082 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8083 | wxString *arg2 = 0 ; | |
8084 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 8085 | bool temp2 = false ; |
d14a1e28 RD |
8086 | PyObject * obj0 = 0 ; |
8087 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8088 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8089 | char *kwnames[] = { |
8090 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
8091 | }; | |
8092 | ||
8edf1c75 | 8093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8096 | { |
8097 | arg2 = wxString_in_helper(obj1); | |
8098 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8099 | temp2 = true; |
d14a1e28 | 8100 | } |
8edf1c75 | 8101 | if (obj2) { |
c32bde28 | 8102 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8103 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8104 | } |
d14a1e28 RD |
8105 | { |
8106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8107 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
8108 | ||
8109 | wxPyEndAllowThreads(__tstate); | |
8110 | if (PyErr_Occurred()) SWIG_fail; | |
8111 | } | |
8112 | Py_INCREF(Py_None); resultobj = Py_None; | |
8113 | { | |
8114 | if (temp2) | |
8115 | delete arg2; | |
8116 | } | |
8117 | return resultobj; | |
8118 | fail: | |
8119 | { | |
8120 | if (temp2) | |
8121 | delete arg2; | |
8122 | } | |
8123 | return NULL; | |
8124 | } | |
8125 | ||
8126 | ||
c32bde28 | 8127 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8128 | PyObject *resultobj; |
8129 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8130 | wxString *arg2 = 0 ; | |
8131 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 8132 | bool temp2 = false ; |
d14a1e28 RD |
8133 | PyObject * obj0 = 0 ; |
8134 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8135 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8136 | char *kwnames[] = { |
8137 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8138 | }; | |
8139 | ||
8edf1c75 | 8140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8143 | { |
8144 | arg2 = wxString_in_helper(obj1); | |
8145 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8146 | temp2 = true; |
d14a1e28 | 8147 | } |
8edf1c75 | 8148 | if (obj2) { |
c32bde28 | 8149 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8150 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8151 | } |
d14a1e28 RD |
8152 | { |
8153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8154 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
8155 | ||
8156 | wxPyEndAllowThreads(__tstate); | |
8157 | if (PyErr_Occurred()) SWIG_fail; | |
8158 | } | |
8159 | Py_INCREF(Py_None); resultobj = Py_None; | |
8160 | { | |
8161 | if (temp2) | |
8162 | delete arg2; | |
8163 | } | |
8164 | return resultobj; | |
8165 | fail: | |
8166 | { | |
8167 | if (temp2) | |
8168 | delete arg2; | |
8169 | } | |
8170 | return NULL; | |
8171 | } | |
8172 | ||
8173 | ||
c32bde28 | 8174 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8175 | PyObject *resultobj; |
8176 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8177 | wxString arg2 ; | |
8178 | wxString arg3 ; | |
8179 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
8180 | PyObject * obj0 = 0 ; |
8181 | PyObject * obj1 = 0 ; | |
8182 | PyObject * obj2 = 0 ; | |
8183 | PyObject * obj3 = 0 ; | |
8184 | char *kwnames[] = { | |
8185 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8186 | }; | |
8187 | ||
8188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
8189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
8191 | { |
8192 | wxString* sptr = wxString_in_helper(obj1); | |
8193 | if (sptr == NULL) SWIG_fail; | |
8194 | arg2 = *sptr; | |
8195 | delete sptr; | |
8196 | } | |
8197 | { | |
8198 | wxString* sptr = wxString_in_helper(obj2); | |
8199 | if (sptr == NULL) SWIG_fail; | |
8200 | arg3 = *sptr; | |
8201 | delete sptr; | |
8202 | } | |
d14a1e28 RD |
8203 | if (obj3) { |
8204 | arg4 = obj3; | |
8205 | } | |
8206 | { | |
8207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8208 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
8209 | ||
8210 | wxPyEndAllowThreads(__tstate); | |
8211 | if (PyErr_Occurred()) SWIG_fail; | |
8212 | } | |
8213 | Py_INCREF(Py_None); resultobj = Py_None; | |
8214 | return resultobj; | |
8215 | fail: | |
8216 | return NULL; | |
8217 | } | |
8218 | ||
8219 | ||
ae8162c8 | 8220 | static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
8221 | PyObject *resultobj; |
8222 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8223 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
8224 | wxString const &arg3_defvalue = wxPyEmptyString ; |
8225 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8226 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
8227 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
8228 | bool temp3 = false ; | |
8229 | bool temp4 = false ; | |
30ee79f7 RD |
8230 | PyObject * obj0 = 0 ; |
8231 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
8232 | PyObject * obj2 = 0 ; |
8233 | PyObject * obj3 = 0 ; | |
30ee79f7 | 8234 | char *kwnames[] = { |
ae8162c8 | 8235 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
8236 | }; |
8237 | ||
ae8162c8 | 8238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
30ee79f7 RD |
8239 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8241 | if (obj1) { | |
c32bde28 | 8242 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
8243 | if (PyErr_Occurred()) SWIG_fail; |
8244 | } | |
ae8162c8 RD |
8245 | if (obj2) { |
8246 | { | |
8247 | arg3 = wxString_in_helper(obj2); | |
8248 | if (arg3 == NULL) SWIG_fail; | |
8249 | temp3 = true; | |
8250 | } | |
8251 | } | |
8252 | if (obj3) { | |
8253 | { | |
8254 | arg4 = wxString_in_helper(obj3); | |
8255 | if (arg4 == NULL) SWIG_fail; | |
8256 | temp4 = true; | |
8257 | } | |
8258 | } | |
30ee79f7 RD |
8259 | { |
8260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 8261 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
8262 | |
8263 | wxPyEndAllowThreads(__tstate); | |
8264 | if (PyErr_Occurred()) SWIG_fail; | |
8265 | } | |
8266 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
8267 | { |
8268 | if (temp3) | |
8269 | delete arg3; | |
8270 | } | |
8271 | { | |
8272 | if (temp4) | |
8273 | delete arg4; | |
8274 | } | |
30ee79f7 RD |
8275 | return resultobj; |
8276 | fail: | |
ae8162c8 RD |
8277 | { |
8278 | if (temp3) | |
8279 | delete arg3; | |
8280 | } | |
8281 | { | |
8282 | if (temp4) | |
8283 | delete arg4; | |
8284 | } | |
30ee79f7 RD |
8285 | return NULL; |
8286 | } | |
8287 | ||
8288 | ||
c32bde28 | 8289 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8290 | PyObject *resultobj; |
8291 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8292 | float arg2 = (float) 25.2 ; | |
8293 | float arg3 = (float) 25.2 ; | |
8294 | float arg4 = (float) 25.2 ; | |
8295 | float arg5 = (float) 25.2 ; | |
8296 | float arg6 = (float) 5 ; | |
8297 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
8298 | PyObject * obj1 = 0 ; |
8299 | PyObject * obj2 = 0 ; | |
8300 | PyObject * obj3 = 0 ; | |
8301 | PyObject * obj4 = 0 ; | |
8302 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
8303 | char *kwnames[] = { |
8304 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
8305 | }; | |
8306 | ||
8edf1c75 | 8307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
8308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8310 | if (obj1) { |
c32bde28 | 8311 | arg2 = (float)SWIG_As_float(obj1); |
2f4c0a16 | 8312 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8313 | } |
8314 | if (obj2) { | |
c32bde28 | 8315 | arg3 = (float)SWIG_As_float(obj2); |
2f4c0a16 | 8316 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8317 | } |
8318 | if (obj3) { | |
c32bde28 | 8319 | arg4 = (float)SWIG_As_float(obj3); |
2f4c0a16 | 8320 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8321 | } |
8322 | if (obj4) { | |
c32bde28 | 8323 | arg5 = (float)SWIG_As_float(obj4); |
2f4c0a16 | 8324 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8325 | } |
8326 | if (obj5) { | |
c32bde28 | 8327 | arg6 = (float)SWIG_As_float(obj5); |
2f4c0a16 | 8328 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8329 | } |
d14a1e28 RD |
8330 | { |
8331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8332 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
8333 | ||
8334 | wxPyEndAllowThreads(__tstate); | |
8335 | if (PyErr_Occurred()) SWIG_fail; | |
8336 | } | |
8337 | Py_INCREF(Py_None); resultobj = Py_None; | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | return NULL; | |
8341 | } | |
8342 | ||
8343 | ||
c32bde28 | 8344 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8345 | PyObject *resultobj; |
8346 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | char *kwnames[] = { | |
8349 | (char *) "filter", NULL | |
8350 | }; | |
8351 | ||
8352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter, |
8354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8355 | { |
8356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8357 | wxHtmlPrintout::AddFilter(arg1); | |
8358 | ||
8359 | wxPyEndAllowThreads(__tstate); | |
8360 | if (PyErr_Occurred()) SWIG_fail; | |
8361 | } | |
8362 | Py_INCREF(Py_None); resultobj = Py_None; | |
8363 | return resultobj; | |
8364 | fail: | |
8365 | return NULL; | |
8366 | } | |
8367 | ||
8368 | ||
c32bde28 | 8369 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8370 | PyObject *resultobj; |
8371 | char *kwnames[] = { | |
8372 | NULL | |
8373 | }; | |
8374 | ||
8375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
8376 | { | |
8377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8378 | wxHtmlPrintout::CleanUpStatics(); | |
8379 | ||
8380 | wxPyEndAllowThreads(__tstate); | |
8381 | if (PyErr_Occurred()) SWIG_fail; | |
8382 | } | |
8383 | Py_INCREF(Py_None); resultobj = Py_None; | |
8384 | return resultobj; | |
8385 | fail: | |
8386 | return NULL; | |
8387 | } | |
8388 | ||
8389 | ||
c32bde28 | 8390 | static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8391 | PyObject *obj; |
8392 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8393 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
8394 | Py_INCREF(obj); | |
8395 | return Py_BuildValue((char *)""); | |
8396 | } | |
c32bde28 | 8397 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8398 | PyObject *resultobj; |
8399 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
8400 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
8401 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8402 | wxHtmlEasyPrinting *result; | |
ae8162c8 | 8403 | bool temp1 = false ; |
d14a1e28 RD |
8404 | PyObject * obj0 = 0 ; |
8405 | PyObject * obj1 = 0 ; | |
8406 | char *kwnames[] = { | |
8407 | (char *) "name",(char *) "parentWindow", NULL | |
8408 | }; | |
8409 | ||
8410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
8411 | if (obj0) { | |
8412 | { | |
8413 | arg1 = wxString_in_helper(obj0); | |
8414 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 8415 | temp1 = true; |
d14a1e28 RD |
8416 | } |
8417 | } | |
8418 | if (obj1) { | |
2f4c0a16 RD |
8419 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8421 | } |
8422 | { | |
0439c23b | 8423 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8425 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
8426 | ||
8427 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8428 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8429 | } |
2f4c0a16 | 8430 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1); |
d14a1e28 RD |
8431 | { |
8432 | if (temp1) | |
8433 | delete arg1; | |
8434 | } | |
8435 | return resultobj; | |
8436 | fail: | |
8437 | { | |
8438 | if (temp1) | |
8439 | delete arg1; | |
8440 | } | |
8441 | return NULL; | |
8442 | } | |
8443 | ||
8444 | ||
c32bde28 | 8445 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8446 | PyObject *resultobj; |
8447 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8448 | PyObject * obj0 = 0 ; | |
8449 | char *kwnames[] = { | |
8450 | (char *) "self", NULL | |
8451 | }; | |
8452 | ||
8453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8456 | { |
8457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8458 | delete arg1; | |
8459 | ||
8460 | wxPyEndAllowThreads(__tstate); | |
8461 | if (PyErr_Occurred()) SWIG_fail; | |
8462 | } | |
8463 | Py_INCREF(Py_None); resultobj = Py_None; | |
8464 | return resultobj; | |
8465 | fail: | |
8466 | return NULL; | |
8467 | } | |
8468 | ||
8469 | ||
c32bde28 | 8470 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8471 | PyObject *resultobj; |
8472 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8473 | wxString *arg2 = 0 ; | |
ae8162c8 | 8474 | bool temp2 = false ; |
d14a1e28 RD |
8475 | PyObject * obj0 = 0 ; |
8476 | PyObject * obj1 = 0 ; | |
8477 | char *kwnames[] = { | |
8478 | (char *) "self",(char *) "htmlfile", NULL | |
8479 | }; | |
8480 | ||
8481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8482 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8484 | { |
8485 | arg2 = wxString_in_helper(obj1); | |
8486 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8487 | temp2 = true; |
d14a1e28 RD |
8488 | } |
8489 | { | |
8490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8491 | (arg1)->PreviewFile((wxString const &)*arg2); | |
8492 | ||
8493 | wxPyEndAllowThreads(__tstate); | |
8494 | if (PyErr_Occurred()) SWIG_fail; | |
8495 | } | |
8496 | Py_INCREF(Py_None); resultobj = Py_None; | |
8497 | { | |
8498 | if (temp2) | |
8499 | delete arg2; | |
8500 | } | |
8501 | return resultobj; | |
8502 | fail: | |
8503 | { | |
8504 | if (temp2) | |
8505 | delete arg2; | |
8506 | } | |
8507 | return NULL; | |
8508 | } | |
8509 | ||
8510 | ||
c32bde28 | 8511 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8512 | PyObject *resultobj; |
8513 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8514 | wxString *arg2 = 0 ; | |
8515 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8516 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
8517 | bool temp2 = false ; |
8518 | bool temp3 = false ; | |
d14a1e28 RD |
8519 | PyObject * obj0 = 0 ; |
8520 | PyObject * obj1 = 0 ; | |
8521 | PyObject * obj2 = 0 ; | |
8522 | char *kwnames[] = { | |
8523 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8524 | }; | |
8525 | ||
8526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8529 | { |
8530 | arg2 = wxString_in_helper(obj1); | |
8531 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8532 | temp2 = true; |
d14a1e28 RD |
8533 | } |
8534 | if (obj2) { | |
8535 | { | |
8536 | arg3 = wxString_in_helper(obj2); | |
8537 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 8538 | temp3 = true; |
d14a1e28 RD |
8539 | } |
8540 | } | |
8541 | { | |
8542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8543 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
8544 | ||
8545 | wxPyEndAllowThreads(__tstate); | |
8546 | if (PyErr_Occurred()) SWIG_fail; | |
8547 | } | |
8548 | Py_INCREF(Py_None); resultobj = Py_None; | |
8549 | { | |
8550 | if (temp2) | |
8551 | delete arg2; | |
8552 | } | |
8553 | { | |
8554 | if (temp3) | |
8555 | delete arg3; | |
8556 | } | |
8557 | return resultobj; | |
8558 | fail: | |
8559 | { | |
8560 | if (temp2) | |
8561 | delete arg2; | |
8562 | } | |
8563 | { | |
8564 | if (temp3) | |
8565 | delete arg3; | |
8566 | } | |
8567 | return NULL; | |
8568 | } | |
8569 | ||
8570 | ||
c32bde28 | 8571 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8572 | PyObject *resultobj; |
8573 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8574 | wxString *arg2 = 0 ; | |
ae8162c8 | 8575 | bool temp2 = false ; |
d14a1e28 RD |
8576 | PyObject * obj0 = 0 ; |
8577 | PyObject * obj1 = 0 ; | |
8578 | char *kwnames[] = { | |
8579 | (char *) "self",(char *) "htmlfile", NULL | |
8580 | }; | |
8581 | ||
8582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8583 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8585 | { |
8586 | arg2 = wxString_in_helper(obj1); | |
8587 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8588 | temp2 = true; |
d14a1e28 RD |
8589 | } |
8590 | { | |
8591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8592 | (arg1)->PrintFile((wxString const &)*arg2); | |
8593 | ||
8594 | wxPyEndAllowThreads(__tstate); | |
8595 | if (PyErr_Occurred()) SWIG_fail; | |
8596 | } | |
8597 | Py_INCREF(Py_None); resultobj = Py_None; | |
8598 | { | |
8599 | if (temp2) | |
8600 | delete arg2; | |
8601 | } | |
8602 | return resultobj; | |
8603 | fail: | |
8604 | { | |
8605 | if (temp2) | |
8606 | delete arg2; | |
8607 | } | |
8608 | return NULL; | |
8609 | } | |
8610 | ||
8611 | ||
c32bde28 | 8612 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8613 | PyObject *resultobj; |
8614 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8615 | wxString *arg2 = 0 ; | |
8616 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8617 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 RD |
8618 | bool temp2 = false ; |
8619 | bool temp3 = false ; | |
d14a1e28 RD |
8620 | PyObject * obj0 = 0 ; |
8621 | PyObject * obj1 = 0 ; | |
8622 | PyObject * obj2 = 0 ; | |
8623 | char *kwnames[] = { | |
8624 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8625 | }; | |
8626 | ||
8627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8630 | { |
8631 | arg2 = wxString_in_helper(obj1); | |
8632 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8633 | temp2 = true; |
d14a1e28 RD |
8634 | } |
8635 | if (obj2) { | |
8636 | { | |
8637 | arg3 = wxString_in_helper(obj2); | |
8638 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 8639 | temp3 = true; |
d14a1e28 RD |
8640 | } |
8641 | } | |
8642 | { | |
8643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8644 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
8645 | ||
8646 | wxPyEndAllowThreads(__tstate); | |
8647 | if (PyErr_Occurred()) SWIG_fail; | |
8648 | } | |
8649 | Py_INCREF(Py_None); resultobj = Py_None; | |
8650 | { | |
8651 | if (temp2) | |
8652 | delete arg2; | |
8653 | } | |
8654 | { | |
8655 | if (temp3) | |
8656 | delete arg3; | |
8657 | } | |
8658 | return resultobj; | |
8659 | fail: | |
8660 | { | |
8661 | if (temp2) | |
8662 | delete arg2; | |
8663 | } | |
8664 | { | |
8665 | if (temp3) | |
8666 | delete arg3; | |
8667 | } | |
8668 | return NULL; | |
8669 | } | |
8670 | ||
8671 | ||
c32bde28 | 8672 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8673 | PyObject *resultobj; |
8674 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8675 | PyObject * obj0 = 0 ; | |
8676 | char *kwnames[] = { | |
8677 | (char *) "self", NULL | |
8678 | }; | |
8679 | ||
8680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8683 | { |
8684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8685 | (arg1)->PageSetup(); | |
8686 | ||
8687 | wxPyEndAllowThreads(__tstate); | |
8688 | if (PyErr_Occurred()) SWIG_fail; | |
8689 | } | |
8690 | Py_INCREF(Py_None); resultobj = Py_None; | |
8691 | return resultobj; | |
8692 | fail: | |
8693 | return NULL; | |
8694 | } | |
8695 | ||
8696 | ||
c32bde28 | 8697 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8698 | PyObject *resultobj; |
8699 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8700 | wxString *arg2 = 0 ; | |
8701 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 8702 | bool temp2 = false ; |
d14a1e28 RD |
8703 | PyObject * obj0 = 0 ; |
8704 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8705 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8706 | char *kwnames[] = { |
8707 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
8708 | }; | |
8709 | ||
8edf1c75 | 8710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8713 | { |
8714 | arg2 = wxString_in_helper(obj1); | |
8715 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8716 | temp2 = true; |
d14a1e28 | 8717 | } |
8edf1c75 | 8718 | if (obj2) { |
c32bde28 | 8719 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8720 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8721 | } |
d14a1e28 RD |
8722 | { |
8723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8724 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
8725 | ||
8726 | wxPyEndAllowThreads(__tstate); | |
8727 | if (PyErr_Occurred()) SWIG_fail; | |
8728 | } | |
8729 | Py_INCREF(Py_None); resultobj = Py_None; | |
8730 | { | |
8731 | if (temp2) | |
8732 | delete arg2; | |
8733 | } | |
8734 | return resultobj; | |
8735 | fail: | |
8736 | { | |
8737 | if (temp2) | |
8738 | delete arg2; | |
8739 | } | |
8740 | return NULL; | |
8741 | } | |
8742 | ||
8743 | ||
c32bde28 | 8744 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8745 | PyObject *resultobj; |
8746 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8747 | wxString *arg2 = 0 ; | |
8748 | int arg3 = (int) wxPAGE_ALL ; | |
ae8162c8 | 8749 | bool temp2 = false ; |
d14a1e28 RD |
8750 | PyObject * obj0 = 0 ; |
8751 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8752 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8753 | char *kwnames[] = { |
8754 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8755 | }; | |
8756 | ||
8edf1c75 | 8757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8760 | { |
8761 | arg2 = wxString_in_helper(obj1); | |
8762 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8763 | temp2 = true; |
d14a1e28 | 8764 | } |
8edf1c75 | 8765 | if (obj2) { |
c32bde28 | 8766 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8767 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8768 | } |
d14a1e28 RD |
8769 | { |
8770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8771 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
8772 | ||
8773 | wxPyEndAllowThreads(__tstate); | |
8774 | if (PyErr_Occurred()) SWIG_fail; | |
8775 | } | |
8776 | Py_INCREF(Py_None); resultobj = Py_None; | |
8777 | { | |
8778 | if (temp2) | |
8779 | delete arg2; | |
8780 | } | |
8781 | return resultobj; | |
8782 | fail: | |
8783 | { | |
8784 | if (temp2) | |
8785 | delete arg2; | |
8786 | } | |
8787 | return NULL; | |
8788 | } | |
8789 | ||
8790 | ||
c32bde28 | 8791 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8792 | PyObject *resultobj; |
8793 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8794 | wxString arg2 ; | |
8795 | wxString arg3 ; | |
8796 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
8797 | PyObject * obj0 = 0 ; |
8798 | PyObject * obj1 = 0 ; | |
8799 | PyObject * obj2 = 0 ; | |
8800 | PyObject * obj3 = 0 ; | |
8801 | char *kwnames[] = { | |
8802 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8803 | }; | |
8804 | ||
8805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
8806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
8808 | { |
8809 | wxString* sptr = wxString_in_helper(obj1); | |
8810 | if (sptr == NULL) SWIG_fail; | |
8811 | arg2 = *sptr; | |
8812 | delete sptr; | |
8813 | } | |
8814 | { | |
8815 | wxString* sptr = wxString_in_helper(obj2); | |
8816 | if (sptr == NULL) SWIG_fail; | |
8817 | arg3 = *sptr; | |
8818 | delete sptr; | |
8819 | } | |
d14a1e28 RD |
8820 | if (obj3) { |
8821 | arg4 = obj3; | |
8822 | } | |
8823 | { | |
8824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8825 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
8826 | ||
8827 | wxPyEndAllowThreads(__tstate); | |
8828 | if (PyErr_Occurred()) SWIG_fail; | |
8829 | } | |
8830 | Py_INCREF(Py_None); resultobj = Py_None; | |
8831 | return resultobj; | |
8832 | fail: | |
8833 | return NULL; | |
8834 | } | |
8835 | ||
8836 | ||
ae8162c8 | 8837 | static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
8838 | PyObject *resultobj; |
8839 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8840 | int arg2 = (int) -1 ; | |
ae8162c8 RD |
8841 | wxString const &arg3_defvalue = wxPyEmptyString ; |
8842 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8843 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
8844 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
8845 | bool temp3 = false ; | |
8846 | bool temp4 = false ; | |
30ee79f7 RD |
8847 | PyObject * obj0 = 0 ; |
8848 | PyObject * obj1 = 0 ; | |
ae8162c8 RD |
8849 | PyObject * obj2 = 0 ; |
8850 | PyObject * obj3 = 0 ; | |
30ee79f7 | 8851 | char *kwnames[] = { |
ae8162c8 | 8852 | (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL |
30ee79f7 RD |
8853 | }; |
8854 | ||
ae8162c8 | 8855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
30ee79f7 RD |
8856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8858 | if (obj1) { | |
c32bde28 | 8859 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
8860 | if (PyErr_Occurred()) SWIG_fail; |
8861 | } | |
ae8162c8 RD |
8862 | if (obj2) { |
8863 | { | |
8864 | arg3 = wxString_in_helper(obj2); | |
8865 | if (arg3 == NULL) SWIG_fail; | |
8866 | temp3 = true; | |
8867 | } | |
8868 | } | |
8869 | if (obj3) { | |
8870 | { | |
8871 | arg4 = wxString_in_helper(obj3); | |
8872 | if (arg4 == NULL) SWIG_fail; | |
8873 | temp4 = true; | |
8874 | } | |
8875 | } | |
30ee79f7 RD |
8876 | { |
8877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ae8162c8 | 8878 | (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4); |
30ee79f7 RD |
8879 | |
8880 | wxPyEndAllowThreads(__tstate); | |
8881 | if (PyErr_Occurred()) SWIG_fail; | |
8882 | } | |
8883 | Py_INCREF(Py_None); resultobj = Py_None; | |
ae8162c8 RD |
8884 | { |
8885 | if (temp3) | |
8886 | delete arg3; | |
8887 | } | |
8888 | { | |
8889 | if (temp4) | |
8890 | delete arg4; | |
8891 | } | |
30ee79f7 RD |
8892 | return resultobj; |
8893 | fail: | |
ae8162c8 RD |
8894 | { |
8895 | if (temp3) | |
8896 | delete arg3; | |
8897 | } | |
8898 | { | |
8899 | if (temp4) | |
8900 | delete arg4; | |
8901 | } | |
30ee79f7 RD |
8902 | return NULL; |
8903 | } | |
8904 | ||
8905 | ||
c32bde28 | 8906 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8907 | PyObject *resultobj; |
8908 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8909 | wxPrintData *result; | |
8910 | PyObject * obj0 = 0 ; | |
8911 | char *kwnames[] = { | |
8912 | (char *) "self", NULL | |
8913 | }; | |
8914 | ||
8915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8916 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8918 | { |
8919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8920 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
8921 | ||
8922 | wxPyEndAllowThreads(__tstate); | |
8923 | if (PyErr_Occurred()) SWIG_fail; | |
8924 | } | |
2f4c0a16 | 8925 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
8926 | return resultobj; |
8927 | fail: | |
8928 | return NULL; | |
8929 | } | |
8930 | ||
8931 | ||
c32bde28 | 8932 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8933 | PyObject *resultobj; |
8934 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8935 | wxPageSetupDialogData *result; | |
8936 | PyObject * obj0 = 0 ; | |
8937 | char *kwnames[] = { | |
8938 | (char *) "self", NULL | |
8939 | }; | |
8940 | ||
8941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8944 | { |
8945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8946 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
8947 | ||
8948 | wxPyEndAllowThreads(__tstate); | |
8949 | if (PyErr_Occurred()) SWIG_fail; | |
8950 | } | |
2f4c0a16 | 8951 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
8952 | return resultobj; |
8953 | fail: | |
8954 | return NULL; | |
8955 | } | |
8956 | ||
8957 | ||
c32bde28 | 8958 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8959 | PyObject *obj; |
8960 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8961 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
8962 | Py_INCREF(obj); | |
8963 | return Py_BuildValue((char *)""); | |
8964 | } | |
c32bde28 | 8965 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8966 | PyObject *resultobj; |
8967 | wxString *arg1 = 0 ; | |
8968 | wxString *arg2 = 0 ; | |
8969 | wxString *arg3 = 0 ; | |
8970 | wxString *arg4 = 0 ; | |
8971 | wxHtmlBookRecord *result; | |
ae8162c8 RD |
8972 | bool temp1 = false ; |
8973 | bool temp2 = false ; | |
8974 | bool temp3 = false ; | |
8975 | bool temp4 = false ; | |
d14a1e28 RD |
8976 | PyObject * obj0 = 0 ; |
8977 | PyObject * obj1 = 0 ; | |
8978 | PyObject * obj2 = 0 ; | |
8979 | PyObject * obj3 = 0 ; | |
8980 | char *kwnames[] = { | |
8981 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
8982 | }; | |
8983 | ||
8984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8985 | { | |
8986 | arg1 = wxString_in_helper(obj0); | |
8987 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 8988 | temp1 = true; |
d14a1e28 RD |
8989 | } |
8990 | { | |
8991 | arg2 = wxString_in_helper(obj1); | |
8992 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 8993 | temp2 = true; |
d14a1e28 RD |
8994 | } |
8995 | { | |
8996 | arg3 = wxString_in_helper(obj2); | |
8997 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 8998 | temp3 = true; |
d14a1e28 RD |
8999 | } |
9000 | { | |
9001 | arg4 = wxString_in_helper(obj3); | |
9002 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 9003 | temp4 = true; |
d14a1e28 RD |
9004 | } |
9005 | { | |
9006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9007 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
9008 | ||
9009 | wxPyEndAllowThreads(__tstate); | |
9010 | if (PyErr_Occurred()) SWIG_fail; | |
9011 | } | |
2f4c0a16 | 9012 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1); |
d14a1e28 RD |
9013 | { |
9014 | if (temp1) | |
9015 | delete arg1; | |
9016 | } | |
9017 | { | |
9018 | if (temp2) | |
9019 | delete arg2; | |
9020 | } | |
9021 | { | |
9022 | if (temp3) | |
9023 | delete arg3; | |
9024 | } | |
9025 | { | |
9026 | if (temp4) | |
9027 | delete arg4; | |
9028 | } | |
9029 | return resultobj; | |
9030 | fail: | |
9031 | { | |
9032 | if (temp1) | |
9033 | delete arg1; | |
9034 | } | |
9035 | { | |
9036 | if (temp2) | |
9037 | delete arg2; | |
9038 | } | |
9039 | { | |
9040 | if (temp3) | |
9041 | delete arg3; | |
9042 | } | |
9043 | { | |
9044 | if (temp4) | |
9045 | delete arg4; | |
9046 | } | |
9047 | return NULL; | |
9048 | } | |
9049 | ||
9050 | ||
c32bde28 | 9051 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9052 | PyObject *resultobj; |
9053 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9054 | wxString result; | |
9055 | PyObject * obj0 = 0 ; | |
9056 | char *kwnames[] = { | |
9057 | (char *) "self", NULL | |
9058 | }; | |
9059 | ||
9060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9063 | { |
9064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9065 | result = (arg1)->GetBookFile(); | |
9066 | ||
9067 | wxPyEndAllowThreads(__tstate); | |
9068 | if (PyErr_Occurred()) SWIG_fail; | |
9069 | } | |
9070 | { | |
9071 | #if wxUSE_UNICODE | |
9072 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9073 | #else | |
9074 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9075 | #endif | |
9076 | } | |
9077 | return resultobj; | |
9078 | fail: | |
9079 | return NULL; | |
9080 | } | |
9081 | ||
9082 | ||
c32bde28 | 9083 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9084 | PyObject *resultobj; |
9085 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9086 | wxString result; | |
9087 | PyObject * obj0 = 0 ; | |
9088 | char *kwnames[] = { | |
9089 | (char *) "self", NULL | |
9090 | }; | |
9091 | ||
9092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9095 | { |
9096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9097 | result = (arg1)->GetTitle(); | |
9098 | ||
9099 | wxPyEndAllowThreads(__tstate); | |
9100 | if (PyErr_Occurred()) SWIG_fail; | |
9101 | } | |
9102 | { | |
9103 | #if wxUSE_UNICODE | |
9104 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9105 | #else | |
9106 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9107 | #endif | |
9108 | } | |
9109 | return resultobj; | |
9110 | fail: | |
9111 | return NULL; | |
9112 | } | |
9113 | ||
9114 | ||
c32bde28 | 9115 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9116 | PyObject *resultobj; |
9117 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9118 | wxString result; | |
9119 | PyObject * obj0 = 0 ; | |
9120 | char *kwnames[] = { | |
9121 | (char *) "self", NULL | |
9122 | }; | |
9123 | ||
9124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9127 | { |
9128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9129 | result = (arg1)->GetStart(); | |
9130 | ||
9131 | wxPyEndAllowThreads(__tstate); | |
9132 | if (PyErr_Occurred()) SWIG_fail; | |
9133 | } | |
9134 | { | |
9135 | #if wxUSE_UNICODE | |
9136 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9137 | #else | |
9138 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9139 | #endif | |
9140 | } | |
9141 | return resultobj; | |
9142 | fail: | |
9143 | return NULL; | |
9144 | } | |
9145 | ||
9146 | ||
c32bde28 | 9147 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9148 | PyObject *resultobj; |
9149 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9150 | wxString result; | |
9151 | PyObject * obj0 = 0 ; | |
9152 | char *kwnames[] = { | |
9153 | (char *) "self", NULL | |
9154 | }; | |
9155 | ||
9156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9159 | { |
9160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9161 | result = (arg1)->GetBasePath(); | |
9162 | ||
9163 | wxPyEndAllowThreads(__tstate); | |
9164 | if (PyErr_Occurred()) SWIG_fail; | |
9165 | } | |
9166 | { | |
9167 | #if wxUSE_UNICODE | |
9168 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9169 | #else | |
9170 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9171 | #endif | |
9172 | } | |
9173 | return resultobj; | |
9174 | fail: | |
9175 | return NULL; | |
9176 | } | |
9177 | ||
9178 | ||
c32bde28 | 9179 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9180 | PyObject *resultobj; |
9181 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9182 | int arg2 ; | |
9183 | int arg3 ; | |
9184 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
9185 | PyObject * obj1 = 0 ; |
9186 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9187 | char *kwnames[] = { |
9188 | (char *) "self",(char *) "start",(char *) "end", NULL | |
9189 | }; | |
9190 | ||
8edf1c75 | 9191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
9192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9194 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 9195 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 9196 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 9197 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9198 | { |
9199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9200 | (arg1)->SetContentsRange(arg2,arg3); | |
9201 | ||
9202 | wxPyEndAllowThreads(__tstate); | |
9203 | if (PyErr_Occurred()) SWIG_fail; | |
9204 | } | |
9205 | Py_INCREF(Py_None); resultobj = Py_None; | |
9206 | return resultobj; | |
9207 | fail: | |
9208 | return NULL; | |
9209 | } | |
9210 | ||
9211 | ||
c32bde28 | 9212 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9213 | PyObject *resultobj; |
9214 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9215 | int result; | |
9216 | PyObject * obj0 = 0 ; | |
9217 | char *kwnames[] = { | |
9218 | (char *) "self", NULL | |
9219 | }; | |
9220 | ||
9221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9224 | { |
9225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9226 | result = (int)(arg1)->GetContentsStart(); | |
9227 | ||
9228 | wxPyEndAllowThreads(__tstate); | |
9229 | if (PyErr_Occurred()) SWIG_fail; | |
9230 | } | |
c32bde28 | 9231 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9232 | return resultobj; |
9233 | fail: | |
9234 | return NULL; | |
9235 | } | |
9236 | ||
9237 | ||
c32bde28 | 9238 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9239 | PyObject *resultobj; |
9240 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9241 | int result; | |
9242 | PyObject * obj0 = 0 ; | |
9243 | char *kwnames[] = { | |
9244 | (char *) "self", NULL | |
9245 | }; | |
9246 | ||
9247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9250 | { |
9251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9252 | result = (int)(arg1)->GetContentsEnd(); | |
9253 | ||
9254 | wxPyEndAllowThreads(__tstate); | |
9255 | if (PyErr_Occurred()) SWIG_fail; | |
9256 | } | |
c32bde28 | 9257 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9258 | return resultobj; |
9259 | fail: | |
9260 | return NULL; | |
9261 | } | |
9262 | ||
9263 | ||
c32bde28 | 9264 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9265 | PyObject *resultobj; |
9266 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9267 | wxString *arg2 = 0 ; | |
ae8162c8 | 9268 | bool temp2 = false ; |
d14a1e28 RD |
9269 | PyObject * obj0 = 0 ; |
9270 | PyObject * obj1 = 0 ; | |
9271 | char *kwnames[] = { | |
9272 | (char *) "self",(char *) "title", NULL | |
9273 | }; | |
9274 | ||
9275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9278 | { |
9279 | arg2 = wxString_in_helper(obj1); | |
9280 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9281 | temp2 = true; |
d14a1e28 RD |
9282 | } |
9283 | { | |
9284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9285 | (arg1)->SetTitle((wxString const &)*arg2); | |
9286 | ||
9287 | wxPyEndAllowThreads(__tstate); | |
9288 | if (PyErr_Occurred()) SWIG_fail; | |
9289 | } | |
9290 | Py_INCREF(Py_None); resultobj = Py_None; | |
9291 | { | |
9292 | if (temp2) | |
9293 | delete arg2; | |
9294 | } | |
9295 | return resultobj; | |
9296 | fail: | |
9297 | { | |
9298 | if (temp2) | |
9299 | delete arg2; | |
9300 | } | |
9301 | return NULL; | |
9302 | } | |
9303 | ||
9304 | ||
c32bde28 | 9305 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9306 | PyObject *resultobj; |
9307 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9308 | wxString *arg2 = 0 ; | |
ae8162c8 | 9309 | bool temp2 = false ; |
d14a1e28 RD |
9310 | PyObject * obj0 = 0 ; |
9311 | PyObject * obj1 = 0 ; | |
9312 | char *kwnames[] = { | |
9313 | (char *) "self",(char *) "path", NULL | |
9314 | }; | |
9315 | ||
9316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9319 | { |
9320 | arg2 = wxString_in_helper(obj1); | |
9321 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9322 | temp2 = true; |
d14a1e28 RD |
9323 | } |
9324 | { | |
9325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9326 | (arg1)->SetBasePath((wxString const &)*arg2); | |
9327 | ||
9328 | wxPyEndAllowThreads(__tstate); | |
9329 | if (PyErr_Occurred()) SWIG_fail; | |
9330 | } | |
9331 | Py_INCREF(Py_None); resultobj = Py_None; | |
9332 | { | |
9333 | if (temp2) | |
9334 | delete arg2; | |
9335 | } | |
9336 | return resultobj; | |
9337 | fail: | |
9338 | { | |
9339 | if (temp2) | |
9340 | delete arg2; | |
9341 | } | |
9342 | return NULL; | |
9343 | } | |
9344 | ||
9345 | ||
c32bde28 | 9346 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9347 | PyObject *resultobj; |
9348 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9349 | wxString *arg2 = 0 ; | |
ae8162c8 | 9350 | bool temp2 = false ; |
d14a1e28 RD |
9351 | PyObject * obj0 = 0 ; |
9352 | PyObject * obj1 = 0 ; | |
9353 | char *kwnames[] = { | |
9354 | (char *) "self",(char *) "start", NULL | |
9355 | }; | |
9356 | ||
9357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9360 | { |
9361 | arg2 = wxString_in_helper(obj1); | |
9362 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9363 | temp2 = true; |
d14a1e28 RD |
9364 | } |
9365 | { | |
9366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9367 | (arg1)->SetStart((wxString const &)*arg2); | |
9368 | ||
9369 | wxPyEndAllowThreads(__tstate); | |
9370 | if (PyErr_Occurred()) SWIG_fail; | |
9371 | } | |
9372 | Py_INCREF(Py_None); resultobj = Py_None; | |
9373 | { | |
9374 | if (temp2) | |
9375 | delete arg2; | |
9376 | } | |
9377 | return resultobj; | |
9378 | fail: | |
9379 | { | |
9380 | if (temp2) | |
9381 | delete arg2; | |
9382 | } | |
9383 | return NULL; | |
9384 | } | |
9385 | ||
9386 | ||
c32bde28 | 9387 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9388 | PyObject *resultobj; |
9389 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9390 | wxString *arg2 = 0 ; | |
9391 | wxString result; | |
ae8162c8 | 9392 | bool temp2 = false ; |
d14a1e28 RD |
9393 | PyObject * obj0 = 0 ; |
9394 | PyObject * obj1 = 0 ; | |
9395 | char *kwnames[] = { | |
9396 | (char *) "self",(char *) "page", NULL | |
9397 | }; | |
9398 | ||
9399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9402 | { |
9403 | arg2 = wxString_in_helper(obj1); | |
9404 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9405 | temp2 = true; |
d14a1e28 RD |
9406 | } |
9407 | { | |
9408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9409 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
9410 | ||
9411 | wxPyEndAllowThreads(__tstate); | |
9412 | if (PyErr_Occurred()) SWIG_fail; | |
9413 | } | |
9414 | { | |
9415 | #if wxUSE_UNICODE | |
9416 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9417 | #else | |
9418 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9419 | #endif | |
9420 | } | |
9421 | { | |
9422 | if (temp2) | |
9423 | delete arg2; | |
9424 | } | |
9425 | return resultobj; | |
9426 | fail: | |
9427 | { | |
9428 | if (temp2) | |
9429 | delete arg2; | |
9430 | } | |
9431 | return NULL; | |
9432 | } | |
9433 | ||
9434 | ||
c32bde28 | 9435 | static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9436 | PyObject *obj; |
9437 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9438 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
9439 | Py_INCREF(obj); | |
9440 | return Py_BuildValue((char *)""); | |
9441 | } | |
c32bde28 | 9442 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9443 | PyObject *resultobj; |
9444 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9445 | int result; | |
9446 | PyObject * obj0 = 0 ; | |
9447 | char *kwnames[] = { | |
9448 | (char *) "self", NULL | |
9449 | }; | |
9450 | ||
9451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9454 | { |
9455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9456 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
9457 | ||
9458 | wxPyEndAllowThreads(__tstate); | |
9459 | if (PyErr_Occurred()) SWIG_fail; | |
9460 | } | |
c32bde28 | 9461 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9462 | return resultobj; |
9463 | fail: | |
9464 | return NULL; | |
9465 | } | |
9466 | ||
9467 | ||
c32bde28 | 9468 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9469 | PyObject *resultobj; |
9470 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9471 | int result; | |
9472 | PyObject * obj0 = 0 ; | |
9473 | char *kwnames[] = { | |
9474 | (char *) "self", NULL | |
9475 | }; | |
9476 | ||
9477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9480 | { |
9481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9482 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
9483 | ||
9484 | wxPyEndAllowThreads(__tstate); | |
9485 | if (PyErr_Occurred()) SWIG_fail; | |
9486 | } | |
c32bde28 | 9487 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9488 | return resultobj; |
9489 | fail: | |
9490 | return NULL; | |
9491 | } | |
9492 | ||
9493 | ||
c32bde28 | 9494 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9495 | PyObject *resultobj; |
9496 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9497 | wxString result; | |
9498 | PyObject * obj0 = 0 ; | |
9499 | char *kwnames[] = { | |
9500 | (char *) "self", NULL | |
9501 | }; | |
9502 | ||
9503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9506 | { |
9507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9508 | result = wxHtmlContentsItem_GetName(arg1); | |
9509 | ||
9510 | wxPyEndAllowThreads(__tstate); | |
9511 | if (PyErr_Occurred()) SWIG_fail; | |
9512 | } | |
9513 | { | |
9514 | #if wxUSE_UNICODE | |
9515 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9516 | #else | |
9517 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9518 | #endif | |
9519 | } | |
9520 | return resultobj; | |
9521 | fail: | |
9522 | return NULL; | |
9523 | } | |
9524 | ||
9525 | ||
c32bde28 | 9526 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9527 | PyObject *resultobj; |
9528 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9529 | wxString result; | |
9530 | PyObject * obj0 = 0 ; | |
9531 | char *kwnames[] = { | |
9532 | (char *) "self", NULL | |
9533 | }; | |
9534 | ||
9535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9538 | { |
9539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9540 | result = wxHtmlContentsItem_GetPage(arg1); | |
9541 | ||
9542 | wxPyEndAllowThreads(__tstate); | |
9543 | if (PyErr_Occurred()) SWIG_fail; | |
9544 | } | |
9545 | { | |
9546 | #if wxUSE_UNICODE | |
9547 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9548 | #else | |
9549 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9550 | #endif | |
9551 | } | |
9552 | return resultobj; | |
9553 | fail: | |
9554 | return NULL; | |
9555 | } | |
9556 | ||
9557 | ||
c32bde28 | 9558 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9559 | PyObject *resultobj; |
9560 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9561 | wxHtmlBookRecord *result; | |
9562 | PyObject * obj0 = 0 ; | |
9563 | char *kwnames[] = { | |
9564 | (char *) "self", NULL | |
9565 | }; | |
9566 | ||
9567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9570 | { |
9571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9572 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
9573 | ||
9574 | wxPyEndAllowThreads(__tstate); | |
9575 | if (PyErr_Occurred()) SWIG_fail; | |
9576 | } | |
2f4c0a16 | 9577 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0); |
d14a1e28 RD |
9578 | return resultobj; |
9579 | fail: | |
9580 | return NULL; | |
9581 | } | |
9582 | ||
9583 | ||
c32bde28 | 9584 | static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9585 | PyObject *obj; |
9586 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9587 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
9588 | Py_INCREF(obj); | |
9589 | return Py_BuildValue((char *)""); | |
9590 | } | |
c32bde28 | 9591 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9592 | PyObject *resultobj; |
9593 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9594 | bool result; | |
9595 | PyObject * obj0 = 0 ; | |
9596 | char *kwnames[] = { | |
9597 | (char *) "self", NULL | |
9598 | }; | |
9599 | ||
9600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9603 | { |
9604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9605 | result = (bool)(arg1)->Search(); | |
9606 | ||
9607 | wxPyEndAllowThreads(__tstate); | |
9608 | if (PyErr_Occurred()) SWIG_fail; | |
9609 | } | |
4f89f6a3 RD |
9610 | { |
9611 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9612 | } | |
d14a1e28 RD |
9613 | return resultobj; |
9614 | fail: | |
9615 | return NULL; | |
9616 | } | |
9617 | ||
9618 | ||
c32bde28 | 9619 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9620 | PyObject *resultobj; |
9621 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9622 | bool result; | |
9623 | PyObject * obj0 = 0 ; | |
9624 | char *kwnames[] = { | |
9625 | (char *) "self", NULL | |
9626 | }; | |
9627 | ||
9628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9631 | { |
9632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9633 | result = (bool)(arg1)->IsActive(); | |
9634 | ||
9635 | wxPyEndAllowThreads(__tstate); | |
9636 | if (PyErr_Occurred()) SWIG_fail; | |
9637 | } | |
4f89f6a3 RD |
9638 | { |
9639 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9640 | } | |
d14a1e28 RD |
9641 | return resultobj; |
9642 | fail: | |
9643 | return NULL; | |
9644 | } | |
9645 | ||
9646 | ||
c32bde28 | 9647 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9648 | PyObject *resultobj; |
9649 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9650 | int result; | |
9651 | PyObject * obj0 = 0 ; | |
9652 | char *kwnames[] = { | |
9653 | (char *) "self", NULL | |
9654 | }; | |
9655 | ||
9656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9659 | { |
9660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9661 | result = (int)(arg1)->GetCurIndex(); | |
9662 | ||
9663 | wxPyEndAllowThreads(__tstate); | |
9664 | if (PyErr_Occurred()) SWIG_fail; | |
9665 | } | |
c32bde28 | 9666 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9667 | return resultobj; |
9668 | fail: | |
9669 | return NULL; | |
9670 | } | |
9671 | ||
9672 | ||
c32bde28 | 9673 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9674 | PyObject *resultobj; |
9675 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9676 | int result; | |
9677 | PyObject * obj0 = 0 ; | |
9678 | char *kwnames[] = { | |
9679 | (char *) "self", NULL | |
9680 | }; | |
9681 | ||
9682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9685 | { |
9686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9687 | result = (int)(arg1)->GetMaxIndex(); | |
9688 | ||
9689 | wxPyEndAllowThreads(__tstate); | |
9690 | if (PyErr_Occurred()) SWIG_fail; | |
9691 | } | |
c32bde28 | 9692 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9693 | return resultobj; |
9694 | fail: | |
9695 | return NULL; | |
9696 | } | |
9697 | ||
9698 | ||
c32bde28 | 9699 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9700 | PyObject *resultobj; |
9701 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9702 | wxString *result; | |
9703 | PyObject * obj0 = 0 ; | |
9704 | char *kwnames[] = { | |
9705 | (char *) "self", NULL | |
9706 | }; | |
9707 | ||
9708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9709 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9711 | { |
9712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9713 | { | |
9714 | wxString const &_result_ref = (arg1)->GetName(); | |
9715 | result = (wxString *) &_result_ref; | |
9716 | } | |
9717 | ||
9718 | wxPyEndAllowThreads(__tstate); | |
9719 | if (PyErr_Occurred()) SWIG_fail; | |
9720 | } | |
f0983263 RD |
9721 | { |
9722 | #if wxUSE_UNICODE | |
9723 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
9724 | #else | |
9725 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
9726 | #endif | |
9727 | } | |
d14a1e28 RD |
9728 | return resultobj; |
9729 | fail: | |
9730 | return NULL; | |
9731 | } | |
9732 | ||
9733 | ||
c32bde28 | 9734 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9735 | PyObject *resultobj; |
9736 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9737 | wxHtmlContentsItem *result; | |
9738 | PyObject * obj0 = 0 ; | |
9739 | char *kwnames[] = { | |
9740 | (char *) "self", NULL | |
9741 | }; | |
9742 | ||
9743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9746 | { |
9747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9748 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
9749 | ||
9750 | wxPyEndAllowThreads(__tstate); | |
9751 | if (PyErr_Occurred()) SWIG_fail; | |
9752 | } | |
2f4c0a16 | 9753 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); |
d14a1e28 RD |
9754 | return resultobj; |
9755 | fail: | |
9756 | return NULL; | |
9757 | } | |
9758 | ||
9759 | ||
c32bde28 | 9760 | static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9761 | PyObject *obj; |
9762 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9763 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
9764 | Py_INCREF(obj); | |
9765 | return Py_BuildValue((char *)""); | |
9766 | } | |
c32bde28 | 9767 | static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9768 | PyObject *resultobj; |
9769 | wxHtmlHelpData *result; | |
9770 | char *kwnames[] = { | |
9771 | NULL | |
9772 | }; | |
9773 | ||
9774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
9775 | { | |
9776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9777 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
9778 | ||
9779 | wxPyEndAllowThreads(__tstate); | |
9780 | if (PyErr_Occurred()) SWIG_fail; | |
9781 | } | |
2f4c0a16 | 9782 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1); |
d14a1e28 RD |
9783 | return resultobj; |
9784 | fail: | |
9785 | return NULL; | |
9786 | } | |
9787 | ||
9788 | ||
c32bde28 | 9789 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9790 | PyObject *resultobj; |
9791 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9792 | PyObject * obj0 = 0 ; | |
9793 | char *kwnames[] = { | |
9794 | (char *) "self", NULL | |
9795 | }; | |
9796 | ||
9797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9800 | { |
9801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9802 | delete arg1; | |
9803 | ||
9804 | wxPyEndAllowThreads(__tstate); | |
9805 | if (PyErr_Occurred()) SWIG_fail; | |
9806 | } | |
9807 | Py_INCREF(Py_None); resultobj = Py_None; | |
9808 | return resultobj; | |
9809 | fail: | |
9810 | return NULL; | |
9811 | } | |
9812 | ||
9813 | ||
c32bde28 | 9814 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9815 | PyObject *resultobj; |
9816 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9817 | wxString *arg2 = 0 ; | |
ae8162c8 | 9818 | bool temp2 = false ; |
d14a1e28 RD |
9819 | PyObject * obj0 = 0 ; |
9820 | PyObject * obj1 = 0 ; | |
9821 | char *kwnames[] = { | |
9822 | (char *) "self",(char *) "path", NULL | |
9823 | }; | |
9824 | ||
9825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9828 | { |
9829 | arg2 = wxString_in_helper(obj1); | |
9830 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9831 | temp2 = true; |
d14a1e28 RD |
9832 | } |
9833 | { | |
9834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9835 | (arg1)->SetTempDir((wxString const &)*arg2); | |
9836 | ||
9837 | wxPyEndAllowThreads(__tstate); | |
9838 | if (PyErr_Occurred()) SWIG_fail; | |
9839 | } | |
9840 | Py_INCREF(Py_None); resultobj = Py_None; | |
9841 | { | |
9842 | if (temp2) | |
9843 | delete arg2; | |
9844 | } | |
9845 | return resultobj; | |
9846 | fail: | |
9847 | { | |
9848 | if (temp2) | |
9849 | delete arg2; | |
9850 | } | |
9851 | return NULL; | |
9852 | } | |
9853 | ||
9854 | ||
c32bde28 | 9855 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9856 | PyObject *resultobj; |
9857 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9858 | wxString *arg2 = 0 ; | |
9859 | bool result; | |
ae8162c8 | 9860 | bool temp2 = false ; |
d14a1e28 RD |
9861 | PyObject * obj0 = 0 ; |
9862 | PyObject * obj1 = 0 ; | |
9863 | char *kwnames[] = { | |
9864 | (char *) "self",(char *) "book", NULL | |
9865 | }; | |
9866 | ||
9867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9870 | { |
9871 | arg2 = wxString_in_helper(obj1); | |
9872 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9873 | temp2 = true; |
d14a1e28 RD |
9874 | } |
9875 | { | |
9876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9877 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
9878 | ||
9879 | wxPyEndAllowThreads(__tstate); | |
9880 | if (PyErr_Occurred()) SWIG_fail; | |
9881 | } | |
4f89f6a3 RD |
9882 | { |
9883 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9884 | } | |
d14a1e28 RD |
9885 | { |
9886 | if (temp2) | |
9887 | delete arg2; | |
9888 | } | |
9889 | return resultobj; | |
9890 | fail: | |
9891 | { | |
9892 | if (temp2) | |
9893 | delete arg2; | |
9894 | } | |
9895 | return NULL; | |
9896 | } | |
9897 | ||
9898 | ||
c32bde28 | 9899 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9900 | PyObject *resultobj; |
9901 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9902 | wxString *arg2 = 0 ; | |
9903 | wxString result; | |
ae8162c8 | 9904 | bool temp2 = false ; |
d14a1e28 RD |
9905 | PyObject * obj0 = 0 ; |
9906 | PyObject * obj1 = 0 ; | |
9907 | char *kwnames[] = { | |
9908 | (char *) "self",(char *) "page", NULL | |
9909 | }; | |
9910 | ||
9911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9914 | { |
9915 | arg2 = wxString_in_helper(obj1); | |
9916 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9917 | temp2 = true; |
d14a1e28 RD |
9918 | } |
9919 | { | |
9920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9921 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
9922 | ||
9923 | wxPyEndAllowThreads(__tstate); | |
9924 | if (PyErr_Occurred()) SWIG_fail; | |
9925 | } | |
9926 | { | |
9927 | #if wxUSE_UNICODE | |
9928 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9929 | #else | |
9930 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9931 | #endif | |
9932 | } | |
9933 | { | |
9934 | if (temp2) | |
9935 | delete arg2; | |
9936 | } | |
9937 | return resultobj; | |
9938 | fail: | |
9939 | { | |
9940 | if (temp2) | |
9941 | delete arg2; | |
9942 | } | |
9943 | return NULL; | |
9944 | } | |
9945 | ||
9946 | ||
c32bde28 | 9947 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9948 | PyObject *resultobj; |
9949 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9950 | int arg2 ; | |
9951 | wxString result; | |
9952 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9953 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9954 | char *kwnames[] = { |
9955 | (char *) "self",(char *) "id", NULL | |
9956 | }; | |
9957 | ||
8edf1c75 | 9958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
9959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9961 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 9962 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9963 | { |
9964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9965 | result = (arg1)->FindPageById(arg2); | |
9966 | ||
9967 | wxPyEndAllowThreads(__tstate); | |
9968 | if (PyErr_Occurred()) SWIG_fail; | |
9969 | } | |
9970 | { | |
9971 | #if wxUSE_UNICODE | |
9972 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9973 | #else | |
9974 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9975 | #endif | |
9976 | } | |
9977 | return resultobj; | |
9978 | fail: | |
9979 | return NULL; | |
9980 | } | |
9981 | ||
9982 | ||
c32bde28 | 9983 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9984 | PyObject *resultobj; |
9985 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9986 | wxHtmlBookRecArray *result; | |
9987 | PyObject * obj0 = 0 ; | |
9988 | char *kwnames[] = { | |
9989 | (char *) "self", NULL | |
9990 | }; | |
9991 | ||
9992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9995 | { |
9996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9997 | { | |
9998 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
9999 | result = (wxHtmlBookRecArray *) &_result_ref; | |
10000 | } | |
10001 | ||
10002 | wxPyEndAllowThreads(__tstate); | |
10003 | if (PyErr_Occurred()) SWIG_fail; | |
10004 | } | |
2f4c0a16 | 10005 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0); |
d14a1e28 RD |
10006 | return resultobj; |
10007 | fail: | |
10008 | return NULL; | |
10009 | } | |
10010 | ||
10011 | ||
c32bde28 | 10012 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10013 | PyObject *resultobj; |
10014 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
10015 | wxHtmlContentsItem *result; | |
10016 | PyObject * obj0 = 0 ; | |
10017 | char *kwnames[] = { | |
10018 | (char *) "self", NULL | |
10019 | }; | |
10020 | ||
10021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
10023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10024 | { |
10025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10026 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
10027 | ||
10028 | wxPyEndAllowThreads(__tstate); | |
10029 | if (PyErr_Occurred()) SWIG_fail; | |
10030 | } | |
2f4c0a16 | 10031 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); |
d14a1e28 RD |
10032 | return resultobj; |
10033 | fail: | |
10034 | return NULL; | |
10035 | } | |
10036 | ||
10037 | ||
c32bde28 | 10038 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10039 | PyObject *resultobj; |
10040 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
10041 | int result; | |
10042 | PyObject * obj0 = 0 ; | |
10043 | char *kwnames[] = { | |
10044 | (char *) "self", NULL | |
10045 | }; | |
10046 | ||
10047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
10049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10050 | { |
10051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10052 | result = (int)(arg1)->GetContentsCnt(); | |
10053 | ||
10054 | wxPyEndAllowThreads(__tstate); | |
10055 | if (PyErr_Occurred()) SWIG_fail; | |
10056 | } | |
c32bde28 | 10057 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
10058 | return resultobj; |
10059 | fail: | |
10060 | return NULL; | |
10061 | } | |
10062 | ||
10063 | ||
c32bde28 | 10064 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10065 | PyObject *resultobj; |
10066 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
10067 | wxHtmlContentsItem *result; | |
10068 | PyObject * obj0 = 0 ; | |
10069 | char *kwnames[] = { | |
10070 | (char *) "self", NULL | |
10071 | }; | |
10072 | ||
10073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
10075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10076 | { |
10077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10078 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
10079 | ||
10080 | wxPyEndAllowThreads(__tstate); | |
10081 | if (PyErr_Occurred()) SWIG_fail; | |
10082 | } | |
2f4c0a16 | 10083 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); |
d14a1e28 RD |
10084 | return resultobj; |
10085 | fail: | |
10086 | return NULL; | |
10087 | } | |
10088 | ||
10089 | ||
c32bde28 | 10090 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10091 | PyObject *resultobj; |
10092 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
10093 | int result; | |
10094 | PyObject * obj0 = 0 ; | |
10095 | char *kwnames[] = { | |
10096 | (char *) "self", NULL | |
10097 | }; | |
10098 | ||
10099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
10101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10102 | { |
10103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10104 | result = (int)(arg1)->GetIndexCnt(); | |
10105 | ||
10106 | wxPyEndAllowThreads(__tstate); | |
10107 | if (PyErr_Occurred()) SWIG_fail; | |
10108 | } | |
c32bde28 | 10109 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
10110 | return resultobj; |
10111 | fail: | |
10112 | return NULL; | |
10113 | } | |
10114 | ||
10115 | ||
c32bde28 | 10116 | static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10117 | PyObject *obj; |
10118 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10119 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
10120 | Py_INCREF(obj); | |
10121 | return Py_BuildValue((char *)""); | |
10122 | } | |
c32bde28 | 10123 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10124 | PyObject *resultobj; |
10125 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10126 | int arg2 ; | |
10127 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10128 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10129 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
10130 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
10131 | wxHtmlHelpFrame *result; | |
ae8162c8 | 10132 | bool temp3 = false ; |
d14a1e28 | 10133 | PyObject * obj0 = 0 ; |
8edf1c75 | 10134 | PyObject * obj1 = 0 ; |
d14a1e28 | 10135 | PyObject * obj2 = 0 ; |
8edf1c75 | 10136 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
10137 | PyObject * obj4 = 0 ; |
10138 | char *kwnames[] = { | |
423f194a | 10139 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL |
d14a1e28 RD |
10140 | }; |
10141 | ||
8edf1c75 | 10142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
10143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10145 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 10146 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10147 | if (obj2) { |
10148 | { | |
10149 | arg3 = wxString_in_helper(obj2); | |
10150 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 10151 | temp3 = true; |
d14a1e28 RD |
10152 | } |
10153 | } | |
8edf1c75 | 10154 | if (obj3) { |
c32bde28 | 10155 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 10156 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 10157 | } |
d14a1e28 | 10158 | if (obj4) { |
2f4c0a16 RD |
10159 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData, |
10160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10161 | } |
10162 | { | |
0439c23b | 10163 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10165 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
10166 | ||
10167 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10168 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10169 | } |
2f4c0a16 | 10170 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); |
d14a1e28 RD |
10171 | { |
10172 | if (temp3) | |
10173 | delete arg3; | |
10174 | } | |
10175 | return resultobj; | |
10176 | fail: | |
10177 | { | |
10178 | if (temp3) | |
10179 | delete arg3; | |
10180 | } | |
10181 | return NULL; | |
10182 | } | |
10183 | ||
10184 | ||
c32bde28 | 10185 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10186 | PyObject *resultobj; |
10187 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10188 | wxHtmlHelpData *result; | |
10189 | PyObject * obj0 = 0 ; | |
10190 | char *kwnames[] = { | |
10191 | (char *) "self", NULL | |
10192 | }; | |
10193 | ||
10194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10197 | { |
10198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10199 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
10200 | ||
10201 | wxPyEndAllowThreads(__tstate); | |
10202 | if (PyErr_Occurred()) SWIG_fail; | |
10203 | } | |
2f4c0a16 | 10204 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); |
d14a1e28 RD |
10205 | return resultobj; |
10206 | fail: | |
10207 | return NULL; | |
10208 | } | |
10209 | ||
10210 | ||
c32bde28 | 10211 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10212 | PyObject *resultobj; |
10213 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10214 | wxString *arg2 = 0 ; | |
ae8162c8 | 10215 | bool temp2 = false ; |
d14a1e28 RD |
10216 | PyObject * obj0 = 0 ; |
10217 | PyObject * obj1 = 0 ; | |
10218 | char *kwnames[] = { | |
10219 | (char *) "self",(char *) "format", NULL | |
10220 | }; | |
10221 | ||
10222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10225 | { |
10226 | arg2 = wxString_in_helper(obj1); | |
10227 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10228 | temp2 = true; |
d14a1e28 RD |
10229 | } |
10230 | { | |
10231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10232 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10233 | ||
10234 | wxPyEndAllowThreads(__tstate); | |
10235 | if (PyErr_Occurred()) SWIG_fail; | |
10236 | } | |
10237 | Py_INCREF(Py_None); resultobj = Py_None; | |
10238 | { | |
10239 | if (temp2) | |
10240 | delete arg2; | |
10241 | } | |
10242 | return resultobj; | |
10243 | fail: | |
10244 | { | |
10245 | if (temp2) | |
10246 | delete arg2; | |
10247 | } | |
10248 | return NULL; | |
10249 | } | |
10250 | ||
10251 | ||
c32bde28 | 10252 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10253 | PyObject *resultobj; |
10254 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10255 | wxString *arg2 = 0 ; | |
ae8162c8 | 10256 | bool temp2 = false ; |
d14a1e28 RD |
10257 | PyObject * obj0 = 0 ; |
10258 | PyObject * obj1 = 0 ; | |
10259 | char *kwnames[] = { | |
10260 | (char *) "self",(char *) "x", NULL | |
10261 | }; | |
10262 | ||
10263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10266 | { |
10267 | arg2 = wxString_in_helper(obj1); | |
10268 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10269 | temp2 = true; |
d14a1e28 RD |
10270 | } |
10271 | { | |
10272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10273 | (arg1)->Display((wxString const &)*arg2); | |
10274 | ||
10275 | wxPyEndAllowThreads(__tstate); | |
10276 | if (PyErr_Occurred()) SWIG_fail; | |
10277 | } | |
10278 | Py_INCREF(Py_None); resultobj = Py_None; | |
10279 | { | |
10280 | if (temp2) | |
10281 | delete arg2; | |
10282 | } | |
10283 | return resultobj; | |
10284 | fail: | |
10285 | { | |
10286 | if (temp2) | |
10287 | delete arg2; | |
10288 | } | |
10289 | return NULL; | |
10290 | } | |
10291 | ||
10292 | ||
c32bde28 | 10293 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10294 | PyObject *resultobj; |
10295 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10296 | int arg2 ; | |
10297 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10298 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10299 | char *kwnames[] = { |
10300 | (char *) "self",(char *) "id", NULL | |
10301 | }; | |
10302 | ||
8edf1c75 | 10303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10306 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 10307 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10308 | { |
10309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10310 | (arg1)->Display(arg2); | |
10311 | ||
10312 | wxPyEndAllowThreads(__tstate); | |
10313 | if (PyErr_Occurred()) SWIG_fail; | |
10314 | } | |
10315 | Py_INCREF(Py_None); resultobj = Py_None; | |
10316 | return resultobj; | |
10317 | fail: | |
10318 | return NULL; | |
10319 | } | |
10320 | ||
10321 | ||
c32bde28 | 10322 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10323 | PyObject *resultobj; |
10324 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10325 | PyObject * obj0 = 0 ; | |
10326 | char *kwnames[] = { | |
10327 | (char *) "self", NULL | |
10328 | }; | |
10329 | ||
10330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10331 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10332 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10333 | { |
10334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10335 | (arg1)->DisplayContents(); | |
10336 | ||
10337 | wxPyEndAllowThreads(__tstate); | |
10338 | if (PyErr_Occurred()) SWIG_fail; | |
10339 | } | |
10340 | Py_INCREF(Py_None); resultobj = Py_None; | |
10341 | return resultobj; | |
10342 | fail: | |
10343 | return NULL; | |
10344 | } | |
10345 | ||
10346 | ||
c32bde28 | 10347 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10348 | PyObject *resultobj; |
10349 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10350 | PyObject * obj0 = 0 ; | |
10351 | char *kwnames[] = { | |
10352 | (char *) "self", NULL | |
10353 | }; | |
10354 | ||
10355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10358 | { |
10359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10360 | (arg1)->DisplayIndex(); | |
10361 | ||
10362 | wxPyEndAllowThreads(__tstate); | |
10363 | if (PyErr_Occurred()) SWIG_fail; | |
10364 | } | |
10365 | Py_INCREF(Py_None); resultobj = Py_None; | |
10366 | return resultobj; | |
10367 | fail: | |
10368 | return NULL; | |
10369 | } | |
10370 | ||
10371 | ||
c32bde28 | 10372 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10373 | PyObject *resultobj; |
10374 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10375 | wxString *arg2 = 0 ; | |
10376 | bool result; | |
ae8162c8 | 10377 | bool temp2 = false ; |
d14a1e28 RD |
10378 | PyObject * obj0 = 0 ; |
10379 | PyObject * obj1 = 0 ; | |
10380 | char *kwnames[] = { | |
10381 | (char *) "self",(char *) "keyword", NULL | |
10382 | }; | |
10383 | ||
10384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10387 | { |
10388 | arg2 = wxString_in_helper(obj1); | |
10389 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10390 | temp2 = true; |
d14a1e28 RD |
10391 | } |
10392 | { | |
10393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10394 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10395 | ||
10396 | wxPyEndAllowThreads(__tstate); | |
10397 | if (PyErr_Occurred()) SWIG_fail; | |
10398 | } | |
4f89f6a3 RD |
10399 | { |
10400 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10401 | } | |
d14a1e28 RD |
10402 | { |
10403 | if (temp2) | |
10404 | delete arg2; | |
10405 | } | |
10406 | return resultobj; | |
10407 | fail: | |
10408 | { | |
10409 | if (temp2) | |
10410 | delete arg2; | |
10411 | } | |
10412 | return NULL; | |
10413 | } | |
10414 | ||
10415 | ||
c32bde28 | 10416 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10417 | PyObject *resultobj; |
10418 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10419 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10420 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10421 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 | 10422 | bool temp3 = false ; |
d14a1e28 RD |
10423 | PyObject * obj0 = 0 ; |
10424 | PyObject * obj1 = 0 ; | |
10425 | PyObject * obj2 = 0 ; | |
10426 | char *kwnames[] = { | |
10427 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10428 | }; | |
10429 | ||
10430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10433 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10435 | if (obj2) { |
10436 | { | |
10437 | arg3 = wxString_in_helper(obj2); | |
10438 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 10439 | temp3 = true; |
d14a1e28 RD |
10440 | } |
10441 | } | |
10442 | { | |
10443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10444 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10445 | ||
10446 | wxPyEndAllowThreads(__tstate); | |
10447 | if (PyErr_Occurred()) SWIG_fail; | |
10448 | } | |
10449 | Py_INCREF(Py_None); resultobj = Py_None; | |
10450 | { | |
10451 | if (temp3) | |
10452 | delete arg3; | |
10453 | } | |
10454 | return resultobj; | |
10455 | fail: | |
10456 | { | |
10457 | if (temp3) | |
10458 | delete arg3; | |
10459 | } | |
10460 | return NULL; | |
10461 | } | |
10462 | ||
10463 | ||
c32bde28 | 10464 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10465 | PyObject *resultobj; |
10466 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10467 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10468 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10469 | PyObject * obj0 = 0 ; |
10470 | PyObject * obj1 = 0 ; | |
10471 | PyObject * obj2 = 0 ; | |
10472 | char *kwnames[] = { | |
10473 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10474 | }; | |
10475 | ||
10476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10479 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10480 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10481 | if (obj2) { |
423f194a RD |
10482 | { |
10483 | wxString* sptr = wxString_in_helper(obj2); | |
10484 | if (sptr == NULL) SWIG_fail; | |
10485 | arg3 = *sptr; | |
10486 | delete sptr; | |
10487 | } | |
d14a1e28 RD |
10488 | } |
10489 | { | |
10490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10491 | (arg1)->ReadCustomization(arg2,arg3); | |
10492 | ||
10493 | wxPyEndAllowThreads(__tstate); | |
10494 | if (PyErr_Occurred()) SWIG_fail; | |
10495 | } | |
10496 | Py_INCREF(Py_None); resultobj = Py_None; | |
10497 | return resultobj; | |
10498 | fail: | |
10499 | return NULL; | |
10500 | } | |
10501 | ||
10502 | ||
c32bde28 | 10503 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10504 | PyObject *resultobj; |
10505 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10506 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10507 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10508 | PyObject * obj0 = 0 ; |
10509 | PyObject * obj1 = 0 ; | |
10510 | PyObject * obj2 = 0 ; | |
10511 | char *kwnames[] = { | |
10512 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10513 | }; | |
10514 | ||
10515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10518 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10519 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10520 | if (obj2) { |
423f194a RD |
10521 | { |
10522 | wxString* sptr = wxString_in_helper(obj2); | |
10523 | if (sptr == NULL) SWIG_fail; | |
10524 | arg3 = *sptr; | |
10525 | delete sptr; | |
10526 | } | |
d14a1e28 RD |
10527 | } |
10528 | { | |
10529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10530 | (arg1)->WriteCustomization(arg2,arg3); | |
10531 | ||
10532 | wxPyEndAllowThreads(__tstate); | |
10533 | if (PyErr_Occurred()) SWIG_fail; | |
10534 | } | |
10535 | Py_INCREF(Py_None); resultobj = Py_None; | |
10536 | return resultobj; | |
10537 | fail: | |
10538 | return NULL; | |
10539 | } | |
10540 | ||
10541 | ||
c32bde28 | 10542 | static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10543 | PyObject *obj; |
10544 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10545 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
10546 | Py_INCREF(obj); | |
10547 | return Py_BuildValue((char *)""); | |
10548 | } | |
c32bde28 | 10549 | static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10550 | PyObject *resultobj; |
10551 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
10552 | wxHtmlHelpController *result; | |
8edf1c75 | 10553 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10554 | char *kwnames[] = { |
10555 | (char *) "style", NULL | |
10556 | }; | |
10557 | ||
8edf1c75 RD |
10558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail; |
10559 | if (obj0) { | |
c32bde28 | 10560 | arg1 = (int)SWIG_As_int(obj0); |
2f4c0a16 | 10561 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 10562 | } |
d14a1e28 | 10563 | { |
0439c23b | 10564 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10566 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
10567 | ||
10568 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10569 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10570 | } |
2f4c0a16 | 10571 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); |
d14a1e28 RD |
10572 | return resultobj; |
10573 | fail: | |
10574 | return NULL; | |
10575 | } | |
10576 | ||
10577 | ||
c32bde28 | 10578 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10579 | PyObject *resultobj; |
10580 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10581 | PyObject * obj0 = 0 ; | |
10582 | char *kwnames[] = { | |
10583 | (char *) "self", NULL | |
10584 | }; | |
10585 | ||
10586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10589 | { |
10590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10591 | delete arg1; | |
10592 | ||
10593 | wxPyEndAllowThreads(__tstate); | |
10594 | if (PyErr_Occurred()) SWIG_fail; | |
10595 | } | |
10596 | Py_INCREF(Py_None); resultobj = Py_None; | |
10597 | return resultobj; | |
10598 | fail: | |
10599 | return NULL; | |
10600 | } | |
10601 | ||
10602 | ||
c32bde28 | 10603 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10604 | PyObject *resultobj; |
10605 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10606 | wxString *arg2 = 0 ; | |
ae8162c8 | 10607 | bool temp2 = false ; |
d14a1e28 RD |
10608 | PyObject * obj0 = 0 ; |
10609 | PyObject * obj1 = 0 ; | |
10610 | char *kwnames[] = { | |
10611 | (char *) "self",(char *) "format", NULL | |
10612 | }; | |
10613 | ||
10614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10617 | { |
10618 | arg2 = wxString_in_helper(obj1); | |
10619 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10620 | temp2 = true; |
d14a1e28 RD |
10621 | } |
10622 | { | |
10623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10624 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10625 | ||
10626 | wxPyEndAllowThreads(__tstate); | |
10627 | if (PyErr_Occurred()) SWIG_fail; | |
10628 | } | |
10629 | Py_INCREF(Py_None); resultobj = Py_None; | |
10630 | { | |
10631 | if (temp2) | |
10632 | delete arg2; | |
10633 | } | |
10634 | return resultobj; | |
10635 | fail: | |
10636 | { | |
10637 | if (temp2) | |
10638 | delete arg2; | |
10639 | } | |
10640 | return NULL; | |
10641 | } | |
10642 | ||
10643 | ||
c32bde28 | 10644 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10645 | PyObject *resultobj; |
10646 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10647 | wxString *arg2 = 0 ; | |
ae8162c8 | 10648 | bool temp2 = false ; |
d14a1e28 RD |
10649 | PyObject * obj0 = 0 ; |
10650 | PyObject * obj1 = 0 ; | |
10651 | char *kwnames[] = { | |
10652 | (char *) "self",(char *) "path", NULL | |
10653 | }; | |
10654 | ||
10655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10658 | { |
10659 | arg2 = wxString_in_helper(obj1); | |
10660 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10661 | temp2 = true; |
d14a1e28 RD |
10662 | } |
10663 | { | |
10664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10665 | (arg1)->SetTempDir((wxString const &)*arg2); | |
10666 | ||
10667 | wxPyEndAllowThreads(__tstate); | |
10668 | if (PyErr_Occurred()) SWIG_fail; | |
10669 | } | |
10670 | Py_INCREF(Py_None); resultobj = Py_None; | |
10671 | { | |
10672 | if (temp2) | |
10673 | delete arg2; | |
10674 | } | |
10675 | return resultobj; | |
10676 | fail: | |
10677 | { | |
10678 | if (temp2) | |
10679 | delete arg2; | |
10680 | } | |
10681 | return NULL; | |
10682 | } | |
10683 | ||
10684 | ||
c32bde28 | 10685 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10686 | PyObject *resultobj; |
10687 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10688 | wxString *arg2 = 0 ; | |
ae8162c8 | 10689 | int arg3 = (int) false ; |
d14a1e28 | 10690 | bool result; |
ae8162c8 | 10691 | bool temp2 = false ; |
d14a1e28 RD |
10692 | PyObject * obj0 = 0 ; |
10693 | PyObject * obj1 = 0 ; | |
8edf1c75 | 10694 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10695 | char *kwnames[] = { |
10696 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
10697 | }; | |
10698 | ||
8edf1c75 | 10699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
10700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10702 | { |
10703 | arg2 = wxString_in_helper(obj1); | |
10704 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10705 | temp2 = true; |
d14a1e28 | 10706 | } |
8edf1c75 | 10707 | if (obj2) { |
c32bde28 | 10708 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 10709 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 10710 | } |
d14a1e28 RD |
10711 | { |
10712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10713 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
10714 | ||
10715 | wxPyEndAllowThreads(__tstate); | |
10716 | if (PyErr_Occurred()) SWIG_fail; | |
10717 | } | |
4f89f6a3 RD |
10718 | { |
10719 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10720 | } | |
d14a1e28 RD |
10721 | { |
10722 | if (temp2) | |
10723 | delete arg2; | |
10724 | } | |
10725 | return resultobj; | |
10726 | fail: | |
10727 | { | |
10728 | if (temp2) | |
10729 | delete arg2; | |
10730 | } | |
10731 | return NULL; | |
10732 | } | |
10733 | ||
10734 | ||
c32bde28 | 10735 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10736 | PyObject *resultobj; |
10737 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10738 | wxString *arg2 = 0 ; | |
ae8162c8 | 10739 | bool temp2 = false ; |
d14a1e28 RD |
10740 | PyObject * obj0 = 0 ; |
10741 | PyObject * obj1 = 0 ; | |
10742 | char *kwnames[] = { | |
10743 | (char *) "self",(char *) "x", NULL | |
10744 | }; | |
10745 | ||
10746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10749 | { |
10750 | arg2 = wxString_in_helper(obj1); | |
10751 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10752 | temp2 = true; |
d14a1e28 RD |
10753 | } |
10754 | { | |
10755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10756 | (arg1)->Display((wxString const &)*arg2); | |
10757 | ||
10758 | wxPyEndAllowThreads(__tstate); | |
10759 | if (PyErr_Occurred()) SWIG_fail; | |
10760 | } | |
10761 | Py_INCREF(Py_None); resultobj = Py_None; | |
10762 | { | |
10763 | if (temp2) | |
10764 | delete arg2; | |
10765 | } | |
10766 | return resultobj; | |
10767 | fail: | |
10768 | { | |
10769 | if (temp2) | |
10770 | delete arg2; | |
10771 | } | |
10772 | return NULL; | |
10773 | } | |
10774 | ||
10775 | ||
c32bde28 | 10776 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10777 | PyObject *resultobj; |
10778 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10779 | int arg2 ; | |
10780 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10781 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10782 | char *kwnames[] = { |
10783 | (char *) "self",(char *) "id", NULL | |
10784 | }; | |
10785 | ||
8edf1c75 | 10786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10789 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 10790 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10791 | { |
10792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10793 | (arg1)->Display(arg2); | |
10794 | ||
10795 | wxPyEndAllowThreads(__tstate); | |
10796 | if (PyErr_Occurred()) SWIG_fail; | |
10797 | } | |
10798 | Py_INCREF(Py_None); resultobj = Py_None; | |
10799 | return resultobj; | |
10800 | fail: | |
10801 | return NULL; | |
10802 | } | |
10803 | ||
10804 | ||
c32bde28 | 10805 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10806 | PyObject *resultobj; |
10807 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10808 | PyObject * obj0 = 0 ; | |
10809 | char *kwnames[] = { | |
10810 | (char *) "self", NULL | |
10811 | }; | |
10812 | ||
10813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10814 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10816 | { |
10817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10818 | (arg1)->DisplayContents(); | |
10819 | ||
10820 | wxPyEndAllowThreads(__tstate); | |
10821 | if (PyErr_Occurred()) SWIG_fail; | |
10822 | } | |
10823 | Py_INCREF(Py_None); resultobj = Py_None; | |
10824 | return resultobj; | |
10825 | fail: | |
10826 | return NULL; | |
10827 | } | |
10828 | ||
10829 | ||
c32bde28 | 10830 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10831 | PyObject *resultobj; |
10832 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10833 | PyObject * obj0 = 0 ; | |
10834 | char *kwnames[] = { | |
10835 | (char *) "self", NULL | |
10836 | }; | |
10837 | ||
10838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10839 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10840 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10841 | { |
10842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10843 | (arg1)->DisplayIndex(); | |
10844 | ||
10845 | wxPyEndAllowThreads(__tstate); | |
10846 | if (PyErr_Occurred()) SWIG_fail; | |
10847 | } | |
10848 | Py_INCREF(Py_None); resultobj = Py_None; | |
10849 | return resultobj; | |
10850 | fail: | |
10851 | return NULL; | |
10852 | } | |
10853 | ||
10854 | ||
c32bde28 | 10855 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10856 | PyObject *resultobj; |
10857 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10858 | wxString *arg2 = 0 ; | |
10859 | bool result; | |
ae8162c8 | 10860 | bool temp2 = false ; |
d14a1e28 RD |
10861 | PyObject * obj0 = 0 ; |
10862 | PyObject * obj1 = 0 ; | |
10863 | char *kwnames[] = { | |
10864 | (char *) "self",(char *) "keyword", NULL | |
10865 | }; | |
10866 | ||
10867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10870 | { |
10871 | arg2 = wxString_in_helper(obj1); | |
10872 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 10873 | temp2 = true; |
d14a1e28 RD |
10874 | } |
10875 | { | |
10876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10877 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10878 | ||
10879 | wxPyEndAllowThreads(__tstate); | |
10880 | if (PyErr_Occurred()) SWIG_fail; | |
10881 | } | |
4f89f6a3 RD |
10882 | { |
10883 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10884 | } | |
d14a1e28 RD |
10885 | { |
10886 | if (temp2) | |
10887 | delete arg2; | |
10888 | } | |
10889 | return resultobj; | |
10890 | fail: | |
10891 | { | |
10892 | if (temp2) | |
10893 | delete arg2; | |
10894 | } | |
10895 | return NULL; | |
10896 | } | |
10897 | ||
10898 | ||
c32bde28 | 10899 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10900 | PyObject *resultobj; |
10901 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10902 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10903 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10904 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
ae8162c8 | 10905 | bool temp3 = false ; |
d14a1e28 RD |
10906 | PyObject * obj0 = 0 ; |
10907 | PyObject * obj1 = 0 ; | |
10908 | PyObject * obj2 = 0 ; | |
10909 | char *kwnames[] = { | |
10910 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10911 | }; | |
10912 | ||
10913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10916 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10918 | if (obj2) { |
10919 | { | |
10920 | arg3 = wxString_in_helper(obj2); | |
10921 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 10922 | temp3 = true; |
d14a1e28 RD |
10923 | } |
10924 | } | |
10925 | { | |
10926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10927 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10928 | ||
10929 | wxPyEndAllowThreads(__tstate); | |
10930 | if (PyErr_Occurred()) SWIG_fail; | |
10931 | } | |
10932 | Py_INCREF(Py_None); resultobj = Py_None; | |
10933 | { | |
10934 | if (temp3) | |
10935 | delete arg3; | |
10936 | } | |
10937 | return resultobj; | |
10938 | fail: | |
10939 | { | |
10940 | if (temp3) | |
10941 | delete arg3; | |
10942 | } | |
10943 | return NULL; | |
10944 | } | |
10945 | ||
10946 | ||
c32bde28 | 10947 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10948 | PyObject *resultobj; |
10949 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10950 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10951 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10952 | PyObject * obj0 = 0 ; |
10953 | PyObject * obj1 = 0 ; | |
10954 | PyObject * obj2 = 0 ; | |
10955 | char *kwnames[] = { | |
10956 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10957 | }; | |
10958 | ||
10959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10962 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10964 | if (obj2) { |
423f194a RD |
10965 | { |
10966 | wxString* sptr = wxString_in_helper(obj2); | |
10967 | if (sptr == NULL) SWIG_fail; | |
10968 | arg3 = *sptr; | |
10969 | delete sptr; | |
10970 | } | |
d14a1e28 RD |
10971 | } |
10972 | { | |
10973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10974 | (arg1)->ReadCustomization(arg2,arg3); | |
10975 | ||
10976 | wxPyEndAllowThreads(__tstate); | |
10977 | if (PyErr_Occurred()) SWIG_fail; | |
10978 | } | |
10979 | Py_INCREF(Py_None); resultobj = Py_None; | |
10980 | return resultobj; | |
10981 | fail: | |
10982 | return NULL; | |
10983 | } | |
10984 | ||
10985 | ||
c32bde28 | 10986 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10987 | PyObject *resultobj; |
10988 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10989 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10990 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10991 | PyObject * obj0 = 0 ; |
10992 | PyObject * obj1 = 0 ; | |
10993 | PyObject * obj2 = 0 ; | |
10994 | char *kwnames[] = { | |
10995 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10996 | }; | |
10997 | ||
10998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10999 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
11000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11001 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
11002 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11003 | if (obj2) { |
423f194a RD |
11004 | { |
11005 | wxString* sptr = wxString_in_helper(obj2); | |
11006 | if (sptr == NULL) SWIG_fail; | |
11007 | arg3 = *sptr; | |
11008 | delete sptr; | |
11009 | } | |
d14a1e28 RD |
11010 | } |
11011 | { | |
11012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11013 | (arg1)->WriteCustomization(arg2,arg3); | |
11014 | ||
11015 | wxPyEndAllowThreads(__tstate); | |
11016 | if (PyErr_Occurred()) SWIG_fail; | |
11017 | } | |
11018 | Py_INCREF(Py_None); resultobj = Py_None; | |
11019 | return resultobj; | |
11020 | fail: | |
11021 | return NULL; | |
11022 | } | |
11023 | ||
11024 | ||
c32bde28 | 11025 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11026 | PyObject *resultobj; |
11027 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
11028 | wxHtmlHelpFrame *result; | |
11029 | PyObject * obj0 = 0 ; | |
11030 | char *kwnames[] = { | |
11031 | (char *) "self", NULL | |
11032 | }; | |
11033 | ||
11034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
11036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11037 | { |
11038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11039 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
11040 | ||
11041 | wxPyEndAllowThreads(__tstate); | |
11042 | if (PyErr_Occurred()) SWIG_fail; | |
11043 | } | |
2f4c0a16 | 11044 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0); |
d14a1e28 RD |
11045 | return resultobj; |
11046 | fail: | |
11047 | return NULL; | |
11048 | } | |
11049 | ||
11050 | ||
c32bde28 | 11051 | static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11052 | PyObject *obj; |
11053 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11054 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
11055 | Py_INCREF(obj); | |
11056 | return Py_BuildValue((char *)""); | |
11057 | } | |
11058 | static PyMethodDef SwigMethods[] = { | |
c32bde28 RD |
11059 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
11060 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11061 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11062 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11063 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11064 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11065 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11066 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL }, | |
11067 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11068 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11069 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11070 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11071 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11072 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11073 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11074 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11075 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL }, | |
11076 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11077 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11078 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11079 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11080 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11081 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11082 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11083 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11084 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11085 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11086 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11087 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL }, | |
11088 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11089 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11090 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11091 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11092 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11093 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11094 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
ae8162c8 | 11095 | { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
11096 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL }, |
11097 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11098 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11099 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11100 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11101 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11102 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11103 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11104 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11105 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11106 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11107 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11108 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11109 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11110 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11111 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11112 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11113 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11114 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11115 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11116 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11117 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11118 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11119 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL }, | |
11120 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11121 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11122 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11123 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11124 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11125 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL }, | |
11126 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11127 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11128 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11129 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11130 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11131 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL }, | |
11132 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11133 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11134 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11135 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11136 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11137 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11138 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11139 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11140 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11141 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11142 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11143 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11144 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11145 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11146 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11147 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL }, | |
11148 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11149 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11150 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11151 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11152 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11153 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11154 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11155 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11156 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL }, | |
11157 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11158 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11159 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL }, | |
11160 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11161 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11162 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL }, | |
11163 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11164 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11165 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11166 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11167 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11168 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11169 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11170 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL }, | |
11171 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11172 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11173 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11174 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11175 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11176 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11177 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11178 | { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11179 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11180 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11181 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11182 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11183 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11184 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11185 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11186 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11187 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11188 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11189 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11190 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11191 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11192 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11193 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11194 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11195 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11196 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11197 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11198 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11199 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11200 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11201 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11202 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11203 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11204 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11205 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL }, | |
11206 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11207 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL }, | |
11208 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11209 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11210 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11211 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11212 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11213 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11214 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11215 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11216 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11217 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11218 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11219 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11220 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11221 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11222 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11223 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11224 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11225 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL }, | |
11226 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11227 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL }, | |
11228 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11229 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL }, | |
11230 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11231 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL }, | |
11232 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11233 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11234 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL }, | |
11235 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11236 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11237 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11238 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11239 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11240 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11241 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11242 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11243 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11244 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11245 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11246 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11247 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11248 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11249 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
ae8162c8 | 11250 | { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
11251 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, |
11252 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11253 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11254 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11255 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11256 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11257 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11258 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11259 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11260 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11261 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11262 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11263 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11264 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11265 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11266 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11267 | { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11268 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11269 | { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11270 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11271 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11272 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11273 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11274 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11275 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL }, | |
11276 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11277 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11278 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11279 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11280 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11281 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
ae8162c8 | 11282 | { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
11283 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL }, |
11284 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11285 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL }, | |
11286 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11287 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11288 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11289 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11290 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11291 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
ae8162c8 | 11292 | { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
11293 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, |
11294 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11295 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11296 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL }, | |
11297 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11298 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11299 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11300 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11301 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11302 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
11303 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL }, |
11304 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11305 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11306 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
ae8162c8 | 11307 | { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
11308 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
11309 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11310 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL }, | |
11311 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11312 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11313 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11314 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11315 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11316 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11317 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11318 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11319 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11320 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11321 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11322 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11323 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL }, | |
11324 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11325 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11326 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11327 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11328 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11329 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL }, | |
11330 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11331 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11332 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11333 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11334 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11335 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11336 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL }, | |
11337 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11338 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11339 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11340 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11341 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11342 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11343 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11344 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11345 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11346 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11347 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11348 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL }, | |
11349 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11350 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11351 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11352 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11353 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11354 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11355 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11356 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11357 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11358 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11359 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11360 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL }, | |
11361 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11362 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11363 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11364 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11365 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11366 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11367 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11368 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11369 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11370 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11371 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11372 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11373 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11374 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11375 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL }, | |
11376 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
11377 | }; |
11378 | ||
11379 | ||
11380 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
11381 | ||
11382 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
11383 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
11384 | } | |
11385 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
11386 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11387 | } | |
11388 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
11389 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
11390 | } | |
11391 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
11392 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11393 | } | |
a2482628 RD |
11394 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
11395 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11396 | } | |
d14a1e28 RD |
11397 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
11398 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11399 | } | |
11400 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
11401 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11402 | } | |
11403 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
11404 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11405 | } | |
11406 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
11407 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
11408 | } | |
11409 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
11410 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11411 | } | |
11412 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
11413 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
11414 | } | |
11415 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
11416 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11417 | } | |
a2482628 RD |
11418 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
11419 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11420 | } | |
d14a1e28 RD |
11421 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
11422 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11423 | } | |
11424 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
11425 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11426 | } | |
11427 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
11428 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11429 | } | |
11430 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
11431 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11432 | } | |
11433 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
11434 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
11435 | } | |
11436 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
11437 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
11438 | } | |
11439 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
11440 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11441 | } | |
11442 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
11443 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11444 | } | |
11445 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
11446 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11447 | } | |
c1cb24a4 RD |
11448 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
11449 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
11450 | } | |
d14a1e28 RD |
11451 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
11452 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11453 | } | |
11454 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
11455 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11456 | } | |
11457 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
11458 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11459 | } | |
11460 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
11461 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11462 | } | |
11463 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
11464 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
11465 | } | |
11466 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
11467 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
11468 | } | |
d14a1e28 RD |
11469 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
11470 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11471 | } | |
11472 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
11473 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
11474 | } | |
11475 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
11476 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11477 | } | |
11478 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
11479 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
11480 | } | |
11481 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
11482 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11483 | } | |
11484 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
11485 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
11486 | } | |
11487 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
11488 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
11489 | } | |
11490 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
11491 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
11492 | } | |
11493 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
11494 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
11495 | } | |
11496 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
11497 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
11498 | } | |
c1cb24a4 RD |
11499 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
11500 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
11501 | } | |
a2482628 RD |
11502 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
11503 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11504 | } | |
d14a1e28 RD |
11505 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
11506 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11507 | } | |
11508 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
11509 | return (void *)((wxWindow *) ((wxControl *) x)); | |
11510 | } | |
11511 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
11512 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11513 | } | |
11514 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
11515 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11516 | } | |
11517 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
11518 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11519 | } | |
11520 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
11521 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
11522 | } | |
11523 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
11524 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
11525 | } | |
11526 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
11527 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11528 | } | |
11529 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
11530 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11531 | } | |
11532 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
11533 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11534 | } | |
11535 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
11536 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
11537 | } | |
11538 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
11539 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11540 | } | |
11541 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
11542 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11543 | } | |
11544 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
11545 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
11546 | } | |
11547 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
11548 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11549 | } | |
11550 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
11551 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11552 | } | |
11553 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
11554 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11555 | } | |
11556 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
11557 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
11558 | } | |
11559 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
11560 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11561 | } | |
d14a1e28 RD |
11562 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
11563 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11564 | } | |
11565 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
11566 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
11567 | } | |
11568 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
11569 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
11570 | } | |
11571 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
11572 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
11573 | } | |
11574 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
11575 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
11576 | } | |
11577 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
11578 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
11579 | } | |
11580 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
11581 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
11582 | } | |
11583 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
11584 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
11585 | } | |
d14a1e28 RD |
11586 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
11587 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
11588 | } | |
11589 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
11590 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
11591 | } | |
11592 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
11593 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
11594 | } | |
d14a1e28 RD |
11595 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
11596 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
11597 | } | |
11598 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
11599 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
11600 | } | |
c1cb24a4 RD |
11601 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
11602 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
11603 | } | |
d14a1e28 RD |
11604 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
11605 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
11606 | } | |
11607 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11608 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11609 | } | |
11610 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11611 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11612 | } | |
11613 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
11614 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
11615 | } | |
c1cb24a4 RD |
11616 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
11617 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
11618 | } | |
d14a1e28 RD |
11619 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { |
11620 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11621 | } | |
11622 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11623 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
11624 | } | |
11625 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11626 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11627 | } | |
11628 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
11629 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
11630 | } | |
11631 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
11632 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
11633 | } | |
11634 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
11635 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11636 | } | |
11637 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
11638 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11639 | } | |
11640 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
11641 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
11642 | } | |
11643 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
11644 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
11645 | } | |
11646 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
11647 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
11648 | } | |
11649 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
11650 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
11651 | } | |
11652 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
11653 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
11654 | } | |
11655 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
11656 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
11657 | } | |
11658 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
11659 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
11660 | } | |
11661 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
11662 | return (void *)((wxObject *) ((wxSizer *) x)); | |
11663 | } | |
11664 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
11665 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
11666 | } | |
11667 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
11668 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11669 | } | |
11670 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
11671 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11672 | } | |
11673 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
11674 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11675 | } | |
11676 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
11677 | return (void *)((wxObject *) ((wxEvent *) x)); | |
11678 | } | |
11679 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
11680 | return (void *)((wxObject *) ((wxFontData *) x)); | |
11681 | } | |
11682 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
11683 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
11684 | } | |
11685 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
11686 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
11687 | } | |
11688 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
11689 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
11690 | } | |
11691 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
11692 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
11693 | } | |
11694 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
11695 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
11696 | } | |
11697 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
11698 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
11699 | } | |
84f85550 RD |
11700 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
11701 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
11702 | } |
11703 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
11704 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
11705 | } | |
11706 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
11707 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11708 | } | |
11709 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
11710 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
11711 | } | |
11712 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
11713 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
11714 | } | |
11715 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
11716 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
11717 | } | |
11718 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
11719 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11720 | } | |
11721 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
11722 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11723 | } | |
11724 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
11725 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11726 | } | |
11727 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
11728 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11729 | } | |
11730 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
11731 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11732 | } | |
11733 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
11734 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
11735 | } | |
11736 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
11737 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
11738 | } | |
11739 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
11740 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
11741 | } | |
11742 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
11743 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
11744 | } | |
11745 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
11746 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11747 | } | |
11748 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
11749 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
11750 | } | |
11751 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
11752 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
11753 | } | |
11754 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
11755 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11756 | } | |
11757 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
11758 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11759 | } | |
11760 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
11761 | return (void *)((wxObject *) ((wxColourData *) x)); | |
11762 | } | |
11763 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
11764 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
11765 | } | |
11766 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
11767 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11768 | } | |
11769 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
11770 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
11771 | } | |
11772 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
11773 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11774 | } | |
11775 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
11776 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11777 | } | |
11778 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
11779 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11780 | } | |
11781 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
11782 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11783 | } | |
11784 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
11785 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11786 | } | |
c1cb24a4 RD |
11787 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
11788 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
11789 | } | |
d14a1e28 RD |
11790 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
11791 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11792 | } | |
11793 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
11794 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11795 | } | |
11796 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
11797 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11798 | } | |
11799 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
11800 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
11801 | } | |
11802 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
11803 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
11804 | } | |
11805 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
11806 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
11807 | } | |
11808 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
11809 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
11810 | } | |
11811 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
11812 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11813 | } | |
11814 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
11815 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11816 | } | |
11817 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
11818 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
11819 | } | |
11820 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
11821 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
11822 | } | |
11823 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
11824 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
11825 | } | |
11826 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
11827 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
11828 | } | |
11829 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
11830 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
11831 | } | |
11832 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
11833 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
11834 | } | |
11835 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
11836 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
11837 | } | |
11838 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
11839 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
11840 | } | |
11841 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
11842 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
11843 | } | |
11844 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
11845 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
11846 | } | |
11847 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
11848 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
11849 | } | |
11850 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
11851 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
11852 | } | |
11853 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
11854 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
11855 | } | |
11856 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
11857 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
11858 | } | |
11859 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
11860 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
11861 | } | |
11862 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
11863 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
11864 | } | |
11865 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
11866 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
11867 | } | |
11868 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
11869 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
11870 | } | |
11871 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
11872 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
11873 | } | |
11874 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
11875 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
11876 | } | |
11877 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
11878 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
11879 | } | |
11880 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
11881 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11882 | } | |
11883 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
11884 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11885 | } | |
11886 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
11887 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11888 | } | |
11889 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
11890 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
11891 | } | |
11892 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
11893 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11894 | } | |
11895 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
11896 | return (void *)((wxObject *) ((wxImage *) x)); | |
11897 | } | |
11898 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
11899 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11900 | } | |
11901 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
11902 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
11903 | } | |
11904 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
11905 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11906 | } | |
11907 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
11908 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
11909 | } | |
11910 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
11911 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
11912 | } | |
11913 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
11914 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
11915 | } | |
11916 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
11917 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
11918 | } | |
11919 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
11920 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11921 | } | |
11922 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
11923 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11924 | } | |
11925 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
11926 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11927 | } | |
11928 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
11929 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11930 | } | |
11931 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
11932 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
11933 | } | |
d14a1e28 RD |
11934 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
11935 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
11936 | } | |
11937 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
11938 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
11939 | } | |
11940 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
11941 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
11942 | } | |
41f1cec7 RD |
11943 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
11944 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11945 | } | |
d14a1e28 RD |
11946 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
11947 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
11948 | } | |
11949 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
11950 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
11951 | } | |
11952 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
11953 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
11954 | } | |
11955 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
11956 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
11957 | } | |
11958 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
11959 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11960 | } | |
11961 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
11962 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
11963 | } | |
11964 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
11965 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11966 | } | |
11967 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
11968 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
11969 | } | |
11970 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
11971 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11972 | } | |
11973 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
11974 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
11975 | } | |
a2482628 RD |
11976 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
11977 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11978 | } | |
d14a1e28 RD |
11979 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
11980 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11981 | } | |
11982 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
11983 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
11984 | } | |
11985 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
11986 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
11987 | } | |
11988 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
11989 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
11990 | } | |
11991 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
11992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
11993 | } | |
11994 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
11995 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11996 | } | |
11997 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
11998 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11999 | } | |
12000 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
12001 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
12002 | } | |
12003 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
12004 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
12005 | } | |
12006 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
12007 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
12008 | } | |
12009 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
c1cb24a4 | 12010 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d14a1e28 RD |
12011 | } |
12012 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
12013 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
12014 | } | |
12015 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
12016 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
12017 | } | |
12018 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
12019 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
12020 | } | |
12021 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
12022 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
12023 | } | |
12024 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
12025 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
12026 | } | |
12027 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
12028 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
12029 | } | |
12030 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
12031 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
12032 | } | |
12033 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
12034 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
12035 | } | |
12036 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
12037 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
12038 | } | |
12039 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
12040 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
12041 | } | |
12042 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
12043 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
12044 | } | |
12045 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
12046 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
12047 | } | |
12048 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
12049 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
12050 | } | |
12051 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
12052 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
12053 | } | |
12054 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
12055 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
12056 | } | |
12057 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
12058 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
12059 | } | |
12060 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
12061 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
12062 | } | |
12063 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
12064 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
12065 | } | |
12066 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
12067 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
12068 | } | |
12069 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
12070 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
12071 | } | |
12072 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
12073 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
12074 | } | |
12075 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
12076 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
12077 | } | |
12078 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
12079 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
12080 | } | |
12081 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
12082 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
12083 | } | |
12084 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
12085 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
12086 | } | |
12087 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
12088 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
12089 | } | |
12090 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
12091 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
12092 | } | |
12093 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
12094 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
12095 | } | |
12096 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
12097 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
12098 | } | |
12099 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
12100 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
12101 | } | |
12102 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
12103 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
12104 | } | |
12105 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
12106 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
12107 | } | |
c1cb24a4 RD |
12108 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
12109 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
12110 | } | |
d14a1e28 RD |
12111 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
12112 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
12113 | } | |
12114 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
12115 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
12116 | } | |
12117 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
12118 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
12119 | } | |
12120 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
12121 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
12122 | } | |
12123 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
12124 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
12125 | } | |
12126 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
12127 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
12128 | } | |
12129 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
12130 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
12131 | } | |
12132 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
12133 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
12134 | } | |
12135 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
12136 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
12137 | } | |
12138 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
12139 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
12140 | } | |
12141 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
12142 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
12143 | } | |
12144 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
12145 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
12146 | } | |
12147 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
12148 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
12149 | } | |
12150 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
12151 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
12152 | } | |
12153 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
12154 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
12155 | } | |
12156 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
12157 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
12158 | } | |
12159 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
12160 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
12161 | } | |
12162 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
12163 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
12164 | } | |
12165 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
12166 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
12167 | } | |
12168 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
12169 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
12170 | } | |
12171 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
12172 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
12173 | } | |
a2482628 RD |
12174 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
12175 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
12176 | } | |
d14a1e28 RD |
12177 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { |
12178 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
12179 | } | |
12180 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
12181 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
12182 | } | |
12183 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
12184 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
12185 | } | |
12186 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
12187 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12188 | } | |
12189 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
12190 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
12191 | } | |
12192 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
12193 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
12194 | } | |
12195 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
12196 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
12197 | } | |
12198 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
12199 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
12200 | } | |
12201 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
12202 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
12203 | } | |
12204 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
12205 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
12206 | } | |
12207 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
12208 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
12209 | } | |
12210 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
12211 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
12212 | } | |
12213 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
12214 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
12215 | } | |
12216 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
12217 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
12218 | } | |
84f85550 RD |
12219 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
12220 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
12221 | } |
12222 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
12223 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
12224 | } | |
12225 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
12226 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
12227 | } | |
d14a1e28 RD |
12228 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
12229 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
12230 | } | |
12231 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
12232 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
12233 | } | |
12234 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
12235 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
12236 | } | |
c1cb24a4 RD |
12237 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
12238 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
12239 | } | |
d14a1e28 RD |
12240 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { |
12241 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
12242 | } | |
d14a1e28 RD |
12243 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
12244 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
12245 | } | |
12246 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
12247 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
12248 | } | |
12249 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
12250 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
12251 | } | |
12252 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
12253 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
12254 | } | |
12255 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
12256 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
12257 | } | |
12258 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
12259 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12260 | } | |
12261 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
12262 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
12263 | } | |
12264 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
12265 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
12266 | } | |
12267 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
12268 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
12269 | } | |
12270 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
12271 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
12272 | } | |
12273 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
12274 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
12275 | } | |
12276 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
12277 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
12278 | } | |
12279 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
12280 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
12281 | } | |
12282 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
12283 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
12284 | } | |
12285 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
12286 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
12287 | } | |
2f4c0a16 RD |
12288 | static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
12289 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12290 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12291 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12292 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12293 | static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12294 | static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12295 | static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
f20a2e1f | 12296 | static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
12297 | static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
12298 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12299 | static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12300 | static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
a2482628 | 12301 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 | 12302 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 | 12303 | static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
a2482628 | 12304 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
c1cb24a4 RD |
12305 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
12306 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
c32bde28 | 12307 | static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
12308 | static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
12309 | static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12310 | static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12311 | static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12312 | static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
c1cb24a4 | 12313 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
12314 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
12315 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12316 | static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12317 | static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
c1cb24a4 | 12318 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
12319 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
12320 | static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12321 | static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12322 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12323 | static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12324 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12325 | static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12326 | static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12327 | static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0, 0, 0, 0},{"_p_wxHtmlContentsItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12328 | static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12329 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12330 | static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12331 | static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12332 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12333 | static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12334 | static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12335 | static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12336 | static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
12337 | static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
2f4c0a16 | 12338 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
c32bde28 | 12339 | static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 | 12340 | static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
d14a1e28 RD |
12341 | |
12342 | static swig_type_info *swig_types_initial[] = { | |
12343 | _swigt__p_wxHtmlDCRenderer, | |
12344 | _swigt__p_wxColour, | |
12345 | _swigt__p_wxPageSetupDialogData, | |
12346 | _swigt__p_wxDC, | |
12347 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
12348 | _swigt__p_wxHtmlRenderingStyle, | |
12349 | _swigt__p_wxMouseEvent, | |
12350 | _swigt__p_wxHtmlWordCell, | |
f20a2e1f | 12351 | _swigt__p_wxVisualAttributes, |
d14a1e28 | 12352 | _swigt__p_wxHtmlHelpData, |
8edf1c75 | 12353 | _swigt__p_char, |
d14a1e28 RD |
12354 | _swigt__p_wxHtmlWinParser, |
12355 | _swigt__p_wxHtmlParser, | |
12356 | _swigt__p_wxPanel, | |
d14a1e28 | 12357 | _swigt__p_wxFont, |
d14a1e28 RD |
12358 | _swigt__p_wxPyHtmlWindow, |
12359 | _swigt__p_wxScrolledWindow, | |
12360 | _swigt__p_wxWindow, | |
12361 | _swigt__p_wxTopLevelWindow, | |
c32bde28 | 12362 | _swigt__p_wxHtmlColourCell, |
8edf1c75 | 12363 | _swigt__p_wxHtmlFontCell, |
d14a1e28 RD |
12364 | _swigt__p_wxHtmlEasyPrinting, |
12365 | _swigt__p_wxHtmlSelection, | |
12366 | _swigt__p_wxHtmlRenderingInfo, | |
12367 | _swigt__p_wxHtmlWidgetCell, | |
12368 | _swigt__p_wxObject, | |
12369 | _swigt__p_wxString, | |
12370 | _swigt__p_wxPyHtmlWinTagHandler, | |
12371 | _swigt__p_wxHtmlTagHandler, | |
12372 | _swigt__p_wxPyHtmlTagHandler, | |
12373 | _swigt__p_wxEvtHandler, | |
12374 | _swigt__p_wxPoint, | |
12375 | _swigt__p_wxHtmlHelpController, | |
12376 | _swigt__p_wxCursor, | |
12377 | _swigt__p_wxFileSystem, | |
12378 | _swigt__p_wxHtmlBookRecArray, | |
12379 | _swigt__p_wxPyPrintout, | |
12380 | _swigt__p_wxHtmlPrintout, | |
12381 | _swigt__p_wxHtmlSearchStatus, | |
12382 | _swigt__p_wxHtmlContentsItem, | |
12383 | _swigt__p_wxConfigBase, | |
12384 | _swigt__p_wxPrintData, | |
12385 | _swigt__p_wxHtmlHelpFrame, | |
12386 | _swigt__p_wxHtmlRenderingState, | |
12387 | _swigt__p_wxFrame, | |
12388 | _swigt__p_wxPyHtmlFilter, | |
12389 | _swigt__p_wxHtmlFilter, | |
12390 | _swigt__p_wxHtmlCell, | |
12391 | _swigt__p_wxHtmlContainerCell, | |
12392 | _swigt__p_wxHtmlTag, | |
d14a1e28 | 12393 | _swigt__p_int, |
c32bde28 | 12394 | _swigt__p_wxHtmlLinkInfo, |
d14a1e28 RD |
12395 | _swigt__p_wxHtmlBookRecord, |
12396 | 0 | |
12397 | }; | |
12398 | ||
12399 | ||
12400 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
12401 | ||
12402 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 12403 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
12404 | |
12405 | #ifdef __cplusplus | |
12406 | } | |
12407 | #endif | |
12408 | ||
12409 | #ifdef __cplusplus | |
12410 | extern "C" | |
12411 | #endif | |
12412 | SWIGEXPORT(void) SWIG_init(void) { | |
12413 | static PyObject *SWIG_globals = 0; | |
12414 | static int typeinit = 0; | |
12415 | PyObject *m, *d; | |
12416 | int i; | |
12417 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
12418 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
12419 | d = PyModule_GetDict(m); | |
12420 | ||
12421 | if (!typeinit) { | |
12422 | for (i = 0; swig_types_initial[i]; i++) { | |
12423 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
12424 | } | |
12425 | typeinit = 1; | |
12426 | } | |
12427 | SWIG_InstallConstants(d,swig_const_table); | |
12428 | ||
d03fd34d RD |
12429 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
12430 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
12431 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
12432 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
c32bde28 RD |
12433 | PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT)); |
12434 | PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER)); | |
12435 | PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT)); | |
12436 | PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM)); | |
12437 | PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP)); | |
12438 | PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND)); | |
12439 | PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND)); | |
12440 | PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS)); | |
12441 | PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT)); | |
12442 | PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT)); | |
12443 | PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT)); | |
12444 | PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP)); | |
12445 | PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM)); | |
12446 | PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL)); | |
12447 | PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL)); | |
12448 | PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL)); | |
12449 | PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR)); | |
12450 | PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP)); | |
12451 | PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER)); | |
12452 | PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1)); | |
12453 | PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2)); | |
12454 | PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3)); | |
12455 | PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4)); | |
12456 | PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5)); | |
12457 | PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6)); | |
12458 | PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7)); | |
12459 | PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER)); | |
12460 | PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO)); | |
12461 | PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION)); | |
12462 | PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE)); | |
12463 | PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN)); | |
12464 | PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK)); | |
12465 | PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT)); | |
12466 | PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE)); | |
12467 | PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE)); | |
12468 | PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER)); | |
12469 | PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT)); | |
12470 | PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN)); | |
12471 | PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING)); | |
12472 | PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT)); | |
12473 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE)); | |
12474 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER)); | |
12475 | PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD)); | |
12476 | PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN)); | |
12477 | PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL)); | |
12478 | PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR)); | |
12479 | PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR)); | |
12480 | PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS)); | |
12481 | PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX)); | |
12482 | PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH)); | |
12483 | PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS)); | |
12484 | PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES)); | |
12485 | PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT)); | |
12486 | PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE)); | |
d14a1e28 RD |
12487 | |
12488 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
12489 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
12490 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
12491 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
12492 | ||
12493 | } | |
12494 |