]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.22 | |
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 | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | #define SWIG_PackData SWIG_Python_PackData | |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
51 | ||
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
82 | #else | |
83 | # define SWIGEXPORT(a) a | |
84 | # define SWIGIMPORT(a) a | |
85 | #endif | |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) | |
89 | #else | |
90 | # define SWIGRUNTIME(a) static a | |
91 | #endif | |
92 | ||
93 | #ifdef __cplusplus | |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
101 | const char *name; | |
102 | swig_converter_func converter; | |
103 | const char *str; | |
104 | void *clientdata; | |
105 | swig_dycast_func dcast; | |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); | |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
120 | ||
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | #endif | |
125 | ||
126 | /*********************************************************************** | |
127 | * pyrun.swg for wxPython | |
128 | * | |
129 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
130 | * but not the runtime functions themselves. This helps keep the | |
131 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
132 | * anyway. | |
133 | * | |
134 | ************************************************************************/ | |
135 | ||
136 | #include "Python.h" | |
137 | ||
138 | #ifdef __cplusplus | |
139 | extern "C" { | |
140 | #endif | |
141 | ||
142 | #define SWIG_PY_INT 1 | |
143 | #define SWIG_PY_FLOAT 2 | |
144 | #define SWIG_PY_STRING 3 | |
145 | #define SWIG_PY_POINTER 4 | |
146 | #define SWIG_PY_BINARY 5 | |
147 | ||
148 | /* Flags for pointer conversion */ | |
149 | ||
150 | #define SWIG_POINTER_EXCEPTION 0x1 | |
151 | #define SWIG_POINTER_DISOWN 0x2 | |
152 | ||
153 | /* Exception handling in wrappers */ | |
154 | #define SWIG_fail goto fail | |
155 | ||
156 | /* Constant information structure */ | |
157 | typedef struct swig_const_info { | |
158 | int type; | |
159 | char *name; | |
160 | long lvalue; | |
161 | double dvalue; | |
162 | void *pvalue; | |
163 | swig_type_info **ptype; | |
164 | } swig_const_info; | |
165 | ||
166 | /* Common SWIG API */ | |
167 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
168 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
169 | #define SWIG_NewPointerObj(p, type, flags) \ | |
170 | SWIG_Python_NewPointerObj(p, type, flags) | |
171 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
172 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
173 | ||
174 | /* Python-specific SWIG API */ | |
175 | #define SWIG_newvarlink() \ | |
176 | SWIG_Python_newvarlink() | |
177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
178 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
179 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
180 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
181 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
182 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
183 | #define SWIG_InstallConstants(d, constants) \ | |
184 | SWIG_Python_InstallConstants(d, constants) | |
185 | ||
186 | typedef double (*py_objasdbl_conv)(PyObject *obj); | |
187 | ||
188 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
189 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
190 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
191 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
192 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
193 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
194 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
195 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
196 | ||
197 | ||
198 | /* Contract support */ | |
199 | ||
200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
201 | ||
202 | #ifdef __cplusplus | |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
207 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
208 | ||
209 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0] | |
210 | #define SWIGTYPE_p_wxColour swig_types[1] | |
211 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2] | |
212 | #define SWIGTYPE_p_wxDC swig_types[3] | |
213 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4] | |
214 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5] | |
215 | #define SWIGTYPE_p_wxMouseEvent swig_types[6] | |
216 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[7] | |
217 | #define SWIGTYPE_p_wxVisualAttributes swig_types[8] | |
218 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[9] | |
219 | #define SWIGTYPE_p_char swig_types[10] | |
220 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[11] | |
221 | #define SWIGTYPE_p_wxHtmlParser swig_types[12] | |
222 | #define SWIGTYPE_p_wxPanel swig_types[13] | |
223 | #define SWIGTYPE_p_wxFont swig_types[14] | |
224 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[15] | |
225 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[16] | |
226 | #define SWIGTYPE_p_wxScrolledWindow swig_types[17] | |
227 | #define SWIGTYPE_p_wxWindow swig_types[18] | |
228 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[19] | |
229 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[20] | |
230 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[21] | |
231 | #define SWIGTYPE_p_wxHtmlSelection swig_types[22] | |
232 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[23] | |
233 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[24] | |
234 | #define SWIGTYPE_p_wxObject swig_types[25] | |
235 | #define SWIGTYPE_p_wxString swig_types[26] | |
236 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[27] | |
237 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[28] | |
238 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[29] | |
239 | #define SWIGTYPE_p_wxEvtHandler swig_types[30] | |
240 | #define SWIGTYPE_p_wxPoint swig_types[31] | |
241 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[32] | |
242 | #define SWIGTYPE_p_wxCursor swig_types[33] | |
243 | #define SWIGTYPE_p_wxFileSystem swig_types[34] | |
244 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[35] | |
245 | #define SWIGTYPE_p_wxPyPrintout swig_types[36] | |
246 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[37] | |
247 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[38] | |
248 | #define SWIGTYPE_p_wxHtmlContentsItem swig_types[39] | |
249 | #define SWIGTYPE_p_wxConfigBase swig_types[40] | |
250 | #define SWIGTYPE_p_wxPrintData swig_types[41] | |
251 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[42] | |
252 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[43] | |
253 | #define SWIGTYPE_p_wxFrame swig_types[44] | |
254 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[45] | |
255 | #define SWIGTYPE_p_wxHtmlFilter swig_types[46] | |
256 | #define SWIGTYPE_p_wxHtmlCell swig_types[47] | |
257 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[48] | |
258 | #define SWIGTYPE_p_wxHtmlTag swig_types[49] | |
259 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50] | |
260 | #define SWIGTYPE_p_int swig_types[51] | |
261 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[52] | |
262 | static swig_type_info *swig_types[54]; | |
263 | ||
264 | /* -------- TYPES TABLE (END) -------- */ | |
265 | ||
266 | ||
267 | /*----------------------------------------------- | |
268 | @(target):= _html.so | |
269 | ------------------------------------------------*/ | |
270 | #define SWIG_init init_html | |
271 | ||
272 | #define SWIG_name "_html" | |
273 | ||
274 | /* Auxiliar swig macros */ | |
275 | ||
276 | #ifdef __cplusplus | |
277 | #define SWIGSTATICINLINE(a) static inline a | |
278 | #define SWIGSTATIC(a) static a | |
279 | #define swig_new_array(type, size) (new type[(size)]) | |
280 | #define swig_delete_array(cptr) delete[] cptr | |
281 | #define swig_const_cast(type,a) const_cast<type>(a) | |
282 | #define swig_static_cast(type,a) static_cast<type>(a) | |
283 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
284 | ||
285 | #ifdef HAVE_NUMERIC_CAST | |
286 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) | |
287 | #else | |
288 | #define swig_numeric_cast(type,a) static_cast<type>(a) | |
289 | #endif | |
290 | ||
291 | #else /* C case */ | |
292 | ||
293 | #define SWIGSTATICINLINE(a) static a | |
294 | #define SWIGSTATIC(a) static a | |
295 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
296 | #define swig_delete_array(cptr) free((char*)cptr) | |
297 | #define swig_const_cast(type,a) (type)(a) | |
298 | #define swig_static_cast(type,a) (type)(a) | |
299 | #define swig_reinterpret_cast(type,a) (type)(a) | |
300 | #define swig_numeric_cast(type,a) (type)(a) | |
301 | ||
302 | #endif /* __cplusplus */ | |
303 | ||
304 | ||
305 | #define SWIG_FromSignedChar PyInt_FromLong | |
306 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
307 | #define SWIG_FromShort PyInt_FromLong | |
308 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
309 | #define SWIG_FromInt PyInt_FromLong | |
310 | #define SWIG_FromLong PyInt_FromLong | |
311 | #define SWIG_FromFloat PyFloat_FromDouble | |
312 | #define SWIG_FromDouble PyFloat_FromDouble | |
313 | #define SWIG_FromFloat PyFloat_FromDouble | |
314 | #define SWIG_FromDouble PyFloat_FromDouble | |
315 | ||
316 | ||
317 | #include "wx/wxPython/wxPython.h" | |
318 | #include "wx/wxPython/pyclasses.h" | |
319 | #include "wx/wxPython/pyistream.h" | |
320 | #include "wx/wxPython/printfw.h" | |
321 | ||
322 | #include <wx/html/htmlwin.h> | |
323 | #include <wx/html/htmprint.h> | |
324 | #include <wx/html/helpctrl.h> | |
325 | ||
326 | ||
327 | static const wxString wxPyEmptyString(wxEmptyString); | |
328 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
329 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
330 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
331 | ||
332 | #include <limits.h> | |
333 | ||
334 | ||
335 | SWIGSTATICINLINE(long) | |
336 | SWIG_CheckLongInRange(long value, const char* type, | |
337 | long min_value, long max_value) | |
338 | { | |
339 | if (!PyErr_Occurred()) { | |
340 | if (value < min_value) { | |
341 | PyObject *err = | |
342 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
343 | value, type, min_value); | |
344 | ||
345 | PyErr_SetObject(PyExc_OverflowError, err); | |
346 | Py_DECREF(err); | |
347 | } else if (value > max_value) { | |
348 | PyObject *err = | |
349 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
350 | value, type, max_value); | |
351 | PyErr_SetObject(PyExc_OverflowError, err); | |
352 | Py_DECREF(err); | |
353 | } | |
354 | } | |
355 | return value; | |
356 | } | |
357 | ||
358 | ||
359 | SWIGSTATICINLINE(long) | |
360 | SWIG_AsLong(PyObject * obj) | |
361 | { | |
362 | if (PyNumber_Check(obj)) | |
363 | return PyInt_AsLong(obj); | |
364 | else { | |
365 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
366 | obj->ob_type->tp_name); | |
367 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
368 | Py_DECREF(errmsg); | |
369 | return 0; | |
370 | } | |
371 | } | |
372 | ||
373 | ||
374 | #if INT_MAX != LONG_MAX | |
375 | SWIGSTATICINLINE(int) | |
376 | SWIG_AsInt(PyObject *obj) | |
377 | { | |
378 | return swig_numeric_cast(int, | |
379 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
380 | "int", INT_MIN, INT_MAX)); | |
381 | } | |
382 | #else | |
383 | #define SWIG_AsInt SWIG_AsLong | |
384 | #endif | |
385 | ||
386 | ||
387 | SWIGSTATICINLINE(int) | |
388 | SWIG_CheckInt(PyObject* obj) | |
389 | { | |
390 | SWIG_AsInt(obj); | |
391 | if (PyErr_Occurred()) { | |
392 | PyErr_Clear(); | |
393 | return 0; | |
394 | } else { | |
395 | return 1; | |
396 | } | |
397 | } | |
398 | ||
399 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
400 | int* temp = NULL; | |
401 | if (sizes) temp = int_LIST_helper(sizes); | |
402 | self->SetFonts(normal_face, fixed_face, temp); | |
403 | if (temp) | |
404 | delete [] temp; | |
405 | } | |
406 | ||
407 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
408 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
409 | public: | |
410 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
411 | ||
412 | wxHtmlParser* GetParser() { return m_Parser; } | |
413 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
414 | ||
415 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
416 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
417 | ||
418 | PYPRIVATE; | |
419 | }; | |
420 | ||
421 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
422 | ||
423 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
424 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
425 | ||
426 | ||
427 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
428 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
429 | public: | |
430 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
431 | ||
432 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
433 | void ParseInner(const wxHtmlTag& tag) | |
434 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
435 | ||
436 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
437 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
438 | ||
439 | PYPRIVATE; | |
440 | }; | |
441 | ||
442 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
443 | ||
444 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
445 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
446 | ||
447 | ||
448 | ||
449 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
450 | public: | |
451 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
452 | m_tagHandlerClass = thc; | |
453 | Py_INCREF(m_tagHandlerClass); | |
454 | RegisterModule(this); | |
455 | wxHtmlWinParser::AddModule(this); | |
456 | } | |
457 | ||
458 | void OnExit() { | |
459 | bool blocked = wxPyBeginBlockThreads(); | |
460 | Py_DECREF(m_tagHandlerClass); | |
461 | m_tagHandlerClass = NULL; | |
462 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
463 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
464 | Py_DECREF(obj); | |
465 | } | |
466 | wxPyEndBlockThreads(blocked); | |
467 | }; | |
468 | ||
469 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
470 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
471 | ||
472 | // First, make a new instance of the tag handler | |
473 | bool blocked = wxPyBeginBlockThreads(); | |
474 | PyObject* arg = PyTuple_New(0); | |
475 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
476 | Py_DECREF(arg); | |
477 | ||
478 | // now figure out where it's C++ object is... | |
479 | wxPyHtmlWinTagHandler* thPtr; | |
480 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { | |
481 | wxPyEndBlockThreads(blocked); | |
482 | return; | |
483 | } | |
484 | wxPyEndBlockThreads(blocked); | |
485 | ||
486 | // add it, | |
487 | parser->AddTagHandler(thPtr); | |
488 | ||
489 | // and track it. | |
490 | m_objArray.Add(obj); | |
491 | } | |
492 | ||
493 | private: | |
494 | PyObject* m_tagHandlerClass; | |
495 | wxArrayPtrVoid m_objArray; | |
496 | ||
497 | }; | |
498 | ||
499 | ||
500 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
501 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
502 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
503 | new wxPyHtmlTagsModule(tagHandlerClass); | |
504 | } | |
505 | ||
506 | ||
507 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
508 | PyObject* o2; | |
509 | PyObject* o3; | |
510 | ||
511 | if (!target) { | |
512 | target = o; | |
513 | } else if (target == Py_None) { | |
514 | Py_DECREF(Py_None); | |
515 | target = o; | |
516 | } else { | |
517 | if (!PyTuple_Check(target)) { | |
518 | o2 = target; | |
519 | target = PyTuple_New(1); | |
520 | PyTuple_SetItem(target, 0, o2); | |
521 | } | |
522 | o3 = PyTuple_New(1); | |
523 | PyTuple_SetItem(o3, 0, o); | |
524 | ||
525 | o2 = target; | |
526 | target = PySequence_Concat(o2, o3); | |
527 | Py_DECREF(o2); | |
528 | Py_DECREF(o3); | |
529 | } | |
530 | return target; | |
531 | } | |
532 | ||
533 | ||
534 | SWIGSTATICINLINE(bool) | |
535 | SWIG_AsBool(PyObject *obj) | |
536 | { | |
537 | return PyObject_IsTrue(obj) ? true : false; | |
538 | } | |
539 | ||
540 | ||
541 | SWIGSTATICINLINE(int) | |
542 | SWIG_CheckBool(PyObject* obj) | |
543 | { | |
544 | SWIG_AsBool(obj); | |
545 | if (PyErr_Occurred()) { | |
546 | PyErr_Clear(); | |
547 | return 0; | |
548 | } else { | |
549 | return 1; | |
550 | } | |
551 | } | |
552 | ||
553 | ||
554 | SWIGSTATICINLINE(unsigned long) | |
555 | SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type, | |
556 | unsigned long max_value) | |
557 | { | |
558 | if (!PyErr_Occurred()) { | |
559 | if (value > max_value) { | |
560 | PyObject *err = | |
561 | PyString_FromFormat("value %ld is greater than '%s' minimum %ld", | |
562 | value, type, max_value); | |
563 | PyErr_SetObject(PyExc_OverflowError, err); | |
564 | Py_DECREF(err); | |
565 | } | |
566 | } | |
567 | return value; | |
568 | } | |
569 | ||
570 | ||
571 | SWIGSTATICINLINE(unsigned long) | |
572 | SWIG_AsUnsignedLong(PyObject * obj) | |
573 | { | |
574 | if (PyLong_Check(obj)) { | |
575 | return PyLong_AsUnsignedLong(obj); | |
576 | } else { | |
577 | long i = SWIG_AsLong(obj); | |
578 | if ( !PyErr_Occurred() && (i < 0)) { | |
579 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
580 | } | |
581 | return i; | |
582 | } | |
583 | } | |
584 | ||
585 | ||
586 | #if UINT_MAX != ULONG_MAX | |
587 | SWIGSTATICINLINE(unsigned int) | |
588 | SWIG_AsUnsignedInt(PyObject *obj) | |
589 | { | |
590 | return swig_numeric_cast(unsigned int, | |
591 | SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj), | |
592 | "unsigned int", UINT_MAX)); | |
593 | } | |
594 | #else | |
595 | #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong | |
596 | #endif | |
597 | ||
598 | ||
599 | SWIGSTATICINLINE(int) | |
600 | SWIG_CheckUnsignedInt(PyObject* obj) | |
601 | { | |
602 | SWIG_AsUnsignedInt(obj); | |
603 | if (PyErr_Occurred()) { | |
604 | PyErr_Clear(); | |
605 | return 0; | |
606 | } else { | |
607 | return 1; | |
608 | } | |
609 | } | |
610 | ||
611 | ||
612 | SWIGSTATICINLINE(PyObject* ) | |
613 | SWIG_FromUnsignedLong(unsigned long value) | |
614 | { | |
615 | return (value > LONG_MAX) ? | |
616 | PyLong_FromUnsignedLong(value) | |
617 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
618 | } | |
619 | ||
620 | ||
621 | #if UINT_MAX < LONG_MAX | |
622 | #define SWIG_FromUnsignedInt SWIG_FromLong | |
623 | #else | |
624 | #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong | |
625 | #endif | |
626 | ||
627 | // here's the C++ version | |
628 | class wxPyHtmlFilter : public wxHtmlFilter { | |
629 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
630 | public: | |
631 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
632 | ||
633 | // returns True if this filter is able to open&read given file | |
634 | virtual bool CanRead(const wxFSFile& file) const { | |
635 | bool rval = False; | |
636 | bool found; | |
637 | bool blocked = wxPyBeginBlockThreads(); | |
638 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
639 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const | |
640 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
641 | Py_DECREF(obj); | |
642 | } | |
643 | wxPyEndBlockThreads(blocked); | |
644 | return rval; | |
645 | } | |
646 | ||
647 | ||
648 | // Reads given file and returns HTML document. | |
649 | // Returns empty string if opening failed | |
650 | virtual wxString ReadFile(const wxFSFile& file) const { | |
651 | wxString rval; | |
652 | bool found; | |
653 | bool blocked = wxPyBeginBlockThreads(); | |
654 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
655 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file,false); // cast away const | |
656 | PyObject* ro; | |
657 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
658 | Py_DECREF(obj); | |
659 | if (ro) { | |
660 | rval = Py2wxString(ro); | |
661 | Py_DECREF(ro); | |
662 | } | |
663 | } | |
664 | wxPyEndBlockThreads(blocked); | |
665 | return rval; | |
666 | } | |
667 | ||
668 | PYPRIVATE; | |
669 | }; | |
670 | ||
671 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
672 | ||
673 | ||
674 | class wxPyHtmlWindow : public wxHtmlWindow { | |
675 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
676 | public: | |
677 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
678 | const wxPoint& pos = wxDefaultPosition, | |
679 | const wxSize& size = wxDefaultSize, | |
680 | long style = wxHW_DEFAULT_STYLE, | |
681 | const wxString& name = wxPyHtmlWindowNameStr) | |
682 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
683 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
684 | ||
685 | bool ScrollToAnchor(const wxString& anchor) { | |
686 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
687 | } | |
688 | ||
689 | bool HasAnchor(const wxString& anchor) { | |
690 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
691 | return c!=NULL; | |
692 | } | |
693 | ||
694 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
695 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
696 | ||
697 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
698 | const wxString& url, | |
699 | wxString *redirect) const; | |
700 | ||
701 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
702 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
703 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
704 | PYPRIVATE; | |
705 | }; | |
706 | ||
707 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
708 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
709 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
710 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
711 | ||
712 | ||
713 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
714 | bool found; | |
715 | bool blocked = wxPyBeginBlockThreads(); | |
716 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { | |
717 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
718 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
719 | Py_DECREF(obj); | |
720 | } | |
721 | wxPyEndBlockThreads(blocked); | |
722 | if (! found) | |
723 | wxHtmlWindow::OnLinkClicked(link); | |
724 | } | |
725 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
726 | wxHtmlWindow::OnLinkClicked(link); | |
727 | } | |
728 | ||
729 | ||
730 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
731 | const wxString& url, | |
732 | wxString *redirect) const { | |
733 | bool found; | |
734 | wxHtmlOpeningStatus rval; | |
735 | bool blocked = wxPyBeginBlockThreads(); | |
736 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
737 | PyObject* ro; | |
738 | PyObject* s = wx2PyString(url); | |
739 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
740 | Py_DECREF(s); | |
741 | if (PyString_Check(ro) | |
742 | #if PYTHON_API_VERSION >= 1009 | |
743 | || PyUnicode_Check(ro) | |
744 | #endif | |
745 | ) { | |
746 | *redirect = Py2wxString(ro); | |
747 | rval = wxHTML_REDIRECT; | |
748 | } | |
749 | else { | |
750 | PyObject* num = PyNumber_Int(ro); | |
751 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
752 | Py_DECREF(num); | |
753 | } | |
754 | Py_DECREF(ro); | |
755 | } | |
756 | wxPyEndBlockThreads(blocked); | |
757 | if (! found) | |
758 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
759 | return rval; | |
760 | } | |
761 | ||
762 | ||
763 | ||
764 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
765 | int* temp = NULL; | |
766 | if (sizes) temp = int_LIST_helper(sizes); | |
767 | self->SetFonts(normal_face, fixed_face, temp); | |
768 | if (temp) | |
769 | delete [] temp; | |
770 | } | |
771 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
772 | int* temp = NULL; | |
773 | if (sizes) temp = int_LIST_helper(sizes); | |
774 | self->SetFonts(normal_face, fixed_face, temp); | |
775 | if (temp) | |
776 | delete [] temp; | |
777 | } | |
778 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
779 | int* temp = NULL; | |
780 | if (sizes) temp = int_LIST_helper(sizes); | |
781 | self->SetFonts(normal_face, fixed_face, temp); | |
782 | if (temp) | |
783 | delete [] temp; | |
784 | } | |
785 | ||
786 | #include <float.h> | |
787 | ||
788 | SWIGSTATIC(float) | |
789 | SWIG_FloatCast(double value) | |
790 | { | |
791 | float f = 0; | |
792 | if (!PyErr_Occurred()) { | |
793 | if (value < FLT_MIN) { | |
794 | PyObject *err = | |
795 | PyString_FromFormat("value %g is less than float minimum %g", | |
796 | value, FLT_MIN); | |
797 | PyErr_SetObject(PyExc_OverflowError, err); | |
798 | Py_DECREF(err); | |
799 | } else if (value > FLT_MAX) { | |
800 | PyObject *err = | |
801 | PyString_FromFormat("value %g is greater than float maximum %g", | |
802 | value, FLT_MAX); | |
803 | PyErr_SetObject(PyExc_OverflowError, err); | |
804 | Py_DECREF(err); | |
805 | } else { | |
806 | f = swig_numeric_cast(float, value); | |
807 | } | |
808 | } | |
809 | return f; | |
810 | } | |
811 | ||
812 | ||
813 | SWIGSTATICINLINE(double) | |
814 | SWIG_AsDouble(PyObject *obj) | |
815 | { | |
816 | if (PyNumber_Check(obj)) | |
817 | return PyFloat_AsDouble(obj); | |
818 | else { | |
819 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
820 | obj->ob_type->tp_name); | |
821 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
822 | Py_DECREF(errmsg); | |
823 | return 0; | |
824 | } | |
825 | } | |
826 | ||
827 | ||
828 | SWIGSTATICINLINE(float) | |
829 | SWIG_AsFloat(PyObject *obj) | |
830 | { | |
831 | return SWIG_FloatCast(SWIG_AsDouble(obj)); | |
832 | } | |
833 | ||
834 | ||
835 | SWIGSTATICINLINE(int) | |
836 | SWIG_CheckFloat(PyObject* obj) | |
837 | { | |
838 | SWIG_AsFloat(obj); | |
839 | if (PyErr_Occurred()) { | |
840 | PyErr_Clear(); | |
841 | return 0; | |
842 | } else { | |
843 | return 1; | |
844 | } | |
845 | } | |
846 | ||
847 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
848 | int* temp = NULL; | |
849 | if (sizes) temp = int_LIST_helper(sizes); | |
850 | self->SetFonts(normal_face, fixed_face, temp); | |
851 | if (temp) | |
852 | delete [] temp; | |
853 | } | |
854 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
855 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
856 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
857 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
858 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
859 | #ifdef __cplusplus | |
860 | extern "C" { | |
861 | #endif | |
862 | static int _wrap_HtmlWindowNameStr_set(PyObject *_val) { | |
863 | PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only."); | |
864 | return 1; | |
865 | } | |
866 | ||
867 | ||
868 | static PyObject *_wrap_HtmlWindowNameStr_get() { | |
869 | PyObject *pyobj; | |
870 | ||
871 | { | |
872 | #if wxUSE_UNICODE | |
873 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
874 | #else | |
875 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
876 | #endif | |
877 | } | |
878 | return pyobj; | |
879 | } | |
880 | ||
881 | ||
882 | static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) { | |
883 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
884 | return 1; | |
885 | } | |
886 | ||
887 | ||
888 | static PyObject *_wrap_HtmlPrintoutTitleStr_get() { | |
889 | PyObject *pyobj; | |
890 | ||
891 | { | |
892 | #if wxUSE_UNICODE | |
893 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
894 | #else | |
895 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
896 | #endif | |
897 | } | |
898 | return pyobj; | |
899 | } | |
900 | ||
901 | ||
902 | static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) { | |
903 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only."); | |
904 | return 1; | |
905 | } | |
906 | ||
907 | ||
908 | static PyObject *_wrap_HtmlPrintingTitleStr_get() { | |
909 | PyObject *pyobj; | |
910 | ||
911 | { | |
912 | #if wxUSE_UNICODE | |
913 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
914 | #else | |
915 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
916 | #endif | |
917 | } | |
918 | return pyobj; | |
919 | } | |
920 | ||
921 | ||
922 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject *resultobj; | |
924 | wxString *arg1 = 0 ; | |
925 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
926 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
927 | wxHtmlLinkInfo *result; | |
928 | bool temp1 = False ; | |
929 | bool temp2 = False ; | |
930 | PyObject * obj0 = 0 ; | |
931 | PyObject * obj1 = 0 ; | |
932 | char *kwnames[] = { | |
933 | (char *) "href",(char *) "target", NULL | |
934 | }; | |
935 | ||
936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
937 | { | |
938 | arg1 = wxString_in_helper(obj0); | |
939 | if (arg1 == NULL) SWIG_fail; | |
940 | temp1 = True; | |
941 | } | |
942 | if (obj1) { | |
943 | { | |
944 | arg2 = wxString_in_helper(obj1); | |
945 | if (arg2 == NULL) SWIG_fail; | |
946 | temp2 = True; | |
947 | } | |
948 | } | |
949 | { | |
950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
951 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
952 | ||
953 | wxPyEndAllowThreads(__tstate); | |
954 | if (PyErr_Occurred()) SWIG_fail; | |
955 | } | |
956 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
957 | { | |
958 | if (temp1) | |
959 | delete arg1; | |
960 | } | |
961 | { | |
962 | if (temp2) | |
963 | delete arg2; | |
964 | } | |
965 | return resultobj; | |
966 | fail: | |
967 | { | |
968 | if (temp1) | |
969 | delete arg1; | |
970 | } | |
971 | { | |
972 | if (temp2) | |
973 | delete arg2; | |
974 | } | |
975 | return NULL; | |
976 | } | |
977 | ||
978 | ||
979 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
980 | PyObject *resultobj; | |
981 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
982 | wxString result; | |
983 | PyObject * obj0 = 0 ; | |
984 | char *kwnames[] = { | |
985 | (char *) "self", NULL | |
986 | }; | |
987 | ||
988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
991 | { | |
992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
993 | result = (arg1)->GetHref(); | |
994 | ||
995 | wxPyEndAllowThreads(__tstate); | |
996 | if (PyErr_Occurred()) SWIG_fail; | |
997 | } | |
998 | { | |
999 | #if wxUSE_UNICODE | |
1000 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1001 | #else | |
1002 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1003 | #endif | |
1004 | } | |
1005 | return resultobj; | |
1006 | fail: | |
1007 | return NULL; | |
1008 | } | |
1009 | ||
1010 | ||
1011 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1012 | PyObject *resultobj; | |
1013 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1014 | wxString result; | |
1015 | PyObject * obj0 = 0 ; | |
1016 | char *kwnames[] = { | |
1017 | (char *) "self", NULL | |
1018 | }; | |
1019 | ||
1020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
1021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1023 | { | |
1024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1025 | result = (arg1)->GetTarget(); | |
1026 | ||
1027 | wxPyEndAllowThreads(__tstate); | |
1028 | if (PyErr_Occurred()) SWIG_fail; | |
1029 | } | |
1030 | { | |
1031 | #if wxUSE_UNICODE | |
1032 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1033 | #else | |
1034 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1035 | #endif | |
1036 | } | |
1037 | return resultobj; | |
1038 | fail: | |
1039 | return NULL; | |
1040 | } | |
1041 | ||
1042 | ||
1043 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1044 | PyObject *resultobj; | |
1045 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1046 | wxMouseEvent *result; | |
1047 | PyObject * obj0 = 0 ; | |
1048 | char *kwnames[] = { | |
1049 | (char *) "self", NULL | |
1050 | }; | |
1051 | ||
1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
1053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1055 | { | |
1056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1057 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
1058 | ||
1059 | wxPyEndAllowThreads(__tstate); | |
1060 | if (PyErr_Occurred()) SWIG_fail; | |
1061 | } | |
1062 | { | |
1063 | resultobj = wxPyMake_wxObject(result, 0); | |
1064 | } | |
1065 | return resultobj; | |
1066 | fail: | |
1067 | return NULL; | |
1068 | } | |
1069 | ||
1070 | ||
1071 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1072 | PyObject *resultobj; | |
1073 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1074 | wxHtmlCell *result; | |
1075 | PyObject * obj0 = 0 ; | |
1076 | char *kwnames[] = { | |
1077 | (char *) "self", NULL | |
1078 | }; | |
1079 | ||
1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
1081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1083 | { | |
1084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1085 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
1086 | ||
1087 | wxPyEndAllowThreads(__tstate); | |
1088 | if (PyErr_Occurred()) SWIG_fail; | |
1089 | } | |
1090 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
1091 | return resultobj; | |
1092 | fail: | |
1093 | return NULL; | |
1094 | } | |
1095 | ||
1096 | ||
1097 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1098 | PyObject *resultobj; | |
1099 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1100 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
1101 | PyObject * obj0 = 0 ; | |
1102 | PyObject * obj1 = 0 ; | |
1103 | char *kwnames[] = { | |
1104 | (char *) "self",(char *) "e", NULL | |
1105 | }; | |
1106 | ||
1107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
1108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1110 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent, | |
1111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1112 | { | |
1113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1114 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
1115 | ||
1116 | wxPyEndAllowThreads(__tstate); | |
1117 | if (PyErr_Occurred()) SWIG_fail; | |
1118 | } | |
1119 | Py_INCREF(Py_None); resultobj = Py_None; | |
1120 | return resultobj; | |
1121 | fail: | |
1122 | return NULL; | |
1123 | } | |
1124 | ||
1125 | ||
1126 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1127 | PyObject *resultobj; | |
1128 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1129 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
1130 | PyObject * obj0 = 0 ; | |
1131 | PyObject * obj1 = 0 ; | |
1132 | char *kwnames[] = { | |
1133 | (char *) "self",(char *) "e", NULL | |
1134 | }; | |
1135 | ||
1136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
1137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1139 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
1140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1141 | { | |
1142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1143 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
1144 | ||
1145 | wxPyEndAllowThreads(__tstate); | |
1146 | if (PyErr_Occurred()) SWIG_fail; | |
1147 | } | |
1148 | Py_INCREF(Py_None); resultobj = Py_None; | |
1149 | return resultobj; | |
1150 | fail: | |
1151 | return NULL; | |
1152 | } | |
1153 | ||
1154 | ||
1155 | static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) { | |
1156 | PyObject *obj; | |
1157 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1158 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
1159 | Py_INCREF(obj); | |
1160 | return Py_BuildValue((char *)""); | |
1161 | } | |
1162 | static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1163 | PyObject *resultobj; | |
1164 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1165 | wxString result; | |
1166 | PyObject * obj0 = 0 ; | |
1167 | char *kwnames[] = { | |
1168 | (char *) "self", NULL | |
1169 | }; | |
1170 | ||
1171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
1172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1174 | { | |
1175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1176 | result = (arg1)->GetName(); | |
1177 | ||
1178 | wxPyEndAllowThreads(__tstate); | |
1179 | if (PyErr_Occurred()) SWIG_fail; | |
1180 | } | |
1181 | { | |
1182 | #if wxUSE_UNICODE | |
1183 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1184 | #else | |
1185 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1186 | #endif | |
1187 | } | |
1188 | return resultobj; | |
1189 | fail: | |
1190 | return NULL; | |
1191 | } | |
1192 | ||
1193 | ||
1194 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1195 | PyObject *resultobj; | |
1196 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1197 | wxString *arg2 = 0 ; | |
1198 | bool result; | |
1199 | bool temp2 = False ; | |
1200 | PyObject * obj0 = 0 ; | |
1201 | PyObject * obj1 = 0 ; | |
1202 | char *kwnames[] = { | |
1203 | (char *) "self",(char *) "par", NULL | |
1204 | }; | |
1205 | ||
1206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
1207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1209 | { | |
1210 | arg2 = wxString_in_helper(obj1); | |
1211 | if (arg2 == NULL) SWIG_fail; | |
1212 | temp2 = True; | |
1213 | } | |
1214 | { | |
1215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1216 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
1217 | ||
1218 | wxPyEndAllowThreads(__tstate); | |
1219 | if (PyErr_Occurred()) SWIG_fail; | |
1220 | } | |
1221 | { | |
1222 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1223 | } | |
1224 | { | |
1225 | if (temp2) | |
1226 | delete arg2; | |
1227 | } | |
1228 | return resultobj; | |
1229 | fail: | |
1230 | { | |
1231 | if (temp2) | |
1232 | delete arg2; | |
1233 | } | |
1234 | return NULL; | |
1235 | } | |
1236 | ||
1237 | ||
1238 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1239 | PyObject *resultobj; | |
1240 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1241 | wxString *arg2 = 0 ; | |
1242 | int arg3 = (int) False ; | |
1243 | wxString result; | |
1244 | bool temp2 = False ; | |
1245 | PyObject * obj0 = 0 ; | |
1246 | PyObject * obj1 = 0 ; | |
1247 | PyObject * obj2 = 0 ; | |
1248 | char *kwnames[] = { | |
1249 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
1250 | }; | |
1251 | ||
1252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1255 | { | |
1256 | arg2 = wxString_in_helper(obj1); | |
1257 | if (arg2 == NULL) SWIG_fail; | |
1258 | temp2 = True; | |
1259 | } | |
1260 | if (obj2) { | |
1261 | arg3 = (int) SWIG_AsInt(obj2); | |
1262 | if (PyErr_Occurred()) SWIG_fail; | |
1263 | } | |
1264 | { | |
1265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1266 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
1267 | ||
1268 | wxPyEndAllowThreads(__tstate); | |
1269 | if (PyErr_Occurred()) SWIG_fail; | |
1270 | } | |
1271 | { | |
1272 | #if wxUSE_UNICODE | |
1273 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1274 | #else | |
1275 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1276 | #endif | |
1277 | } | |
1278 | { | |
1279 | if (temp2) | |
1280 | delete arg2; | |
1281 | } | |
1282 | return resultobj; | |
1283 | fail: | |
1284 | { | |
1285 | if (temp2) | |
1286 | delete arg2; | |
1287 | } | |
1288 | return NULL; | |
1289 | } | |
1290 | ||
1291 | ||
1292 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
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_GetAllParams",kwnames,&obj0)) goto fail; | |
1302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1304 | { | |
1305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1306 | result = (arg1)->GetAllParams(); | |
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 | ||
1324 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1325 | PyObject *resultobj; | |
1326 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1327 | bool result; | |
1328 | PyObject * obj0 = 0 ; | |
1329 | char *kwnames[] = { | |
1330 | (char *) "self", NULL | |
1331 | }; | |
1332 | ||
1333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
1334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1336 | { | |
1337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1338 | result = (bool)(arg1)->HasEnding(); | |
1339 | ||
1340 | wxPyEndAllowThreads(__tstate); | |
1341 | if (PyErr_Occurred()) SWIG_fail; | |
1342 | } | |
1343 | { | |
1344 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1345 | } | |
1346 | return resultobj; | |
1347 | fail: | |
1348 | return NULL; | |
1349 | } | |
1350 | ||
1351 | ||
1352 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1353 | PyObject *resultobj; | |
1354 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1355 | int result; | |
1356 | PyObject * obj0 = 0 ; | |
1357 | char *kwnames[] = { | |
1358 | (char *) "self", NULL | |
1359 | }; | |
1360 | ||
1361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
1362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1364 | { | |
1365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1366 | result = (int)(arg1)->GetBeginPos(); | |
1367 | ||
1368 | wxPyEndAllowThreads(__tstate); | |
1369 | if (PyErr_Occurred()) SWIG_fail; | |
1370 | } | |
1371 | resultobj = SWIG_FromInt((int)result); | |
1372 | return resultobj; | |
1373 | fail: | |
1374 | return NULL; | |
1375 | } | |
1376 | ||
1377 | ||
1378 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1379 | PyObject *resultobj; | |
1380 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1381 | int result; | |
1382 | PyObject * obj0 = 0 ; | |
1383 | char *kwnames[] = { | |
1384 | (char *) "self", NULL | |
1385 | }; | |
1386 | ||
1387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
1388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1390 | { | |
1391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1392 | result = (int)(arg1)->GetEndPos1(); | |
1393 | ||
1394 | wxPyEndAllowThreads(__tstate); | |
1395 | if (PyErr_Occurred()) SWIG_fail; | |
1396 | } | |
1397 | resultobj = SWIG_FromInt((int)result); | |
1398 | return resultobj; | |
1399 | fail: | |
1400 | return NULL; | |
1401 | } | |
1402 | ||
1403 | ||
1404 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1405 | PyObject *resultobj; | |
1406 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1407 | int result; | |
1408 | PyObject * obj0 = 0 ; | |
1409 | char *kwnames[] = { | |
1410 | (char *) "self", NULL | |
1411 | }; | |
1412 | ||
1413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
1414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1416 | { | |
1417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1418 | result = (int)(arg1)->GetEndPos2(); | |
1419 | ||
1420 | wxPyEndAllowThreads(__tstate); | |
1421 | if (PyErr_Occurred()) SWIG_fail; | |
1422 | } | |
1423 | resultobj = SWIG_FromInt((int)result); | |
1424 | return resultobj; | |
1425 | fail: | |
1426 | return NULL; | |
1427 | } | |
1428 | ||
1429 | ||
1430 | static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) { | |
1431 | PyObject *obj; | |
1432 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1433 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1434 | Py_INCREF(obj); | |
1435 | return Py_BuildValue((char *)""); | |
1436 | } | |
1437 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1438 | PyObject *resultobj; | |
1439 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1440 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1441 | PyObject * obj0 = 0 ; | |
1442 | PyObject * obj1 = 0 ; | |
1443 | char *kwnames[] = { | |
1444 | (char *) "self",(char *) "fs", NULL | |
1445 | }; | |
1446 | ||
1447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
1448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1450 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem, | |
1451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1452 | { | |
1453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1454 | (arg1)->SetFS(arg2); | |
1455 | ||
1456 | wxPyEndAllowThreads(__tstate); | |
1457 | if (PyErr_Occurred()) SWIG_fail; | |
1458 | } | |
1459 | Py_INCREF(Py_None); resultobj = Py_None; | |
1460 | return resultobj; | |
1461 | fail: | |
1462 | return NULL; | |
1463 | } | |
1464 | ||
1465 | ||
1466 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1467 | PyObject *resultobj; | |
1468 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1469 | wxFileSystem *result; | |
1470 | PyObject * obj0 = 0 ; | |
1471 | char *kwnames[] = { | |
1472 | (char *) "self", NULL | |
1473 | }; | |
1474 | ||
1475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
1476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1478 | { | |
1479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1480 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1481 | ||
1482 | wxPyEndAllowThreads(__tstate); | |
1483 | if (PyErr_Occurred()) SWIG_fail; | |
1484 | } | |
1485 | { | |
1486 | resultobj = wxPyMake_wxObject(result, 0); | |
1487 | } | |
1488 | return resultobj; | |
1489 | fail: | |
1490 | return NULL; | |
1491 | } | |
1492 | ||
1493 | ||
1494 | static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1495 | PyObject *resultobj; | |
1496 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1497 | wxString *arg2 = 0 ; | |
1498 | wxObject *result; | |
1499 | bool temp2 = False ; | |
1500 | PyObject * obj0 = 0 ; | |
1501 | PyObject * obj1 = 0 ; | |
1502 | char *kwnames[] = { | |
1503 | (char *) "self",(char *) "source", NULL | |
1504 | }; | |
1505 | ||
1506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
1507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1509 | { | |
1510 | arg2 = wxString_in_helper(obj1); | |
1511 | if (arg2 == NULL) SWIG_fail; | |
1512 | temp2 = True; | |
1513 | } | |
1514 | { | |
1515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1516 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1517 | ||
1518 | wxPyEndAllowThreads(__tstate); | |
1519 | if (PyErr_Occurred()) SWIG_fail; | |
1520 | } | |
1521 | { | |
1522 | resultobj = wxPyMake_wxObject(result, 0); | |
1523 | } | |
1524 | { | |
1525 | if (temp2) | |
1526 | delete arg2; | |
1527 | } | |
1528 | return resultobj; | |
1529 | fail: | |
1530 | { | |
1531 | if (temp2) | |
1532 | delete arg2; | |
1533 | } | |
1534 | return NULL; | |
1535 | } | |
1536 | ||
1537 | ||
1538 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1539 | PyObject *resultobj; | |
1540 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1541 | wxString *arg2 = 0 ; | |
1542 | bool temp2 = False ; | |
1543 | PyObject * obj0 = 0 ; | |
1544 | PyObject * obj1 = 0 ; | |
1545 | char *kwnames[] = { | |
1546 | (char *) "self",(char *) "source", NULL | |
1547 | }; | |
1548 | ||
1549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
1550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1552 | { | |
1553 | arg2 = wxString_in_helper(obj1); | |
1554 | if (arg2 == NULL) SWIG_fail; | |
1555 | temp2 = True; | |
1556 | } | |
1557 | { | |
1558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1559 | (arg1)->InitParser((wxString const &)*arg2); | |
1560 | ||
1561 | wxPyEndAllowThreads(__tstate); | |
1562 | if (PyErr_Occurred()) SWIG_fail; | |
1563 | } | |
1564 | Py_INCREF(Py_None); resultobj = Py_None; | |
1565 | { | |
1566 | if (temp2) | |
1567 | delete arg2; | |
1568 | } | |
1569 | return resultobj; | |
1570 | fail: | |
1571 | { | |
1572 | if (temp2) | |
1573 | delete arg2; | |
1574 | } | |
1575 | return NULL; | |
1576 | } | |
1577 | ||
1578 | ||
1579 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1580 | PyObject *resultobj; | |
1581 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1582 | PyObject * obj0 = 0 ; | |
1583 | char *kwnames[] = { | |
1584 | (char *) "self", NULL | |
1585 | }; | |
1586 | ||
1587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
1588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1590 | { | |
1591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1592 | (arg1)->DoneParser(); | |
1593 | ||
1594 | wxPyEndAllowThreads(__tstate); | |
1595 | if (PyErr_Occurred()) SWIG_fail; | |
1596 | } | |
1597 | Py_INCREF(Py_None); resultobj = Py_None; | |
1598 | return resultobj; | |
1599 | fail: | |
1600 | return NULL; | |
1601 | } | |
1602 | ||
1603 | ||
1604 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1605 | PyObject *resultobj; | |
1606 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1607 | int arg2 ; | |
1608 | int arg3 ; | |
1609 | PyObject * obj0 = 0 ; | |
1610 | PyObject * obj1 = 0 ; | |
1611 | PyObject * obj2 = 0 ; | |
1612 | char *kwnames[] = { | |
1613 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1614 | }; | |
1615 | ||
1616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1619 | arg2 = (int) SWIG_AsInt(obj1); | |
1620 | if (PyErr_Occurred()) SWIG_fail; | |
1621 | arg3 = (int) SWIG_AsInt(obj2); | |
1622 | if (PyErr_Occurred()) SWIG_fail; | |
1623 | { | |
1624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1625 | (arg1)->DoParsing(arg2,arg3); | |
1626 | ||
1627 | wxPyEndAllowThreads(__tstate); | |
1628 | if (PyErr_Occurred()) SWIG_fail; | |
1629 | } | |
1630 | Py_INCREF(Py_None); resultobj = Py_None; | |
1631 | return resultobj; | |
1632 | fail: | |
1633 | return NULL; | |
1634 | } | |
1635 | ||
1636 | ||
1637 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1638 | PyObject *resultobj; | |
1639 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1640 | PyObject * obj0 = 0 ; | |
1641 | char *kwnames[] = { | |
1642 | (char *) "self", NULL | |
1643 | }; | |
1644 | ||
1645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
1646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1648 | { | |
1649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1650 | (arg1)->StopParsing(); | |
1651 | ||
1652 | wxPyEndAllowThreads(__tstate); | |
1653 | if (PyErr_Occurred()) SWIG_fail; | |
1654 | } | |
1655 | Py_INCREF(Py_None); resultobj = Py_None; | |
1656 | return resultobj; | |
1657 | fail: | |
1658 | return NULL; | |
1659 | } | |
1660 | ||
1661 | ||
1662 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1663 | PyObject *resultobj; | |
1664 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1665 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1666 | PyObject * obj0 = 0 ; | |
1667 | PyObject * obj1 = 0 ; | |
1668 | char *kwnames[] = { | |
1669 | (char *) "self",(char *) "handler", NULL | |
1670 | }; | |
1671 | ||
1672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
1673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1675 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler, | |
1676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1677 | { | |
1678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1679 | (arg1)->AddTagHandler(arg2); | |
1680 | ||
1681 | wxPyEndAllowThreads(__tstate); | |
1682 | if (PyErr_Occurred()) SWIG_fail; | |
1683 | } | |
1684 | Py_INCREF(Py_None); resultobj = Py_None; | |
1685 | return resultobj; | |
1686 | fail: | |
1687 | return NULL; | |
1688 | } | |
1689 | ||
1690 | ||
1691 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1692 | PyObject *resultobj; | |
1693 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1694 | wxString *result; | |
1695 | PyObject * obj0 = 0 ; | |
1696 | char *kwnames[] = { | |
1697 | (char *) "self", NULL | |
1698 | }; | |
1699 | ||
1700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
1701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1703 | { | |
1704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1705 | result = (wxString *)(arg1)->GetSource(); | |
1706 | ||
1707 | wxPyEndAllowThreads(__tstate); | |
1708 | if (PyErr_Occurred()) SWIG_fail; | |
1709 | } | |
1710 | { | |
1711 | #if wxUSE_UNICODE | |
1712 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1713 | #else | |
1714 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1715 | #endif | |
1716 | } | |
1717 | return resultobj; | |
1718 | fail: | |
1719 | return NULL; | |
1720 | } | |
1721 | ||
1722 | ||
1723 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1724 | PyObject *resultobj; | |
1725 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1726 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1727 | wxString arg3 ; | |
1728 | PyObject * obj0 = 0 ; | |
1729 | PyObject * obj1 = 0 ; | |
1730 | PyObject * obj2 = 0 ; | |
1731 | char *kwnames[] = { | |
1732 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1733 | }; | |
1734 | ||
1735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1738 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler, | |
1739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1740 | { | |
1741 | wxString* sptr = wxString_in_helper(obj2); | |
1742 | if (sptr == NULL) SWIG_fail; | |
1743 | arg3 = *sptr; | |
1744 | delete sptr; | |
1745 | } | |
1746 | { | |
1747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1748 | (arg1)->PushTagHandler(arg2,arg3); | |
1749 | ||
1750 | wxPyEndAllowThreads(__tstate); | |
1751 | if (PyErr_Occurred()) SWIG_fail; | |
1752 | } | |
1753 | Py_INCREF(Py_None); resultobj = Py_None; | |
1754 | return resultobj; | |
1755 | fail: | |
1756 | return NULL; | |
1757 | } | |
1758 | ||
1759 | ||
1760 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1761 | PyObject *resultobj; | |
1762 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1763 | PyObject * obj0 = 0 ; | |
1764 | char *kwnames[] = { | |
1765 | (char *) "self", NULL | |
1766 | }; | |
1767 | ||
1768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1771 | { | |
1772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1773 | (arg1)->PopTagHandler(); | |
1774 | ||
1775 | wxPyEndAllowThreads(__tstate); | |
1776 | if (PyErr_Occurred()) SWIG_fail; | |
1777 | } | |
1778 | Py_INCREF(Py_None); resultobj = Py_None; | |
1779 | return resultobj; | |
1780 | fail: | |
1781 | return NULL; | |
1782 | } | |
1783 | ||
1784 | ||
1785 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1786 | PyObject *obj; | |
1787 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1788 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1789 | Py_INCREF(obj); | |
1790 | return Py_BuildValue((char *)""); | |
1791 | } | |
1792 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1793 | PyObject *resultobj; | |
1794 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1795 | wxHtmlWinParser *result; | |
1796 | PyObject * obj0 = 0 ; | |
1797 | char *kwnames[] = { | |
1798 | (char *) "wnd", NULL | |
1799 | }; | |
1800 | ||
1801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1802 | if (obj0) { | |
1803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
1804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1805 | } | |
1806 | { | |
1807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1808 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1809 | ||
1810 | wxPyEndAllowThreads(__tstate); | |
1811 | if (PyErr_Occurred()) SWIG_fail; | |
1812 | } | |
1813 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1); | |
1814 | return resultobj; | |
1815 | fail: | |
1816 | return NULL; | |
1817 | } | |
1818 | ||
1819 | ||
1820 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1821 | PyObject *resultobj; | |
1822 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1823 | wxDC *arg2 = (wxDC *) 0 ; | |
1824 | PyObject * obj0 = 0 ; | |
1825 | PyObject * obj1 = 0 ; | |
1826 | char *kwnames[] = { | |
1827 | (char *) "self",(char *) "dc", NULL | |
1828 | }; | |
1829 | ||
1830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1833 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
1834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1835 | { | |
1836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1837 | (arg1)->SetDC(arg2); | |
1838 | ||
1839 | wxPyEndAllowThreads(__tstate); | |
1840 | if (PyErr_Occurred()) SWIG_fail; | |
1841 | } | |
1842 | Py_INCREF(Py_None); resultobj = Py_None; | |
1843 | return resultobj; | |
1844 | fail: | |
1845 | return NULL; | |
1846 | } | |
1847 | ||
1848 | ||
1849 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1850 | PyObject *resultobj; | |
1851 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1852 | wxDC *result; | |
1853 | PyObject * obj0 = 0 ; | |
1854 | char *kwnames[] = { | |
1855 | (char *) "self", NULL | |
1856 | }; | |
1857 | ||
1858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1861 | { | |
1862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1863 | result = (wxDC *)(arg1)->GetDC(); | |
1864 | ||
1865 | wxPyEndAllowThreads(__tstate); | |
1866 | if (PyErr_Occurred()) SWIG_fail; | |
1867 | } | |
1868 | { | |
1869 | resultobj = wxPyMake_wxObject(result, 0); | |
1870 | } | |
1871 | return resultobj; | |
1872 | fail: | |
1873 | return NULL; | |
1874 | } | |
1875 | ||
1876 | ||
1877 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1878 | PyObject *resultobj; | |
1879 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1880 | int result; | |
1881 | PyObject * obj0 = 0 ; | |
1882 | char *kwnames[] = { | |
1883 | (char *) "self", NULL | |
1884 | }; | |
1885 | ||
1886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1889 | { | |
1890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1891 | result = (int)(arg1)->GetCharHeight(); | |
1892 | ||
1893 | wxPyEndAllowThreads(__tstate); | |
1894 | if (PyErr_Occurred()) SWIG_fail; | |
1895 | } | |
1896 | resultobj = SWIG_FromInt((int)result); | |
1897 | return resultobj; | |
1898 | fail: | |
1899 | return NULL; | |
1900 | } | |
1901 | ||
1902 | ||
1903 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1904 | PyObject *resultobj; | |
1905 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1906 | int result; | |
1907 | PyObject * obj0 = 0 ; | |
1908 | char *kwnames[] = { | |
1909 | (char *) "self", NULL | |
1910 | }; | |
1911 | ||
1912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1915 | { | |
1916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1917 | result = (int)(arg1)->GetCharWidth(); | |
1918 | ||
1919 | wxPyEndAllowThreads(__tstate); | |
1920 | if (PyErr_Occurred()) SWIG_fail; | |
1921 | } | |
1922 | resultobj = SWIG_FromInt((int)result); | |
1923 | return resultobj; | |
1924 | fail: | |
1925 | return NULL; | |
1926 | } | |
1927 | ||
1928 | ||
1929 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1930 | PyObject *resultobj; | |
1931 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1932 | wxPyHtmlWindow *result; | |
1933 | PyObject * obj0 = 0 ; | |
1934 | char *kwnames[] = { | |
1935 | (char *) "self", NULL | |
1936 | }; | |
1937 | ||
1938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1941 | { | |
1942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1943 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1944 | ||
1945 | wxPyEndAllowThreads(__tstate); | |
1946 | if (PyErr_Occurred()) SWIG_fail; | |
1947 | } | |
1948 | { | |
1949 | resultobj = wxPyMake_wxObject(result, 0); | |
1950 | } | |
1951 | return resultobj; | |
1952 | fail: | |
1953 | return NULL; | |
1954 | } | |
1955 | ||
1956 | ||
1957 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1958 | PyObject *resultobj; | |
1959 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1960 | wxString arg2 ; | |
1961 | wxString arg3 ; | |
1962 | PyObject *arg4 = (PyObject *) NULL ; | |
1963 | PyObject * obj0 = 0 ; | |
1964 | PyObject * obj1 = 0 ; | |
1965 | PyObject * obj2 = 0 ; | |
1966 | PyObject * obj3 = 0 ; | |
1967 | char *kwnames[] = { | |
1968 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1969 | }; | |
1970 | ||
1971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1974 | { | |
1975 | wxString* sptr = wxString_in_helper(obj1); | |
1976 | if (sptr == NULL) SWIG_fail; | |
1977 | arg2 = *sptr; | |
1978 | delete sptr; | |
1979 | } | |
1980 | { | |
1981 | wxString* sptr = wxString_in_helper(obj2); | |
1982 | if (sptr == NULL) SWIG_fail; | |
1983 | arg3 = *sptr; | |
1984 | delete sptr; | |
1985 | } | |
1986 | if (obj3) { | |
1987 | arg4 = obj3; | |
1988 | } | |
1989 | { | |
1990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1991 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1992 | ||
1993 | wxPyEndAllowThreads(__tstate); | |
1994 | if (PyErr_Occurred()) SWIG_fail; | |
1995 | } | |
1996 | Py_INCREF(Py_None); resultobj = Py_None; | |
1997 | return resultobj; | |
1998 | fail: | |
1999 | return NULL; | |
2000 | } | |
2001 | ||
2002 | ||
2003 | static PyObject *_wrap_HtmlWinParser_NormalizeFontSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2004 | PyObject *resultobj; | |
2005 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2006 | int arg2 = (int) -1 ; | |
2007 | PyObject * obj0 = 0 ; | |
2008 | PyObject * obj1 = 0 ; | |
2009 | char *kwnames[] = { | |
2010 | (char *) "self",(char *) "size", NULL | |
2011 | }; | |
2012 | ||
2013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWinParser_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
2014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2016 | if (obj1) { | |
2017 | arg2 = (int) SWIG_AsInt(obj1); | |
2018 | if (PyErr_Occurred()) SWIG_fail; | |
2019 | } | |
2020 | { | |
2021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2022 | (arg1)->NormalizeFontSizes(arg2); | |
2023 | ||
2024 | wxPyEndAllowThreads(__tstate); | |
2025 | if (PyErr_Occurred()) SWIG_fail; | |
2026 | } | |
2027 | Py_INCREF(Py_None); resultobj = Py_None; | |
2028 | return resultobj; | |
2029 | fail: | |
2030 | return NULL; | |
2031 | } | |
2032 | ||
2033 | ||
2034 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2035 | PyObject *resultobj; | |
2036 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2037 | wxHtmlContainerCell *result; | |
2038 | PyObject * obj0 = 0 ; | |
2039 | char *kwnames[] = { | |
2040 | (char *) "self", NULL | |
2041 | }; | |
2042 | ||
2043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
2044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2046 | { | |
2047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2048 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
2049 | ||
2050 | wxPyEndAllowThreads(__tstate); | |
2051 | if (PyErr_Occurred()) SWIG_fail; | |
2052 | } | |
2053 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2054 | return resultobj; | |
2055 | fail: | |
2056 | return NULL; | |
2057 | } | |
2058 | ||
2059 | ||
2060 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2061 | PyObject *resultobj; | |
2062 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2063 | wxHtmlContainerCell *result; | |
2064 | PyObject * obj0 = 0 ; | |
2065 | char *kwnames[] = { | |
2066 | (char *) "self", NULL | |
2067 | }; | |
2068 | ||
2069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
2070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2072 | { | |
2073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2074 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
2075 | ||
2076 | wxPyEndAllowThreads(__tstate); | |
2077 | if (PyErr_Occurred()) SWIG_fail; | |
2078 | } | |
2079 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2080 | return resultobj; | |
2081 | fail: | |
2082 | return NULL; | |
2083 | } | |
2084 | ||
2085 | ||
2086 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2087 | PyObject *resultobj; | |
2088 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2089 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
2090 | wxHtmlContainerCell *result; | |
2091 | PyObject * obj0 = 0 ; | |
2092 | PyObject * obj1 = 0 ; | |
2093 | char *kwnames[] = { | |
2094 | (char *) "self",(char *) "c", NULL | |
2095 | }; | |
2096 | ||
2097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
2098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2100 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
2101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2102 | { | |
2103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2104 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
2105 | ||
2106 | wxPyEndAllowThreads(__tstate); | |
2107 | if (PyErr_Occurred()) SWIG_fail; | |
2108 | } | |
2109 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2110 | return resultobj; | |
2111 | fail: | |
2112 | return NULL; | |
2113 | } | |
2114 | ||
2115 | ||
2116 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2117 | PyObject *resultobj; | |
2118 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2119 | wxHtmlContainerCell *result; | |
2120 | PyObject * obj0 = 0 ; | |
2121 | char *kwnames[] = { | |
2122 | (char *) "self", NULL | |
2123 | }; | |
2124 | ||
2125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
2126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2128 | { | |
2129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2130 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
2131 | ||
2132 | wxPyEndAllowThreads(__tstate); | |
2133 | if (PyErr_Occurred()) SWIG_fail; | |
2134 | } | |
2135 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2136 | return resultobj; | |
2137 | fail: | |
2138 | return NULL; | |
2139 | } | |
2140 | ||
2141 | ||
2142 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2143 | PyObject *resultobj; | |
2144 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2145 | int result; | |
2146 | PyObject * obj0 = 0 ; | |
2147 | char *kwnames[] = { | |
2148 | (char *) "self", NULL | |
2149 | }; | |
2150 | ||
2151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
2152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2154 | { | |
2155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2156 | result = (int)(arg1)->GetFontSize(); | |
2157 | ||
2158 | wxPyEndAllowThreads(__tstate); | |
2159 | if (PyErr_Occurred()) SWIG_fail; | |
2160 | } | |
2161 | resultobj = SWIG_FromInt((int)result); | |
2162 | return resultobj; | |
2163 | fail: | |
2164 | return NULL; | |
2165 | } | |
2166 | ||
2167 | ||
2168 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2169 | PyObject *resultobj; | |
2170 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2171 | int arg2 ; | |
2172 | PyObject * obj0 = 0 ; | |
2173 | PyObject * obj1 = 0 ; | |
2174 | char *kwnames[] = { | |
2175 | (char *) "self",(char *) "s", NULL | |
2176 | }; | |
2177 | ||
2178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail; | |
2179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2181 | arg2 = (int) SWIG_AsInt(obj1); | |
2182 | if (PyErr_Occurred()) SWIG_fail; | |
2183 | { | |
2184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2185 | (arg1)->SetFontSize(arg2); | |
2186 | ||
2187 | wxPyEndAllowThreads(__tstate); | |
2188 | if (PyErr_Occurred()) SWIG_fail; | |
2189 | } | |
2190 | Py_INCREF(Py_None); resultobj = Py_None; | |
2191 | return resultobj; | |
2192 | fail: | |
2193 | return NULL; | |
2194 | } | |
2195 | ||
2196 | ||
2197 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2198 | PyObject *resultobj; | |
2199 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2200 | int result; | |
2201 | PyObject * obj0 = 0 ; | |
2202 | char *kwnames[] = { | |
2203 | (char *) "self", NULL | |
2204 | }; | |
2205 | ||
2206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
2207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2209 | { | |
2210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2211 | result = (int)(arg1)->GetFontBold(); | |
2212 | ||
2213 | wxPyEndAllowThreads(__tstate); | |
2214 | if (PyErr_Occurred()) SWIG_fail; | |
2215 | } | |
2216 | resultobj = SWIG_FromInt((int)result); | |
2217 | return resultobj; | |
2218 | fail: | |
2219 | return NULL; | |
2220 | } | |
2221 | ||
2222 | ||
2223 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2224 | PyObject *resultobj; | |
2225 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2226 | int arg2 ; | |
2227 | PyObject * obj0 = 0 ; | |
2228 | PyObject * obj1 = 0 ; | |
2229 | char *kwnames[] = { | |
2230 | (char *) "self",(char *) "x", NULL | |
2231 | }; | |
2232 | ||
2233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail; | |
2234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2236 | arg2 = (int) SWIG_AsInt(obj1); | |
2237 | if (PyErr_Occurred()) SWIG_fail; | |
2238 | { | |
2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2240 | (arg1)->SetFontBold(arg2); | |
2241 | ||
2242 | wxPyEndAllowThreads(__tstate); | |
2243 | if (PyErr_Occurred()) SWIG_fail; | |
2244 | } | |
2245 | Py_INCREF(Py_None); resultobj = Py_None; | |
2246 | return resultobj; | |
2247 | fail: | |
2248 | return NULL; | |
2249 | } | |
2250 | ||
2251 | ||
2252 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2253 | PyObject *resultobj; | |
2254 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2255 | int result; | |
2256 | PyObject * obj0 = 0 ; | |
2257 | char *kwnames[] = { | |
2258 | (char *) "self", NULL | |
2259 | }; | |
2260 | ||
2261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
2262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2264 | { | |
2265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2266 | result = (int)(arg1)->GetFontItalic(); | |
2267 | ||
2268 | wxPyEndAllowThreads(__tstate); | |
2269 | if (PyErr_Occurred()) SWIG_fail; | |
2270 | } | |
2271 | resultobj = SWIG_FromInt((int)result); | |
2272 | return resultobj; | |
2273 | fail: | |
2274 | return NULL; | |
2275 | } | |
2276 | ||
2277 | ||
2278 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2279 | PyObject *resultobj; | |
2280 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2281 | int arg2 ; | |
2282 | PyObject * obj0 = 0 ; | |
2283 | PyObject * obj1 = 0 ; | |
2284 | char *kwnames[] = { | |
2285 | (char *) "self",(char *) "x", NULL | |
2286 | }; | |
2287 | ||
2288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail; | |
2289 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2290 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2291 | arg2 = (int) SWIG_AsInt(obj1); | |
2292 | if (PyErr_Occurred()) SWIG_fail; | |
2293 | { | |
2294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2295 | (arg1)->SetFontItalic(arg2); | |
2296 | ||
2297 | wxPyEndAllowThreads(__tstate); | |
2298 | if (PyErr_Occurred()) SWIG_fail; | |
2299 | } | |
2300 | Py_INCREF(Py_None); resultobj = Py_None; | |
2301 | return resultobj; | |
2302 | fail: | |
2303 | return NULL; | |
2304 | } | |
2305 | ||
2306 | ||
2307 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2308 | PyObject *resultobj; | |
2309 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2310 | int result; | |
2311 | PyObject * obj0 = 0 ; | |
2312 | char *kwnames[] = { | |
2313 | (char *) "self", NULL | |
2314 | }; | |
2315 | ||
2316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
2317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2319 | { | |
2320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2321 | result = (int)(arg1)->GetFontUnderlined(); | |
2322 | ||
2323 | wxPyEndAllowThreads(__tstate); | |
2324 | if (PyErr_Occurred()) SWIG_fail; | |
2325 | } | |
2326 | resultobj = SWIG_FromInt((int)result); | |
2327 | return resultobj; | |
2328 | fail: | |
2329 | return NULL; | |
2330 | } | |
2331 | ||
2332 | ||
2333 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2334 | PyObject *resultobj; | |
2335 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2336 | int arg2 ; | |
2337 | PyObject * obj0 = 0 ; | |
2338 | PyObject * obj1 = 0 ; | |
2339 | char *kwnames[] = { | |
2340 | (char *) "self",(char *) "x", NULL | |
2341 | }; | |
2342 | ||
2343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail; | |
2344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2346 | arg2 = (int) SWIG_AsInt(obj1); | |
2347 | if (PyErr_Occurred()) SWIG_fail; | |
2348 | { | |
2349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2350 | (arg1)->SetFontUnderlined(arg2); | |
2351 | ||
2352 | wxPyEndAllowThreads(__tstate); | |
2353 | if (PyErr_Occurred()) SWIG_fail; | |
2354 | } | |
2355 | Py_INCREF(Py_None); resultobj = Py_None; | |
2356 | return resultobj; | |
2357 | fail: | |
2358 | return NULL; | |
2359 | } | |
2360 | ||
2361 | ||
2362 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2363 | PyObject *resultobj; | |
2364 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2365 | int result; | |
2366 | PyObject * obj0 = 0 ; | |
2367 | char *kwnames[] = { | |
2368 | (char *) "self", NULL | |
2369 | }; | |
2370 | ||
2371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
2372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2374 | { | |
2375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2376 | result = (int)(arg1)->GetFontFixed(); | |
2377 | ||
2378 | wxPyEndAllowThreads(__tstate); | |
2379 | if (PyErr_Occurred()) SWIG_fail; | |
2380 | } | |
2381 | resultobj = SWIG_FromInt((int)result); | |
2382 | return resultobj; | |
2383 | fail: | |
2384 | return NULL; | |
2385 | } | |
2386 | ||
2387 | ||
2388 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2389 | PyObject *resultobj; | |
2390 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2391 | int arg2 ; | |
2392 | PyObject * obj0 = 0 ; | |
2393 | PyObject * obj1 = 0 ; | |
2394 | char *kwnames[] = { | |
2395 | (char *) "self",(char *) "x", NULL | |
2396 | }; | |
2397 | ||
2398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail; | |
2399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2401 | arg2 = (int) SWIG_AsInt(obj1); | |
2402 | if (PyErr_Occurred()) SWIG_fail; | |
2403 | { | |
2404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2405 | (arg1)->SetFontFixed(arg2); | |
2406 | ||
2407 | wxPyEndAllowThreads(__tstate); | |
2408 | if (PyErr_Occurred()) SWIG_fail; | |
2409 | } | |
2410 | Py_INCREF(Py_None); resultobj = Py_None; | |
2411 | return resultobj; | |
2412 | fail: | |
2413 | return NULL; | |
2414 | } | |
2415 | ||
2416 | ||
2417 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2418 | PyObject *resultobj; | |
2419 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2420 | int result; | |
2421 | PyObject * obj0 = 0 ; | |
2422 | char *kwnames[] = { | |
2423 | (char *) "self", NULL | |
2424 | }; | |
2425 | ||
2426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2429 | { | |
2430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2431 | result = (int)(arg1)->GetAlign(); | |
2432 | ||
2433 | wxPyEndAllowThreads(__tstate); | |
2434 | if (PyErr_Occurred()) SWIG_fail; | |
2435 | } | |
2436 | resultobj = SWIG_FromInt((int)result); | |
2437 | return resultobj; | |
2438 | fail: | |
2439 | return NULL; | |
2440 | } | |
2441 | ||
2442 | ||
2443 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2444 | PyObject *resultobj; | |
2445 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2446 | int arg2 ; | |
2447 | PyObject * obj0 = 0 ; | |
2448 | PyObject * obj1 = 0 ; | |
2449 | char *kwnames[] = { | |
2450 | (char *) "self",(char *) "a", NULL | |
2451 | }; | |
2452 | ||
2453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
2454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2456 | arg2 = (int) SWIG_AsInt(obj1); | |
2457 | if (PyErr_Occurred()) SWIG_fail; | |
2458 | { | |
2459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2460 | (arg1)->SetAlign(arg2); | |
2461 | ||
2462 | wxPyEndAllowThreads(__tstate); | |
2463 | if (PyErr_Occurred()) SWIG_fail; | |
2464 | } | |
2465 | Py_INCREF(Py_None); resultobj = Py_None; | |
2466 | return resultobj; | |
2467 | fail: | |
2468 | return NULL; | |
2469 | } | |
2470 | ||
2471 | ||
2472 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2473 | PyObject *resultobj; | |
2474 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2475 | wxColour result; | |
2476 | PyObject * obj0 = 0 ; | |
2477 | char *kwnames[] = { | |
2478 | (char *) "self", NULL | |
2479 | }; | |
2480 | ||
2481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2482 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2484 | { | |
2485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2486 | result = (arg1)->GetLinkColor(); | |
2487 | ||
2488 | wxPyEndAllowThreads(__tstate); | |
2489 | if (PyErr_Occurred()) SWIG_fail; | |
2490 | } | |
2491 | { | |
2492 | wxColour * resultptr; | |
2493 | resultptr = new wxColour((wxColour &) result); | |
2494 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
2495 | } | |
2496 | return resultobj; | |
2497 | fail: | |
2498 | return NULL; | |
2499 | } | |
2500 | ||
2501 | ||
2502 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2503 | PyObject *resultobj; | |
2504 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2505 | wxColour *arg2 = 0 ; | |
2506 | wxColour temp2 ; | |
2507 | PyObject * obj0 = 0 ; | |
2508 | PyObject * obj1 = 0 ; | |
2509 | char *kwnames[] = { | |
2510 | (char *) "self",(char *) "clr", NULL | |
2511 | }; | |
2512 | ||
2513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2516 | { | |
2517 | arg2 = &temp2; | |
2518 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2519 | } | |
2520 | { | |
2521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2522 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2523 | ||
2524 | wxPyEndAllowThreads(__tstate); | |
2525 | if (PyErr_Occurred()) SWIG_fail; | |
2526 | } | |
2527 | Py_INCREF(Py_None); resultobj = Py_None; | |
2528 | return resultobj; | |
2529 | fail: | |
2530 | return NULL; | |
2531 | } | |
2532 | ||
2533 | ||
2534 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2535 | PyObject *resultobj; | |
2536 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2537 | wxColour result; | |
2538 | PyObject * obj0 = 0 ; | |
2539 | char *kwnames[] = { | |
2540 | (char *) "self", NULL | |
2541 | }; | |
2542 | ||
2543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2546 | { | |
2547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2548 | result = (arg1)->GetActualColor(); | |
2549 | ||
2550 | wxPyEndAllowThreads(__tstate); | |
2551 | if (PyErr_Occurred()) SWIG_fail; | |
2552 | } | |
2553 | { | |
2554 | wxColour * resultptr; | |
2555 | resultptr = new wxColour((wxColour &) result); | |
2556 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
2557 | } | |
2558 | return resultobj; | |
2559 | fail: | |
2560 | return NULL; | |
2561 | } | |
2562 | ||
2563 | ||
2564 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2565 | PyObject *resultobj; | |
2566 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2567 | wxColour *arg2 = 0 ; | |
2568 | wxColour temp2 ; | |
2569 | PyObject * obj0 = 0 ; | |
2570 | PyObject * obj1 = 0 ; | |
2571 | char *kwnames[] = { | |
2572 | (char *) "self",(char *) "clr", NULL | |
2573 | }; | |
2574 | ||
2575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2578 | { | |
2579 | arg2 = &temp2; | |
2580 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2581 | } | |
2582 | { | |
2583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2584 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2585 | ||
2586 | wxPyEndAllowThreads(__tstate); | |
2587 | if (PyErr_Occurred()) SWIG_fail; | |
2588 | } | |
2589 | Py_INCREF(Py_None); resultobj = Py_None; | |
2590 | return resultobj; | |
2591 | fail: | |
2592 | return NULL; | |
2593 | } | |
2594 | ||
2595 | ||
2596 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2597 | PyObject *resultobj; | |
2598 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2599 | wxString *arg2 = 0 ; | |
2600 | bool temp2 = False ; | |
2601 | PyObject * obj0 = 0 ; | |
2602 | PyObject * obj1 = 0 ; | |
2603 | char *kwnames[] = { | |
2604 | (char *) "self",(char *) "link", NULL | |
2605 | }; | |
2606 | ||
2607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2610 | { | |
2611 | arg2 = wxString_in_helper(obj1); | |
2612 | if (arg2 == NULL) SWIG_fail; | |
2613 | temp2 = True; | |
2614 | } | |
2615 | { | |
2616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2617 | (arg1)->SetLink((wxString const &)*arg2); | |
2618 | ||
2619 | wxPyEndAllowThreads(__tstate); | |
2620 | if (PyErr_Occurred()) SWIG_fail; | |
2621 | } | |
2622 | Py_INCREF(Py_None); resultobj = Py_None; | |
2623 | { | |
2624 | if (temp2) | |
2625 | delete arg2; | |
2626 | } | |
2627 | return resultobj; | |
2628 | fail: | |
2629 | { | |
2630 | if (temp2) | |
2631 | delete arg2; | |
2632 | } | |
2633 | return NULL; | |
2634 | } | |
2635 | ||
2636 | ||
2637 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2638 | PyObject *resultobj; | |
2639 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2640 | wxFont *result; | |
2641 | PyObject * obj0 = 0 ; | |
2642 | char *kwnames[] = { | |
2643 | (char *) "self", NULL | |
2644 | }; | |
2645 | ||
2646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2649 | { | |
2650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2651 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2652 | ||
2653 | wxPyEndAllowThreads(__tstate); | |
2654 | if (PyErr_Occurred()) SWIG_fail; | |
2655 | } | |
2656 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); | |
2657 | return resultobj; | |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
2663 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2664 | PyObject *resultobj; | |
2665 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2666 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2667 | PyObject * obj0 = 0 ; | |
2668 | char *kwnames[] = { | |
2669 | (char *) "self", NULL | |
2670 | }; | |
2671 | ||
2672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2675 | { | |
2676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2677 | result = (arg1)->GetLink(); | |
2678 | ||
2679 | wxPyEndAllowThreads(__tstate); | |
2680 | if (PyErr_Occurred()) SWIG_fail; | |
2681 | } | |
2682 | { | |
2683 | wxHtmlLinkInfo * resultptr; | |
2684 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2685 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2686 | } | |
2687 | return resultobj; | |
2688 | fail: | |
2689 | return NULL; | |
2690 | } | |
2691 | ||
2692 | ||
2693 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2694 | PyObject *obj; | |
2695 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2696 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2697 | Py_INCREF(obj); | |
2698 | return Py_BuildValue((char *)""); | |
2699 | } | |
2700 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2701 | PyObject *resultobj; | |
2702 | wxPyHtmlTagHandler *result; | |
2703 | char *kwnames[] = { | |
2704 | NULL | |
2705 | }; | |
2706 | ||
2707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2708 | { | |
2709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2710 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2711 | ||
2712 | wxPyEndAllowThreads(__tstate); | |
2713 | if (PyErr_Occurred()) SWIG_fail; | |
2714 | } | |
2715 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2716 | return resultobj; | |
2717 | fail: | |
2718 | return NULL; | |
2719 | } | |
2720 | ||
2721 | ||
2722 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2723 | PyObject *resultobj; | |
2724 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2725 | PyObject *arg2 = (PyObject *) 0 ; | |
2726 | PyObject *arg3 = (PyObject *) 0 ; | |
2727 | PyObject * obj0 = 0 ; | |
2728 | PyObject * obj1 = 0 ; | |
2729 | PyObject * obj2 = 0 ; | |
2730 | char *kwnames[] = { | |
2731 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2732 | }; | |
2733 | ||
2734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2737 | arg2 = obj1; | |
2738 | arg3 = obj2; | |
2739 | { | |
2740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2741 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2742 | ||
2743 | wxPyEndAllowThreads(__tstate); | |
2744 | if (PyErr_Occurred()) SWIG_fail; | |
2745 | } | |
2746 | Py_INCREF(Py_None); resultobj = Py_None; | |
2747 | return resultobj; | |
2748 | fail: | |
2749 | return NULL; | |
2750 | } | |
2751 | ||
2752 | ||
2753 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2754 | PyObject *resultobj; | |
2755 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2756 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2757 | PyObject * obj0 = 0 ; | |
2758 | PyObject * obj1 = 0 ; | |
2759 | char *kwnames[] = { | |
2760 | (char *) "self",(char *) "parser", NULL | |
2761 | }; | |
2762 | ||
2763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2766 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2768 | { | |
2769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2770 | (arg1)->SetParser(arg2); | |
2771 | ||
2772 | wxPyEndAllowThreads(__tstate); | |
2773 | if (PyErr_Occurred()) SWIG_fail; | |
2774 | } | |
2775 | Py_INCREF(Py_None); resultobj = Py_None; | |
2776 | return resultobj; | |
2777 | fail: | |
2778 | return NULL; | |
2779 | } | |
2780 | ||
2781 | ||
2782 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2783 | PyObject *resultobj; | |
2784 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2785 | wxHtmlParser *result; | |
2786 | PyObject * obj0 = 0 ; | |
2787 | char *kwnames[] = { | |
2788 | (char *) "self", NULL | |
2789 | }; | |
2790 | ||
2791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2794 | { | |
2795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2796 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2797 | ||
2798 | wxPyEndAllowThreads(__tstate); | |
2799 | if (PyErr_Occurred()) SWIG_fail; | |
2800 | } | |
2801 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0); | |
2802 | return resultobj; | |
2803 | fail: | |
2804 | return NULL; | |
2805 | } | |
2806 | ||
2807 | ||
2808 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2809 | PyObject *resultobj; | |
2810 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2811 | wxHtmlTag *arg2 = 0 ; | |
2812 | PyObject * obj0 = 0 ; | |
2813 | PyObject * obj1 = 0 ; | |
2814 | char *kwnames[] = { | |
2815 | (char *) "self",(char *) "tag", NULL | |
2816 | }; | |
2817 | ||
2818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2821 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2822 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2823 | SWIG_fail; | |
2824 | if (arg2 == NULL) { | |
2825 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2826 | SWIG_fail; | |
2827 | } | |
2828 | { | |
2829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2830 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2831 | ||
2832 | wxPyEndAllowThreads(__tstate); | |
2833 | if (PyErr_Occurred()) SWIG_fail; | |
2834 | } | |
2835 | Py_INCREF(Py_None); resultobj = Py_None; | |
2836 | return resultobj; | |
2837 | fail: | |
2838 | return NULL; | |
2839 | } | |
2840 | ||
2841 | ||
2842 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2843 | PyObject *obj; | |
2844 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2845 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2846 | Py_INCREF(obj); | |
2847 | return Py_BuildValue((char *)""); | |
2848 | } | |
2849 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2850 | PyObject *resultobj; | |
2851 | wxPyHtmlWinTagHandler *result; | |
2852 | char *kwnames[] = { | |
2853 | NULL | |
2854 | }; | |
2855 | ||
2856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2857 | { | |
2858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2859 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2860 | ||
2861 | wxPyEndAllowThreads(__tstate); | |
2862 | if (PyErr_Occurred()) SWIG_fail; | |
2863 | } | |
2864 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2865 | return resultobj; | |
2866 | fail: | |
2867 | return NULL; | |
2868 | } | |
2869 | ||
2870 | ||
2871 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2872 | PyObject *resultobj; | |
2873 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2874 | PyObject *arg2 = (PyObject *) 0 ; | |
2875 | PyObject *arg3 = (PyObject *) 0 ; | |
2876 | PyObject * obj0 = 0 ; | |
2877 | PyObject * obj1 = 0 ; | |
2878 | PyObject * obj2 = 0 ; | |
2879 | char *kwnames[] = { | |
2880 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2881 | }; | |
2882 | ||
2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2886 | arg2 = obj1; | |
2887 | arg3 = obj2; | |
2888 | { | |
2889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2890 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2891 | ||
2892 | wxPyEndAllowThreads(__tstate); | |
2893 | if (PyErr_Occurred()) SWIG_fail; | |
2894 | } | |
2895 | Py_INCREF(Py_None); resultobj = Py_None; | |
2896 | return resultobj; | |
2897 | fail: | |
2898 | return NULL; | |
2899 | } | |
2900 | ||
2901 | ||
2902 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2903 | PyObject *resultobj; | |
2904 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2905 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2906 | PyObject * obj0 = 0 ; | |
2907 | PyObject * obj1 = 0 ; | |
2908 | char *kwnames[] = { | |
2909 | (char *) "self",(char *) "parser", NULL | |
2910 | }; | |
2911 | ||
2912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2915 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2917 | { | |
2918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2919 | (arg1)->SetParser(arg2); | |
2920 | ||
2921 | wxPyEndAllowThreads(__tstate); | |
2922 | if (PyErr_Occurred()) SWIG_fail; | |
2923 | } | |
2924 | Py_INCREF(Py_None); resultobj = Py_None; | |
2925 | return resultobj; | |
2926 | fail: | |
2927 | return NULL; | |
2928 | } | |
2929 | ||
2930 | ||
2931 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2932 | PyObject *resultobj; | |
2933 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2934 | wxHtmlWinParser *result; | |
2935 | PyObject * obj0 = 0 ; | |
2936 | char *kwnames[] = { | |
2937 | (char *) "self", NULL | |
2938 | }; | |
2939 | ||
2940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2943 | { | |
2944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2945 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2946 | ||
2947 | wxPyEndAllowThreads(__tstate); | |
2948 | if (PyErr_Occurred()) SWIG_fail; | |
2949 | } | |
2950 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); | |
2951 | return resultobj; | |
2952 | fail: | |
2953 | return NULL; | |
2954 | } | |
2955 | ||
2956 | ||
2957 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2958 | PyObject *resultobj; | |
2959 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2960 | wxHtmlTag *arg2 = 0 ; | |
2961 | PyObject * obj0 = 0 ; | |
2962 | PyObject * obj1 = 0 ; | |
2963 | char *kwnames[] = { | |
2964 | (char *) "self",(char *) "tag", NULL | |
2965 | }; | |
2966 | ||
2967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2970 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2971 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2972 | SWIG_fail; | |
2973 | if (arg2 == NULL) { | |
2974 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2975 | SWIG_fail; | |
2976 | } | |
2977 | { | |
2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2979 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2980 | ||
2981 | wxPyEndAllowThreads(__tstate); | |
2982 | if (PyErr_Occurred()) SWIG_fail; | |
2983 | } | |
2984 | Py_INCREF(Py_None); resultobj = Py_None; | |
2985 | return resultobj; | |
2986 | fail: | |
2987 | return NULL; | |
2988 | } | |
2989 | ||
2990 | ||
2991 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2992 | PyObject *obj; | |
2993 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2994 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2995 | Py_INCREF(obj); | |
2996 | return Py_BuildValue((char *)""); | |
2997 | } | |
2998 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2999 | PyObject *resultobj; | |
3000 | PyObject *arg1 = (PyObject *) 0 ; | |
3001 | PyObject * obj0 = 0 ; | |
3002 | char *kwnames[] = { | |
3003 | (char *) "tagHandlerClass", NULL | |
3004 | }; | |
3005 | ||
3006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
3007 | arg1 = obj0; | |
3008 | { | |
3009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3010 | wxHtmlWinParser_AddTagHandler(arg1); | |
3011 | ||
3012 | wxPyEndAllowThreads(__tstate); | |
3013 | if (PyErr_Occurred()) SWIG_fail; | |
3014 | } | |
3015 | Py_INCREF(Py_None); resultobj = Py_None; | |
3016 | return resultobj; | |
3017 | fail: | |
3018 | return NULL; | |
3019 | } | |
3020 | ||
3021 | ||
3022 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3023 | PyObject *resultobj; | |
3024 | wxHtmlSelection *result; | |
3025 | char *kwnames[] = { | |
3026 | NULL | |
3027 | }; | |
3028 | ||
3029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
3030 | { | |
3031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3032 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
3033 | ||
3034 | wxPyEndAllowThreads(__tstate); | |
3035 | if (PyErr_Occurred()) SWIG_fail; | |
3036 | } | |
3037 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1); | |
3038 | return resultobj; | |
3039 | fail: | |
3040 | return NULL; | |
3041 | } | |
3042 | ||
3043 | ||
3044 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3045 | PyObject *resultobj; | |
3046 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3047 | PyObject * obj0 = 0 ; | |
3048 | char *kwnames[] = { | |
3049 | (char *) "self", NULL | |
3050 | }; | |
3051 | ||
3052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
3053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3055 | { | |
3056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3057 | delete arg1; | |
3058 | ||
3059 | wxPyEndAllowThreads(__tstate); | |
3060 | if (PyErr_Occurred()) SWIG_fail; | |
3061 | } | |
3062 | Py_INCREF(Py_None); resultobj = Py_None; | |
3063 | return resultobj; | |
3064 | fail: | |
3065 | return NULL; | |
3066 | } | |
3067 | ||
3068 | ||
3069 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3070 | PyObject *resultobj; | |
3071 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3072 | wxPoint *arg2 = 0 ; | |
3073 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3074 | wxPoint *arg4 = 0 ; | |
3075 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
3076 | wxPoint temp2 ; | |
3077 | wxPoint temp4 ; | |
3078 | PyObject * obj0 = 0 ; | |
3079 | PyObject * obj1 = 0 ; | |
3080 | PyObject * obj2 = 0 ; | |
3081 | PyObject * obj3 = 0 ; | |
3082 | PyObject * obj4 = 0 ; | |
3083 | char *kwnames[] = { | |
3084 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
3085 | }; | |
3086 | ||
3087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3090 | { | |
3091 | arg2 = &temp2; | |
3092 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3093 | } | |
3094 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3096 | { | |
3097 | arg4 = &temp4; | |
3098 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3099 | } | |
3100 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell, | |
3101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3102 | { | |
3103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3104 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
3105 | ||
3106 | wxPyEndAllowThreads(__tstate); | |
3107 | if (PyErr_Occurred()) SWIG_fail; | |
3108 | } | |
3109 | Py_INCREF(Py_None); resultobj = Py_None; | |
3110 | return resultobj; | |
3111 | fail: | |
3112 | return NULL; | |
3113 | } | |
3114 | ||
3115 | ||
3116 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3117 | PyObject *resultobj; | |
3118 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3119 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3120 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3121 | PyObject * obj0 = 0 ; | |
3122 | PyObject * obj1 = 0 ; | |
3123 | PyObject * obj2 = 0 ; | |
3124 | char *kwnames[] = { | |
3125 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
3126 | }; | |
3127 | ||
3128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3131 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
3132 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3133 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3135 | { | |
3136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3137 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
3138 | ||
3139 | wxPyEndAllowThreads(__tstate); | |
3140 | if (PyErr_Occurred()) SWIG_fail; | |
3141 | } | |
3142 | Py_INCREF(Py_None); resultobj = Py_None; | |
3143 | return resultobj; | |
3144 | fail: | |
3145 | return NULL; | |
3146 | } | |
3147 | ||
3148 | ||
3149 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3150 | PyObject *resultobj; | |
3151 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3152 | wxHtmlCell *result; | |
3153 | PyObject * obj0 = 0 ; | |
3154 | char *kwnames[] = { | |
3155 | (char *) "self", NULL | |
3156 | }; | |
3157 | ||
3158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
3159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3161 | { | |
3162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3163 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
3164 | ||
3165 | wxPyEndAllowThreads(__tstate); | |
3166 | if (PyErr_Occurred()) SWIG_fail; | |
3167 | } | |
3168 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
3169 | return resultobj; | |
3170 | fail: | |
3171 | return NULL; | |
3172 | } | |
3173 | ||
3174 | ||
3175 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3176 | PyObject *resultobj; | |
3177 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3178 | wxHtmlCell *result; | |
3179 | PyObject * obj0 = 0 ; | |
3180 | char *kwnames[] = { | |
3181 | (char *) "self", NULL | |
3182 | }; | |
3183 | ||
3184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
3185 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3187 | { | |
3188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3189 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
3190 | ||
3191 | wxPyEndAllowThreads(__tstate); | |
3192 | if (PyErr_Occurred()) SWIG_fail; | |
3193 | } | |
3194 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
3195 | return resultobj; | |
3196 | fail: | |
3197 | return NULL; | |
3198 | } | |
3199 | ||
3200 | ||
3201 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3202 | PyObject *resultobj; | |
3203 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3204 | wxPoint *result; | |
3205 | PyObject * obj0 = 0 ; | |
3206 | char *kwnames[] = { | |
3207 | (char *) "self", NULL | |
3208 | }; | |
3209 | ||
3210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
3211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3213 | { | |
3214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3215 | { | |
3216 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
3217 | result = (wxPoint *) &_result_ref; | |
3218 | } | |
3219 | ||
3220 | wxPyEndAllowThreads(__tstate); | |
3221 | if (PyErr_Occurred()) SWIG_fail; | |
3222 | } | |
3223 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3224 | return resultobj; | |
3225 | fail: | |
3226 | return NULL; | |
3227 | } | |
3228 | ||
3229 | ||
3230 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3231 | PyObject *resultobj; | |
3232 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3233 | wxPoint *result; | |
3234 | PyObject * obj0 = 0 ; | |
3235 | char *kwnames[] = { | |
3236 | (char *) "self", NULL | |
3237 | }; | |
3238 | ||
3239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
3240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3242 | { | |
3243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3244 | { | |
3245 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
3246 | result = (wxPoint *) &_result_ref; | |
3247 | } | |
3248 | ||
3249 | wxPyEndAllowThreads(__tstate); | |
3250 | if (PyErr_Occurred()) SWIG_fail; | |
3251 | } | |
3252 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3253 | return resultobj; | |
3254 | fail: | |
3255 | return NULL; | |
3256 | } | |
3257 | ||
3258 | ||
3259 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3260 | PyObject *resultobj; | |
3261 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3262 | wxPoint *result; | |
3263 | PyObject * obj0 = 0 ; | |
3264 | char *kwnames[] = { | |
3265 | (char *) "self", NULL | |
3266 | }; | |
3267 | ||
3268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
3269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3271 | { | |
3272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3273 | { | |
3274 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
3275 | result = (wxPoint *) &_result_ref; | |
3276 | } | |
3277 | ||
3278 | wxPyEndAllowThreads(__tstate); | |
3279 | if (PyErr_Occurred()) SWIG_fail; | |
3280 | } | |
3281 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3282 | return resultobj; | |
3283 | fail: | |
3284 | return NULL; | |
3285 | } | |
3286 | ||
3287 | ||
3288 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3289 | PyObject *resultobj; | |
3290 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3291 | wxPoint *result; | |
3292 | PyObject * obj0 = 0 ; | |
3293 | char *kwnames[] = { | |
3294 | (char *) "self", NULL | |
3295 | }; | |
3296 | ||
3297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
3298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3300 | { | |
3301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3302 | { | |
3303 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
3304 | result = (wxPoint *) &_result_ref; | |
3305 | } | |
3306 | ||
3307 | wxPyEndAllowThreads(__tstate); | |
3308 | if (PyErr_Occurred()) SWIG_fail; | |
3309 | } | |
3310 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3311 | return resultobj; | |
3312 | fail: | |
3313 | return NULL; | |
3314 | } | |
3315 | ||
3316 | ||
3317 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3318 | PyObject *resultobj; | |
3319 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3320 | wxPoint *arg2 = 0 ; | |
3321 | wxPoint temp2 ; | |
3322 | PyObject * obj0 = 0 ; | |
3323 | PyObject * obj1 = 0 ; | |
3324 | char *kwnames[] = { | |
3325 | (char *) "self",(char *) "pos", NULL | |
3326 | }; | |
3327 | ||
3328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
3329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3331 | { | |
3332 | arg2 = &temp2; | |
3333 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3334 | } | |
3335 | { | |
3336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3337 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
3338 | ||
3339 | wxPyEndAllowThreads(__tstate); | |
3340 | if (PyErr_Occurred()) SWIG_fail; | |
3341 | } | |
3342 | Py_INCREF(Py_None); resultobj = Py_None; | |
3343 | return resultobj; | |
3344 | fail: | |
3345 | return NULL; | |
3346 | } | |
3347 | ||
3348 | ||
3349 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3350 | PyObject *resultobj; | |
3351 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3352 | wxPoint *arg2 = 0 ; | |
3353 | wxPoint temp2 ; | |
3354 | PyObject * obj0 = 0 ; | |
3355 | PyObject * obj1 = 0 ; | |
3356 | char *kwnames[] = { | |
3357 | (char *) "self",(char *) "pos", NULL | |
3358 | }; | |
3359 | ||
3360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
3361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3363 | { | |
3364 | arg2 = &temp2; | |
3365 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3366 | } | |
3367 | { | |
3368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3369 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
3370 | ||
3371 | wxPyEndAllowThreads(__tstate); | |
3372 | if (PyErr_Occurred()) SWIG_fail; | |
3373 | } | |
3374 | Py_INCREF(Py_None); resultobj = Py_None; | |
3375 | return resultobj; | |
3376 | fail: | |
3377 | return NULL; | |
3378 | } | |
3379 | ||
3380 | ||
3381 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3382 | PyObject *resultobj; | |
3383 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3384 | PyObject * obj0 = 0 ; | |
3385 | char *kwnames[] = { | |
3386 | (char *) "self", NULL | |
3387 | }; | |
3388 | ||
3389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
3390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3392 | { | |
3393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3394 | (arg1)->ClearPrivPos(); | |
3395 | ||
3396 | wxPyEndAllowThreads(__tstate); | |
3397 | if (PyErr_Occurred()) SWIG_fail; | |
3398 | } | |
3399 | Py_INCREF(Py_None); resultobj = Py_None; | |
3400 | return resultobj; | |
3401 | fail: | |
3402 | return NULL; | |
3403 | } | |
3404 | ||
3405 | ||
3406 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3407 | PyObject *resultobj; | |
3408 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3409 | bool result; | |
3410 | PyObject * obj0 = 0 ; | |
3411 | char *kwnames[] = { | |
3412 | (char *) "self", NULL | |
3413 | }; | |
3414 | ||
3415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
3416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3418 | { | |
3419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3420 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
3421 | ||
3422 | wxPyEndAllowThreads(__tstate); | |
3423 | if (PyErr_Occurred()) SWIG_fail; | |
3424 | } | |
3425 | { | |
3426 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3427 | } | |
3428 | return resultobj; | |
3429 | fail: | |
3430 | return NULL; | |
3431 | } | |
3432 | ||
3433 | ||
3434 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
3435 | PyObject *obj; | |
3436 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3437 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
3438 | Py_INCREF(obj); | |
3439 | return Py_BuildValue((char *)""); | |
3440 | } | |
3441 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3442 | PyObject *resultobj; | |
3443 | wxHtmlRenderingState *result; | |
3444 | char *kwnames[] = { | |
3445 | NULL | |
3446 | }; | |
3447 | ||
3448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
3449 | { | |
3450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3451 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
3452 | ||
3453 | wxPyEndAllowThreads(__tstate); | |
3454 | if (PyErr_Occurred()) SWIG_fail; | |
3455 | } | |
3456 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1); | |
3457 | return resultobj; | |
3458 | fail: | |
3459 | return NULL; | |
3460 | } | |
3461 | ||
3462 | ||
3463 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3464 | PyObject *resultobj; | |
3465 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3466 | PyObject * obj0 = 0 ; | |
3467 | char *kwnames[] = { | |
3468 | (char *) "self", NULL | |
3469 | }; | |
3470 | ||
3471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
3472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3474 | { | |
3475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3476 | delete arg1; | |
3477 | ||
3478 | wxPyEndAllowThreads(__tstate); | |
3479 | if (PyErr_Occurred()) SWIG_fail; | |
3480 | } | |
3481 | Py_INCREF(Py_None); resultobj = Py_None; | |
3482 | return resultobj; | |
3483 | fail: | |
3484 | return NULL; | |
3485 | } | |
3486 | ||
3487 | ||
3488 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3489 | PyObject *resultobj; | |
3490 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3491 | int arg2 ; | |
3492 | PyObject * obj0 = 0 ; | |
3493 | PyObject * obj1 = 0 ; | |
3494 | char *kwnames[] = { | |
3495 | (char *) "self",(char *) "s", NULL | |
3496 | }; | |
3497 | ||
3498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail; | |
3499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3501 | arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1); | |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
3503 | { | |
3504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3505 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3506 | ||
3507 | wxPyEndAllowThreads(__tstate); | |
3508 | if (PyErr_Occurred()) SWIG_fail; | |
3509 | } | |
3510 | Py_INCREF(Py_None); resultobj = Py_None; | |
3511 | return resultobj; | |
3512 | fail: | |
3513 | return NULL; | |
3514 | } | |
3515 | ||
3516 | ||
3517 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3518 | PyObject *resultobj; | |
3519 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3520 | int result; | |
3521 | PyObject * obj0 = 0 ; | |
3522 | char *kwnames[] = { | |
3523 | (char *) "self", NULL | |
3524 | }; | |
3525 | ||
3526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3529 | { | |
3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3531 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3532 | ||
3533 | wxPyEndAllowThreads(__tstate); | |
3534 | if (PyErr_Occurred()) SWIG_fail; | |
3535 | } | |
3536 | resultobj = SWIG_FromInt((int)result); | |
3537 | return resultobj; | |
3538 | fail: | |
3539 | return NULL; | |
3540 | } | |
3541 | ||
3542 | ||
3543 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3544 | PyObject *resultobj; | |
3545 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3546 | wxColour *arg2 = 0 ; | |
3547 | wxColour temp2 ; | |
3548 | PyObject * obj0 = 0 ; | |
3549 | PyObject * obj1 = 0 ; | |
3550 | char *kwnames[] = { | |
3551 | (char *) "self",(char *) "c", NULL | |
3552 | }; | |
3553 | ||
3554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3557 | { | |
3558 | arg2 = &temp2; | |
3559 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3560 | } | |
3561 | { | |
3562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3563 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3564 | ||
3565 | wxPyEndAllowThreads(__tstate); | |
3566 | if (PyErr_Occurred()) SWIG_fail; | |
3567 | } | |
3568 | Py_INCREF(Py_None); resultobj = Py_None; | |
3569 | return resultobj; | |
3570 | fail: | |
3571 | return NULL; | |
3572 | } | |
3573 | ||
3574 | ||
3575 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3576 | PyObject *resultobj; | |
3577 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3578 | wxColour *result; | |
3579 | PyObject * obj0 = 0 ; | |
3580 | char *kwnames[] = { | |
3581 | (char *) "self", NULL | |
3582 | }; | |
3583 | ||
3584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3587 | { | |
3588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3589 | { | |
3590 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3591 | result = (wxColour *) &_result_ref; | |
3592 | } | |
3593 | ||
3594 | wxPyEndAllowThreads(__tstate); | |
3595 | if (PyErr_Occurred()) SWIG_fail; | |
3596 | } | |
3597 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
3598 | return resultobj; | |
3599 | fail: | |
3600 | return NULL; | |
3601 | } | |
3602 | ||
3603 | ||
3604 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3605 | PyObject *resultobj; | |
3606 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3607 | wxColour *arg2 = 0 ; | |
3608 | wxColour temp2 ; | |
3609 | PyObject * obj0 = 0 ; | |
3610 | PyObject * obj1 = 0 ; | |
3611 | char *kwnames[] = { | |
3612 | (char *) "self",(char *) "c", NULL | |
3613 | }; | |
3614 | ||
3615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3618 | { | |
3619 | arg2 = &temp2; | |
3620 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3621 | } | |
3622 | { | |
3623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3624 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3625 | ||
3626 | wxPyEndAllowThreads(__tstate); | |
3627 | if (PyErr_Occurred()) SWIG_fail; | |
3628 | } | |
3629 | Py_INCREF(Py_None); resultobj = Py_None; | |
3630 | return resultobj; | |
3631 | fail: | |
3632 | return NULL; | |
3633 | } | |
3634 | ||
3635 | ||
3636 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3637 | PyObject *resultobj; | |
3638 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3639 | wxColour *result; | |
3640 | PyObject * obj0 = 0 ; | |
3641 | char *kwnames[] = { | |
3642 | (char *) "self", NULL | |
3643 | }; | |
3644 | ||
3645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3648 | { | |
3649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3650 | { | |
3651 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3652 | result = (wxColour *) &_result_ref; | |
3653 | } | |
3654 | ||
3655 | wxPyEndAllowThreads(__tstate); | |
3656 | if (PyErr_Occurred()) SWIG_fail; | |
3657 | } | |
3658 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
3659 | return resultobj; | |
3660 | fail: | |
3661 | return NULL; | |
3662 | } | |
3663 | ||
3664 | ||
3665 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3666 | PyObject *obj; | |
3667 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3668 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3669 | Py_INCREF(obj); | |
3670 | return Py_BuildValue((char *)""); | |
3671 | } | |
3672 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3673 | PyObject *resultobj; | |
3674 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3675 | wxColour *arg2 = 0 ; | |
3676 | wxColour result; | |
3677 | wxColour temp2 ; | |
3678 | PyObject * obj0 = 0 ; | |
3679 | PyObject * obj1 = 0 ; | |
3680 | char *kwnames[] = { | |
3681 | (char *) "self",(char *) "clr", NULL | |
3682 | }; | |
3683 | ||
3684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3687 | { | |
3688 | arg2 = &temp2; | |
3689 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3690 | } | |
3691 | { | |
3692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3693 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3694 | ||
3695 | wxPyEndAllowThreads(__tstate); | |
3696 | if (PyErr_Occurred()) SWIG_fail; | |
3697 | } | |
3698 | { | |
3699 | wxColour * resultptr; | |
3700 | resultptr = new wxColour((wxColour &) result); | |
3701 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3702 | } | |
3703 | return resultobj; | |
3704 | fail: | |
3705 | return NULL; | |
3706 | } | |
3707 | ||
3708 | ||
3709 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3710 | PyObject *resultobj; | |
3711 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3712 | wxColour *arg2 = 0 ; | |
3713 | wxColour result; | |
3714 | wxColour temp2 ; | |
3715 | PyObject * obj0 = 0 ; | |
3716 | PyObject * obj1 = 0 ; | |
3717 | char *kwnames[] = { | |
3718 | (char *) "self",(char *) "clr", NULL | |
3719 | }; | |
3720 | ||
3721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3722 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3723 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3724 | { | |
3725 | arg2 = &temp2; | |
3726 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3727 | } | |
3728 | { | |
3729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3730 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3731 | ||
3732 | wxPyEndAllowThreads(__tstate); | |
3733 | if (PyErr_Occurred()) SWIG_fail; | |
3734 | } | |
3735 | { | |
3736 | wxColour * resultptr; | |
3737 | resultptr = new wxColour((wxColour &) result); | |
3738 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3739 | } | |
3740 | return resultobj; | |
3741 | fail: | |
3742 | return NULL; | |
3743 | } | |
3744 | ||
3745 | ||
3746 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3747 | PyObject *obj; | |
3748 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3749 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3750 | Py_INCREF(obj); | |
3751 | return Py_BuildValue((char *)""); | |
3752 | } | |
3753 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3754 | PyObject *resultobj; | |
3755 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3756 | wxColour *arg2 = 0 ; | |
3757 | wxColour result; | |
3758 | wxColour temp2 ; | |
3759 | PyObject * obj0 = 0 ; | |
3760 | PyObject * obj1 = 0 ; | |
3761 | char *kwnames[] = { | |
3762 | (char *) "self",(char *) "clr", NULL | |
3763 | }; | |
3764 | ||
3765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, | |
3767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3768 | { | |
3769 | arg2 = &temp2; | |
3770 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3771 | } | |
3772 | { | |
3773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3774 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3775 | ||
3776 | wxPyEndAllowThreads(__tstate); | |
3777 | if (PyErr_Occurred()) SWIG_fail; | |
3778 | } | |
3779 | { | |
3780 | wxColour * resultptr; | |
3781 | resultptr = new wxColour((wxColour &) result); | |
3782 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3783 | } | |
3784 | return resultobj; | |
3785 | fail: | |
3786 | return NULL; | |
3787 | } | |
3788 | ||
3789 | ||
3790 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3791 | PyObject *resultobj; | |
3792 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3793 | wxColour *arg2 = 0 ; | |
3794 | wxColour result; | |
3795 | wxColour temp2 ; | |
3796 | PyObject * obj0 = 0 ; | |
3797 | PyObject * obj1 = 0 ; | |
3798 | char *kwnames[] = { | |
3799 | (char *) "self",(char *) "clr", NULL | |
3800 | }; | |
3801 | ||
3802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, | |
3804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3805 | { | |
3806 | arg2 = &temp2; | |
3807 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3808 | } | |
3809 | { | |
3810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3811 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3812 | ||
3813 | wxPyEndAllowThreads(__tstate); | |
3814 | if (PyErr_Occurred()) SWIG_fail; | |
3815 | } | |
3816 | { | |
3817 | wxColour * resultptr; | |
3818 | resultptr = new wxColour((wxColour &) result); | |
3819 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3820 | } | |
3821 | return resultobj; | |
3822 | fail: | |
3823 | return NULL; | |
3824 | } | |
3825 | ||
3826 | ||
3827 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3828 | PyObject *obj; | |
3829 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3830 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3831 | Py_INCREF(obj); | |
3832 | return Py_BuildValue((char *)""); | |
3833 | } | |
3834 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3835 | PyObject *resultobj; | |
3836 | wxHtmlRenderingInfo *result; | |
3837 | char *kwnames[] = { | |
3838 | NULL | |
3839 | }; | |
3840 | ||
3841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3842 | { | |
3843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3844 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3845 | ||
3846 | wxPyEndAllowThreads(__tstate); | |
3847 | if (PyErr_Occurred()) SWIG_fail; | |
3848 | } | |
3849 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3850 | return resultobj; | |
3851 | fail: | |
3852 | return NULL; | |
3853 | } | |
3854 | ||
3855 | ||
3856 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3857 | PyObject *resultobj; | |
3858 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3859 | PyObject * obj0 = 0 ; | |
3860 | char *kwnames[] = { | |
3861 | (char *) "self", NULL | |
3862 | }; | |
3863 | ||
3864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3867 | { | |
3868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3869 | delete arg1; | |
3870 | ||
3871 | wxPyEndAllowThreads(__tstate); | |
3872 | if (PyErr_Occurred()) SWIG_fail; | |
3873 | } | |
3874 | Py_INCREF(Py_None); resultobj = Py_None; | |
3875 | return resultobj; | |
3876 | fail: | |
3877 | return NULL; | |
3878 | } | |
3879 | ||
3880 | ||
3881 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3882 | PyObject *resultobj; | |
3883 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3884 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3885 | PyObject * obj0 = 0 ; | |
3886 | PyObject * obj1 = 0 ; | |
3887 | char *kwnames[] = { | |
3888 | (char *) "self",(char *) "s", NULL | |
3889 | }; | |
3890 | ||
3891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3894 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
3895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3896 | { | |
3897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3898 | (arg1)->SetSelection(arg2); | |
3899 | ||
3900 | wxPyEndAllowThreads(__tstate); | |
3901 | if (PyErr_Occurred()) SWIG_fail; | |
3902 | } | |
3903 | Py_INCREF(Py_None); resultobj = Py_None; | |
3904 | return resultobj; | |
3905 | fail: | |
3906 | return NULL; | |
3907 | } | |
3908 | ||
3909 | ||
3910 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3911 | PyObject *resultobj; | |
3912 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3913 | wxHtmlSelection *result; | |
3914 | PyObject * obj0 = 0 ; | |
3915 | char *kwnames[] = { | |
3916 | (char *) "self", NULL | |
3917 | }; | |
3918 | ||
3919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3922 | { | |
3923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3924 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3925 | ||
3926 | wxPyEndAllowThreads(__tstate); | |
3927 | if (PyErr_Occurred()) SWIG_fail; | |
3928 | } | |
3929 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0); | |
3930 | return resultobj; | |
3931 | fail: | |
3932 | return NULL; | |
3933 | } | |
3934 | ||
3935 | ||
3936 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3937 | PyObject *resultobj; | |
3938 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3939 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3940 | PyObject * obj0 = 0 ; | |
3941 | PyObject * obj1 = 0 ; | |
3942 | char *kwnames[] = { | |
3943 | (char *) "self",(char *) "style", NULL | |
3944 | }; | |
3945 | ||
3946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3949 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3951 | { | |
3952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3953 | (arg1)->SetStyle(arg2); | |
3954 | ||
3955 | wxPyEndAllowThreads(__tstate); | |
3956 | if (PyErr_Occurred()) SWIG_fail; | |
3957 | } | |
3958 | Py_INCREF(Py_None); resultobj = Py_None; | |
3959 | return resultobj; | |
3960 | fail: | |
3961 | return NULL; | |
3962 | } | |
3963 | ||
3964 | ||
3965 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3966 | PyObject *resultobj; | |
3967 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3968 | wxHtmlRenderingStyle *result; | |
3969 | PyObject * obj0 = 0 ; | |
3970 | char *kwnames[] = { | |
3971 | (char *) "self", NULL | |
3972 | }; | |
3973 | ||
3974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3977 | { | |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3979 | { | |
3980 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3981 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3982 | } | |
3983 | ||
3984 | wxPyEndAllowThreads(__tstate); | |
3985 | if (PyErr_Occurred()) SWIG_fail; | |
3986 | } | |
3987 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3988 | return resultobj; | |
3989 | fail: | |
3990 | return NULL; | |
3991 | } | |
3992 | ||
3993 | ||
3994 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3995 | PyObject *resultobj; | |
3996 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3997 | wxHtmlRenderingState *result; | |
3998 | PyObject * obj0 = 0 ; | |
3999 | char *kwnames[] = { | |
4000 | (char *) "self", NULL | |
4001 | }; | |
4002 | ||
4003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
4004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4006 | { | |
4007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4008 | { | |
4009 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
4010 | result = (wxHtmlRenderingState *) &_result_ref; | |
4011 | } | |
4012 | ||
4013 | wxPyEndAllowThreads(__tstate); | |
4014 | if (PyErr_Occurred()) SWIG_fail; | |
4015 | } | |
4016 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0); | |
4017 | return resultobj; | |
4018 | fail: | |
4019 | return NULL; | |
4020 | } | |
4021 | ||
4022 | ||
4023 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
4024 | PyObject *obj; | |
4025 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4026 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
4027 | Py_INCREF(obj); | |
4028 | return Py_BuildValue((char *)""); | |
4029 | } | |
4030 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4031 | PyObject *resultobj; | |
4032 | wxHtmlCell *result; | |
4033 | char *kwnames[] = { | |
4034 | NULL | |
4035 | }; | |
4036 | ||
4037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
4038 | { | |
4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4040 | result = (wxHtmlCell *)new wxHtmlCell(); | |
4041 | ||
4042 | wxPyEndAllowThreads(__tstate); | |
4043 | if (PyErr_Occurred()) SWIG_fail; | |
4044 | } | |
4045 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1); | |
4046 | return resultobj; | |
4047 | fail: | |
4048 | return NULL; | |
4049 | } | |
4050 | ||
4051 | ||
4052 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4053 | PyObject *resultobj; | |
4054 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4055 | int result; | |
4056 | PyObject * obj0 = 0 ; | |
4057 | char *kwnames[] = { | |
4058 | (char *) "self", NULL | |
4059 | }; | |
4060 | ||
4061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
4062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4064 | { | |
4065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4066 | result = (int)(arg1)->GetPosX(); | |
4067 | ||
4068 | wxPyEndAllowThreads(__tstate); | |
4069 | if (PyErr_Occurred()) SWIG_fail; | |
4070 | } | |
4071 | resultobj = SWIG_FromInt((int)result); | |
4072 | return resultobj; | |
4073 | fail: | |
4074 | return NULL; | |
4075 | } | |
4076 | ||
4077 | ||
4078 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4079 | PyObject *resultobj; | |
4080 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4081 | int result; | |
4082 | PyObject * obj0 = 0 ; | |
4083 | char *kwnames[] = { | |
4084 | (char *) "self", NULL | |
4085 | }; | |
4086 | ||
4087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
4088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4090 | { | |
4091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4092 | result = (int)(arg1)->GetPosY(); | |
4093 | ||
4094 | wxPyEndAllowThreads(__tstate); | |
4095 | if (PyErr_Occurred()) SWIG_fail; | |
4096 | } | |
4097 | resultobj = SWIG_FromInt((int)result); | |
4098 | return resultobj; | |
4099 | fail: | |
4100 | return NULL; | |
4101 | } | |
4102 | ||
4103 | ||
4104 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4105 | PyObject *resultobj; | |
4106 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4107 | int result; | |
4108 | PyObject * obj0 = 0 ; | |
4109 | char *kwnames[] = { | |
4110 | (char *) "self", NULL | |
4111 | }; | |
4112 | ||
4113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
4114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4116 | { | |
4117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4118 | result = (int)(arg1)->GetWidth(); | |
4119 | ||
4120 | wxPyEndAllowThreads(__tstate); | |
4121 | if (PyErr_Occurred()) SWIG_fail; | |
4122 | } | |
4123 | resultobj = SWIG_FromInt((int)result); | |
4124 | return resultobj; | |
4125 | fail: | |
4126 | return NULL; | |
4127 | } | |
4128 | ||
4129 | ||
4130 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4131 | PyObject *resultobj; | |
4132 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4133 | int result; | |
4134 | PyObject * obj0 = 0 ; | |
4135 | char *kwnames[] = { | |
4136 | (char *) "self", NULL | |
4137 | }; | |
4138 | ||
4139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
4140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4142 | { | |
4143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4144 | result = (int)(arg1)->GetHeight(); | |
4145 | ||
4146 | wxPyEndAllowThreads(__tstate); | |
4147 | if (PyErr_Occurred()) SWIG_fail; | |
4148 | } | |
4149 | resultobj = SWIG_FromInt((int)result); | |
4150 | return resultobj; | |
4151 | fail: | |
4152 | return NULL; | |
4153 | } | |
4154 | ||
4155 | ||
4156 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4157 | PyObject *resultobj; | |
4158 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4159 | int result; | |
4160 | PyObject * obj0 = 0 ; | |
4161 | char *kwnames[] = { | |
4162 | (char *) "self", NULL | |
4163 | }; | |
4164 | ||
4165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
4166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4168 | { | |
4169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4170 | result = (int)(arg1)->GetDescent(); | |
4171 | ||
4172 | wxPyEndAllowThreads(__tstate); | |
4173 | if (PyErr_Occurred()) SWIG_fail; | |
4174 | } | |
4175 | resultobj = SWIG_FromInt((int)result); | |
4176 | return resultobj; | |
4177 | fail: | |
4178 | return NULL; | |
4179 | } | |
4180 | ||
4181 | ||
4182 | static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
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_GetMaxTotalWidth",kwnames,&obj0)) goto fail; | |
4192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4194 | { | |
4195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4196 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
4197 | ||
4198 | wxPyEndAllowThreads(__tstate); | |
4199 | if (PyErr_Occurred()) SWIG_fail; | |
4200 | } | |
4201 | resultobj = SWIG_FromInt((int)result); | |
4202 | return resultobj; | |
4203 | fail: | |
4204 | return NULL; | |
4205 | } | |
4206 | ||
4207 | ||
4208 | static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4209 | PyObject *resultobj; | |
4210 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4211 | wxString *result; | |
4212 | PyObject * obj0 = 0 ; | |
4213 | char *kwnames[] = { | |
4214 | (char *) "self", NULL | |
4215 | }; | |
4216 | ||
4217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail; | |
4218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4220 | { | |
4221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4222 | { | |
4223 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); | |
4224 | result = (wxString *) &_result_ref; | |
4225 | } | |
4226 | ||
4227 | wxPyEndAllowThreads(__tstate); | |
4228 | if (PyErr_Occurred()) SWIG_fail; | |
4229 | } | |
4230 | { | |
4231 | #if wxUSE_UNICODE | |
4232 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4233 | #else | |
4234 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4235 | #endif | |
4236 | } | |
4237 | return resultobj; | |
4238 | fail: | |
4239 | return NULL; | |
4240 | } | |
4241 | ||
4242 | ||
4243 | static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4244 | PyObject *resultobj; | |
4245 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4246 | wxString *arg2 = 0 ; | |
4247 | bool temp2 = False ; | |
4248 | PyObject * obj0 = 0 ; | |
4249 | PyObject * obj1 = 0 ; | |
4250 | char *kwnames[] = { | |
4251 | (char *) "self",(char *) "id", NULL | |
4252 | }; | |
4253 | ||
4254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail; | |
4255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4257 | { | |
4258 | arg2 = wxString_in_helper(obj1); | |
4259 | if (arg2 == NULL) SWIG_fail; | |
4260 | temp2 = True; | |
4261 | } | |
4262 | { | |
4263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4264 | (arg1)->SetId((wxString const &)*arg2); | |
4265 | ||
4266 | wxPyEndAllowThreads(__tstate); | |
4267 | if (PyErr_Occurred()) SWIG_fail; | |
4268 | } | |
4269 | Py_INCREF(Py_None); resultobj = Py_None; | |
4270 | { | |
4271 | if (temp2) | |
4272 | delete arg2; | |
4273 | } | |
4274 | return resultobj; | |
4275 | fail: | |
4276 | { | |
4277 | if (temp2) | |
4278 | delete arg2; | |
4279 | } | |
4280 | return NULL; | |
4281 | } | |
4282 | ||
4283 | ||
4284 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4285 | PyObject *resultobj; | |
4286 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4287 | int arg2 = (int) 0 ; | |
4288 | int arg3 = (int) 0 ; | |
4289 | wxHtmlLinkInfo *result; | |
4290 | PyObject * obj0 = 0 ; | |
4291 | PyObject * obj1 = 0 ; | |
4292 | PyObject * obj2 = 0 ; | |
4293 | char *kwnames[] = { | |
4294 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4295 | }; | |
4296 | ||
4297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4300 | if (obj1) { | |
4301 | arg2 = (int) SWIG_AsInt(obj1); | |
4302 | if (PyErr_Occurred()) SWIG_fail; | |
4303 | } | |
4304 | if (obj2) { | |
4305 | arg3 = (int) SWIG_AsInt(obj2); | |
4306 | if (PyErr_Occurred()) SWIG_fail; | |
4307 | } | |
4308 | { | |
4309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4310 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
4311 | ||
4312 | wxPyEndAllowThreads(__tstate); | |
4313 | if (PyErr_Occurred()) SWIG_fail; | |
4314 | } | |
4315 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
4316 | return resultobj; | |
4317 | fail: | |
4318 | return NULL; | |
4319 | } | |
4320 | ||
4321 | ||
4322 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4323 | PyObject *resultobj; | |
4324 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4325 | wxHtmlCell *result; | |
4326 | PyObject * obj0 = 0 ; | |
4327 | char *kwnames[] = { | |
4328 | (char *) "self", NULL | |
4329 | }; | |
4330 | ||
4331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
4332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4334 | { | |
4335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4336 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
4337 | ||
4338 | wxPyEndAllowThreads(__tstate); | |
4339 | if (PyErr_Occurred()) SWIG_fail; | |
4340 | } | |
4341 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4342 | return resultobj; | |
4343 | fail: | |
4344 | return NULL; | |
4345 | } | |
4346 | ||
4347 | ||
4348 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4349 | PyObject *resultobj; | |
4350 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4351 | wxHtmlContainerCell *result; | |
4352 | PyObject * obj0 = 0 ; | |
4353 | char *kwnames[] = { | |
4354 | (char *) "self", NULL | |
4355 | }; | |
4356 | ||
4357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
4358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4360 | { | |
4361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4362 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
4363 | ||
4364 | wxPyEndAllowThreads(__tstate); | |
4365 | if (PyErr_Occurred()) SWIG_fail; | |
4366 | } | |
4367 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
4368 | return resultobj; | |
4369 | fail: | |
4370 | return NULL; | |
4371 | } | |
4372 | ||
4373 | ||
4374 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4375 | PyObject *resultobj; | |
4376 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4377 | wxHtmlCell *result; | |
4378 | PyObject * obj0 = 0 ; | |
4379 | char *kwnames[] = { | |
4380 | (char *) "self", NULL | |
4381 | }; | |
4382 | ||
4383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4386 | { | |
4387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4388 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
4389 | ||
4390 | wxPyEndAllowThreads(__tstate); | |
4391 | if (PyErr_Occurred()) SWIG_fail; | |
4392 | } | |
4393 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4394 | return resultobj; | |
4395 | fail: | |
4396 | return NULL; | |
4397 | } | |
4398 | ||
4399 | ||
4400 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4401 | PyObject *resultobj; | |
4402 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4403 | wxCursor result; | |
4404 | PyObject * obj0 = 0 ; | |
4405 | char *kwnames[] = { | |
4406 | (char *) "self", NULL | |
4407 | }; | |
4408 | ||
4409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
4410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4412 | { | |
4413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4414 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
4415 | ||
4416 | wxPyEndAllowThreads(__tstate); | |
4417 | if (PyErr_Occurred()) SWIG_fail; | |
4418 | } | |
4419 | { | |
4420 | wxCursor * resultptr; | |
4421 | resultptr = new wxCursor((wxCursor &) result); | |
4422 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); | |
4423 | } | |
4424 | return resultobj; | |
4425 | fail: | |
4426 | return NULL; | |
4427 | } | |
4428 | ||
4429 | ||
4430 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4431 | PyObject *resultobj; | |
4432 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4433 | bool result; | |
4434 | PyObject * obj0 = 0 ; | |
4435 | char *kwnames[] = { | |
4436 | (char *) "self", NULL | |
4437 | }; | |
4438 | ||
4439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
4440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4442 | { | |
4443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4444 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
4445 | ||
4446 | wxPyEndAllowThreads(__tstate); | |
4447 | if (PyErr_Occurred()) SWIG_fail; | |
4448 | } | |
4449 | { | |
4450 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4451 | } | |
4452 | return resultobj; | |
4453 | fail: | |
4454 | return NULL; | |
4455 | } | |
4456 | ||
4457 | ||
4458 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4459 | PyObject *resultobj; | |
4460 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4461 | wxHtmlLinkInfo *arg2 = 0 ; | |
4462 | PyObject * obj0 = 0 ; | |
4463 | PyObject * obj1 = 0 ; | |
4464 | char *kwnames[] = { | |
4465 | (char *) "self",(char *) "link", NULL | |
4466 | }; | |
4467 | ||
4468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
4469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4471 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
4472 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4473 | SWIG_fail; | |
4474 | if (arg2 == NULL) { | |
4475 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4476 | SWIG_fail; | |
4477 | } | |
4478 | { | |
4479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4480 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
4481 | ||
4482 | wxPyEndAllowThreads(__tstate); | |
4483 | if (PyErr_Occurred()) SWIG_fail; | |
4484 | } | |
4485 | Py_INCREF(Py_None); resultobj = Py_None; | |
4486 | return resultobj; | |
4487 | fail: | |
4488 | return NULL; | |
4489 | } | |
4490 | ||
4491 | ||
4492 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4493 | PyObject *resultobj; | |
4494 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4495 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4496 | PyObject * obj0 = 0 ; | |
4497 | PyObject * obj1 = 0 ; | |
4498 | char *kwnames[] = { | |
4499 | (char *) "self",(char *) "cell", NULL | |
4500 | }; | |
4501 | ||
4502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
4503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4505 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
4506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4507 | { | |
4508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4509 | (arg1)->SetNext(arg2); | |
4510 | ||
4511 | wxPyEndAllowThreads(__tstate); | |
4512 | if (PyErr_Occurred()) SWIG_fail; | |
4513 | } | |
4514 | Py_INCREF(Py_None); resultobj = Py_None; | |
4515 | return resultobj; | |
4516 | fail: | |
4517 | return NULL; | |
4518 | } | |
4519 | ||
4520 | ||
4521 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4522 | PyObject *resultobj; | |
4523 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4524 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4525 | PyObject * obj0 = 0 ; | |
4526 | PyObject * obj1 = 0 ; | |
4527 | char *kwnames[] = { | |
4528 | (char *) "self",(char *) "p", NULL | |
4529 | }; | |
4530 | ||
4531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
4532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4534 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
4535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4536 | { | |
4537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4538 | (arg1)->SetParent(arg2); | |
4539 | ||
4540 | wxPyEndAllowThreads(__tstate); | |
4541 | if (PyErr_Occurred()) SWIG_fail; | |
4542 | } | |
4543 | Py_INCREF(Py_None); resultobj = Py_None; | |
4544 | return resultobj; | |
4545 | fail: | |
4546 | return NULL; | |
4547 | } | |
4548 | ||
4549 | ||
4550 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4551 | PyObject *resultobj; | |
4552 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4553 | int arg2 ; | |
4554 | int arg3 ; | |
4555 | PyObject * obj0 = 0 ; | |
4556 | PyObject * obj1 = 0 ; | |
4557 | PyObject * obj2 = 0 ; | |
4558 | char *kwnames[] = { | |
4559 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4560 | }; | |
4561 | ||
4562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4565 | arg2 = (int) SWIG_AsInt(obj1); | |
4566 | if (PyErr_Occurred()) SWIG_fail; | |
4567 | arg3 = (int) SWIG_AsInt(obj2); | |
4568 | if (PyErr_Occurred()) SWIG_fail; | |
4569 | { | |
4570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4571 | (arg1)->SetPos(arg2,arg3); | |
4572 | ||
4573 | wxPyEndAllowThreads(__tstate); | |
4574 | if (PyErr_Occurred()) SWIG_fail; | |
4575 | } | |
4576 | Py_INCREF(Py_None); resultobj = Py_None; | |
4577 | return resultobj; | |
4578 | fail: | |
4579 | return NULL; | |
4580 | } | |
4581 | ||
4582 | ||
4583 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4584 | PyObject *resultobj; | |
4585 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4586 | int arg2 ; | |
4587 | PyObject * obj0 = 0 ; | |
4588 | PyObject * obj1 = 0 ; | |
4589 | char *kwnames[] = { | |
4590 | (char *) "self",(char *) "w", NULL | |
4591 | }; | |
4592 | ||
4593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail; | |
4594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4596 | arg2 = (int) SWIG_AsInt(obj1); | |
4597 | if (PyErr_Occurred()) SWIG_fail; | |
4598 | { | |
4599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4600 | (arg1)->Layout(arg2); | |
4601 | ||
4602 | wxPyEndAllowThreads(__tstate); | |
4603 | if (PyErr_Occurred()) SWIG_fail; | |
4604 | } | |
4605 | Py_INCREF(Py_None); resultobj = Py_None; | |
4606 | return resultobj; | |
4607 | fail: | |
4608 | return NULL; | |
4609 | } | |
4610 | ||
4611 | ||
4612 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4613 | PyObject *resultobj; | |
4614 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4615 | wxDC *arg2 = 0 ; | |
4616 | int arg3 ; | |
4617 | int arg4 ; | |
4618 | int arg5 ; | |
4619 | int arg6 ; | |
4620 | wxHtmlRenderingInfo *arg7 = 0 ; | |
4621 | PyObject * obj0 = 0 ; | |
4622 | PyObject * obj1 = 0 ; | |
4623 | PyObject * obj2 = 0 ; | |
4624 | PyObject * obj3 = 0 ; | |
4625 | PyObject * obj4 = 0 ; | |
4626 | PyObject * obj5 = 0 ; | |
4627 | PyObject * obj6 = 0 ; | |
4628 | char *kwnames[] = { | |
4629 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
4630 | }; | |
4631 | ||
4632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
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_wxDC, | |
4636 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4637 | SWIG_fail; | |
4638 | if (arg2 == NULL) { | |
4639 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4640 | SWIG_fail; | |
4641 | } | |
4642 | arg3 = (int) SWIG_AsInt(obj2); | |
4643 | if (PyErr_Occurred()) SWIG_fail; | |
4644 | arg4 = (int) SWIG_AsInt(obj3); | |
4645 | if (PyErr_Occurred()) SWIG_fail; | |
4646 | arg5 = (int) SWIG_AsInt(obj4); | |
4647 | if (PyErr_Occurred()) SWIG_fail; | |
4648 | arg6 = (int) SWIG_AsInt(obj5); | |
4649 | if (PyErr_Occurred()) SWIG_fail; | |
4650 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4651 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4652 | SWIG_fail; | |
4653 | if (arg7 == NULL) { | |
4654 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4655 | SWIG_fail; | |
4656 | } | |
4657 | { | |
4658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4659 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4660 | ||
4661 | wxPyEndAllowThreads(__tstate); | |
4662 | if (PyErr_Occurred()) SWIG_fail; | |
4663 | } | |
4664 | Py_INCREF(Py_None); resultobj = Py_None; | |
4665 | return resultobj; | |
4666 | fail: | |
4667 | return NULL; | |
4668 | } | |
4669 | ||
4670 | ||
4671 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4672 | PyObject *resultobj; | |
4673 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4674 | wxDC *arg2 = 0 ; | |
4675 | int arg3 ; | |
4676 | int arg4 ; | |
4677 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4678 | PyObject * obj0 = 0 ; | |
4679 | PyObject * obj1 = 0 ; | |
4680 | PyObject * obj2 = 0 ; | |
4681 | PyObject * obj3 = 0 ; | |
4682 | PyObject * obj4 = 0 ; | |
4683 | char *kwnames[] = { | |
4684 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4685 | }; | |
4686 | ||
4687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
4688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4690 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4691 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4692 | SWIG_fail; | |
4693 | if (arg2 == NULL) { | |
4694 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4695 | SWIG_fail; | |
4696 | } | |
4697 | arg3 = (int) SWIG_AsInt(obj2); | |
4698 | if (PyErr_Occurred()) SWIG_fail; | |
4699 | arg4 = (int) SWIG_AsInt(obj3); | |
4700 | if (PyErr_Occurred()) SWIG_fail; | |
4701 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4702 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4703 | SWIG_fail; | |
4704 | if (arg5 == NULL) { | |
4705 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4706 | SWIG_fail; | |
4707 | } | |
4708 | { | |
4709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4710 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4711 | ||
4712 | wxPyEndAllowThreads(__tstate); | |
4713 | if (PyErr_Occurred()) SWIG_fail; | |
4714 | } | |
4715 | Py_INCREF(Py_None); resultobj = Py_None; | |
4716 | return resultobj; | |
4717 | fail: | |
4718 | return NULL; | |
4719 | } | |
4720 | ||
4721 | ||
4722 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4723 | PyObject *resultobj; | |
4724 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4725 | int arg2 ; | |
4726 | void *arg3 = (void *) 0 ; | |
4727 | wxHtmlCell *result; | |
4728 | PyObject * obj0 = 0 ; | |
4729 | PyObject * obj1 = 0 ; | |
4730 | PyObject * obj2 = 0 ; | |
4731 | char *kwnames[] = { | |
4732 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4733 | }; | |
4734 | ||
4735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4738 | arg2 = (int) SWIG_AsInt(obj1); | |
4739 | if (PyErr_Occurred()) SWIG_fail; | |
4740 | if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4741 | { | |
4742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4743 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4744 | ||
4745 | wxPyEndAllowThreads(__tstate); | |
4746 | if (PyErr_Occurred()) SWIG_fail; | |
4747 | } | |
4748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4749 | return resultobj; | |
4750 | fail: | |
4751 | return NULL; | |
4752 | } | |
4753 | ||
4754 | ||
4755 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4756 | PyObject *resultobj; | |
4757 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4758 | int *arg2 = (int *) 0 ; | |
4759 | bool result; | |
4760 | int temp2 ; | |
4761 | PyObject * obj0 = 0 ; | |
4762 | PyObject * obj1 = 0 ; | |
4763 | char *kwnames[] = { | |
4764 | (char *) "self",(char *) "INOUT", NULL | |
4765 | }; | |
4766 | ||
4767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4770 | { | |
4771 | temp2 = PyInt_AsLong(obj1); | |
4772 | if (PyErr_Occurred()) SWIG_fail; | |
4773 | arg2 = &temp2; | |
4774 | } | |
4775 | { | |
4776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4777 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4778 | ||
4779 | wxPyEndAllowThreads(__tstate); | |
4780 | if (PyErr_Occurred()) SWIG_fail; | |
4781 | } | |
4782 | { | |
4783 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4784 | } | |
4785 | { | |
4786 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4787 | resultobj = t_output_helper(resultobj,o); | |
4788 | } | |
4789 | return resultobj; | |
4790 | fail: | |
4791 | return NULL; | |
4792 | } | |
4793 | ||
4794 | ||
4795 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4796 | PyObject *resultobj; | |
4797 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4798 | bool arg2 ; | |
4799 | PyObject * obj0 = 0 ; | |
4800 | PyObject * obj1 = 0 ; | |
4801 | char *kwnames[] = { | |
4802 | (char *) "self",(char *) "can", NULL | |
4803 | }; | |
4804 | ||
4805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4808 | arg2 = (bool) SWIG_AsBool(obj1); | |
4809 | if (PyErr_Occurred()) SWIG_fail; | |
4810 | { | |
4811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4812 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4813 | ||
4814 | wxPyEndAllowThreads(__tstate); | |
4815 | if (PyErr_Occurred()) SWIG_fail; | |
4816 | } | |
4817 | Py_INCREF(Py_None); resultobj = Py_None; | |
4818 | return resultobj; | |
4819 | fail: | |
4820 | return NULL; | |
4821 | } | |
4822 | ||
4823 | ||
4824 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4825 | PyObject *resultobj; | |
4826 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4827 | bool result; | |
4828 | PyObject * obj0 = 0 ; | |
4829 | char *kwnames[] = { | |
4830 | (char *) "self", NULL | |
4831 | }; | |
4832 | ||
4833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4836 | { | |
4837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4838 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4839 | ||
4840 | wxPyEndAllowThreads(__tstate); | |
4841 | if (PyErr_Occurred()) SWIG_fail; | |
4842 | } | |
4843 | { | |
4844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4845 | } | |
4846 | return resultobj; | |
4847 | fail: | |
4848 | return NULL; | |
4849 | } | |
4850 | ||
4851 | ||
4852 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4853 | PyObject *resultobj; | |
4854 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4855 | bool result; | |
4856 | PyObject * obj0 = 0 ; | |
4857 | char *kwnames[] = { | |
4858 | (char *) "self", NULL | |
4859 | }; | |
4860 | ||
4861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4864 | { | |
4865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4866 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4867 | ||
4868 | wxPyEndAllowThreads(__tstate); | |
4869 | if (PyErr_Occurred()) SWIG_fail; | |
4870 | } | |
4871 | { | |
4872 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4873 | } | |
4874 | return resultobj; | |
4875 | fail: | |
4876 | return NULL; | |
4877 | } | |
4878 | ||
4879 | ||
4880 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4881 | PyObject *resultobj; | |
4882 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4883 | int arg2 ; | |
4884 | int arg3 ; | |
4885 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
4886 | wxHtmlCell *result; | |
4887 | PyObject * obj0 = 0 ; | |
4888 | PyObject * obj1 = 0 ; | |
4889 | PyObject * obj2 = 0 ; | |
4890 | PyObject * obj3 = 0 ; | |
4891 | char *kwnames[] = { | |
4892 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4893 | }; | |
4894 | ||
4895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
4896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4898 | arg2 = (int) SWIG_AsInt(obj1); | |
4899 | if (PyErr_Occurred()) SWIG_fail; | |
4900 | arg3 = (int) SWIG_AsInt(obj2); | |
4901 | if (PyErr_Occurred()) SWIG_fail; | |
4902 | if (obj3) { | |
4903 | arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3); | |
4904 | if (PyErr_Occurred()) SWIG_fail; | |
4905 | } | |
4906 | { | |
4907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4908 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4909 | ||
4910 | wxPyEndAllowThreads(__tstate); | |
4911 | if (PyErr_Occurred()) SWIG_fail; | |
4912 | } | |
4913 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4914 | return resultobj; | |
4915 | fail: | |
4916 | return NULL; | |
4917 | } | |
4918 | ||
4919 | ||
4920 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4921 | PyObject *resultobj; | |
4922 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4923 | wxPoint result; | |
4924 | PyObject * obj0 = 0 ; | |
4925 | char *kwnames[] = { | |
4926 | (char *) "self", NULL | |
4927 | }; | |
4928 | ||
4929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4932 | { | |
4933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4934 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4935 | ||
4936 | wxPyEndAllowThreads(__tstate); | |
4937 | if (PyErr_Occurred()) SWIG_fail; | |
4938 | } | |
4939 | { | |
4940 | wxPoint * resultptr; | |
4941 | resultptr = new wxPoint((wxPoint &) result); | |
4942 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
4943 | } | |
4944 | return resultobj; | |
4945 | fail: | |
4946 | return NULL; | |
4947 | } | |
4948 | ||
4949 | ||
4950 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4951 | PyObject *resultobj; | |
4952 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4953 | wxHtmlCell *result; | |
4954 | PyObject * obj0 = 0 ; | |
4955 | char *kwnames[] = { | |
4956 | (char *) "self", NULL | |
4957 | }; | |
4958 | ||
4959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4962 | { | |
4963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4964 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4965 | ||
4966 | wxPyEndAllowThreads(__tstate); | |
4967 | if (PyErr_Occurred()) SWIG_fail; | |
4968 | } | |
4969 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4970 | return resultobj; | |
4971 | fail: | |
4972 | return NULL; | |
4973 | } | |
4974 | ||
4975 | ||
4976 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4977 | PyObject *resultobj; | |
4978 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4979 | wxHtmlCell *result; | |
4980 | PyObject * obj0 = 0 ; | |
4981 | char *kwnames[] = { | |
4982 | (char *) "self", NULL | |
4983 | }; | |
4984 | ||
4985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4986 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4987 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4988 | { | |
4989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4990 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4991 | ||
4992 | wxPyEndAllowThreads(__tstate); | |
4993 | if (PyErr_Occurred()) SWIG_fail; | |
4994 | } | |
4995 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4996 | return resultobj; | |
4997 | fail: | |
4998 | return NULL; | |
4999 | } | |
5000 | ||
5001 | ||
5002 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5003 | PyObject *resultobj; | |
5004 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5005 | unsigned int result; | |
5006 | PyObject * obj0 = 0 ; | |
5007 | char *kwnames[] = { | |
5008 | (char *) "self", NULL | |
5009 | }; | |
5010 | ||
5011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
5012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5014 | { | |
5015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5016 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
5017 | ||
5018 | wxPyEndAllowThreads(__tstate); | |
5019 | if (PyErr_Occurred()) SWIG_fail; | |
5020 | } | |
5021 | resultobj = SWIG_FromUnsignedInt((unsigned int)result); | |
5022 | return resultobj; | |
5023 | fail: | |
5024 | return NULL; | |
5025 | } | |
5026 | ||
5027 | ||
5028 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5029 | PyObject *resultobj; | |
5030 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5031 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5032 | bool result; | |
5033 | PyObject * obj0 = 0 ; | |
5034 | PyObject * obj1 = 0 ; | |
5035 | char *kwnames[] = { | |
5036 | (char *) "self",(char *) "cell", NULL | |
5037 | }; | |
5038 | ||
5039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
5040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5042 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5044 | { | |
5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5046 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
5047 | ||
5048 | wxPyEndAllowThreads(__tstate); | |
5049 | if (PyErr_Occurred()) SWIG_fail; | |
5050 | } | |
5051 | { | |
5052 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5053 | } | |
5054 | return resultobj; | |
5055 | fail: | |
5056 | return NULL; | |
5057 | } | |
5058 | ||
5059 | ||
5060 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5061 | PyObject *resultobj; | |
5062 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5063 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
5064 | wxString result; | |
5065 | PyObject * obj0 = 0 ; | |
5066 | PyObject * obj1 = 0 ; | |
5067 | char *kwnames[] = { | |
5068 | (char *) "self",(char *) "sel", NULL | |
5069 | }; | |
5070 | ||
5071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
5072 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5073 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5074 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
5075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5076 | { | |
5077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5078 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
5079 | ||
5080 | wxPyEndAllowThreads(__tstate); | |
5081 | if (PyErr_Occurred()) SWIG_fail; | |
5082 | } | |
5083 | { | |
5084 | #if wxUSE_UNICODE | |
5085 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5086 | #else | |
5087 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5088 | #endif | |
5089 | } | |
5090 | return resultobj; | |
5091 | fail: | |
5092 | return NULL; | |
5093 | } | |
5094 | ||
5095 | ||
5096 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
5097 | PyObject *obj; | |
5098 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5099 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
5100 | Py_INCREF(obj); | |
5101 | return Py_BuildValue((char *)""); | |
5102 | } | |
5103 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5104 | PyObject *resultobj; | |
5105 | wxString *arg1 = 0 ; | |
5106 | wxDC *arg2 = 0 ; | |
5107 | wxHtmlWordCell *result; | |
5108 | bool temp1 = False ; | |
5109 | PyObject * obj0 = 0 ; | |
5110 | PyObject * obj1 = 0 ; | |
5111 | char *kwnames[] = { | |
5112 | (char *) "word",(char *) "dc", NULL | |
5113 | }; | |
5114 | ||
5115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
5116 | { | |
5117 | arg1 = wxString_in_helper(obj0); | |
5118 | if (arg1 == NULL) SWIG_fail; | |
5119 | temp1 = True; | |
5120 | } | |
5121 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
5122 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5123 | SWIG_fail; | |
5124 | if (arg2 == NULL) { | |
5125 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5126 | SWIG_fail; | |
5127 | } | |
5128 | { | |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5130 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
5131 | ||
5132 | wxPyEndAllowThreads(__tstate); | |
5133 | if (PyErr_Occurred()) SWIG_fail; | |
5134 | } | |
5135 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1); | |
5136 | { | |
5137 | if (temp1) | |
5138 | delete arg1; | |
5139 | } | |
5140 | return resultobj; | |
5141 | fail: | |
5142 | { | |
5143 | if (temp1) | |
5144 | delete arg1; | |
5145 | } | |
5146 | return NULL; | |
5147 | } | |
5148 | ||
5149 | ||
5150 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
5151 | PyObject *obj; | |
5152 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5153 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
5154 | Py_INCREF(obj); | |
5155 | return Py_BuildValue((char *)""); | |
5156 | } | |
5157 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5158 | PyObject *resultobj; | |
5159 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5160 | wxHtmlContainerCell *result; | |
5161 | PyObject * obj0 = 0 ; | |
5162 | char *kwnames[] = { | |
5163 | (char *) "parent", NULL | |
5164 | }; | |
5165 | ||
5166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
5167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5169 | { | |
5170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5171 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
5172 | ||
5173 | wxPyEndAllowThreads(__tstate); | |
5174 | if (PyErr_Occurred()) SWIG_fail; | |
5175 | } | |
5176 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1); | |
5177 | return resultobj; | |
5178 | fail: | |
5179 | return NULL; | |
5180 | } | |
5181 | ||
5182 | ||
5183 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5184 | PyObject *resultobj; | |
5185 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5186 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5187 | PyObject * obj0 = 0 ; | |
5188 | PyObject * obj1 = 0 ; | |
5189 | char *kwnames[] = { | |
5190 | (char *) "self",(char *) "cell", NULL | |
5191 | }; | |
5192 | ||
5193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
5194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5196 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5197 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5198 | { | |
5199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5200 | (arg1)->InsertCell(arg2); | |
5201 | ||
5202 | wxPyEndAllowThreads(__tstate); | |
5203 | if (PyErr_Occurred()) SWIG_fail; | |
5204 | } | |
5205 | Py_INCREF(Py_None); resultobj = Py_None; | |
5206 | return resultobj; | |
5207 | fail: | |
5208 | return NULL; | |
5209 | } | |
5210 | ||
5211 | ||
5212 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5213 | PyObject *resultobj; | |
5214 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5215 | int arg2 ; | |
5216 | PyObject * obj0 = 0 ; | |
5217 | PyObject * obj1 = 0 ; | |
5218 | char *kwnames[] = { | |
5219 | (char *) "self",(char *) "al", NULL | |
5220 | }; | |
5221 | ||
5222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail; | |
5223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5225 | arg2 = (int) SWIG_AsInt(obj1); | |
5226 | if (PyErr_Occurred()) SWIG_fail; | |
5227 | { | |
5228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5229 | (arg1)->SetAlignHor(arg2); | |
5230 | ||
5231 | wxPyEndAllowThreads(__tstate); | |
5232 | if (PyErr_Occurred()) SWIG_fail; | |
5233 | } | |
5234 | Py_INCREF(Py_None); resultobj = Py_None; | |
5235 | return resultobj; | |
5236 | fail: | |
5237 | return NULL; | |
5238 | } | |
5239 | ||
5240 | ||
5241 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5242 | PyObject *resultobj; | |
5243 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5244 | int result; | |
5245 | PyObject * obj0 = 0 ; | |
5246 | char *kwnames[] = { | |
5247 | (char *) "self", NULL | |
5248 | }; | |
5249 | ||
5250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
5251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5253 | { | |
5254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5255 | result = (int)(arg1)->GetAlignHor(); | |
5256 | ||
5257 | wxPyEndAllowThreads(__tstate); | |
5258 | if (PyErr_Occurred()) SWIG_fail; | |
5259 | } | |
5260 | resultobj = SWIG_FromInt((int)result); | |
5261 | return resultobj; | |
5262 | fail: | |
5263 | return NULL; | |
5264 | } | |
5265 | ||
5266 | ||
5267 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5268 | PyObject *resultobj; | |
5269 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5270 | int arg2 ; | |
5271 | PyObject * obj0 = 0 ; | |
5272 | PyObject * obj1 = 0 ; | |
5273 | char *kwnames[] = { | |
5274 | (char *) "self",(char *) "al", NULL | |
5275 | }; | |
5276 | ||
5277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail; | |
5278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5280 | arg2 = (int) SWIG_AsInt(obj1); | |
5281 | if (PyErr_Occurred()) SWIG_fail; | |
5282 | { | |
5283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5284 | (arg1)->SetAlignVer(arg2); | |
5285 | ||
5286 | wxPyEndAllowThreads(__tstate); | |
5287 | if (PyErr_Occurred()) SWIG_fail; | |
5288 | } | |
5289 | Py_INCREF(Py_None); resultobj = Py_None; | |
5290 | return resultobj; | |
5291 | fail: | |
5292 | return NULL; | |
5293 | } | |
5294 | ||
5295 | ||
5296 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5297 | PyObject *resultobj; | |
5298 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5299 | int result; | |
5300 | PyObject * obj0 = 0 ; | |
5301 | char *kwnames[] = { | |
5302 | (char *) "self", NULL | |
5303 | }; | |
5304 | ||
5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
5306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5308 | { | |
5309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5310 | result = (int)(arg1)->GetAlignVer(); | |
5311 | ||
5312 | wxPyEndAllowThreads(__tstate); | |
5313 | if (PyErr_Occurred()) SWIG_fail; | |
5314 | } | |
5315 | resultobj = SWIG_FromInt((int)result); | |
5316 | return resultobj; | |
5317 | fail: | |
5318 | return NULL; | |
5319 | } | |
5320 | ||
5321 | ||
5322 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5323 | PyObject *resultobj; | |
5324 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5325 | int arg2 ; | |
5326 | int arg3 ; | |
5327 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
5328 | PyObject * obj0 = 0 ; | |
5329 | PyObject * obj1 = 0 ; | |
5330 | PyObject * obj2 = 0 ; | |
5331 | PyObject * obj3 = 0 ; | |
5332 | char *kwnames[] = { | |
5333 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
5334 | }; | |
5335 | ||
5336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5339 | arg2 = (int) SWIG_AsInt(obj1); | |
5340 | if (PyErr_Occurred()) SWIG_fail; | |
5341 | arg3 = (int) SWIG_AsInt(obj2); | |
5342 | if (PyErr_Occurred()) SWIG_fail; | |
5343 | if (obj3) { | |
5344 | arg4 = (int) SWIG_AsInt(obj3); | |
5345 | if (PyErr_Occurred()) SWIG_fail; | |
5346 | } | |
5347 | { | |
5348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5349 | (arg1)->SetIndent(arg2,arg3,arg4); | |
5350 | ||
5351 | wxPyEndAllowThreads(__tstate); | |
5352 | if (PyErr_Occurred()) SWIG_fail; | |
5353 | } | |
5354 | Py_INCREF(Py_None); resultobj = Py_None; | |
5355 | return resultobj; | |
5356 | fail: | |
5357 | return NULL; | |
5358 | } | |
5359 | ||
5360 | ||
5361 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5362 | PyObject *resultobj; | |
5363 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5364 | int arg2 ; | |
5365 | int result; | |
5366 | PyObject * obj0 = 0 ; | |
5367 | PyObject * obj1 = 0 ; | |
5368 | char *kwnames[] = { | |
5369 | (char *) "self",(char *) "ind", NULL | |
5370 | }; | |
5371 | ||
5372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail; | |
5373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5375 | arg2 = (int) SWIG_AsInt(obj1); | |
5376 | if (PyErr_Occurred()) SWIG_fail; | |
5377 | { | |
5378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5379 | result = (int)(arg1)->GetIndent(arg2); | |
5380 | ||
5381 | wxPyEndAllowThreads(__tstate); | |
5382 | if (PyErr_Occurred()) SWIG_fail; | |
5383 | } | |
5384 | resultobj = SWIG_FromInt((int)result); | |
5385 | return resultobj; | |
5386 | fail: | |
5387 | return NULL; | |
5388 | } | |
5389 | ||
5390 | ||
5391 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5392 | PyObject *resultobj; | |
5393 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5394 | int arg2 ; | |
5395 | int result; | |
5396 | PyObject * obj0 = 0 ; | |
5397 | PyObject * obj1 = 0 ; | |
5398 | char *kwnames[] = { | |
5399 | (char *) "self",(char *) "ind", NULL | |
5400 | }; | |
5401 | ||
5402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail; | |
5403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5405 | arg2 = (int) SWIG_AsInt(obj1); | |
5406 | if (PyErr_Occurred()) SWIG_fail; | |
5407 | { | |
5408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5409 | result = (int)(arg1)->GetIndentUnits(arg2); | |
5410 | ||
5411 | wxPyEndAllowThreads(__tstate); | |
5412 | if (PyErr_Occurred()) SWIG_fail; | |
5413 | } | |
5414 | resultobj = SWIG_FromInt((int)result); | |
5415 | return resultobj; | |
5416 | fail: | |
5417 | return NULL; | |
5418 | } | |
5419 | ||
5420 | ||
5421 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5422 | PyObject *resultobj; | |
5423 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5424 | wxHtmlTag *arg2 = 0 ; | |
5425 | PyObject * obj0 = 0 ; | |
5426 | PyObject * obj1 = 0 ; | |
5427 | char *kwnames[] = { | |
5428 | (char *) "self",(char *) "tag", NULL | |
5429 | }; | |
5430 | ||
5431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
5432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5434 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5435 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5436 | SWIG_fail; | |
5437 | if (arg2 == NULL) { | |
5438 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5439 | SWIG_fail; | |
5440 | } | |
5441 | { | |
5442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5443 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
5444 | ||
5445 | wxPyEndAllowThreads(__tstate); | |
5446 | if (PyErr_Occurred()) SWIG_fail; | |
5447 | } | |
5448 | Py_INCREF(Py_None); resultobj = Py_None; | |
5449 | return resultobj; | |
5450 | fail: | |
5451 | return NULL; | |
5452 | } | |
5453 | ||
5454 | ||
5455 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5456 | PyObject *resultobj; | |
5457 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5458 | int arg2 ; | |
5459 | int arg3 ; | |
5460 | PyObject * obj0 = 0 ; | |
5461 | PyObject * obj1 = 0 ; | |
5462 | PyObject * obj2 = 0 ; | |
5463 | char *kwnames[] = { | |
5464 | (char *) "self",(char *) "w",(char *) "units", NULL | |
5465 | }; | |
5466 | ||
5467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5470 | arg2 = (int) SWIG_AsInt(obj1); | |
5471 | if (PyErr_Occurred()) SWIG_fail; | |
5472 | arg3 = (int) SWIG_AsInt(obj2); | |
5473 | if (PyErr_Occurred()) SWIG_fail; | |
5474 | { | |
5475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5476 | (arg1)->SetWidthFloat(arg2,arg3); | |
5477 | ||
5478 | wxPyEndAllowThreads(__tstate); | |
5479 | if (PyErr_Occurred()) SWIG_fail; | |
5480 | } | |
5481 | Py_INCREF(Py_None); resultobj = Py_None; | |
5482 | return resultobj; | |
5483 | fail: | |
5484 | return NULL; | |
5485 | } | |
5486 | ||
5487 | ||
5488 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5489 | PyObject *resultobj; | |
5490 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5491 | wxHtmlTag *arg2 = 0 ; | |
5492 | PyObject * obj0 = 0 ; | |
5493 | PyObject * obj1 = 0 ; | |
5494 | char *kwnames[] = { | |
5495 | (char *) "self",(char *) "tag", NULL | |
5496 | }; | |
5497 | ||
5498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
5499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5501 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5502 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5503 | SWIG_fail; | |
5504 | if (arg2 == NULL) { | |
5505 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5506 | SWIG_fail; | |
5507 | } | |
5508 | { | |
5509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5510 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
5511 | ||
5512 | wxPyEndAllowThreads(__tstate); | |
5513 | if (PyErr_Occurred()) SWIG_fail; | |
5514 | } | |
5515 | Py_INCREF(Py_None); resultobj = Py_None; | |
5516 | return resultobj; | |
5517 | fail: | |
5518 | return NULL; | |
5519 | } | |
5520 | ||
5521 | ||
5522 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5523 | PyObject *resultobj; | |
5524 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5525 | int arg2 ; | |
5526 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
5527 | PyObject * obj0 = 0 ; | |
5528 | PyObject * obj1 = 0 ; | |
5529 | PyObject * obj2 = 0 ; | |
5530 | char *kwnames[] = { | |
5531 | (char *) "self",(char *) "h",(char *) "align", NULL | |
5532 | }; | |
5533 | ||
5534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5537 | arg2 = (int) SWIG_AsInt(obj1); | |
5538 | if (PyErr_Occurred()) SWIG_fail; | |
5539 | if (obj2) { | |
5540 | arg3 = (int) SWIG_AsInt(obj2); | |
5541 | if (PyErr_Occurred()) SWIG_fail; | |
5542 | } | |
5543 | { | |
5544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5545 | (arg1)->SetMinHeight(arg2,arg3); | |
5546 | ||
5547 | wxPyEndAllowThreads(__tstate); | |
5548 | if (PyErr_Occurred()) SWIG_fail; | |
5549 | } | |
5550 | Py_INCREF(Py_None); resultobj = Py_None; | |
5551 | return resultobj; | |
5552 | fail: | |
5553 | return NULL; | |
5554 | } | |
5555 | ||
5556 | ||
5557 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5558 | PyObject *resultobj; | |
5559 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5560 | wxColour *arg2 = 0 ; | |
5561 | wxColour temp2 ; | |
5562 | PyObject * obj0 = 0 ; | |
5563 | PyObject * obj1 = 0 ; | |
5564 | char *kwnames[] = { | |
5565 | (char *) "self",(char *) "clr", NULL | |
5566 | }; | |
5567 | ||
5568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
5569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5571 | { | |
5572 | arg2 = &temp2; | |
5573 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5574 | } | |
5575 | { | |
5576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5577 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
5578 | ||
5579 | wxPyEndAllowThreads(__tstate); | |
5580 | if (PyErr_Occurred()) SWIG_fail; | |
5581 | } | |
5582 | Py_INCREF(Py_None); resultobj = Py_None; | |
5583 | return resultobj; | |
5584 | fail: | |
5585 | return NULL; | |
5586 | } | |
5587 | ||
5588 | ||
5589 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5590 | PyObject *resultobj; | |
5591 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5592 | wxColour result; | |
5593 | PyObject * obj0 = 0 ; | |
5594 | char *kwnames[] = { | |
5595 | (char *) "self", NULL | |
5596 | }; | |
5597 | ||
5598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
5599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5601 | { | |
5602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5603 | result = (arg1)->GetBackgroundColour(); | |
5604 | ||
5605 | wxPyEndAllowThreads(__tstate); | |
5606 | if (PyErr_Occurred()) SWIG_fail; | |
5607 | } | |
5608 | { | |
5609 | wxColour * resultptr; | |
5610 | resultptr = new wxColour((wxColour &) result); | |
5611 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
5612 | } | |
5613 | return resultobj; | |
5614 | fail: | |
5615 | return NULL; | |
5616 | } | |
5617 | ||
5618 | ||
5619 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5620 | PyObject *resultobj; | |
5621 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5622 | wxColour *arg2 = 0 ; | |
5623 | wxColour *arg3 = 0 ; | |
5624 | wxColour temp2 ; | |
5625 | wxColour temp3 ; | |
5626 | PyObject * obj0 = 0 ; | |
5627 | PyObject * obj1 = 0 ; | |
5628 | PyObject * obj2 = 0 ; | |
5629 | char *kwnames[] = { | |
5630 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
5631 | }; | |
5632 | ||
5633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5636 | { | |
5637 | arg2 = &temp2; | |
5638 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5639 | } | |
5640 | { | |
5641 | arg3 = &temp3; | |
5642 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
5643 | } | |
5644 | { | |
5645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5646 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
5647 | ||
5648 | wxPyEndAllowThreads(__tstate); | |
5649 | if (PyErr_Occurred()) SWIG_fail; | |
5650 | } | |
5651 | Py_INCREF(Py_None); resultobj = Py_None; | |
5652 | return resultobj; | |
5653 | fail: | |
5654 | return NULL; | |
5655 | } | |
5656 | ||
5657 | ||
5658 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5659 | PyObject *resultobj; | |
5660 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5661 | wxHtmlCell *result; | |
5662 | PyObject * obj0 = 0 ; | |
5663 | char *kwnames[] = { | |
5664 | (char *) "self", NULL | |
5665 | }; | |
5666 | ||
5667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
5668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5670 | { | |
5671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5672 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
5673 | ||
5674 | wxPyEndAllowThreads(__tstate); | |
5675 | if (PyErr_Occurred()) SWIG_fail; | |
5676 | } | |
5677 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
5678 | return resultobj; | |
5679 | fail: | |
5680 | return NULL; | |
5681 | } | |
5682 | ||
5683 | ||
5684 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
5685 | PyObject *obj; | |
5686 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5687 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
5688 | Py_INCREF(obj); | |
5689 | return Py_BuildValue((char *)""); | |
5690 | } | |
5691 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5692 | PyObject *resultobj; | |
5693 | wxColour arg1 ; | |
5694 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
5695 | wxHtmlColourCell *result; | |
5696 | wxColour *argp1 ; | |
5697 | PyObject * obj0 = 0 ; | |
5698 | PyObject * obj1 = 0 ; | |
5699 | char *kwnames[] = { | |
5700 | (char *) "clr",(char *) "flags", NULL | |
5701 | }; | |
5702 | ||
5703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail; | |
5704 | if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour, | |
5705 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5706 | arg1 = *argp1; | |
5707 | if (obj1) { | |
5708 | arg2 = (int) SWIG_AsInt(obj1); | |
5709 | if (PyErr_Occurred()) SWIG_fail; | |
5710 | } | |
5711 | { | |
5712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5713 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
5714 | ||
5715 | wxPyEndAllowThreads(__tstate); | |
5716 | if (PyErr_Occurred()) SWIG_fail; | |
5717 | } | |
5718 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1); | |
5719 | return resultobj; | |
5720 | fail: | |
5721 | return NULL; | |
5722 | } | |
5723 | ||
5724 | ||
5725 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
5726 | PyObject *obj; | |
5727 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5728 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
5729 | Py_INCREF(obj); | |
5730 | return Py_BuildValue((char *)""); | |
5731 | } | |
5732 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5733 | PyObject *resultobj; | |
5734 | wxFont *arg1 = (wxFont *) 0 ; | |
5735 | wxHtmlFontCell *result; | |
5736 | PyObject * obj0 = 0 ; | |
5737 | char *kwnames[] = { | |
5738 | (char *) "font", NULL | |
5739 | }; | |
5740 | ||
5741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
5742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont, | |
5743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5744 | { | |
5745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5746 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
5747 | ||
5748 | wxPyEndAllowThreads(__tstate); | |
5749 | if (PyErr_Occurred()) SWIG_fail; | |
5750 | } | |
5751 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1); | |
5752 | return resultobj; | |
5753 | fail: | |
5754 | return NULL; | |
5755 | } | |
5756 | ||
5757 | ||
5758 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
5759 | PyObject *obj; | |
5760 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5761 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
5762 | Py_INCREF(obj); | |
5763 | return Py_BuildValue((char *)""); | |
5764 | } | |
5765 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5766 | PyObject *resultobj; | |
5767 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5768 | int arg2 = (int) 0 ; | |
5769 | wxHtmlWidgetCell *result; | |
5770 | PyObject * obj0 = 0 ; | |
5771 | PyObject * obj1 = 0 ; | |
5772 | char *kwnames[] = { | |
5773 | (char *) "wnd",(char *) "w", NULL | |
5774 | }; | |
5775 | ||
5776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail; | |
5777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5779 | if (obj1) { | |
5780 | arg2 = (int) SWIG_AsInt(obj1); | |
5781 | if (PyErr_Occurred()) SWIG_fail; | |
5782 | } | |
5783 | { | |
5784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5785 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5786 | ||
5787 | wxPyEndAllowThreads(__tstate); | |
5788 | if (PyErr_Occurred()) SWIG_fail; | |
5789 | } | |
5790 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5791 | return resultobj; | |
5792 | fail: | |
5793 | return NULL; | |
5794 | } | |
5795 | ||
5796 | ||
5797 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5798 | PyObject *obj; | |
5799 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5800 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5801 | Py_INCREF(obj); | |
5802 | return Py_BuildValue((char *)""); | |
5803 | } | |
5804 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5805 | PyObject *resultobj; | |
5806 | wxPyHtmlFilter *result; | |
5807 | char *kwnames[] = { | |
5808 | NULL | |
5809 | }; | |
5810 | ||
5811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5812 | { | |
5813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5814 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5815 | ||
5816 | wxPyEndAllowThreads(__tstate); | |
5817 | if (PyErr_Occurred()) SWIG_fail; | |
5818 | } | |
5819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5820 | return resultobj; | |
5821 | fail: | |
5822 | return NULL; | |
5823 | } | |
5824 | ||
5825 | ||
5826 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5827 | PyObject *resultobj; | |
5828 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5829 | PyObject *arg2 = (PyObject *) 0 ; | |
5830 | PyObject *arg3 = (PyObject *) 0 ; | |
5831 | PyObject * obj0 = 0 ; | |
5832 | PyObject * obj1 = 0 ; | |
5833 | PyObject * obj2 = 0 ; | |
5834 | char *kwnames[] = { | |
5835 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5836 | }; | |
5837 | ||
5838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5839 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, | |
5840 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5841 | arg2 = obj1; | |
5842 | arg3 = obj2; | |
5843 | { | |
5844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5845 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5846 | ||
5847 | wxPyEndAllowThreads(__tstate); | |
5848 | if (PyErr_Occurred()) SWIG_fail; | |
5849 | } | |
5850 | Py_INCREF(Py_None); resultobj = Py_None; | |
5851 | return resultobj; | |
5852 | fail: | |
5853 | return NULL; | |
5854 | } | |
5855 | ||
5856 | ||
5857 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5858 | PyObject *obj; | |
5859 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5860 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5861 | Py_INCREF(obj); | |
5862 | return Py_BuildValue((char *)""); | |
5863 | } | |
5864 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5865 | PyObject *resultobj; | |
5866 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5867 | int arg2 = (int) -1 ; | |
5868 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5869 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5870 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5871 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5872 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5873 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5874 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5875 | wxPyHtmlWindow *result; | |
5876 | wxPoint temp3 ; | |
5877 | wxSize temp4 ; | |
5878 | bool temp6 = False ; | |
5879 | PyObject * obj0 = 0 ; | |
5880 | PyObject * obj1 = 0 ; | |
5881 | PyObject * obj2 = 0 ; | |
5882 | PyObject * obj3 = 0 ; | |
5883 | PyObject * obj4 = 0 ; | |
5884 | PyObject * obj5 = 0 ; | |
5885 | char *kwnames[] = { | |
5886 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5887 | }; | |
5888 | ||
5889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
5890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5892 | if (obj1) { | |
5893 | arg2 = (int) SWIG_AsInt(obj1); | |
5894 | if (PyErr_Occurred()) SWIG_fail; | |
5895 | } | |
5896 | if (obj2) { | |
5897 | { | |
5898 | arg3 = &temp3; | |
5899 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5900 | } | |
5901 | } | |
5902 | if (obj3) { | |
5903 | { | |
5904 | arg4 = &temp4; | |
5905 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5906 | } | |
5907 | } | |
5908 | if (obj4) { | |
5909 | arg5 = (int) SWIG_AsInt(obj4); | |
5910 | if (PyErr_Occurred()) SWIG_fail; | |
5911 | } | |
5912 | if (obj5) { | |
5913 | { | |
5914 | arg6 = wxString_in_helper(obj5); | |
5915 | if (arg6 == NULL) SWIG_fail; | |
5916 | temp6 = True; | |
5917 | } | |
5918 | } | |
5919 | { | |
5920 | if (!wxPyCheckForApp()) SWIG_fail; | |
5921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5922 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5923 | ||
5924 | wxPyEndAllowThreads(__tstate); | |
5925 | if (PyErr_Occurred()) SWIG_fail; | |
5926 | } | |
5927 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); | |
5928 | { | |
5929 | if (temp6) | |
5930 | delete arg6; | |
5931 | } | |
5932 | return resultobj; | |
5933 | fail: | |
5934 | { | |
5935 | if (temp6) | |
5936 | delete arg6; | |
5937 | } | |
5938 | return NULL; | |
5939 | } | |
5940 | ||
5941 | ||
5942 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5943 | PyObject *resultobj; | |
5944 | wxPyHtmlWindow *result; | |
5945 | char *kwnames[] = { | |
5946 | NULL | |
5947 | }; | |
5948 | ||
5949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5950 | { | |
5951 | if (!wxPyCheckForApp()) SWIG_fail; | |
5952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5953 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5954 | ||
5955 | wxPyEndAllowThreads(__tstate); | |
5956 | if (PyErr_Occurred()) SWIG_fail; | |
5957 | } | |
5958 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWindow, 1); | |
5959 | return resultobj; | |
5960 | fail: | |
5961 | return NULL; | |
5962 | } | |
5963 | ||
5964 | ||
5965 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5966 | PyObject *resultobj; | |
5967 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5968 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5969 | int arg3 = (int) -1 ; | |
5970 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5971 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5972 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5973 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5974 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5975 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5976 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5977 | bool result; | |
5978 | wxPoint temp4 ; | |
5979 | wxSize temp5 ; | |
5980 | bool temp7 = False ; | |
5981 | PyObject * obj0 = 0 ; | |
5982 | PyObject * obj1 = 0 ; | |
5983 | PyObject * obj2 = 0 ; | |
5984 | PyObject * obj3 = 0 ; | |
5985 | PyObject * obj4 = 0 ; | |
5986 | PyObject * obj5 = 0 ; | |
5987 | PyObject * obj6 = 0 ; | |
5988 | char *kwnames[] = { | |
5989 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5990 | }; | |
5991 | ||
5992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
5993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
5994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5995 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5997 | if (obj2) { | |
5998 | arg3 = (int) SWIG_AsInt(obj2); | |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
6001 | if (obj3) { | |
6002 | { | |
6003 | arg4 = &temp4; | |
6004 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6005 | } | |
6006 | } | |
6007 | if (obj4) { | |
6008 | { | |
6009 | arg5 = &temp5; | |
6010 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6011 | } | |
6012 | } | |
6013 | if (obj5) { | |
6014 | arg6 = (int) SWIG_AsInt(obj5); | |
6015 | if (PyErr_Occurred()) SWIG_fail; | |
6016 | } | |
6017 | if (obj6) { | |
6018 | { | |
6019 | arg7 = wxString_in_helper(obj6); | |
6020 | if (arg7 == NULL) SWIG_fail; | |
6021 | temp7 = True; | |
6022 | } | |
6023 | } | |
6024 | { | |
6025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6026 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6027 | ||
6028 | wxPyEndAllowThreads(__tstate); | |
6029 | if (PyErr_Occurred()) SWIG_fail; | |
6030 | } | |
6031 | { | |
6032 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6033 | } | |
6034 | { | |
6035 | if (temp7) | |
6036 | delete arg7; | |
6037 | } | |
6038 | return resultobj; | |
6039 | fail: | |
6040 | { | |
6041 | if (temp7) | |
6042 | delete arg7; | |
6043 | } | |
6044 | return NULL; | |
6045 | } | |
6046 | ||
6047 | ||
6048 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6049 | PyObject *resultobj; | |
6050 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6051 | PyObject *arg2 = (PyObject *) 0 ; | |
6052 | PyObject *arg3 = (PyObject *) 0 ; | |
6053 | PyObject * obj0 = 0 ; | |
6054 | PyObject * obj1 = 0 ; | |
6055 | PyObject * obj2 = 0 ; | |
6056 | char *kwnames[] = { | |
6057 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
6058 | }; | |
6059 | ||
6060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6063 | arg2 = obj1; | |
6064 | arg3 = obj2; | |
6065 | { | |
6066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6067 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6068 | ||
6069 | wxPyEndAllowThreads(__tstate); | |
6070 | if (PyErr_Occurred()) SWIG_fail; | |
6071 | } | |
6072 | Py_INCREF(Py_None); resultobj = Py_None; | |
6073 | return resultobj; | |
6074 | fail: | |
6075 | return NULL; | |
6076 | } | |
6077 | ||
6078 | ||
6079 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6080 | PyObject *resultobj; | |
6081 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6082 | wxString *arg2 = 0 ; | |
6083 | bool result; | |
6084 | bool temp2 = False ; | |
6085 | PyObject * obj0 = 0 ; | |
6086 | PyObject * obj1 = 0 ; | |
6087 | char *kwnames[] = { | |
6088 | (char *) "self",(char *) "source", NULL | |
6089 | }; | |
6090 | ||
6091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
6092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6094 | { | |
6095 | arg2 = wxString_in_helper(obj1); | |
6096 | if (arg2 == NULL) SWIG_fail; | |
6097 | temp2 = True; | |
6098 | } | |
6099 | { | |
6100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6101 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
6102 | ||
6103 | wxPyEndAllowThreads(__tstate); | |
6104 | if (PyErr_Occurred()) SWIG_fail; | |
6105 | } | |
6106 | { | |
6107 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6108 | } | |
6109 | { | |
6110 | if (temp2) | |
6111 | delete arg2; | |
6112 | } | |
6113 | return resultobj; | |
6114 | fail: | |
6115 | { | |
6116 | if (temp2) | |
6117 | delete arg2; | |
6118 | } | |
6119 | return NULL; | |
6120 | } | |
6121 | ||
6122 | ||
6123 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6124 | PyObject *resultobj; | |
6125 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6126 | wxString *arg2 = 0 ; | |
6127 | bool result; | |
6128 | bool temp2 = False ; | |
6129 | PyObject * obj0 = 0 ; | |
6130 | PyObject * obj1 = 0 ; | |
6131 | char *kwnames[] = { | |
6132 | (char *) "self",(char *) "location", NULL | |
6133 | }; | |
6134 | ||
6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
6136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6138 | { | |
6139 | arg2 = wxString_in_helper(obj1); | |
6140 | if (arg2 == NULL) SWIG_fail; | |
6141 | temp2 = True; | |
6142 | } | |
6143 | { | |
6144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6145 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
6146 | ||
6147 | wxPyEndAllowThreads(__tstate); | |
6148 | if (PyErr_Occurred()) SWIG_fail; | |
6149 | } | |
6150 | { | |
6151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6152 | } | |
6153 | { | |
6154 | if (temp2) | |
6155 | delete arg2; | |
6156 | } | |
6157 | return resultobj; | |
6158 | fail: | |
6159 | { | |
6160 | if (temp2) | |
6161 | delete arg2; | |
6162 | } | |
6163 | return NULL; | |
6164 | } | |
6165 | ||
6166 | ||
6167 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6168 | PyObject *resultobj; | |
6169 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6170 | wxString *arg2 = 0 ; | |
6171 | bool result; | |
6172 | bool temp2 = False ; | |
6173 | PyObject * obj0 = 0 ; | |
6174 | PyObject * obj1 = 0 ; | |
6175 | char *kwnames[] = { | |
6176 | (char *) "self",(char *) "filename", NULL | |
6177 | }; | |
6178 | ||
6179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
6180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6182 | { | |
6183 | arg2 = wxString_in_helper(obj1); | |
6184 | if (arg2 == NULL) SWIG_fail; | |
6185 | temp2 = True; | |
6186 | } | |
6187 | { | |
6188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6189 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
6190 | ||
6191 | wxPyEndAllowThreads(__tstate); | |
6192 | if (PyErr_Occurred()) SWIG_fail; | |
6193 | } | |
6194 | { | |
6195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6196 | } | |
6197 | { | |
6198 | if (temp2) | |
6199 | delete arg2; | |
6200 | } | |
6201 | return resultobj; | |
6202 | fail: | |
6203 | { | |
6204 | if (temp2) | |
6205 | delete arg2; | |
6206 | } | |
6207 | return NULL; | |
6208 | } | |
6209 | ||
6210 | ||
6211 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6212 | PyObject *resultobj; | |
6213 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6214 | wxString *arg2 = 0 ; | |
6215 | bool result; | |
6216 | bool temp2 = False ; | |
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_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
6224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6226 | { | |
6227 | arg2 = wxString_in_helper(obj1); | |
6228 | if (arg2 == NULL) SWIG_fail; | |
6229 | temp2 = True; | |
6230 | } | |
6231 | { | |
6232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6233 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
6234 | ||
6235 | wxPyEndAllowThreads(__tstate); | |
6236 | if (PyErr_Occurred()) SWIG_fail; | |
6237 | } | |
6238 | { | |
6239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6240 | } | |
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 | ||
6255 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6256 | PyObject *resultobj; | |
6257 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6258 | wxString result; | |
6259 | PyObject * obj0 = 0 ; | |
6260 | char *kwnames[] = { | |
6261 | (char *) "self", NULL | |
6262 | }; | |
6263 | ||
6264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
6265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6267 | { | |
6268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6269 | result = (arg1)->GetOpenedPage(); | |
6270 | ||
6271 | wxPyEndAllowThreads(__tstate); | |
6272 | if (PyErr_Occurred()) SWIG_fail; | |
6273 | } | |
6274 | { | |
6275 | #if wxUSE_UNICODE | |
6276 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6277 | #else | |
6278 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6279 | #endif | |
6280 | } | |
6281 | return resultobj; | |
6282 | fail: | |
6283 | return NULL; | |
6284 | } | |
6285 | ||
6286 | ||
6287 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6288 | PyObject *resultobj; | |
6289 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6290 | wxString result; | |
6291 | PyObject * obj0 = 0 ; | |
6292 | char *kwnames[] = { | |
6293 | (char *) "self", NULL | |
6294 | }; | |
6295 | ||
6296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
6297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6299 | { | |
6300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6301 | result = (arg1)->GetOpenedAnchor(); | |
6302 | ||
6303 | wxPyEndAllowThreads(__tstate); | |
6304 | if (PyErr_Occurred()) SWIG_fail; | |
6305 | } | |
6306 | { | |
6307 | #if wxUSE_UNICODE | |
6308 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6309 | #else | |
6310 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6311 | #endif | |
6312 | } | |
6313 | return resultobj; | |
6314 | fail: | |
6315 | return NULL; | |
6316 | } | |
6317 | ||
6318 | ||
6319 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6320 | PyObject *resultobj; | |
6321 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6322 | wxString result; | |
6323 | PyObject * obj0 = 0 ; | |
6324 | char *kwnames[] = { | |
6325 | (char *) "self", NULL | |
6326 | }; | |
6327 | ||
6328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
6329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6331 | { | |
6332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6333 | result = (arg1)->GetOpenedPageTitle(); | |
6334 | ||
6335 | wxPyEndAllowThreads(__tstate); | |
6336 | if (PyErr_Occurred()) SWIG_fail; | |
6337 | } | |
6338 | { | |
6339 | #if wxUSE_UNICODE | |
6340 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6341 | #else | |
6342 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6343 | #endif | |
6344 | } | |
6345 | return resultobj; | |
6346 | fail: | |
6347 | return NULL; | |
6348 | } | |
6349 | ||
6350 | ||
6351 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6352 | PyObject *resultobj; | |
6353 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6354 | wxFrame *arg2 = (wxFrame *) 0 ; | |
6355 | wxString *arg3 = 0 ; | |
6356 | bool temp3 = False ; | |
6357 | PyObject * obj0 = 0 ; | |
6358 | PyObject * obj1 = 0 ; | |
6359 | PyObject * obj2 = 0 ; | |
6360 | char *kwnames[] = { | |
6361 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
6362 | }; | |
6363 | ||
6364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6367 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
6368 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6369 | { | |
6370 | arg3 = wxString_in_helper(obj2); | |
6371 | if (arg3 == NULL) SWIG_fail; | |
6372 | temp3 = True; | |
6373 | } | |
6374 | { | |
6375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6376 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
6377 | ||
6378 | wxPyEndAllowThreads(__tstate); | |
6379 | if (PyErr_Occurred()) SWIG_fail; | |
6380 | } | |
6381 | Py_INCREF(Py_None); resultobj = Py_None; | |
6382 | { | |
6383 | if (temp3) | |
6384 | delete arg3; | |
6385 | } | |
6386 | return resultobj; | |
6387 | fail: | |
6388 | { | |
6389 | if (temp3) | |
6390 | delete arg3; | |
6391 | } | |
6392 | return NULL; | |
6393 | } | |
6394 | ||
6395 | ||
6396 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6397 | PyObject *resultobj; | |
6398 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6399 | wxFrame *result; | |
6400 | PyObject * obj0 = 0 ; | |
6401 | char *kwnames[] = { | |
6402 | (char *) "self", NULL | |
6403 | }; | |
6404 | ||
6405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
6406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6408 | { | |
6409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6410 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
6411 | ||
6412 | wxPyEndAllowThreads(__tstate); | |
6413 | if (PyErr_Occurred()) SWIG_fail; | |
6414 | } | |
6415 | { | |
6416 | resultobj = wxPyMake_wxObject(result, 0); | |
6417 | } | |
6418 | return resultobj; | |
6419 | fail: | |
6420 | return NULL; | |
6421 | } | |
6422 | ||
6423 | ||
6424 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6425 | PyObject *resultobj; | |
6426 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6427 | int arg2 ; | |
6428 | PyObject * obj0 = 0 ; | |
6429 | PyObject * obj1 = 0 ; | |
6430 | char *kwnames[] = { | |
6431 | (char *) "self",(char *) "bar", NULL | |
6432 | }; | |
6433 | ||
6434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
6435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6437 | arg2 = (int) SWIG_AsInt(obj1); | |
6438 | if (PyErr_Occurred()) SWIG_fail; | |
6439 | { | |
6440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6441 | (arg1)->SetRelatedStatusBar(arg2); | |
6442 | ||
6443 | wxPyEndAllowThreads(__tstate); | |
6444 | if (PyErr_Occurred()) SWIG_fail; | |
6445 | } | |
6446 | Py_INCREF(Py_None); resultobj = Py_None; | |
6447 | return resultobj; | |
6448 | fail: | |
6449 | return NULL; | |
6450 | } | |
6451 | ||
6452 | ||
6453 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6454 | PyObject *resultobj; | |
6455 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6456 | wxString arg2 ; | |
6457 | wxString arg3 ; | |
6458 | PyObject *arg4 = (PyObject *) NULL ; | |
6459 | PyObject * obj0 = 0 ; | |
6460 | PyObject * obj1 = 0 ; | |
6461 | PyObject * obj2 = 0 ; | |
6462 | PyObject * obj3 = 0 ; | |
6463 | char *kwnames[] = { | |
6464 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6465 | }; | |
6466 | ||
6467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6470 | { | |
6471 | wxString* sptr = wxString_in_helper(obj1); | |
6472 | if (sptr == NULL) SWIG_fail; | |
6473 | arg2 = *sptr; | |
6474 | delete sptr; | |
6475 | } | |
6476 | { | |
6477 | wxString* sptr = wxString_in_helper(obj2); | |
6478 | if (sptr == NULL) SWIG_fail; | |
6479 | arg3 = *sptr; | |
6480 | delete sptr; | |
6481 | } | |
6482 | if (obj3) { | |
6483 | arg4 = obj3; | |
6484 | } | |
6485 | { | |
6486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6487 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
6488 | ||
6489 | wxPyEndAllowThreads(__tstate); | |
6490 | if (PyErr_Occurred()) SWIG_fail; | |
6491 | } | |
6492 | Py_INCREF(Py_None); resultobj = Py_None; | |
6493 | return resultobj; | |
6494 | fail: | |
6495 | return NULL; | |
6496 | } | |
6497 | ||
6498 | ||
6499 | static PyObject *_wrap_HtmlWindow_NormalizeFontSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6500 | PyObject *resultobj; | |
6501 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6502 | int arg2 = (int) -1 ; | |
6503 | PyObject * obj0 = 0 ; | |
6504 | PyObject * obj1 = 0 ; | |
6505 | char *kwnames[] = { | |
6506 | (char *) "self",(char *) "size", NULL | |
6507 | }; | |
6508 | ||
6509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWindow_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
6510 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6512 | if (obj1) { | |
6513 | arg2 = (int) SWIG_AsInt(obj1); | |
6514 | if (PyErr_Occurred()) SWIG_fail; | |
6515 | } | |
6516 | { | |
6517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6518 | (arg1)->NormalizeFontSizes(arg2); | |
6519 | ||
6520 | wxPyEndAllowThreads(__tstate); | |
6521 | if (PyErr_Occurred()) SWIG_fail; | |
6522 | } | |
6523 | Py_INCREF(Py_None); resultobj = Py_None; | |
6524 | return resultobj; | |
6525 | fail: | |
6526 | return NULL; | |
6527 | } | |
6528 | ||
6529 | ||
6530 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6531 | PyObject *resultobj; | |
6532 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6533 | wxString *arg2 = 0 ; | |
6534 | bool temp2 = False ; | |
6535 | PyObject * obj0 = 0 ; | |
6536 | PyObject * obj1 = 0 ; | |
6537 | char *kwnames[] = { | |
6538 | (char *) "self",(char *) "title", NULL | |
6539 | }; | |
6540 | ||
6541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6544 | { | |
6545 | arg2 = wxString_in_helper(obj1); | |
6546 | if (arg2 == NULL) SWIG_fail; | |
6547 | temp2 = True; | |
6548 | } | |
6549 | { | |
6550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6551 | (arg1)->SetTitle((wxString const &)*arg2); | |
6552 | ||
6553 | wxPyEndAllowThreads(__tstate); | |
6554 | if (PyErr_Occurred()) SWIG_fail; | |
6555 | } | |
6556 | Py_INCREF(Py_None); resultobj = Py_None; | |
6557 | { | |
6558 | if (temp2) | |
6559 | delete arg2; | |
6560 | } | |
6561 | return resultobj; | |
6562 | fail: | |
6563 | { | |
6564 | if (temp2) | |
6565 | delete arg2; | |
6566 | } | |
6567 | return NULL; | |
6568 | } | |
6569 | ||
6570 | ||
6571 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6572 | PyObject *resultobj; | |
6573 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6574 | int arg2 ; | |
6575 | PyObject * obj0 = 0 ; | |
6576 | PyObject * obj1 = 0 ; | |
6577 | char *kwnames[] = { | |
6578 | (char *) "self",(char *) "b", NULL | |
6579 | }; | |
6580 | ||
6581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail; | |
6582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6584 | arg2 = (int) SWIG_AsInt(obj1); | |
6585 | if (PyErr_Occurred()) SWIG_fail; | |
6586 | { | |
6587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6588 | (arg1)->SetBorders(arg2); | |
6589 | ||
6590 | wxPyEndAllowThreads(__tstate); | |
6591 | if (PyErr_Occurred()) SWIG_fail; | |
6592 | } | |
6593 | Py_INCREF(Py_None); resultobj = Py_None; | |
6594 | return resultobj; | |
6595 | fail: | |
6596 | return NULL; | |
6597 | } | |
6598 | ||
6599 | ||
6600 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6601 | PyObject *resultobj; | |
6602 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6603 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6604 | wxString arg3 = (wxString) wxPyEmptyString ; | |
6605 | PyObject * obj0 = 0 ; | |
6606 | PyObject * obj1 = 0 ; | |
6607 | PyObject * obj2 = 0 ; | |
6608 | char *kwnames[] = { | |
6609 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6610 | }; | |
6611 | ||
6612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6615 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6617 | if (obj2) { | |
6618 | { | |
6619 | wxString* sptr = wxString_in_helper(obj2); | |
6620 | if (sptr == NULL) SWIG_fail; | |
6621 | arg3 = *sptr; | |
6622 | delete sptr; | |
6623 | } | |
6624 | } | |
6625 | { | |
6626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6627 | (arg1)->ReadCustomization(arg2,arg3); | |
6628 | ||
6629 | wxPyEndAllowThreads(__tstate); | |
6630 | if (PyErr_Occurred()) SWIG_fail; | |
6631 | } | |
6632 | Py_INCREF(Py_None); resultobj = Py_None; | |
6633 | return resultobj; | |
6634 | fail: | |
6635 | return NULL; | |
6636 | } | |
6637 | ||
6638 | ||
6639 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6640 | PyObject *resultobj; | |
6641 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6642 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6643 | wxString arg3 = (wxString) wxPyEmptyString ; | |
6644 | PyObject * obj0 = 0 ; | |
6645 | PyObject * obj1 = 0 ; | |
6646 | PyObject * obj2 = 0 ; | |
6647 | char *kwnames[] = { | |
6648 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6649 | }; | |
6650 | ||
6651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6654 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6656 | if (obj2) { | |
6657 | { | |
6658 | wxString* sptr = wxString_in_helper(obj2); | |
6659 | if (sptr == NULL) SWIG_fail; | |
6660 | arg3 = *sptr; | |
6661 | delete sptr; | |
6662 | } | |
6663 | } | |
6664 | { | |
6665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6666 | (arg1)->WriteCustomization(arg2,arg3); | |
6667 | ||
6668 | wxPyEndAllowThreads(__tstate); | |
6669 | if (PyErr_Occurred()) SWIG_fail; | |
6670 | } | |
6671 | Py_INCREF(Py_None); resultobj = Py_None; | |
6672 | return resultobj; | |
6673 | fail: | |
6674 | return NULL; | |
6675 | } | |
6676 | ||
6677 | ||
6678 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6679 | PyObject *resultobj; | |
6680 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6681 | bool result; | |
6682 | PyObject * obj0 = 0 ; | |
6683 | char *kwnames[] = { | |
6684 | (char *) "self", NULL | |
6685 | }; | |
6686 | ||
6687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
6688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6690 | { | |
6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6692 | result = (bool)(arg1)->HistoryBack(); | |
6693 | ||
6694 | wxPyEndAllowThreads(__tstate); | |
6695 | if (PyErr_Occurred()) SWIG_fail; | |
6696 | } | |
6697 | { | |
6698 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6699 | } | |
6700 | return resultobj; | |
6701 | fail: | |
6702 | return NULL; | |
6703 | } | |
6704 | ||
6705 | ||
6706 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6707 | PyObject *resultobj; | |
6708 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6709 | bool result; | |
6710 | PyObject * obj0 = 0 ; | |
6711 | char *kwnames[] = { | |
6712 | (char *) "self", NULL | |
6713 | }; | |
6714 | ||
6715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
6716 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6717 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6718 | { | |
6719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6720 | result = (bool)(arg1)->HistoryForward(); | |
6721 | ||
6722 | wxPyEndAllowThreads(__tstate); | |
6723 | if (PyErr_Occurred()) SWIG_fail; | |
6724 | } | |
6725 | { | |
6726 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6727 | } | |
6728 | return resultobj; | |
6729 | fail: | |
6730 | return NULL; | |
6731 | } | |
6732 | ||
6733 | ||
6734 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6735 | PyObject *resultobj; | |
6736 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6737 | bool result; | |
6738 | PyObject * obj0 = 0 ; | |
6739 | char *kwnames[] = { | |
6740 | (char *) "self", NULL | |
6741 | }; | |
6742 | ||
6743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
6744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6746 | { | |
6747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6748 | result = (bool)(arg1)->HistoryCanBack(); | |
6749 | ||
6750 | wxPyEndAllowThreads(__tstate); | |
6751 | if (PyErr_Occurred()) SWIG_fail; | |
6752 | } | |
6753 | { | |
6754 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6755 | } | |
6756 | return resultobj; | |
6757 | fail: | |
6758 | return NULL; | |
6759 | } | |
6760 | ||
6761 | ||
6762 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6763 | PyObject *resultobj; | |
6764 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6765 | bool result; | |
6766 | PyObject * obj0 = 0 ; | |
6767 | char *kwnames[] = { | |
6768 | (char *) "self", NULL | |
6769 | }; | |
6770 | ||
6771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
6772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6774 | { | |
6775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6776 | result = (bool)(arg1)->HistoryCanForward(); | |
6777 | ||
6778 | wxPyEndAllowThreads(__tstate); | |
6779 | if (PyErr_Occurred()) SWIG_fail; | |
6780 | } | |
6781 | { | |
6782 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6783 | } | |
6784 | return resultobj; | |
6785 | fail: | |
6786 | return NULL; | |
6787 | } | |
6788 | ||
6789 | ||
6790 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6791 | PyObject *resultobj; | |
6792 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6793 | PyObject * obj0 = 0 ; | |
6794 | char *kwnames[] = { | |
6795 | (char *) "self", NULL | |
6796 | }; | |
6797 | ||
6798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
6799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6801 | { | |
6802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6803 | (arg1)->HistoryClear(); | |
6804 | ||
6805 | wxPyEndAllowThreads(__tstate); | |
6806 | if (PyErr_Occurred()) SWIG_fail; | |
6807 | } | |
6808 | Py_INCREF(Py_None); resultobj = Py_None; | |
6809 | return resultobj; | |
6810 | fail: | |
6811 | return NULL; | |
6812 | } | |
6813 | ||
6814 | ||
6815 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6816 | PyObject *resultobj; | |
6817 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6818 | wxHtmlContainerCell *result; | |
6819 | PyObject * obj0 = 0 ; | |
6820 | char *kwnames[] = { | |
6821 | (char *) "self", NULL | |
6822 | }; | |
6823 | ||
6824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
6825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6827 | { | |
6828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6829 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
6830 | ||
6831 | wxPyEndAllowThreads(__tstate); | |
6832 | if (PyErr_Occurred()) SWIG_fail; | |
6833 | } | |
6834 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
6835 | return resultobj; | |
6836 | fail: | |
6837 | return NULL; | |
6838 | } | |
6839 | ||
6840 | ||
6841 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6842 | PyObject *resultobj; | |
6843 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6844 | wxHtmlWinParser *result; | |
6845 | PyObject * obj0 = 0 ; | |
6846 | char *kwnames[] = { | |
6847 | (char *) "self", NULL | |
6848 | }; | |
6849 | ||
6850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
6851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6853 | { | |
6854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6855 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
6856 | ||
6857 | wxPyEndAllowThreads(__tstate); | |
6858 | if (PyErr_Occurred()) SWIG_fail; | |
6859 | } | |
6860 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); | |
6861 | return resultobj; | |
6862 | fail: | |
6863 | return NULL; | |
6864 | } | |
6865 | ||
6866 | ||
6867 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6868 | PyObject *resultobj; | |
6869 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6870 | wxString *arg2 = 0 ; | |
6871 | bool result; | |
6872 | bool temp2 = False ; | |
6873 | PyObject * obj0 = 0 ; | |
6874 | PyObject * obj1 = 0 ; | |
6875 | char *kwnames[] = { | |
6876 | (char *) "self",(char *) "anchor", NULL | |
6877 | }; | |
6878 | ||
6879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6882 | { | |
6883 | arg2 = wxString_in_helper(obj1); | |
6884 | if (arg2 == NULL) SWIG_fail; | |
6885 | temp2 = True; | |
6886 | } | |
6887 | { | |
6888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6889 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
6890 | ||
6891 | wxPyEndAllowThreads(__tstate); | |
6892 | if (PyErr_Occurred()) SWIG_fail; | |
6893 | } | |
6894 | { | |
6895 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6896 | } | |
6897 | { | |
6898 | if (temp2) | |
6899 | delete arg2; | |
6900 | } | |
6901 | return resultobj; | |
6902 | fail: | |
6903 | { | |
6904 | if (temp2) | |
6905 | delete arg2; | |
6906 | } | |
6907 | return NULL; | |
6908 | } | |
6909 | ||
6910 | ||
6911 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6912 | PyObject *resultobj; | |
6913 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6914 | wxString *arg2 = 0 ; | |
6915 | bool result; | |
6916 | bool temp2 = False ; | |
6917 | PyObject * obj0 = 0 ; | |
6918 | PyObject * obj1 = 0 ; | |
6919 | char *kwnames[] = { | |
6920 | (char *) "self",(char *) "anchor", NULL | |
6921 | }; | |
6922 | ||
6923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6926 | { | |
6927 | arg2 = wxString_in_helper(obj1); | |
6928 | if (arg2 == NULL) SWIG_fail; | |
6929 | temp2 = True; | |
6930 | } | |
6931 | { | |
6932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6933 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6934 | ||
6935 | wxPyEndAllowThreads(__tstate); | |
6936 | if (PyErr_Occurred()) SWIG_fail; | |
6937 | } | |
6938 | { | |
6939 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6940 | } | |
6941 | { | |
6942 | if (temp2) | |
6943 | delete arg2; | |
6944 | } | |
6945 | return resultobj; | |
6946 | fail: | |
6947 | { | |
6948 | if (temp2) | |
6949 | delete arg2; | |
6950 | } | |
6951 | return NULL; | |
6952 | } | |
6953 | ||
6954 | ||
6955 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6956 | PyObject *resultobj; | |
6957 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6958 | PyObject * obj0 = 0 ; | |
6959 | char *kwnames[] = { | |
6960 | (char *) "filter", NULL | |
6961 | }; | |
6962 | ||
6963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, | |
6965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6966 | { | |
6967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6968 | wxPyHtmlWindow::AddFilter(arg1); | |
6969 | ||
6970 | wxPyEndAllowThreads(__tstate); | |
6971 | if (PyErr_Occurred()) SWIG_fail; | |
6972 | } | |
6973 | Py_INCREF(Py_None); resultobj = Py_None; | |
6974 | return resultobj; | |
6975 | fail: | |
6976 | return NULL; | |
6977 | } | |
6978 | ||
6979 | ||
6980 | static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6981 | PyObject *resultobj; | |
6982 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6983 | wxPoint *arg2 = 0 ; | |
6984 | wxPoint temp2 ; | |
6985 | PyObject * obj0 = 0 ; | |
6986 | PyObject * obj1 = 0 ; | |
6987 | char *kwnames[] = { | |
6988 | (char *) "self",(char *) "pos", NULL | |
6989 | }; | |
6990 | ||
6991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail; | |
6992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6994 | { | |
6995 | arg2 = &temp2; | |
6996 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6997 | } | |
6998 | { | |
6999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7000 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
7001 | ||
7002 | wxPyEndAllowThreads(__tstate); | |
7003 | if (PyErr_Occurred()) SWIG_fail; | |
7004 | } | |
7005 | Py_INCREF(Py_None); resultobj = Py_None; | |
7006 | return resultobj; | |
7007 | fail: | |
7008 | return NULL; | |
7009 | } | |
7010 | ||
7011 | ||
7012 | static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7013 | PyObject *resultobj; | |
7014 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7015 | wxPoint *arg2 = 0 ; | |
7016 | wxPoint temp2 ; | |
7017 | PyObject * obj0 = 0 ; | |
7018 | PyObject * obj1 = 0 ; | |
7019 | char *kwnames[] = { | |
7020 | (char *) "self",(char *) "pos", NULL | |
7021 | }; | |
7022 | ||
7023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail; | |
7024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7026 | { | |
7027 | arg2 = &temp2; | |
7028 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7029 | } | |
7030 | { | |
7031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7032 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
7033 | ||
7034 | wxPyEndAllowThreads(__tstate); | |
7035 | if (PyErr_Occurred()) SWIG_fail; | |
7036 | } | |
7037 | Py_INCREF(Py_None); resultobj = Py_None; | |
7038 | return resultobj; | |
7039 | fail: | |
7040 | return NULL; | |
7041 | } | |
7042 | ||
7043 | ||
7044 | static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7045 | PyObject *resultobj; | |
7046 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7047 | PyObject * obj0 = 0 ; | |
7048 | char *kwnames[] = { | |
7049 | (char *) "self", NULL | |
7050 | }; | |
7051 | ||
7052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail; | |
7053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7055 | { | |
7056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7057 | (arg1)->SelectAll(); | |
7058 | ||
7059 | wxPyEndAllowThreads(__tstate); | |
7060 | if (PyErr_Occurred()) SWIG_fail; | |
7061 | } | |
7062 | Py_INCREF(Py_None); resultobj = Py_None; | |
7063 | return resultobj; | |
7064 | fail: | |
7065 | return NULL; | |
7066 | } | |
7067 | ||
7068 | ||
7069 | static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7070 | PyObject *resultobj; | |
7071 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7072 | wxString result; | |
7073 | PyObject * obj0 = 0 ; | |
7074 | char *kwnames[] = { | |
7075 | (char *) "self", NULL | |
7076 | }; | |
7077 | ||
7078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectionToText",kwnames,&obj0)) goto fail; | |
7079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7081 | { | |
7082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7083 | result = (arg1)->SelectionToText(); | |
7084 | ||
7085 | wxPyEndAllowThreads(__tstate); | |
7086 | if (PyErr_Occurred()) SWIG_fail; | |
7087 | } | |
7088 | { | |
7089 | #if wxUSE_UNICODE | |
7090 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7091 | #else | |
7092 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7093 | #endif | |
7094 | } | |
7095 | return resultobj; | |
7096 | fail: | |
7097 | return NULL; | |
7098 | } | |
7099 | ||
7100 | ||
7101 | static PyObject *_wrap_HtmlWindow_ToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7102 | PyObject *resultobj; | |
7103 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7104 | wxString result; | |
7105 | PyObject * obj0 = 0 ; | |
7106 | char *kwnames[] = { | |
7107 | (char *) "self", NULL | |
7108 | }; | |
7109 | ||
7110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_ToText",kwnames,&obj0)) goto fail; | |
7111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7113 | { | |
7114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7115 | result = (arg1)->ToText(); | |
7116 | ||
7117 | wxPyEndAllowThreads(__tstate); | |
7118 | if (PyErr_Occurred()) SWIG_fail; | |
7119 | } | |
7120 | { | |
7121 | #if wxUSE_UNICODE | |
7122 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7123 | #else | |
7124 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7125 | #endif | |
7126 | } | |
7127 | return resultobj; | |
7128 | fail: | |
7129 | return NULL; | |
7130 | } | |
7131 | ||
7132 | ||
7133 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7134 | PyObject *resultobj; | |
7135 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7136 | wxHtmlLinkInfo *arg2 = 0 ; | |
7137 | PyObject * obj0 = 0 ; | |
7138 | PyObject * obj1 = 0 ; | |
7139 | char *kwnames[] = { | |
7140 | (char *) "self",(char *) "link", NULL | |
7141 | }; | |
7142 | ||
7143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
7144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7146 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
7147 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7148 | SWIG_fail; | |
7149 | if (arg2 == NULL) { | |
7150 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
7151 | SWIG_fail; | |
7152 | } | |
7153 | { | |
7154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7155 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
7156 | ||
7157 | wxPyEndAllowThreads(__tstate); | |
7158 | if (PyErr_Occurred()) SWIG_fail; | |
7159 | } | |
7160 | Py_INCREF(Py_None); resultobj = Py_None; | |
7161 | return resultobj; | |
7162 | fail: | |
7163 | return NULL; | |
7164 | } | |
7165 | ||
7166 | ||
7167 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7168 | PyObject *resultobj; | |
7169 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7170 | wxString *arg2 = 0 ; | |
7171 | bool temp2 = False ; | |
7172 | PyObject * obj0 = 0 ; | |
7173 | PyObject * obj1 = 0 ; | |
7174 | char *kwnames[] = { | |
7175 | (char *) "self",(char *) "title", NULL | |
7176 | }; | |
7177 | ||
7178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7181 | { | |
7182 | arg2 = wxString_in_helper(obj1); | |
7183 | if (arg2 == NULL) SWIG_fail; | |
7184 | temp2 = True; | |
7185 | } | |
7186 | { | |
7187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7188 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
7189 | ||
7190 | wxPyEndAllowThreads(__tstate); | |
7191 | if (PyErr_Occurred()) SWIG_fail; | |
7192 | } | |
7193 | Py_INCREF(Py_None); resultobj = Py_None; | |
7194 | { | |
7195 | if (temp2) | |
7196 | delete arg2; | |
7197 | } | |
7198 | return resultobj; | |
7199 | fail: | |
7200 | { | |
7201 | if (temp2) | |
7202 | delete arg2; | |
7203 | } | |
7204 | return NULL; | |
7205 | } | |
7206 | ||
7207 | ||
7208 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7209 | PyObject *resultobj; | |
7210 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7211 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7212 | int arg3 ; | |
7213 | int arg4 ; | |
7214 | PyObject * obj0 = 0 ; | |
7215 | PyObject * obj1 = 0 ; | |
7216 | PyObject * obj2 = 0 ; | |
7217 | PyObject * obj3 = 0 ; | |
7218 | char *kwnames[] = { | |
7219 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
7220 | }; | |
7221 | ||
7222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7225 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7227 | arg3 = (int) SWIG_AsInt(obj2); | |
7228 | if (PyErr_Occurred()) SWIG_fail; | |
7229 | arg4 = (int) SWIG_AsInt(obj3); | |
7230 | if (PyErr_Occurred()) SWIG_fail; | |
7231 | { | |
7232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7233 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
7234 | ||
7235 | wxPyEndAllowThreads(__tstate); | |
7236 | if (PyErr_Occurred()) SWIG_fail; | |
7237 | } | |
7238 | Py_INCREF(Py_None); resultobj = Py_None; | |
7239 | return resultobj; | |
7240 | fail: | |
7241 | return NULL; | |
7242 | } | |
7243 | ||
7244 | ||
7245 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7246 | PyObject *resultobj; | |
7247 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7248 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7249 | int arg3 ; | |
7250 | int arg4 ; | |
7251 | wxMouseEvent *arg5 = 0 ; | |
7252 | PyObject * obj0 = 0 ; | |
7253 | PyObject * obj1 = 0 ; | |
7254 | PyObject * obj2 = 0 ; | |
7255 | PyObject * obj3 = 0 ; | |
7256 | PyObject * obj4 = 0 ; | |
7257 | char *kwnames[] = { | |
7258 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
7259 | }; | |
7260 | ||
7261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
7262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7264 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7266 | arg3 = (int) SWIG_AsInt(obj2); | |
7267 | if (PyErr_Occurred()) SWIG_fail; | |
7268 | arg4 = (int) SWIG_AsInt(obj3); | |
7269 | if (PyErr_Occurred()) SWIG_fail; | |
7270 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent, | |
7271 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7272 | SWIG_fail; | |
7273 | if (arg5 == NULL) { | |
7274 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
7275 | SWIG_fail; | |
7276 | } | |
7277 | { | |
7278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7279 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
7280 | ||
7281 | wxPyEndAllowThreads(__tstate); | |
7282 | if (PyErr_Occurred()) SWIG_fail; | |
7283 | } | |
7284 | Py_INCREF(Py_None); resultobj = Py_None; | |
7285 | return resultobj; | |
7286 | fail: | |
7287 | return NULL; | |
7288 | } | |
7289 | ||
7290 | ||
7291 | static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7292 | PyObject *resultobj; | |
7293 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
7294 | wxVisualAttributes result; | |
7295 | PyObject * obj0 = 0 ; | |
7296 | char *kwnames[] = { | |
7297 | (char *) "variant", NULL | |
7298 | }; | |
7299 | ||
7300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7301 | if (obj0) { | |
7302 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
7303 | if (PyErr_Occurred()) SWIG_fail; | |
7304 | } | |
7305 | { | |
7306 | if (!wxPyCheckForApp()) SWIG_fail; | |
7307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7308 | result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7309 | ||
7310 | wxPyEndAllowThreads(__tstate); | |
7311 | if (PyErr_Occurred()) SWIG_fail; | |
7312 | } | |
7313 | { | |
7314 | wxVisualAttributes * resultptr; | |
7315 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
7316 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
7317 | } | |
7318 | return resultobj; | |
7319 | fail: | |
7320 | return NULL; | |
7321 | } | |
7322 | ||
7323 | ||
7324 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
7325 | PyObject *obj; | |
7326 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7327 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
7328 | Py_INCREF(obj); | |
7329 | return Py_BuildValue((char *)""); | |
7330 | } | |
7331 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7332 | PyObject *resultobj; | |
7333 | wxHtmlDCRenderer *result; | |
7334 | char *kwnames[] = { | |
7335 | NULL | |
7336 | }; | |
7337 | ||
7338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
7339 | { | |
7340 | if (!wxPyCheckForApp()) SWIG_fail; | |
7341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7342 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
7343 | ||
7344 | wxPyEndAllowThreads(__tstate); | |
7345 | if (PyErr_Occurred()) SWIG_fail; | |
7346 | } | |
7347 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
7348 | return resultobj; | |
7349 | fail: | |
7350 | return NULL; | |
7351 | } | |
7352 | ||
7353 | ||
7354 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7355 | PyObject *resultobj; | |
7356 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7357 | PyObject * obj0 = 0 ; | |
7358 | char *kwnames[] = { | |
7359 | (char *) "self", NULL | |
7360 | }; | |
7361 | ||
7362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
7363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7365 | { | |
7366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7367 | delete arg1; | |
7368 | ||
7369 | wxPyEndAllowThreads(__tstate); | |
7370 | if (PyErr_Occurred()) SWIG_fail; | |
7371 | } | |
7372 | Py_INCREF(Py_None); resultobj = Py_None; | |
7373 | return resultobj; | |
7374 | fail: | |
7375 | return NULL; | |
7376 | } | |
7377 | ||
7378 | ||
7379 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7380 | PyObject *resultobj; | |
7381 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7382 | wxDC *arg2 = (wxDC *) 0 ; | |
7383 | int arg3 ; | |
7384 | PyObject * obj0 = 0 ; | |
7385 | PyObject * obj1 = 0 ; | |
7386 | PyObject * obj2 = 0 ; | |
7387 | char *kwnames[] = { | |
7388 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
7389 | }; | |
7390 | ||
7391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7394 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
7395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7396 | arg3 = (int) SWIG_AsInt(obj2); | |
7397 | if (PyErr_Occurred()) SWIG_fail; | |
7398 | { | |
7399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7400 | (arg1)->SetDC(arg2,arg3); | |
7401 | ||
7402 | wxPyEndAllowThreads(__tstate); | |
7403 | if (PyErr_Occurred()) SWIG_fail; | |
7404 | } | |
7405 | Py_INCREF(Py_None); resultobj = Py_None; | |
7406 | return resultobj; | |
7407 | fail: | |
7408 | return NULL; | |
7409 | } | |
7410 | ||
7411 | ||
7412 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7413 | PyObject *resultobj; | |
7414 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7415 | int arg2 ; | |
7416 | int arg3 ; | |
7417 | PyObject * obj0 = 0 ; | |
7418 | PyObject * obj1 = 0 ; | |
7419 | PyObject * obj2 = 0 ; | |
7420 | char *kwnames[] = { | |
7421 | (char *) "self",(char *) "width",(char *) "height", NULL | |
7422 | }; | |
7423 | ||
7424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7427 | arg2 = (int) SWIG_AsInt(obj1); | |
7428 | if (PyErr_Occurred()) SWIG_fail; | |
7429 | arg3 = (int) SWIG_AsInt(obj2); | |
7430 | if (PyErr_Occurred()) SWIG_fail; | |
7431 | { | |
7432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7433 | (arg1)->SetSize(arg2,arg3); | |
7434 | ||
7435 | wxPyEndAllowThreads(__tstate); | |
7436 | if (PyErr_Occurred()) SWIG_fail; | |
7437 | } | |
7438 | Py_INCREF(Py_None); resultobj = Py_None; | |
7439 | return resultobj; | |
7440 | fail: | |
7441 | return NULL; | |
7442 | } | |
7443 | ||
7444 | ||
7445 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7446 | PyObject *resultobj; | |
7447 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7448 | wxString *arg2 = 0 ; | |
7449 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7450 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7451 | bool arg4 = (bool) True ; | |
7452 | bool temp2 = False ; | |
7453 | bool temp3 = False ; | |
7454 | PyObject * obj0 = 0 ; | |
7455 | PyObject * obj1 = 0 ; | |
7456 | PyObject * obj2 = 0 ; | |
7457 | PyObject * obj3 = 0 ; | |
7458 | char *kwnames[] = { | |
7459 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7460 | }; | |
7461 | ||
7462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7465 | { | |
7466 | arg2 = wxString_in_helper(obj1); | |
7467 | if (arg2 == NULL) SWIG_fail; | |
7468 | temp2 = True; | |
7469 | } | |
7470 | if (obj2) { | |
7471 | { | |
7472 | arg3 = wxString_in_helper(obj2); | |
7473 | if (arg3 == NULL) SWIG_fail; | |
7474 | temp3 = True; | |
7475 | } | |
7476 | } | |
7477 | if (obj3) { | |
7478 | arg4 = (bool) SWIG_AsBool(obj3); | |
7479 | if (PyErr_Occurred()) SWIG_fail; | |
7480 | } | |
7481 | { | |
7482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7483 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7484 | ||
7485 | wxPyEndAllowThreads(__tstate); | |
7486 | if (PyErr_Occurred()) SWIG_fail; | |
7487 | } | |
7488 | Py_INCREF(Py_None); resultobj = Py_None; | |
7489 | { | |
7490 | if (temp2) | |
7491 | delete arg2; | |
7492 | } | |
7493 | { | |
7494 | if (temp3) | |
7495 | delete arg3; | |
7496 | } | |
7497 | return resultobj; | |
7498 | fail: | |
7499 | { | |
7500 | if (temp2) | |
7501 | delete arg2; | |
7502 | } | |
7503 | { | |
7504 | if (temp3) | |
7505 | delete arg3; | |
7506 | } | |
7507 | return NULL; | |
7508 | } | |
7509 | ||
7510 | ||
7511 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7512 | PyObject *resultobj; | |
7513 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7514 | wxString arg2 ; | |
7515 | wxString arg3 ; | |
7516 | PyObject *arg4 = (PyObject *) NULL ; | |
7517 | PyObject * obj0 = 0 ; | |
7518 | PyObject * obj1 = 0 ; | |
7519 | PyObject * obj2 = 0 ; | |
7520 | PyObject * obj3 = 0 ; | |
7521 | char *kwnames[] = { | |
7522 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7523 | }; | |
7524 | ||
7525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7528 | { | |
7529 | wxString* sptr = wxString_in_helper(obj1); | |
7530 | if (sptr == NULL) SWIG_fail; | |
7531 | arg2 = *sptr; | |
7532 | delete sptr; | |
7533 | } | |
7534 | { | |
7535 | wxString* sptr = wxString_in_helper(obj2); | |
7536 | if (sptr == NULL) SWIG_fail; | |
7537 | arg3 = *sptr; | |
7538 | delete sptr; | |
7539 | } | |
7540 | if (obj3) { | |
7541 | arg4 = obj3; | |
7542 | } | |
7543 | { | |
7544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7545 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
7546 | ||
7547 | wxPyEndAllowThreads(__tstate); | |
7548 | if (PyErr_Occurred()) SWIG_fail; | |
7549 | } | |
7550 | Py_INCREF(Py_None); resultobj = Py_None; | |
7551 | return resultobj; | |
7552 | fail: | |
7553 | return NULL; | |
7554 | } | |
7555 | ||
7556 | ||
7557 | static PyObject *_wrap_HtmlDCRenderer_NormalizeFontSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7558 | PyObject *resultobj; | |
7559 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7560 | int arg2 = (int) -1 ; | |
7561 | PyObject * obj0 = 0 ; | |
7562 | PyObject * obj1 = 0 ; | |
7563 | char *kwnames[] = { | |
7564 | (char *) "self",(char *) "size", NULL | |
7565 | }; | |
7566 | ||
7567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlDCRenderer_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
7568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7570 | if (obj1) { | |
7571 | arg2 = (int) SWIG_AsInt(obj1); | |
7572 | if (PyErr_Occurred()) SWIG_fail; | |
7573 | } | |
7574 | { | |
7575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7576 | (arg1)->NormalizeFontSizes(arg2); | |
7577 | ||
7578 | wxPyEndAllowThreads(__tstate); | |
7579 | if (PyErr_Occurred()) SWIG_fail; | |
7580 | } | |
7581 | Py_INCREF(Py_None); resultobj = Py_None; | |
7582 | return resultobj; | |
7583 | fail: | |
7584 | return NULL; | |
7585 | } | |
7586 | ||
7587 | ||
7588 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7589 | PyObject *resultobj; | |
7590 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7591 | int arg2 ; | |
7592 | int arg3 ; | |
7593 | int arg4 = (int) 0 ; | |
7594 | int arg5 = (int) False ; | |
7595 | int arg6 = (int) INT_MAX ; | |
7596 | int *arg7 = (int *) NULL ; | |
7597 | int arg8 = (int) 0 ; | |
7598 | int result; | |
7599 | PyObject * obj0 = 0 ; | |
7600 | PyObject * obj1 = 0 ; | |
7601 | PyObject * obj2 = 0 ; | |
7602 | PyObject * obj3 = 0 ; | |
7603 | PyObject * obj4 = 0 ; | |
7604 | PyObject * obj5 = 0 ; | |
7605 | PyObject * obj6 = 0 ; | |
7606 | PyObject * obj7 = 0 ; | |
7607 | char *kwnames[] = { | |
7608 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
7609 | }; | |
7610 | ||
7611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
7612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7614 | arg2 = (int) SWIG_AsInt(obj1); | |
7615 | if (PyErr_Occurred()) SWIG_fail; | |
7616 | arg3 = (int) SWIG_AsInt(obj2); | |
7617 | if (PyErr_Occurred()) SWIG_fail; | |
7618 | if (obj3) { | |
7619 | arg4 = (int) SWIG_AsInt(obj3); | |
7620 | if (PyErr_Occurred()) SWIG_fail; | |
7621 | } | |
7622 | if (obj4) { | |
7623 | arg5 = (int) SWIG_AsInt(obj4); | |
7624 | if (PyErr_Occurred()) SWIG_fail; | |
7625 | } | |
7626 | if (obj5) { | |
7627 | arg6 = (int) SWIG_AsInt(obj5); | |
7628 | if (PyErr_Occurred()) SWIG_fail; | |
7629 | } | |
7630 | if (obj6) { | |
7631 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int, | |
7632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7633 | } | |
7634 | if (obj7) { | |
7635 | arg8 = (int) SWIG_AsInt(obj7); | |
7636 | if (PyErr_Occurred()) SWIG_fail; | |
7637 | } | |
7638 | { | |
7639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7640 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
7641 | ||
7642 | wxPyEndAllowThreads(__tstate); | |
7643 | if (PyErr_Occurred()) SWIG_fail; | |
7644 | } | |
7645 | resultobj = SWIG_FromInt((int)result); | |
7646 | return resultobj; | |
7647 | fail: | |
7648 | return NULL; | |
7649 | } | |
7650 | ||
7651 | ||
7652 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7653 | PyObject *resultobj; | |
7654 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7655 | int result; | |
7656 | PyObject * obj0 = 0 ; | |
7657 | char *kwnames[] = { | |
7658 | (char *) "self", NULL | |
7659 | }; | |
7660 | ||
7661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
7662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7664 | { | |
7665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7666 | result = (int)(arg1)->GetTotalHeight(); | |
7667 | ||
7668 | wxPyEndAllowThreads(__tstate); | |
7669 | if (PyErr_Occurred()) SWIG_fail; | |
7670 | } | |
7671 | resultobj = SWIG_FromInt((int)result); | |
7672 | return resultobj; | |
7673 | fail: | |
7674 | return NULL; | |
7675 | } | |
7676 | ||
7677 | ||
7678 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
7679 | PyObject *obj; | |
7680 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7681 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
7682 | Py_INCREF(obj); | |
7683 | return Py_BuildValue((char *)""); | |
7684 | } | |
7685 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7686 | PyObject *resultobj; | |
7687 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
7688 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7689 | wxHtmlPrintout *result; | |
7690 | bool temp1 = False ; | |
7691 | PyObject * obj0 = 0 ; | |
7692 | char *kwnames[] = { | |
7693 | (char *) "title", NULL | |
7694 | }; | |
7695 | ||
7696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
7697 | if (obj0) { | |
7698 | { | |
7699 | arg1 = wxString_in_helper(obj0); | |
7700 | if (arg1 == NULL) SWIG_fail; | |
7701 | temp1 = True; | |
7702 | } | |
7703 | } | |
7704 | { | |
7705 | if (!wxPyCheckForApp()) SWIG_fail; | |
7706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7707 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
7708 | ||
7709 | wxPyEndAllowThreads(__tstate); | |
7710 | if (PyErr_Occurred()) SWIG_fail; | |
7711 | } | |
7712 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1); | |
7713 | { | |
7714 | if (temp1) | |
7715 | delete arg1; | |
7716 | } | |
7717 | return resultobj; | |
7718 | fail: | |
7719 | { | |
7720 | if (temp1) | |
7721 | delete arg1; | |
7722 | } | |
7723 | return NULL; | |
7724 | } | |
7725 | ||
7726 | ||
7727 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7728 | PyObject *resultobj; | |
7729 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7730 | wxString *arg2 = 0 ; | |
7731 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7732 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7733 | bool arg4 = (bool) True ; | |
7734 | bool temp2 = False ; | |
7735 | bool temp3 = False ; | |
7736 | PyObject * obj0 = 0 ; | |
7737 | PyObject * obj1 = 0 ; | |
7738 | PyObject * obj2 = 0 ; | |
7739 | PyObject * obj3 = 0 ; | |
7740 | char *kwnames[] = { | |
7741 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7742 | }; | |
7743 | ||
7744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7747 | { | |
7748 | arg2 = wxString_in_helper(obj1); | |
7749 | if (arg2 == NULL) SWIG_fail; | |
7750 | temp2 = True; | |
7751 | } | |
7752 | if (obj2) { | |
7753 | { | |
7754 | arg3 = wxString_in_helper(obj2); | |
7755 | if (arg3 == NULL) SWIG_fail; | |
7756 | temp3 = True; | |
7757 | } | |
7758 | } | |
7759 | if (obj3) { | |
7760 | arg4 = (bool) SWIG_AsBool(obj3); | |
7761 | if (PyErr_Occurred()) SWIG_fail; | |
7762 | } | |
7763 | { | |
7764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7765 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7766 | ||
7767 | wxPyEndAllowThreads(__tstate); | |
7768 | if (PyErr_Occurred()) SWIG_fail; | |
7769 | } | |
7770 | Py_INCREF(Py_None); resultobj = Py_None; | |
7771 | { | |
7772 | if (temp2) | |
7773 | delete arg2; | |
7774 | } | |
7775 | { | |
7776 | if (temp3) | |
7777 | delete arg3; | |
7778 | } | |
7779 | return resultobj; | |
7780 | fail: | |
7781 | { | |
7782 | if (temp2) | |
7783 | delete arg2; | |
7784 | } | |
7785 | { | |
7786 | if (temp3) | |
7787 | delete arg3; | |
7788 | } | |
7789 | return NULL; | |
7790 | } | |
7791 | ||
7792 | ||
7793 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7794 | PyObject *resultobj; | |
7795 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7796 | wxString *arg2 = 0 ; | |
7797 | bool temp2 = False ; | |
7798 | PyObject * obj0 = 0 ; | |
7799 | PyObject * obj1 = 0 ; | |
7800 | char *kwnames[] = { | |
7801 | (char *) "self",(char *) "htmlfile", NULL | |
7802 | }; | |
7803 | ||
7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
7805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7807 | { | |
7808 | arg2 = wxString_in_helper(obj1); | |
7809 | if (arg2 == NULL) SWIG_fail; | |
7810 | temp2 = True; | |
7811 | } | |
7812 | { | |
7813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7814 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
7815 | ||
7816 | wxPyEndAllowThreads(__tstate); | |
7817 | if (PyErr_Occurred()) SWIG_fail; | |
7818 | } | |
7819 | Py_INCREF(Py_None); resultobj = Py_None; | |
7820 | { | |
7821 | if (temp2) | |
7822 | delete arg2; | |
7823 | } | |
7824 | return resultobj; | |
7825 | fail: | |
7826 | { | |
7827 | if (temp2) | |
7828 | delete arg2; | |
7829 | } | |
7830 | return NULL; | |
7831 | } | |
7832 | ||
7833 | ||
7834 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7835 | PyObject *resultobj; | |
7836 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7837 | wxString *arg2 = 0 ; | |
7838 | int arg3 = (int) wxPAGE_ALL ; | |
7839 | bool temp2 = False ; | |
7840 | PyObject * obj0 = 0 ; | |
7841 | PyObject * obj1 = 0 ; | |
7842 | PyObject * obj2 = 0 ; | |
7843 | char *kwnames[] = { | |
7844 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7845 | }; | |
7846 | ||
7847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7848 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7849 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7850 | { | |
7851 | arg2 = wxString_in_helper(obj1); | |
7852 | if (arg2 == NULL) SWIG_fail; | |
7853 | temp2 = True; | |
7854 | } | |
7855 | if (obj2) { | |
7856 | arg3 = (int) SWIG_AsInt(obj2); | |
7857 | if (PyErr_Occurred()) SWIG_fail; | |
7858 | } | |
7859 | { | |
7860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7861 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7862 | ||
7863 | wxPyEndAllowThreads(__tstate); | |
7864 | if (PyErr_Occurred()) SWIG_fail; | |
7865 | } | |
7866 | Py_INCREF(Py_None); resultobj = Py_None; | |
7867 | { | |
7868 | if (temp2) | |
7869 | delete arg2; | |
7870 | } | |
7871 | return resultobj; | |
7872 | fail: | |
7873 | { | |
7874 | if (temp2) | |
7875 | delete arg2; | |
7876 | } | |
7877 | return NULL; | |
7878 | } | |
7879 | ||
7880 | ||
7881 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7882 | PyObject *resultobj; | |
7883 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7884 | wxString *arg2 = 0 ; | |
7885 | int arg3 = (int) wxPAGE_ALL ; | |
7886 | bool temp2 = False ; | |
7887 | PyObject * obj0 = 0 ; | |
7888 | PyObject * obj1 = 0 ; | |
7889 | PyObject * obj2 = 0 ; | |
7890 | char *kwnames[] = { | |
7891 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7892 | }; | |
7893 | ||
7894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7897 | { | |
7898 | arg2 = wxString_in_helper(obj1); | |
7899 | if (arg2 == NULL) SWIG_fail; | |
7900 | temp2 = True; | |
7901 | } | |
7902 | if (obj2) { | |
7903 | arg3 = (int) SWIG_AsInt(obj2); | |
7904 | if (PyErr_Occurred()) SWIG_fail; | |
7905 | } | |
7906 | { | |
7907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7908 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7909 | ||
7910 | wxPyEndAllowThreads(__tstate); | |
7911 | if (PyErr_Occurred()) SWIG_fail; | |
7912 | } | |
7913 | Py_INCREF(Py_None); resultobj = Py_None; | |
7914 | { | |
7915 | if (temp2) | |
7916 | delete arg2; | |
7917 | } | |
7918 | return resultobj; | |
7919 | fail: | |
7920 | { | |
7921 | if (temp2) | |
7922 | delete arg2; | |
7923 | } | |
7924 | return NULL; | |
7925 | } | |
7926 | ||
7927 | ||
7928 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7929 | PyObject *resultobj; | |
7930 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7931 | wxString arg2 ; | |
7932 | wxString arg3 ; | |
7933 | PyObject *arg4 = (PyObject *) NULL ; | |
7934 | PyObject * obj0 = 0 ; | |
7935 | PyObject * obj1 = 0 ; | |
7936 | PyObject * obj2 = 0 ; | |
7937 | PyObject * obj3 = 0 ; | |
7938 | char *kwnames[] = { | |
7939 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7940 | }; | |
7941 | ||
7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7945 | { | |
7946 | wxString* sptr = wxString_in_helper(obj1); | |
7947 | if (sptr == NULL) SWIG_fail; | |
7948 | arg2 = *sptr; | |
7949 | delete sptr; | |
7950 | } | |
7951 | { | |
7952 | wxString* sptr = wxString_in_helper(obj2); | |
7953 | if (sptr == NULL) SWIG_fail; | |
7954 | arg3 = *sptr; | |
7955 | delete sptr; | |
7956 | } | |
7957 | if (obj3) { | |
7958 | arg4 = obj3; | |
7959 | } | |
7960 | { | |
7961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7962 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
7963 | ||
7964 | wxPyEndAllowThreads(__tstate); | |
7965 | if (PyErr_Occurred()) SWIG_fail; | |
7966 | } | |
7967 | Py_INCREF(Py_None); resultobj = Py_None; | |
7968 | return resultobj; | |
7969 | fail: | |
7970 | return NULL; | |
7971 | } | |
7972 | ||
7973 | ||
7974 | static PyObject *_wrap_HtmlPrintout_NormalizeFontSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7975 | PyObject *resultobj; | |
7976 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7977 | int arg2 = (int) -1 ; | |
7978 | PyObject * obj0 = 0 ; | |
7979 | PyObject * obj1 = 0 ; | |
7980 | char *kwnames[] = { | |
7981 | (char *) "self",(char *) "size", NULL | |
7982 | }; | |
7983 | ||
7984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlPrintout_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
7985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7987 | if (obj1) { | |
7988 | arg2 = (int) SWIG_AsInt(obj1); | |
7989 | if (PyErr_Occurred()) SWIG_fail; | |
7990 | } | |
7991 | { | |
7992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993 | (arg1)->NormalizeFontSizes(arg2); | |
7994 | ||
7995 | wxPyEndAllowThreads(__tstate); | |
7996 | if (PyErr_Occurred()) SWIG_fail; | |
7997 | } | |
7998 | Py_INCREF(Py_None); resultobj = Py_None; | |
7999 | return resultobj; | |
8000 | fail: | |
8001 | return NULL; | |
8002 | } | |
8003 | ||
8004 | ||
8005 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8006 | PyObject *resultobj; | |
8007 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
8008 | float arg2 = (float) 25.2 ; | |
8009 | float arg3 = (float) 25.2 ; | |
8010 | float arg4 = (float) 25.2 ; | |
8011 | float arg5 = (float) 25.2 ; | |
8012 | float arg6 = (float) 5 ; | |
8013 | PyObject * obj0 = 0 ; | |
8014 | PyObject * obj1 = 0 ; | |
8015 | PyObject * obj2 = 0 ; | |
8016 | PyObject * obj3 = 0 ; | |
8017 | PyObject * obj4 = 0 ; | |
8018 | PyObject * obj5 = 0 ; | |
8019 | char *kwnames[] = { | |
8020 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
8021 | }; | |
8022 | ||
8023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
8024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
8025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8026 | if (obj1) { | |
8027 | arg2 = (float) SWIG_AsFloat(obj1); | |
8028 | if (PyErr_Occurred()) SWIG_fail; | |
8029 | } | |
8030 | if (obj2) { | |
8031 | arg3 = (float) SWIG_AsFloat(obj2); | |
8032 | if (PyErr_Occurred()) SWIG_fail; | |
8033 | } | |
8034 | if (obj3) { | |
8035 | arg4 = (float) SWIG_AsFloat(obj3); | |
8036 | if (PyErr_Occurred()) SWIG_fail; | |
8037 | } | |
8038 | if (obj4) { | |
8039 | arg5 = (float) SWIG_AsFloat(obj4); | |
8040 | if (PyErr_Occurred()) SWIG_fail; | |
8041 | } | |
8042 | if (obj5) { | |
8043 | arg6 = (float) SWIG_AsFloat(obj5); | |
8044 | if (PyErr_Occurred()) SWIG_fail; | |
8045 | } | |
8046 | { | |
8047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8048 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
8049 | ||
8050 | wxPyEndAllowThreads(__tstate); | |
8051 | if (PyErr_Occurred()) SWIG_fail; | |
8052 | } | |
8053 | Py_INCREF(Py_None); resultobj = Py_None; | |
8054 | return resultobj; | |
8055 | fail: | |
8056 | return NULL; | |
8057 | } | |
8058 | ||
8059 | ||
8060 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8061 | PyObject *resultobj; | |
8062 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
8063 | PyObject * obj0 = 0 ; | |
8064 | char *kwnames[] = { | |
8065 | (char *) "filter", NULL | |
8066 | }; | |
8067 | ||
8068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
8069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter, | |
8070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8071 | { | |
8072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8073 | wxHtmlPrintout::AddFilter(arg1); | |
8074 | ||
8075 | wxPyEndAllowThreads(__tstate); | |
8076 | if (PyErr_Occurred()) SWIG_fail; | |
8077 | } | |
8078 | Py_INCREF(Py_None); resultobj = Py_None; | |
8079 | return resultobj; | |
8080 | fail: | |
8081 | return NULL; | |
8082 | } | |
8083 | ||
8084 | ||
8085 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8086 | PyObject *resultobj; | |
8087 | char *kwnames[] = { | |
8088 | NULL | |
8089 | }; | |
8090 | ||
8091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
8092 | { | |
8093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8094 | wxHtmlPrintout::CleanUpStatics(); | |
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 | ||
8106 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
8107 | PyObject *obj; | |
8108 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8109 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
8110 | Py_INCREF(obj); | |
8111 | return Py_BuildValue((char *)""); | |
8112 | } | |
8113 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8114 | PyObject *resultobj; | |
8115 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
8116 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
8117 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8118 | wxHtmlEasyPrinting *result; | |
8119 | bool temp1 = False ; | |
8120 | PyObject * obj0 = 0 ; | |
8121 | PyObject * obj1 = 0 ; | |
8122 | char *kwnames[] = { | |
8123 | (char *) "name",(char *) "parentWindow", NULL | |
8124 | }; | |
8125 | ||
8126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
8127 | if (obj0) { | |
8128 | { | |
8129 | arg1 = wxString_in_helper(obj0); | |
8130 | if (arg1 == NULL) SWIG_fail; | |
8131 | temp1 = True; | |
8132 | } | |
8133 | } | |
8134 | if (obj1) { | |
8135 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8137 | } | |
8138 | { | |
8139 | if (!wxPyCheckForApp()) SWIG_fail; | |
8140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8141 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
8142 | ||
8143 | wxPyEndAllowThreads(__tstate); | |
8144 | if (PyErr_Occurred()) SWIG_fail; | |
8145 | } | |
8146 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
8147 | { | |
8148 | if (temp1) | |
8149 | delete arg1; | |
8150 | } | |
8151 | return resultobj; | |
8152 | fail: | |
8153 | { | |
8154 | if (temp1) | |
8155 | delete arg1; | |
8156 | } | |
8157 | return NULL; | |
8158 | } | |
8159 | ||
8160 | ||
8161 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8162 | PyObject *resultobj; | |
8163 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8164 | PyObject * obj0 = 0 ; | |
8165 | char *kwnames[] = { | |
8166 | (char *) "self", NULL | |
8167 | }; | |
8168 | ||
8169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
8170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8172 | { | |
8173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8174 | delete arg1; | |
8175 | ||
8176 | wxPyEndAllowThreads(__tstate); | |
8177 | if (PyErr_Occurred()) SWIG_fail; | |
8178 | } | |
8179 | Py_INCREF(Py_None); resultobj = Py_None; | |
8180 | return resultobj; | |
8181 | fail: | |
8182 | return NULL; | |
8183 | } | |
8184 | ||
8185 | ||
8186 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8187 | PyObject *resultobj; | |
8188 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8189 | wxString *arg2 = 0 ; | |
8190 | bool temp2 = False ; | |
8191 | PyObject * obj0 = 0 ; | |
8192 | PyObject * obj1 = 0 ; | |
8193 | char *kwnames[] = { | |
8194 | (char *) "self",(char *) "htmlfile", NULL | |
8195 | }; | |
8196 | ||
8197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
8198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8200 | { | |
8201 | arg2 = wxString_in_helper(obj1); | |
8202 | if (arg2 == NULL) SWIG_fail; | |
8203 | temp2 = True; | |
8204 | } | |
8205 | { | |
8206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8207 | (arg1)->PreviewFile((wxString const &)*arg2); | |
8208 | ||
8209 | wxPyEndAllowThreads(__tstate); | |
8210 | if (PyErr_Occurred()) SWIG_fail; | |
8211 | } | |
8212 | Py_INCREF(Py_None); resultobj = Py_None; | |
8213 | { | |
8214 | if (temp2) | |
8215 | delete arg2; | |
8216 | } | |
8217 | return resultobj; | |
8218 | fail: | |
8219 | { | |
8220 | if (temp2) | |
8221 | delete arg2; | |
8222 | } | |
8223 | return NULL; | |
8224 | } | |
8225 | ||
8226 | ||
8227 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8228 | PyObject *resultobj; | |
8229 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8230 | wxString *arg2 = 0 ; | |
8231 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8232 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8233 | bool temp2 = False ; | |
8234 | bool temp3 = False ; | |
8235 | PyObject * obj0 = 0 ; | |
8236 | PyObject * obj1 = 0 ; | |
8237 | PyObject * obj2 = 0 ; | |
8238 | char *kwnames[] = { | |
8239 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8240 | }; | |
8241 | ||
8242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8245 | { | |
8246 | arg2 = wxString_in_helper(obj1); | |
8247 | if (arg2 == NULL) SWIG_fail; | |
8248 | temp2 = True; | |
8249 | } | |
8250 | if (obj2) { | |
8251 | { | |
8252 | arg3 = wxString_in_helper(obj2); | |
8253 | if (arg3 == NULL) SWIG_fail; | |
8254 | temp3 = True; | |
8255 | } | |
8256 | } | |
8257 | { | |
8258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8259 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
8260 | ||
8261 | wxPyEndAllowThreads(__tstate); | |
8262 | if (PyErr_Occurred()) SWIG_fail; | |
8263 | } | |
8264 | Py_INCREF(Py_None); resultobj = Py_None; | |
8265 | { | |
8266 | if (temp2) | |
8267 | delete arg2; | |
8268 | } | |
8269 | { | |
8270 | if (temp3) | |
8271 | delete arg3; | |
8272 | } | |
8273 | return resultobj; | |
8274 | fail: | |
8275 | { | |
8276 | if (temp2) | |
8277 | delete arg2; | |
8278 | } | |
8279 | { | |
8280 | if (temp3) | |
8281 | delete arg3; | |
8282 | } | |
8283 | return NULL; | |
8284 | } | |
8285 | ||
8286 | ||
8287 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8288 | PyObject *resultobj; | |
8289 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8290 | wxString *arg2 = 0 ; | |
8291 | bool temp2 = False ; | |
8292 | PyObject * obj0 = 0 ; | |
8293 | PyObject * obj1 = 0 ; | |
8294 | char *kwnames[] = { | |
8295 | (char *) "self",(char *) "htmlfile", NULL | |
8296 | }; | |
8297 | ||
8298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
8299 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8300 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8301 | { | |
8302 | arg2 = wxString_in_helper(obj1); | |
8303 | if (arg2 == NULL) SWIG_fail; | |
8304 | temp2 = True; | |
8305 | } | |
8306 | { | |
8307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8308 | (arg1)->PrintFile((wxString const &)*arg2); | |
8309 | ||
8310 | wxPyEndAllowThreads(__tstate); | |
8311 | if (PyErr_Occurred()) SWIG_fail; | |
8312 | } | |
8313 | Py_INCREF(Py_None); resultobj = Py_None; | |
8314 | { | |
8315 | if (temp2) | |
8316 | delete arg2; | |
8317 | } | |
8318 | return resultobj; | |
8319 | fail: | |
8320 | { | |
8321 | if (temp2) | |
8322 | delete arg2; | |
8323 | } | |
8324 | return NULL; | |
8325 | } | |
8326 | ||
8327 | ||
8328 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8329 | PyObject *resultobj; | |
8330 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8331 | wxString *arg2 = 0 ; | |
8332 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8333 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8334 | bool temp2 = False ; | |
8335 | bool temp3 = False ; | |
8336 | PyObject * obj0 = 0 ; | |
8337 | PyObject * obj1 = 0 ; | |
8338 | PyObject * obj2 = 0 ; | |
8339 | char *kwnames[] = { | |
8340 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8341 | }; | |
8342 | ||
8343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8346 | { | |
8347 | arg2 = wxString_in_helper(obj1); | |
8348 | if (arg2 == NULL) SWIG_fail; | |
8349 | temp2 = True; | |
8350 | } | |
8351 | if (obj2) { | |
8352 | { | |
8353 | arg3 = wxString_in_helper(obj2); | |
8354 | if (arg3 == NULL) SWIG_fail; | |
8355 | temp3 = True; | |
8356 | } | |
8357 | } | |
8358 | { | |
8359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8360 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
8361 | ||
8362 | wxPyEndAllowThreads(__tstate); | |
8363 | if (PyErr_Occurred()) SWIG_fail; | |
8364 | } | |
8365 | Py_INCREF(Py_None); resultobj = Py_None; | |
8366 | { | |
8367 | if (temp2) | |
8368 | delete arg2; | |
8369 | } | |
8370 | { | |
8371 | if (temp3) | |
8372 | delete arg3; | |
8373 | } | |
8374 | return resultobj; | |
8375 | fail: | |
8376 | { | |
8377 | if (temp2) | |
8378 | delete arg2; | |
8379 | } | |
8380 | { | |
8381 | if (temp3) | |
8382 | delete arg3; | |
8383 | } | |
8384 | return NULL; | |
8385 | } | |
8386 | ||
8387 | ||
8388 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8389 | PyObject *resultobj; | |
8390 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8391 | PyObject * obj0 = 0 ; | |
8392 | char *kwnames[] = { | |
8393 | (char *) "self", NULL | |
8394 | }; | |
8395 | ||
8396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
8397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8399 | { | |
8400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8401 | (arg1)->PrinterSetup(); | |
8402 | ||
8403 | wxPyEndAllowThreads(__tstate); | |
8404 | if (PyErr_Occurred()) SWIG_fail; | |
8405 | } | |
8406 | Py_INCREF(Py_None); resultobj = Py_None; | |
8407 | return resultobj; | |
8408 | fail: | |
8409 | return NULL; | |
8410 | } | |
8411 | ||
8412 | ||
8413 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8414 | PyObject *resultobj; | |
8415 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8416 | PyObject * obj0 = 0 ; | |
8417 | char *kwnames[] = { | |
8418 | (char *) "self", NULL | |
8419 | }; | |
8420 | ||
8421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
8422 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8423 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8424 | { | |
8425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8426 | (arg1)->PageSetup(); | |
8427 | ||
8428 | wxPyEndAllowThreads(__tstate); | |
8429 | if (PyErr_Occurred()) SWIG_fail; | |
8430 | } | |
8431 | Py_INCREF(Py_None); resultobj = Py_None; | |
8432 | return resultobj; | |
8433 | fail: | |
8434 | return NULL; | |
8435 | } | |
8436 | ||
8437 | ||
8438 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8439 | PyObject *resultobj; | |
8440 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8441 | wxString *arg2 = 0 ; | |
8442 | int arg3 = (int) wxPAGE_ALL ; | |
8443 | bool temp2 = False ; | |
8444 | PyObject * obj0 = 0 ; | |
8445 | PyObject * obj1 = 0 ; | |
8446 | PyObject * obj2 = 0 ; | |
8447 | char *kwnames[] = { | |
8448 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
8449 | }; | |
8450 | ||
8451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8454 | { | |
8455 | arg2 = wxString_in_helper(obj1); | |
8456 | if (arg2 == NULL) SWIG_fail; | |
8457 | temp2 = True; | |
8458 | } | |
8459 | if (obj2) { | |
8460 | arg3 = (int) SWIG_AsInt(obj2); | |
8461 | if (PyErr_Occurred()) SWIG_fail; | |
8462 | } | |
8463 | { | |
8464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8465 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
8466 | ||
8467 | wxPyEndAllowThreads(__tstate); | |
8468 | if (PyErr_Occurred()) SWIG_fail; | |
8469 | } | |
8470 | Py_INCREF(Py_None); resultobj = Py_None; | |
8471 | { | |
8472 | if (temp2) | |
8473 | delete arg2; | |
8474 | } | |
8475 | return resultobj; | |
8476 | fail: | |
8477 | { | |
8478 | if (temp2) | |
8479 | delete arg2; | |
8480 | } | |
8481 | return NULL; | |
8482 | } | |
8483 | ||
8484 | ||
8485 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8486 | PyObject *resultobj; | |
8487 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8488 | wxString *arg2 = 0 ; | |
8489 | int arg3 = (int) wxPAGE_ALL ; | |
8490 | bool temp2 = False ; | |
8491 | PyObject * obj0 = 0 ; | |
8492 | PyObject * obj1 = 0 ; | |
8493 | PyObject * obj2 = 0 ; | |
8494 | char *kwnames[] = { | |
8495 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8496 | }; | |
8497 | ||
8498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8501 | { | |
8502 | arg2 = wxString_in_helper(obj1); | |
8503 | if (arg2 == NULL) SWIG_fail; | |
8504 | temp2 = True; | |
8505 | } | |
8506 | if (obj2) { | |
8507 | arg3 = (int) SWIG_AsInt(obj2); | |
8508 | if (PyErr_Occurred()) SWIG_fail; | |
8509 | } | |
8510 | { | |
8511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8512 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
8513 | ||
8514 | wxPyEndAllowThreads(__tstate); | |
8515 | if (PyErr_Occurred()) SWIG_fail; | |
8516 | } | |
8517 | Py_INCREF(Py_None); resultobj = Py_None; | |
8518 | { | |
8519 | if (temp2) | |
8520 | delete arg2; | |
8521 | } | |
8522 | return resultobj; | |
8523 | fail: | |
8524 | { | |
8525 | if (temp2) | |
8526 | delete arg2; | |
8527 | } | |
8528 | return NULL; | |
8529 | } | |
8530 | ||
8531 | ||
8532 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8533 | PyObject *resultobj; | |
8534 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8535 | wxString arg2 ; | |
8536 | wxString arg3 ; | |
8537 | PyObject *arg4 = (PyObject *) NULL ; | |
8538 | PyObject * obj0 = 0 ; | |
8539 | PyObject * obj1 = 0 ; | |
8540 | PyObject * obj2 = 0 ; | |
8541 | PyObject * obj3 = 0 ; | |
8542 | char *kwnames[] = { | |
8543 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8544 | }; | |
8545 | ||
8546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8549 | { | |
8550 | wxString* sptr = wxString_in_helper(obj1); | |
8551 | if (sptr == NULL) SWIG_fail; | |
8552 | arg2 = *sptr; | |
8553 | delete sptr; | |
8554 | } | |
8555 | { | |
8556 | wxString* sptr = wxString_in_helper(obj2); | |
8557 | if (sptr == NULL) SWIG_fail; | |
8558 | arg3 = *sptr; | |
8559 | delete sptr; | |
8560 | } | |
8561 | if (obj3) { | |
8562 | arg4 = obj3; | |
8563 | } | |
8564 | { | |
8565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8566 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
8567 | ||
8568 | wxPyEndAllowThreads(__tstate); | |
8569 | if (PyErr_Occurred()) SWIG_fail; | |
8570 | } | |
8571 | Py_INCREF(Py_None); resultobj = Py_None; | |
8572 | return resultobj; | |
8573 | fail: | |
8574 | return NULL; | |
8575 | } | |
8576 | ||
8577 | ||
8578 | static PyObject *_wrap_HtmlEasyPrinting_NormalizeFontSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8579 | PyObject *resultobj; | |
8580 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8581 | int arg2 = (int) -1 ; | |
8582 | PyObject * obj0 = 0 ; | |
8583 | PyObject * obj1 = 0 ; | |
8584 | char *kwnames[] = { | |
8585 | (char *) "self",(char *) "size", NULL | |
8586 | }; | |
8587 | ||
8588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlEasyPrinting_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail; | |
8589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8591 | if (obj1) { | |
8592 | arg2 = (int) SWIG_AsInt(obj1); | |
8593 | if (PyErr_Occurred()) SWIG_fail; | |
8594 | } | |
8595 | { | |
8596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8597 | (arg1)->NormalizeFontSizes(arg2); | |
8598 | ||
8599 | wxPyEndAllowThreads(__tstate); | |
8600 | if (PyErr_Occurred()) SWIG_fail; | |
8601 | } | |
8602 | Py_INCREF(Py_None); resultobj = Py_None; | |
8603 | return resultobj; | |
8604 | fail: | |
8605 | return NULL; | |
8606 | } | |
8607 | ||
8608 | ||
8609 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8610 | PyObject *resultobj; | |
8611 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8612 | wxPrintData *result; | |
8613 | PyObject * obj0 = 0 ; | |
8614 | char *kwnames[] = { | |
8615 | (char *) "self", NULL | |
8616 | }; | |
8617 | ||
8618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
8619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8621 | { | |
8622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8623 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
8624 | ||
8625 | wxPyEndAllowThreads(__tstate); | |
8626 | if (PyErr_Occurred()) SWIG_fail; | |
8627 | } | |
8628 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
8629 | return resultobj; | |
8630 | fail: | |
8631 | return NULL; | |
8632 | } | |
8633 | ||
8634 | ||
8635 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8636 | PyObject *resultobj; | |
8637 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8638 | wxPageSetupDialogData *result; | |
8639 | PyObject * obj0 = 0 ; | |
8640 | char *kwnames[] = { | |
8641 | (char *) "self", NULL | |
8642 | }; | |
8643 | ||
8644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
8645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8647 | { | |
8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8649 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
8650 | ||
8651 | wxPyEndAllowThreads(__tstate); | |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
8654 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
8655 | return resultobj; | |
8656 | fail: | |
8657 | return NULL; | |
8658 | } | |
8659 | ||
8660 | ||
8661 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
8662 | PyObject *obj; | |
8663 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8664 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
8665 | Py_INCREF(obj); | |
8666 | return Py_BuildValue((char *)""); | |
8667 | } | |
8668 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8669 | PyObject *resultobj; | |
8670 | wxString *arg1 = 0 ; | |
8671 | wxString *arg2 = 0 ; | |
8672 | wxString *arg3 = 0 ; | |
8673 | wxString *arg4 = 0 ; | |
8674 | wxHtmlBookRecord *result; | |
8675 | bool temp1 = False ; | |
8676 | bool temp2 = False ; | |
8677 | bool temp3 = False ; | |
8678 | bool temp4 = False ; | |
8679 | PyObject * obj0 = 0 ; | |
8680 | PyObject * obj1 = 0 ; | |
8681 | PyObject * obj2 = 0 ; | |
8682 | PyObject * obj3 = 0 ; | |
8683 | char *kwnames[] = { | |
8684 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
8685 | }; | |
8686 | ||
8687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8688 | { | |
8689 | arg1 = wxString_in_helper(obj0); | |
8690 | if (arg1 == NULL) SWIG_fail; | |
8691 | temp1 = True; | |
8692 | } | |
8693 | { | |
8694 | arg2 = wxString_in_helper(obj1); | |
8695 | if (arg2 == NULL) SWIG_fail; | |
8696 | temp2 = True; | |
8697 | } | |
8698 | { | |
8699 | arg3 = wxString_in_helper(obj2); | |
8700 | if (arg3 == NULL) SWIG_fail; | |
8701 | temp3 = True; | |
8702 | } | |
8703 | { | |
8704 | arg4 = wxString_in_helper(obj3); | |
8705 | if (arg4 == NULL) SWIG_fail; | |
8706 | temp4 = True; | |
8707 | } | |
8708 | { | |
8709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8710 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
8711 | ||
8712 | wxPyEndAllowThreads(__tstate); | |
8713 | if (PyErr_Occurred()) SWIG_fail; | |
8714 | } | |
8715 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1); | |
8716 | { | |
8717 | if (temp1) | |
8718 | delete arg1; | |
8719 | } | |
8720 | { | |
8721 | if (temp2) | |
8722 | delete arg2; | |
8723 | } | |
8724 | { | |
8725 | if (temp3) | |
8726 | delete arg3; | |
8727 | } | |
8728 | { | |
8729 | if (temp4) | |
8730 | delete arg4; | |
8731 | } | |
8732 | return resultobj; | |
8733 | fail: | |
8734 | { | |
8735 | if (temp1) | |
8736 | delete arg1; | |
8737 | } | |
8738 | { | |
8739 | if (temp2) | |
8740 | delete arg2; | |
8741 | } | |
8742 | { | |
8743 | if (temp3) | |
8744 | delete arg3; | |
8745 | } | |
8746 | { | |
8747 | if (temp4) | |
8748 | delete arg4; | |
8749 | } | |
8750 | return NULL; | |
8751 | } | |
8752 | ||
8753 | ||
8754 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8755 | PyObject *resultobj; | |
8756 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8757 | wxString result; | |
8758 | PyObject * obj0 = 0 ; | |
8759 | char *kwnames[] = { | |
8760 | (char *) "self", NULL | |
8761 | }; | |
8762 | ||
8763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
8764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8766 | { | |
8767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8768 | result = (arg1)->GetBookFile(); | |
8769 | ||
8770 | wxPyEndAllowThreads(__tstate); | |
8771 | if (PyErr_Occurred()) SWIG_fail; | |
8772 | } | |
8773 | { | |
8774 | #if wxUSE_UNICODE | |
8775 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8776 | #else | |
8777 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8778 | #endif | |
8779 | } | |
8780 | return resultobj; | |
8781 | fail: | |
8782 | return NULL; | |
8783 | } | |
8784 | ||
8785 | ||
8786 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8787 | PyObject *resultobj; | |
8788 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8789 | wxString result; | |
8790 | PyObject * obj0 = 0 ; | |
8791 | char *kwnames[] = { | |
8792 | (char *) "self", NULL | |
8793 | }; | |
8794 | ||
8795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
8796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8798 | { | |
8799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8800 | result = (arg1)->GetTitle(); | |
8801 | ||
8802 | wxPyEndAllowThreads(__tstate); | |
8803 | if (PyErr_Occurred()) SWIG_fail; | |
8804 | } | |
8805 | { | |
8806 | #if wxUSE_UNICODE | |
8807 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8808 | #else | |
8809 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8810 | #endif | |
8811 | } | |
8812 | return resultobj; | |
8813 | fail: | |
8814 | return NULL; | |
8815 | } | |
8816 | ||
8817 | ||
8818 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8819 | PyObject *resultobj; | |
8820 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8821 | wxString result; | |
8822 | PyObject * obj0 = 0 ; | |
8823 | char *kwnames[] = { | |
8824 | (char *) "self", NULL | |
8825 | }; | |
8826 | ||
8827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
8828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8830 | { | |
8831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8832 | result = (arg1)->GetStart(); | |
8833 | ||
8834 | wxPyEndAllowThreads(__tstate); | |
8835 | if (PyErr_Occurred()) SWIG_fail; | |
8836 | } | |
8837 | { | |
8838 | #if wxUSE_UNICODE | |
8839 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8840 | #else | |
8841 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8842 | #endif | |
8843 | } | |
8844 | return resultobj; | |
8845 | fail: | |
8846 | return NULL; | |
8847 | } | |
8848 | ||
8849 | ||
8850 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8851 | PyObject *resultobj; | |
8852 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8853 | wxString result; | |
8854 | PyObject * obj0 = 0 ; | |
8855 | char *kwnames[] = { | |
8856 | (char *) "self", NULL | |
8857 | }; | |
8858 | ||
8859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
8860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8862 | { | |
8863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8864 | result = (arg1)->GetBasePath(); | |
8865 | ||
8866 | wxPyEndAllowThreads(__tstate); | |
8867 | if (PyErr_Occurred()) SWIG_fail; | |
8868 | } | |
8869 | { | |
8870 | #if wxUSE_UNICODE | |
8871 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8872 | #else | |
8873 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8874 | #endif | |
8875 | } | |
8876 | return resultobj; | |
8877 | fail: | |
8878 | return NULL; | |
8879 | } | |
8880 | ||
8881 | ||
8882 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8883 | PyObject *resultobj; | |
8884 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8885 | int arg2 ; | |
8886 | int arg3 ; | |
8887 | PyObject * obj0 = 0 ; | |
8888 | PyObject * obj1 = 0 ; | |
8889 | PyObject * obj2 = 0 ; | |
8890 | char *kwnames[] = { | |
8891 | (char *) "self",(char *) "start",(char *) "end", NULL | |
8892 | }; | |
8893 | ||
8894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8897 | arg2 = (int) SWIG_AsInt(obj1); | |
8898 | if (PyErr_Occurred()) SWIG_fail; | |
8899 | arg3 = (int) SWIG_AsInt(obj2); | |
8900 | if (PyErr_Occurred()) SWIG_fail; | |
8901 | { | |
8902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8903 | (arg1)->SetContentsRange(arg2,arg3); | |
8904 | ||
8905 | wxPyEndAllowThreads(__tstate); | |
8906 | if (PyErr_Occurred()) SWIG_fail; | |
8907 | } | |
8908 | Py_INCREF(Py_None); resultobj = Py_None; | |
8909 | return resultobj; | |
8910 | fail: | |
8911 | return NULL; | |
8912 | } | |
8913 | ||
8914 | ||
8915 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8916 | PyObject *resultobj; | |
8917 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8918 | int result; | |
8919 | PyObject * obj0 = 0 ; | |
8920 | char *kwnames[] = { | |
8921 | (char *) "self", NULL | |
8922 | }; | |
8923 | ||
8924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
8925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8927 | { | |
8928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8929 | result = (int)(arg1)->GetContentsStart(); | |
8930 | ||
8931 | wxPyEndAllowThreads(__tstate); | |
8932 | if (PyErr_Occurred()) SWIG_fail; | |
8933 | } | |
8934 | resultobj = SWIG_FromInt((int)result); | |
8935 | return resultobj; | |
8936 | fail: | |
8937 | return NULL; | |
8938 | } | |
8939 | ||
8940 | ||
8941 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8942 | PyObject *resultobj; | |
8943 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8944 | int result; | |
8945 | PyObject * obj0 = 0 ; | |
8946 | char *kwnames[] = { | |
8947 | (char *) "self", NULL | |
8948 | }; | |
8949 | ||
8950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
8951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8953 | { | |
8954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8955 | result = (int)(arg1)->GetContentsEnd(); | |
8956 | ||
8957 | wxPyEndAllowThreads(__tstate); | |
8958 | if (PyErr_Occurred()) SWIG_fail; | |
8959 | } | |
8960 | resultobj = SWIG_FromInt((int)result); | |
8961 | return resultobj; | |
8962 | fail: | |
8963 | return NULL; | |
8964 | } | |
8965 | ||
8966 | ||
8967 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8968 | PyObject *resultobj; | |
8969 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8970 | wxString *arg2 = 0 ; | |
8971 | bool temp2 = False ; | |
8972 | PyObject * obj0 = 0 ; | |
8973 | PyObject * obj1 = 0 ; | |
8974 | char *kwnames[] = { | |
8975 | (char *) "self",(char *) "title", NULL | |
8976 | }; | |
8977 | ||
8978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
8979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8981 | { | |
8982 | arg2 = wxString_in_helper(obj1); | |
8983 | if (arg2 == NULL) SWIG_fail; | |
8984 | temp2 = True; | |
8985 | } | |
8986 | { | |
8987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8988 | (arg1)->SetTitle((wxString const &)*arg2); | |
8989 | ||
8990 | wxPyEndAllowThreads(__tstate); | |
8991 | if (PyErr_Occurred()) SWIG_fail; | |
8992 | } | |
8993 | Py_INCREF(Py_None); resultobj = Py_None; | |
8994 | { | |
8995 | if (temp2) | |
8996 | delete arg2; | |
8997 | } | |
8998 | return resultobj; | |
8999 | fail: | |
9000 | { | |
9001 | if (temp2) | |
9002 | delete arg2; | |
9003 | } | |
9004 | return NULL; | |
9005 | } | |
9006 | ||
9007 | ||
9008 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9009 | PyObject *resultobj; | |
9010 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9011 | wxString *arg2 = 0 ; | |
9012 | bool temp2 = False ; | |
9013 | PyObject * obj0 = 0 ; | |
9014 | PyObject * obj1 = 0 ; | |
9015 | char *kwnames[] = { | |
9016 | (char *) "self",(char *) "path", NULL | |
9017 | }; | |
9018 | ||
9019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
9020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
9021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9022 | { | |
9023 | arg2 = wxString_in_helper(obj1); | |
9024 | if (arg2 == NULL) SWIG_fail; | |
9025 | temp2 = True; | |
9026 | } | |
9027 | { | |
9028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9029 | (arg1)->SetBasePath((wxString const &)*arg2); | |
9030 | ||
9031 | wxPyEndAllowThreads(__tstate); | |
9032 | if (PyErr_Occurred()) SWIG_fail; | |
9033 | } | |
9034 | Py_INCREF(Py_None); resultobj = Py_None; | |
9035 | { | |
9036 | if (temp2) | |
9037 | delete arg2; | |
9038 | } | |
9039 | return resultobj; | |
9040 | fail: | |
9041 | { | |
9042 | if (temp2) | |
9043 | delete arg2; | |
9044 | } | |
9045 | return NULL; | |
9046 | } | |
9047 | ||
9048 | ||
9049 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9050 | PyObject *resultobj; | |
9051 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9052 | wxString *arg2 = 0 ; | |
9053 | bool temp2 = False ; | |
9054 | PyObject * obj0 = 0 ; | |
9055 | PyObject * obj1 = 0 ; | |
9056 | char *kwnames[] = { | |
9057 | (char *) "self",(char *) "start", NULL | |
9058 | }; | |
9059 | ||
9060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
9061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
9062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9063 | { | |
9064 | arg2 = wxString_in_helper(obj1); | |
9065 | if (arg2 == NULL) SWIG_fail; | |
9066 | temp2 = True; | |
9067 | } | |
9068 | { | |
9069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9070 | (arg1)->SetStart((wxString const &)*arg2); | |
9071 | ||
9072 | wxPyEndAllowThreads(__tstate); | |
9073 | if (PyErr_Occurred()) SWIG_fail; | |
9074 | } | |
9075 | Py_INCREF(Py_None); resultobj = Py_None; | |
9076 | { | |
9077 | if (temp2) | |
9078 | delete arg2; | |
9079 | } | |
9080 | return resultobj; | |
9081 | fail: | |
9082 | { | |
9083 | if (temp2) | |
9084 | delete arg2; | |
9085 | } | |
9086 | return NULL; | |
9087 | } | |
9088 | ||
9089 | ||
9090 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9091 | PyObject *resultobj; | |
9092 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
9093 | wxString *arg2 = 0 ; | |
9094 | wxString result; | |
9095 | bool temp2 = False ; | |
9096 | PyObject * obj0 = 0 ; | |
9097 | PyObject * obj1 = 0 ; | |
9098 | char *kwnames[] = { | |
9099 | (char *) "self",(char *) "page", NULL | |
9100 | }; | |
9101 | ||
9102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
9103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
9104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9105 | { | |
9106 | arg2 = wxString_in_helper(obj1); | |
9107 | if (arg2 == NULL) SWIG_fail; | |
9108 | temp2 = True; | |
9109 | } | |
9110 | { | |
9111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9112 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
9113 | ||
9114 | wxPyEndAllowThreads(__tstate); | |
9115 | if (PyErr_Occurred()) SWIG_fail; | |
9116 | } | |
9117 | { | |
9118 | #if wxUSE_UNICODE | |
9119 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9120 | #else | |
9121 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9122 | #endif | |
9123 | } | |
9124 | { | |
9125 | if (temp2) | |
9126 | delete arg2; | |
9127 | } | |
9128 | return resultobj; | |
9129 | fail: | |
9130 | { | |
9131 | if (temp2) | |
9132 | delete arg2; | |
9133 | } | |
9134 | return NULL; | |
9135 | } | |
9136 | ||
9137 | ||
9138 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
9139 | PyObject *obj; | |
9140 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9141 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
9142 | Py_INCREF(obj); | |
9143 | return Py_BuildValue((char *)""); | |
9144 | } | |
9145 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9146 | PyObject *resultobj; | |
9147 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9148 | int result; | |
9149 | PyObject * obj0 = 0 ; | |
9150 | char *kwnames[] = { | |
9151 | (char *) "self", NULL | |
9152 | }; | |
9153 | ||
9154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
9155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9157 | { | |
9158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9159 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
9160 | ||
9161 | wxPyEndAllowThreads(__tstate); | |
9162 | if (PyErr_Occurred()) SWIG_fail; | |
9163 | } | |
9164 | resultobj = SWIG_FromInt((int)result); | |
9165 | return resultobj; | |
9166 | fail: | |
9167 | return NULL; | |
9168 | } | |
9169 | ||
9170 | ||
9171 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9172 | PyObject *resultobj; | |
9173 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9174 | int result; | |
9175 | PyObject * obj0 = 0 ; | |
9176 | char *kwnames[] = { | |
9177 | (char *) "self", NULL | |
9178 | }; | |
9179 | ||
9180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
9181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9183 | { | |
9184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9185 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
9186 | ||
9187 | wxPyEndAllowThreads(__tstate); | |
9188 | if (PyErr_Occurred()) SWIG_fail; | |
9189 | } | |
9190 | resultobj = SWIG_FromInt((int)result); | |
9191 | return resultobj; | |
9192 | fail: | |
9193 | return NULL; | |
9194 | } | |
9195 | ||
9196 | ||
9197 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9198 | PyObject *resultobj; | |
9199 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9200 | wxString result; | |
9201 | PyObject * obj0 = 0 ; | |
9202 | char *kwnames[] = { | |
9203 | (char *) "self", NULL | |
9204 | }; | |
9205 | ||
9206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
9207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9209 | { | |
9210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9211 | result = wxHtmlContentsItem_GetName(arg1); | |
9212 | ||
9213 | wxPyEndAllowThreads(__tstate); | |
9214 | if (PyErr_Occurred()) SWIG_fail; | |
9215 | } | |
9216 | { | |
9217 | #if wxUSE_UNICODE | |
9218 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9219 | #else | |
9220 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9221 | #endif | |
9222 | } | |
9223 | return resultobj; | |
9224 | fail: | |
9225 | return NULL; | |
9226 | } | |
9227 | ||
9228 | ||
9229 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9230 | PyObject *resultobj; | |
9231 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9232 | wxString result; | |
9233 | PyObject * obj0 = 0 ; | |
9234 | char *kwnames[] = { | |
9235 | (char *) "self", NULL | |
9236 | }; | |
9237 | ||
9238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
9239 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9241 | { | |
9242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9243 | result = wxHtmlContentsItem_GetPage(arg1); | |
9244 | ||
9245 | wxPyEndAllowThreads(__tstate); | |
9246 | if (PyErr_Occurred()) SWIG_fail; | |
9247 | } | |
9248 | { | |
9249 | #if wxUSE_UNICODE | |
9250 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9251 | #else | |
9252 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9253 | #endif | |
9254 | } | |
9255 | return resultobj; | |
9256 | fail: | |
9257 | return NULL; | |
9258 | } | |
9259 | ||
9260 | ||
9261 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9262 | PyObject *resultobj; | |
9263 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9264 | wxHtmlBookRecord *result; | |
9265 | PyObject * obj0 = 0 ; | |
9266 | char *kwnames[] = { | |
9267 | (char *) "self", NULL | |
9268 | }; | |
9269 | ||
9270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
9271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9273 | { | |
9274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9275 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
9276 | ||
9277 | wxPyEndAllowThreads(__tstate); | |
9278 | if (PyErr_Occurred()) SWIG_fail; | |
9279 | } | |
9280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0); | |
9281 | return resultobj; | |
9282 | fail: | |
9283 | return NULL; | |
9284 | } | |
9285 | ||
9286 | ||
9287 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
9288 | PyObject *obj; | |
9289 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9290 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
9291 | Py_INCREF(obj); | |
9292 | return Py_BuildValue((char *)""); | |
9293 | } | |
9294 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9295 | PyObject *resultobj; | |
9296 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9297 | bool result; | |
9298 | PyObject * obj0 = 0 ; | |
9299 | char *kwnames[] = { | |
9300 | (char *) "self", NULL | |
9301 | }; | |
9302 | ||
9303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
9304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9306 | { | |
9307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9308 | result = (bool)(arg1)->Search(); | |
9309 | ||
9310 | wxPyEndAllowThreads(__tstate); | |
9311 | if (PyErr_Occurred()) SWIG_fail; | |
9312 | } | |
9313 | { | |
9314 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9315 | } | |
9316 | return resultobj; | |
9317 | fail: | |
9318 | return NULL; | |
9319 | } | |
9320 | ||
9321 | ||
9322 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9323 | PyObject *resultobj; | |
9324 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9325 | bool result; | |
9326 | PyObject * obj0 = 0 ; | |
9327 | char *kwnames[] = { | |
9328 | (char *) "self", NULL | |
9329 | }; | |
9330 | ||
9331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
9332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9334 | { | |
9335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9336 | result = (bool)(arg1)->IsActive(); | |
9337 | ||
9338 | wxPyEndAllowThreads(__tstate); | |
9339 | if (PyErr_Occurred()) SWIG_fail; | |
9340 | } | |
9341 | { | |
9342 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9343 | } | |
9344 | return resultobj; | |
9345 | fail: | |
9346 | return NULL; | |
9347 | } | |
9348 | ||
9349 | ||
9350 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9351 | PyObject *resultobj; | |
9352 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9353 | int result; | |
9354 | PyObject * obj0 = 0 ; | |
9355 | char *kwnames[] = { | |
9356 | (char *) "self", NULL | |
9357 | }; | |
9358 | ||
9359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
9360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9362 | { | |
9363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9364 | result = (int)(arg1)->GetCurIndex(); | |
9365 | ||
9366 | wxPyEndAllowThreads(__tstate); | |
9367 | if (PyErr_Occurred()) SWIG_fail; | |
9368 | } | |
9369 | resultobj = SWIG_FromInt((int)result); | |
9370 | return resultobj; | |
9371 | fail: | |
9372 | return NULL; | |
9373 | } | |
9374 | ||
9375 | ||
9376 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9377 | PyObject *resultobj; | |
9378 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9379 | int result; | |
9380 | PyObject * obj0 = 0 ; | |
9381 | char *kwnames[] = { | |
9382 | (char *) "self", NULL | |
9383 | }; | |
9384 | ||
9385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
9386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9388 | { | |
9389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9390 | result = (int)(arg1)->GetMaxIndex(); | |
9391 | ||
9392 | wxPyEndAllowThreads(__tstate); | |
9393 | if (PyErr_Occurred()) SWIG_fail; | |
9394 | } | |
9395 | resultobj = SWIG_FromInt((int)result); | |
9396 | return resultobj; | |
9397 | fail: | |
9398 | return NULL; | |
9399 | } | |
9400 | ||
9401 | ||
9402 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9403 | PyObject *resultobj; | |
9404 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9405 | wxString *result; | |
9406 | PyObject * obj0 = 0 ; | |
9407 | char *kwnames[] = { | |
9408 | (char *) "self", NULL | |
9409 | }; | |
9410 | ||
9411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
9412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9414 | { | |
9415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9416 | { | |
9417 | wxString const &_result_ref = (arg1)->GetName(); | |
9418 | result = (wxString *) &_result_ref; | |
9419 | } | |
9420 | ||
9421 | wxPyEndAllowThreads(__tstate); | |
9422 | if (PyErr_Occurred()) SWIG_fail; | |
9423 | } | |
9424 | { | |
9425 | #if wxUSE_UNICODE | |
9426 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
9427 | #else | |
9428 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
9429 | #endif | |
9430 | } | |
9431 | return resultobj; | |
9432 | fail: | |
9433 | return NULL; | |
9434 | } | |
9435 | ||
9436 | ||
9437 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9438 | PyObject *resultobj; | |
9439 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9440 | wxHtmlContentsItem *result; | |
9441 | PyObject * obj0 = 0 ; | |
9442 | char *kwnames[] = { | |
9443 | (char *) "self", NULL | |
9444 | }; | |
9445 | ||
9446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
9447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9449 | { | |
9450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9451 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
9452 | ||
9453 | wxPyEndAllowThreads(__tstate); | |
9454 | if (PyErr_Occurred()) SWIG_fail; | |
9455 | } | |
9456 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9457 | return resultobj; | |
9458 | fail: | |
9459 | return NULL; | |
9460 | } | |
9461 | ||
9462 | ||
9463 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
9464 | PyObject *obj; | |
9465 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9466 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
9467 | Py_INCREF(obj); | |
9468 | return Py_BuildValue((char *)""); | |
9469 | } | |
9470 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9471 | PyObject *resultobj; | |
9472 | wxHtmlHelpData *result; | |
9473 | char *kwnames[] = { | |
9474 | NULL | |
9475 | }; | |
9476 | ||
9477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
9478 | { | |
9479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9480 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
9481 | ||
9482 | wxPyEndAllowThreads(__tstate); | |
9483 | if (PyErr_Occurred()) SWIG_fail; | |
9484 | } | |
9485 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1); | |
9486 | return resultobj; | |
9487 | fail: | |
9488 | return NULL; | |
9489 | } | |
9490 | ||
9491 | ||
9492 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9493 | PyObject *resultobj; | |
9494 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9495 | PyObject * obj0 = 0 ; | |
9496 | char *kwnames[] = { | |
9497 | (char *) "self", NULL | |
9498 | }; | |
9499 | ||
9500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
9501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9503 | { | |
9504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9505 | delete arg1; | |
9506 | ||
9507 | wxPyEndAllowThreads(__tstate); | |
9508 | if (PyErr_Occurred()) SWIG_fail; | |
9509 | } | |
9510 | Py_INCREF(Py_None); resultobj = Py_None; | |
9511 | return resultobj; | |
9512 | fail: | |
9513 | return NULL; | |
9514 | } | |
9515 | ||
9516 | ||
9517 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9518 | PyObject *resultobj; | |
9519 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9520 | wxString *arg2 = 0 ; | |
9521 | bool temp2 = False ; | |
9522 | PyObject * obj0 = 0 ; | |
9523 | PyObject * obj1 = 0 ; | |
9524 | char *kwnames[] = { | |
9525 | (char *) "self",(char *) "path", NULL | |
9526 | }; | |
9527 | ||
9528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
9529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9531 | { | |
9532 | arg2 = wxString_in_helper(obj1); | |
9533 | if (arg2 == NULL) SWIG_fail; | |
9534 | temp2 = True; | |
9535 | } | |
9536 | { | |
9537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9538 | (arg1)->SetTempDir((wxString const &)*arg2); | |
9539 | ||
9540 | wxPyEndAllowThreads(__tstate); | |
9541 | if (PyErr_Occurred()) SWIG_fail; | |
9542 | } | |
9543 | Py_INCREF(Py_None); resultobj = Py_None; | |
9544 | { | |
9545 | if (temp2) | |
9546 | delete arg2; | |
9547 | } | |
9548 | return resultobj; | |
9549 | fail: | |
9550 | { | |
9551 | if (temp2) | |
9552 | delete arg2; | |
9553 | } | |
9554 | return NULL; | |
9555 | } | |
9556 | ||
9557 | ||
9558 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9559 | PyObject *resultobj; | |
9560 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9561 | wxString *arg2 = 0 ; | |
9562 | bool result; | |
9563 | bool temp2 = False ; | |
9564 | PyObject * obj0 = 0 ; | |
9565 | PyObject * obj1 = 0 ; | |
9566 | char *kwnames[] = { | |
9567 | (char *) "self",(char *) "book", NULL | |
9568 | }; | |
9569 | ||
9570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
9571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9573 | { | |
9574 | arg2 = wxString_in_helper(obj1); | |
9575 | if (arg2 == NULL) SWIG_fail; | |
9576 | temp2 = True; | |
9577 | } | |
9578 | { | |
9579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9580 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
9581 | ||
9582 | wxPyEndAllowThreads(__tstate); | |
9583 | if (PyErr_Occurred()) SWIG_fail; | |
9584 | } | |
9585 | { | |
9586 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9587 | } | |
9588 | { | |
9589 | if (temp2) | |
9590 | delete arg2; | |
9591 | } | |
9592 | return resultobj; | |
9593 | fail: | |
9594 | { | |
9595 | if (temp2) | |
9596 | delete arg2; | |
9597 | } | |
9598 | return NULL; | |
9599 | } | |
9600 | ||
9601 | ||
9602 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9603 | PyObject *resultobj; | |
9604 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9605 | wxString *arg2 = 0 ; | |
9606 | wxString result; | |
9607 | bool temp2 = False ; | |
9608 | PyObject * obj0 = 0 ; | |
9609 | PyObject * obj1 = 0 ; | |
9610 | char *kwnames[] = { | |
9611 | (char *) "self",(char *) "page", NULL | |
9612 | }; | |
9613 | ||
9614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
9615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9617 | { | |
9618 | arg2 = wxString_in_helper(obj1); | |
9619 | if (arg2 == NULL) SWIG_fail; | |
9620 | temp2 = True; | |
9621 | } | |
9622 | { | |
9623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9624 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
9625 | ||
9626 | wxPyEndAllowThreads(__tstate); | |
9627 | if (PyErr_Occurred()) SWIG_fail; | |
9628 | } | |
9629 | { | |
9630 | #if wxUSE_UNICODE | |
9631 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9632 | #else | |
9633 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9634 | #endif | |
9635 | } | |
9636 | { | |
9637 | if (temp2) | |
9638 | delete arg2; | |
9639 | } | |
9640 | return resultobj; | |
9641 | fail: | |
9642 | { | |
9643 | if (temp2) | |
9644 | delete arg2; | |
9645 | } | |
9646 | return NULL; | |
9647 | } | |
9648 | ||
9649 | ||
9650 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9651 | PyObject *resultobj; | |
9652 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9653 | int arg2 ; | |
9654 | wxString result; | |
9655 | PyObject * obj0 = 0 ; | |
9656 | PyObject * obj1 = 0 ; | |
9657 | char *kwnames[] = { | |
9658 | (char *) "self",(char *) "id", NULL | |
9659 | }; | |
9660 | ||
9661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail; | |
9662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9664 | arg2 = (int) SWIG_AsInt(obj1); | |
9665 | if (PyErr_Occurred()) SWIG_fail; | |
9666 | { | |
9667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9668 | result = (arg1)->FindPageById(arg2); | |
9669 | ||
9670 | wxPyEndAllowThreads(__tstate); | |
9671 | if (PyErr_Occurred()) SWIG_fail; | |
9672 | } | |
9673 | { | |
9674 | #if wxUSE_UNICODE | |
9675 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9676 | #else | |
9677 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9678 | #endif | |
9679 | } | |
9680 | return resultobj; | |
9681 | fail: | |
9682 | return NULL; | |
9683 | } | |
9684 | ||
9685 | ||
9686 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9687 | PyObject *resultobj; | |
9688 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9689 | wxHtmlBookRecArray *result; | |
9690 | PyObject * obj0 = 0 ; | |
9691 | char *kwnames[] = { | |
9692 | (char *) "self", NULL | |
9693 | }; | |
9694 | ||
9695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
9696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9698 | { | |
9699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9700 | { | |
9701 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
9702 | result = (wxHtmlBookRecArray *) &_result_ref; | |
9703 | } | |
9704 | ||
9705 | wxPyEndAllowThreads(__tstate); | |
9706 | if (PyErr_Occurred()) SWIG_fail; | |
9707 | } | |
9708 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
9709 | return resultobj; | |
9710 | fail: | |
9711 | return NULL; | |
9712 | } | |
9713 | ||
9714 | ||
9715 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9716 | PyObject *resultobj; | |
9717 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9718 | wxHtmlContentsItem *result; | |
9719 | PyObject * obj0 = 0 ; | |
9720 | char *kwnames[] = { | |
9721 | (char *) "self", NULL | |
9722 | }; | |
9723 | ||
9724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
9725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9727 | { | |
9728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9729 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
9730 | ||
9731 | wxPyEndAllowThreads(__tstate); | |
9732 | if (PyErr_Occurred()) SWIG_fail; | |
9733 | } | |
9734 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9735 | return resultobj; | |
9736 | fail: | |
9737 | return NULL; | |
9738 | } | |
9739 | ||
9740 | ||
9741 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9742 | PyObject *resultobj; | |
9743 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9744 | int result; | |
9745 | PyObject * obj0 = 0 ; | |
9746 | char *kwnames[] = { | |
9747 | (char *) "self", NULL | |
9748 | }; | |
9749 | ||
9750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
9751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9753 | { | |
9754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9755 | result = (int)(arg1)->GetContentsCnt(); | |
9756 | ||
9757 | wxPyEndAllowThreads(__tstate); | |
9758 | if (PyErr_Occurred()) SWIG_fail; | |
9759 | } | |
9760 | resultobj = SWIG_FromInt((int)result); | |
9761 | return resultobj; | |
9762 | fail: | |
9763 | return NULL; | |
9764 | } | |
9765 | ||
9766 | ||
9767 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9768 | PyObject *resultobj; | |
9769 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9770 | wxHtmlContentsItem *result; | |
9771 | PyObject * obj0 = 0 ; | |
9772 | char *kwnames[] = { | |
9773 | (char *) "self", NULL | |
9774 | }; | |
9775 | ||
9776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
9777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9779 | { | |
9780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9781 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
9782 | ||
9783 | wxPyEndAllowThreads(__tstate); | |
9784 | if (PyErr_Occurred()) SWIG_fail; | |
9785 | } | |
9786 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9787 | return resultobj; | |
9788 | fail: | |
9789 | return NULL; | |
9790 | } | |
9791 | ||
9792 | ||
9793 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9794 | PyObject *resultobj; | |
9795 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9796 | int result; | |
9797 | PyObject * obj0 = 0 ; | |
9798 | char *kwnames[] = { | |
9799 | (char *) "self", NULL | |
9800 | }; | |
9801 | ||
9802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
9803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9805 | { | |
9806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9807 | result = (int)(arg1)->GetIndexCnt(); | |
9808 | ||
9809 | wxPyEndAllowThreads(__tstate); | |
9810 | if (PyErr_Occurred()) SWIG_fail; | |
9811 | } | |
9812 | resultobj = SWIG_FromInt((int)result); | |
9813 | return resultobj; | |
9814 | fail: | |
9815 | return NULL; | |
9816 | } | |
9817 | ||
9818 | ||
9819 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
9820 | PyObject *obj; | |
9821 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9822 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
9823 | Py_INCREF(obj); | |
9824 | return Py_BuildValue((char *)""); | |
9825 | } | |
9826 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9827 | PyObject *resultobj; | |
9828 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9829 | int arg2 ; | |
9830 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9831 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9832 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
9833 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
9834 | wxHtmlHelpFrame *result; | |
9835 | bool temp3 = False ; | |
9836 | PyObject * obj0 = 0 ; | |
9837 | PyObject * obj1 = 0 ; | |
9838 | PyObject * obj2 = 0 ; | |
9839 | PyObject * obj3 = 0 ; | |
9840 | PyObject * obj4 = 0 ; | |
9841 | char *kwnames[] = { | |
9842 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
9843 | }; | |
9844 | ||
9845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
9846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9848 | arg2 = (int) SWIG_AsInt(obj1); | |
9849 | if (PyErr_Occurred()) SWIG_fail; | |
9850 | if (obj2) { | |
9851 | { | |
9852 | arg3 = wxString_in_helper(obj2); | |
9853 | if (arg3 == NULL) SWIG_fail; | |
9854 | temp3 = True; | |
9855 | } | |
9856 | } | |
9857 | if (obj3) { | |
9858 | arg4 = (int) SWIG_AsInt(obj3); | |
9859 | if (PyErr_Occurred()) SWIG_fail; | |
9860 | } | |
9861 | if (obj4) { | |
9862 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData, | |
9863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9864 | } | |
9865 | { | |
9866 | if (!wxPyCheckForApp()) SWIG_fail; | |
9867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9868 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
9869 | ||
9870 | wxPyEndAllowThreads(__tstate); | |
9871 | if (PyErr_Occurred()) SWIG_fail; | |
9872 | } | |
9873 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
9874 | { | |
9875 | if (temp3) | |
9876 | delete arg3; | |
9877 | } | |
9878 | return resultobj; | |
9879 | fail: | |
9880 | { | |
9881 | if (temp3) | |
9882 | delete arg3; | |
9883 | } | |
9884 | return NULL; | |
9885 | } | |
9886 | ||
9887 | ||
9888 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9889 | PyObject *resultobj; | |
9890 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9891 | wxHtmlHelpData *result; | |
9892 | PyObject * obj0 = 0 ; | |
9893 | char *kwnames[] = { | |
9894 | (char *) "self", NULL | |
9895 | }; | |
9896 | ||
9897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
9898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9900 | { | |
9901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9902 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
9903 | ||
9904 | wxPyEndAllowThreads(__tstate); | |
9905 | if (PyErr_Occurred()) SWIG_fail; | |
9906 | } | |
9907 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); | |
9908 | return resultobj; | |
9909 | fail: | |
9910 | return NULL; | |
9911 | } | |
9912 | ||
9913 | ||
9914 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9915 | PyObject *resultobj; | |
9916 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9917 | wxString *arg2 = 0 ; | |
9918 | bool temp2 = False ; | |
9919 | PyObject * obj0 = 0 ; | |
9920 | PyObject * obj1 = 0 ; | |
9921 | char *kwnames[] = { | |
9922 | (char *) "self",(char *) "format", NULL | |
9923 | }; | |
9924 | ||
9925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
9926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9928 | { | |
9929 | arg2 = wxString_in_helper(obj1); | |
9930 | if (arg2 == NULL) SWIG_fail; | |
9931 | temp2 = True; | |
9932 | } | |
9933 | { | |
9934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9935 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
9936 | ||
9937 | wxPyEndAllowThreads(__tstate); | |
9938 | if (PyErr_Occurred()) SWIG_fail; | |
9939 | } | |
9940 | Py_INCREF(Py_None); resultobj = Py_None; | |
9941 | { | |
9942 | if (temp2) | |
9943 | delete arg2; | |
9944 | } | |
9945 | return resultobj; | |
9946 | fail: | |
9947 | { | |
9948 | if (temp2) | |
9949 | delete arg2; | |
9950 | } | |
9951 | return NULL; | |
9952 | } | |
9953 | ||
9954 | ||
9955 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9956 | PyObject *resultobj; | |
9957 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9958 | wxString *arg2 = 0 ; | |
9959 | bool temp2 = False ; | |
9960 | PyObject * obj0 = 0 ; | |
9961 | PyObject * obj1 = 0 ; | |
9962 | char *kwnames[] = { | |
9963 | (char *) "self",(char *) "x", NULL | |
9964 | }; | |
9965 | ||
9966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
9967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9969 | { | |
9970 | arg2 = wxString_in_helper(obj1); | |
9971 | if (arg2 == NULL) SWIG_fail; | |
9972 | temp2 = True; | |
9973 | } | |
9974 | { | |
9975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9976 | (arg1)->Display((wxString const &)*arg2); | |
9977 | ||
9978 | wxPyEndAllowThreads(__tstate); | |
9979 | if (PyErr_Occurred()) SWIG_fail; | |
9980 | } | |
9981 | Py_INCREF(Py_None); resultobj = Py_None; | |
9982 | { | |
9983 | if (temp2) | |
9984 | delete arg2; | |
9985 | } | |
9986 | return resultobj; | |
9987 | fail: | |
9988 | { | |
9989 | if (temp2) | |
9990 | delete arg2; | |
9991 | } | |
9992 | return NULL; | |
9993 | } | |
9994 | ||
9995 | ||
9996 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9997 | PyObject *resultobj; | |
9998 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9999 | int arg2 ; | |
10000 | PyObject * obj0 = 0 ; | |
10001 | PyObject * obj1 = 0 ; | |
10002 | char *kwnames[] = { | |
10003 | (char *) "self",(char *) "id", NULL | |
10004 | }; | |
10005 | ||
10006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
10007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10009 | arg2 = (int) SWIG_AsInt(obj1); | |
10010 | if (PyErr_Occurred()) SWIG_fail; | |
10011 | { | |
10012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10013 | (arg1)->Display(arg2); | |
10014 | ||
10015 | wxPyEndAllowThreads(__tstate); | |
10016 | if (PyErr_Occurred()) SWIG_fail; | |
10017 | } | |
10018 | Py_INCREF(Py_None); resultobj = Py_None; | |
10019 | return resultobj; | |
10020 | fail: | |
10021 | return NULL; | |
10022 | } | |
10023 | ||
10024 | ||
10025 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10026 | PyObject *resultobj; | |
10027 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10028 | PyObject * obj0 = 0 ; | |
10029 | char *kwnames[] = { | |
10030 | (char *) "self", NULL | |
10031 | }; | |
10032 | ||
10033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
10034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10036 | { | |
10037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10038 | (arg1)->DisplayContents(); | |
10039 | ||
10040 | wxPyEndAllowThreads(__tstate); | |
10041 | if (PyErr_Occurred()) SWIG_fail; | |
10042 | } | |
10043 | Py_INCREF(Py_None); resultobj = Py_None; | |
10044 | return resultobj; | |
10045 | fail: | |
10046 | return NULL; | |
10047 | } | |
10048 | ||
10049 | ||
10050 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10051 | PyObject *resultobj; | |
10052 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10053 | PyObject * obj0 = 0 ; | |
10054 | char *kwnames[] = { | |
10055 | (char *) "self", NULL | |
10056 | }; | |
10057 | ||
10058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
10059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10061 | { | |
10062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10063 | (arg1)->DisplayIndex(); | |
10064 | ||
10065 | wxPyEndAllowThreads(__tstate); | |
10066 | if (PyErr_Occurred()) SWIG_fail; | |
10067 | } | |
10068 | Py_INCREF(Py_None); resultobj = Py_None; | |
10069 | return resultobj; | |
10070 | fail: | |
10071 | return NULL; | |
10072 | } | |
10073 | ||
10074 | ||
10075 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10076 | PyObject *resultobj; | |
10077 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10078 | wxString *arg2 = 0 ; | |
10079 | bool result; | |
10080 | bool temp2 = False ; | |
10081 | PyObject * obj0 = 0 ; | |
10082 | PyObject * obj1 = 0 ; | |
10083 | char *kwnames[] = { | |
10084 | (char *) "self",(char *) "keyword", NULL | |
10085 | }; | |
10086 | ||
10087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
10088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10090 | { | |
10091 | arg2 = wxString_in_helper(obj1); | |
10092 | if (arg2 == NULL) SWIG_fail; | |
10093 | temp2 = True; | |
10094 | } | |
10095 | { | |
10096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10097 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10098 | ||
10099 | wxPyEndAllowThreads(__tstate); | |
10100 | if (PyErr_Occurred()) SWIG_fail; | |
10101 | } | |
10102 | { | |
10103 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10104 | } | |
10105 | { | |
10106 | if (temp2) | |
10107 | delete arg2; | |
10108 | } | |
10109 | return resultobj; | |
10110 | fail: | |
10111 | { | |
10112 | if (temp2) | |
10113 | delete arg2; | |
10114 | } | |
10115 | return NULL; | |
10116 | } | |
10117 | ||
10118 | ||
10119 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10120 | PyObject *resultobj; | |
10121 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10122 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10123 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10124 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10125 | bool temp3 = False ; | |
10126 | PyObject * obj0 = 0 ; | |
10127 | PyObject * obj1 = 0 ; | |
10128 | PyObject * obj2 = 0 ; | |
10129 | char *kwnames[] = { | |
10130 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10131 | }; | |
10132 | ||
10133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10136 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10138 | if (obj2) { | |
10139 | { | |
10140 | arg3 = wxString_in_helper(obj2); | |
10141 | if (arg3 == NULL) SWIG_fail; | |
10142 | temp3 = True; | |
10143 | } | |
10144 | } | |
10145 | { | |
10146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10147 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10148 | ||
10149 | wxPyEndAllowThreads(__tstate); | |
10150 | if (PyErr_Occurred()) SWIG_fail; | |
10151 | } | |
10152 | Py_INCREF(Py_None); resultobj = Py_None; | |
10153 | { | |
10154 | if (temp3) | |
10155 | delete arg3; | |
10156 | } | |
10157 | return resultobj; | |
10158 | fail: | |
10159 | { | |
10160 | if (temp3) | |
10161 | delete arg3; | |
10162 | } | |
10163 | return NULL; | |
10164 | } | |
10165 | ||
10166 | ||
10167 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10168 | PyObject *resultobj; | |
10169 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10170 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10171 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10172 | PyObject * obj0 = 0 ; | |
10173 | PyObject * obj1 = 0 ; | |
10174 | PyObject * obj2 = 0 ; | |
10175 | char *kwnames[] = { | |
10176 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10177 | }; | |
10178 | ||
10179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10182 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10184 | if (obj2) { | |
10185 | { | |
10186 | wxString* sptr = wxString_in_helper(obj2); | |
10187 | if (sptr == NULL) SWIG_fail; | |
10188 | arg3 = *sptr; | |
10189 | delete sptr; | |
10190 | } | |
10191 | } | |
10192 | { | |
10193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10194 | (arg1)->ReadCustomization(arg2,arg3); | |
10195 | ||
10196 | wxPyEndAllowThreads(__tstate); | |
10197 | if (PyErr_Occurred()) SWIG_fail; | |
10198 | } | |
10199 | Py_INCREF(Py_None); resultobj = Py_None; | |
10200 | return resultobj; | |
10201 | fail: | |
10202 | return NULL; | |
10203 | } | |
10204 | ||
10205 | ||
10206 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10207 | PyObject *resultobj; | |
10208 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
10209 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10210 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10211 | PyObject * obj0 = 0 ; | |
10212 | PyObject * obj1 = 0 ; | |
10213 | PyObject * obj2 = 0 ; | |
10214 | char *kwnames[] = { | |
10215 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10216 | }; | |
10217 | ||
10218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10221 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10223 | if (obj2) { | |
10224 | { | |
10225 | wxString* sptr = wxString_in_helper(obj2); | |
10226 | if (sptr == NULL) SWIG_fail; | |
10227 | arg3 = *sptr; | |
10228 | delete sptr; | |
10229 | } | |
10230 | } | |
10231 | { | |
10232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10233 | (arg1)->WriteCustomization(arg2,arg3); | |
10234 | ||
10235 | wxPyEndAllowThreads(__tstate); | |
10236 | if (PyErr_Occurred()) SWIG_fail; | |
10237 | } | |
10238 | Py_INCREF(Py_None); resultobj = Py_None; | |
10239 | return resultobj; | |
10240 | fail: | |
10241 | return NULL; | |
10242 | } | |
10243 | ||
10244 | ||
10245 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
10246 | PyObject *obj; | |
10247 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10248 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
10249 | Py_INCREF(obj); | |
10250 | return Py_BuildValue((char *)""); | |
10251 | } | |
10252 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10253 | PyObject *resultobj; | |
10254 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
10255 | wxHtmlHelpController *result; | |
10256 | PyObject * obj0 = 0 ; | |
10257 | char *kwnames[] = { | |
10258 | (char *) "style", NULL | |
10259 | }; | |
10260 | ||
10261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail; | |
10262 | if (obj0) { | |
10263 | arg1 = (int) SWIG_AsInt(obj0); | |
10264 | if (PyErr_Occurred()) SWIG_fail; | |
10265 | } | |
10266 | { | |
10267 | if (!wxPyCheckForApp()) SWIG_fail; | |
10268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10269 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
10270 | ||
10271 | wxPyEndAllowThreads(__tstate); | |
10272 | if (PyErr_Occurred()) SWIG_fail; | |
10273 | } | |
10274 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); | |
10275 | return resultobj; | |
10276 | fail: | |
10277 | return NULL; | |
10278 | } | |
10279 | ||
10280 | ||
10281 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10282 | PyObject *resultobj; | |
10283 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10284 | PyObject * obj0 = 0 ; | |
10285 | char *kwnames[] = { | |
10286 | (char *) "self", NULL | |
10287 | }; | |
10288 | ||
10289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
10290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10292 | { | |
10293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10294 | delete arg1; | |
10295 | ||
10296 | wxPyEndAllowThreads(__tstate); | |
10297 | if (PyErr_Occurred()) SWIG_fail; | |
10298 | } | |
10299 | Py_INCREF(Py_None); resultobj = Py_None; | |
10300 | return resultobj; | |
10301 | fail: | |
10302 | return NULL; | |
10303 | } | |
10304 | ||
10305 | ||
10306 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10307 | PyObject *resultobj; | |
10308 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10309 | wxString *arg2 = 0 ; | |
10310 | bool temp2 = False ; | |
10311 | PyObject * obj0 = 0 ; | |
10312 | PyObject * obj1 = 0 ; | |
10313 | char *kwnames[] = { | |
10314 | (char *) "self",(char *) "format", NULL | |
10315 | }; | |
10316 | ||
10317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
10318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10320 | { | |
10321 | arg2 = wxString_in_helper(obj1); | |
10322 | if (arg2 == NULL) SWIG_fail; | |
10323 | temp2 = True; | |
10324 | } | |
10325 | { | |
10326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10327 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10328 | ||
10329 | wxPyEndAllowThreads(__tstate); | |
10330 | if (PyErr_Occurred()) SWIG_fail; | |
10331 | } | |
10332 | Py_INCREF(Py_None); resultobj = Py_None; | |
10333 | { | |
10334 | if (temp2) | |
10335 | delete arg2; | |
10336 | } | |
10337 | return resultobj; | |
10338 | fail: | |
10339 | { | |
10340 | if (temp2) | |
10341 | delete arg2; | |
10342 | } | |
10343 | return NULL; | |
10344 | } | |
10345 | ||
10346 | ||
10347 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10348 | PyObject *resultobj; | |
10349 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10350 | wxString *arg2 = 0 ; | |
10351 | bool temp2 = False ; | |
10352 | PyObject * obj0 = 0 ; | |
10353 | PyObject * obj1 = 0 ; | |
10354 | char *kwnames[] = { | |
10355 | (char *) "self",(char *) "path", NULL | |
10356 | }; | |
10357 | ||
10358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
10359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10361 | { | |
10362 | arg2 = wxString_in_helper(obj1); | |
10363 | if (arg2 == NULL) SWIG_fail; | |
10364 | temp2 = True; | |
10365 | } | |
10366 | { | |
10367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10368 | (arg1)->SetTempDir((wxString const &)*arg2); | |
10369 | ||
10370 | wxPyEndAllowThreads(__tstate); | |
10371 | if (PyErr_Occurred()) SWIG_fail; | |
10372 | } | |
10373 | Py_INCREF(Py_None); resultobj = Py_None; | |
10374 | { | |
10375 | if (temp2) | |
10376 | delete arg2; | |
10377 | } | |
10378 | return resultobj; | |
10379 | fail: | |
10380 | { | |
10381 | if (temp2) | |
10382 | delete arg2; | |
10383 | } | |
10384 | return NULL; | |
10385 | } | |
10386 | ||
10387 | ||
10388 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10389 | PyObject *resultobj; | |
10390 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10391 | wxString *arg2 = 0 ; | |
10392 | int arg3 = (int) False ; | |
10393 | bool result; | |
10394 | bool temp2 = False ; | |
10395 | PyObject * obj0 = 0 ; | |
10396 | PyObject * obj1 = 0 ; | |
10397 | PyObject * obj2 = 0 ; | |
10398 | char *kwnames[] = { | |
10399 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
10400 | }; | |
10401 | ||
10402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10405 | { | |
10406 | arg2 = wxString_in_helper(obj1); | |
10407 | if (arg2 == NULL) SWIG_fail; | |
10408 | temp2 = True; | |
10409 | } | |
10410 | if (obj2) { | |
10411 | arg3 = (int) SWIG_AsInt(obj2); | |
10412 | if (PyErr_Occurred()) SWIG_fail; | |
10413 | } | |
10414 | { | |
10415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10416 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
10417 | ||
10418 | wxPyEndAllowThreads(__tstate); | |
10419 | if (PyErr_Occurred()) SWIG_fail; | |
10420 | } | |
10421 | { | |
10422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10423 | } | |
10424 | { | |
10425 | if (temp2) | |
10426 | delete arg2; | |
10427 | } | |
10428 | return resultobj; | |
10429 | fail: | |
10430 | { | |
10431 | if (temp2) | |
10432 | delete arg2; | |
10433 | } | |
10434 | return NULL; | |
10435 | } | |
10436 | ||
10437 | ||
10438 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10439 | PyObject *resultobj; | |
10440 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10441 | wxString *arg2 = 0 ; | |
10442 | bool temp2 = False ; | |
10443 | PyObject * obj0 = 0 ; | |
10444 | PyObject * obj1 = 0 ; | |
10445 | char *kwnames[] = { | |
10446 | (char *) "self",(char *) "x", NULL | |
10447 | }; | |
10448 | ||
10449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
10450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10452 | { | |
10453 | arg2 = wxString_in_helper(obj1); | |
10454 | if (arg2 == NULL) SWIG_fail; | |
10455 | temp2 = True; | |
10456 | } | |
10457 | { | |
10458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10459 | (arg1)->Display((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 | ||
10479 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10480 | PyObject *resultobj; | |
10481 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10482 | int arg2 ; | |
10483 | PyObject * obj0 = 0 ; | |
10484 | PyObject * obj1 = 0 ; | |
10485 | char *kwnames[] = { | |
10486 | (char *) "self",(char *) "id", NULL | |
10487 | }; | |
10488 | ||
10489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
10490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10492 | arg2 = (int) SWIG_AsInt(obj1); | |
10493 | if (PyErr_Occurred()) SWIG_fail; | |
10494 | { | |
10495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10496 | (arg1)->Display(arg2); | |
10497 | ||
10498 | wxPyEndAllowThreads(__tstate); | |
10499 | if (PyErr_Occurred()) SWIG_fail; | |
10500 | } | |
10501 | Py_INCREF(Py_None); resultobj = Py_None; | |
10502 | return resultobj; | |
10503 | fail: | |
10504 | return NULL; | |
10505 | } | |
10506 | ||
10507 | ||
10508 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10509 | PyObject *resultobj; | |
10510 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10511 | PyObject * obj0 = 0 ; | |
10512 | char *kwnames[] = { | |
10513 | (char *) "self", NULL | |
10514 | }; | |
10515 | ||
10516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
10517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10519 | { | |
10520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10521 | (arg1)->DisplayContents(); | |
10522 | ||
10523 | wxPyEndAllowThreads(__tstate); | |
10524 | if (PyErr_Occurred()) SWIG_fail; | |
10525 | } | |
10526 | Py_INCREF(Py_None); resultobj = Py_None; | |
10527 | return resultobj; | |
10528 | fail: | |
10529 | return NULL; | |
10530 | } | |
10531 | ||
10532 | ||
10533 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10534 | PyObject *resultobj; | |
10535 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10536 | PyObject * obj0 = 0 ; | |
10537 | char *kwnames[] = { | |
10538 | (char *) "self", NULL | |
10539 | }; | |
10540 | ||
10541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
10542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10544 | { | |
10545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10546 | (arg1)->DisplayIndex(); | |
10547 | ||
10548 | wxPyEndAllowThreads(__tstate); | |
10549 | if (PyErr_Occurred()) SWIG_fail; | |
10550 | } | |
10551 | Py_INCREF(Py_None); resultobj = Py_None; | |
10552 | return resultobj; | |
10553 | fail: | |
10554 | return NULL; | |
10555 | } | |
10556 | ||
10557 | ||
10558 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10559 | PyObject *resultobj; | |
10560 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10561 | wxString *arg2 = 0 ; | |
10562 | bool result; | |
10563 | bool temp2 = False ; | |
10564 | PyObject * obj0 = 0 ; | |
10565 | PyObject * obj1 = 0 ; | |
10566 | char *kwnames[] = { | |
10567 | (char *) "self",(char *) "keyword", NULL | |
10568 | }; | |
10569 | ||
10570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
10571 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10572 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10573 | { | |
10574 | arg2 = wxString_in_helper(obj1); | |
10575 | if (arg2 == NULL) SWIG_fail; | |
10576 | temp2 = True; | |
10577 | } | |
10578 | { | |
10579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10580 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10581 | ||
10582 | wxPyEndAllowThreads(__tstate); | |
10583 | if (PyErr_Occurred()) SWIG_fail; | |
10584 | } | |
10585 | { | |
10586 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10587 | } | |
10588 | { | |
10589 | if (temp2) | |
10590 | delete arg2; | |
10591 | } | |
10592 | return resultobj; | |
10593 | fail: | |
10594 | { | |
10595 | if (temp2) | |
10596 | delete arg2; | |
10597 | } | |
10598 | return NULL; | |
10599 | } | |
10600 | ||
10601 | ||
10602 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10603 | PyObject *resultobj; | |
10604 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10605 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10606 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10607 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10608 | bool temp3 = False ; | |
10609 | PyObject * obj0 = 0 ; | |
10610 | PyObject * obj1 = 0 ; | |
10611 | PyObject * obj2 = 0 ; | |
10612 | char *kwnames[] = { | |
10613 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10614 | }; | |
10615 | ||
10616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10619 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10621 | if (obj2) { | |
10622 | { | |
10623 | arg3 = wxString_in_helper(obj2); | |
10624 | if (arg3 == NULL) SWIG_fail; | |
10625 | temp3 = True; | |
10626 | } | |
10627 | } | |
10628 | { | |
10629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10630 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10631 | ||
10632 | wxPyEndAllowThreads(__tstate); | |
10633 | if (PyErr_Occurred()) SWIG_fail; | |
10634 | } | |
10635 | Py_INCREF(Py_None); resultobj = Py_None; | |
10636 | { | |
10637 | if (temp3) | |
10638 | delete arg3; | |
10639 | } | |
10640 | return resultobj; | |
10641 | fail: | |
10642 | { | |
10643 | if (temp3) | |
10644 | delete arg3; | |
10645 | } | |
10646 | return NULL; | |
10647 | } | |
10648 | ||
10649 | ||
10650 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10651 | PyObject *resultobj; | |
10652 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10653 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10654 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10655 | PyObject * obj0 = 0 ; | |
10656 | PyObject * obj1 = 0 ; | |
10657 | PyObject * obj2 = 0 ; | |
10658 | char *kwnames[] = { | |
10659 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10660 | }; | |
10661 | ||
10662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10663 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10665 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10667 | if (obj2) { | |
10668 | { | |
10669 | wxString* sptr = wxString_in_helper(obj2); | |
10670 | if (sptr == NULL) SWIG_fail; | |
10671 | arg3 = *sptr; | |
10672 | delete sptr; | |
10673 | } | |
10674 | } | |
10675 | { | |
10676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10677 | (arg1)->ReadCustomization(arg2,arg3); | |
10678 | ||
10679 | wxPyEndAllowThreads(__tstate); | |
10680 | if (PyErr_Occurred()) SWIG_fail; | |
10681 | } | |
10682 | Py_INCREF(Py_None); resultobj = Py_None; | |
10683 | return resultobj; | |
10684 | fail: | |
10685 | return NULL; | |
10686 | } | |
10687 | ||
10688 | ||
10689 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10690 | PyObject *resultobj; | |
10691 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10692 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10693 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10694 | PyObject * obj0 = 0 ; | |
10695 | PyObject * obj1 = 0 ; | |
10696 | PyObject * obj2 = 0 ; | |
10697 | char *kwnames[] = { | |
10698 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10699 | }; | |
10700 | ||
10701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10704 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10706 | if (obj2) { | |
10707 | { | |
10708 | wxString* sptr = wxString_in_helper(obj2); | |
10709 | if (sptr == NULL) SWIG_fail; | |
10710 | arg3 = *sptr; | |
10711 | delete sptr; | |
10712 | } | |
10713 | } | |
10714 | { | |
10715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10716 | (arg1)->WriteCustomization(arg2,arg3); | |
10717 | ||
10718 | wxPyEndAllowThreads(__tstate); | |
10719 | if (PyErr_Occurred()) SWIG_fail; | |
10720 | } | |
10721 | Py_INCREF(Py_None); resultobj = Py_None; | |
10722 | return resultobj; | |
10723 | fail: | |
10724 | return NULL; | |
10725 | } | |
10726 | ||
10727 | ||
10728 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10729 | PyObject *resultobj; | |
10730 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10731 | wxHtmlHelpFrame *result; | |
10732 | PyObject * obj0 = 0 ; | |
10733 | char *kwnames[] = { | |
10734 | (char *) "self", NULL | |
10735 | }; | |
10736 | ||
10737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
10738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10740 | { | |
10741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10742 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
10743 | ||
10744 | wxPyEndAllowThreads(__tstate); | |
10745 | if (PyErr_Occurred()) SWIG_fail; | |
10746 | } | |
10747 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
10748 | return resultobj; | |
10749 | fail: | |
10750 | return NULL; | |
10751 | } | |
10752 | ||
10753 | ||
10754 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
10755 | PyObject *obj; | |
10756 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10757 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
10758 | Py_INCREF(obj); | |
10759 | return Py_BuildValue((char *)""); | |
10760 | } | |
10761 | static PyMethodDef SwigMethods[] = { | |
10762 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
10764 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10769 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
10770 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
10777 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
10779 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10789 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
10791 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
10792 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
10793 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { (char *)"HtmlWinParser_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWinParser_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
10800 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
10801 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
10802 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
10803 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
10804 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
10805 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
10806 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
10807 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
10808 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
10809 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
10810 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
10811 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
10812 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
10813 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10814 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10815 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
10816 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
10817 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
10818 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
10819 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
10820 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
10821 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
10822 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
10823 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10824 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10825 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
10826 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10827 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
10828 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
10829 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10830 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10831 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
10832 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10833 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
10834 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
10835 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10836 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
10837 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
10838 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
10839 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
10840 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
10841 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
10842 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
10843 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
10844 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10845 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10846 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10847 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10848 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10849 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
10850 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
10851 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
10852 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
10853 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
10854 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
10855 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
10856 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
10857 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10858 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10859 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
10860 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
10861 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10862 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
10863 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
10864 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10865 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
10866 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
10867 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
10868 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10869 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10870 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10871 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10872 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
10873 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
10874 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10875 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
10876 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
10877 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
10878 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
10879 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
10880 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS }, | |
10881 | { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS }, | |
10882 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS }, | |
10883 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
10884 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
10885 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
10886 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
10887 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10888 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
10889 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
10890 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
10891 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
10892 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
10893 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
10894 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
10895 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
10896 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
10897 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
10898 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
10899 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
10900 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
10901 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
10902 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
10903 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
10904 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
10905 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
10906 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
10907 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
10908 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
10909 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
10910 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
10911 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
10912 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
10913 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
10914 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
10915 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
10916 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
10917 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10918 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10919 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
10920 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10921 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
10922 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
10923 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
10924 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
10925 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
10926 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
10927 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
10928 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
10929 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
10930 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
10931 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
10932 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
10933 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
10934 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
10935 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
10936 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10937 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
10938 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
10939 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
10940 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
10941 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10942 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
10943 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
10944 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
10945 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
10946 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
10947 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10948 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
10949 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
10950 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
10951 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
10952 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10953 | { (char *)"HtmlWindow_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWindow_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS }, | |
10954 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10955 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
10956 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10957 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10958 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
10959 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
10960 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
10961 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
10962 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
10963 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
10964 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10965 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10966 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10967 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
10968 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS }, | |
10969 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS }, | |
10970 | { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10971 | { (char *)"HtmlWindow_SelectionToText", (PyCFunction) _wrap_HtmlWindow_SelectionToText, METH_VARARGS | METH_KEYWORDS }, | |
10972 | { (char *)"HtmlWindow_ToText", (PyCFunction) _wrap_HtmlWindow_ToText, METH_VARARGS | METH_KEYWORDS }, | |
10973 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
10974 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10975 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
10976 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
10977 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, | |
10978 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
10979 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
10980 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
10981 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
10982 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
10983 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
10984 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10985 | { (char *)"HtmlDCRenderer_NormalizeFontSizes", (PyCFunction) _wrap_HtmlDCRenderer_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS }, | |
10986 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
10987 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
10988 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
10989 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
10990 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
10991 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
10992 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
10993 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
10994 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10995 | { (char *)"HtmlPrintout_NormalizeFontSizes", (PyCFunction) _wrap_HtmlPrintout_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS }, | |
10996 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10997 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
10998 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
10999 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
11000 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
11001 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
11002 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
11003 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
11004 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
11005 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
11006 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
11007 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
11008 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
11009 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
11010 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
11011 | { (char *)"HtmlEasyPrinting_NormalizeFontSizes", (PyCFunction) _wrap_HtmlEasyPrinting_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS }, | |
11012 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
11013 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
11014 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
11015 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
11016 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
11017 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
11018 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
11019 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
11020 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
11021 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
11022 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
11023 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
11024 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
11025 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
11026 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
11027 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
11028 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
11029 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
11030 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
11031 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
11032 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
11033 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
11034 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
11035 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
11036 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
11037 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
11038 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
11039 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
11040 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
11041 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
11042 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
11043 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
11044 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
11045 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
11046 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
11047 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
11048 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
11049 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
11050 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
11051 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
11052 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
11053 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
11054 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
11055 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
11056 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
11057 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
11058 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
11059 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
11060 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
11061 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
11062 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
11063 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
11064 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
11065 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
11066 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
11067 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
11068 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
11069 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
11070 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
11071 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
11072 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
11073 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
11074 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
11075 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
11076 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
11077 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
11078 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
11079 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
11080 | { NULL, NULL } | |
11081 | }; | |
11082 | ||
11083 | ||
11084 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
11085 | ||
11086 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
11087 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
11088 | } | |
11089 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
11090 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11091 | } | |
11092 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
11093 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
11094 | } | |
11095 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
11096 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11097 | } | |
11098 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
11099 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11100 | } | |
11101 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
11102 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11103 | } | |
11104 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
11105 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11106 | } | |
11107 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
11108 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11109 | } | |
11110 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
11111 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
11112 | } | |
11113 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
11114 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11115 | } | |
11116 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
11117 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
11118 | } | |
11119 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
11120 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11121 | } | |
11122 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
11123 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11124 | } | |
11125 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
11126 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11127 | } | |
11128 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
11129 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11130 | } | |
11131 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
11132 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11133 | } | |
11134 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
11135 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11136 | } | |
11137 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
11138 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
11139 | } | |
11140 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
11141 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
11142 | } | |
11143 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
11144 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11145 | } | |
11146 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
11147 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11148 | } | |
11149 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
11150 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11151 | } | |
11152 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
11153 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11154 | } | |
11155 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
11156 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11157 | } | |
11158 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
11159 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11160 | } | |
11161 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
11162 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11163 | } | |
11164 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
11165 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
11166 | } | |
11167 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
11168 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
11169 | } | |
11170 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
11171 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
11172 | } | |
11173 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
11174 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11175 | } | |
11176 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
11177 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11178 | } | |
11179 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
11180 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11181 | } | |
11182 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
11183 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
11184 | } | |
11185 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
11186 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11187 | } | |
11188 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
11189 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
11190 | } | |
11191 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
11192 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
11193 | } | |
11194 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
11195 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
11196 | } | |
11197 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
11198 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
11199 | } | |
11200 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
11201 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
11202 | } | |
11203 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
11204 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11205 | } | |
11206 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
11207 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11208 | } | |
11209 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
11210 | return (void *)((wxWindow *) ((wxControl *) x)); | |
11211 | } | |
11212 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
11213 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11214 | } | |
11215 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
11216 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11217 | } | |
11218 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
11219 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11220 | } | |
11221 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
11222 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
11223 | } | |
11224 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
11225 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
11226 | } | |
11227 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
11228 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11229 | } | |
11230 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
11231 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11232 | } | |
11233 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
11234 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11235 | } | |
11236 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
11237 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
11238 | } | |
11239 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
11240 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11241 | } | |
11242 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
11243 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11244 | } | |
11245 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
11246 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
11247 | } | |
11248 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
11249 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11250 | } | |
11251 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
11252 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11253 | } | |
11254 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
11255 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11256 | } | |
11257 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
11258 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
11259 | } | |
11260 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
11261 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11262 | } | |
11263 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
11264 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11265 | } | |
11266 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
11267 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11268 | } | |
11269 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
11270 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
11271 | } | |
11272 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
11273 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
11274 | } | |
11275 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
11276 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
11277 | } | |
11278 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
11279 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
11280 | } | |
11281 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
11282 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
11283 | } | |
11284 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
11285 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
11286 | } | |
11287 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
11288 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
11289 | } | |
11290 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
11291 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
11292 | } | |
11293 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
11294 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
11295 | } | |
11296 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
11297 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
11298 | } | |
11299 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
11300 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
11301 | } | |
11302 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
11303 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
11304 | } | |
11305 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
11306 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
11307 | } | |
11308 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
11309 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
11310 | } | |
11311 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
11312 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
11313 | } | |
11314 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11315 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11316 | } | |
11317 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11318 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11319 | } | |
11320 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
11321 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
11322 | } | |
11323 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
11324 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
11325 | } | |
11326 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
11327 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11328 | } | |
11329 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11330 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
11331 | } | |
11332 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11333 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11334 | } | |
11335 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
11336 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
11337 | } | |
11338 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
11339 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
11340 | } | |
11341 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
11342 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11343 | } | |
11344 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
11345 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11346 | } | |
11347 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
11348 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
11349 | } | |
11350 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
11351 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
11352 | } | |
11353 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
11354 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
11355 | } | |
11356 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
11357 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
11358 | } | |
11359 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
11360 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
11361 | } | |
11362 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
11363 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
11364 | } | |
11365 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
11366 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
11367 | } | |
11368 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
11369 | return (void *)((wxObject *) ((wxSizer *) x)); | |
11370 | } | |
11371 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
11372 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
11373 | } | |
11374 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
11375 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11376 | } | |
11377 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
11378 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11379 | } | |
11380 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
11381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11382 | } | |
11383 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
11384 | return (void *)((wxObject *) ((wxEvent *) x)); | |
11385 | } | |
11386 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
11387 | return (void *)((wxObject *) ((wxFontData *) x)); | |
11388 | } | |
11389 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
11390 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
11391 | } | |
11392 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
11393 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
11394 | } | |
11395 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
11396 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
11397 | } | |
11398 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
11399 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
11400 | } | |
11401 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
11402 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
11403 | } | |
11404 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
11405 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
11406 | } | |
11407 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
11408 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11409 | } | |
11410 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
11411 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
11412 | } | |
11413 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
11414 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11415 | } | |
11416 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
11417 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
11418 | } | |
11419 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
11420 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
11421 | } | |
11422 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
11423 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
11424 | } | |
11425 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
11426 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11427 | } | |
11428 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
11429 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11430 | } | |
11431 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
11432 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11433 | } | |
11434 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
11435 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11436 | } | |
11437 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
11438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11439 | } | |
11440 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
11441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
11442 | } | |
11443 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
11444 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
11445 | } | |
11446 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
11447 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
11448 | } | |
11449 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
11450 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
11451 | } | |
11452 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
11453 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11454 | } | |
11455 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
11456 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
11457 | } | |
11458 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
11459 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
11460 | } | |
11461 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
11462 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11463 | } | |
11464 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
11465 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11466 | } | |
11467 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
11468 | return (void *)((wxObject *) ((wxColourData *) x)); | |
11469 | } | |
11470 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
11471 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
11472 | } | |
11473 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
11474 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11475 | } | |
11476 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
11477 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
11478 | } | |
11479 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
11480 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11481 | } | |
11482 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
11483 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11484 | } | |
11485 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
11486 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11487 | } | |
11488 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
11489 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11490 | } | |
11491 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
11492 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11493 | } | |
11494 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
11495 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11496 | } | |
11497 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
11498 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11499 | } | |
11500 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
11501 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11502 | } | |
11503 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
11504 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
11505 | } | |
11506 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
11507 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
11508 | } | |
11509 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
11510 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
11511 | } | |
11512 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
11513 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
11514 | } | |
11515 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
11516 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11517 | } | |
11518 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
11519 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11520 | } | |
11521 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
11522 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
11523 | } | |
11524 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
11525 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
11526 | } | |
11527 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
11528 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
11529 | } | |
11530 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
11531 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
11532 | } | |
11533 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
11534 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
11535 | } | |
11536 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
11537 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
11538 | } | |
11539 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
11540 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
11541 | } | |
11542 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
11543 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
11544 | } | |
11545 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
11546 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
11547 | } | |
11548 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
11549 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
11550 | } | |
11551 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
11552 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
11553 | } | |
11554 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
11555 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
11556 | } | |
11557 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
11558 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
11559 | } | |
11560 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
11561 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
11562 | } | |
11563 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
11564 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
11565 | } | |
11566 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
11567 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
11568 | } | |
11569 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
11570 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
11571 | } | |
11572 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
11573 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
11574 | } | |
11575 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
11576 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
11577 | } | |
11578 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
11579 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
11580 | } | |
11581 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
11582 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
11583 | } | |
11584 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
11585 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11586 | } | |
11587 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
11588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11589 | } | |
11590 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
11591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11592 | } | |
11593 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
11594 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
11595 | } | |
11596 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
11597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11598 | } | |
11599 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
11600 | return (void *)((wxObject *) ((wxImage *) x)); | |
11601 | } | |
11602 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
11603 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11604 | } | |
11605 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
11606 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
11607 | } | |
11608 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
11609 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11610 | } | |
11611 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
11612 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
11613 | } | |
11614 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
11615 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
11616 | } | |
11617 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
11618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
11619 | } | |
11620 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
11621 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
11622 | } | |
11623 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
11624 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11625 | } | |
11626 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
11627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11628 | } | |
11629 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
11630 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11631 | } | |
11632 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
11633 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11634 | } | |
11635 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
11636 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
11637 | } | |
11638 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
11639 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
11640 | } | |
11641 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
11642 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
11643 | } | |
11644 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
11645 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
11646 | } | |
11647 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
11648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11649 | } | |
11650 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
11651 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
11652 | } | |
11653 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
11654 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
11655 | } | |
11656 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
11657 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
11658 | } | |
11659 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
11660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
11661 | } | |
11662 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
11663 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11664 | } | |
11665 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
11666 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
11667 | } | |
11668 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
11669 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11670 | } | |
11671 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
11672 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11673 | } | |
11674 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
11675 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11676 | } | |
11677 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
11678 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
11679 | } | |
11680 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
11681 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11682 | } | |
11683 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
11684 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11685 | } | |
11686 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
11687 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
11688 | } | |
11689 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
11690 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
11691 | } | |
11692 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
11693 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
11694 | } | |
11695 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
11696 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
11697 | } | |
11698 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
11699 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11700 | } | |
11701 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
11702 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11703 | } | |
11704 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
11705 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11706 | } | |
11707 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
11708 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11709 | } | |
11710 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
11711 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11712 | } | |
11713 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
11714 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11715 | } | |
11716 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
11717 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
11718 | } | |
11719 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
11720 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11721 | } | |
11722 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
11723 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
11724 | } | |
11725 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
11726 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11727 | } | |
11728 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
11729 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
11730 | } | |
11731 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
11732 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11733 | } | |
11734 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
11735 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
11736 | } | |
11737 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
11738 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
11739 | } | |
11740 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
11741 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
11742 | } | |
11743 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
11744 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
11745 | } | |
11746 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
11747 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11748 | } | |
11749 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
11750 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
11751 | } | |
11752 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
11753 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11754 | } | |
11755 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
11756 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11757 | } | |
11758 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
11759 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
11760 | } | |
11761 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
11762 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
11763 | } | |
11764 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
11765 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
11766 | } | |
11767 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
11768 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11769 | } | |
11770 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
11771 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11772 | } | |
11773 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
11774 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11775 | } | |
11776 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
11777 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
11778 | } | |
11779 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
11780 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
11781 | } | |
11782 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
11783 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
11784 | } | |
11785 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
11786 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
11787 | } | |
11788 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
11789 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11790 | } | |
11791 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
11792 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11793 | } | |
11794 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
11795 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11796 | } | |
11797 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
11798 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11799 | } | |
11800 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
11801 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
11802 | } | |
11803 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
11804 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
11805 | } | |
11806 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
11807 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
11808 | } | |
11809 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
11810 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
11811 | } | |
11812 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
11813 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11814 | } | |
11815 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11816 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11817 | } | |
11818 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11819 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11820 | } | |
11821 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
11822 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11823 | } | |
11824 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
11825 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11826 | } | |
11827 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
11828 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11829 | } | |
11830 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
11831 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11832 | } | |
11833 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
11834 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
11835 | } | |
11836 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
11837 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
11838 | } | |
11839 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11840 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11841 | } | |
11842 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
11843 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11844 | } | |
11845 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
11846 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11847 | } | |
11848 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
11849 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
11850 | } | |
11851 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
11852 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11853 | } | |
11854 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
11855 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
11856 | } | |
11857 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
11858 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
11859 | } | |
11860 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
11861 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
11862 | } | |
11863 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
11864 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
11865 | } | |
11866 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11867 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11868 | } | |
11869 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
11870 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
11871 | } | |
11872 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
11873 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
11874 | } | |
11875 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11876 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11877 | } | |
11878 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
11879 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11880 | } | |
11881 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
11882 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
11883 | } | |
11884 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
11885 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11886 | } | |
11887 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
11888 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11889 | } | |
11890 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
11891 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11892 | } | |
11893 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
11894 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
11895 | } | |
11896 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
11897 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11898 | } | |
11899 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
11900 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
11901 | } | |
11902 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
11903 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11904 | } | |
11905 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
11906 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11907 | } | |
11908 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
11909 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11910 | } | |
11911 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
11912 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11913 | } | |
11914 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
11915 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11916 | } | |
11917 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
11918 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11919 | } | |
11920 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
11921 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11922 | } | |
11923 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
11924 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11925 | } | |
11926 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
11927 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11928 | } | |
11929 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
11930 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11931 | } | |
11932 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
11933 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11934 | } | |
11935 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
11936 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11937 | } | |
11938 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
11939 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11940 | } | |
11941 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
11942 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11943 | } | |
11944 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
11945 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11946 | } | |
11947 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
11948 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11949 | } | |
11950 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
11951 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11952 | } | |
11953 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
11954 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
11955 | } | |
11956 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
11957 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
11958 | } | |
11959 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
11960 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
11961 | } | |
11962 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
11963 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
11964 | } | |
11965 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
11966 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11967 | } | |
11968 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
11969 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
11970 | } | |
11971 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
11972 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11973 | } | |
11974 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
11975 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
11976 | } | |
11977 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
11978 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
11979 | } | |
11980 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
11981 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11982 | } | |
11983 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
11984 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11985 | } | |
11986 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
11987 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11988 | } | |
11989 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
11990 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11991 | } | |
11992 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
11993 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11994 | } | |
11995 | 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}}; | |
11996 | 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}}; | |
11997 | 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}}; | |
11998 | 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}}; | |
11999 | 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}}; | |
12000 | 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}}; | |
12001 | 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}}; | |
12002 | 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}}; | |
12003 | 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}}; | |
12004 | 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}}; | |
12005 | 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}}; | |
12006 | 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}}; | |
12007 | 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}}; | |
12008 | 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}}; | |
12009 | 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}}; | |
12010 | 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}}; | |
12011 | 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}}; | |
12012 | 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}}; | |
12013 | 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}}; | |
12014 | 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}}; | |
12015 | 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}}; | |
12016 | 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}}; | |
12017 | 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}}; | |
12018 | 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}}; | |
12019 | 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}}; | |
12020 | 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}}; | |
12021 | 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}}; | |
12022 | 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}}; | |
12023 | 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}}; | |
12024 | 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}}; | |
12025 | 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}}; | |
12026 | 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}}; | |
12027 | 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}}; | |
12028 | 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}}; | |
12029 | 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}}; | |
12030 | 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}}; | |
12031 | 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}}; | |
12032 | 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}}; | |
12033 | 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}}; | |
12034 | 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}}; | |
12035 | 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}}; | |
12036 | 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}}; | |
12037 | 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}}; | |
12038 | 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}}; | |
12039 | 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}}; | |
12040 | 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}}; | |
12041 | 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}}; | |
12042 | 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}}; | |
12043 | 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}}; | |
12044 | 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}}; | |
12045 | 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}}; | |
12046 | 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}}; | |
12047 | 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}}; | |
12048 | ||
12049 | static swig_type_info *swig_types_initial[] = { | |
12050 | _swigt__p_wxHtmlDCRenderer, | |
12051 | _swigt__p_wxColour, | |
12052 | _swigt__p_wxPageSetupDialogData, | |
12053 | _swigt__p_wxDC, | |
12054 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
12055 | _swigt__p_wxHtmlRenderingStyle, | |
12056 | _swigt__p_wxMouseEvent, | |
12057 | _swigt__p_wxHtmlWordCell, | |
12058 | _swigt__p_wxVisualAttributes, | |
12059 | _swigt__p_wxHtmlHelpData, | |
12060 | _swigt__p_char, | |
12061 | _swigt__p_wxHtmlWinParser, | |
12062 | _swigt__p_wxHtmlParser, | |
12063 | _swigt__p_wxPanel, | |
12064 | _swigt__p_wxFont, | |
12065 | _swigt__p_wxHtmlColourCell, | |
12066 | _swigt__p_wxPyHtmlWindow, | |
12067 | _swigt__p_wxScrolledWindow, | |
12068 | _swigt__p_wxWindow, | |
12069 | _swigt__p_wxTopLevelWindow, | |
12070 | _swigt__p_wxHtmlFontCell, | |
12071 | _swigt__p_wxHtmlEasyPrinting, | |
12072 | _swigt__p_wxHtmlSelection, | |
12073 | _swigt__p_wxHtmlRenderingInfo, | |
12074 | _swigt__p_wxHtmlWidgetCell, | |
12075 | _swigt__p_wxObject, | |
12076 | _swigt__p_wxString, | |
12077 | _swigt__p_wxPyHtmlWinTagHandler, | |
12078 | _swigt__p_wxHtmlTagHandler, | |
12079 | _swigt__p_wxPyHtmlTagHandler, | |
12080 | _swigt__p_wxEvtHandler, | |
12081 | _swigt__p_wxPoint, | |
12082 | _swigt__p_wxHtmlHelpController, | |
12083 | _swigt__p_wxCursor, | |
12084 | _swigt__p_wxFileSystem, | |
12085 | _swigt__p_wxHtmlBookRecArray, | |
12086 | _swigt__p_wxPyPrintout, | |
12087 | _swigt__p_wxHtmlPrintout, | |
12088 | _swigt__p_wxHtmlSearchStatus, | |
12089 | _swigt__p_wxHtmlContentsItem, | |
12090 | _swigt__p_wxConfigBase, | |
12091 | _swigt__p_wxPrintData, | |
12092 | _swigt__p_wxHtmlHelpFrame, | |
12093 | _swigt__p_wxHtmlRenderingState, | |
12094 | _swigt__p_wxFrame, | |
12095 | _swigt__p_wxPyHtmlFilter, | |
12096 | _swigt__p_wxHtmlFilter, | |
12097 | _swigt__p_wxHtmlCell, | |
12098 | _swigt__p_wxHtmlContainerCell, | |
12099 | _swigt__p_wxHtmlTag, | |
12100 | _swigt__p_wxHtmlLinkInfo, | |
12101 | _swigt__p_int, | |
12102 | _swigt__p_wxHtmlBookRecord, | |
12103 | 0 | |
12104 | }; | |
12105 | ||
12106 | ||
12107 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
12108 | ||
12109 | static swig_const_info swig_const_table[] = { | |
12110 | {0}}; | |
12111 | ||
12112 | #ifdef __cplusplus | |
12113 | } | |
12114 | #endif | |
12115 | ||
12116 | #ifdef __cplusplus | |
12117 | extern "C" | |
12118 | #endif | |
12119 | SWIGEXPORT(void) SWIG_init(void) { | |
12120 | static PyObject *SWIG_globals = 0; | |
12121 | static int typeinit = 0; | |
12122 | PyObject *m, *d; | |
12123 | int i; | |
12124 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
12125 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
12126 | d = PyModule_GetDict(m); | |
12127 | ||
12128 | if (!typeinit) { | |
12129 | for (i = 0; swig_types_initial[i]; i++) { | |
12130 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
12131 | } | |
12132 | typeinit = 1; | |
12133 | } | |
12134 | SWIG_InstallConstants(d,swig_const_table); | |
12135 | ||
12136 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
12137 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
12138 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
12139 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
12140 | PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT)); | |
12141 | PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER)); | |
12142 | PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT)); | |
12143 | PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM)); | |
12144 | PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP)); | |
12145 | PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND)); | |
12146 | PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND)); | |
12147 | PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS)); | |
12148 | PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT)); | |
12149 | PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT)); | |
12150 | PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT)); | |
12151 | PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP)); | |
12152 | PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM)); | |
12153 | PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL)); | |
12154 | PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL)); | |
12155 | PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL)); | |
12156 | PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR)); | |
12157 | PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP)); | |
12158 | PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER)); | |
12159 | PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1)); | |
12160 | PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2)); | |
12161 | PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3)); | |
12162 | PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4)); | |
12163 | PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5)); | |
12164 | PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6)); | |
12165 | PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7)); | |
12166 | PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER)); | |
12167 | PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO)); | |
12168 | PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION)); | |
12169 | PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE)); | |
12170 | PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN)); | |
12171 | PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK)); | |
12172 | PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT)); | |
12173 | PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE)); | |
12174 | PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE)); | |
12175 | PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER)); | |
12176 | PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT)); | |
12177 | PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN)); | |
12178 | PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING)); | |
12179 | PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT)); | |
12180 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE)); | |
12181 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER)); | |
12182 | PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD)); | |
12183 | PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN)); | |
12184 | PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL)); | |
12185 | PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR)); | |
12186 | PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR)); | |
12187 | PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS)); | |
12188 | PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX)); | |
12189 | PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH)); | |
12190 | PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS)); | |
12191 | PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES)); | |
12192 | PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT)); | |
12193 | PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE)); | |
12194 | ||
12195 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
12196 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
12197 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
12198 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
12199 | ||
12200 | } | |
12201 |