]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
2dbef272 | 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 | |
c370783e | 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 | ||
0f774bef 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 |
0f774bef RD |
84 | # define SWIGEXPORT(a) a |
85 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
86 | #endif |
87 | ||
88 | #ifdef SWIG_GLOBAL | |
0f774bef | 89 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 90 | #else |
0f774bef | 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 { | |
0f774bef | 102 | const char *name; |
d14a1e28 RD |
103 | swig_converter_func converter; |
104 | const char *str; | |
0f774bef | 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 *); | |
c370783e | 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 *); | |
0f774bef 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 | ||
c370783e | 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) | |
2dbef272 | 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 | |
0f774bef 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 | ||
c370783e | 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] | |
c370783e 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] | |
c370783e 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 | ||
c370783e 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 |
c370783e 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 |
c370783e 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 | |
c370783e 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) |
c370783e 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 | ||
c370783e RD |
310 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ |
311 | #define SWIG_From_signed_SS_char PyInt_FromLong | |
312 | /*@@*/ | |
313 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
314 | #define SWIG_From_unsigned_SS_char PyInt_FromLong | |
315 | /*@@*/ | |
316 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
317 | #define SWIG_From_short PyInt_FromLong | |
318 | /*@@*/ | |
319 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
320 | #define SWIG_From_unsigned_SS_short PyInt_FromLong | |
321 | /*@@*/ | |
322 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
323 | #define SWIG_From_int PyInt_FromLong | |
324 | /*@@*/ | |
325 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
326 | #define SWIG_From_long PyInt_FromLong | |
327 | /*@@*/ | |
328 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
329 | #define SWIG_From_float PyFloat_FromDouble | |
330 | /*@@*/ | |
331 | /*@/opt/swig/share/swig/1.3.22/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 | ||
cbd72d4f 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 | ||
c370783e RD |
354 | SWIGSTATICINLINE(int) |
355 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
356 | const char *errmsg) | |
2f4c0a16 | 357 | { |
c370783e 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 | } |
c370783e | 371 | return 0; |
2f4c0a16 | 372 | } |
c370783e | 373 | return 1; |
2f4c0a16 RD |
374 | } |
375 | ||
376 | ||
c370783e RD |
377 | // See my_fragments.i |
378 | SWIGSTATICINLINE(int) | |
379 | SWIG_AsVal_long(PyObject* obj, long* val) | |
2f4c0a16 | 380 | { |
c370783e 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 | } |
c370783e | 391 | return 0; |
2f4c0a16 RD |
392 | } |
393 | ||
394 | ||
395 | #if INT_MAX != LONG_MAX | |
396 | SWIGSTATICINLINE(int) | |
c370783e | 397 | SWIG_AsVal_int(PyObject *obj, int *val) |
8edf1c75 | 398 | { |
c370783e 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 | |
c370783e 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) | |
c370783e | 426 | SWIG_As_int(PyObject* obj) |
2f4c0a16 | 427 | { |
c370783e 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 | } |
c370783e 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() { | |
fbc46b20 | 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 | } | |
fbc46b20 | 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 | |
fbc46b20 | 521 | bool blocked = wxPyBeginBlockThreads(); |
100c4552 RD |
522 | PyObject* arg = PyTuple_New(0); |
523 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 524 | Py_DECREF(arg); |
100c4552 | 525 | |
d14a1e28 RD |
526 | // now figure out where it's C++ object is... |
527 | wxPyHtmlWinTagHandler* thPtr; | |
100c4552 | 528 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
fbc46b20 | 529 | wxPyEndBlockThreads(blocked); |
d14a1e28 | 530 | return; |
100c4552 | 531 | } |
fbc46b20 | 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 | ||
c370783e | 555 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
d14a1e28 RD |
556 | PyObject* o2; |
557 | PyObject* o3; | |
c370783e | 558 | |
d14a1e28 RD |
559 | if (!target) { |
560 | target = o; | |
561 | } else if (target == Py_None) { | |
562 | Py_DECREF(Py_None); | |
563 | target = o; | |
629e65c2 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; | |
629e65c2 | 579 | } |
d14a1e28 | 580 | |
8edf1c75 | 581 | |
8edf1c75 | 582 | |
2f4c0a16 | 583 | SWIGSTATICINLINE(int) |
c370783e | 584 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
2f4c0a16 | 585 | { |
c370783e 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 | } | |
c370783e RD |
600 | if (val) { |
601 | PyErr_SetString(PyExc_TypeError, "a bool is expected"); | |
602 | } | |
603 | return 0; | |
2f4c0a16 RD |
604 | } |
605 | ||
606 | ||
c370783e RD |
607 | SWIGSTATICINLINE(bool) |
608 | SWIG_As_bool(PyObject* obj) | |
2f4c0a16 | 609 | { |
c370783e 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 | } |
c370783e 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 | ||
c370783e RD |
630 | SWIGSTATICINLINE(int) |
631 | SWIG_CheckUnsignedLongInRange(unsigned long value, | |
632 | unsigned long max_value, | |
633 | const char *errmsg) | |
2f4c0a16 | 634 | { |
c370783e 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 | } |
c370783e | 641 | return 0; |
2f4c0a16 | 642 | } |
c370783e 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 | |
c370783e RD |
663 | SWIGSTATICINLINE(int) |
664 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) | |
8edf1c75 | 665 | { |
c370783e 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 |
c370783e 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 | ||
c370783e RD |
690 | SWIGSTATICINLINE(unsigned int) |
691 | SWIG_As_unsigned_SS_int(PyObject* obj) | |
8edf1c75 | 692 | { |
c370783e 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 | } |
c370783e 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* ) | |
c370783e | 714 | SWIG_From_unsigned_SS_long(unsigned long value) |
2f4c0a16 RD |
715 | { |
716 | return (value > LONG_MAX) ? | |
717 | PyLong_FromUnsignedLong(value) | |
c370783e | 718 | : PyInt_FromLong(swig_numeric_cast(value,long)); |
8edf1c75 RD |
719 | } |
720 | ||
721 | ||
2f4c0a16 | 722 | #if UINT_MAX < LONG_MAX |
c370783e RD |
723 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ |
724 | #define SWIG_From_unsigned_SS_int SWIG_From_long | |
725 | /*@@*/ | |
2f4c0a16 | 726 | #else |
c370783e RD |
727 | /*@/opt/swig/share/swig/1.3.22/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 { |
423f194a | 740 | bool rval = False; |
d14a1e28 | 741 | bool found; |
fbc46b20 | 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 | } | |
fbc46b20 | 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; | |
fbc46b20 | 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 | } | |
fbc46b20 | 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; | |
fbc46b20 | 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 | } | |
fbc46b20 | 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; | |
fbc46b20 | 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 | } | |
fbc46b20 | 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> |
c370783e RD |
892 | SWIGSTATICINLINE(int) |
893 | SWIG_CheckDoubleInRange(double value, double min_value, | |
894 | double max_value, const char* errmsg) | |
2f4c0a16 | 895 | { |
c370783e 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 | } |
c370783e 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 | } |
c370783e | 911 | return 1; |
2f4c0a16 RD |
912 | } |
913 | ||
914 | ||
c370783e RD |
915 | // See my_fragments.i |
916 | SWIGSTATICINLINE(int) | |
917 | SWIG_AsVal_double(PyObject *obj, double* val) | |
8edf1c75 | 918 | { |
c370783e 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 | } |
c370783e 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) |
c370783e | 956 | SWIG_As_float(PyObject* obj) |
8edf1c75 | 957 | { |
c370783e 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 | ||
c370783e | 970 | |
2f4c0a16 | 971 | SWIGSTATICINLINE(int) |
c370783e | 972 | SWIG_Check_float(PyObject* obj) |
2f4c0a16 | 973 | { |
c370783e | 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 | |
c370783e | 992 | static int _wrap_HtmlWindowNameStr_set(PyObject *) { |
cbd72d4f 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 | ||
c370783e | 1012 | static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) { |
cbd72d4f 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 | ||
c370783e | 1032 | static int _wrap_HtmlPrintingTitleStr_set(PyObject *) { |
cbd72d4f 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 | ||
c370783e | 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; | |
423f194a 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; | |
423f194a | 1070 | temp1 = True; |
d14a1e28 RD |
1071 | } |
1072 | if (obj1) { | |
1073 | { | |
1074 | arg2 = wxString_in_helper(obj1); | |
1075 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | } | |
c370783e | 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 | ||
c370783e | 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; | |
423f194a | 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; | |
423f194a | 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 | } | |
fbc46b20 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 | ||
c370783e | 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 ; | |
423f194a | 1372 | int arg3 = (int) False ; |
d14a1e28 | 1373 | wxString result; |
423f194a | 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; | |
423f194a | 1388 | temp2 = True; |
d14a1e28 | 1389 | } |
8edf1c75 | 1390 | if (obj2) { |
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | } | |
fbc46b20 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 | ||
c370783e | 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 | } | |
c370783e | 1501 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1502 | return resultobj; |
1503 | fail: | |
1504 | return NULL; | |
1505 | } | |
1506 | ||
1507 | ||
c370783e | 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 | } | |
c370783e | 1527 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1528 | return resultobj; |
1529 | fail: | |
1530 | return NULL; | |
1531 | } | |
1532 | ||
1533 | ||
c370783e | 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 | } | |
c370783e | 1553 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1554 | return resultobj; |
1555 | fail: | |
1556 | return NULL; | |
1557 | } | |
1558 | ||
1559 | ||
c370783e | 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 | } | |
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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; | |
423f194a | 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; | |
423f194a | 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 | ||
c370783e | 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 ; | |
423f194a | 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; | |
423f194a | 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 | ||
c370783e | 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 | ||
c370783e | 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; | |
c370783e | 1749 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 1750 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | } | |
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 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 | } | |
c370783e | 2026 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2027 | return resultobj; |
2028 | fail: | |
2029 | return NULL; | |
2030 | } | |
2031 | ||
2032 | ||
c370783e | 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 | } | |
c370783e | 2052 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2053 | return resultobj; |
2054 | fail: | |
2055 | return NULL; | |
2056 | } | |
2057 | ||
2058 | ||
c370783e | 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 | ||
c370783e | 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 | ||
c370783e | 2133 | static PyObject *_wrap_HtmlWinParser_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
2134 | PyObject *resultobj; |
2135 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2136 | int arg2 = (int) -1 ; | |
2137 | PyObject * obj0 = 0 ; | |
2138 | PyObject * obj1 = 0 ; | |
2139 | char *kwnames[] = { | |
2140 | (char *) "self",(char *) "size", NULL | |
2141 | }; | |
2142 | ||
2143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWinParser_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
2144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2146 | if (obj1) { | |
c370783e | 2147 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
2148 | if (PyErr_Occurred()) SWIG_fail; |
2149 | } | |
2150 | { | |
2151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2152 | (arg1)->NormalizeFontSizes(arg2); | |
2153 | ||
2154 | wxPyEndAllowThreads(__tstate); | |
2155 | if (PyErr_Occurred()) SWIG_fail; | |
2156 | } | |
2157 | Py_INCREF(Py_None); resultobj = Py_None; | |
2158 | return resultobj; | |
2159 | fail: | |
2160 | return NULL; | |
2161 | } | |
2162 | ||
2163 | ||
c370783e | 2164 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2165 | PyObject *resultobj; |
2166 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2167 | wxHtmlContainerCell *result; | |
2168 | PyObject * obj0 = 0 ; | |
2169 | char *kwnames[] = { | |
2170 | (char *) "self", NULL | |
2171 | }; | |
2172 | ||
2173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2176 | { |
2177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2178 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
2179 | ||
2180 | wxPyEndAllowThreads(__tstate); | |
2181 | if (PyErr_Occurred()) SWIG_fail; | |
2182 | } | |
2f4c0a16 | 2183 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2184 | return resultobj; |
2185 | fail: | |
2186 | return NULL; | |
2187 | } | |
2188 | ||
2189 | ||
c370783e | 2190 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2191 | PyObject *resultobj; |
2192 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2193 | wxHtmlContainerCell *result; | |
2194 | PyObject * obj0 = 0 ; | |
2195 | char *kwnames[] = { | |
2196 | (char *) "self", NULL | |
2197 | }; | |
2198 | ||
2199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2202 | { |
2203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2204 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
2205 | ||
2206 | wxPyEndAllowThreads(__tstate); | |
2207 | if (PyErr_Occurred()) SWIG_fail; | |
2208 | } | |
2f4c0a16 | 2209 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2210 | return resultobj; |
2211 | fail: | |
2212 | return NULL; | |
2213 | } | |
2214 | ||
2215 | ||
c370783e | 2216 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2217 | PyObject *resultobj; |
2218 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2219 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
2220 | wxHtmlContainerCell *result; | |
2221 | PyObject * obj0 = 0 ; | |
2222 | PyObject * obj1 = 0 ; | |
2223 | char *kwnames[] = { | |
2224 | (char *) "self",(char *) "c", NULL | |
2225 | }; | |
2226 | ||
2227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2230 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
2231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2232 | { |
2233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2234 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
2235 | ||
2236 | wxPyEndAllowThreads(__tstate); | |
2237 | if (PyErr_Occurred()) SWIG_fail; | |
2238 | } | |
2f4c0a16 | 2239 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2240 | return resultobj; |
2241 | fail: | |
2242 | return NULL; | |
2243 | } | |
2244 | ||
2245 | ||
c370783e | 2246 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2247 | PyObject *resultobj; |
2248 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2249 | wxHtmlContainerCell *result; | |
2250 | PyObject * obj0 = 0 ; | |
2251 | char *kwnames[] = { | |
2252 | (char *) "self", NULL | |
2253 | }; | |
2254 | ||
2255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2258 | { |
2259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2260 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
2261 | ||
2262 | wxPyEndAllowThreads(__tstate); | |
2263 | if (PyErr_Occurred()) SWIG_fail; | |
2264 | } | |
2f4c0a16 | 2265 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
2266 | return resultobj; |
2267 | fail: | |
2268 | return NULL; | |
2269 | } | |
2270 | ||
2271 | ||
c370783e | 2272 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2273 | PyObject *resultobj; |
2274 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2275 | int result; | |
2276 | PyObject * obj0 = 0 ; | |
2277 | char *kwnames[] = { | |
2278 | (char *) "self", NULL | |
2279 | }; | |
2280 | ||
2281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2284 | { |
2285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2286 | result = (int)(arg1)->GetFontSize(); | |
2287 | ||
2288 | wxPyEndAllowThreads(__tstate); | |
2289 | if (PyErr_Occurred()) SWIG_fail; | |
2290 | } | |
c370783e | 2291 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2292 | return resultobj; |
2293 | fail: | |
2294 | return NULL; | |
2295 | } | |
2296 | ||
2297 | ||
c370783e | 2298 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2299 | PyObject *resultobj; |
2300 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2301 | int arg2 ; | |
2302 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2303 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2304 | char *kwnames[] = { |
2305 | (char *) "self",(char *) "s", NULL | |
2306 | }; | |
2307 | ||
8edf1c75 | 2308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2311 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2312 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2313 | { |
2314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2315 | (arg1)->SetFontSize(arg2); | |
2316 | ||
2317 | wxPyEndAllowThreads(__tstate); | |
2318 | if (PyErr_Occurred()) SWIG_fail; | |
2319 | } | |
2320 | Py_INCREF(Py_None); resultobj = Py_None; | |
2321 | return resultobj; | |
2322 | fail: | |
2323 | return NULL; | |
2324 | } | |
2325 | ||
2326 | ||
c370783e | 2327 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2328 | PyObject *resultobj; |
2329 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2330 | int result; | |
2331 | PyObject * obj0 = 0 ; | |
2332 | char *kwnames[] = { | |
2333 | (char *) "self", NULL | |
2334 | }; | |
2335 | ||
2336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2339 | { |
2340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2341 | result = (int)(arg1)->GetFontBold(); | |
2342 | ||
2343 | wxPyEndAllowThreads(__tstate); | |
2344 | if (PyErr_Occurred()) SWIG_fail; | |
2345 | } | |
c370783e | 2346 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2347 | return resultobj; |
2348 | fail: | |
2349 | return NULL; | |
2350 | } | |
2351 | ||
2352 | ||
c370783e | 2353 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2354 | PyObject *resultobj; |
2355 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2356 | int arg2 ; | |
2357 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2358 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2359 | char *kwnames[] = { |
2360 | (char *) "self",(char *) "x", NULL | |
2361 | }; | |
2362 | ||
8edf1c75 | 2363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2366 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2367 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2368 | { |
2369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2370 | (arg1)->SetFontBold(arg2); | |
2371 | ||
2372 | wxPyEndAllowThreads(__tstate); | |
2373 | if (PyErr_Occurred()) SWIG_fail; | |
2374 | } | |
2375 | Py_INCREF(Py_None); resultobj = Py_None; | |
2376 | return resultobj; | |
2377 | fail: | |
2378 | return NULL; | |
2379 | } | |
2380 | ||
2381 | ||
c370783e | 2382 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2383 | PyObject *resultobj; |
2384 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2385 | int result; | |
2386 | PyObject * obj0 = 0 ; | |
2387 | char *kwnames[] = { | |
2388 | (char *) "self", NULL | |
2389 | }; | |
2390 | ||
2391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2394 | { |
2395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2396 | result = (int)(arg1)->GetFontItalic(); | |
2397 | ||
2398 | wxPyEndAllowThreads(__tstate); | |
2399 | if (PyErr_Occurred()) SWIG_fail; | |
2400 | } | |
c370783e | 2401 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2402 | return resultobj; |
2403 | fail: | |
2404 | return NULL; | |
2405 | } | |
2406 | ||
2407 | ||
c370783e | 2408 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2409 | PyObject *resultobj; |
2410 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2411 | int arg2 ; | |
2412 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2413 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2414 | char *kwnames[] = { |
2415 | (char *) "self",(char *) "x", NULL | |
2416 | }; | |
2417 | ||
8edf1c75 | 2418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2421 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2422 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2423 | { |
2424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2425 | (arg1)->SetFontItalic(arg2); | |
2426 | ||
2427 | wxPyEndAllowThreads(__tstate); | |
2428 | if (PyErr_Occurred()) SWIG_fail; | |
2429 | } | |
2430 | Py_INCREF(Py_None); resultobj = Py_None; | |
2431 | return resultobj; | |
2432 | fail: | |
2433 | return NULL; | |
2434 | } | |
2435 | ||
2436 | ||
c370783e | 2437 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2438 | PyObject *resultobj; |
2439 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2440 | int result; | |
2441 | PyObject * obj0 = 0 ; | |
2442 | char *kwnames[] = { | |
2443 | (char *) "self", NULL | |
2444 | }; | |
2445 | ||
2446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2449 | { |
2450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2451 | result = (int)(arg1)->GetFontUnderlined(); | |
2452 | ||
2453 | wxPyEndAllowThreads(__tstate); | |
2454 | if (PyErr_Occurred()) SWIG_fail; | |
2455 | } | |
c370783e | 2456 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2457 | return resultobj; |
2458 | fail: | |
2459 | return NULL; | |
2460 | } | |
2461 | ||
2462 | ||
c370783e | 2463 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2464 | PyObject *resultobj; |
2465 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2466 | int arg2 ; | |
2467 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2468 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2469 | char *kwnames[] = { |
2470 | (char *) "self",(char *) "x", NULL | |
2471 | }; | |
2472 | ||
8edf1c75 | 2473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2476 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2477 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2478 | { |
2479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2480 | (arg1)->SetFontUnderlined(arg2); | |
2481 | ||
2482 | wxPyEndAllowThreads(__tstate); | |
2483 | if (PyErr_Occurred()) SWIG_fail; | |
2484 | } | |
2485 | Py_INCREF(Py_None); resultobj = Py_None; | |
2486 | return resultobj; | |
2487 | fail: | |
2488 | return NULL; | |
2489 | } | |
2490 | ||
2491 | ||
c370783e | 2492 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2493 | PyObject *resultobj; |
2494 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2495 | int result; | |
2496 | PyObject * obj0 = 0 ; | |
2497 | char *kwnames[] = { | |
2498 | (char *) "self", NULL | |
2499 | }; | |
2500 | ||
2501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2504 | { |
2505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2506 | result = (int)(arg1)->GetFontFixed(); | |
2507 | ||
2508 | wxPyEndAllowThreads(__tstate); | |
2509 | if (PyErr_Occurred()) SWIG_fail; | |
2510 | } | |
c370783e | 2511 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2512 | return resultobj; |
2513 | fail: | |
2514 | return NULL; | |
2515 | } | |
2516 | ||
2517 | ||
c370783e | 2518 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2519 | PyObject *resultobj; |
2520 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2521 | int arg2 ; | |
2522 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2523 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2524 | char *kwnames[] = { |
2525 | (char *) "self",(char *) "x", NULL | |
2526 | }; | |
2527 | ||
8edf1c75 | 2528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2531 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2532 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2533 | { |
2534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2535 | (arg1)->SetFontFixed(arg2); | |
2536 | ||
2537 | wxPyEndAllowThreads(__tstate); | |
2538 | if (PyErr_Occurred()) SWIG_fail; | |
2539 | } | |
2540 | Py_INCREF(Py_None); resultobj = Py_None; | |
2541 | return resultobj; | |
2542 | fail: | |
2543 | return NULL; | |
2544 | } | |
2545 | ||
2546 | ||
c370783e | 2547 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2548 | PyObject *resultobj; |
2549 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2550 | int result; | |
2551 | PyObject * obj0 = 0 ; | |
2552 | char *kwnames[] = { | |
2553 | (char *) "self", NULL | |
2554 | }; | |
2555 | ||
2556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2559 | { |
2560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2561 | result = (int)(arg1)->GetAlign(); | |
2562 | ||
2563 | wxPyEndAllowThreads(__tstate); | |
2564 | if (PyErr_Occurred()) SWIG_fail; | |
2565 | } | |
c370783e | 2566 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2567 | return resultobj; |
2568 | fail: | |
2569 | return NULL; | |
2570 | } | |
2571 | ||
2572 | ||
c370783e | 2573 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2574 | PyObject *resultobj; |
2575 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2576 | int arg2 ; | |
2577 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2578 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2579 | char *kwnames[] = { |
2580 | (char *) "self",(char *) "a", NULL | |
2581 | }; | |
2582 | ||
8edf1c75 | 2583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2586 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 2587 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2588 | { |
2589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2590 | (arg1)->SetAlign(arg2); | |
2591 | ||
2592 | wxPyEndAllowThreads(__tstate); | |
2593 | if (PyErr_Occurred()) SWIG_fail; | |
2594 | } | |
2595 | Py_INCREF(Py_None); resultobj = Py_None; | |
2596 | return resultobj; | |
2597 | fail: | |
2598 | return NULL; | |
2599 | } | |
2600 | ||
2601 | ||
c370783e | 2602 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2603 | PyObject *resultobj; |
2604 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2605 | wxColour result; | |
2606 | PyObject * obj0 = 0 ; | |
2607 | char *kwnames[] = { | |
2608 | (char *) "self", NULL | |
2609 | }; | |
2610 | ||
2611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2614 | { |
2615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2616 | result = (arg1)->GetLinkColor(); | |
2617 | ||
2618 | wxPyEndAllowThreads(__tstate); | |
2619 | if (PyErr_Occurred()) SWIG_fail; | |
2620 | } | |
2621 | { | |
2622 | wxColour * resultptr; | |
2623 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 2624 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
2625 | } |
2626 | return resultobj; | |
2627 | fail: | |
2628 | return NULL; | |
2629 | } | |
2630 | ||
2631 | ||
c370783e | 2632 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2633 | PyObject *resultobj; |
2634 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2635 | wxColour *arg2 = 0 ; | |
2636 | wxColour temp2 ; | |
2637 | PyObject * obj0 = 0 ; | |
2638 | PyObject * obj1 = 0 ; | |
2639 | char *kwnames[] = { | |
2640 | (char *) "self",(char *) "clr", NULL | |
2641 | }; | |
2642 | ||
2643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2646 | { |
2647 | arg2 = &temp2; | |
2648 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2649 | } | |
2650 | { | |
2651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2652 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2653 | ||
2654 | wxPyEndAllowThreads(__tstate); | |
2655 | if (PyErr_Occurred()) SWIG_fail; | |
2656 | } | |
2657 | Py_INCREF(Py_None); resultobj = Py_None; | |
2658 | return resultobj; | |
2659 | fail: | |
2660 | return NULL; | |
2661 | } | |
2662 | ||
2663 | ||
c370783e | 2664 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2665 | PyObject *resultobj; |
2666 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2667 | wxColour result; | |
2668 | PyObject * obj0 = 0 ; | |
2669 | char *kwnames[] = { | |
2670 | (char *) "self", NULL | |
2671 | }; | |
2672 | ||
2673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2676 | { |
2677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2678 | result = (arg1)->GetActualColor(); | |
2679 | ||
2680 | wxPyEndAllowThreads(__tstate); | |
2681 | if (PyErr_Occurred()) SWIG_fail; | |
2682 | } | |
2683 | { | |
2684 | wxColour * resultptr; | |
2685 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 2686 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
2687 | } |
2688 | return resultobj; | |
2689 | fail: | |
2690 | return NULL; | |
2691 | } | |
2692 | ||
2693 | ||
c370783e | 2694 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2695 | PyObject *resultobj; |
2696 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2697 | wxColour *arg2 = 0 ; | |
2698 | wxColour temp2 ; | |
2699 | PyObject * obj0 = 0 ; | |
2700 | PyObject * obj1 = 0 ; | |
2701 | char *kwnames[] = { | |
2702 | (char *) "self",(char *) "clr", NULL | |
2703 | }; | |
2704 | ||
2705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2708 | { |
2709 | arg2 = &temp2; | |
2710 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2711 | } | |
2712 | { | |
2713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2714 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2715 | ||
2716 | wxPyEndAllowThreads(__tstate); | |
2717 | if (PyErr_Occurred()) SWIG_fail; | |
2718 | } | |
2719 | Py_INCREF(Py_None); resultobj = Py_None; | |
2720 | return resultobj; | |
2721 | fail: | |
2722 | return NULL; | |
2723 | } | |
2724 | ||
2725 | ||
c370783e | 2726 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2727 | PyObject *resultobj; |
2728 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2729 | wxString *arg2 = 0 ; | |
423f194a | 2730 | bool temp2 = False ; |
d14a1e28 RD |
2731 | PyObject * obj0 = 0 ; |
2732 | PyObject * obj1 = 0 ; | |
2733 | char *kwnames[] = { | |
2734 | (char *) "self",(char *) "link", NULL | |
2735 | }; | |
2736 | ||
2737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2740 | { |
2741 | arg2 = wxString_in_helper(obj1); | |
2742 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 2743 | temp2 = True; |
d14a1e28 RD |
2744 | } |
2745 | { | |
2746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2747 | (arg1)->SetLink((wxString const &)*arg2); | |
2748 | ||
2749 | wxPyEndAllowThreads(__tstate); | |
2750 | if (PyErr_Occurred()) SWIG_fail; | |
2751 | } | |
2752 | Py_INCREF(Py_None); resultobj = Py_None; | |
2753 | { | |
2754 | if (temp2) | |
2755 | delete arg2; | |
2756 | } | |
2757 | return resultobj; | |
2758 | fail: | |
2759 | { | |
2760 | if (temp2) | |
2761 | delete arg2; | |
2762 | } | |
2763 | return NULL; | |
2764 | } | |
2765 | ||
2766 | ||
c370783e | 2767 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2768 | PyObject *resultobj; |
2769 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2770 | wxFont *result; | |
2771 | PyObject * obj0 = 0 ; | |
2772 | char *kwnames[] = { | |
2773 | (char *) "self", NULL | |
2774 | }; | |
2775 | ||
2776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2779 | { |
2780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2781 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2782 | ||
2783 | wxPyEndAllowThreads(__tstate); | |
2784 | if (PyErr_Occurred()) SWIG_fail; | |
2785 | } | |
2f4c0a16 | 2786 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); |
d14a1e28 RD |
2787 | return resultobj; |
2788 | fail: | |
2789 | return NULL; | |
2790 | } | |
2791 | ||
2792 | ||
c370783e | 2793 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2794 | PyObject *resultobj; |
2795 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2796 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2797 | PyObject * obj0 = 0 ; | |
2798 | char *kwnames[] = { | |
2799 | (char *) "self", NULL | |
2800 | }; | |
2801 | ||
2802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, |
2804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2805 | { |
2806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2807 | result = (arg1)->GetLink(); | |
2808 | ||
2809 | wxPyEndAllowThreads(__tstate); | |
2810 | if (PyErr_Occurred()) SWIG_fail; | |
2811 | } | |
2812 | { | |
2813 | wxHtmlLinkInfo * resultptr; | |
2814 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2f4c0a16 | 2815 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); |
d14a1e28 RD |
2816 | } |
2817 | return resultobj; | |
2818 | fail: | |
2819 | return NULL; | |
2820 | } | |
2821 | ||
2822 | ||
c370783e | 2823 | static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2824 | PyObject *obj; |
2825 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2826 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2827 | Py_INCREF(obj); | |
2828 | return Py_BuildValue((char *)""); | |
2829 | } | |
c370783e | 2830 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2831 | PyObject *resultobj; |
2832 | wxPyHtmlTagHandler *result; | |
2833 | char *kwnames[] = { | |
2834 | NULL | |
2835 | }; | |
2836 | ||
2837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2838 | { | |
2839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2840 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2841 | ||
2842 | wxPyEndAllowThreads(__tstate); | |
2843 | if (PyErr_Occurred()) SWIG_fail; | |
2844 | } | |
2f4c0a16 | 2845 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1); |
d14a1e28 RD |
2846 | return resultobj; |
2847 | fail: | |
2848 | return NULL; | |
2849 | } | |
2850 | ||
2851 | ||
c370783e | 2852 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2853 | PyObject *resultobj; |
2854 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2855 | PyObject *arg2 = (PyObject *) 0 ; | |
2856 | PyObject *arg3 = (PyObject *) 0 ; | |
2857 | PyObject * obj0 = 0 ; | |
2858 | PyObject * obj1 = 0 ; | |
2859 | PyObject * obj2 = 0 ; | |
2860 | char *kwnames[] = { | |
2861 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2862 | }; | |
2863 | ||
2864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
2865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2867 | arg2 = obj1; |
2868 | arg3 = obj2; | |
2869 | { | |
2870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2871 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2872 | ||
2873 | wxPyEndAllowThreads(__tstate); | |
2874 | if (PyErr_Occurred()) SWIG_fail; | |
2875 | } | |
2876 | Py_INCREF(Py_None); resultobj = Py_None; | |
2877 | return resultobj; | |
2878 | fail: | |
2879 | return NULL; | |
2880 | } | |
2881 | ||
2882 | ||
c370783e | 2883 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2884 | PyObject *resultobj; |
2885 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2886 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2887 | PyObject * obj0 = 0 ; | |
2888 | PyObject * obj1 = 0 ; | |
2889 | char *kwnames[] = { | |
2890 | (char *) "self",(char *) "parser", NULL | |
2891 | }; | |
2892 | ||
2893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2894 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2896 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2898 | { |
2899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2900 | (arg1)->SetParser(arg2); | |
2901 | ||
2902 | wxPyEndAllowThreads(__tstate); | |
2903 | if (PyErr_Occurred()) SWIG_fail; | |
2904 | } | |
2905 | Py_INCREF(Py_None); resultobj = Py_None; | |
2906 | return resultobj; | |
2907 | fail: | |
2908 | return NULL; | |
2909 | } | |
2910 | ||
2911 | ||
c370783e | 2912 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2913 | PyObject *resultobj; |
2914 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2915 | wxHtmlParser *result; | |
2916 | PyObject * obj0 = 0 ; | |
2917 | char *kwnames[] = { | |
2918 | (char *) "self", NULL | |
2919 | }; | |
2920 | ||
2921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2924 | { |
2925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2926 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2927 | ||
2928 | wxPyEndAllowThreads(__tstate); | |
2929 | if (PyErr_Occurred()) SWIG_fail; | |
2930 | } | |
2f4c0a16 | 2931 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0); |
d14a1e28 RD |
2932 | return resultobj; |
2933 | fail: | |
2934 | return NULL; | |
2935 | } | |
2936 | ||
2937 | ||
c370783e | 2938 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2939 | PyObject *resultobj; |
2940 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2941 | wxHtmlTag *arg2 = 0 ; | |
2942 | PyObject * obj0 = 0 ; | |
2943 | PyObject * obj1 = 0 ; | |
2944 | char *kwnames[] = { | |
2945 | (char *) "self",(char *) "tag", NULL | |
2946 | }; | |
2947 | ||
2948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, |
2950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2951 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2952 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2953 | SWIG_fail; | |
d14a1e28 | 2954 | if (arg2 == NULL) { |
2f4c0a16 RD |
2955 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2956 | SWIG_fail; | |
d14a1e28 RD |
2957 | } |
2958 | { | |
2959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2960 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2961 | ||
2962 | wxPyEndAllowThreads(__tstate); | |
2963 | if (PyErr_Occurred()) SWIG_fail; | |
2964 | } | |
2965 | Py_INCREF(Py_None); resultobj = Py_None; | |
2966 | return resultobj; | |
2967 | fail: | |
2968 | return NULL; | |
2969 | } | |
2970 | ||
2971 | ||
c370783e | 2972 | static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2973 | PyObject *obj; |
2974 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2975 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2976 | Py_INCREF(obj); | |
2977 | return Py_BuildValue((char *)""); | |
2978 | } | |
c370783e | 2979 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2980 | PyObject *resultobj; |
2981 | wxPyHtmlWinTagHandler *result; | |
2982 | char *kwnames[] = { | |
2983 | NULL | |
2984 | }; | |
2985 | ||
2986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2987 | { | |
2988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2989 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2990 | ||
2991 | wxPyEndAllowThreads(__tstate); | |
2992 | if (PyErr_Occurred()) SWIG_fail; | |
2993 | } | |
2f4c0a16 | 2994 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); |
d14a1e28 RD |
2995 | return resultobj; |
2996 | fail: | |
2997 | return NULL; | |
2998 | } | |
2999 | ||
3000 | ||
c370783e | 3001 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3002 | PyObject *resultobj; |
3003 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3004 | PyObject *arg2 = (PyObject *) 0 ; | |
3005 | PyObject *arg3 = (PyObject *) 0 ; | |
3006 | PyObject * obj0 = 0 ; | |
3007 | PyObject * obj1 = 0 ; | |
3008 | PyObject * obj2 = 0 ; | |
3009 | char *kwnames[] = { | |
3010 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
3011 | }; | |
3012 | ||
3013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3016 | arg2 = obj1; |
3017 | arg3 = obj2; | |
3018 | { | |
3019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3020 | (arg1)->_setCallbackInfo(arg2,arg3); | |
3021 | ||
3022 | wxPyEndAllowThreads(__tstate); | |
3023 | if (PyErr_Occurred()) SWIG_fail; | |
3024 | } | |
3025 | Py_INCREF(Py_None); resultobj = Py_None; | |
3026 | return resultobj; | |
3027 | fail: | |
3028 | return NULL; | |
3029 | } | |
3030 | ||
3031 | ||
c370783e | 3032 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3033 | PyObject *resultobj; |
3034 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3035 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
3036 | PyObject * obj0 = 0 ; | |
3037 | PyObject * obj1 = 0 ; | |
3038 | char *kwnames[] = { | |
3039 | (char *) "self",(char *) "parser", NULL | |
3040 | }; | |
3041 | ||
3042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3045 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
3046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3047 | { |
3048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3049 | (arg1)->SetParser(arg2); | |
3050 | ||
3051 | wxPyEndAllowThreads(__tstate); | |
3052 | if (PyErr_Occurred()) SWIG_fail; | |
3053 | } | |
3054 | Py_INCREF(Py_None); resultobj = Py_None; | |
3055 | return resultobj; | |
3056 | fail: | |
3057 | return NULL; | |
3058 | } | |
3059 | ||
3060 | ||
c370783e | 3061 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3062 | PyObject *resultobj; |
3063 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3064 | wxHtmlWinParser *result; | |
3065 | PyObject * obj0 = 0 ; | |
3066 | char *kwnames[] = { | |
3067 | (char *) "self", NULL | |
3068 | }; | |
3069 | ||
3070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3073 | { |
3074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3075 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
3076 | ||
3077 | wxPyEndAllowThreads(__tstate); | |
3078 | if (PyErr_Occurred()) SWIG_fail; | |
3079 | } | |
2f4c0a16 | 3080 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); |
d14a1e28 RD |
3081 | return resultobj; |
3082 | fail: | |
3083 | return NULL; | |
3084 | } | |
3085 | ||
3086 | ||
c370783e | 3087 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3088 | PyObject *resultobj; |
3089 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
3090 | wxHtmlTag *arg2 = 0 ; | |
3091 | PyObject * obj0 = 0 ; | |
3092 | PyObject * obj1 = 0 ; | |
3093 | char *kwnames[] = { | |
3094 | (char *) "self",(char *) "tag", NULL | |
3095 | }; | |
3096 | ||
3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, |
3099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3100 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
3101 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3102 | SWIG_fail; | |
d14a1e28 | 3103 | if (arg2 == NULL) { |
2f4c0a16 RD |
3104 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3105 | SWIG_fail; | |
d14a1e28 RD |
3106 | } |
3107 | { | |
3108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3109 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
3110 | ||
3111 | wxPyEndAllowThreads(__tstate); | |
3112 | if (PyErr_Occurred()) SWIG_fail; | |
3113 | } | |
3114 | Py_INCREF(Py_None); resultobj = Py_None; | |
3115 | return resultobj; | |
3116 | fail: | |
3117 | return NULL; | |
3118 | } | |
3119 | ||
3120 | ||
c370783e | 3121 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3122 | PyObject *obj; |
3123 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3124 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
3125 | Py_INCREF(obj); | |
3126 | return Py_BuildValue((char *)""); | |
3127 | } | |
c370783e | 3128 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3129 | PyObject *resultobj; |
3130 | PyObject *arg1 = (PyObject *) 0 ; | |
3131 | PyObject * obj0 = 0 ; | |
3132 | char *kwnames[] = { | |
3133 | (char *) "tagHandlerClass", NULL | |
3134 | }; | |
3135 | ||
3136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
3137 | arg1 = obj0; | |
3138 | { | |
3139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3140 | wxHtmlWinParser_AddTagHandler(arg1); | |
3141 | ||
3142 | wxPyEndAllowThreads(__tstate); | |
3143 | if (PyErr_Occurred()) SWIG_fail; | |
3144 | } | |
3145 | Py_INCREF(Py_None); resultobj = Py_None; | |
3146 | return resultobj; | |
3147 | fail: | |
3148 | return NULL; | |
3149 | } | |
3150 | ||
3151 | ||
c370783e | 3152 | static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3153 | PyObject *resultobj; |
3154 | wxHtmlSelection *result; | |
3155 | char *kwnames[] = { | |
3156 | NULL | |
3157 | }; | |
3158 | ||
3159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
3160 | { | |
3161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3162 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
3163 | ||
3164 | wxPyEndAllowThreads(__tstate); | |
3165 | if (PyErr_Occurred()) SWIG_fail; | |
3166 | } | |
2f4c0a16 | 3167 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1); |
d14a1e28 RD |
3168 | return resultobj; |
3169 | fail: | |
3170 | return NULL; | |
3171 | } | |
3172 | ||
3173 | ||
c370783e | 3174 | static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3175 | PyObject *resultobj; |
3176 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3177 | PyObject * obj0 = 0 ; | |
3178 | char *kwnames[] = { | |
3179 | (char *) "self", NULL | |
3180 | }; | |
3181 | ||
3182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3185 | { |
3186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3187 | delete arg1; | |
3188 | ||
3189 | wxPyEndAllowThreads(__tstate); | |
3190 | if (PyErr_Occurred()) SWIG_fail; | |
3191 | } | |
3192 | Py_INCREF(Py_None); resultobj = Py_None; | |
3193 | return resultobj; | |
3194 | fail: | |
3195 | return NULL; | |
3196 | } | |
3197 | ||
3198 | ||
c370783e | 3199 | static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3200 | PyObject *resultobj; |
3201 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3202 | wxPoint *arg2 = 0 ; | |
3203 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3204 | wxPoint *arg4 = 0 ; | |
3205 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
3206 | wxPoint temp2 ; | |
3207 | wxPoint temp4 ; | |
3208 | PyObject * obj0 = 0 ; | |
3209 | PyObject * obj1 = 0 ; | |
3210 | PyObject * obj2 = 0 ; | |
3211 | PyObject * obj3 = 0 ; | |
3212 | PyObject * obj4 = 0 ; | |
3213 | char *kwnames[] = { | |
3214 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
3215 | }; | |
3216 | ||
3217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2f4c0a16 RD |
3218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3220 | { |
3221 | arg2 = &temp2; | |
3222 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3223 | } | |
2f4c0a16 RD |
3224 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, |
3225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3226 | { |
3227 | arg4 = &temp4; | |
3228 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3229 | } | |
2f4c0a16 RD |
3230 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell, |
3231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3232 | { |
3233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3234 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
3235 | ||
3236 | wxPyEndAllowThreads(__tstate); | |
3237 | if (PyErr_Occurred()) SWIG_fail; | |
3238 | } | |
3239 | Py_INCREF(Py_None); resultobj = Py_None; | |
3240 | return resultobj; | |
3241 | fail: | |
3242 | return NULL; | |
3243 | } | |
3244 | ||
3245 | ||
c370783e | 3246 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3247 | PyObject *resultobj; |
3248 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3249 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3250 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3251 | PyObject * obj0 = 0 ; | |
3252 | PyObject * obj1 = 0 ; | |
3253 | PyObject * obj2 = 0 ; | |
3254 | char *kwnames[] = { | |
3255 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
3256 | }; | |
3257 | ||
3258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3261 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
3262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3263 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3265 | { |
3266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3267 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
3268 | ||
3269 | wxPyEndAllowThreads(__tstate); | |
3270 | if (PyErr_Occurred()) SWIG_fail; | |
3271 | } | |
3272 | Py_INCREF(Py_None); resultobj = Py_None; | |
3273 | return resultobj; | |
3274 | fail: | |
3275 | return NULL; | |
3276 | } | |
3277 | ||
3278 | ||
c370783e | 3279 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3280 | PyObject *resultobj; |
3281 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3282 | wxHtmlCell *result; | |
3283 | PyObject * obj0 = 0 ; | |
3284 | char *kwnames[] = { | |
3285 | (char *) "self", NULL | |
3286 | }; | |
3287 | ||
3288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3291 | { |
3292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3293 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
3294 | ||
3295 | wxPyEndAllowThreads(__tstate); | |
3296 | if (PyErr_Occurred()) SWIG_fail; | |
3297 | } | |
2f4c0a16 | 3298 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
3299 | return resultobj; |
3300 | fail: | |
3301 | return NULL; | |
3302 | } | |
3303 | ||
3304 | ||
c370783e | 3305 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3306 | PyObject *resultobj; |
3307 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3308 | wxHtmlCell *result; | |
3309 | PyObject * obj0 = 0 ; | |
3310 | char *kwnames[] = { | |
3311 | (char *) "self", NULL | |
3312 | }; | |
3313 | ||
3314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3317 | { |
3318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3319 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
3320 | ||
3321 | wxPyEndAllowThreads(__tstate); | |
3322 | if (PyErr_Occurred()) SWIG_fail; | |
3323 | } | |
2f4c0a16 | 3324 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
3325 | return resultobj; |
3326 | fail: | |
3327 | return NULL; | |
3328 | } | |
3329 | ||
3330 | ||
c370783e | 3331 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3332 | PyObject *resultobj; |
3333 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3334 | wxPoint *result; | |
3335 | PyObject * obj0 = 0 ; | |
3336 | char *kwnames[] = { | |
3337 | (char *) "self", NULL | |
3338 | }; | |
3339 | ||
3340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3343 | { |
3344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3345 | { | |
3346 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
3347 | result = (wxPoint *) &_result_ref; | |
3348 | } | |
3349 | ||
3350 | wxPyEndAllowThreads(__tstate); | |
3351 | if (PyErr_Occurred()) SWIG_fail; | |
3352 | } | |
2f4c0a16 | 3353 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3354 | return resultobj; |
3355 | fail: | |
3356 | return NULL; | |
3357 | } | |
3358 | ||
3359 | ||
c370783e | 3360 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3361 | PyObject *resultobj; |
3362 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3363 | wxPoint *result; | |
3364 | PyObject * obj0 = 0 ; | |
3365 | char *kwnames[] = { | |
3366 | (char *) "self", NULL | |
3367 | }; | |
3368 | ||
3369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3372 | { |
3373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3374 | { | |
3375 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
3376 | result = (wxPoint *) &_result_ref; | |
3377 | } | |
3378 | ||
3379 | wxPyEndAllowThreads(__tstate); | |
3380 | if (PyErr_Occurred()) SWIG_fail; | |
3381 | } | |
2f4c0a16 | 3382 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3383 | return resultobj; |
3384 | fail: | |
3385 | return NULL; | |
3386 | } | |
3387 | ||
3388 | ||
c370783e | 3389 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3390 | PyObject *resultobj; |
3391 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3392 | wxPoint *result; | |
3393 | PyObject * obj0 = 0 ; | |
3394 | char *kwnames[] = { | |
3395 | (char *) "self", NULL | |
3396 | }; | |
3397 | ||
3398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3401 | { |
3402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3403 | { | |
3404 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
3405 | result = (wxPoint *) &_result_ref; | |
3406 | } | |
3407 | ||
3408 | wxPyEndAllowThreads(__tstate); | |
3409 | if (PyErr_Occurred()) SWIG_fail; | |
3410 | } | |
2f4c0a16 | 3411 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3412 | return resultobj; |
3413 | fail: | |
3414 | return NULL; | |
3415 | } | |
3416 | ||
3417 | ||
c370783e | 3418 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3419 | PyObject *resultobj; |
3420 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3421 | wxPoint *result; | |
3422 | PyObject * obj0 = 0 ; | |
3423 | char *kwnames[] = { | |
3424 | (char *) "self", NULL | |
3425 | }; | |
3426 | ||
3427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3430 | { |
3431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3432 | { | |
3433 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
3434 | result = (wxPoint *) &_result_ref; | |
3435 | } | |
3436 | ||
3437 | wxPyEndAllowThreads(__tstate); | |
3438 | if (PyErr_Occurred()) SWIG_fail; | |
3439 | } | |
2f4c0a16 | 3440 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); |
d14a1e28 RD |
3441 | return resultobj; |
3442 | fail: | |
3443 | return NULL; | |
3444 | } | |
3445 | ||
3446 | ||
c370783e | 3447 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3448 | PyObject *resultobj; |
3449 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3450 | wxPoint *arg2 = 0 ; | |
3451 | wxPoint temp2 ; | |
3452 | PyObject * obj0 = 0 ; | |
3453 | PyObject * obj1 = 0 ; | |
3454 | char *kwnames[] = { | |
3455 | (char *) "self",(char *) "pos", NULL | |
3456 | }; | |
3457 | ||
3458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3461 | { |
3462 | arg2 = &temp2; | |
3463 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3464 | } | |
3465 | { | |
3466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3467 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
3468 | ||
3469 | wxPyEndAllowThreads(__tstate); | |
3470 | if (PyErr_Occurred()) SWIG_fail; | |
3471 | } | |
3472 | Py_INCREF(Py_None); resultobj = Py_None; | |
3473 | return resultobj; | |
3474 | fail: | |
3475 | return NULL; | |
3476 | } | |
3477 | ||
3478 | ||
c370783e | 3479 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3480 | PyObject *resultobj; |
3481 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3482 | wxPoint *arg2 = 0 ; | |
3483 | wxPoint temp2 ; | |
3484 | PyObject * obj0 = 0 ; | |
3485 | PyObject * obj1 = 0 ; | |
3486 | char *kwnames[] = { | |
3487 | (char *) "self",(char *) "pos", NULL | |
3488 | }; | |
3489 | ||
3490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3493 | { |
3494 | arg2 = &temp2; | |
3495 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3496 | } | |
3497 | { | |
3498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3499 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
3500 | ||
3501 | wxPyEndAllowThreads(__tstate); | |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
3503 | } | |
3504 | Py_INCREF(Py_None); resultobj = Py_None; | |
3505 | return resultobj; | |
3506 | fail: | |
3507 | return NULL; | |
3508 | } | |
3509 | ||
3510 | ||
c370783e | 3511 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3512 | PyObject *resultobj; |
3513 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3514 | PyObject * obj0 = 0 ; | |
3515 | char *kwnames[] = { | |
3516 | (char *) "self", NULL | |
3517 | }; | |
3518 | ||
3519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3522 | { |
3523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3524 | (arg1)->ClearPrivPos(); | |
3525 | ||
3526 | wxPyEndAllowThreads(__tstate); | |
3527 | if (PyErr_Occurred()) SWIG_fail; | |
3528 | } | |
3529 | Py_INCREF(Py_None); resultobj = Py_None; | |
3530 | return resultobj; | |
3531 | fail: | |
3532 | return NULL; | |
3533 | } | |
3534 | ||
3535 | ||
c370783e | 3536 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3537 | PyObject *resultobj; |
3538 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3539 | bool result; | |
3540 | PyObject * obj0 = 0 ; | |
3541 | char *kwnames[] = { | |
3542 | (char *) "self", NULL | |
3543 | }; | |
3544 | ||
3545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, |
3547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3548 | { |
3549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3550 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
3551 | ||
3552 | wxPyEndAllowThreads(__tstate); | |
3553 | if (PyErr_Occurred()) SWIG_fail; | |
3554 | } | |
fbc46b20 RD |
3555 | { |
3556 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3557 | } | |
d14a1e28 RD |
3558 | return resultobj; |
3559 | fail: | |
3560 | return NULL; | |
3561 | } | |
3562 | ||
3563 | ||
c370783e | 3564 | static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3565 | PyObject *obj; |
3566 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3567 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
3568 | Py_INCREF(obj); | |
3569 | return Py_BuildValue((char *)""); | |
3570 | } | |
c370783e | 3571 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3572 | PyObject *resultobj; |
3573 | wxHtmlRenderingState *result; | |
3574 | char *kwnames[] = { | |
3575 | NULL | |
3576 | }; | |
3577 | ||
3578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
3579 | { | |
3580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3581 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
3582 | ||
3583 | wxPyEndAllowThreads(__tstate); | |
3584 | if (PyErr_Occurred()) SWIG_fail; | |
3585 | } | |
2f4c0a16 | 3586 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1); |
d14a1e28 RD |
3587 | return resultobj; |
3588 | fail: | |
3589 | return NULL; | |
3590 | } | |
3591 | ||
3592 | ||
c370783e | 3593 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3594 | PyObject *resultobj; |
3595 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3596 | PyObject * obj0 = 0 ; | |
3597 | char *kwnames[] = { | |
3598 | (char *) "self", NULL | |
3599 | }; | |
3600 | ||
3601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3604 | { |
3605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3606 | delete arg1; | |
3607 | ||
3608 | wxPyEndAllowThreads(__tstate); | |
3609 | if (PyErr_Occurred()) SWIG_fail; | |
3610 | } | |
3611 | Py_INCREF(Py_None); resultobj = Py_None; | |
3612 | return resultobj; | |
3613 | fail: | |
3614 | return NULL; | |
3615 | } | |
3616 | ||
3617 | ||
c370783e | 3618 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3619 | PyObject *resultobj; |
3620 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3621 | int arg2 ; | |
3622 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3623 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3624 | char *kwnames[] = { |
3625 | (char *) "self",(char *) "s", NULL | |
3626 | }; | |
3627 | ||
8edf1c75 | 3628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3631 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 3632 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3633 | { |
3634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3635 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3636 | ||
3637 | wxPyEndAllowThreads(__tstate); | |
3638 | if (PyErr_Occurred()) SWIG_fail; | |
3639 | } | |
3640 | Py_INCREF(Py_None); resultobj = Py_None; | |
3641 | return resultobj; | |
3642 | fail: | |
3643 | return NULL; | |
3644 | } | |
3645 | ||
3646 | ||
c370783e | 3647 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3648 | PyObject *resultobj; |
3649 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3650 | int result; | |
3651 | PyObject * obj0 = 0 ; | |
3652 | char *kwnames[] = { | |
3653 | (char *) "self", NULL | |
3654 | }; | |
3655 | ||
3656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3659 | { |
3660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3661 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3662 | ||
3663 | wxPyEndAllowThreads(__tstate); | |
3664 | if (PyErr_Occurred()) SWIG_fail; | |
3665 | } | |
c370783e | 3666 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3667 | return resultobj; |
3668 | fail: | |
3669 | return NULL; | |
3670 | } | |
3671 | ||
3672 | ||
c370783e | 3673 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3674 | PyObject *resultobj; |
3675 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3676 | wxColour *arg2 = 0 ; | |
3677 | wxColour temp2 ; | |
3678 | PyObject * obj0 = 0 ; | |
3679 | PyObject * obj1 = 0 ; | |
3680 | char *kwnames[] = { | |
3681 | (char *) "self",(char *) "c", NULL | |
3682 | }; | |
3683 | ||
3684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3687 | { |
3688 | arg2 = &temp2; | |
3689 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3690 | } | |
3691 | { | |
3692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3693 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3694 | ||
3695 | wxPyEndAllowThreads(__tstate); | |
3696 | if (PyErr_Occurred()) SWIG_fail; | |
3697 | } | |
3698 | Py_INCREF(Py_None); resultobj = Py_None; | |
3699 | return resultobj; | |
3700 | fail: | |
3701 | return NULL; | |
3702 | } | |
3703 | ||
3704 | ||
c370783e | 3705 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3706 | PyObject *resultobj; |
3707 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3708 | wxColour *result; | |
3709 | PyObject * obj0 = 0 ; | |
3710 | char *kwnames[] = { | |
3711 | (char *) "self", NULL | |
3712 | }; | |
3713 | ||
3714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3717 | { |
3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3719 | { | |
3720 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3721 | result = (wxColour *) &_result_ref; | |
3722 | } | |
3723 | ||
3724 | wxPyEndAllowThreads(__tstate); | |
3725 | if (PyErr_Occurred()) SWIG_fail; | |
3726 | } | |
2f4c0a16 | 3727 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
3728 | return resultobj; |
3729 | fail: | |
3730 | return NULL; | |
3731 | } | |
3732 | ||
3733 | ||
c370783e | 3734 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3735 | PyObject *resultobj; |
3736 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3737 | wxColour *arg2 = 0 ; | |
3738 | wxColour temp2 ; | |
3739 | PyObject * obj0 = 0 ; | |
3740 | PyObject * obj1 = 0 ; | |
3741 | char *kwnames[] = { | |
3742 | (char *) "self",(char *) "c", NULL | |
3743 | }; | |
3744 | ||
3745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3748 | { |
3749 | arg2 = &temp2; | |
3750 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3751 | } | |
3752 | { | |
3753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3754 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3755 | ||
3756 | wxPyEndAllowThreads(__tstate); | |
3757 | if (PyErr_Occurred()) SWIG_fail; | |
3758 | } | |
3759 | Py_INCREF(Py_None); resultobj = Py_None; | |
3760 | return resultobj; | |
3761 | fail: | |
3762 | return NULL; | |
3763 | } | |
3764 | ||
3765 | ||
c370783e | 3766 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3767 | PyObject *resultobj; |
3768 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3769 | wxColour *result; | |
3770 | PyObject * obj0 = 0 ; | |
3771 | char *kwnames[] = { | |
3772 | (char *) "self", NULL | |
3773 | }; | |
3774 | ||
3775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, |
3777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3778 | { |
3779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3780 | { | |
3781 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3782 | result = (wxColour *) &_result_ref; | |
3783 | } | |
3784 | ||
3785 | wxPyEndAllowThreads(__tstate); | |
3786 | if (PyErr_Occurred()) SWIG_fail; | |
3787 | } | |
2f4c0a16 | 3788 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
3789 | return resultobj; |
3790 | fail: | |
3791 | return NULL; | |
3792 | } | |
3793 | ||
3794 | ||
c370783e | 3795 | static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3796 | PyObject *obj; |
3797 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3798 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3799 | Py_INCREF(obj); | |
3800 | return Py_BuildValue((char *)""); | |
3801 | } | |
c370783e | 3802 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3803 | PyObject *resultobj; |
3804 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3805 | wxColour *arg2 = 0 ; | |
3806 | wxColour result; | |
3807 | wxColour temp2 ; | |
3808 | PyObject * obj0 = 0 ; | |
3809 | PyObject * obj1 = 0 ; | |
3810 | char *kwnames[] = { | |
3811 | (char *) "self",(char *) "clr", NULL | |
3812 | }; | |
3813 | ||
3814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, |
3816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3817 | { |
3818 | arg2 = &temp2; | |
3819 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3820 | } | |
3821 | { | |
3822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3823 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3824 | ||
3825 | wxPyEndAllowThreads(__tstate); | |
3826 | if (PyErr_Occurred()) SWIG_fail; | |
3827 | } | |
3828 | { | |
3829 | wxColour * resultptr; | |
3830 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3831 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3832 | } |
3833 | return resultobj; | |
3834 | fail: | |
3835 | return NULL; | |
3836 | } | |
3837 | ||
3838 | ||
c370783e | 3839 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3840 | PyObject *resultobj; |
3841 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3842 | wxColour *arg2 = 0 ; | |
3843 | wxColour result; | |
3844 | wxColour temp2 ; | |
3845 | PyObject * obj0 = 0 ; | |
3846 | PyObject * obj1 = 0 ; | |
3847 | char *kwnames[] = { | |
3848 | (char *) "self",(char *) "clr", NULL | |
3849 | }; | |
3850 | ||
3851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, |
3853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3854 | { |
3855 | arg2 = &temp2; | |
3856 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3857 | } | |
3858 | { | |
3859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3860 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3861 | ||
3862 | wxPyEndAllowThreads(__tstate); | |
3863 | if (PyErr_Occurred()) SWIG_fail; | |
3864 | } | |
3865 | { | |
3866 | wxColour * resultptr; | |
3867 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3868 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3869 | } |
3870 | return resultobj; | |
3871 | fail: | |
3872 | return NULL; | |
3873 | } | |
3874 | ||
3875 | ||
c370783e | 3876 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3877 | PyObject *obj; |
3878 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3879 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3880 | Py_INCREF(obj); | |
3881 | return Py_BuildValue((char *)""); | |
3882 | } | |
c370783e | 3883 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3884 | PyObject *resultobj; |
3885 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3886 | wxColour *arg2 = 0 ; | |
3887 | wxColour result; | |
3888 | wxColour temp2 ; | |
3889 | PyObject * obj0 = 0 ; | |
3890 | PyObject * obj1 = 0 ; | |
3891 | char *kwnames[] = { | |
3892 | (char *) "self",(char *) "clr", NULL | |
3893 | }; | |
3894 | ||
3895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, |
3897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3898 | { |
3899 | arg2 = &temp2; | |
3900 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3901 | } | |
3902 | { | |
3903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3904 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3905 | ||
3906 | wxPyEndAllowThreads(__tstate); | |
3907 | if (PyErr_Occurred()) SWIG_fail; | |
3908 | } | |
3909 | { | |
3910 | wxColour * resultptr; | |
3911 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3912 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3913 | } |
3914 | return resultobj; | |
3915 | fail: | |
3916 | return NULL; | |
3917 | } | |
3918 | ||
3919 | ||
c370783e | 3920 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3921 | PyObject *resultobj; |
3922 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3923 | wxColour *arg2 = 0 ; | |
3924 | wxColour result; | |
3925 | wxColour temp2 ; | |
3926 | PyObject * obj0 = 0 ; | |
3927 | PyObject * obj1 = 0 ; | |
3928 | char *kwnames[] = { | |
3929 | (char *) "self",(char *) "clr", NULL | |
3930 | }; | |
3931 | ||
3932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, |
3934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3935 | { |
3936 | arg2 = &temp2; | |
3937 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3938 | } | |
3939 | { | |
3940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3941 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3942 | ||
3943 | wxPyEndAllowThreads(__tstate); | |
3944 | if (PyErr_Occurred()) SWIG_fail; | |
3945 | } | |
3946 | { | |
3947 | wxColour * resultptr; | |
3948 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 3949 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3950 | } |
3951 | return resultobj; | |
3952 | fail: | |
3953 | return NULL; | |
3954 | } | |
3955 | ||
3956 | ||
c370783e | 3957 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3958 | PyObject *obj; |
3959 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3960 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3961 | Py_INCREF(obj); | |
3962 | return Py_BuildValue((char *)""); | |
3963 | } | |
c370783e | 3964 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3965 | PyObject *resultobj; |
3966 | wxHtmlRenderingInfo *result; | |
3967 | char *kwnames[] = { | |
3968 | NULL | |
3969 | }; | |
3970 | ||
3971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3972 | { | |
3973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3974 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3975 | ||
3976 | wxPyEndAllowThreads(__tstate); | |
3977 | if (PyErr_Occurred()) SWIG_fail; | |
3978 | } | |
2f4c0a16 | 3979 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1); |
d14a1e28 RD |
3980 | return resultobj; |
3981 | fail: | |
3982 | return NULL; | |
3983 | } | |
3984 | ||
3985 | ||
c370783e | 3986 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3987 | PyObject *resultobj; |
3988 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3989 | PyObject * obj0 = 0 ; | |
3990 | char *kwnames[] = { | |
3991 | (char *) "self", NULL | |
3992 | }; | |
3993 | ||
3994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
3996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3997 | { |
3998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3999 | delete arg1; | |
4000 | ||
4001 | wxPyEndAllowThreads(__tstate); | |
4002 | if (PyErr_Occurred()) SWIG_fail; | |
4003 | } | |
4004 | Py_INCREF(Py_None); resultobj = Py_None; | |
4005 | return resultobj; | |
4006 | fail: | |
4007 | return NULL; | |
4008 | } | |
4009 | ||
4010 | ||
c370783e | 4011 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4012 | PyObject *resultobj; |
4013 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4014 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4015 | PyObject * obj0 = 0 ; | |
4016 | PyObject * obj1 = 0 ; | |
4017 | char *kwnames[] = { | |
4018 | (char *) "self",(char *) "s", NULL | |
4019 | }; | |
4020 | ||
4021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4024 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
4025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4026 | { |
4027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4028 | (arg1)->SetSelection(arg2); | |
4029 | ||
4030 | wxPyEndAllowThreads(__tstate); | |
4031 | if (PyErr_Occurred()) SWIG_fail; | |
4032 | } | |
4033 | Py_INCREF(Py_None); resultobj = Py_None; | |
4034 | return resultobj; | |
4035 | fail: | |
4036 | return NULL; | |
4037 | } | |
4038 | ||
4039 | ||
c370783e | 4040 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4041 | PyObject *resultobj; |
4042 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4043 | wxHtmlSelection *result; | |
4044 | PyObject * obj0 = 0 ; | |
4045 | char *kwnames[] = { | |
4046 | (char *) "self", NULL | |
4047 | }; | |
4048 | ||
4049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4052 | { |
4053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4054 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
4055 | ||
4056 | wxPyEndAllowThreads(__tstate); | |
4057 | if (PyErr_Occurred()) SWIG_fail; | |
4058 | } | |
2f4c0a16 | 4059 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0); |
d14a1e28 RD |
4060 | return resultobj; |
4061 | fail: | |
4062 | return NULL; | |
4063 | } | |
4064 | ||
4065 | ||
c370783e | 4066 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4067 | PyObject *resultobj; |
4068 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4069 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
4070 | PyObject * obj0 = 0 ; | |
4071 | PyObject * obj1 = 0 ; | |
4072 | char *kwnames[] = { | |
4073 | (char *) "self",(char *) "style", NULL | |
4074 | }; | |
4075 | ||
4076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4079 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle, | |
4080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4081 | { |
4082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4083 | (arg1)->SetStyle(arg2); | |
4084 | ||
4085 | wxPyEndAllowThreads(__tstate); | |
4086 | if (PyErr_Occurred()) SWIG_fail; | |
4087 | } | |
4088 | Py_INCREF(Py_None); resultobj = Py_None; | |
4089 | return resultobj; | |
4090 | fail: | |
4091 | return NULL; | |
4092 | } | |
4093 | ||
4094 | ||
c370783e | 4095 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4096 | PyObject *resultobj; |
4097 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4098 | wxHtmlRenderingStyle *result; | |
4099 | PyObject * obj0 = 0 ; | |
4100 | char *kwnames[] = { | |
4101 | (char *) "self", NULL | |
4102 | }; | |
4103 | ||
4104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4107 | { |
4108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4109 | { | |
4110 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
4111 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
4112 | } | |
4113 | ||
4114 | wxPyEndAllowThreads(__tstate); | |
4115 | if (PyErr_Occurred()) SWIG_fail; | |
4116 | } | |
2f4c0a16 | 4117 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0); |
d14a1e28 RD |
4118 | return resultobj; |
4119 | fail: | |
4120 | return NULL; | |
4121 | } | |
4122 | ||
4123 | ||
c370783e | 4124 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4125 | PyObject *resultobj; |
4126 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
4127 | wxHtmlRenderingState *result; | |
4128 | PyObject * obj0 = 0 ; | |
4129 | char *kwnames[] = { | |
4130 | (char *) "self", NULL | |
4131 | }; | |
4132 | ||
4133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, |
4135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4136 | { |
4137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4138 | { | |
4139 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
4140 | result = (wxHtmlRenderingState *) &_result_ref; | |
4141 | } | |
4142 | ||
4143 | wxPyEndAllowThreads(__tstate); | |
4144 | if (PyErr_Occurred()) SWIG_fail; | |
4145 | } | |
2f4c0a16 | 4146 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0); |
d14a1e28 RD |
4147 | return resultobj; |
4148 | fail: | |
4149 | return NULL; | |
4150 | } | |
4151 | ||
4152 | ||
c370783e | 4153 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4154 | PyObject *obj; |
4155 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4156 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
4157 | Py_INCREF(obj); | |
4158 | return Py_BuildValue((char *)""); | |
4159 | } | |
c370783e | 4160 | static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4161 | PyObject *resultobj; |
4162 | wxHtmlCell *result; | |
4163 | char *kwnames[] = { | |
4164 | NULL | |
4165 | }; | |
4166 | ||
4167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
4168 | { | |
4169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4170 | result = (wxHtmlCell *)new wxHtmlCell(); | |
4171 | ||
4172 | wxPyEndAllowThreads(__tstate); | |
4173 | if (PyErr_Occurred()) SWIG_fail; | |
4174 | } | |
2f4c0a16 | 4175 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1); |
d14a1e28 RD |
4176 | return resultobj; |
4177 | fail: | |
4178 | return NULL; | |
4179 | } | |
4180 | ||
4181 | ||
c370783e | 4182 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4183 | PyObject *resultobj; |
4184 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4185 | int result; | |
4186 | PyObject * obj0 = 0 ; | |
4187 | char *kwnames[] = { | |
4188 | (char *) "self", NULL | |
4189 | }; | |
4190 | ||
4191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4194 | { |
4195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4196 | result = (int)(arg1)->GetPosX(); | |
4197 | ||
4198 | wxPyEndAllowThreads(__tstate); | |
4199 | if (PyErr_Occurred()) SWIG_fail; | |
4200 | } | |
c370783e | 4201 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4202 | return resultobj; |
4203 | fail: | |
4204 | return NULL; | |
4205 | } | |
4206 | ||
4207 | ||
c370783e | 4208 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4209 | PyObject *resultobj; |
4210 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4211 | int result; | |
4212 | PyObject * obj0 = 0 ; | |
4213 | char *kwnames[] = { | |
4214 | (char *) "self", NULL | |
4215 | }; | |
4216 | ||
4217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4220 | { |
4221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4222 | result = (int)(arg1)->GetPosY(); | |
4223 | ||
4224 | wxPyEndAllowThreads(__tstate); | |
4225 | if (PyErr_Occurred()) SWIG_fail; | |
4226 | } | |
c370783e | 4227 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4228 | return resultobj; |
4229 | fail: | |
4230 | return NULL; | |
4231 | } | |
4232 | ||
4233 | ||
c370783e | 4234 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4235 | PyObject *resultobj; |
4236 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4237 | int result; | |
4238 | PyObject * obj0 = 0 ; | |
4239 | char *kwnames[] = { | |
4240 | (char *) "self", NULL | |
4241 | }; | |
4242 | ||
4243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4246 | { |
4247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4248 | result = (int)(arg1)->GetWidth(); | |
4249 | ||
4250 | wxPyEndAllowThreads(__tstate); | |
4251 | if (PyErr_Occurred()) SWIG_fail; | |
4252 | } | |
c370783e | 4253 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4254 | return resultobj; |
4255 | fail: | |
4256 | return NULL; | |
4257 | } | |
4258 | ||
4259 | ||
c370783e | 4260 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4261 | PyObject *resultobj; |
4262 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4263 | int result; | |
4264 | PyObject * obj0 = 0 ; | |
4265 | char *kwnames[] = { | |
4266 | (char *) "self", NULL | |
4267 | }; | |
4268 | ||
4269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4272 | { |
4273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4274 | result = (int)(arg1)->GetHeight(); | |
4275 | ||
4276 | wxPyEndAllowThreads(__tstate); | |
4277 | if (PyErr_Occurred()) SWIG_fail; | |
4278 | } | |
c370783e | 4279 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4280 | return resultobj; |
4281 | fail: | |
4282 | return NULL; | |
4283 | } | |
4284 | ||
4285 | ||
c370783e | 4286 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4287 | PyObject *resultobj; |
4288 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4289 | int result; | |
4290 | PyObject * obj0 = 0 ; | |
4291 | char *kwnames[] = { | |
4292 | (char *) "self", NULL | |
4293 | }; | |
4294 | ||
4295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4298 | { |
4299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4300 | result = (int)(arg1)->GetDescent(); | |
4301 | ||
4302 | wxPyEndAllowThreads(__tstate); | |
4303 | if (PyErr_Occurred()) SWIG_fail; | |
4304 | } | |
c370783e | 4305 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4306 | return resultobj; |
4307 | fail: | |
4308 | return NULL; | |
4309 | } | |
4310 | ||
4311 | ||
c370783e | 4312 | static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
fbc46b20 RD |
4313 | PyObject *resultobj; |
4314 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4315 | int result; | |
4316 | PyObject * obj0 = 0 ; | |
4317 | char *kwnames[] = { | |
4318 | (char *) "self", NULL | |
4319 | }; | |
4320 | ||
4321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail; | |
4322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4324 | { | |
4325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4326 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
4327 | ||
4328 | wxPyEndAllowThreads(__tstate); | |
4329 | if (PyErr_Occurred()) SWIG_fail; | |
4330 | } | |
c370783e | 4331 | resultobj = SWIG_From_int((int)result); |
fbc46b20 RD |
4332 | return resultobj; |
4333 | fail: | |
4334 | return NULL; | |
4335 | } | |
4336 | ||
4337 | ||
c370783e | 4338 | static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) { |
cbd72d4f RD |
4339 | PyObject *resultobj; |
4340 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4341 | wxString *result; | |
4342 | PyObject * obj0 = 0 ; | |
4343 | char *kwnames[] = { | |
4344 | (char *) "self", NULL | |
4345 | }; | |
4346 | ||
4347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cbd72d4f RD |
4350 | { |
4351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4352 | { | |
4353 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); | |
4354 | result = (wxString *) &_result_ref; | |
4355 | } | |
4356 | ||
4357 | wxPyEndAllowThreads(__tstate); | |
4358 | if (PyErr_Occurred()) SWIG_fail; | |
4359 | } | |
4360 | { | |
4361 | #if wxUSE_UNICODE | |
4362 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4363 | #else | |
4364 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4365 | #endif | |
4366 | } | |
4367 | return resultobj; | |
4368 | fail: | |
4369 | return NULL; | |
4370 | } | |
4371 | ||
4372 | ||
c370783e | 4373 | static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) { |
cbd72d4f RD |
4374 | PyObject *resultobj; |
4375 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4376 | wxString *arg2 = 0 ; | |
4377 | bool temp2 = False ; | |
4378 | PyObject * obj0 = 0 ; | |
4379 | PyObject * obj1 = 0 ; | |
4380 | char *kwnames[] = { | |
4381 | (char *) "self",(char *) "id", NULL | |
4382 | }; | |
4383 | ||
4384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cbd72d4f RD |
4387 | { |
4388 | arg2 = wxString_in_helper(obj1); | |
4389 | if (arg2 == NULL) SWIG_fail; | |
4390 | temp2 = True; | |
4391 | } | |
4392 | { | |
4393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4394 | (arg1)->SetId((wxString const &)*arg2); | |
4395 | ||
4396 | wxPyEndAllowThreads(__tstate); | |
4397 | if (PyErr_Occurred()) SWIG_fail; | |
4398 | } | |
4399 | Py_INCREF(Py_None); resultobj = Py_None; | |
4400 | { | |
4401 | if (temp2) | |
4402 | delete arg2; | |
4403 | } | |
4404 | return resultobj; | |
4405 | fail: | |
4406 | { | |
4407 | if (temp2) | |
4408 | delete arg2; | |
4409 | } | |
4410 | return NULL; | |
4411 | } | |
4412 | ||
4413 | ||
c370783e | 4414 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4415 | PyObject *resultobj; |
4416 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4417 | int arg2 = (int) 0 ; | |
4418 | int arg3 = (int) 0 ; | |
4419 | wxHtmlLinkInfo *result; | |
4420 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4421 | PyObject * obj1 = 0 ; |
4422 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4423 | char *kwnames[] = { |
4424 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4425 | }; | |
4426 | ||
8edf1c75 | 4427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 4430 | if (obj1) { |
c370783e | 4431 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 4432 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
4433 | } |
4434 | if (obj2) { | |
c370783e | 4435 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4436 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 4437 | } |
d14a1e28 RD |
4438 | { |
4439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4440 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
4441 | ||
4442 | wxPyEndAllowThreads(__tstate); | |
4443 | if (PyErr_Occurred()) SWIG_fail; | |
4444 | } | |
2f4c0a16 | 4445 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0); |
d14a1e28 RD |
4446 | return resultobj; |
4447 | fail: | |
4448 | return NULL; | |
4449 | } | |
4450 | ||
4451 | ||
c370783e | 4452 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4453 | PyObject *resultobj; |
4454 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4455 | wxHtmlCell *result; | |
4456 | PyObject * obj0 = 0 ; | |
4457 | char *kwnames[] = { | |
4458 | (char *) "self", NULL | |
4459 | }; | |
4460 | ||
4461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4464 | { |
4465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4466 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
4467 | ||
4468 | wxPyEndAllowThreads(__tstate); | |
4469 | if (PyErr_Occurred()) SWIG_fail; | |
4470 | } | |
2f4c0a16 | 4471 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4472 | return resultobj; |
4473 | fail: | |
4474 | return NULL; | |
4475 | } | |
4476 | ||
4477 | ||
c370783e | 4478 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4479 | PyObject *resultobj; |
4480 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4481 | wxHtmlContainerCell *result; | |
4482 | PyObject * obj0 = 0 ; | |
4483 | char *kwnames[] = { | |
4484 | (char *) "self", NULL | |
4485 | }; | |
4486 | ||
4487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4490 | { |
4491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4492 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
4493 | ||
4494 | wxPyEndAllowThreads(__tstate); | |
4495 | if (PyErr_Occurred()) SWIG_fail; | |
4496 | } | |
2f4c0a16 | 4497 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
4498 | return resultobj; |
4499 | fail: | |
4500 | return NULL; | |
4501 | } | |
4502 | ||
4503 | ||
c370783e | 4504 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4505 | PyObject *resultobj; |
4506 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4507 | wxHtmlCell *result; | |
4508 | PyObject * obj0 = 0 ; | |
4509 | char *kwnames[] = { | |
4510 | (char *) "self", NULL | |
4511 | }; | |
4512 | ||
4513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4516 | { |
4517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4518 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
4519 | ||
4520 | wxPyEndAllowThreads(__tstate); | |
4521 | if (PyErr_Occurred()) SWIG_fail; | |
4522 | } | |
2f4c0a16 | 4523 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4524 | return resultobj; |
4525 | fail: | |
4526 | return NULL; | |
4527 | } | |
4528 | ||
4529 | ||
c370783e | 4530 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4531 | PyObject *resultobj; |
4532 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4533 | wxCursor result; | |
4534 | PyObject * obj0 = 0 ; | |
4535 | char *kwnames[] = { | |
4536 | (char *) "self", NULL | |
4537 | }; | |
4538 | ||
4539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4542 | { |
4543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4544 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
4545 | ||
4546 | wxPyEndAllowThreads(__tstate); | |
4547 | if (PyErr_Occurred()) SWIG_fail; | |
4548 | } | |
4549 | { | |
4550 | wxCursor * resultptr; | |
4551 | resultptr = new wxCursor((wxCursor &) result); | |
2f4c0a16 | 4552 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); |
d14a1e28 RD |
4553 | } |
4554 | return resultobj; | |
4555 | fail: | |
4556 | return NULL; | |
4557 | } | |
4558 | ||
4559 | ||
c370783e | 4560 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4561 | PyObject *resultobj; |
4562 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4563 | bool result; | |
4564 | PyObject * obj0 = 0 ; | |
4565 | char *kwnames[] = { | |
4566 | (char *) "self", NULL | |
4567 | }; | |
4568 | ||
4569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4572 | { |
4573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4574 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
4575 | ||
4576 | wxPyEndAllowThreads(__tstate); | |
4577 | if (PyErr_Occurred()) SWIG_fail; | |
4578 | } | |
fbc46b20 RD |
4579 | { |
4580 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4581 | } | |
d14a1e28 RD |
4582 | return resultobj; |
4583 | fail: | |
4584 | return NULL; | |
4585 | } | |
4586 | ||
4587 | ||
c370783e | 4588 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4589 | PyObject *resultobj; |
4590 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4591 | wxHtmlLinkInfo *arg2 = 0 ; | |
4592 | PyObject * obj0 = 0 ; | |
4593 | PyObject * obj1 = 0 ; | |
4594 | char *kwnames[] = { | |
4595 | (char *) "self",(char *) "link", NULL | |
4596 | }; | |
4597 | ||
4598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4601 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
4602 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4603 | SWIG_fail; | |
d14a1e28 | 4604 | if (arg2 == NULL) { |
2f4c0a16 RD |
4605 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4606 | SWIG_fail; | |
d14a1e28 RD |
4607 | } |
4608 | { | |
4609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4610 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
4611 | ||
4612 | wxPyEndAllowThreads(__tstate); | |
4613 | if (PyErr_Occurred()) SWIG_fail; | |
4614 | } | |
4615 | Py_INCREF(Py_None); resultobj = Py_None; | |
4616 | return resultobj; | |
4617 | fail: | |
4618 | return NULL; | |
4619 | } | |
4620 | ||
4621 | ||
c370783e | 4622 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4623 | PyObject *resultobj; |
4624 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4625 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4626 | PyObject * obj0 = 0 ; | |
4627 | PyObject * obj1 = 0 ; | |
4628 | char *kwnames[] = { | |
4629 | (char *) "self",(char *) "cell", NULL | |
4630 | }; | |
4631 | ||
4632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4635 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
4636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4637 | { |
4638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4639 | (arg1)->SetNext(arg2); | |
4640 | ||
4641 | wxPyEndAllowThreads(__tstate); | |
4642 | if (PyErr_Occurred()) SWIG_fail; | |
4643 | } | |
4644 | Py_INCREF(Py_None); resultobj = Py_None; | |
4645 | return resultobj; | |
4646 | fail: | |
4647 | return NULL; | |
4648 | } | |
4649 | ||
4650 | ||
c370783e | 4651 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4652 | PyObject *resultobj; |
4653 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4654 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4655 | PyObject * obj0 = 0 ; | |
4656 | PyObject * obj1 = 0 ; | |
4657 | char *kwnames[] = { | |
4658 | (char *) "self",(char *) "p", NULL | |
4659 | }; | |
4660 | ||
4661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4664 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
4665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4666 | { |
4667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4668 | (arg1)->SetParent(arg2); | |
4669 | ||
4670 | wxPyEndAllowThreads(__tstate); | |
4671 | if (PyErr_Occurred()) SWIG_fail; | |
4672 | } | |
4673 | Py_INCREF(Py_None); resultobj = Py_None; | |
4674 | return resultobj; | |
4675 | fail: | |
4676 | return NULL; | |
4677 | } | |
4678 | ||
4679 | ||
c370783e | 4680 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4681 | PyObject *resultobj; |
4682 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4683 | int arg2 ; | |
4684 | int arg3 ; | |
4685 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4686 | PyObject * obj1 = 0 ; |
4687 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4688 | char *kwnames[] = { |
4689 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4690 | }; | |
4691 | ||
8edf1c75 | 4692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4693 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4694 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4695 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 4696 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4697 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4698 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4699 | { |
4700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4701 | (arg1)->SetPos(arg2,arg3); | |
4702 | ||
4703 | wxPyEndAllowThreads(__tstate); | |
4704 | if (PyErr_Occurred()) SWIG_fail; | |
4705 | } | |
4706 | Py_INCREF(Py_None); resultobj = Py_None; | |
4707 | return resultobj; | |
4708 | fail: | |
4709 | return NULL; | |
4710 | } | |
4711 | ||
4712 | ||
c370783e | 4713 | static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4714 | PyObject *resultobj; |
4715 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4716 | int arg2 ; | |
4717 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4718 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4719 | char *kwnames[] = { |
4720 | (char *) "self",(char *) "w", NULL | |
4721 | }; | |
4722 | ||
8edf1c75 | 4723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4726 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 4727 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4728 | { |
4729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4730 | (arg1)->Layout(arg2); | |
4731 | ||
4732 | wxPyEndAllowThreads(__tstate); | |
4733 | if (PyErr_Occurred()) SWIG_fail; | |
4734 | } | |
4735 | Py_INCREF(Py_None); resultobj = Py_None; | |
4736 | return resultobj; | |
4737 | fail: | |
4738 | return NULL; | |
4739 | } | |
4740 | ||
4741 | ||
c370783e | 4742 | static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4743 | PyObject *resultobj; |
4744 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4745 | wxDC *arg2 = 0 ; | |
4746 | int arg3 ; | |
4747 | int arg4 ; | |
4748 | int arg5 ; | |
4749 | int arg6 ; | |
4750 | wxHtmlRenderingInfo *arg7 = 0 ; | |
4751 | PyObject * obj0 = 0 ; | |
4752 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4753 | PyObject * obj2 = 0 ; |
4754 | PyObject * obj3 = 0 ; | |
4755 | PyObject * obj4 = 0 ; | |
4756 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
4757 | PyObject * obj6 = 0 ; |
4758 | char *kwnames[] = { | |
4759 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
4760 | }; | |
4761 | ||
8edf1c75 | 4762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
4763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4765 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4766 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4767 | SWIG_fail; | |
d14a1e28 | 4768 | if (arg2 == NULL) { |
2f4c0a16 RD |
4769 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4770 | SWIG_fail; | |
4771 | } | |
c370783e | 4772 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4773 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4774 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 4775 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4776 | arg5 = (int)SWIG_As_int(obj4); |
2f4c0a16 | 4777 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4778 | arg6 = (int)SWIG_As_int(obj5); |
2f4c0a16 RD |
4779 | if (PyErr_Occurred()) SWIG_fail; |
4780 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4781 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4782 | SWIG_fail; | |
d14a1e28 | 4783 | if (arg7 == NULL) { |
2f4c0a16 RD |
4784 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4785 | SWIG_fail; | |
d14a1e28 RD |
4786 | } |
4787 | { | |
4788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4789 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4790 | ||
4791 | wxPyEndAllowThreads(__tstate); | |
4792 | if (PyErr_Occurred()) SWIG_fail; | |
4793 | } | |
4794 | Py_INCREF(Py_None); resultobj = Py_None; | |
4795 | return resultobj; | |
4796 | fail: | |
4797 | return NULL; | |
4798 | } | |
4799 | ||
4800 | ||
c370783e | 4801 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4802 | PyObject *resultobj; |
4803 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4804 | wxDC *arg2 = 0 ; | |
4805 | int arg3 ; | |
4806 | int arg4 ; | |
4807 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4808 | PyObject * obj0 = 0 ; | |
4809 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4810 | PyObject * obj2 = 0 ; |
4811 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4812 | PyObject * obj4 = 0 ; |
4813 | char *kwnames[] = { | |
4814 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4815 | }; | |
4816 | ||
8edf1c75 | 4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
4818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4820 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4821 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4822 | SWIG_fail; | |
d14a1e28 | 4823 | if (arg2 == NULL) { |
2f4c0a16 RD |
4824 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4825 | SWIG_fail; | |
4826 | } | |
c370783e | 4827 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 4828 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4829 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 RD |
4830 | if (PyErr_Occurred()) SWIG_fail; |
4831 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4832 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4833 | SWIG_fail; | |
d14a1e28 | 4834 | if (arg5 == NULL) { |
2f4c0a16 RD |
4835 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4836 | SWIG_fail; | |
d14a1e28 RD |
4837 | } |
4838 | { | |
4839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4840 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4841 | ||
4842 | wxPyEndAllowThreads(__tstate); | |
4843 | if (PyErr_Occurred()) SWIG_fail; | |
4844 | } | |
4845 | Py_INCREF(Py_None); resultobj = Py_None; | |
4846 | return resultobj; | |
4847 | fail: | |
4848 | return NULL; | |
4849 | } | |
4850 | ||
4851 | ||
c370783e | 4852 | static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4853 | PyObject *resultobj; |
4854 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4855 | int arg2 ; | |
4856 | void *arg3 = (void *) 0 ; | |
4857 | wxHtmlCell *result; | |
4858 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4859 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4860 | PyObject * obj2 = 0 ; |
4861 | char *kwnames[] = { | |
4862 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4863 | }; | |
4864 | ||
8edf1c75 | 4865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4868 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 RD |
4869 | if (PyErr_Occurred()) SWIG_fail; |
4870 | if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4871 | { |
4872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4873 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4874 | ||
4875 | wxPyEndAllowThreads(__tstate); | |
4876 | if (PyErr_Occurred()) SWIG_fail; | |
4877 | } | |
2f4c0a16 | 4878 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
4879 | return resultobj; |
4880 | fail: | |
4881 | return NULL; | |
4882 | } | |
4883 | ||
4884 | ||
c370783e | 4885 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4886 | PyObject *resultobj; |
4887 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4888 | int *arg2 = (int *) 0 ; | |
4889 | bool result; | |
4890 | int temp2 ; | |
c370783e | 4891 | int res2 = 0 ; |
d14a1e28 RD |
4892 | PyObject * obj0 = 0 ; |
4893 | PyObject * obj1 = 0 ; | |
4894 | char *kwnames[] = { | |
4895 | (char *) "self",(char *) "INOUT", NULL | |
4896 | }; | |
4897 | ||
4898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 4901 | { |
c370783e RD |
4902 | if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) { |
4903 | temp2 = SWIG_As_int(obj1); | |
4904 | if (PyErr_Occurred()) SWIG_fail; | |
4905 | arg2 = &temp2; | |
4906 | res2 = SWIG_NEWOBJ; | |
4907 | } | |
d14a1e28 RD |
4908 | } |
4909 | { | |
4910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4911 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4912 | ||
4913 | wxPyEndAllowThreads(__tstate); | |
4914 | if (PyErr_Occurred()) SWIG_fail; | |
4915 | } | |
fbc46b20 RD |
4916 | { |
4917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4918 | } | |
c370783e RD |
4919 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
4920 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
4921 | return resultobj; |
4922 | fail: | |
4923 | return NULL; | |
4924 | } | |
4925 | ||
4926 | ||
c370783e | 4927 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4928 | PyObject *resultobj; |
4929 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4930 | bool arg2 ; | |
4931 | PyObject * obj0 = 0 ; | |
4932 | PyObject * obj1 = 0 ; | |
4933 | char *kwnames[] = { | |
4934 | (char *) "self",(char *) "can", NULL | |
4935 | }; | |
4936 | ||
4937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4938 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4939 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4940 | arg2 = (bool)SWIG_As_bool(obj1); |
2f4c0a16 | 4941 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4942 | { |
4943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4944 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4945 | ||
4946 | wxPyEndAllowThreads(__tstate); | |
4947 | if (PyErr_Occurred()) SWIG_fail; | |
4948 | } | |
4949 | Py_INCREF(Py_None); resultobj = Py_None; | |
4950 | return resultobj; | |
4951 | fail: | |
4952 | return NULL; | |
4953 | } | |
4954 | ||
4955 | ||
c370783e | 4956 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4957 | PyObject *resultobj; |
4958 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4959 | bool result; | |
4960 | PyObject * obj0 = 0 ; | |
4961 | char *kwnames[] = { | |
4962 | (char *) "self", NULL | |
4963 | }; | |
4964 | ||
4965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4968 | { |
4969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4970 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4971 | ||
4972 | wxPyEndAllowThreads(__tstate); | |
4973 | if (PyErr_Occurred()) SWIG_fail; | |
4974 | } | |
fbc46b20 RD |
4975 | { |
4976 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4977 | } | |
d14a1e28 RD |
4978 | return resultobj; |
4979 | fail: | |
4980 | return NULL; | |
4981 | } | |
4982 | ||
4983 | ||
c370783e | 4984 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4985 | PyObject *resultobj; |
4986 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4987 | bool result; | |
4988 | PyObject * obj0 = 0 ; | |
4989 | char *kwnames[] = { | |
4990 | (char *) "self", NULL | |
4991 | }; | |
4992 | ||
4993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
4995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4996 | { |
4997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4998 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4999 | ||
5000 | wxPyEndAllowThreads(__tstate); | |
5001 | if (PyErr_Occurred()) SWIG_fail; | |
5002 | } | |
fbc46b20 RD |
5003 | { |
5004 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5005 | } | |
d14a1e28 RD |
5006 | return resultobj; |
5007 | fail: | |
5008 | return NULL; | |
5009 | } | |
5010 | ||
5011 | ||
c370783e | 5012 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5013 | PyObject *resultobj; |
5014 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
423f194a RD |
5015 | int arg2 ; |
5016 | int arg3 ; | |
d14a1e28 RD |
5017 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
5018 | wxHtmlCell *result; | |
5019 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5020 | PyObject * obj1 = 0 ; |
5021 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5022 | PyObject * obj3 = 0 ; |
5023 | char *kwnames[] = { | |
5024 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
5025 | }; | |
5026 | ||
8edf1c75 | 5027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5030 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5031 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5032 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5033 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5034 | if (obj3) { |
c370783e | 5035 | arg4 = (unsigned int)SWIG_As_unsigned_SS_int(obj3); |
2f4c0a16 | 5036 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5037 | } |
5038 | { | |
5039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5040 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
5041 | ||
5042 | wxPyEndAllowThreads(__tstate); | |
5043 | if (PyErr_Occurred()) SWIG_fail; | |
5044 | } | |
2f4c0a16 | 5045 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5046 | return resultobj; |
5047 | fail: | |
5048 | return NULL; | |
5049 | } | |
5050 | ||
5051 | ||
c370783e | 5052 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5053 | PyObject *resultobj; |
5054 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5055 | wxPoint result; | |
5056 | PyObject * obj0 = 0 ; | |
5057 | char *kwnames[] = { | |
5058 | (char *) "self", NULL | |
5059 | }; | |
5060 | ||
5061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5064 | { |
5065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5066 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
5067 | ||
5068 | wxPyEndAllowThreads(__tstate); | |
5069 | if (PyErr_Occurred()) SWIG_fail; | |
5070 | } | |
5071 | { | |
5072 | wxPoint * resultptr; | |
5073 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 5074 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
5075 | } |
5076 | return resultobj; | |
5077 | fail: | |
5078 | return NULL; | |
5079 | } | |
5080 | ||
5081 | ||
c370783e | 5082 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5083 | PyObject *resultobj; |
5084 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5085 | wxHtmlCell *result; | |
5086 | PyObject * obj0 = 0 ; | |
5087 | char *kwnames[] = { | |
5088 | (char *) "self", NULL | |
5089 | }; | |
5090 | ||
5091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5094 | { |
5095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5096 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
5097 | ||
5098 | wxPyEndAllowThreads(__tstate); | |
5099 | if (PyErr_Occurred()) SWIG_fail; | |
5100 | } | |
2f4c0a16 | 5101 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5102 | return resultobj; |
5103 | fail: | |
5104 | return NULL; | |
5105 | } | |
5106 | ||
5107 | ||
c370783e | 5108 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5109 | PyObject *resultobj; |
5110 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5111 | wxHtmlCell *result; | |
5112 | PyObject * obj0 = 0 ; | |
5113 | char *kwnames[] = { | |
5114 | (char *) "self", NULL | |
5115 | }; | |
5116 | ||
5117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5120 | { |
5121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5122 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
5123 | ||
5124 | wxPyEndAllowThreads(__tstate); | |
5125 | if (PyErr_Occurred()) SWIG_fail; | |
5126 | } | |
2f4c0a16 | 5127 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5128 | return resultobj; |
5129 | fail: | |
5130 | return NULL; | |
5131 | } | |
5132 | ||
5133 | ||
c370783e | 5134 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5135 | PyObject *resultobj; |
5136 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5137 | unsigned int result; | |
5138 | PyObject * obj0 = 0 ; | |
5139 | char *kwnames[] = { | |
5140 | (char *) "self", NULL | |
5141 | }; | |
5142 | ||
5143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5146 | { |
5147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5148 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
5149 | ||
5150 | wxPyEndAllowThreads(__tstate); | |
5151 | if (PyErr_Occurred()) SWIG_fail; | |
5152 | } | |
c370783e | 5153 | resultobj = SWIG_From_unsigned_SS_int((unsigned int)result); |
d14a1e28 RD |
5154 | return resultobj; |
5155 | fail: | |
5156 | return NULL; | |
5157 | } | |
5158 | ||
5159 | ||
c370783e | 5160 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5161 | PyObject *resultobj; |
5162 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5163 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5164 | bool result; | |
5165 | PyObject * obj0 = 0 ; | |
5166 | PyObject * obj1 = 0 ; | |
5167 | char *kwnames[] = { | |
5168 | (char *) "self",(char *) "cell", NULL | |
5169 | }; | |
5170 | ||
5171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5174 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5176 | { |
5177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5178 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
5179 | ||
5180 | wxPyEndAllowThreads(__tstate); | |
5181 | if (PyErr_Occurred()) SWIG_fail; | |
5182 | } | |
fbc46b20 RD |
5183 | { |
5184 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5185 | } | |
d14a1e28 RD |
5186 | return resultobj; |
5187 | fail: | |
5188 | return NULL; | |
5189 | } | |
5190 | ||
5191 | ||
c370783e | 5192 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5193 | PyObject *resultobj; |
5194 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5195 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
5196 | wxString result; | |
5197 | PyObject * obj0 = 0 ; | |
5198 | PyObject * obj1 = 0 ; | |
5199 | char *kwnames[] = { | |
5200 | (char *) "self",(char *) "sel", NULL | |
5201 | }; | |
5202 | ||
5203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, |
5205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5206 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
5207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5208 | { |
5209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5210 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
5211 | ||
5212 | wxPyEndAllowThreads(__tstate); | |
5213 | if (PyErr_Occurred()) SWIG_fail; | |
5214 | } | |
5215 | { | |
5216 | #if wxUSE_UNICODE | |
5217 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5218 | #else | |
5219 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5220 | #endif | |
5221 | } | |
5222 | return resultobj; | |
5223 | fail: | |
5224 | return NULL; | |
5225 | } | |
5226 | ||
5227 | ||
c370783e | 5228 | static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5229 | PyObject *obj; |
5230 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5231 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
5232 | Py_INCREF(obj); | |
5233 | return Py_BuildValue((char *)""); | |
5234 | } | |
c370783e | 5235 | static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5236 | PyObject *resultobj; |
5237 | wxString *arg1 = 0 ; | |
5238 | wxDC *arg2 = 0 ; | |
5239 | wxHtmlWordCell *result; | |
423f194a | 5240 | bool temp1 = False ; |
d14a1e28 RD |
5241 | PyObject * obj0 = 0 ; |
5242 | PyObject * obj1 = 0 ; | |
5243 | char *kwnames[] = { | |
5244 | (char *) "word",(char *) "dc", NULL | |
5245 | }; | |
5246 | ||
5247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
5248 | { | |
5249 | arg1 = wxString_in_helper(obj0); | |
5250 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 5251 | temp1 = True; |
d14a1e28 | 5252 | } |
2f4c0a16 RD |
5253 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, |
5254 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5255 | SWIG_fail; | |
d14a1e28 | 5256 | if (arg2 == NULL) { |
2f4c0a16 RD |
5257 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5258 | SWIG_fail; | |
d14a1e28 RD |
5259 | } |
5260 | { | |
5261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5262 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
5263 | ||
5264 | wxPyEndAllowThreads(__tstate); | |
5265 | if (PyErr_Occurred()) SWIG_fail; | |
5266 | } | |
2f4c0a16 | 5267 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1); |
d14a1e28 RD |
5268 | { |
5269 | if (temp1) | |
5270 | delete arg1; | |
5271 | } | |
5272 | return resultobj; | |
5273 | fail: | |
5274 | { | |
5275 | if (temp1) | |
5276 | delete arg1; | |
5277 | } | |
5278 | return NULL; | |
5279 | } | |
5280 | ||
5281 | ||
c370783e | 5282 | static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5283 | PyObject *obj; |
5284 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5285 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
5286 | Py_INCREF(obj); | |
5287 | return Py_BuildValue((char *)""); | |
5288 | } | |
c370783e | 5289 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5290 | PyObject *resultobj; |
5291 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5292 | wxHtmlContainerCell *result; | |
5293 | PyObject * obj0 = 0 ; | |
5294 | char *kwnames[] = { | |
5295 | (char *) "parent", NULL | |
5296 | }; | |
5297 | ||
5298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5299 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5300 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5301 | { |
5302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5303 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
5304 | ||
5305 | wxPyEndAllowThreads(__tstate); | |
5306 | if (PyErr_Occurred()) SWIG_fail; | |
5307 | } | |
2f4c0a16 | 5308 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1); |
d14a1e28 RD |
5309 | return resultobj; |
5310 | fail: | |
5311 | return NULL; | |
5312 | } | |
5313 | ||
5314 | ||
c370783e | 5315 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5316 | PyObject *resultobj; |
5317 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5318 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5319 | PyObject * obj0 = 0 ; | |
5320 | PyObject * obj1 = 0 ; | |
5321 | char *kwnames[] = { | |
5322 | (char *) "self",(char *) "cell", NULL | |
5323 | }; | |
5324 | ||
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5328 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5330 | { |
5331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5332 | (arg1)->InsertCell(arg2); | |
5333 | ||
5334 | wxPyEndAllowThreads(__tstate); | |
5335 | if (PyErr_Occurred()) SWIG_fail; | |
5336 | } | |
5337 | Py_INCREF(Py_None); resultobj = Py_None; | |
5338 | return resultobj; | |
5339 | fail: | |
5340 | return NULL; | |
5341 | } | |
5342 | ||
5343 | ||
c370783e | 5344 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5345 | PyObject *resultobj; |
5346 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5347 | int arg2 ; | |
5348 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5349 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5350 | char *kwnames[] = { |
5351 | (char *) "self",(char *) "al", NULL | |
5352 | }; | |
5353 | ||
8edf1c75 | 5354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5355 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5356 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5357 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5358 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5359 | { |
5360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5361 | (arg1)->SetAlignHor(arg2); | |
5362 | ||
5363 | wxPyEndAllowThreads(__tstate); | |
5364 | if (PyErr_Occurred()) SWIG_fail; | |
5365 | } | |
5366 | Py_INCREF(Py_None); resultobj = Py_None; | |
5367 | return resultobj; | |
5368 | fail: | |
5369 | return NULL; | |
5370 | } | |
5371 | ||
5372 | ||
c370783e | 5373 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5374 | PyObject *resultobj; |
5375 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5376 | int result; | |
5377 | PyObject * obj0 = 0 ; | |
5378 | char *kwnames[] = { | |
5379 | (char *) "self", NULL | |
5380 | }; | |
5381 | ||
5382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5383 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5384 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5385 | { |
5386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5387 | result = (int)(arg1)->GetAlignHor(); | |
5388 | ||
5389 | wxPyEndAllowThreads(__tstate); | |
5390 | if (PyErr_Occurred()) SWIG_fail; | |
5391 | } | |
c370783e | 5392 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5393 | return resultobj; |
5394 | fail: | |
5395 | return NULL; | |
5396 | } | |
5397 | ||
5398 | ||
c370783e | 5399 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5400 | PyObject *resultobj; |
5401 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5402 | int arg2 ; | |
5403 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5404 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5405 | char *kwnames[] = { |
5406 | (char *) "self",(char *) "al", NULL | |
5407 | }; | |
5408 | ||
8edf1c75 | 5409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5412 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5413 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5414 | { |
5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5416 | (arg1)->SetAlignVer(arg2); | |
5417 | ||
5418 | wxPyEndAllowThreads(__tstate); | |
5419 | if (PyErr_Occurred()) SWIG_fail; | |
5420 | } | |
5421 | Py_INCREF(Py_None); resultobj = Py_None; | |
5422 | return resultobj; | |
5423 | fail: | |
5424 | return NULL; | |
5425 | } | |
5426 | ||
5427 | ||
c370783e | 5428 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5429 | PyObject *resultobj; |
5430 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5431 | int result; | |
5432 | PyObject * obj0 = 0 ; | |
5433 | char *kwnames[] = { | |
5434 | (char *) "self", NULL | |
5435 | }; | |
5436 | ||
5437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5440 | { |
5441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5442 | result = (int)(arg1)->GetAlignVer(); | |
5443 | ||
5444 | wxPyEndAllowThreads(__tstate); | |
5445 | if (PyErr_Occurred()) SWIG_fail; | |
5446 | } | |
c370783e | 5447 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5448 | return resultobj; |
5449 | fail: | |
5450 | return NULL; | |
5451 | } | |
5452 | ||
5453 | ||
c370783e | 5454 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5455 | PyObject *resultobj; |
5456 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5457 | int arg2 ; | |
5458 | int arg3 ; | |
5459 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
5460 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5461 | PyObject * obj1 = 0 ; |
5462 | PyObject * obj2 = 0 ; | |
5463 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5464 | char *kwnames[] = { |
5465 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
5466 | }; | |
5467 | ||
8edf1c75 | 5468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5471 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5472 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5473 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5474 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5475 | if (obj3) { |
c370783e | 5476 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 5477 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5478 | } |
d14a1e28 RD |
5479 | { |
5480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5481 | (arg1)->SetIndent(arg2,arg3,arg4); | |
5482 | ||
5483 | wxPyEndAllowThreads(__tstate); | |
5484 | if (PyErr_Occurred()) SWIG_fail; | |
5485 | } | |
5486 | Py_INCREF(Py_None); resultobj = Py_None; | |
5487 | return resultobj; | |
5488 | fail: | |
5489 | return NULL; | |
5490 | } | |
5491 | ||
5492 | ||
c370783e | 5493 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5494 | PyObject *resultobj; |
5495 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5496 | int arg2 ; | |
5497 | int result; | |
5498 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5499 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5500 | char *kwnames[] = { |
5501 | (char *) "self",(char *) "ind", NULL | |
5502 | }; | |
5503 | ||
8edf1c75 | 5504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5507 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5508 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5509 | { |
5510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5511 | result = (int)(arg1)->GetIndent(arg2); | |
5512 | ||
5513 | wxPyEndAllowThreads(__tstate); | |
5514 | if (PyErr_Occurred()) SWIG_fail; | |
5515 | } | |
c370783e | 5516 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5517 | return resultobj; |
5518 | fail: | |
5519 | return NULL; | |
5520 | } | |
5521 | ||
5522 | ||
c370783e | 5523 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5524 | PyObject *resultobj; |
5525 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5526 | int arg2 ; | |
5527 | int result; | |
5528 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5529 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5530 | char *kwnames[] = { |
5531 | (char *) "self",(char *) "ind", NULL | |
5532 | }; | |
5533 | ||
8edf1c75 | 5534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5537 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5538 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5539 | { |
5540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5541 | result = (int)(arg1)->GetIndentUnits(arg2); | |
5542 | ||
5543 | wxPyEndAllowThreads(__tstate); | |
5544 | if (PyErr_Occurred()) SWIG_fail; | |
5545 | } | |
c370783e | 5546 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5547 | return resultobj; |
5548 | fail: | |
5549 | return NULL; | |
5550 | } | |
5551 | ||
5552 | ||
c370783e | 5553 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5554 | PyObject *resultobj; |
5555 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5556 | wxHtmlTag *arg2 = 0 ; | |
5557 | PyObject * obj0 = 0 ; | |
5558 | PyObject * obj1 = 0 ; | |
5559 | char *kwnames[] = { | |
5560 | (char *) "self",(char *) "tag", NULL | |
5561 | }; | |
5562 | ||
5563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5566 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5567 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5568 | SWIG_fail; | |
d14a1e28 | 5569 | if (arg2 == NULL) { |
2f4c0a16 RD |
5570 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5571 | SWIG_fail; | |
d14a1e28 RD |
5572 | } |
5573 | { | |
5574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5575 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
5576 | ||
5577 | wxPyEndAllowThreads(__tstate); | |
5578 | if (PyErr_Occurred()) SWIG_fail; | |
5579 | } | |
5580 | Py_INCREF(Py_None); resultobj = Py_None; | |
5581 | return resultobj; | |
5582 | fail: | |
5583 | return NULL; | |
5584 | } | |
5585 | ||
5586 | ||
c370783e | 5587 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5588 | PyObject *resultobj; |
5589 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5590 | int arg2 ; | |
5591 | int arg3 ; | |
5592 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5593 | PyObject * obj1 = 0 ; |
5594 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5595 | char *kwnames[] = { |
5596 | (char *) "self",(char *) "w",(char *) "units", NULL | |
5597 | }; | |
5598 | ||
8edf1c75 | 5599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5602 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5603 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5604 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5605 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5606 | { |
5607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5608 | (arg1)->SetWidthFloat(arg2,arg3); | |
5609 | ||
5610 | wxPyEndAllowThreads(__tstate); | |
5611 | if (PyErr_Occurred()) SWIG_fail; | |
5612 | } | |
5613 | Py_INCREF(Py_None); resultobj = Py_None; | |
5614 | return resultobj; | |
5615 | fail: | |
5616 | return NULL; | |
5617 | } | |
5618 | ||
5619 | ||
c370783e | 5620 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5621 | PyObject *resultobj; |
5622 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5623 | wxHtmlTag *arg2 = 0 ; | |
5624 | PyObject * obj0 = 0 ; | |
5625 | PyObject * obj1 = 0 ; | |
5626 | char *kwnames[] = { | |
5627 | (char *) "self",(char *) "tag", NULL | |
5628 | }; | |
5629 | ||
5630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5633 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5634 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5635 | SWIG_fail; | |
d14a1e28 | 5636 | if (arg2 == NULL) { |
2f4c0a16 RD |
5637 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5638 | SWIG_fail; | |
d14a1e28 RD |
5639 | } |
5640 | { | |
5641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5642 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
5643 | ||
5644 | wxPyEndAllowThreads(__tstate); | |
5645 | if (PyErr_Occurred()) SWIG_fail; | |
5646 | } | |
5647 | Py_INCREF(Py_None); resultobj = Py_None; | |
5648 | return resultobj; | |
5649 | fail: | |
5650 | return NULL; | |
5651 | } | |
5652 | ||
5653 | ||
c370783e | 5654 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5655 | PyObject *resultobj; |
5656 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5657 | int arg2 ; | |
5658 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
5659 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
5660 | PyObject * obj1 = 0 ; |
5661 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5662 | char *kwnames[] = { |
5663 | (char *) "self",(char *) "h",(char *) "align", NULL | |
5664 | }; | |
5665 | ||
8edf1c75 | 5666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5669 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5670 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5671 | if (obj2) { |
c370783e | 5672 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 5673 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5674 | } |
d14a1e28 RD |
5675 | { |
5676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5677 | (arg1)->SetMinHeight(arg2,arg3); | |
5678 | ||
5679 | wxPyEndAllowThreads(__tstate); | |
5680 | if (PyErr_Occurred()) SWIG_fail; | |
5681 | } | |
5682 | Py_INCREF(Py_None); resultobj = Py_None; | |
5683 | return resultobj; | |
5684 | fail: | |
5685 | return NULL; | |
5686 | } | |
5687 | ||
5688 | ||
c370783e | 5689 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5690 | PyObject *resultobj; |
5691 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5692 | wxColour *arg2 = 0 ; | |
5693 | wxColour temp2 ; | |
5694 | PyObject * obj0 = 0 ; | |
5695 | PyObject * obj1 = 0 ; | |
5696 | char *kwnames[] = { | |
5697 | (char *) "self",(char *) "clr", NULL | |
5698 | }; | |
5699 | ||
5700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5703 | { |
5704 | arg2 = &temp2; | |
5705 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5706 | } | |
5707 | { | |
5708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5709 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
5710 | ||
5711 | wxPyEndAllowThreads(__tstate); | |
5712 | if (PyErr_Occurred()) SWIG_fail; | |
5713 | } | |
5714 | Py_INCREF(Py_None); resultobj = Py_None; | |
5715 | return resultobj; | |
5716 | fail: | |
5717 | return NULL; | |
5718 | } | |
5719 | ||
5720 | ||
c370783e | 5721 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5722 | PyObject *resultobj; |
5723 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5724 | wxColour result; | |
5725 | PyObject * obj0 = 0 ; | |
5726 | char *kwnames[] = { | |
5727 | (char *) "self", NULL | |
5728 | }; | |
5729 | ||
5730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5733 | { |
5734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5735 | result = (arg1)->GetBackgroundColour(); | |
5736 | ||
5737 | wxPyEndAllowThreads(__tstate); | |
5738 | if (PyErr_Occurred()) SWIG_fail; | |
5739 | } | |
5740 | { | |
5741 | wxColour * resultptr; | |
5742 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 5743 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5744 | } |
5745 | return resultobj; | |
5746 | fail: | |
5747 | return NULL; | |
5748 | } | |
5749 | ||
5750 | ||
c370783e | 5751 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5752 | PyObject *resultobj; |
5753 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5754 | wxColour *arg2 = 0 ; | |
5755 | wxColour *arg3 = 0 ; | |
5756 | wxColour temp2 ; | |
5757 | wxColour temp3 ; | |
5758 | PyObject * obj0 = 0 ; | |
5759 | PyObject * obj1 = 0 ; | |
5760 | PyObject * obj2 = 0 ; | |
5761 | char *kwnames[] = { | |
5762 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
5763 | }; | |
5764 | ||
5765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
5766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5768 | { |
5769 | arg2 = &temp2; | |
5770 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5771 | } | |
5772 | { | |
5773 | arg3 = &temp3; | |
5774 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
5775 | } | |
5776 | { | |
5777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5778 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
5779 | ||
5780 | wxPyEndAllowThreads(__tstate); | |
5781 | if (PyErr_Occurred()) SWIG_fail; | |
5782 | } | |
5783 | Py_INCREF(Py_None); resultobj = Py_None; | |
5784 | return resultobj; | |
5785 | fail: | |
5786 | return NULL; | |
5787 | } | |
5788 | ||
5789 | ||
c370783e | 5790 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5791 | PyObject *resultobj; |
5792 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5793 | wxHtmlCell *result; | |
5794 | PyObject * obj0 = 0 ; | |
5795 | char *kwnames[] = { | |
5796 | (char *) "self", NULL | |
5797 | }; | |
5798 | ||
5799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5800 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, |
5801 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5802 | { |
5803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5804 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
5805 | ||
5806 | wxPyEndAllowThreads(__tstate); | |
5807 | if (PyErr_Occurred()) SWIG_fail; | |
5808 | } | |
2f4c0a16 | 5809 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); |
d14a1e28 RD |
5810 | return resultobj; |
5811 | fail: | |
5812 | return NULL; | |
5813 | } | |
5814 | ||
5815 | ||
c370783e | 5816 | static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5817 | PyObject *obj; |
5818 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5819 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
5820 | Py_INCREF(obj); | |
5821 | return Py_BuildValue((char *)""); | |
5822 | } | |
c370783e | 5823 | static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5824 | PyObject *resultobj; |
5825 | wxColour arg1 ; | |
5826 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
5827 | wxHtmlColourCell *result; | |
5828 | wxColour *argp1 ; | |
5829 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5830 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5831 | char *kwnames[] = { |
5832 | (char *) "clr",(char *) "flags", NULL | |
5833 | }; | |
5834 | ||
8edf1c75 | 5835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5836 | if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour, |
5837 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5838 | arg1 = *argp1; | |
8edf1c75 | 5839 | if (obj1) { |
c370783e | 5840 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5841 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5842 | } |
d14a1e28 RD |
5843 | { |
5844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5845 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
5846 | ||
5847 | wxPyEndAllowThreads(__tstate); | |
5848 | if (PyErr_Occurred()) SWIG_fail; | |
5849 | } | |
2f4c0a16 | 5850 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1); |
d14a1e28 RD |
5851 | return resultobj; |
5852 | fail: | |
5853 | return NULL; | |
5854 | } | |
5855 | ||
5856 | ||
c370783e | 5857 | static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5858 | PyObject *obj; |
5859 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5860 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
5861 | Py_INCREF(obj); | |
5862 | return Py_BuildValue((char *)""); | |
5863 | } | |
c370783e | 5864 | static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5865 | PyObject *resultobj; |
5866 | wxFont *arg1 = (wxFont *) 0 ; | |
5867 | wxHtmlFontCell *result; | |
5868 | PyObject * obj0 = 0 ; | |
5869 | char *kwnames[] = { | |
5870 | (char *) "font", NULL | |
5871 | }; | |
5872 | ||
5873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont, |
5875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5876 | { |
5877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5878 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
5879 | ||
5880 | wxPyEndAllowThreads(__tstate); | |
5881 | if (PyErr_Occurred()) SWIG_fail; | |
5882 | } | |
2f4c0a16 | 5883 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1); |
d14a1e28 RD |
5884 | return resultobj; |
5885 | fail: | |
5886 | return NULL; | |
5887 | } | |
5888 | ||
5889 | ||
c370783e | 5890 | static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5891 | PyObject *obj; |
5892 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5893 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
5894 | Py_INCREF(obj); | |
5895 | return Py_BuildValue((char *)""); | |
5896 | } | |
c370783e | 5897 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5898 | PyObject *resultobj; |
5899 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5900 | int arg2 = (int) 0 ; | |
5901 | wxHtmlWidgetCell *result; | |
5902 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5903 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5904 | char *kwnames[] = { |
5905 | (char *) "wnd",(char *) "w", NULL | |
5906 | }; | |
5907 | ||
8edf1c75 | 5908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5911 | if (obj1) { |
c370783e | 5912 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 5913 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 5914 | } |
d14a1e28 RD |
5915 | { |
5916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5917 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5918 | ||
5919 | wxPyEndAllowThreads(__tstate); | |
5920 | if (PyErr_Occurred()) SWIG_fail; | |
5921 | } | |
2f4c0a16 | 5922 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1); |
d14a1e28 RD |
5923 | return resultobj; |
5924 | fail: | |
5925 | return NULL; | |
5926 | } | |
5927 | ||
5928 | ||
c370783e | 5929 | static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5930 | PyObject *obj; |
5931 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5932 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5933 | Py_INCREF(obj); | |
5934 | return Py_BuildValue((char *)""); | |
5935 | } | |
c370783e | 5936 | static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5937 | PyObject *resultobj; |
5938 | wxPyHtmlFilter *result; | |
5939 | char *kwnames[] = { | |
5940 | NULL | |
5941 | }; | |
5942 | ||
5943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5944 | { | |
5945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5946 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5947 | ||
5948 | wxPyEndAllowThreads(__tstate); | |
5949 | if (PyErr_Occurred()) SWIG_fail; | |
5950 | } | |
2f4c0a16 | 5951 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1); |
d14a1e28 RD |
5952 | return resultobj; |
5953 | fail: | |
5954 | return NULL; | |
5955 | } | |
5956 | ||
5957 | ||
c370783e | 5958 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5959 | PyObject *resultobj; |
5960 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5961 | PyObject *arg2 = (PyObject *) 0 ; | |
5962 | PyObject *arg3 = (PyObject *) 0 ; | |
5963 | PyObject * obj0 = 0 ; | |
5964 | PyObject * obj1 = 0 ; | |
5965 | PyObject * obj2 = 0 ; | |
5966 | char *kwnames[] = { | |
5967 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5968 | }; | |
5969 | ||
5970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
5971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, |
5972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5973 | arg2 = obj1; |
5974 | arg3 = obj2; | |
5975 | { | |
5976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5977 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5978 | ||
5979 | wxPyEndAllowThreads(__tstate); | |
5980 | if (PyErr_Occurred()) SWIG_fail; | |
5981 | } | |
5982 | Py_INCREF(Py_None); resultobj = Py_None; | |
5983 | return resultobj; | |
5984 | fail: | |
5985 | return NULL; | |
5986 | } | |
5987 | ||
5988 | ||
c370783e | 5989 | static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5990 | PyObject *obj; |
5991 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5992 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5993 | Py_INCREF(obj); | |
5994 | return Py_BuildValue((char *)""); | |
5995 | } | |
c370783e | 5996 | static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5997 | PyObject *resultobj; |
5998 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5999 | int arg2 = (int) -1 ; | |
6000 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
6001 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6002 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6003 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6004 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
6005 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
6006 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6007 | wxPyHtmlWindow *result; | |
6008 | wxPoint temp3 ; | |
6009 | wxSize temp4 ; | |
423f194a | 6010 | bool temp6 = False ; |
d14a1e28 | 6011 | PyObject * obj0 = 0 ; |
8edf1c75 | 6012 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6013 | PyObject * obj2 = 0 ; |
6014 | PyObject * obj3 = 0 ; | |
8edf1c75 | 6015 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6016 | PyObject * obj5 = 0 ; |
6017 | char *kwnames[] = { | |
6018 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6019 | }; | |
6020 | ||
8edf1c75 | 6021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
6022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 6024 | if (obj1) { |
c370783e | 6025 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 6026 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6027 | } |
d14a1e28 RD |
6028 | if (obj2) { |
6029 | { | |
6030 | arg3 = &temp3; | |
6031 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6032 | } | |
6033 | } | |
6034 | if (obj3) { | |
6035 | { | |
6036 | arg4 = &temp4; | |
6037 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6038 | } | |
6039 | } | |
8edf1c75 | 6040 | if (obj4) { |
c370783e | 6041 | arg5 = (int)SWIG_As_int(obj4); |
2f4c0a16 | 6042 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6043 | } |
d14a1e28 RD |
6044 | if (obj5) { |
6045 | { | |
6046 | arg6 = wxString_in_helper(obj5); | |
6047 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 6048 | temp6 = True; |
d14a1e28 RD |
6049 | } |
6050 | } | |
6051 | { | |
0439c23b | 6052 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6054 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6055 | ||
6056 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6057 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6058 | } |
b0f7404b | 6059 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); |
d14a1e28 RD |
6060 | { |
6061 | if (temp6) | |
6062 | delete arg6; | |
6063 | } | |
6064 | return resultobj; | |
6065 | fail: | |
6066 | { | |
6067 | if (temp6) | |
6068 | delete arg6; | |
6069 | } | |
6070 | return NULL; | |
6071 | } | |
6072 | ||
6073 | ||
c370783e | 6074 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6075 | PyObject *resultobj; |
6076 | wxPyHtmlWindow *result; | |
6077 | char *kwnames[] = { | |
6078 | NULL | |
6079 | }; | |
6080 | ||
6081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
6082 | { | |
0439c23b | 6083 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6085 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
6086 | ||
6087 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6088 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6089 | } |
b0f7404b | 6090 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); |
d14a1e28 RD |
6091 | return resultobj; |
6092 | fail: | |
6093 | return NULL; | |
6094 | } | |
6095 | ||
6096 | ||
c370783e | 6097 | static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6098 | PyObject *resultobj; |
6099 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6100 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6101 | int arg3 = (int) -1 ; | |
6102 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6103 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6104 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6105 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6106 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
6107 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
6108 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6109 | bool result; | |
6110 | wxPoint temp4 ; | |
6111 | wxSize temp5 ; | |
423f194a | 6112 | bool temp7 = False ; |
d14a1e28 RD |
6113 | PyObject * obj0 = 0 ; |
6114 | PyObject * obj1 = 0 ; | |
8edf1c75 | 6115 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6116 | PyObject * obj3 = 0 ; |
6117 | PyObject * obj4 = 0 ; | |
8edf1c75 | 6118 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6119 | PyObject * obj6 = 0 ; |
6120 | char *kwnames[] = { | |
6121 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6122 | }; | |
6123 | ||
8edf1c75 | 6124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
6125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6127 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 6129 | if (obj2) { |
c370783e | 6130 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 6131 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6132 | } |
d14a1e28 RD |
6133 | if (obj3) { |
6134 | { | |
6135 | arg4 = &temp4; | |
6136 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6137 | } | |
6138 | } | |
6139 | if (obj4) { | |
6140 | { | |
6141 | arg5 = &temp5; | |
6142 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6143 | } | |
6144 | } | |
8edf1c75 | 6145 | if (obj5) { |
c370783e | 6146 | arg6 = (int)SWIG_As_int(obj5); |
2f4c0a16 | 6147 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 6148 | } |
d14a1e28 RD |
6149 | if (obj6) { |
6150 | { | |
6151 | arg7 = wxString_in_helper(obj6); | |
6152 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 6153 | temp7 = True; |
d14a1e28 RD |
6154 | } |
6155 | } | |
6156 | { | |
6157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6158 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6159 | ||
6160 | wxPyEndAllowThreads(__tstate); | |
6161 | if (PyErr_Occurred()) SWIG_fail; | |
6162 | } | |
fbc46b20 RD |
6163 | { |
6164 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6165 | } | |
d14a1e28 RD |
6166 | { |
6167 | if (temp7) | |
6168 | delete arg7; | |
6169 | } | |
6170 | return resultobj; | |
6171 | fail: | |
6172 | { | |
6173 | if (temp7) | |
6174 | delete arg7; | |
6175 | } | |
6176 | return NULL; | |
6177 | } | |
6178 | ||
6179 | ||
c370783e | 6180 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6181 | PyObject *resultobj; |
6182 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6183 | PyObject *arg2 = (PyObject *) 0 ; | |
6184 | PyObject *arg3 = (PyObject *) 0 ; | |
6185 | PyObject * obj0 = 0 ; | |
6186 | PyObject * obj1 = 0 ; | |
6187 | PyObject * obj2 = 0 ; | |
6188 | char *kwnames[] = { | |
6189 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
6190 | }; | |
6191 | ||
6192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6195 | arg2 = obj1; |
6196 | arg3 = obj2; | |
6197 | { | |
6198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6199 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6200 | ||
6201 | wxPyEndAllowThreads(__tstate); | |
6202 | if (PyErr_Occurred()) SWIG_fail; | |
6203 | } | |
6204 | Py_INCREF(Py_None); resultobj = Py_None; | |
6205 | return resultobj; | |
6206 | fail: | |
6207 | return NULL; | |
6208 | } | |
6209 | ||
6210 | ||
c370783e | 6211 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6212 | PyObject *resultobj; |
6213 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6214 | wxString *arg2 = 0 ; | |
6215 | bool result; | |
423f194a | 6216 | bool temp2 = False ; |
d14a1e28 RD |
6217 | PyObject * obj0 = 0 ; |
6218 | PyObject * obj1 = 0 ; | |
6219 | char *kwnames[] = { | |
6220 | (char *) "self",(char *) "source", NULL | |
6221 | }; | |
6222 | ||
6223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6226 | { |
6227 | arg2 = wxString_in_helper(obj1); | |
6228 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6229 | temp2 = True; |
d14a1e28 RD |
6230 | } |
6231 | { | |
6232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6233 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
6234 | ||
6235 | wxPyEndAllowThreads(__tstate); | |
6236 | if (PyErr_Occurred()) SWIG_fail; | |
6237 | } | |
fbc46b20 RD |
6238 | { |
6239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6240 | } | |
d14a1e28 RD |
6241 | { |
6242 | if (temp2) | |
6243 | delete arg2; | |
6244 | } | |
6245 | return resultobj; | |
6246 | fail: | |
6247 | { | |
6248 | if (temp2) | |
6249 | delete arg2; | |
6250 | } | |
6251 | return NULL; | |
6252 | } | |
6253 | ||
6254 | ||
c370783e | 6255 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6256 | PyObject *resultobj; |
6257 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6258 | wxString *arg2 = 0 ; | |
6259 | bool result; | |
423f194a | 6260 | bool temp2 = False ; |
d14a1e28 RD |
6261 | PyObject * obj0 = 0 ; |
6262 | PyObject * obj1 = 0 ; | |
6263 | char *kwnames[] = { | |
6264 | (char *) "self",(char *) "location", NULL | |
6265 | }; | |
6266 | ||
6267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6270 | { |
6271 | arg2 = wxString_in_helper(obj1); | |
6272 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6273 | temp2 = True; |
d14a1e28 RD |
6274 | } |
6275 | { | |
6276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6277 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
6278 | ||
6279 | wxPyEndAllowThreads(__tstate); | |
6280 | if (PyErr_Occurred()) SWIG_fail; | |
6281 | } | |
fbc46b20 RD |
6282 | { |
6283 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6284 | } | |
d14a1e28 RD |
6285 | { |
6286 | if (temp2) | |
6287 | delete arg2; | |
6288 | } | |
6289 | return resultobj; | |
6290 | fail: | |
6291 | { | |
6292 | if (temp2) | |
6293 | delete arg2; | |
6294 | } | |
6295 | return NULL; | |
6296 | } | |
6297 | ||
6298 | ||
c370783e | 6299 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6300 | PyObject *resultobj; |
6301 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6302 | wxString *arg2 = 0 ; | |
6303 | bool result; | |
423f194a | 6304 | bool temp2 = False ; |
d14a1e28 RD |
6305 | PyObject * obj0 = 0 ; |
6306 | PyObject * obj1 = 0 ; | |
6307 | char *kwnames[] = { | |
6308 | (char *) "self",(char *) "filename", NULL | |
6309 | }; | |
6310 | ||
6311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6314 | { |
6315 | arg2 = wxString_in_helper(obj1); | |
6316 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6317 | temp2 = True; |
d14a1e28 RD |
6318 | } |
6319 | { | |
6320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6321 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
6322 | ||
6323 | wxPyEndAllowThreads(__tstate); | |
6324 | if (PyErr_Occurred()) SWIG_fail; | |
6325 | } | |
fbc46b20 RD |
6326 | { |
6327 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6328 | } | |
d14a1e28 RD |
6329 | { |
6330 | if (temp2) | |
6331 | delete arg2; | |
6332 | } | |
6333 | return resultobj; | |
6334 | fail: | |
6335 | { | |
6336 | if (temp2) | |
6337 | delete arg2; | |
6338 | } | |
6339 | return NULL; | |
6340 | } | |
6341 | ||
6342 | ||
c370783e | 6343 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6344 | PyObject *resultobj; |
6345 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6346 | wxString *arg2 = 0 ; | |
6347 | bool result; | |
423f194a | 6348 | bool temp2 = False ; |
d14a1e28 RD |
6349 | PyObject * obj0 = 0 ; |
6350 | PyObject * obj1 = 0 ; | |
6351 | char *kwnames[] = { | |
6352 | (char *) "self",(char *) "source", NULL | |
6353 | }; | |
6354 | ||
6355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6358 | { |
6359 | arg2 = wxString_in_helper(obj1); | |
6360 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6361 | temp2 = True; |
d14a1e28 RD |
6362 | } |
6363 | { | |
6364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6365 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
6366 | ||
6367 | wxPyEndAllowThreads(__tstate); | |
6368 | if (PyErr_Occurred()) SWIG_fail; | |
6369 | } | |
fbc46b20 RD |
6370 | { |
6371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6372 | } | |
d14a1e28 RD |
6373 | { |
6374 | if (temp2) | |
6375 | delete arg2; | |
6376 | } | |
6377 | return resultobj; | |
6378 | fail: | |
6379 | { | |
6380 | if (temp2) | |
6381 | delete arg2; | |
6382 | } | |
6383 | return NULL; | |
6384 | } | |
6385 | ||
6386 | ||
c370783e | 6387 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6388 | PyObject *resultobj; |
6389 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6390 | wxString result; | |
6391 | PyObject * obj0 = 0 ; | |
6392 | char *kwnames[] = { | |
6393 | (char *) "self", NULL | |
6394 | }; | |
6395 | ||
6396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6399 | { |
6400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6401 | result = (arg1)->GetOpenedPage(); | |
6402 | ||
6403 | wxPyEndAllowThreads(__tstate); | |
6404 | if (PyErr_Occurred()) SWIG_fail; | |
6405 | } | |
6406 | { | |
6407 | #if wxUSE_UNICODE | |
6408 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6409 | #else | |
6410 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6411 | #endif | |
6412 | } | |
6413 | return resultobj; | |
6414 | fail: | |
6415 | return NULL; | |
6416 | } | |
6417 | ||
6418 | ||
c370783e | 6419 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6420 | PyObject *resultobj; |
6421 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6422 | wxString result; | |
6423 | PyObject * obj0 = 0 ; | |
6424 | char *kwnames[] = { | |
6425 | (char *) "self", NULL | |
6426 | }; | |
6427 | ||
6428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6431 | { |
6432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6433 | result = (arg1)->GetOpenedAnchor(); | |
6434 | ||
6435 | wxPyEndAllowThreads(__tstate); | |
6436 | if (PyErr_Occurred()) SWIG_fail; | |
6437 | } | |
6438 | { | |
6439 | #if wxUSE_UNICODE | |
6440 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6441 | #else | |
6442 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6443 | #endif | |
6444 | } | |
6445 | return resultobj; | |
6446 | fail: | |
6447 | return NULL; | |
6448 | } | |
6449 | ||
6450 | ||
c370783e | 6451 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6452 | PyObject *resultobj; |
6453 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6454 | wxString result; | |
6455 | PyObject * obj0 = 0 ; | |
6456 | char *kwnames[] = { | |
6457 | (char *) "self", NULL | |
6458 | }; | |
6459 | ||
6460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6463 | { |
6464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6465 | result = (arg1)->GetOpenedPageTitle(); | |
6466 | ||
6467 | wxPyEndAllowThreads(__tstate); | |
6468 | if (PyErr_Occurred()) SWIG_fail; | |
6469 | } | |
6470 | { | |
6471 | #if wxUSE_UNICODE | |
6472 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6473 | #else | |
6474 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6475 | #endif | |
6476 | } | |
6477 | return resultobj; | |
6478 | fail: | |
6479 | return NULL; | |
6480 | } | |
6481 | ||
6482 | ||
c370783e | 6483 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6484 | PyObject *resultobj; |
6485 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6486 | wxFrame *arg2 = (wxFrame *) 0 ; | |
6487 | wxString *arg3 = 0 ; | |
423f194a | 6488 | bool temp3 = False ; |
d14a1e28 RD |
6489 | PyObject * obj0 = 0 ; |
6490 | PyObject * obj1 = 0 ; | |
6491 | PyObject * obj2 = 0 ; | |
6492 | char *kwnames[] = { | |
6493 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
6494 | }; | |
6495 | ||
6496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6499 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
6500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6501 | { |
6502 | arg3 = wxString_in_helper(obj2); | |
6503 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 6504 | temp3 = True; |
d14a1e28 RD |
6505 | } |
6506 | { | |
6507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6508 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
6509 | ||
6510 | wxPyEndAllowThreads(__tstate); | |
6511 | if (PyErr_Occurred()) SWIG_fail; | |
6512 | } | |
6513 | Py_INCREF(Py_None); resultobj = Py_None; | |
6514 | { | |
6515 | if (temp3) | |
6516 | delete arg3; | |
6517 | } | |
6518 | return resultobj; | |
6519 | fail: | |
6520 | { | |
6521 | if (temp3) | |
6522 | delete arg3; | |
6523 | } | |
6524 | return NULL; | |
6525 | } | |
6526 | ||
6527 | ||
c370783e | 6528 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6529 | PyObject *resultobj; |
6530 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6531 | wxFrame *result; | |
6532 | PyObject * obj0 = 0 ; | |
6533 | char *kwnames[] = { | |
6534 | (char *) "self", NULL | |
6535 | }; | |
6536 | ||
6537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6538 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6539 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6540 | { |
6541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6542 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
6543 | ||
6544 | wxPyEndAllowThreads(__tstate); | |
6545 | if (PyErr_Occurred()) SWIG_fail; | |
6546 | } | |
6547 | { | |
412d302d | 6548 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6549 | } |
6550 | return resultobj; | |
6551 | fail: | |
6552 | return NULL; | |
6553 | } | |
6554 | ||
6555 | ||
c370783e | 6556 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6557 | PyObject *resultobj; |
6558 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6559 | int arg2 ; | |
6560 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6561 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6562 | char *kwnames[] = { |
6563 | (char *) "self",(char *) "bar", NULL | |
6564 | }; | |
6565 | ||
8edf1c75 | 6566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6569 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 6570 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6571 | { |
6572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6573 | (arg1)->SetRelatedStatusBar(arg2); | |
6574 | ||
6575 | wxPyEndAllowThreads(__tstate); | |
6576 | if (PyErr_Occurred()) SWIG_fail; | |
6577 | } | |
6578 | Py_INCREF(Py_None); resultobj = Py_None; | |
6579 | return resultobj; | |
6580 | fail: | |
6581 | return NULL; | |
6582 | } | |
6583 | ||
6584 | ||
c370783e | 6585 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6586 | PyObject *resultobj; |
6587 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6588 | wxString arg2 ; | |
6589 | wxString arg3 ; | |
6590 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6591 | PyObject * obj0 = 0 ; |
6592 | PyObject * obj1 = 0 ; | |
6593 | PyObject * obj2 = 0 ; | |
6594 | PyObject * obj3 = 0 ; | |
6595 | char *kwnames[] = { | |
6596 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6597 | }; | |
6598 | ||
6599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
6600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
6602 | { |
6603 | wxString* sptr = wxString_in_helper(obj1); | |
6604 | if (sptr == NULL) SWIG_fail; | |
6605 | arg2 = *sptr; | |
6606 | delete sptr; | |
6607 | } | |
6608 | { | |
6609 | wxString* sptr = wxString_in_helper(obj2); | |
6610 | if (sptr == NULL) SWIG_fail; | |
6611 | arg3 = *sptr; | |
6612 | delete sptr; | |
6613 | } | |
d14a1e28 RD |
6614 | if (obj3) { |
6615 | arg4 = obj3; | |
6616 | } | |
6617 | { | |
6618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6619 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
6620 | ||
6621 | wxPyEndAllowThreads(__tstate); | |
6622 | if (PyErr_Occurred()) SWIG_fail; | |
6623 | } | |
6624 | Py_INCREF(Py_None); resultobj = Py_None; | |
6625 | return resultobj; | |
6626 | fail: | |
6627 | return NULL; | |
6628 | } | |
6629 | ||
6630 | ||
c370783e | 6631 | static PyObject *_wrap_HtmlWindow_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
6632 | PyObject *resultobj; |
6633 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6634 | int arg2 = (int) -1 ; | |
6635 | PyObject * obj0 = 0 ; | |
6636 | PyObject * obj1 = 0 ; | |
6637 | char *kwnames[] = { | |
6638 | (char *) "self",(char *) "size", NULL | |
6639 | }; | |
6640 | ||
6641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWindow_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
6642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6644 | if (obj1) { | |
c370783e | 6645 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
6646 | if (PyErr_Occurred()) SWIG_fail; |
6647 | } | |
6648 | { | |
6649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6650 | (arg1)->NormalizeFontSizes(arg2); | |
6651 | ||
6652 | wxPyEndAllowThreads(__tstate); | |
6653 | if (PyErr_Occurred()) SWIG_fail; | |
6654 | } | |
6655 | Py_INCREF(Py_None); resultobj = Py_None; | |
6656 | return resultobj; | |
6657 | fail: | |
6658 | return NULL; | |
6659 | } | |
6660 | ||
6661 | ||
c370783e | 6662 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6663 | PyObject *resultobj; |
6664 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6665 | wxString *arg2 = 0 ; | |
423f194a | 6666 | bool temp2 = False ; |
d14a1e28 RD |
6667 | PyObject * obj0 = 0 ; |
6668 | PyObject * obj1 = 0 ; | |
6669 | char *kwnames[] = { | |
6670 | (char *) "self",(char *) "title", NULL | |
6671 | }; | |
6672 | ||
6673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6676 | { |
6677 | arg2 = wxString_in_helper(obj1); | |
6678 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6679 | temp2 = True; |
d14a1e28 RD |
6680 | } |
6681 | { | |
6682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6683 | (arg1)->SetTitle((wxString const &)*arg2); | |
6684 | ||
6685 | wxPyEndAllowThreads(__tstate); | |
6686 | if (PyErr_Occurred()) SWIG_fail; | |
6687 | } | |
6688 | Py_INCREF(Py_None); resultobj = Py_None; | |
6689 | { | |
6690 | if (temp2) | |
6691 | delete arg2; | |
6692 | } | |
6693 | return resultobj; | |
6694 | fail: | |
6695 | { | |
6696 | if (temp2) | |
6697 | delete arg2; | |
6698 | } | |
6699 | return NULL; | |
6700 | } | |
6701 | ||
6702 | ||
c370783e | 6703 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6704 | PyObject *resultobj; |
6705 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6706 | int arg2 ; | |
6707 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6708 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6709 | char *kwnames[] = { |
6710 | (char *) "self",(char *) "b", NULL | |
6711 | }; | |
6712 | ||
8edf1c75 | 6713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6716 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 6717 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6718 | { |
6719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6720 | (arg1)->SetBorders(arg2); | |
6721 | ||
6722 | wxPyEndAllowThreads(__tstate); | |
6723 | if (PyErr_Occurred()) SWIG_fail; | |
6724 | } | |
6725 | Py_INCREF(Py_None); resultobj = Py_None; | |
6726 | return resultobj; | |
6727 | fail: | |
6728 | return NULL; | |
6729 | } | |
6730 | ||
6731 | ||
c370783e | 6732 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6733 | PyObject *resultobj; |
6734 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6735 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6736 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
6737 | PyObject * obj0 = 0 ; |
6738 | PyObject * obj1 = 0 ; | |
6739 | PyObject * obj2 = 0 ; | |
6740 | char *kwnames[] = { | |
6741 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6742 | }; | |
6743 | ||
6744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6747 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6749 | if (obj2) { |
423f194a RD |
6750 | { |
6751 | wxString* sptr = wxString_in_helper(obj2); | |
6752 | if (sptr == NULL) SWIG_fail; | |
6753 | arg3 = *sptr; | |
6754 | delete sptr; | |
6755 | } | |
d14a1e28 RD |
6756 | } |
6757 | { | |
6758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6759 | (arg1)->ReadCustomization(arg2,arg3); | |
6760 | ||
6761 | wxPyEndAllowThreads(__tstate); | |
6762 | if (PyErr_Occurred()) SWIG_fail; | |
6763 | } | |
6764 | Py_INCREF(Py_None); resultobj = Py_None; | |
6765 | return resultobj; | |
6766 | fail: | |
6767 | return NULL; | |
6768 | } | |
6769 | ||
6770 | ||
c370783e | 6771 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6772 | PyObject *resultobj; |
6773 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6774 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6775 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
6776 | PyObject * obj0 = 0 ; |
6777 | PyObject * obj1 = 0 ; | |
6778 | PyObject * obj2 = 0 ; | |
6779 | char *kwnames[] = { | |
6780 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6781 | }; | |
6782 | ||
6783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6786 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6788 | if (obj2) { |
423f194a RD |
6789 | { |
6790 | wxString* sptr = wxString_in_helper(obj2); | |
6791 | if (sptr == NULL) SWIG_fail; | |
6792 | arg3 = *sptr; | |
6793 | delete sptr; | |
6794 | } | |
d14a1e28 RD |
6795 | } |
6796 | { | |
6797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6798 | (arg1)->WriteCustomization(arg2,arg3); | |
6799 | ||
6800 | wxPyEndAllowThreads(__tstate); | |
6801 | if (PyErr_Occurred()) SWIG_fail; | |
6802 | } | |
6803 | Py_INCREF(Py_None); resultobj = Py_None; | |
6804 | return resultobj; | |
6805 | fail: | |
6806 | return NULL; | |
6807 | } | |
6808 | ||
6809 | ||
c370783e | 6810 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6811 | PyObject *resultobj; |
6812 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6813 | bool result; | |
6814 | PyObject * obj0 = 0 ; | |
6815 | char *kwnames[] = { | |
6816 | (char *) "self", NULL | |
6817 | }; | |
6818 | ||
6819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6820 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6821 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6822 | { |
6823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824 | result = (bool)(arg1)->HistoryBack(); | |
6825 | ||
6826 | wxPyEndAllowThreads(__tstate); | |
6827 | if (PyErr_Occurred()) SWIG_fail; | |
6828 | } | |
fbc46b20 RD |
6829 | { |
6830 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6831 | } | |
d14a1e28 RD |
6832 | return resultobj; |
6833 | fail: | |
6834 | return NULL; | |
6835 | } | |
6836 | ||
6837 | ||
c370783e | 6838 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6839 | PyObject *resultobj; |
6840 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6841 | bool result; | |
6842 | PyObject * obj0 = 0 ; | |
6843 | char *kwnames[] = { | |
6844 | (char *) "self", NULL | |
6845 | }; | |
6846 | ||
6847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6848 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6849 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6850 | { |
6851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6852 | result = (bool)(arg1)->HistoryForward(); | |
6853 | ||
6854 | wxPyEndAllowThreads(__tstate); | |
6855 | if (PyErr_Occurred()) SWIG_fail; | |
6856 | } | |
fbc46b20 RD |
6857 | { |
6858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6859 | } | |
d14a1e28 RD |
6860 | return resultobj; |
6861 | fail: | |
6862 | return NULL; | |
6863 | } | |
6864 | ||
6865 | ||
c370783e | 6866 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6867 | PyObject *resultobj; |
6868 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6869 | bool result; | |
6870 | PyObject * obj0 = 0 ; | |
6871 | char *kwnames[] = { | |
6872 | (char *) "self", NULL | |
6873 | }; | |
6874 | ||
6875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6876 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6877 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6878 | { |
6879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6880 | result = (bool)(arg1)->HistoryCanBack(); | |
6881 | ||
6882 | wxPyEndAllowThreads(__tstate); | |
6883 | if (PyErr_Occurred()) SWIG_fail; | |
6884 | } | |
fbc46b20 RD |
6885 | { |
6886 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6887 | } | |
d14a1e28 RD |
6888 | return resultobj; |
6889 | fail: | |
6890 | return NULL; | |
6891 | } | |
6892 | ||
6893 | ||
c370783e | 6894 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6895 | PyObject *resultobj; |
6896 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6897 | bool result; | |
6898 | PyObject * obj0 = 0 ; | |
6899 | char *kwnames[] = { | |
6900 | (char *) "self", NULL | |
6901 | }; | |
6902 | ||
6903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6906 | { |
6907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6908 | result = (bool)(arg1)->HistoryCanForward(); | |
6909 | ||
6910 | wxPyEndAllowThreads(__tstate); | |
6911 | if (PyErr_Occurred()) SWIG_fail; | |
6912 | } | |
fbc46b20 RD |
6913 | { |
6914 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6915 | } | |
d14a1e28 RD |
6916 | return resultobj; |
6917 | fail: | |
6918 | return NULL; | |
6919 | } | |
6920 | ||
6921 | ||
c370783e | 6922 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6923 | PyObject *resultobj; |
6924 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6925 | PyObject * obj0 = 0 ; | |
6926 | char *kwnames[] = { | |
6927 | (char *) "self", NULL | |
6928 | }; | |
6929 | ||
6930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6933 | { |
6934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6935 | (arg1)->HistoryClear(); | |
6936 | ||
6937 | wxPyEndAllowThreads(__tstate); | |
6938 | if (PyErr_Occurred()) SWIG_fail; | |
6939 | } | |
6940 | Py_INCREF(Py_None); resultobj = Py_None; | |
6941 | return resultobj; | |
6942 | fail: | |
6943 | return NULL; | |
6944 | } | |
6945 | ||
6946 | ||
c370783e | 6947 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6948 | PyObject *resultobj; |
6949 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6950 | wxHtmlContainerCell *result; | |
6951 | PyObject * obj0 = 0 ; | |
6952 | char *kwnames[] = { | |
6953 | (char *) "self", NULL | |
6954 | }; | |
6955 | ||
6956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6959 | { |
6960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6961 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
6962 | ||
6963 | wxPyEndAllowThreads(__tstate); | |
6964 | if (PyErr_Occurred()) SWIG_fail; | |
6965 | } | |
2f4c0a16 | 6966 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); |
d14a1e28 RD |
6967 | return resultobj; |
6968 | fail: | |
6969 | return NULL; | |
6970 | } | |
6971 | ||
6972 | ||
c370783e | 6973 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6974 | PyObject *resultobj; |
6975 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6976 | wxHtmlWinParser *result; | |
6977 | PyObject * obj0 = 0 ; | |
6978 | char *kwnames[] = { | |
6979 | (char *) "self", NULL | |
6980 | }; | |
6981 | ||
6982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
6984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6985 | { |
6986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6987 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
6988 | ||
6989 | wxPyEndAllowThreads(__tstate); | |
6990 | if (PyErr_Occurred()) SWIG_fail; | |
6991 | } | |
2f4c0a16 | 6992 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); |
d14a1e28 RD |
6993 | return resultobj; |
6994 | fail: | |
6995 | return NULL; | |
6996 | } | |
6997 | ||
6998 | ||
c370783e | 6999 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7000 | PyObject *resultobj; |
7001 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7002 | wxString *arg2 = 0 ; | |
7003 | bool result; | |
423f194a | 7004 | bool temp2 = False ; |
d14a1e28 RD |
7005 | PyObject * obj0 = 0 ; |
7006 | PyObject * obj1 = 0 ; | |
7007 | char *kwnames[] = { | |
7008 | (char *) "self",(char *) "anchor", NULL | |
7009 | }; | |
7010 | ||
7011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7014 | { |
7015 | arg2 = wxString_in_helper(obj1); | |
7016 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7017 | temp2 = True; |
d14a1e28 RD |
7018 | } |
7019 | { | |
7020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7021 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
7022 | ||
7023 | wxPyEndAllowThreads(__tstate); | |
7024 | if (PyErr_Occurred()) SWIG_fail; | |
7025 | } | |
fbc46b20 RD |
7026 | { |
7027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7028 | } | |
d14a1e28 RD |
7029 | { |
7030 | if (temp2) | |
7031 | delete arg2; | |
7032 | } | |
7033 | return resultobj; | |
7034 | fail: | |
7035 | { | |
7036 | if (temp2) | |
7037 | delete arg2; | |
7038 | } | |
7039 | return NULL; | |
7040 | } | |
7041 | ||
7042 | ||
c370783e | 7043 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7044 | PyObject *resultobj; |
7045 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7046 | wxString *arg2 = 0 ; | |
7047 | bool result; | |
423f194a | 7048 | bool temp2 = False ; |
d14a1e28 RD |
7049 | PyObject * obj0 = 0 ; |
7050 | PyObject * obj1 = 0 ; | |
7051 | char *kwnames[] = { | |
7052 | (char *) "self",(char *) "anchor", NULL | |
7053 | }; | |
7054 | ||
7055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7058 | { |
7059 | arg2 = wxString_in_helper(obj1); | |
7060 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7061 | temp2 = True; |
d14a1e28 RD |
7062 | } |
7063 | { | |
7064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7065 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
7066 | ||
7067 | wxPyEndAllowThreads(__tstate); | |
7068 | if (PyErr_Occurred()) SWIG_fail; | |
7069 | } | |
fbc46b20 RD |
7070 | { |
7071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7072 | } | |
d14a1e28 RD |
7073 | { |
7074 | if (temp2) | |
7075 | delete arg2; | |
7076 | } | |
7077 | return resultobj; | |
7078 | fail: | |
7079 | { | |
7080 | if (temp2) | |
7081 | delete arg2; | |
7082 | } | |
7083 | return NULL; | |
7084 | } | |
7085 | ||
7086 | ||
c370783e | 7087 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7088 | PyObject *resultobj; |
7089 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
7090 | PyObject * obj0 = 0 ; | |
7091 | char *kwnames[] = { | |
7092 | (char *) "filter", NULL | |
7093 | }; | |
7094 | ||
7095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, |
7097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7098 | { |
7099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7100 | wxPyHtmlWindow::AddFilter(arg1); | |
7101 | ||
7102 | wxPyEndAllowThreads(__tstate); | |
7103 | if (PyErr_Occurred()) SWIG_fail; | |
7104 | } | |
7105 | Py_INCREF(Py_None); resultobj = Py_None; | |
7106 | return resultobj; | |
7107 | fail: | |
7108 | return NULL; | |
7109 | } | |
7110 | ||
7111 | ||
c370783e | 7112 | static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) { |
0ffb2aa6 RD |
7113 | PyObject *resultobj; |
7114 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7115 | wxPoint *arg2 = 0 ; | |
7116 | wxPoint temp2 ; | |
7117 | PyObject * obj0 = 0 ; | |
7118 | PyObject * obj1 = 0 ; | |
7119 | char *kwnames[] = { | |
7120 | (char *) "self",(char *) "pos", NULL | |
7121 | }; | |
7122 | ||
7123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
0ffb2aa6 RD |
7126 | { |
7127 | arg2 = &temp2; | |
7128 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7129 | } | |
7130 | { | |
7131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7132 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
7133 | ||
7134 | wxPyEndAllowThreads(__tstate); | |
7135 | if (PyErr_Occurred()) SWIG_fail; | |
7136 | } | |
7137 | Py_INCREF(Py_None); resultobj = Py_None; | |
7138 | return resultobj; | |
7139 | fail: | |
7140 | return NULL; | |
7141 | } | |
7142 | ||
7143 | ||
c370783e | 7144 | static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) { |
0ffb2aa6 RD |
7145 | PyObject *resultobj; |
7146 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7147 | wxPoint *arg2 = 0 ; | |
7148 | wxPoint temp2 ; | |
7149 | PyObject * obj0 = 0 ; | |
7150 | PyObject * obj1 = 0 ; | |
7151 | char *kwnames[] = { | |
7152 | (char *) "self",(char *) "pos", NULL | |
7153 | }; | |
7154 | ||
7155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
0ffb2aa6 RD |
7158 | { |
7159 | arg2 = &temp2; | |
7160 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7161 | } | |
7162 | { | |
7163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7164 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
7165 | ||
7166 | wxPyEndAllowThreads(__tstate); | |
7167 | if (PyErr_Occurred()) SWIG_fail; | |
7168 | } | |
7169 | Py_INCREF(Py_None); resultobj = Py_None; | |
7170 | return resultobj; | |
7171 | fail: | |
7172 | return NULL; | |
7173 | } | |
7174 | ||
7175 | ||
c370783e | 7176 | static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
0ffb2aa6 RD |
7177 | PyObject *resultobj; |
7178 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7179 | PyObject * obj0 = 0 ; | |
7180 | char *kwnames[] = { | |
7181 | (char *) "self", NULL | |
7182 | }; | |
7183 | ||
7184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
0ffb2aa6 RD |
7187 | { |
7188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7189 | (arg1)->SelectAll(); | |
7190 | ||
7191 | wxPyEndAllowThreads(__tstate); | |
7192 | if (PyErr_Occurred()) SWIG_fail; | |
7193 | } | |
7194 | Py_INCREF(Py_None); resultobj = Py_None; | |
7195 | return resultobj; | |
7196 | fail: | |
7197 | return NULL; | |
7198 | } | |
7199 | ||
7200 | ||
c370783e | 7201 | static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) { |
b0f7404b RD |
7202 | PyObject *resultobj; |
7203 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7204 | wxString result; | |
7205 | PyObject * obj0 = 0 ; | |
7206 | char *kwnames[] = { | |
7207 | (char *) "self", NULL | |
7208 | }; | |
7209 | ||
7210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail; | |
7211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7213 | { | |
7214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7215 | result = (arg1)->SelectionToText(); | |
7216 | ||
7217 | wxPyEndAllowThreads(__tstate); | |
7218 | if (PyErr_Occurred()) SWIG_fail; | |
7219 | } | |
7220 | { | |
7221 | #if wxUSE_UNICODE | |
7222 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7223 | #else | |
7224 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7225 | #endif | |
7226 | } | |
7227 | return resultobj; | |
7228 | fail: | |
7229 | return NULL; | |
7230 | } | |
7231 | ||
7232 | ||
c370783e | 7233 | static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) { |
b0f7404b RD |
7234 | PyObject *resultobj; |
7235 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7236 | wxString result; | |
7237 | PyObject * obj0 = 0 ; | |
7238 | char *kwnames[] = { | |
7239 | (char *) "self", NULL | |
7240 | }; | |
7241 | ||
7242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail; | |
7243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7245 | { | |
7246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7247 | result = (arg1)->ToText(); | |
7248 | ||
7249 | wxPyEndAllowThreads(__tstate); | |
7250 | if (PyErr_Occurred()) SWIG_fail; | |
7251 | } | |
7252 | { | |
7253 | #if wxUSE_UNICODE | |
7254 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7255 | #else | |
7256 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7257 | #endif | |
7258 | } | |
7259 | return resultobj; | |
7260 | fail: | |
7261 | return NULL; | |
7262 | } | |
7263 | ||
7264 | ||
c370783e | 7265 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7266 | PyObject *resultobj; |
7267 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7268 | wxHtmlLinkInfo *arg2 = 0 ; | |
7269 | PyObject * obj0 = 0 ; | |
7270 | PyObject * obj1 = 0 ; | |
7271 | char *kwnames[] = { | |
7272 | (char *) "self",(char *) "link", NULL | |
7273 | }; | |
7274 | ||
7275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7278 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
7279 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7280 | SWIG_fail; | |
d14a1e28 | 7281 | if (arg2 == NULL) { |
2f4c0a16 RD |
7282 | PyErr_SetString(PyExc_TypeError,"null reference"); |
7283 | SWIG_fail; | |
d14a1e28 RD |
7284 | } |
7285 | { | |
7286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7287 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
7288 | ||
7289 | wxPyEndAllowThreads(__tstate); | |
7290 | if (PyErr_Occurred()) SWIG_fail; | |
7291 | } | |
7292 | Py_INCREF(Py_None); resultobj = Py_None; | |
7293 | return resultobj; | |
7294 | fail: | |
7295 | return NULL; | |
7296 | } | |
7297 | ||
7298 | ||
c370783e | 7299 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7300 | PyObject *resultobj; |
7301 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7302 | wxString *arg2 = 0 ; | |
423f194a | 7303 | bool temp2 = False ; |
d14a1e28 RD |
7304 | PyObject * obj0 = 0 ; |
7305 | PyObject * obj1 = 0 ; | |
7306 | char *kwnames[] = { | |
7307 | (char *) "self",(char *) "title", NULL | |
7308 | }; | |
7309 | ||
7310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7313 | { |
7314 | arg2 = wxString_in_helper(obj1); | |
7315 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7316 | temp2 = True; |
d14a1e28 RD |
7317 | } |
7318 | { | |
7319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7320 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
7321 | ||
7322 | wxPyEndAllowThreads(__tstate); | |
7323 | if (PyErr_Occurred()) SWIG_fail; | |
7324 | } | |
7325 | Py_INCREF(Py_None); resultobj = Py_None; | |
7326 | { | |
7327 | if (temp2) | |
7328 | delete arg2; | |
7329 | } | |
7330 | return resultobj; | |
7331 | fail: | |
7332 | { | |
7333 | if (temp2) | |
7334 | delete arg2; | |
7335 | } | |
7336 | return NULL; | |
7337 | } | |
7338 | ||
7339 | ||
c370783e | 7340 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7341 | PyObject *resultobj; |
7342 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7343 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
423f194a RD |
7344 | int arg3 ; |
7345 | int arg4 ; | |
d14a1e28 RD |
7346 | PyObject * obj0 = 0 ; |
7347 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
7348 | PyObject * obj2 = 0 ; |
7349 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7350 | char *kwnames[] = { |
7351 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
7352 | }; | |
7353 | ||
8edf1c75 | 7354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
7355 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7356 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7357 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7359 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7360 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7361 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 7362 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7363 | { |
7364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7365 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
7366 | ||
7367 | wxPyEndAllowThreads(__tstate); | |
7368 | if (PyErr_Occurred()) SWIG_fail; | |
7369 | } | |
7370 | Py_INCREF(Py_None); resultobj = Py_None; | |
7371 | return resultobj; | |
7372 | fail: | |
7373 | return NULL; | |
7374 | } | |
7375 | ||
7376 | ||
c370783e | 7377 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7378 | PyObject *resultobj; |
7379 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7380 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
423f194a RD |
7381 | int arg3 ; |
7382 | int arg4 ; | |
d14a1e28 RD |
7383 | wxMouseEvent *arg5 = 0 ; |
7384 | PyObject * obj0 = 0 ; | |
7385 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
7386 | PyObject * obj2 = 0 ; |
7387 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7388 | PyObject * obj4 = 0 ; |
7389 | char *kwnames[] = { | |
7390 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
7391 | }; | |
7392 | ||
8edf1c75 | 7393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
7394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, |
7395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7396 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7398 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7399 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7400 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 RD |
7401 | if (PyErr_Occurred()) SWIG_fail; |
7402 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent, | |
7403 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7404 | SWIG_fail; | |
d14a1e28 | 7405 | if (arg5 == NULL) { |
2f4c0a16 RD |
7406 | PyErr_SetString(PyExc_TypeError,"null reference"); |
7407 | SWIG_fail; | |
d14a1e28 RD |
7408 | } |
7409 | { | |
7410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7411 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
7412 | ||
7413 | wxPyEndAllowThreads(__tstate); | |
7414 | if (PyErr_Occurred()) SWIG_fail; | |
7415 | } | |
7416 | Py_INCREF(Py_None); resultobj = Py_None; | |
7417 | return resultobj; | |
7418 | fail: | |
7419 | return NULL; | |
7420 | } | |
7421 | ||
7422 | ||
c370783e | 7423 | static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
f20a2e1f RD |
7424 | PyObject *resultobj; |
7425 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
7426 | wxVisualAttributes result; | |
7427 | PyObject * obj0 = 0 ; | |
7428 | char *kwnames[] = { | |
7429 | (char *) "variant", NULL | |
7430 | }; | |
7431 | ||
7432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7433 | if (obj0) { | |
c370783e | 7434 | arg1 = (int)SWIG_As_int(obj0); |
f20a2e1f RD |
7435 | if (PyErr_Occurred()) SWIG_fail; |
7436 | } | |
7437 | { | |
0439c23b | 7438 | if (!wxPyCheckForApp()) SWIG_fail; |
f20a2e1f RD |
7439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7440 | result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7441 | ||
7442 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7443 | if (PyErr_Occurred()) SWIG_fail; |
f20a2e1f RD |
7444 | } |
7445 | { | |
7446 | wxVisualAttributes * resultptr; | |
7447 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
7448 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
7449 | } | |
7450 | return resultobj; | |
7451 | fail: | |
7452 | return NULL; | |
7453 | } | |
7454 | ||
7455 | ||
c370783e | 7456 | static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7457 | PyObject *obj; |
7458 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7459 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
7460 | Py_INCREF(obj); | |
7461 | return Py_BuildValue((char *)""); | |
7462 | } | |
c370783e | 7463 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7464 | PyObject *resultobj; |
7465 | wxHtmlDCRenderer *result; | |
7466 | char *kwnames[] = { | |
7467 | NULL | |
7468 | }; | |
7469 | ||
7470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
7471 | { | |
0439c23b | 7472 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7474 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
7475 | ||
7476 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7477 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7478 | } |
2f4c0a16 | 7479 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1); |
d14a1e28 RD |
7480 | return resultobj; |
7481 | fail: | |
7482 | return NULL; | |
7483 | } | |
7484 | ||
7485 | ||
c370783e | 7486 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7487 | PyObject *resultobj; |
7488 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7489 | PyObject * obj0 = 0 ; | |
7490 | char *kwnames[] = { | |
7491 | (char *) "self", NULL | |
7492 | }; | |
7493 | ||
7494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7497 | { |
7498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7499 | delete arg1; | |
7500 | ||
7501 | wxPyEndAllowThreads(__tstate); | |
7502 | if (PyErr_Occurred()) SWIG_fail; | |
7503 | } | |
7504 | Py_INCREF(Py_None); resultobj = Py_None; | |
7505 | return resultobj; | |
7506 | fail: | |
7507 | return NULL; | |
7508 | } | |
7509 | ||
7510 | ||
c370783e | 7511 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7512 | PyObject *resultobj; |
7513 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7514 | wxDC *arg2 = (wxDC *) 0 ; | |
7515 | int arg3 ; | |
7516 | PyObject * obj0 = 0 ; | |
7517 | PyObject * obj1 = 0 ; | |
8edf1c75 | 7518 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7519 | char *kwnames[] = { |
7520 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
7521 | }; | |
7522 | ||
8edf1c75 | 7523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
7524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7526 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
7527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7528 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7529 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7530 | { |
7531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7532 | (arg1)->SetDC(arg2,arg3); | |
7533 | ||
7534 | wxPyEndAllowThreads(__tstate); | |
7535 | if (PyErr_Occurred()) SWIG_fail; | |
7536 | } | |
7537 | Py_INCREF(Py_None); resultobj = Py_None; | |
7538 | return resultobj; | |
7539 | fail: | |
7540 | return NULL; | |
7541 | } | |
7542 | ||
7543 | ||
c370783e | 7544 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7545 | PyObject *resultobj; |
7546 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7547 | int arg2 ; | |
7548 | int arg3 ; | |
7549 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7550 | PyObject * obj1 = 0 ; |
7551 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7552 | char *kwnames[] = { |
7553 | (char *) "self",(char *) "width",(char *) "height", NULL | |
7554 | }; | |
7555 | ||
8edf1c75 | 7556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
7557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7559 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 7560 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7561 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7562 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7563 | { |
7564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7565 | (arg1)->SetSize(arg2,arg3); | |
7566 | ||
7567 | wxPyEndAllowThreads(__tstate); | |
7568 | if (PyErr_Occurred()) SWIG_fail; | |
7569 | } | |
7570 | Py_INCREF(Py_None); resultobj = Py_None; | |
7571 | return resultobj; | |
7572 | fail: | |
7573 | return NULL; | |
7574 | } | |
7575 | ||
7576 | ||
c370783e | 7577 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7578 | PyObject *resultobj; |
7579 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7580 | wxString *arg2 = 0 ; | |
7581 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7582 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
7583 | bool arg4 = (bool) True ; |
7584 | bool temp2 = False ; | |
7585 | bool temp3 = False ; | |
d14a1e28 RD |
7586 | PyObject * obj0 = 0 ; |
7587 | PyObject * obj1 = 0 ; | |
7588 | PyObject * obj2 = 0 ; | |
7589 | PyObject * obj3 = 0 ; | |
7590 | char *kwnames[] = { | |
7591 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7592 | }; | |
7593 | ||
7594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
7595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7597 | { |
7598 | arg2 = wxString_in_helper(obj1); | |
7599 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7600 | temp2 = True; |
d14a1e28 RD |
7601 | } |
7602 | if (obj2) { | |
7603 | { | |
7604 | arg3 = wxString_in_helper(obj2); | |
7605 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 7606 | temp3 = True; |
d14a1e28 RD |
7607 | } |
7608 | } | |
7609 | if (obj3) { | |
c370783e | 7610 | arg4 = (bool)SWIG_As_bool(obj3); |
2f4c0a16 | 7611 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7612 | } |
7613 | { | |
7614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7615 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7616 | ||
7617 | wxPyEndAllowThreads(__tstate); | |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | } | |
7620 | Py_INCREF(Py_None); resultobj = Py_None; | |
7621 | { | |
7622 | if (temp2) | |
7623 | delete arg2; | |
7624 | } | |
7625 | { | |
7626 | if (temp3) | |
7627 | delete arg3; | |
7628 | } | |
7629 | return resultobj; | |
7630 | fail: | |
7631 | { | |
7632 | if (temp2) | |
7633 | delete arg2; | |
7634 | } | |
7635 | { | |
7636 | if (temp3) | |
7637 | delete arg3; | |
7638 | } | |
7639 | return NULL; | |
7640 | } | |
7641 | ||
7642 | ||
c370783e | 7643 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7644 | PyObject *resultobj; |
7645 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7646 | wxString arg2 ; | |
7647 | wxString arg3 ; | |
7648 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7649 | PyObject * obj0 = 0 ; |
7650 | PyObject * obj1 = 0 ; | |
7651 | PyObject * obj2 = 0 ; | |
7652 | PyObject * obj3 = 0 ; | |
7653 | char *kwnames[] = { | |
7654 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7655 | }; | |
7656 | ||
7657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
7658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
7660 | { |
7661 | wxString* sptr = wxString_in_helper(obj1); | |
7662 | if (sptr == NULL) SWIG_fail; | |
7663 | arg2 = *sptr; | |
7664 | delete sptr; | |
7665 | } | |
7666 | { | |
7667 | wxString* sptr = wxString_in_helper(obj2); | |
7668 | if (sptr == NULL) SWIG_fail; | |
7669 | arg3 = *sptr; | |
7670 | delete sptr; | |
7671 | } | |
d14a1e28 RD |
7672 | if (obj3) { |
7673 | arg4 = obj3; | |
7674 | } | |
7675 | { | |
7676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7677 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
7678 | ||
7679 | wxPyEndAllowThreads(__tstate); | |
7680 | if (PyErr_Occurred()) SWIG_fail; | |
7681 | } | |
7682 | Py_INCREF(Py_None); resultobj = Py_None; | |
7683 | return resultobj; | |
7684 | fail: | |
7685 | return NULL; | |
7686 | } | |
7687 | ||
7688 | ||
c370783e | 7689 | static PyObject *_wrap_HtmlDCRenderer_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
7690 | PyObject *resultobj; |
7691 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7692 | int arg2 = (int) -1 ; | |
7693 | PyObject * obj0 = 0 ; | |
7694 | PyObject * obj1 = 0 ; | |
7695 | char *kwnames[] = { | |
7696 | (char *) "self",(char *) "size", NULL | |
7697 | }; | |
7698 | ||
7699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlDCRenderer_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
7700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7702 | if (obj1) { | |
c370783e | 7703 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
7704 | if (PyErr_Occurred()) SWIG_fail; |
7705 | } | |
7706 | { | |
7707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7708 | (arg1)->NormalizeFontSizes(arg2); | |
7709 | ||
7710 | wxPyEndAllowThreads(__tstate); | |
7711 | if (PyErr_Occurred()) SWIG_fail; | |
7712 | } | |
7713 | Py_INCREF(Py_None); resultobj = Py_None; | |
7714 | return resultobj; | |
7715 | fail: | |
7716 | return NULL; | |
7717 | } | |
7718 | ||
7719 | ||
c370783e | 7720 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7721 | PyObject *resultobj; |
7722 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7723 | int arg2 ; | |
7724 | int arg3 ; | |
7725 | int arg4 = (int) 0 ; | |
423f194a | 7726 | int arg5 = (int) False ; |
d14a1e28 RD |
7727 | int arg6 = (int) INT_MAX ; |
7728 | int *arg7 = (int *) NULL ; | |
7729 | int arg8 = (int) 0 ; | |
7730 | int result; | |
7731 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7732 | PyObject * obj1 = 0 ; |
7733 | PyObject * obj2 = 0 ; | |
7734 | PyObject * obj3 = 0 ; | |
7735 | PyObject * obj4 = 0 ; | |
7736 | PyObject * obj5 = 0 ; | |
d14a1e28 | 7737 | PyObject * obj6 = 0 ; |
8edf1c75 | 7738 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
7739 | char *kwnames[] = { |
7740 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
7741 | }; | |
7742 | ||
8edf1c75 | 7743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
7744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7746 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 7747 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7748 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7749 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7750 | if (obj3) { |
c370783e | 7751 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 7752 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
7753 | } |
7754 | if (obj4) { | |
c370783e | 7755 | arg5 = (int)SWIG_As_int(obj4); |
2f4c0a16 | 7756 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
7757 | } |
7758 | if (obj5) { | |
c370783e | 7759 | arg6 = (int)SWIG_As_int(obj5); |
2f4c0a16 | 7760 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7761 | } |
d14a1e28 | 7762 | if (obj6) { |
2f4c0a16 RD |
7763 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int, |
7764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 7765 | } |
8edf1c75 | 7766 | if (obj7) { |
c370783e | 7767 | arg8 = (int)SWIG_As_int(obj7); |
2f4c0a16 | 7768 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7769 | } |
d14a1e28 RD |
7770 | { |
7771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7772 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
7773 | ||
7774 | wxPyEndAllowThreads(__tstate); | |
7775 | if (PyErr_Occurred()) SWIG_fail; | |
7776 | } | |
c370783e | 7777 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7778 | return resultobj; |
7779 | fail: | |
7780 | return NULL; | |
7781 | } | |
7782 | ||
7783 | ||
c370783e | 7784 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7785 | PyObject *resultobj; |
7786 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7787 | int result; | |
7788 | PyObject * obj0 = 0 ; | |
7789 | char *kwnames[] = { | |
7790 | (char *) "self", NULL | |
7791 | }; | |
7792 | ||
7793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, |
7795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7796 | { |
7797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7798 | result = (int)(arg1)->GetTotalHeight(); | |
7799 | ||
7800 | wxPyEndAllowThreads(__tstate); | |
7801 | if (PyErr_Occurred()) SWIG_fail; | |
7802 | } | |
c370783e | 7803 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7804 | return resultobj; |
7805 | fail: | |
7806 | return NULL; | |
7807 | } | |
7808 | ||
7809 | ||
c370783e | 7810 | static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7811 | PyObject *obj; |
7812 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7813 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
7814 | Py_INCREF(obj); | |
7815 | return Py_BuildValue((char *)""); | |
7816 | } | |
c370783e | 7817 | static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7818 | PyObject *resultobj; |
7819 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
7820 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7821 | wxHtmlPrintout *result; | |
423f194a | 7822 | bool temp1 = False ; |
d14a1e28 RD |
7823 | PyObject * obj0 = 0 ; |
7824 | char *kwnames[] = { | |
7825 | (char *) "title", NULL | |
7826 | }; | |
7827 | ||
7828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
7829 | if (obj0) { | |
7830 | { | |
7831 | arg1 = wxString_in_helper(obj0); | |
7832 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 7833 | temp1 = True; |
d14a1e28 RD |
7834 | } |
7835 | } | |
7836 | { | |
0439c23b | 7837 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7839 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
7840 | ||
7841 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7842 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7843 | } |
2f4c0a16 | 7844 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1); |
d14a1e28 RD |
7845 | { |
7846 | if (temp1) | |
7847 | delete arg1; | |
7848 | } | |
7849 | return resultobj; | |
7850 | fail: | |
7851 | { | |
7852 | if (temp1) | |
7853 | delete arg1; | |
7854 | } | |
7855 | return NULL; | |
7856 | } | |
7857 | ||
7858 | ||
c370783e | 7859 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7860 | PyObject *resultobj; |
7861 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7862 | wxString *arg2 = 0 ; | |
7863 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7864 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
7865 | bool arg4 = (bool) True ; |
7866 | bool temp2 = False ; | |
7867 | bool temp3 = False ; | |
d14a1e28 RD |
7868 | PyObject * obj0 = 0 ; |
7869 | PyObject * obj1 = 0 ; | |
7870 | PyObject * obj2 = 0 ; | |
7871 | PyObject * obj3 = 0 ; | |
7872 | char *kwnames[] = { | |
7873 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7874 | }; | |
7875 | ||
7876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
7877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
7878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7879 | { |
7880 | arg2 = wxString_in_helper(obj1); | |
7881 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7882 | temp2 = True; |
d14a1e28 RD |
7883 | } |
7884 | if (obj2) { | |
7885 | { | |
7886 | arg3 = wxString_in_helper(obj2); | |
7887 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 7888 | temp3 = True; |
d14a1e28 RD |
7889 | } |
7890 | } | |
7891 | if (obj3) { | |
c370783e | 7892 | arg4 = (bool)SWIG_As_bool(obj3); |
2f4c0a16 | 7893 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7894 | } |
7895 | { | |
7896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7897 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7898 | ||
7899 | wxPyEndAllowThreads(__tstate); | |
7900 | if (PyErr_Occurred()) SWIG_fail; | |
7901 | } | |
7902 | Py_INCREF(Py_None); resultobj = Py_None; | |
7903 | { | |
7904 | if (temp2) | |
7905 | delete arg2; | |
7906 | } | |
7907 | { | |
7908 | if (temp3) | |
7909 | delete arg3; | |
7910 | } | |
7911 | return resultobj; | |
7912 | fail: | |
7913 | { | |
7914 | if (temp2) | |
7915 | delete arg2; | |
7916 | } | |
7917 | { | |
7918 | if (temp3) | |
7919 | delete arg3; | |
7920 | } | |
7921 | return NULL; | |
7922 | } | |
7923 | ||
7924 | ||
c370783e | 7925 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7926 | PyObject *resultobj; |
7927 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7928 | wxString *arg2 = 0 ; | |
423f194a | 7929 | bool temp2 = False ; |
d14a1e28 RD |
7930 | PyObject * obj0 = 0 ; |
7931 | PyObject * obj1 = 0 ; | |
7932 | char *kwnames[] = { | |
7933 | (char *) "self",(char *) "htmlfile", NULL | |
7934 | }; | |
7935 | ||
7936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
7938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7939 | { |
7940 | arg2 = wxString_in_helper(obj1); | |
7941 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7942 | temp2 = True; |
d14a1e28 RD |
7943 | } |
7944 | { | |
7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7946 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
7947 | ||
7948 | wxPyEndAllowThreads(__tstate); | |
7949 | if (PyErr_Occurred()) SWIG_fail; | |
7950 | } | |
7951 | Py_INCREF(Py_None); resultobj = Py_None; | |
7952 | { | |
7953 | if (temp2) | |
7954 | delete arg2; | |
7955 | } | |
7956 | return resultobj; | |
7957 | fail: | |
7958 | { | |
7959 | if (temp2) | |
7960 | delete arg2; | |
7961 | } | |
7962 | return NULL; | |
7963 | } | |
7964 | ||
7965 | ||
c370783e | 7966 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7967 | PyObject *resultobj; |
7968 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7969 | wxString *arg2 = 0 ; | |
7970 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 7971 | bool temp2 = False ; |
d14a1e28 RD |
7972 | PyObject * obj0 = 0 ; |
7973 | PyObject * obj1 = 0 ; | |
8edf1c75 | 7974 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7975 | char *kwnames[] = { |
7976 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7977 | }; | |
7978 | ||
8edf1c75 | 7979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
7980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
7981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7982 | { |
7983 | arg2 = wxString_in_helper(obj1); | |
7984 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7985 | temp2 = True; |
d14a1e28 | 7986 | } |
8edf1c75 | 7987 | if (obj2) { |
c370783e | 7988 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 7989 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 7990 | } |
d14a1e28 RD |
7991 | { |
7992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7994 | ||
7995 | wxPyEndAllowThreads(__tstate); | |
7996 | if (PyErr_Occurred()) SWIG_fail; | |
7997 | } | |
7998 | Py_INCREF(Py_None); resultobj = Py_None; | |
7999 | { | |
8000 | if (temp2) | |
8001 | delete arg2; | |
8002 | } | |
8003 | return resultobj; | |
8004 | fail: | |
8005 | { | |
8006 | if (temp2) | |
8007 | delete arg2; | |
8008 | } | |
8009 | return NULL; | |
8010 | } | |
8011 | ||
8012 | ||
c370783e | 8013 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8014 | PyObject *resultobj; |
8015 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8016 | wxString *arg2 = 0 ; | |
8017 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 8018 | bool temp2 = False ; |
d14a1e28 RD |
8019 | PyObject * obj0 = 0 ; |
8020 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8021 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8022 | char *kwnames[] = { |
8023 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8024 | }; | |
8025 | ||
8edf1c75 | 8026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8029 | { |
8030 | arg2 = wxString_in_helper(obj1); | |
8031 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8032 | temp2 = True; |
d14a1e28 | 8033 | } |
8edf1c75 | 8034 | if (obj2) { |
c370783e | 8035 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8036 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8037 | } |
d14a1e28 RD |
8038 | { |
8039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8040 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
8041 | ||
8042 | wxPyEndAllowThreads(__tstate); | |
8043 | if (PyErr_Occurred()) SWIG_fail; | |
8044 | } | |
8045 | Py_INCREF(Py_None); resultobj = Py_None; | |
8046 | { | |
8047 | if (temp2) | |
8048 | delete arg2; | |
8049 | } | |
8050 | return resultobj; | |
8051 | fail: | |
8052 | { | |
8053 | if (temp2) | |
8054 | delete arg2; | |
8055 | } | |
8056 | return NULL; | |
8057 | } | |
8058 | ||
8059 | ||
c370783e | 8060 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8061 | PyObject *resultobj; |
8062 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8063 | wxString arg2 ; | |
8064 | wxString arg3 ; | |
8065 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
8066 | PyObject * obj0 = 0 ; |
8067 | PyObject * obj1 = 0 ; | |
8068 | PyObject * obj2 = 0 ; | |
8069 | PyObject * obj3 = 0 ; | |
8070 | char *kwnames[] = { | |
8071 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8072 | }; | |
8073 | ||
8074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
8075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
8077 | { |
8078 | wxString* sptr = wxString_in_helper(obj1); | |
8079 | if (sptr == NULL) SWIG_fail; | |
8080 | arg2 = *sptr; | |
8081 | delete sptr; | |
8082 | } | |
8083 | { | |
8084 | wxString* sptr = wxString_in_helper(obj2); | |
8085 | if (sptr == NULL) SWIG_fail; | |
8086 | arg3 = *sptr; | |
8087 | delete sptr; | |
8088 | } | |
d14a1e28 RD |
8089 | if (obj3) { |
8090 | arg4 = obj3; | |
8091 | } | |
8092 | { | |
8093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8094 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
8095 | ||
8096 | wxPyEndAllowThreads(__tstate); | |
8097 | if (PyErr_Occurred()) SWIG_fail; | |
8098 | } | |
8099 | Py_INCREF(Py_None); resultobj = Py_None; | |
8100 | return resultobj; | |
8101 | fail: | |
8102 | return NULL; | |
8103 | } | |
8104 | ||
8105 | ||
c370783e | 8106 | static PyObject *_wrap_HtmlPrintout_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
8107 | PyObject *resultobj; |
8108 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8109 | int arg2 = (int) -1 ; | |
8110 | PyObject * obj0 = 0 ; | |
8111 | PyObject * obj1 = 0 ; | |
8112 | char *kwnames[] = { | |
8113 | (char *) "self",(char *) "size", NULL | |
8114 | }; | |
8115 | ||
8116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlPrintout_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
8117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
8118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8119 | if (obj1) { | |
c370783e | 8120 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
8121 | if (PyErr_Occurred()) SWIG_fail; |
8122 | } | |
8123 | { | |
8124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8125 | (arg1)->NormalizeFontSizes(arg2); | |
8126 | ||
8127 | wxPyEndAllowThreads(__tstate); | |
8128 | if (PyErr_Occurred()) SWIG_fail; | |
8129 | } | |
8130 | Py_INCREF(Py_None); resultobj = Py_None; | |
8131 | return resultobj; | |
8132 | fail: | |
8133 | return NULL; | |
8134 | } | |
8135 | ||
8136 | ||
c370783e | 8137 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8138 | PyObject *resultobj; |
8139 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8140 | float arg2 = (float) 25.2 ; | |
8141 | float arg3 = (float) 25.2 ; | |
8142 | float arg4 = (float) 25.2 ; | |
8143 | float arg5 = (float) 25.2 ; | |
8144 | float arg6 = (float) 5 ; | |
8145 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
8146 | PyObject * obj1 = 0 ; |
8147 | PyObject * obj2 = 0 ; | |
8148 | PyObject * obj3 = 0 ; | |
8149 | PyObject * obj4 = 0 ; | |
8150 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
8151 | char *kwnames[] = { |
8152 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
8153 | }; | |
8154 | ||
8edf1c75 | 8155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
8156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, |
8157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8158 | if (obj1) { |
c370783e | 8159 | arg2 = (float)SWIG_As_float(obj1); |
2f4c0a16 | 8160 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8161 | } |
8162 | if (obj2) { | |
c370783e | 8163 | arg3 = (float)SWIG_As_float(obj2); |
2f4c0a16 | 8164 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8165 | } |
8166 | if (obj3) { | |
c370783e | 8167 | arg4 = (float)SWIG_As_float(obj3); |
2f4c0a16 | 8168 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8169 | } |
8170 | if (obj4) { | |
c370783e | 8171 | arg5 = (float)SWIG_As_float(obj4); |
2f4c0a16 | 8172 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 RD |
8173 | } |
8174 | if (obj5) { | |
c370783e | 8175 | arg6 = (float)SWIG_As_float(obj5); |
2f4c0a16 | 8176 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8177 | } |
d14a1e28 RD |
8178 | { |
8179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8180 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
8181 | ||
8182 | wxPyEndAllowThreads(__tstate); | |
8183 | if (PyErr_Occurred()) SWIG_fail; | |
8184 | } | |
8185 | Py_INCREF(Py_None); resultobj = Py_None; | |
8186 | return resultobj; | |
8187 | fail: | |
8188 | return NULL; | |
8189 | } | |
8190 | ||
8191 | ||
c370783e | 8192 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8193 | PyObject *resultobj; |
8194 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
8195 | PyObject * obj0 = 0 ; | |
8196 | char *kwnames[] = { | |
8197 | (char *) "filter", NULL | |
8198 | }; | |
8199 | ||
8200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter, |
8202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8203 | { |
8204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8205 | wxHtmlPrintout::AddFilter(arg1); | |
8206 | ||
8207 | wxPyEndAllowThreads(__tstate); | |
8208 | if (PyErr_Occurred()) SWIG_fail; | |
8209 | } | |
8210 | Py_INCREF(Py_None); resultobj = Py_None; | |
8211 | return resultobj; | |
8212 | fail: | |
8213 | return NULL; | |
8214 | } | |
8215 | ||
8216 | ||
c370783e | 8217 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8218 | PyObject *resultobj; |
8219 | char *kwnames[] = { | |
8220 | NULL | |
8221 | }; | |
8222 | ||
8223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
8224 | { | |
8225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8226 | wxHtmlPrintout::CleanUpStatics(); | |
8227 | ||
8228 | wxPyEndAllowThreads(__tstate); | |
8229 | if (PyErr_Occurred()) SWIG_fail; | |
8230 | } | |
8231 | Py_INCREF(Py_None); resultobj = Py_None; | |
8232 | return resultobj; | |
8233 | fail: | |
8234 | return NULL; | |
8235 | } | |
8236 | ||
8237 | ||
c370783e | 8238 | static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8239 | PyObject *obj; |
8240 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8241 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
8242 | Py_INCREF(obj); | |
8243 | return Py_BuildValue((char *)""); | |
8244 | } | |
c370783e | 8245 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8246 | PyObject *resultobj; |
8247 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
8248 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
8249 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8250 | wxHtmlEasyPrinting *result; | |
423f194a | 8251 | bool temp1 = False ; |
d14a1e28 RD |
8252 | PyObject * obj0 = 0 ; |
8253 | PyObject * obj1 = 0 ; | |
8254 | char *kwnames[] = { | |
8255 | (char *) "name",(char *) "parentWindow", NULL | |
8256 | }; | |
8257 | ||
8258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
8259 | if (obj0) { | |
8260 | { | |
8261 | arg1 = wxString_in_helper(obj0); | |
8262 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 8263 | temp1 = True; |
d14a1e28 RD |
8264 | } |
8265 | } | |
8266 | if (obj1) { | |
2f4c0a16 RD |
8267 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8269 | } |
8270 | { | |
0439c23b | 8271 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8273 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
8274 | ||
8275 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8276 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8277 | } |
2f4c0a16 | 8278 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1); |
d14a1e28 RD |
8279 | { |
8280 | if (temp1) | |
8281 | delete arg1; | |
8282 | } | |
8283 | return resultobj; | |
8284 | fail: | |
8285 | { | |
8286 | if (temp1) | |
8287 | delete arg1; | |
8288 | } | |
8289 | return NULL; | |
8290 | } | |
8291 | ||
8292 | ||
c370783e | 8293 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8294 | PyObject *resultobj; |
8295 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8296 | PyObject * obj0 = 0 ; | |
8297 | char *kwnames[] = { | |
8298 | (char *) "self", NULL | |
8299 | }; | |
8300 | ||
8301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8304 | { |
8305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8306 | delete arg1; | |
8307 | ||
8308 | wxPyEndAllowThreads(__tstate); | |
8309 | if (PyErr_Occurred()) SWIG_fail; | |
8310 | } | |
8311 | Py_INCREF(Py_None); resultobj = Py_None; | |
8312 | return resultobj; | |
8313 | fail: | |
8314 | return NULL; | |
8315 | } | |
8316 | ||
8317 | ||
c370783e | 8318 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8319 | PyObject *resultobj; |
8320 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8321 | wxString *arg2 = 0 ; | |
423f194a | 8322 | bool temp2 = False ; |
d14a1e28 RD |
8323 | PyObject * obj0 = 0 ; |
8324 | PyObject * obj1 = 0 ; | |
8325 | char *kwnames[] = { | |
8326 | (char *) "self",(char *) "htmlfile", NULL | |
8327 | }; | |
8328 | ||
8329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8332 | { |
8333 | arg2 = wxString_in_helper(obj1); | |
8334 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8335 | temp2 = True; |
d14a1e28 RD |
8336 | } |
8337 | { | |
8338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8339 | (arg1)->PreviewFile((wxString const &)*arg2); | |
8340 | ||
8341 | wxPyEndAllowThreads(__tstate); | |
8342 | if (PyErr_Occurred()) SWIG_fail; | |
8343 | } | |
8344 | Py_INCREF(Py_None); resultobj = Py_None; | |
8345 | { | |
8346 | if (temp2) | |
8347 | delete arg2; | |
8348 | } | |
8349 | return resultobj; | |
8350 | fail: | |
8351 | { | |
8352 | if (temp2) | |
8353 | delete arg2; | |
8354 | } | |
8355 | return NULL; | |
8356 | } | |
8357 | ||
8358 | ||
c370783e | 8359 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8360 | PyObject *resultobj; |
8361 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8362 | wxString *arg2 = 0 ; | |
8363 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8364 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
8365 | bool temp2 = False ; |
8366 | bool temp3 = False ; | |
d14a1e28 RD |
8367 | PyObject * obj0 = 0 ; |
8368 | PyObject * obj1 = 0 ; | |
8369 | PyObject * obj2 = 0 ; | |
8370 | char *kwnames[] = { | |
8371 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8372 | }; | |
8373 | ||
8374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8377 | { |
8378 | arg2 = wxString_in_helper(obj1); | |
8379 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8380 | temp2 = True; |
d14a1e28 RD |
8381 | } |
8382 | if (obj2) { | |
8383 | { | |
8384 | arg3 = wxString_in_helper(obj2); | |
8385 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 8386 | temp3 = True; |
d14a1e28 RD |
8387 | } |
8388 | } | |
8389 | { | |
8390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8391 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
8392 | ||
8393 | wxPyEndAllowThreads(__tstate); | |
8394 | if (PyErr_Occurred()) SWIG_fail; | |
8395 | } | |
8396 | Py_INCREF(Py_None); resultobj = Py_None; | |
8397 | { | |
8398 | if (temp2) | |
8399 | delete arg2; | |
8400 | } | |
8401 | { | |
8402 | if (temp3) | |
8403 | delete arg3; | |
8404 | } | |
8405 | return resultobj; | |
8406 | fail: | |
8407 | { | |
8408 | if (temp2) | |
8409 | delete arg2; | |
8410 | } | |
8411 | { | |
8412 | if (temp3) | |
8413 | delete arg3; | |
8414 | } | |
8415 | return NULL; | |
8416 | } | |
8417 | ||
8418 | ||
c370783e | 8419 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8420 | PyObject *resultobj; |
8421 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8422 | wxString *arg2 = 0 ; | |
423f194a | 8423 | bool temp2 = False ; |
d14a1e28 RD |
8424 | PyObject * obj0 = 0 ; |
8425 | PyObject * obj1 = 0 ; | |
8426 | char *kwnames[] = { | |
8427 | (char *) "self",(char *) "htmlfile", NULL | |
8428 | }; | |
8429 | ||
8430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8433 | { |
8434 | arg2 = wxString_in_helper(obj1); | |
8435 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8436 | temp2 = True; |
d14a1e28 RD |
8437 | } |
8438 | { | |
8439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8440 | (arg1)->PrintFile((wxString const &)*arg2); | |
8441 | ||
8442 | wxPyEndAllowThreads(__tstate); | |
8443 | if (PyErr_Occurred()) SWIG_fail; | |
8444 | } | |
8445 | Py_INCREF(Py_None); resultobj = Py_None; | |
8446 | { | |
8447 | if (temp2) | |
8448 | delete arg2; | |
8449 | } | |
8450 | return resultobj; | |
8451 | fail: | |
8452 | { | |
8453 | if (temp2) | |
8454 | delete arg2; | |
8455 | } | |
8456 | return NULL; | |
8457 | } | |
8458 | ||
8459 | ||
c370783e | 8460 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8461 | PyObject *resultobj; |
8462 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8463 | wxString *arg2 = 0 ; | |
8464 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8465 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
8466 | bool temp2 = False ; |
8467 | bool temp3 = False ; | |
d14a1e28 RD |
8468 | PyObject * obj0 = 0 ; |
8469 | PyObject * obj1 = 0 ; | |
8470 | PyObject * obj2 = 0 ; | |
8471 | char *kwnames[] = { | |
8472 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8473 | }; | |
8474 | ||
8475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8478 | { |
8479 | arg2 = wxString_in_helper(obj1); | |
8480 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8481 | temp2 = True; |
d14a1e28 RD |
8482 | } |
8483 | if (obj2) { | |
8484 | { | |
8485 | arg3 = wxString_in_helper(obj2); | |
8486 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 8487 | temp3 = True; |
d14a1e28 RD |
8488 | } |
8489 | } | |
8490 | { | |
8491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8492 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
8493 | ||
8494 | wxPyEndAllowThreads(__tstate); | |
8495 | if (PyErr_Occurred()) SWIG_fail; | |
8496 | } | |
8497 | Py_INCREF(Py_None); resultobj = Py_None; | |
8498 | { | |
8499 | if (temp2) | |
8500 | delete arg2; | |
8501 | } | |
8502 | { | |
8503 | if (temp3) | |
8504 | delete arg3; | |
8505 | } | |
8506 | return resultobj; | |
8507 | fail: | |
8508 | { | |
8509 | if (temp2) | |
8510 | delete arg2; | |
8511 | } | |
8512 | { | |
8513 | if (temp3) | |
8514 | delete arg3; | |
8515 | } | |
8516 | return NULL; | |
8517 | } | |
8518 | ||
8519 | ||
c370783e | 8520 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8521 | PyObject *resultobj; |
8522 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8523 | PyObject * obj0 = 0 ; | |
8524 | char *kwnames[] = { | |
8525 | (char *) "self", NULL | |
8526 | }; | |
8527 | ||
8528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8531 | { |
8532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8533 | (arg1)->PrinterSetup(); | |
8534 | ||
8535 | wxPyEndAllowThreads(__tstate); | |
8536 | if (PyErr_Occurred()) SWIG_fail; | |
8537 | } | |
8538 | Py_INCREF(Py_None); resultobj = Py_None; | |
8539 | return resultobj; | |
8540 | fail: | |
8541 | return NULL; | |
8542 | } | |
8543 | ||
8544 | ||
c370783e | 8545 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8546 | PyObject *resultobj; |
8547 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8548 | PyObject * obj0 = 0 ; | |
8549 | char *kwnames[] = { | |
8550 | (char *) "self", NULL | |
8551 | }; | |
8552 | ||
8553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8556 | { |
8557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8558 | (arg1)->PageSetup(); | |
8559 | ||
8560 | wxPyEndAllowThreads(__tstate); | |
8561 | if (PyErr_Occurred()) SWIG_fail; | |
8562 | } | |
8563 | Py_INCREF(Py_None); resultobj = Py_None; | |
8564 | return resultobj; | |
8565 | fail: | |
8566 | return NULL; | |
8567 | } | |
8568 | ||
8569 | ||
c370783e | 8570 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8571 | PyObject *resultobj; |
8572 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8573 | wxString *arg2 = 0 ; | |
8574 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 8575 | bool temp2 = False ; |
d14a1e28 RD |
8576 | PyObject * obj0 = 0 ; |
8577 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8578 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8579 | char *kwnames[] = { |
8580 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
8581 | }; | |
8582 | ||
8edf1c75 | 8583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8586 | { |
8587 | arg2 = wxString_in_helper(obj1); | |
8588 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8589 | temp2 = True; |
d14a1e28 | 8590 | } |
8edf1c75 | 8591 | if (obj2) { |
c370783e | 8592 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8593 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8594 | } |
d14a1e28 RD |
8595 | { |
8596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8597 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
8598 | ||
8599 | wxPyEndAllowThreads(__tstate); | |
8600 | if (PyErr_Occurred()) SWIG_fail; | |
8601 | } | |
8602 | Py_INCREF(Py_None); resultobj = Py_None; | |
8603 | { | |
8604 | if (temp2) | |
8605 | delete arg2; | |
8606 | } | |
8607 | return resultobj; | |
8608 | fail: | |
8609 | { | |
8610 | if (temp2) | |
8611 | delete arg2; | |
8612 | } | |
8613 | return NULL; | |
8614 | } | |
8615 | ||
8616 | ||
c370783e | 8617 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8618 | PyObject *resultobj; |
8619 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8620 | wxString *arg2 = 0 ; | |
8621 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 8622 | bool temp2 = False ; |
d14a1e28 RD |
8623 | PyObject * obj0 = 0 ; |
8624 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8625 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8626 | char *kwnames[] = { |
8627 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8628 | }; | |
8629 | ||
8edf1c75 | 8630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8633 | { |
8634 | arg2 = wxString_in_helper(obj1); | |
8635 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8636 | temp2 = True; |
d14a1e28 | 8637 | } |
8edf1c75 | 8638 | if (obj2) { |
c370783e | 8639 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 8640 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 8641 | } |
d14a1e28 RD |
8642 | { |
8643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8644 | (arg1)->SetFooter((wxString const &)*arg2,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 | return resultobj; | |
8655 | fail: | |
8656 | { | |
8657 | if (temp2) | |
8658 | delete arg2; | |
8659 | } | |
8660 | return NULL; | |
8661 | } | |
8662 | ||
8663 | ||
c370783e | 8664 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8665 | PyObject *resultobj; |
8666 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8667 | wxString arg2 ; | |
8668 | wxString arg3 ; | |
8669 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
8670 | PyObject * obj0 = 0 ; |
8671 | PyObject * obj1 = 0 ; | |
8672 | PyObject * obj2 = 0 ; | |
8673 | PyObject * obj3 = 0 ; | |
8674 | char *kwnames[] = { | |
8675 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8676 | }; | |
8677 | ||
8678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
8679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
423f194a RD |
8681 | { |
8682 | wxString* sptr = wxString_in_helper(obj1); | |
8683 | if (sptr == NULL) SWIG_fail; | |
8684 | arg2 = *sptr; | |
8685 | delete sptr; | |
8686 | } | |
8687 | { | |
8688 | wxString* sptr = wxString_in_helper(obj2); | |
8689 | if (sptr == NULL) SWIG_fail; | |
8690 | arg3 = *sptr; | |
8691 | delete sptr; | |
8692 | } | |
d14a1e28 RD |
8693 | if (obj3) { |
8694 | arg4 = obj3; | |
8695 | } | |
8696 | { | |
8697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8698 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
8699 | ||
8700 | wxPyEndAllowThreads(__tstate); | |
8701 | if (PyErr_Occurred()) SWIG_fail; | |
8702 | } | |
8703 | Py_INCREF(Py_None); resultobj = Py_None; | |
8704 | return resultobj; | |
8705 | fail: | |
8706 | return NULL; | |
8707 | } | |
8708 | ||
8709 | ||
c370783e | 8710 | static PyObject *_wrap_HtmlEasyPrinting_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) { |
30ee79f7 RD |
8711 | PyObject *resultobj; |
8712 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8713 | int arg2 = (int) -1 ; | |
8714 | PyObject * obj0 = 0 ; | |
8715 | PyObject * obj1 = 0 ; | |
8716 | char *kwnames[] = { | |
8717 | (char *) "self",(char *) "size", NULL | |
8718 | }; | |
8719 | ||
8720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlEasyPrinting_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
8721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8723 | if (obj1) { | |
c370783e | 8724 | arg2 = (int)SWIG_As_int(obj1); |
30ee79f7 RD |
8725 | if (PyErr_Occurred()) SWIG_fail; |
8726 | } | |
8727 | { | |
8728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8729 | (arg1)->NormalizeFontSizes(arg2); | |
8730 | ||
8731 | wxPyEndAllowThreads(__tstate); | |
8732 | if (PyErr_Occurred()) SWIG_fail; | |
8733 | } | |
8734 | Py_INCREF(Py_None); resultobj = Py_None; | |
8735 | return resultobj; | |
8736 | fail: | |
8737 | return NULL; | |
8738 | } | |
8739 | ||
8740 | ||
c370783e | 8741 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8742 | PyObject *resultobj; |
8743 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8744 | wxPrintData *result; | |
8745 | PyObject * obj0 = 0 ; | |
8746 | char *kwnames[] = { | |
8747 | (char *) "self", NULL | |
8748 | }; | |
8749 | ||
8750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8753 | { |
8754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8755 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
8756 | ||
8757 | wxPyEndAllowThreads(__tstate); | |
8758 | if (PyErr_Occurred()) SWIG_fail; | |
8759 | } | |
2f4c0a16 | 8760 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
8761 | return resultobj; |
8762 | fail: | |
8763 | return NULL; | |
8764 | } | |
8765 | ||
8766 | ||
c370783e | 8767 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8768 | PyObject *resultobj; |
8769 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8770 | wxPageSetupDialogData *result; | |
8771 | PyObject * obj0 = 0 ; | |
8772 | char *kwnames[] = { | |
8773 | (char *) "self", NULL | |
8774 | }; | |
8775 | ||
8776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, |
8778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8779 | { |
8780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8781 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
8782 | ||
8783 | wxPyEndAllowThreads(__tstate); | |
8784 | if (PyErr_Occurred()) SWIG_fail; | |
8785 | } | |
2f4c0a16 | 8786 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
8787 | return resultobj; |
8788 | fail: | |
8789 | return NULL; | |
8790 | } | |
8791 | ||
8792 | ||
c370783e | 8793 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8794 | PyObject *obj; |
8795 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8796 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
8797 | Py_INCREF(obj); | |
8798 | return Py_BuildValue((char *)""); | |
8799 | } | |
c370783e | 8800 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8801 | PyObject *resultobj; |
8802 | wxString *arg1 = 0 ; | |
8803 | wxString *arg2 = 0 ; | |
8804 | wxString *arg3 = 0 ; | |
8805 | wxString *arg4 = 0 ; | |
8806 | wxHtmlBookRecord *result; | |
423f194a RD |
8807 | bool temp1 = False ; |
8808 | bool temp2 = False ; | |
8809 | bool temp3 = False ; | |
8810 | bool temp4 = False ; | |
d14a1e28 RD |
8811 | PyObject * obj0 = 0 ; |
8812 | PyObject * obj1 = 0 ; | |
8813 | PyObject * obj2 = 0 ; | |
8814 | PyObject * obj3 = 0 ; | |
8815 | char *kwnames[] = { | |
8816 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
8817 | }; | |
8818 | ||
8819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8820 | { | |
8821 | arg1 = wxString_in_helper(obj0); | |
8822 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 8823 | temp1 = True; |
d14a1e28 RD |
8824 | } |
8825 | { | |
8826 | arg2 = wxString_in_helper(obj1); | |
8827 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 8828 | temp2 = True; |
d14a1e28 RD |
8829 | } |
8830 | { | |
8831 | arg3 = wxString_in_helper(obj2); | |
8832 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 8833 | temp3 = True; |
d14a1e28 RD |
8834 | } |
8835 | { | |
8836 | arg4 = wxString_in_helper(obj3); | |
8837 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 8838 | temp4 = True; |
d14a1e28 RD |
8839 | } |
8840 | { | |
8841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8842 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
8843 | ||
8844 | wxPyEndAllowThreads(__tstate); | |
8845 | if (PyErr_Occurred()) SWIG_fail; | |
8846 | } | |
2f4c0a16 | 8847 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1); |
d14a1e28 RD |
8848 | { |
8849 | if (temp1) | |
8850 | delete arg1; | |
8851 | } | |
8852 | { | |
8853 | if (temp2) | |
8854 | delete arg2; | |
8855 | } | |
8856 | { | |
8857 | if (temp3) | |
8858 | delete arg3; | |
8859 | } | |
8860 | { | |
8861 | if (temp4) | |
8862 | delete arg4; | |
8863 | } | |
8864 | return resultobj; | |
8865 | fail: | |
8866 | { | |
8867 | if (temp1) | |
8868 | delete arg1; | |
8869 | } | |
8870 | { | |
8871 | if (temp2) | |
8872 | delete arg2; | |
8873 | } | |
8874 | { | |
8875 | if (temp3) | |
8876 | delete arg3; | |
8877 | } | |
8878 | { | |
8879 | if (temp4) | |
8880 | delete arg4; | |
8881 | } | |
8882 | return NULL; | |
8883 | } | |
8884 | ||
8885 | ||
c370783e | 8886 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8887 | PyObject *resultobj; |
8888 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8889 | wxString result; | |
8890 | PyObject * obj0 = 0 ; | |
8891 | char *kwnames[] = { | |
8892 | (char *) "self", NULL | |
8893 | }; | |
8894 | ||
8895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
8897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8898 | { |
8899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8900 | result = (arg1)->GetBookFile(); | |
8901 | ||
8902 | wxPyEndAllowThreads(__tstate); | |
8903 | if (PyErr_Occurred()) SWIG_fail; | |
8904 | } | |
8905 | { | |
8906 | #if wxUSE_UNICODE | |
8907 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8908 | #else | |
8909 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8910 | #endif | |
8911 | } | |
8912 | return resultobj; | |
8913 | fail: | |
8914 | return NULL; | |
8915 | } | |
8916 | ||
8917 | ||
c370783e | 8918 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8919 | PyObject *resultobj; |
8920 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8921 | wxString result; | |
8922 | PyObject * obj0 = 0 ; | |
8923 | char *kwnames[] = { | |
8924 | (char *) "self", NULL | |
8925 | }; | |
8926 | ||
8927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
8929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8930 | { |
8931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8932 | result = (arg1)->GetTitle(); | |
8933 | ||
8934 | wxPyEndAllowThreads(__tstate); | |
8935 | if (PyErr_Occurred()) SWIG_fail; | |
8936 | } | |
8937 | { | |
8938 | #if wxUSE_UNICODE | |
8939 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8940 | #else | |
8941 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8942 | #endif | |
8943 | } | |
8944 | return resultobj; | |
8945 | fail: | |
8946 | return NULL; | |
8947 | } | |
8948 | ||
8949 | ||
c370783e | 8950 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8951 | PyObject *resultobj; |
8952 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8953 | wxString result; | |
8954 | PyObject * obj0 = 0 ; | |
8955 | char *kwnames[] = { | |
8956 | (char *) "self", NULL | |
8957 | }; | |
8958 | ||
8959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
8961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8962 | { |
8963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8964 | result = (arg1)->GetStart(); | |
8965 | ||
8966 | wxPyEndAllowThreads(__tstate); | |
8967 | if (PyErr_Occurred()) SWIG_fail; | |
8968 | } | |
8969 | { | |
8970 | #if wxUSE_UNICODE | |
8971 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8972 | #else | |
8973 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8974 | #endif | |
8975 | } | |
8976 | return resultobj; | |
8977 | fail: | |
8978 | return NULL; | |
8979 | } | |
8980 | ||
8981 | ||
c370783e | 8982 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8983 | PyObject *resultobj; |
8984 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8985 | wxString result; | |
8986 | PyObject * obj0 = 0 ; | |
8987 | char *kwnames[] = { | |
8988 | (char *) "self", NULL | |
8989 | }; | |
8990 | ||
8991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
8993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8994 | { |
8995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8996 | result = (arg1)->GetBasePath(); | |
8997 | ||
8998 | wxPyEndAllowThreads(__tstate); | |
8999 | if (PyErr_Occurred()) SWIG_fail; | |
9000 | } | |
9001 | { | |
9002 | #if wxUSE_UNICODE | |
9003 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9004 | #else | |
9005 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9006 | #endif | |
9007 | } | |
9008 | return resultobj; | |
9009 | fail: | |
9010 | return NULL; | |
9011 | } | |
9012 | ||
9013 | ||
c370783e | 9014 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9015 | PyObject *resultobj; |
9016 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9017 | int arg2 ; | |
9018 | int arg3 ; | |
9019 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
9020 | PyObject * obj1 = 0 ; |
9021 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9022 | char *kwnames[] = { |
9023 | (char *) "self",(char *) "start",(char *) "end", NULL | |
9024 | }; | |
9025 | ||
8edf1c75 | 9026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
9027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9029 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 9030 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 9031 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 9032 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9033 | { |
9034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9035 | (arg1)->SetContentsRange(arg2,arg3); | |
9036 | ||
9037 | wxPyEndAllowThreads(__tstate); | |
9038 | if (PyErr_Occurred()) SWIG_fail; | |
9039 | } | |
9040 | Py_INCREF(Py_None); resultobj = Py_None; | |
9041 | return resultobj; | |
9042 | fail: | |
9043 | return NULL; | |
9044 | } | |
9045 | ||
9046 | ||
c370783e | 9047 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9048 | PyObject *resultobj; |
9049 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9050 | int result; | |
9051 | PyObject * obj0 = 0 ; | |
9052 | char *kwnames[] = { | |
9053 | (char *) "self", NULL | |
9054 | }; | |
9055 | ||
9056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9059 | { |
9060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9061 | result = (int)(arg1)->GetContentsStart(); | |
9062 | ||
9063 | wxPyEndAllowThreads(__tstate); | |
9064 | if (PyErr_Occurred()) SWIG_fail; | |
9065 | } | |
c370783e | 9066 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9067 | return resultobj; |
9068 | fail: | |
9069 | return NULL; | |
9070 | } | |
9071 | ||
9072 | ||
c370783e | 9073 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9074 | PyObject *resultobj; |
9075 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9076 | int result; | |
9077 | PyObject * obj0 = 0 ; | |
9078 | char *kwnames[] = { | |
9079 | (char *) "self", NULL | |
9080 | }; | |
9081 | ||
9082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9083 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9085 | { |
9086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9087 | result = (int)(arg1)->GetContentsEnd(); | |
9088 | ||
9089 | wxPyEndAllowThreads(__tstate); | |
9090 | if (PyErr_Occurred()) SWIG_fail; | |
9091 | } | |
c370783e | 9092 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9093 | return resultobj; |
9094 | fail: | |
9095 | return NULL; | |
9096 | } | |
9097 | ||
9098 | ||
c370783e | 9099 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9100 | PyObject *resultobj; |
9101 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9102 | wxString *arg2 = 0 ; | |
423f194a | 9103 | bool temp2 = False ; |
d14a1e28 RD |
9104 | PyObject * obj0 = 0 ; |
9105 | PyObject * obj1 = 0 ; | |
9106 | char *kwnames[] = { | |
9107 | (char *) "self",(char *) "title", NULL | |
9108 | }; | |
9109 | ||
9110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9113 | { |
9114 | arg2 = wxString_in_helper(obj1); | |
9115 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9116 | temp2 = True; |
d14a1e28 RD |
9117 | } |
9118 | { | |
9119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9120 | (arg1)->SetTitle((wxString const &)*arg2); | |
9121 | ||
9122 | wxPyEndAllowThreads(__tstate); | |
9123 | if (PyErr_Occurred()) SWIG_fail; | |
9124 | } | |
9125 | Py_INCREF(Py_None); resultobj = Py_None; | |
9126 | { | |
9127 | if (temp2) | |
9128 | delete arg2; | |
9129 | } | |
9130 | return resultobj; | |
9131 | fail: | |
9132 | { | |
9133 | if (temp2) | |
9134 | delete arg2; | |
9135 | } | |
9136 | return NULL; | |
9137 | } | |
9138 | ||
9139 | ||
c370783e | 9140 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9141 | PyObject *resultobj; |
9142 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9143 | wxString *arg2 = 0 ; | |
423f194a | 9144 | bool temp2 = False ; |
d14a1e28 RD |
9145 | PyObject * obj0 = 0 ; |
9146 | PyObject * obj1 = 0 ; | |
9147 | char *kwnames[] = { | |
9148 | (char *) "self",(char *) "path", NULL | |
9149 | }; | |
9150 | ||
9151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9154 | { |
9155 | arg2 = wxString_in_helper(obj1); | |
9156 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9157 | temp2 = True; |
d14a1e28 RD |
9158 | } |
9159 | { | |
9160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9161 | (arg1)->SetBasePath((wxString const &)*arg2); | |
9162 | ||
9163 | wxPyEndAllowThreads(__tstate); | |
9164 | if (PyErr_Occurred()) SWIG_fail; | |
9165 | } | |
9166 | Py_INCREF(Py_None); resultobj = Py_None; | |
9167 | { | |
9168 | if (temp2) | |
9169 | delete arg2; | |
9170 | } | |
9171 | return resultobj; | |
9172 | fail: | |
9173 | { | |
9174 | if (temp2) | |
9175 | delete arg2; | |
9176 | } | |
9177 | return NULL; | |
9178 | } | |
9179 | ||
9180 | ||
c370783e | 9181 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9182 | PyObject *resultobj; |
9183 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9184 | wxString *arg2 = 0 ; | |
423f194a | 9185 | bool temp2 = False ; |
d14a1e28 RD |
9186 | PyObject * obj0 = 0 ; |
9187 | PyObject * obj1 = 0 ; | |
9188 | char *kwnames[] = { | |
9189 | (char *) "self",(char *) "start", NULL | |
9190 | }; | |
9191 | ||
9192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9195 | { |
9196 | arg2 = wxString_in_helper(obj1); | |
9197 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9198 | temp2 = True; |
d14a1e28 RD |
9199 | } |
9200 | { | |
9201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9202 | (arg1)->SetStart((wxString const &)*arg2); | |
9203 | ||
9204 | wxPyEndAllowThreads(__tstate); | |
9205 | if (PyErr_Occurred()) SWIG_fail; | |
9206 | } | |
9207 | Py_INCREF(Py_None); resultobj = Py_None; | |
9208 | { | |
9209 | if (temp2) | |
9210 | delete arg2; | |
9211 | } | |
9212 | return resultobj; | |
9213 | fail: | |
9214 | { | |
9215 | if (temp2) | |
9216 | delete arg2; | |
9217 | } | |
9218 | return NULL; | |
9219 | } | |
9220 | ||
9221 | ||
c370783e | 9222 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9223 | PyObject *resultobj; |
9224 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9225 | wxString *arg2 = 0 ; | |
9226 | wxString result; | |
423f194a | 9227 | bool temp2 = False ; |
d14a1e28 RD |
9228 | PyObject * obj0 = 0 ; |
9229 | PyObject * obj1 = 0 ; | |
9230 | char *kwnames[] = { | |
9231 | (char *) "self",(char *) "page", NULL | |
9232 | }; | |
9233 | ||
9234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, |
9236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9237 | { |
9238 | arg2 = wxString_in_helper(obj1); | |
9239 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9240 | temp2 = True; |
d14a1e28 RD |
9241 | } |
9242 | { | |
9243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9244 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
9245 | ||
9246 | wxPyEndAllowThreads(__tstate); | |
9247 | if (PyErr_Occurred()) SWIG_fail; | |
9248 | } | |
9249 | { | |
9250 | #if wxUSE_UNICODE | |
9251 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9252 | #else | |
9253 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9254 | #endif | |
9255 | } | |
9256 | { | |
9257 | if (temp2) | |
9258 | delete arg2; | |
9259 | } | |
9260 | return resultobj; | |
9261 | fail: | |
9262 | { | |
9263 | if (temp2) | |
9264 | delete arg2; | |
9265 | } | |
9266 | return NULL; | |
9267 | } | |
9268 | ||
9269 | ||
c370783e | 9270 | static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9271 | PyObject *obj; |
9272 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9273 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
9274 | Py_INCREF(obj); | |
9275 | return Py_BuildValue((char *)""); | |
9276 | } | |
c370783e | 9277 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9278 | PyObject *resultobj; |
9279 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9280 | int result; | |
9281 | PyObject * obj0 = 0 ; | |
9282 | char *kwnames[] = { | |
9283 | (char *) "self", NULL | |
9284 | }; | |
9285 | ||
9286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9289 | { |
9290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9291 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
9292 | ||
9293 | wxPyEndAllowThreads(__tstate); | |
9294 | if (PyErr_Occurred()) SWIG_fail; | |
9295 | } | |
c370783e | 9296 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9297 | return resultobj; |
9298 | fail: | |
9299 | return NULL; | |
9300 | } | |
9301 | ||
9302 | ||
c370783e | 9303 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9304 | PyObject *resultobj; |
9305 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9306 | int result; | |
9307 | PyObject * obj0 = 0 ; | |
9308 | char *kwnames[] = { | |
9309 | (char *) "self", NULL | |
9310 | }; | |
9311 | ||
9312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9315 | { |
9316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9317 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
9318 | ||
9319 | wxPyEndAllowThreads(__tstate); | |
9320 | if (PyErr_Occurred()) SWIG_fail; | |
9321 | } | |
c370783e | 9322 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9323 | return resultobj; |
9324 | fail: | |
9325 | return NULL; | |
9326 | } | |
9327 | ||
9328 | ||
c370783e | 9329 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9330 | PyObject *resultobj; |
9331 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9332 | wxString result; | |
9333 | PyObject * obj0 = 0 ; | |
9334 | char *kwnames[] = { | |
9335 | (char *) "self", NULL | |
9336 | }; | |
9337 | ||
9338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9341 | { |
9342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9343 | result = wxHtmlContentsItem_GetName(arg1); | |
9344 | ||
9345 | wxPyEndAllowThreads(__tstate); | |
9346 | if (PyErr_Occurred()) SWIG_fail; | |
9347 | } | |
9348 | { | |
9349 | #if wxUSE_UNICODE | |
9350 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9351 | #else | |
9352 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9353 | #endif | |
9354 | } | |
9355 | return resultobj; | |
9356 | fail: | |
9357 | return NULL; | |
9358 | } | |
9359 | ||
9360 | ||
c370783e | 9361 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9362 | PyObject *resultobj; |
9363 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9364 | wxString result; | |
9365 | PyObject * obj0 = 0 ; | |
9366 | char *kwnames[] = { | |
9367 | (char *) "self", NULL | |
9368 | }; | |
9369 | ||
9370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9373 | { |
9374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9375 | result = wxHtmlContentsItem_GetPage(arg1); | |
9376 | ||
9377 | wxPyEndAllowThreads(__tstate); | |
9378 | if (PyErr_Occurred()) SWIG_fail; | |
9379 | } | |
9380 | { | |
9381 | #if wxUSE_UNICODE | |
9382 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9383 | #else | |
9384 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9385 | #endif | |
9386 | } | |
9387 | return resultobj; | |
9388 | fail: | |
9389 | return NULL; | |
9390 | } | |
9391 | ||
9392 | ||
c370783e | 9393 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9394 | PyObject *resultobj; |
9395 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9396 | wxHtmlBookRecord *result; | |
9397 | PyObject * obj0 = 0 ; | |
9398 | char *kwnames[] = { | |
9399 | (char *) "self", NULL | |
9400 | }; | |
9401 | ||
9402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, |
9404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9405 | { |
9406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9407 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
9408 | ||
9409 | wxPyEndAllowThreads(__tstate); | |
9410 | if (PyErr_Occurred()) SWIG_fail; | |
9411 | } | |
2f4c0a16 | 9412 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0); |
d14a1e28 RD |
9413 | return resultobj; |
9414 | fail: | |
9415 | return NULL; | |
9416 | } | |
9417 | ||
9418 | ||
c370783e | 9419 | static PyObject * HtmlContentsItem_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9420 | PyObject *obj; |
9421 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9422 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
9423 | Py_INCREF(obj); | |
9424 | return Py_BuildValue((char *)""); | |
9425 | } | |
c370783e | 9426 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9427 | PyObject *resultobj; |
9428 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9429 | bool result; | |
9430 | PyObject * obj0 = 0 ; | |
9431 | char *kwnames[] = { | |
9432 | (char *) "self", NULL | |
9433 | }; | |
9434 | ||
9435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9438 | { |
9439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9440 | result = (bool)(arg1)->Search(); | |
9441 | ||
9442 | wxPyEndAllowThreads(__tstate); | |
9443 | if (PyErr_Occurred()) SWIG_fail; | |
9444 | } | |
fbc46b20 RD |
9445 | { |
9446 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9447 | } | |
d14a1e28 RD |
9448 | return resultobj; |
9449 | fail: | |
9450 | return NULL; | |
9451 | } | |
9452 | ||
9453 | ||
c370783e | 9454 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9455 | PyObject *resultobj; |
9456 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9457 | bool result; | |
9458 | PyObject * obj0 = 0 ; | |
9459 | char *kwnames[] = { | |
9460 | (char *) "self", NULL | |
9461 | }; | |
9462 | ||
9463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9466 | { |
9467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9468 | result = (bool)(arg1)->IsActive(); | |
9469 | ||
9470 | wxPyEndAllowThreads(__tstate); | |
9471 | if (PyErr_Occurred()) SWIG_fail; | |
9472 | } | |
fbc46b20 RD |
9473 | { |
9474 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9475 | } | |
d14a1e28 RD |
9476 | return resultobj; |
9477 | fail: | |
9478 | return NULL; | |
9479 | } | |
9480 | ||
9481 | ||
c370783e | 9482 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9483 | PyObject *resultobj; |
9484 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9485 | int result; | |
9486 | PyObject * obj0 = 0 ; | |
9487 | char *kwnames[] = { | |
9488 | (char *) "self", NULL | |
9489 | }; | |
9490 | ||
9491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9494 | { |
9495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9496 | result = (int)(arg1)->GetCurIndex(); | |
9497 | ||
9498 | wxPyEndAllowThreads(__tstate); | |
9499 | if (PyErr_Occurred()) SWIG_fail; | |
9500 | } | |
c370783e | 9501 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9502 | return resultobj; |
9503 | fail: | |
9504 | return NULL; | |
9505 | } | |
9506 | ||
9507 | ||
c370783e | 9508 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9509 | PyObject *resultobj; |
9510 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9511 | int result; | |
9512 | PyObject * obj0 = 0 ; | |
9513 | char *kwnames[] = { | |
9514 | (char *) "self", NULL | |
9515 | }; | |
9516 | ||
9517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9518 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9519 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9520 | { |
9521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9522 | result = (int)(arg1)->GetMaxIndex(); | |
9523 | ||
9524 | wxPyEndAllowThreads(__tstate); | |
9525 | if (PyErr_Occurred()) SWIG_fail; | |
9526 | } | |
c370783e | 9527 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9528 | return resultobj; |
9529 | fail: | |
9530 | return NULL; | |
9531 | } | |
9532 | ||
9533 | ||
c370783e | 9534 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9535 | PyObject *resultobj; |
9536 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9537 | wxString *result; | |
9538 | PyObject * obj0 = 0 ; | |
9539 | char *kwnames[] = { | |
9540 | (char *) "self", NULL | |
9541 | }; | |
9542 | ||
9543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9546 | { |
9547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9548 | { | |
9549 | wxString const &_result_ref = (arg1)->GetName(); | |
9550 | result = (wxString *) &_result_ref; | |
9551 | } | |
9552 | ||
9553 | wxPyEndAllowThreads(__tstate); | |
9554 | if (PyErr_Occurred()) SWIG_fail; | |
9555 | } | |
0f774bef RD |
9556 | { |
9557 | #if wxUSE_UNICODE | |
9558 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
9559 | #else | |
9560 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
9561 | #endif | |
9562 | } | |
d14a1e28 RD |
9563 | return resultobj; |
9564 | fail: | |
9565 | return NULL; | |
9566 | } | |
9567 | ||
9568 | ||
c370783e | 9569 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9570 | PyObject *resultobj; |
9571 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9572 | wxHtmlContentsItem *result; | |
9573 | PyObject * obj0 = 0 ; | |
9574 | char *kwnames[] = { | |
9575 | (char *) "self", NULL | |
9576 | }; | |
9577 | ||
9578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, |
9580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9581 | { |
9582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9583 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
9584 | ||
9585 | wxPyEndAllowThreads(__tstate); | |
9586 | if (PyErr_Occurred()) SWIG_fail; | |
9587 | } | |
2f4c0a16 | 9588 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); |
d14a1e28 RD |
9589 | return resultobj; |
9590 | fail: | |
9591 | return NULL; | |
9592 | } | |
9593 | ||
9594 | ||
c370783e | 9595 | static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9596 | PyObject *obj; |
9597 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9598 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
9599 | Py_INCREF(obj); | |
9600 | return Py_BuildValue((char *)""); | |
9601 | } | |
c370783e | 9602 | static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9603 | PyObject *resultobj; |
9604 | wxHtmlHelpData *result; | |
9605 | char *kwnames[] = { | |
9606 | NULL | |
9607 | }; | |
9608 | ||
9609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
9610 | { | |
9611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9612 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
9613 | ||
9614 | wxPyEndAllowThreads(__tstate); | |
9615 | if (PyErr_Occurred()) SWIG_fail; | |
9616 | } | |
2f4c0a16 | 9617 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1); |
d14a1e28 RD |
9618 | return resultobj; |
9619 | fail: | |
9620 | return NULL; | |
9621 | } | |
9622 | ||
9623 | ||
c370783e | 9624 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9625 | PyObject *resultobj; |
9626 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9627 | PyObject * obj0 = 0 ; | |
9628 | char *kwnames[] = { | |
9629 | (char *) "self", NULL | |
9630 | }; | |
9631 | ||
9632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9635 | { |
9636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9637 | delete arg1; | |
9638 | ||
9639 | wxPyEndAllowThreads(__tstate); | |
9640 | if (PyErr_Occurred()) SWIG_fail; | |
9641 | } | |
9642 | Py_INCREF(Py_None); resultobj = Py_None; | |
9643 | return resultobj; | |
9644 | fail: | |
9645 | return NULL; | |
9646 | } | |
9647 | ||
9648 | ||
c370783e | 9649 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9650 | PyObject *resultobj; |
9651 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9652 | wxString *arg2 = 0 ; | |
423f194a | 9653 | bool temp2 = False ; |
d14a1e28 RD |
9654 | PyObject * obj0 = 0 ; |
9655 | PyObject * obj1 = 0 ; | |
9656 | char *kwnames[] = { | |
9657 | (char *) "self",(char *) "path", NULL | |
9658 | }; | |
9659 | ||
9660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9663 | { |
9664 | arg2 = wxString_in_helper(obj1); | |
9665 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9666 | temp2 = True; |
d14a1e28 RD |
9667 | } |
9668 | { | |
9669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9670 | (arg1)->SetTempDir((wxString const &)*arg2); | |
9671 | ||
9672 | wxPyEndAllowThreads(__tstate); | |
9673 | if (PyErr_Occurred()) SWIG_fail; | |
9674 | } | |
9675 | Py_INCREF(Py_None); resultobj = Py_None; | |
9676 | { | |
9677 | if (temp2) | |
9678 | delete arg2; | |
9679 | } | |
9680 | return resultobj; | |
9681 | fail: | |
9682 | { | |
9683 | if (temp2) | |
9684 | delete arg2; | |
9685 | } | |
9686 | return NULL; | |
9687 | } | |
9688 | ||
9689 | ||
c370783e | 9690 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9691 | PyObject *resultobj; |
9692 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9693 | wxString *arg2 = 0 ; | |
9694 | bool result; | |
423f194a | 9695 | bool temp2 = False ; |
d14a1e28 RD |
9696 | PyObject * obj0 = 0 ; |
9697 | PyObject * obj1 = 0 ; | |
9698 | char *kwnames[] = { | |
9699 | (char *) "self",(char *) "book", NULL | |
9700 | }; | |
9701 | ||
9702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9705 | { |
9706 | arg2 = wxString_in_helper(obj1); | |
9707 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9708 | temp2 = True; |
d14a1e28 RD |
9709 | } |
9710 | { | |
9711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9712 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
9713 | ||
9714 | wxPyEndAllowThreads(__tstate); | |
9715 | if (PyErr_Occurred()) SWIG_fail; | |
9716 | } | |
fbc46b20 RD |
9717 | { |
9718 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9719 | } | |
d14a1e28 RD |
9720 | { |
9721 | if (temp2) | |
9722 | delete arg2; | |
9723 | } | |
9724 | return resultobj; | |
9725 | fail: | |
9726 | { | |
9727 | if (temp2) | |
9728 | delete arg2; | |
9729 | } | |
9730 | return NULL; | |
9731 | } | |
9732 | ||
9733 | ||
c370783e | 9734 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9735 | PyObject *resultobj; |
9736 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9737 | wxString *arg2 = 0 ; | |
9738 | wxString result; | |
423f194a | 9739 | bool temp2 = False ; |
d14a1e28 RD |
9740 | PyObject * obj0 = 0 ; |
9741 | PyObject * obj1 = 0 ; | |
9742 | char *kwnames[] = { | |
9743 | (char *) "self",(char *) "page", NULL | |
9744 | }; | |
9745 | ||
9746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9749 | { |
9750 | arg2 = wxString_in_helper(obj1); | |
9751 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 9752 | temp2 = True; |
d14a1e28 RD |
9753 | } |
9754 | { | |
9755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9756 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
9757 | ||
9758 | wxPyEndAllowThreads(__tstate); | |
9759 | if (PyErr_Occurred()) SWIG_fail; | |
9760 | } | |
9761 | { | |
9762 | #if wxUSE_UNICODE | |
9763 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9764 | #else | |
9765 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9766 | #endif | |
9767 | } | |
9768 | { | |
9769 | if (temp2) | |
9770 | delete arg2; | |
9771 | } | |
9772 | return resultobj; | |
9773 | fail: | |
9774 | { | |
9775 | if (temp2) | |
9776 | delete arg2; | |
9777 | } | |
9778 | return NULL; | |
9779 | } | |
9780 | ||
9781 | ||
c370783e | 9782 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9783 | PyObject *resultobj; |
9784 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9785 | int arg2 ; | |
9786 | wxString result; | |
9787 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9788 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9789 | char *kwnames[] = { |
9790 | (char *) "self",(char *) "id", NULL | |
9791 | }; | |
9792 | ||
8edf1c75 | 9793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
9794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9796 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 9797 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9798 | { |
9799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9800 | result = (arg1)->FindPageById(arg2); | |
9801 | ||
9802 | wxPyEndAllowThreads(__tstate); | |
9803 | if (PyErr_Occurred()) SWIG_fail; | |
9804 | } | |
9805 | { | |
9806 | #if wxUSE_UNICODE | |
9807 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9808 | #else | |
9809 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9810 | #endif | |
9811 | } | |
9812 | return resultobj; | |
9813 | fail: | |
9814 | return NULL; | |
9815 | } | |
9816 | ||
9817 | ||
c370783e | 9818 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9819 | PyObject *resultobj; |
9820 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9821 | wxHtmlBookRecArray *result; | |
9822 | PyObject * obj0 = 0 ; | |
9823 | char *kwnames[] = { | |
9824 | (char *) "self", NULL | |
9825 | }; | |
9826 | ||
9827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9830 | { |
9831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9832 | { | |
9833 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
9834 | result = (wxHtmlBookRecArray *) &_result_ref; | |
9835 | } | |
9836 | ||
9837 | wxPyEndAllowThreads(__tstate); | |
9838 | if (PyErr_Occurred()) SWIG_fail; | |
9839 | } | |
2f4c0a16 | 9840 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0); |
d14a1e28 RD |
9841 | return resultobj; |
9842 | fail: | |
9843 | return NULL; | |
9844 | } | |
9845 | ||
9846 | ||
c370783e | 9847 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9848 | PyObject *resultobj; |
9849 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9850 | wxHtmlContentsItem *result; | |
9851 | PyObject * obj0 = 0 ; | |
9852 | char *kwnames[] = { | |
9853 | (char *) "self", NULL | |
9854 | }; | |
9855 | ||
9856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9859 | { |
9860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9861 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
9862 | ||
9863 | wxPyEndAllowThreads(__tstate); | |
9864 | if (PyErr_Occurred()) SWIG_fail; | |
9865 | } | |
2f4c0a16 | 9866 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); |
d14a1e28 RD |
9867 | return resultobj; |
9868 | fail: | |
9869 | return NULL; | |
9870 | } | |
9871 | ||
9872 | ||
c370783e | 9873 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9874 | PyObject *resultobj; |
9875 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9876 | int result; | |
9877 | PyObject * obj0 = 0 ; | |
9878 | char *kwnames[] = { | |
9879 | (char *) "self", NULL | |
9880 | }; | |
9881 | ||
9882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9885 | { |
9886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9887 | result = (int)(arg1)->GetContentsCnt(); | |
9888 | ||
9889 | wxPyEndAllowThreads(__tstate); | |
9890 | if (PyErr_Occurred()) SWIG_fail; | |
9891 | } | |
c370783e | 9892 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9893 | return resultobj; |
9894 | fail: | |
9895 | return NULL; | |
9896 | } | |
9897 | ||
9898 | ||
c370783e | 9899 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9900 | PyObject *resultobj; |
9901 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9902 | wxHtmlContentsItem *result; | |
9903 | PyObject * obj0 = 0 ; | |
9904 | char *kwnames[] = { | |
9905 | (char *) "self", NULL | |
9906 | }; | |
9907 | ||
9908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9911 | { |
9912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9913 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
9914 | ||
9915 | wxPyEndAllowThreads(__tstate); | |
9916 | if (PyErr_Occurred()) SWIG_fail; | |
9917 | } | |
2f4c0a16 | 9918 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); |
d14a1e28 RD |
9919 | return resultobj; |
9920 | fail: | |
9921 | return NULL; | |
9922 | } | |
9923 | ||
9924 | ||
c370783e | 9925 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9926 | PyObject *resultobj; |
9927 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9928 | int result; | |
9929 | PyObject * obj0 = 0 ; | |
9930 | char *kwnames[] = { | |
9931 | (char *) "self", NULL | |
9932 | }; | |
9933 | ||
9934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, |
9936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9937 | { |
9938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9939 | result = (int)(arg1)->GetIndexCnt(); | |
9940 | ||
9941 | wxPyEndAllowThreads(__tstate); | |
9942 | if (PyErr_Occurred()) SWIG_fail; | |
9943 | } | |
c370783e | 9944 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9945 | return resultobj; |
9946 | fail: | |
9947 | return NULL; | |
9948 | } | |
9949 | ||
9950 | ||
c370783e | 9951 | static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9952 | PyObject *obj; |
9953 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9954 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
9955 | Py_INCREF(obj); | |
9956 | return Py_BuildValue((char *)""); | |
9957 | } | |
c370783e | 9958 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9959 | PyObject *resultobj; |
9960 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9961 | int arg2 ; | |
9962 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9963 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9964 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
9965 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
9966 | wxHtmlHelpFrame *result; | |
423f194a | 9967 | bool temp3 = False ; |
d14a1e28 | 9968 | PyObject * obj0 = 0 ; |
8edf1c75 | 9969 | PyObject * obj1 = 0 ; |
d14a1e28 | 9970 | PyObject * obj2 = 0 ; |
8edf1c75 | 9971 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
9972 | PyObject * obj4 = 0 ; |
9973 | char *kwnames[] = { | |
423f194a | 9974 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL |
d14a1e28 RD |
9975 | }; |
9976 | ||
8edf1c75 | 9977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
9978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9980 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 9981 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9982 | if (obj2) { |
9983 | { | |
9984 | arg3 = wxString_in_helper(obj2); | |
9985 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 9986 | temp3 = True; |
d14a1e28 RD |
9987 | } |
9988 | } | |
8edf1c75 | 9989 | if (obj3) { |
c370783e | 9990 | arg4 = (int)SWIG_As_int(obj3); |
2f4c0a16 | 9991 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 9992 | } |
d14a1e28 | 9993 | if (obj4) { |
2f4c0a16 RD |
9994 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData, |
9995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9996 | } |
9997 | { | |
0439c23b | 9998 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10000 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
10001 | ||
10002 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10003 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10004 | } |
2f4c0a16 | 10005 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); |
d14a1e28 RD |
10006 | { |
10007 | if (temp3) | |
10008 | delete arg3; | |
10009 | } | |
10010 | return resultobj; | |
10011 | fail: | |
10012 | { | |
10013 | if (temp3) | |
10014 | delete arg3; | |
10015 | } | |
10016 | return NULL; | |
10017 | } | |
10018 | ||
10019 | ||
c370783e | 10020 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10021 | PyObject *resultobj; |
10022 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10023 | wxHtmlHelpData *result; | |
10024 | PyObject * obj0 = 0 ; | |
10025 | char *kwnames[] = { | |
10026 | (char *) "self", NULL | |
10027 | }; | |
10028 | ||
10029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10032 | { |
10033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10034 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
10035 | ||
10036 | wxPyEndAllowThreads(__tstate); | |
10037 | if (PyErr_Occurred()) SWIG_fail; | |
10038 | } | |
2f4c0a16 | 10039 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); |
d14a1e28 RD |
10040 | return resultobj; |
10041 | fail: | |
10042 | return NULL; | |
10043 | } | |
10044 | ||
10045 | ||
c370783e | 10046 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10047 | PyObject *resultobj; |
10048 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10049 | wxString *arg2 = 0 ; | |
423f194a | 10050 | bool temp2 = False ; |
d14a1e28 RD |
10051 | PyObject * obj0 = 0 ; |
10052 | PyObject * obj1 = 0 ; | |
10053 | char *kwnames[] = { | |
10054 | (char *) "self",(char *) "format", NULL | |
10055 | }; | |
10056 | ||
10057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10060 | { |
10061 | arg2 = wxString_in_helper(obj1); | |
10062 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10063 | temp2 = True; |
d14a1e28 RD |
10064 | } |
10065 | { | |
10066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10067 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10068 | ||
10069 | wxPyEndAllowThreads(__tstate); | |
10070 | if (PyErr_Occurred()) SWIG_fail; | |
10071 | } | |
10072 | Py_INCREF(Py_None); resultobj = Py_None; | |
10073 | { | |
10074 | if (temp2) | |
10075 | delete arg2; | |
10076 | } | |
10077 | return resultobj; | |
10078 | fail: | |
10079 | { | |
10080 | if (temp2) | |
10081 | delete arg2; | |
10082 | } | |
10083 | return NULL; | |
10084 | } | |
10085 | ||
10086 | ||
c370783e | 10087 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10088 | PyObject *resultobj; |
10089 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10090 | wxString *arg2 = 0 ; | |
423f194a | 10091 | bool temp2 = False ; |
d14a1e28 RD |
10092 | PyObject * obj0 = 0 ; |
10093 | PyObject * obj1 = 0 ; | |
10094 | char *kwnames[] = { | |
10095 | (char *) "self",(char *) "x", NULL | |
10096 | }; | |
10097 | ||
10098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10101 | { |
10102 | arg2 = wxString_in_helper(obj1); | |
10103 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10104 | temp2 = True; |
d14a1e28 RD |
10105 | } |
10106 | { | |
10107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10108 | (arg1)->Display((wxString const &)*arg2); | |
10109 | ||
10110 | wxPyEndAllowThreads(__tstate); | |
10111 | if (PyErr_Occurred()) SWIG_fail; | |
10112 | } | |
10113 | Py_INCREF(Py_None); resultobj = Py_None; | |
10114 | { | |
10115 | if (temp2) | |
10116 | delete arg2; | |
10117 | } | |
10118 | return resultobj; | |
10119 | fail: | |
10120 | { | |
10121 | if (temp2) | |
10122 | delete arg2; | |
10123 | } | |
10124 | return NULL; | |
10125 | } | |
10126 | ||
10127 | ||
c370783e | 10128 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10129 | PyObject *resultobj; |
10130 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10131 | int arg2 ; | |
10132 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10133 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10134 | char *kwnames[] = { |
10135 | (char *) "self",(char *) "id", NULL | |
10136 | }; | |
10137 | ||
8edf1c75 | 10138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10141 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 10142 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10143 | { |
10144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10145 | (arg1)->Display(arg2); | |
10146 | ||
10147 | wxPyEndAllowThreads(__tstate); | |
10148 | if (PyErr_Occurred()) SWIG_fail; | |
10149 | } | |
10150 | Py_INCREF(Py_None); resultobj = Py_None; | |
10151 | return resultobj; | |
10152 | fail: | |
10153 | return NULL; | |
10154 | } | |
10155 | ||
10156 | ||
c370783e | 10157 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10158 | PyObject *resultobj; |
10159 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10160 | PyObject * obj0 = 0 ; | |
10161 | char *kwnames[] = { | |
10162 | (char *) "self", NULL | |
10163 | }; | |
10164 | ||
10165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10168 | { |
10169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10170 | (arg1)->DisplayContents(); | |
10171 | ||
10172 | wxPyEndAllowThreads(__tstate); | |
10173 | if (PyErr_Occurred()) SWIG_fail; | |
10174 | } | |
10175 | Py_INCREF(Py_None); resultobj = Py_None; | |
10176 | return resultobj; | |
10177 | fail: | |
10178 | return NULL; | |
10179 | } | |
10180 | ||
10181 | ||
c370783e | 10182 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10183 | PyObject *resultobj; |
10184 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10185 | PyObject * obj0 = 0 ; | |
10186 | char *kwnames[] = { | |
10187 | (char *) "self", NULL | |
10188 | }; | |
10189 | ||
10190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10193 | { |
10194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10195 | (arg1)->DisplayIndex(); | |
10196 | ||
10197 | wxPyEndAllowThreads(__tstate); | |
10198 | if (PyErr_Occurred()) SWIG_fail; | |
10199 | } | |
10200 | Py_INCREF(Py_None); resultobj = Py_None; | |
10201 | return resultobj; | |
10202 | fail: | |
10203 | return NULL; | |
10204 | } | |
10205 | ||
10206 | ||
c370783e | 10207 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10208 | PyObject *resultobj; |
10209 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10210 | wxString *arg2 = 0 ; | |
10211 | bool result; | |
423f194a | 10212 | bool temp2 = False ; |
d14a1e28 RD |
10213 | PyObject * obj0 = 0 ; |
10214 | PyObject * obj1 = 0 ; | |
10215 | char *kwnames[] = { | |
10216 | (char *) "self",(char *) "keyword", NULL | |
10217 | }; | |
10218 | ||
10219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10222 | { |
10223 | arg2 = wxString_in_helper(obj1); | |
10224 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10225 | temp2 = True; |
d14a1e28 RD |
10226 | } |
10227 | { | |
10228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10229 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10230 | ||
10231 | wxPyEndAllowThreads(__tstate); | |
10232 | if (PyErr_Occurred()) SWIG_fail; | |
10233 | } | |
fbc46b20 RD |
10234 | { |
10235 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10236 | } | |
d14a1e28 RD |
10237 | { |
10238 | if (temp2) | |
10239 | delete arg2; | |
10240 | } | |
10241 | return resultobj; | |
10242 | fail: | |
10243 | { | |
10244 | if (temp2) | |
10245 | delete arg2; | |
10246 | } | |
10247 | return NULL; | |
10248 | } | |
10249 | ||
10250 | ||
c370783e | 10251 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10252 | PyObject *resultobj; |
10253 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10254 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10255 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10256 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a | 10257 | bool temp3 = False ; |
d14a1e28 RD |
10258 | PyObject * obj0 = 0 ; |
10259 | PyObject * obj1 = 0 ; | |
10260 | PyObject * obj2 = 0 ; | |
10261 | char *kwnames[] = { | |
10262 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10263 | }; | |
10264 | ||
10265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10268 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10270 | if (obj2) { |
10271 | { | |
10272 | arg3 = wxString_in_helper(obj2); | |
10273 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10274 | temp3 = True; |
d14a1e28 RD |
10275 | } |
10276 | } | |
10277 | { | |
10278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10279 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10280 | ||
10281 | wxPyEndAllowThreads(__tstate); | |
10282 | if (PyErr_Occurred()) SWIG_fail; | |
10283 | } | |
10284 | Py_INCREF(Py_None); resultobj = Py_None; | |
10285 | { | |
10286 | if (temp3) | |
10287 | delete arg3; | |
10288 | } | |
10289 | return resultobj; | |
10290 | fail: | |
10291 | { | |
10292 | if (temp3) | |
10293 | delete arg3; | |
10294 | } | |
10295 | return NULL; | |
10296 | } | |
10297 | ||
10298 | ||
c370783e | 10299 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10300 | PyObject *resultobj; |
10301 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10302 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10303 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10304 | PyObject * obj0 = 0 ; |
10305 | PyObject * obj1 = 0 ; | |
10306 | PyObject * obj2 = 0 ; | |
10307 | char *kwnames[] = { | |
10308 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10309 | }; | |
10310 | ||
10311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10314 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10316 | if (obj2) { |
423f194a RD |
10317 | { |
10318 | wxString* sptr = wxString_in_helper(obj2); | |
10319 | if (sptr == NULL) SWIG_fail; | |
10320 | arg3 = *sptr; | |
10321 | delete sptr; | |
10322 | } | |
d14a1e28 RD |
10323 | } |
10324 | { | |
10325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10326 | (arg1)->ReadCustomization(arg2,arg3); | |
10327 | ||
10328 | wxPyEndAllowThreads(__tstate); | |
10329 | if (PyErr_Occurred()) SWIG_fail; | |
10330 | } | |
10331 | Py_INCREF(Py_None); resultobj = Py_None; | |
10332 | return resultobj; | |
10333 | fail: | |
10334 | return NULL; | |
10335 | } | |
10336 | ||
10337 | ||
c370783e | 10338 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10339 | PyObject *resultobj; |
10340 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10341 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10342 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10343 | PyObject * obj0 = 0 ; |
10344 | PyObject * obj1 = 0 ; | |
10345 | PyObject * obj2 = 0 ; | |
10346 | char *kwnames[] = { | |
10347 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10348 | }; | |
10349 | ||
10350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10351 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, |
10352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10353 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10355 | if (obj2) { |
423f194a RD |
10356 | { |
10357 | wxString* sptr = wxString_in_helper(obj2); | |
10358 | if (sptr == NULL) SWIG_fail; | |
10359 | arg3 = *sptr; | |
10360 | delete sptr; | |
10361 | } | |
d14a1e28 RD |
10362 | } |
10363 | { | |
10364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10365 | (arg1)->WriteCustomization(arg2,arg3); | |
10366 | ||
10367 | wxPyEndAllowThreads(__tstate); | |
10368 | if (PyErr_Occurred()) SWIG_fail; | |
10369 | } | |
10370 | Py_INCREF(Py_None); resultobj = Py_None; | |
10371 | return resultobj; | |
10372 | fail: | |
10373 | return NULL; | |
10374 | } | |
10375 | ||
10376 | ||
c370783e | 10377 | static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10378 | PyObject *obj; |
10379 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10380 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
10381 | Py_INCREF(obj); | |
10382 | return Py_BuildValue((char *)""); | |
10383 | } | |
c370783e | 10384 | static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10385 | PyObject *resultobj; |
10386 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
10387 | wxHtmlHelpController *result; | |
8edf1c75 | 10388 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10389 | char *kwnames[] = { |
10390 | (char *) "style", NULL | |
10391 | }; | |
10392 | ||
8edf1c75 RD |
10393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail; |
10394 | if (obj0) { | |
c370783e | 10395 | arg1 = (int)SWIG_As_int(obj0); |
2f4c0a16 | 10396 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 10397 | } |
d14a1e28 | 10398 | { |
0439c23b | 10399 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10401 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
10402 | ||
10403 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10404 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10405 | } |
2f4c0a16 | 10406 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); |
d14a1e28 RD |
10407 | return resultobj; |
10408 | fail: | |
10409 | return NULL; | |
10410 | } | |
10411 | ||
10412 | ||
c370783e | 10413 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10414 | PyObject *resultobj; |
10415 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10416 | PyObject * obj0 = 0 ; | |
10417 | char *kwnames[] = { | |
10418 | (char *) "self", NULL | |
10419 | }; | |
10420 | ||
10421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10422 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10423 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10424 | { |
10425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10426 | delete arg1; | |
10427 | ||
10428 | wxPyEndAllowThreads(__tstate); | |
10429 | if (PyErr_Occurred()) SWIG_fail; | |
10430 | } | |
10431 | Py_INCREF(Py_None); resultobj = Py_None; | |
10432 | return resultobj; | |
10433 | fail: | |
10434 | return NULL; | |
10435 | } | |
10436 | ||
10437 | ||
c370783e | 10438 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10439 | PyObject *resultobj; |
10440 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10441 | wxString *arg2 = 0 ; | |
423f194a | 10442 | bool temp2 = False ; |
d14a1e28 RD |
10443 | PyObject * obj0 = 0 ; |
10444 | PyObject * obj1 = 0 ; | |
10445 | char *kwnames[] = { | |
10446 | (char *) "self",(char *) "format", NULL | |
10447 | }; | |
10448 | ||
10449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10452 | { |
10453 | arg2 = wxString_in_helper(obj1); | |
10454 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10455 | temp2 = True; |
d14a1e28 RD |
10456 | } |
10457 | { | |
10458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10459 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10460 | ||
10461 | wxPyEndAllowThreads(__tstate); | |
10462 | if (PyErr_Occurred()) SWIG_fail; | |
10463 | } | |
10464 | Py_INCREF(Py_None); resultobj = Py_None; | |
10465 | { | |
10466 | if (temp2) | |
10467 | delete arg2; | |
10468 | } | |
10469 | return resultobj; | |
10470 | fail: | |
10471 | { | |
10472 | if (temp2) | |
10473 | delete arg2; | |
10474 | } | |
10475 | return NULL; | |
10476 | } | |
10477 | ||
10478 | ||
c370783e | 10479 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10480 | PyObject *resultobj; |
10481 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10482 | wxString *arg2 = 0 ; | |
423f194a | 10483 | bool temp2 = False ; |
d14a1e28 RD |
10484 | PyObject * obj0 = 0 ; |
10485 | PyObject * obj1 = 0 ; | |
10486 | char *kwnames[] = { | |
10487 | (char *) "self",(char *) "path", NULL | |
10488 | }; | |
10489 | ||
10490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10493 | { |
10494 | arg2 = wxString_in_helper(obj1); | |
10495 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10496 | temp2 = True; |
d14a1e28 RD |
10497 | } |
10498 | { | |
10499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10500 | (arg1)->SetTempDir((wxString const &)*arg2); | |
10501 | ||
10502 | wxPyEndAllowThreads(__tstate); | |
10503 | if (PyErr_Occurred()) SWIG_fail; | |
10504 | } | |
10505 | Py_INCREF(Py_None); resultobj = Py_None; | |
10506 | { | |
10507 | if (temp2) | |
10508 | delete arg2; | |
10509 | } | |
10510 | return resultobj; | |
10511 | fail: | |
10512 | { | |
10513 | if (temp2) | |
10514 | delete arg2; | |
10515 | } | |
10516 | return NULL; | |
10517 | } | |
10518 | ||
10519 | ||
c370783e | 10520 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10521 | PyObject *resultobj; |
10522 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10523 | wxString *arg2 = 0 ; | |
423f194a | 10524 | int arg3 = (int) False ; |
d14a1e28 | 10525 | bool result; |
423f194a | 10526 | bool temp2 = False ; |
d14a1e28 RD |
10527 | PyObject * obj0 = 0 ; |
10528 | PyObject * obj1 = 0 ; | |
8edf1c75 | 10529 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10530 | char *kwnames[] = { |
10531 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
10532 | }; | |
10533 | ||
8edf1c75 | 10534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
10535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10537 | { |
10538 | arg2 = wxString_in_helper(obj1); | |
10539 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10540 | temp2 = True; |
d14a1e28 | 10541 | } |
8edf1c75 | 10542 | if (obj2) { |
c370783e | 10543 | arg3 = (int)SWIG_As_int(obj2); |
2f4c0a16 | 10544 | if (PyErr_Occurred()) SWIG_fail; |
8edf1c75 | 10545 | } |
d14a1e28 RD |
10546 | { |
10547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10548 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
10549 | ||
10550 | wxPyEndAllowThreads(__tstate); | |
10551 | if (PyErr_Occurred()) SWIG_fail; | |
10552 | } | |
fbc46b20 RD |
10553 | { |
10554 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10555 | } | |
d14a1e28 RD |
10556 | { |
10557 | if (temp2) | |
10558 | delete arg2; | |
10559 | } | |
10560 | return resultobj; | |
10561 | fail: | |
10562 | { | |
10563 | if (temp2) | |
10564 | delete arg2; | |
10565 | } | |
10566 | return NULL; | |
10567 | } | |
10568 | ||
10569 | ||
c370783e | 10570 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10571 | PyObject *resultobj; |
10572 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10573 | wxString *arg2 = 0 ; | |
423f194a | 10574 | bool temp2 = False ; |
d14a1e28 RD |
10575 | PyObject * obj0 = 0 ; |
10576 | PyObject * obj1 = 0 ; | |
10577 | char *kwnames[] = { | |
10578 | (char *) "self",(char *) "x", NULL | |
10579 | }; | |
10580 | ||
10581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10584 | { |
10585 | arg2 = wxString_in_helper(obj1); | |
10586 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10587 | temp2 = True; |
d14a1e28 RD |
10588 | } |
10589 | { | |
10590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10591 | (arg1)->Display((wxString const &)*arg2); | |
10592 | ||
10593 | wxPyEndAllowThreads(__tstate); | |
10594 | if (PyErr_Occurred()) SWIG_fail; | |
10595 | } | |
10596 | Py_INCREF(Py_None); resultobj = Py_None; | |
10597 | { | |
10598 | if (temp2) | |
10599 | delete arg2; | |
10600 | } | |
10601 | return resultobj; | |
10602 | fail: | |
10603 | { | |
10604 | if (temp2) | |
10605 | delete arg2; | |
10606 | } | |
10607 | return NULL; | |
10608 | } | |
10609 | ||
10610 | ||
c370783e | 10611 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10612 | PyObject *resultobj; |
10613 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10614 | int arg2 ; | |
10615 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10616 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10617 | char *kwnames[] = { |
10618 | (char *) "self",(char *) "id", NULL | |
10619 | }; | |
10620 | ||
8edf1c75 | 10621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10624 | arg2 = (int)SWIG_As_int(obj1); |
2f4c0a16 | 10625 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10626 | { |
10627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10628 | (arg1)->Display(arg2); | |
10629 | ||
10630 | wxPyEndAllowThreads(__tstate); | |
10631 | if (PyErr_Occurred()) SWIG_fail; | |
10632 | } | |
10633 | Py_INCREF(Py_None); resultobj = Py_None; | |
10634 | return resultobj; | |
10635 | fail: | |
10636 | return NULL; | |
10637 | } | |
10638 | ||
10639 | ||
c370783e | 10640 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10641 | PyObject *resultobj; |
10642 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10643 | PyObject * obj0 = 0 ; | |
10644 | char *kwnames[] = { | |
10645 | (char *) "self", NULL | |
10646 | }; | |
10647 | ||
10648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10651 | { |
10652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10653 | (arg1)->DisplayContents(); | |
10654 | ||
10655 | wxPyEndAllowThreads(__tstate); | |
10656 | if (PyErr_Occurred()) SWIG_fail; | |
10657 | } | |
10658 | Py_INCREF(Py_None); resultobj = Py_None; | |
10659 | return resultobj; | |
10660 | fail: | |
10661 | return NULL; | |
10662 | } | |
10663 | ||
10664 | ||
c370783e | 10665 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10666 | PyObject *resultobj; |
10667 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10668 | PyObject * obj0 = 0 ; | |
10669 | char *kwnames[] = { | |
10670 | (char *) "self", NULL | |
10671 | }; | |
10672 | ||
10673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10676 | { |
10677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10678 | (arg1)->DisplayIndex(); | |
10679 | ||
10680 | wxPyEndAllowThreads(__tstate); | |
10681 | if (PyErr_Occurred()) SWIG_fail; | |
10682 | } | |
10683 | Py_INCREF(Py_None); resultobj = Py_None; | |
10684 | return resultobj; | |
10685 | fail: | |
10686 | return NULL; | |
10687 | } | |
10688 | ||
10689 | ||
c370783e | 10690 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10691 | PyObject *resultobj; |
10692 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10693 | wxString *arg2 = 0 ; | |
10694 | bool result; | |
423f194a | 10695 | bool temp2 = False ; |
d14a1e28 RD |
10696 | PyObject * obj0 = 0 ; |
10697 | PyObject * obj1 = 0 ; | |
10698 | char *kwnames[] = { | |
10699 | (char *) "self",(char *) "keyword", NULL | |
10700 | }; | |
10701 | ||
10702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10705 | { |
10706 | arg2 = wxString_in_helper(obj1); | |
10707 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10708 | temp2 = True; |
d14a1e28 RD |
10709 | } |
10710 | { | |
10711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10712 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10713 | ||
10714 | wxPyEndAllowThreads(__tstate); | |
10715 | if (PyErr_Occurred()) SWIG_fail; | |
10716 | } | |
fbc46b20 RD |
10717 | { |
10718 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10719 | } | |
d14a1e28 RD |
10720 | { |
10721 | if (temp2) | |
10722 | delete arg2; | |
10723 | } | |
10724 | return resultobj; | |
10725 | fail: | |
10726 | { | |
10727 | if (temp2) | |
10728 | delete arg2; | |
10729 | } | |
10730 | return NULL; | |
10731 | } | |
10732 | ||
10733 | ||
c370783e | 10734 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10735 | PyObject *resultobj; |
10736 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10737 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10738 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10739 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a | 10740 | bool temp3 = False ; |
d14a1e28 RD |
10741 | PyObject * obj0 = 0 ; |
10742 | PyObject * obj1 = 0 ; | |
10743 | PyObject * obj2 = 0 ; | |
10744 | char *kwnames[] = { | |
10745 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10746 | }; | |
10747 | ||
10748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10751 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10753 | if (obj2) { |
10754 | { | |
10755 | arg3 = wxString_in_helper(obj2); | |
10756 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10757 | temp3 = True; |
d14a1e28 RD |
10758 | } |
10759 | } | |
10760 | { | |
10761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10762 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10763 | ||
10764 | wxPyEndAllowThreads(__tstate); | |
10765 | if (PyErr_Occurred()) SWIG_fail; | |
10766 | } | |
10767 | Py_INCREF(Py_None); resultobj = Py_None; | |
10768 | { | |
10769 | if (temp3) | |
10770 | delete arg3; | |
10771 | } | |
10772 | return resultobj; | |
10773 | fail: | |
10774 | { | |
10775 | if (temp3) | |
10776 | delete arg3; | |
10777 | } | |
10778 | return NULL; | |
10779 | } | |
10780 | ||
10781 | ||
c370783e | 10782 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10783 | PyObject *resultobj; |
10784 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10785 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10786 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10787 | PyObject * obj0 = 0 ; |
10788 | PyObject * obj1 = 0 ; | |
10789 | PyObject * obj2 = 0 ; | |
10790 | char *kwnames[] = { | |
10791 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10792 | }; | |
10793 | ||
10794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10795 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10797 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10798 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10799 | if (obj2) { |
423f194a RD |
10800 | { |
10801 | wxString* sptr = wxString_in_helper(obj2); | |
10802 | if (sptr == NULL) SWIG_fail; | |
10803 | arg3 = *sptr; | |
10804 | delete sptr; | |
10805 | } | |
d14a1e28 RD |
10806 | } |
10807 | { | |
10808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10809 | (arg1)->ReadCustomization(arg2,arg3); | |
10810 | ||
10811 | wxPyEndAllowThreads(__tstate); | |
10812 | if (PyErr_Occurred()) SWIG_fail; | |
10813 | } | |
10814 | Py_INCREF(Py_None); resultobj = Py_None; | |
10815 | return resultobj; | |
10816 | fail: | |
10817 | return NULL; | |
10818 | } | |
10819 | ||
10820 | ||
c370783e | 10821 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10822 | PyObject *resultobj; |
10823 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10824 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10825 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
10826 | PyObject * obj0 = 0 ; |
10827 | PyObject * obj1 = 0 ; | |
10828 | PyObject * obj2 = 0 ; | |
10829 | char *kwnames[] = { | |
10830 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10831 | }; | |
10832 | ||
10833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10836 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10838 | if (obj2) { |
423f194a RD |
10839 | { |
10840 | wxString* sptr = wxString_in_helper(obj2); | |
10841 | if (sptr == NULL) SWIG_fail; | |
10842 | arg3 = *sptr; | |
10843 | delete sptr; | |
10844 | } | |
d14a1e28 RD |
10845 | } |
10846 | { | |
10847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10848 | (arg1)->WriteCustomization(arg2,arg3); | |
10849 | ||
10850 | wxPyEndAllowThreads(__tstate); | |
10851 | if (PyErr_Occurred()) SWIG_fail; | |
10852 | } | |
10853 | Py_INCREF(Py_None); resultobj = Py_None; | |
10854 | return resultobj; | |
10855 | fail: | |
10856 | return NULL; | |
10857 | } | |
10858 | ||
10859 | ||
c370783e | 10860 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10861 | PyObject *resultobj; |
10862 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10863 | wxHtmlHelpFrame *result; | |
10864 | PyObject * obj0 = 0 ; | |
10865 | char *kwnames[] = { | |
10866 | (char *) "self", NULL | |
10867 | }; | |
10868 | ||
10869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, |
10871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10872 | { |
10873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10874 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
10875 | ||
10876 | wxPyEndAllowThreads(__tstate); | |
10877 | if (PyErr_Occurred()) SWIG_fail; | |
10878 | } | |
2f4c0a16 | 10879 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0); |
d14a1e28 RD |
10880 | return resultobj; |
10881 | fail: | |
10882 | return NULL; | |
10883 | } | |
10884 | ||
10885 | ||
c370783e | 10886 | static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10887 | PyObject *obj; |
10888 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10889 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
10890 | Py_INCREF(obj); | |
10891 | return Py_BuildValue((char *)""); | |
10892 | } | |
10893 | static PyMethodDef SwigMethods[] = { | |
c370783e RD |
10894 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
10895 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10896 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10897 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10898 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10899 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10900 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10901 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS, NULL }, | |
10902 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10903 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10904 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10905 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10906 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10907 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10908 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10909 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10910 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS, NULL }, | |
10911 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10912 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10913 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10914 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10915 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10916 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10917 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10918 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10919 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10920 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10921 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10922 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS, NULL }, | |
10923 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10924 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10925 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10926 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10927 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10928 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10929 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10930 | { (char *)"HtmlWinParser_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWinParser_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10931 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10932 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10933 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10934 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10935 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10936 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10937 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10938 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10939 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10940 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10941 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10942 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10943 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10944 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10945 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10946 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10947 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10948 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10949 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10950 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10951 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10952 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10953 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10954 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS, NULL }, | |
10955 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10956 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10957 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10958 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10959 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10960 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS, NULL }, | |
10961 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10962 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10963 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10964 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10965 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10966 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS, NULL }, | |
10967 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10968 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10969 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10970 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10971 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10972 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10973 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10974 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10975 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10976 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10977 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10978 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10979 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10980 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10981 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10982 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS, NULL }, | |
10983 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10984 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10985 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10986 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10987 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10988 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10989 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10990 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10991 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS, NULL }, | |
10992 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10993 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10994 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS, NULL }, | |
10995 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10996 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10997 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS, NULL }, | |
10998 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
10999 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11000 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11001 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11002 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11003 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11004 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11005 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS, NULL }, | |
11006 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11007 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11008 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11009 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11010 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11011 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11012 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11013 | { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11014 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11015 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11016 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11017 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11018 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11019 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11020 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11021 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11022 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11023 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11024 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11025 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11026 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11027 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11028 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11029 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11030 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11031 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11032 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11033 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11034 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11035 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11036 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11037 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11038 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11039 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11040 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS, NULL }, | |
11041 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11042 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS, NULL }, | |
11043 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11044 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11045 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11046 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11047 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11048 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11049 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11050 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11051 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11052 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11053 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11054 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11055 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11056 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11057 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11058 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11059 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11060 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS, NULL }, | |
11061 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11062 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS, NULL }, | |
11063 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11064 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS, NULL }, | |
11065 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11066 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS, NULL }, | |
11067 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11068 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11069 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS, NULL }, | |
11070 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11071 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11072 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11073 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11074 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11075 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11076 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11077 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11078 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11079 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11080 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11081 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11082 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11083 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11084 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11085 | { (char *)"HtmlWindow_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWindow_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11086 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11087 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11088 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11089 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11090 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11091 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11092 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11093 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11094 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11095 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11096 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11097 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11098 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11099 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11100 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11101 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11102 | { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11103 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11104 | { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11105 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11106 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11107 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11108 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11109 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11110 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS, NULL }, | |
11111 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11112 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11113 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11114 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11115 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11116 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11117 | { (char *)"HtmlDCRenderer_NormalizeFontSizes", (PyCFunction) _wrap_HtmlDCRenderer_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11118 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11119 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11120 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL }, | |
11121 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11122 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11123 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11124 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11125 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11126 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11127 | { (char *)"HtmlPrintout_NormalizeFontSizes", (PyCFunction) _wrap_HtmlPrintout_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11128 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11129 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11130 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11131 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS, NULL }, | |
11132 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11133 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11134 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11135 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11136 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11137 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11138 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11139 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11140 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11141 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11142 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11143 | { (char *)"HtmlEasyPrinting_NormalizeFontSizes", (PyCFunction) _wrap_HtmlEasyPrinting_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11144 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11145 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11146 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL }, | |
11147 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11148 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11149 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11150 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11151 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11152 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11153 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11154 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11155 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11156 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11157 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11158 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11159 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS, NULL }, | |
11160 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11161 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11162 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11163 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11164 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11165 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS, NULL }, | |
11166 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11167 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11168 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11169 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11170 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11171 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11172 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS, NULL }, | |
11173 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11174 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11175 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11176 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11177 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11178 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11179 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11180 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11181 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11182 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11183 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11184 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL }, | |
11185 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11186 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11187 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11188 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11189 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11190 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11191 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11192 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11193 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11194 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11195 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11196 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL }, | |
11197 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11198 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11199 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11200 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11201 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11202 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11203 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11204 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11205 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11206 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11207 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11208 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11209 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11210 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
11211 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL }, | |
11212 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
11213 | }; |
11214 | ||
11215 | ||
11216 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
11217 | ||
11218 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
11219 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
11220 | } | |
11221 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
11222 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11223 | } | |
11224 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
11225 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
11226 | } | |
11227 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
11228 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11229 | } | |
a2482628 RD |
11230 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
11231 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11232 | } | |
d14a1e28 RD |
11233 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { |
11234 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11235 | } | |
11236 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
11237 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11238 | } | |
11239 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
11240 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11241 | } | |
11242 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
11243 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
11244 | } | |
11245 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
11246 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11247 | } | |
11248 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
11249 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
11250 | } | |
11251 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
11252 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11253 | } | |
a2482628 RD |
11254 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
11255 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11256 | } | |
d14a1e28 RD |
11257 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { |
11258 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11259 | } | |
11260 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
11261 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11262 | } | |
11263 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
11264 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11265 | } | |
11266 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
11267 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11268 | } | |
11269 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
11270 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
11271 | } | |
11272 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
11273 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
11274 | } | |
11275 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
11276 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11277 | } | |
11278 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
11279 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11280 | } | |
11281 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
11282 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11283 | } | |
11284 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
11285 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11286 | } | |
11287 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
11288 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11289 | } | |
11290 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
11291 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11292 | } | |
11293 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
11294 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11295 | } | |
11296 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
11297 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
11298 | } | |
11299 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
11300 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
11301 | } | |
11302 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
11303 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
11304 | } | |
11305 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
11306 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11307 | } | |
11308 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
11309 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11310 | } | |
11311 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
11312 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11313 | } | |
11314 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
11315 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
11316 | } | |
11317 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
11318 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11319 | } | |
11320 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
11321 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
11322 | } | |
11323 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
11324 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
11325 | } | |
11326 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
11327 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
11328 | } | |
11329 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
11330 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
11331 | } | |
11332 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
11333 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
11334 | } | |
a2482628 RD |
11335 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
11336 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11337 | } | |
d14a1e28 RD |
11338 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { |
11339 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11340 | } | |
11341 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
11342 | return (void *)((wxWindow *) ((wxControl *) x)); | |
11343 | } | |
11344 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
11345 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11346 | } | |
11347 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
11348 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11349 | } | |
11350 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
11351 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11352 | } | |
11353 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
11354 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
11355 | } | |
11356 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
11357 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
11358 | } | |
11359 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
11360 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11361 | } | |
11362 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
11363 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11364 | } | |
11365 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
11366 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11367 | } | |
11368 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
11369 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
11370 | } | |
11371 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
11372 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11373 | } | |
11374 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
11375 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11376 | } | |
11377 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
11378 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
11379 | } | |
11380 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
11381 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11382 | } | |
11383 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
11384 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11385 | } | |
11386 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
11387 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11388 | } | |
11389 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
11390 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
11391 | } | |
11392 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
11393 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11394 | } | |
11395 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
11396 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11397 | } | |
11398 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
11399 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11400 | } | |
11401 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
11402 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
11403 | } | |
11404 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
11405 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
11406 | } | |
11407 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
11408 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
11409 | } | |
11410 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
11411 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
11412 | } | |
11413 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
11414 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
11415 | } | |
11416 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
11417 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
11418 | } | |
11419 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
11420 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
11421 | } | |
11422 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
11423 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
11424 | } | |
11425 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
11426 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
11427 | } | |
11428 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
11429 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
11430 | } | |
11431 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
11432 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
11433 | } | |
11434 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
11435 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
11436 | } | |
11437 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
11438 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
11439 | } | |
11440 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
11441 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
11442 | } | |
11443 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
11444 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
11445 | } | |
11446 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11447 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11448 | } | |
11449 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11450 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11451 | } | |
11452 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
11453 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
11454 | } | |
11455 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
11456 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
11457 | } | |
11458 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
11459 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11460 | } | |
11461 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11462 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
11463 | } | |
11464 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11465 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11466 | } | |
11467 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
11468 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
11469 | } | |
11470 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
11471 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
11472 | } | |
11473 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
11474 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11475 | } | |
11476 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
11477 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11478 | } | |
11479 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
11480 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
11481 | } | |
11482 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
11483 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
11484 | } | |
11485 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
11486 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
11487 | } | |
11488 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
11489 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
11490 | } | |
11491 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
11492 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
11493 | } | |
11494 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
11495 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
11496 | } | |
11497 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
11498 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
11499 | } | |
11500 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
11501 | return (void *)((wxObject *) ((wxSizer *) x)); | |
11502 | } | |
11503 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
11504 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
11505 | } | |
11506 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
11507 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11508 | } | |
11509 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
11510 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11511 | } | |
11512 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
11513 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11514 | } | |
11515 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
11516 | return (void *)((wxObject *) ((wxEvent *) x)); | |
11517 | } | |
11518 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
11519 | return (void *)((wxObject *) ((wxFontData *) x)); | |
11520 | } | |
11521 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
11522 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
11523 | } | |
11524 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
11525 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
11526 | } | |
11527 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
11528 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
11529 | } | |
11530 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
11531 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
11532 | } | |
11533 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
11534 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
11535 | } | |
11536 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
11537 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
11538 | } | |
11539 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
11540 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11541 | } | |
11542 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
11543 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
11544 | } | |
11545 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
11546 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11547 | } | |
11548 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
11549 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
11550 | } | |
11551 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
11552 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
11553 | } | |
11554 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
11555 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
11556 | } | |
11557 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
11558 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11559 | } | |
11560 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
11561 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11562 | } | |
11563 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
11564 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11565 | } | |
11566 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
11567 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11568 | } | |
11569 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
11570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11571 | } | |
11572 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
11573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
11574 | } | |
11575 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
11576 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
11577 | } | |
11578 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
11579 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
11580 | } | |
11581 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
11582 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
11583 | } | |
11584 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
11585 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11586 | } | |
11587 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
11588 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
11589 | } | |
11590 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
11591 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
11592 | } | |
11593 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
11594 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11595 | } | |
11596 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
11597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11598 | } | |
11599 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
11600 | return (void *)((wxObject *) ((wxColourData *) x)); | |
11601 | } | |
11602 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
11603 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
11604 | } | |
11605 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
11606 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11607 | } | |
11608 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
11609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
11610 | } | |
11611 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
11612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11613 | } | |
11614 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
11615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11616 | } | |
11617 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
11618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11619 | } | |
11620 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
11621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11622 | } | |
11623 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
11624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11625 | } | |
11626 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
11627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11628 | } | |
11629 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
11630 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11631 | } | |
11632 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
11633 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11634 | } | |
11635 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
11636 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
11637 | } | |
11638 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
11639 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
11640 | } | |
11641 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
11642 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
11643 | } | |
11644 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
11645 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
11646 | } | |
11647 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
11648 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11649 | } | |
11650 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
11651 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11652 | } | |
11653 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
11654 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
11655 | } | |
11656 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
11657 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
11658 | } | |
11659 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
11660 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
11661 | } | |
11662 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
11663 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
11664 | } | |
11665 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
11666 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
11667 | } | |
11668 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
11669 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
11670 | } | |
11671 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
11672 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
11673 | } | |
11674 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
11675 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
11676 | } | |
11677 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
11678 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
11679 | } | |
11680 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
11681 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
11682 | } | |
11683 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
11684 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
11685 | } | |
11686 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
11687 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
11688 | } | |
11689 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
11690 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
11691 | } | |
11692 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
11693 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
11694 | } | |
11695 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
11696 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
11697 | } | |
11698 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
11699 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
11700 | } | |
11701 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
11702 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
11703 | } | |
11704 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
11705 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
11706 | } | |
11707 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
11708 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
11709 | } | |
11710 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
11711 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
11712 | } | |
11713 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
11714 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
11715 | } | |
11716 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
11717 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11718 | } | |
11719 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
11720 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11721 | } | |
11722 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
11723 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11724 | } | |
11725 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
11726 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
11727 | } | |
11728 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
11729 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11730 | } | |
11731 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
11732 | return (void *)((wxObject *) ((wxImage *) x)); | |
11733 | } | |
11734 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
11735 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11736 | } | |
11737 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
11738 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
11739 | } | |
11740 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
11741 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11742 | } | |
11743 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
11744 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
11745 | } | |
11746 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
11747 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
11748 | } | |
11749 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
11750 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
11751 | } | |
11752 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
11753 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
11754 | } | |
11755 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
11756 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11757 | } | |
11758 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
11759 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11760 | } | |
11761 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
11762 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11763 | } | |
11764 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
11765 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11766 | } | |
11767 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
11768 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
11769 | } | |
d14a1e28 RD |
11770 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
11771 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
11772 | } | |
11773 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
11774 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
11775 | } | |
11776 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
11777 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
11778 | } | |
41f1cec7 RD |
11779 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
11780 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11781 | } | |
d14a1e28 RD |
11782 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
11783 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
11784 | } | |
11785 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
11786 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
11787 | } | |
11788 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
11789 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
11790 | } | |
11791 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
11792 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
11793 | } | |
11794 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
11795 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11796 | } | |
11797 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
11798 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
11799 | } | |
11800 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
11801 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11802 | } | |
11803 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
11804 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11805 | } | |
11806 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
11807 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11808 | } | |
11809 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
11810 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
11811 | } | |
a2482628 RD |
11812 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
11813 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11814 | } | |
d14a1e28 RD |
11815 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { |
11816 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11817 | } | |
11818 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
11819 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
11820 | } | |
11821 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
11822 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
11823 | } | |
11824 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
11825 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
11826 | } | |
11827 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
11828 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
11829 | } | |
11830 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
11831 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11832 | } | |
11833 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
11834 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11835 | } | |
11836 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
11837 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11838 | } | |
11839 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
11840 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11841 | } | |
11842 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
11843 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11844 | } | |
11845 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
11846 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11847 | } | |
11848 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
11849 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
11850 | } | |
11851 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
11852 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11853 | } | |
11854 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
11855 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
11856 | } | |
11857 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
11858 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11859 | } | |
11860 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
11861 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
11862 | } | |
11863 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
11864 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11865 | } | |
11866 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
11867 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
11868 | } | |
11869 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
11870 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
11871 | } | |
11872 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
11873 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
11874 | } | |
11875 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
11876 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
11877 | } | |
11878 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
11879 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11880 | } | |
11881 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
11882 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
11883 | } | |
11884 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
11885 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11886 | } | |
11887 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
11888 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11889 | } | |
11890 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
11891 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
11892 | } | |
11893 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
11894 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
11895 | } | |
11896 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
11897 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
11898 | } | |
11899 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
11900 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11901 | } | |
11902 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
11903 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11904 | } | |
11905 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
11906 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11907 | } | |
11908 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
11909 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
11910 | } | |
11911 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
11912 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
11913 | } | |
11914 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
11915 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
11916 | } | |
11917 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
11918 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
11919 | } | |
11920 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
11921 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11922 | } | |
11923 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
11924 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11925 | } | |
11926 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
11927 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11928 | } | |
11929 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
11930 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11931 | } | |
11932 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
11933 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
11934 | } | |
11935 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
11936 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
11937 | } | |
11938 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
11939 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
11940 | } | |
11941 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
11942 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
11943 | } | |
11944 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
11945 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11946 | } | |
11947 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11948 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11949 | } | |
11950 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11951 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11952 | } | |
11953 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
11954 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11955 | } | |
11956 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
11957 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11958 | } | |
11959 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
11960 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11961 | } | |
11962 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
11963 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11964 | } | |
11965 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
11966 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
11967 | } | |
11968 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
11969 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
11970 | } | |
11971 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11972 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11973 | } | |
11974 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
11975 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11976 | } | |
11977 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
11978 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11979 | } | |
11980 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
11981 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
11982 | } | |
11983 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
11984 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11985 | } | |
11986 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
11987 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
11988 | } | |
11989 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
11990 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
11991 | } | |
11992 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
11993 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
11994 | } | |
11995 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
11996 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
11997 | } | |
11998 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11999 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
12000 | } | |
12001 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
12002 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
12003 | } | |
12004 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
12005 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
12006 | } | |
a2482628 RD |
12007 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
12008 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
12009 | } | |
d14a1e28 RD |
12010 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { |
12011 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
12012 | } | |
12013 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
12014 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
12015 | } | |
12016 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
12017 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
12018 | } | |
12019 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
12020 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12021 | } | |
12022 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
12023 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
12024 | } | |
12025 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
12026 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
12027 | } | |
12028 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
12029 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
12030 | } | |
12031 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
12032 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
12033 | } | |
12034 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
12035 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
12036 | } | |
12037 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
12038 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
12039 | } | |
12040 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
12041 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
12042 | } | |
12043 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
12044 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
12045 | } | |
12046 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
12047 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
12048 | } | |
12049 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
12050 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
12051 | } | |
12052 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
12053 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
12054 | } | |
12055 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
12056 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
12057 | } | |
12058 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
12059 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
12060 | } | |
12061 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
12062 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
12063 | } | |
12064 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
12065 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
12066 | } | |
12067 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
12068 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
12069 | } | |
12070 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
12071 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
12072 | } | |
12073 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
12074 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
12075 | } | |
12076 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
12077 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
12078 | } | |
12079 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
12080 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
12081 | } | |
12082 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
12083 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
12084 | } | |
12085 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
12086 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
12087 | } | |
12088 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
12089 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
12090 | } | |
12091 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
12092 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
12093 | } | |
12094 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
12095 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
12096 | } | |
12097 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
12098 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12099 | } | |
12100 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
12101 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
12102 | } | |
12103 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
12104 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
12105 | } | |
12106 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
12107 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
12108 | } | |
12109 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
12110 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
12111 | } | |
12112 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
12113 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
12114 | } | |
12115 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
12116 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
12117 | } | |
12118 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
12119 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
12120 | } | |
12121 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
12122 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
12123 | } | |
12124 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
12125 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
12126 | } | |
2f4c0a16 RD |
12127 | 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}}; |
12128 | 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}}; | |
12129 | 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}}; | |
12130 | 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}}; | |
12131 | 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}}; | |
12132 | 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}}; | |
12133 | 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}}; | |
12134 | 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 | 12135 | 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 |
12136 | 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}}; |
12137 | 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}}; | |
12138 | 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}}; | |
12139 | 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 | 12140 | 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 | 12141 | 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 | 12142 | 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 RD |
12143 | 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}}; |
12144 | 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_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_wxTipWindow", _p_wxTipWindowTo_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_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_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPrintDialog", _p_wxPrintDialogTo_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}}; | |
2f4c0a16 | 12145 | 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_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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_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}}; |
c370783e | 12146 | 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 |
12147 | 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}}; |
12148 | 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}}; | |
12149 | 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}}; | |
12150 | 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}}; | |
12151 | 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}}; | |
a2482628 | 12152 | 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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_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_wxGIFHandler", _p_wxGIFHandlerTo_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_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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_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_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 |
12153 | 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}}; |
12154 | 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}}; | |
12155 | 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}}; | |
12156 | 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}}; | |
a2482628 | 12157 | 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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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_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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_wxPrintDialog", _p_wxPrintDialogTo_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 |
12158 | 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}}; |
12159 | 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}}; | |
12160 | 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}}; | |
12161 | 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}}; | |
12162 | 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}}; | |
12163 | 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}}; | |
12164 | 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}}; | |
12165 | 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}}; | |
12166 | 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}}; | |
12167 | 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}}; | |
12168 | 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}}; | |
12169 | 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}}; | |
12170 | 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}}; | |
12171 | 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_wxTipWindow", _p_wxTipWindowTo_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}}; | |
12172 | 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}}; | |
12173 | 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}}; | |
12174 | 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}}; | |
12175 | 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}}; | |
12176 | 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 | 12177 | 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}}; |
c370783e | 12178 | 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 | 12179 | 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 |
12180 | |
12181 | static swig_type_info *swig_types_initial[] = { | |
12182 | _swigt__p_wxHtmlDCRenderer, | |
12183 | _swigt__p_wxColour, | |
12184 | _swigt__p_wxPageSetupDialogData, | |
12185 | _swigt__p_wxDC, | |
12186 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
12187 | _swigt__p_wxHtmlRenderingStyle, | |
12188 | _swigt__p_wxMouseEvent, | |
12189 | _swigt__p_wxHtmlWordCell, | |
f20a2e1f | 12190 | _swigt__p_wxVisualAttributes, |
d14a1e28 | 12191 | _swigt__p_wxHtmlHelpData, |
8edf1c75 | 12192 | _swigt__p_char, |
d14a1e28 RD |
12193 | _swigt__p_wxHtmlWinParser, |
12194 | _swigt__p_wxHtmlParser, | |
12195 | _swigt__p_wxPanel, | |
d14a1e28 | 12196 | _swigt__p_wxFont, |
d14a1e28 RD |
12197 | _swigt__p_wxPyHtmlWindow, |
12198 | _swigt__p_wxScrolledWindow, | |
12199 | _swigt__p_wxWindow, | |
12200 | _swigt__p_wxTopLevelWindow, | |
c370783e | 12201 | _swigt__p_wxHtmlColourCell, |
8edf1c75 | 12202 | _swigt__p_wxHtmlFontCell, |
d14a1e28 RD |
12203 | _swigt__p_wxHtmlEasyPrinting, |
12204 | _swigt__p_wxHtmlSelection, | |
12205 | _swigt__p_wxHtmlRenderingInfo, | |
12206 | _swigt__p_wxHtmlWidgetCell, | |
12207 | _swigt__p_wxObject, | |
12208 | _swigt__p_wxString, | |
12209 | _swigt__p_wxPyHtmlWinTagHandler, | |
12210 | _swigt__p_wxHtmlTagHandler, | |
12211 | _swigt__p_wxPyHtmlTagHandler, | |
12212 | _swigt__p_wxEvtHandler, | |
12213 | _swigt__p_wxPoint, | |
12214 | _swigt__p_wxHtmlHelpController, | |
12215 | _swigt__p_wxCursor, | |
12216 | _swigt__p_wxFileSystem, | |
12217 | _swigt__p_wxHtmlBookRecArray, | |
12218 | _swigt__p_wxPyPrintout, | |
12219 | _swigt__p_wxHtmlPrintout, | |
12220 | _swigt__p_wxHtmlSearchStatus, | |
12221 | _swigt__p_wxHtmlContentsItem, | |
12222 | _swigt__p_wxConfigBase, | |
12223 | _swigt__p_wxPrintData, | |
12224 | _swigt__p_wxHtmlHelpFrame, | |
12225 | _swigt__p_wxHtmlRenderingState, | |
12226 | _swigt__p_wxFrame, | |
12227 | _swigt__p_wxPyHtmlFilter, | |
12228 | _swigt__p_wxHtmlFilter, | |
12229 | _swigt__p_wxHtmlCell, | |
12230 | _swigt__p_wxHtmlContainerCell, | |
12231 | _swigt__p_wxHtmlTag, | |
d14a1e28 | 12232 | _swigt__p_int, |
c370783e | 12233 | _swigt__p_wxHtmlLinkInfo, |
d14a1e28 RD |
12234 | _swigt__p_wxHtmlBookRecord, |
12235 | 0 | |
12236 | }; | |
12237 | ||
12238 | ||
12239 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
12240 | ||
12241 | static swig_const_info swig_const_table[] = { | |
c370783e | 12242 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
12243 | |
12244 | #ifdef __cplusplus | |
12245 | } | |
12246 | #endif | |
12247 | ||
12248 | #ifdef __cplusplus | |
12249 | extern "C" | |
12250 | #endif | |
12251 | SWIGEXPORT(void) SWIG_init(void) { | |
12252 | static PyObject *SWIG_globals = 0; | |
12253 | static int typeinit = 0; | |
12254 | PyObject *m, *d; | |
12255 | int i; | |
12256 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
12257 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
12258 | d = PyModule_GetDict(m); | |
12259 | ||
12260 | if (!typeinit) { | |
12261 | for (i = 0; swig_types_initial[i]; i++) { | |
12262 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
12263 | } | |
12264 | typeinit = 1; | |
12265 | } | |
12266 | SWIG_InstallConstants(d,swig_const_table); | |
12267 | ||
cbd72d4f RD |
12268 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
12269 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
12270 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
12271 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
c370783e RD |
12272 | PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)wxHTML_ALIGN_LEFT)); |
12273 | PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)wxHTML_ALIGN_CENTER)); | |
12274 | PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)wxHTML_ALIGN_RIGHT)); | |
12275 | PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)wxHTML_ALIGN_BOTTOM)); | |
12276 | PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)wxHTML_ALIGN_TOP)); | |
12277 | PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)wxHTML_CLR_FOREGROUND)); | |
12278 | PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)wxHTML_CLR_BACKGROUND)); | |
12279 | PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)wxHTML_UNITS_PIXELS)); | |
12280 | PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)wxHTML_UNITS_PERCENT)); | |
12281 | PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)wxHTML_INDENT_LEFT)); | |
12282 | PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)wxHTML_INDENT_RIGHT)); | |
12283 | PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)wxHTML_INDENT_TOP)); | |
12284 | PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)wxHTML_INDENT_BOTTOM)); | |
12285 | PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)wxHTML_INDENT_HORIZONTAL)); | |
12286 | PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)wxHTML_INDENT_VERTICAL)); | |
12287 | PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)wxHTML_INDENT_ALL)); | |
12288 | PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)wxHTML_COND_ISANCHOR)); | |
12289 | PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)wxHTML_COND_ISIMAGEMAP)); | |
12290 | PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)wxHTML_COND_USER)); | |
12291 | PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)wxHTML_FONT_SIZE_1)); | |
12292 | PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)wxHTML_FONT_SIZE_2)); | |
12293 | PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)wxHTML_FONT_SIZE_3)); | |
12294 | PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)wxHTML_FONT_SIZE_4)); | |
12295 | PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)wxHTML_FONT_SIZE_5)); | |
12296 | PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)wxHTML_FONT_SIZE_6)); | |
12297 | PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)wxHTML_FONT_SIZE_7)); | |
12298 | PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)wxHW_SCROLLBAR_NEVER)); | |
12299 | PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)wxHW_SCROLLBAR_AUTO)); | |
12300 | PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)wxHW_NO_SELECTION)); | |
12301 | PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)wxHW_DEFAULT_STYLE)); | |
12302 | PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)wxHTML_OPEN)); | |
12303 | PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)wxHTML_BLOCK)); | |
12304 | PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)wxHTML_REDIRECT)); | |
12305 | PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)wxHTML_URL_PAGE)); | |
12306 | PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)wxHTML_URL_IMAGE)); | |
12307 | PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)wxHTML_URL_OTHER)); | |
12308 | PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)wxHTML_SEL_OUT)); | |
12309 | PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)wxHTML_SEL_IN)); | |
12310 | PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)wxHTML_SEL_CHANGING)); | |
12311 | PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)wxHTML_FIND_EXACT)); | |
12312 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)wxHTML_FIND_NEAREST_BEFORE)); | |
12313 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)wxHTML_FIND_NEAREST_AFTER)); | |
12314 | PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)wxPAGE_ODD)); | |
12315 | PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)wxPAGE_EVEN)); | |
12316 | PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)wxPAGE_ALL)); | |
12317 | PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)wxHF_TOOLBAR)); | |
12318 | PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)wxHF_FLATTOOLBAR)); | |
12319 | PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)wxHF_CONTENTS)); | |
12320 | PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)wxHF_INDEX)); | |
12321 | PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)wxHF_SEARCH)); | |
12322 | PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)wxHF_BOOKMARKS)); | |
12323 | PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)wxHF_OPENFILES)); | |
12324 | PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)wxHF_PRINT)); | |
12325 | PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)wxHF_DEFAULTSTYLE)); | |
d14a1e28 RD |
12326 | |
12327 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
12328 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
12329 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
12330 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
12331 | ||
12332 | } | |
12333 |