]>
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); // 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); // 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); | |
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); | |
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); | |
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); | |
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); | |
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_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2004 | PyObject *resultobj; | |
2005 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2006 | wxHtmlContainerCell *result; | |
2007 | PyObject * obj0 = 0 ; | |
2008 | char *kwnames[] = { | |
2009 | (char *) "self", NULL | |
2010 | }; | |
2011 | ||
2012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
2013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2015 | { | |
2016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2017 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
2018 | ||
2019 | wxPyEndAllowThreads(__tstate); | |
2020 | if (PyErr_Occurred()) SWIG_fail; | |
2021 | } | |
2022 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2023 | return resultobj; | |
2024 | fail: | |
2025 | return NULL; | |
2026 | } | |
2027 | ||
2028 | ||
2029 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2030 | PyObject *resultobj; | |
2031 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2032 | wxHtmlContainerCell *result; | |
2033 | PyObject * obj0 = 0 ; | |
2034 | char *kwnames[] = { | |
2035 | (char *) "self", NULL | |
2036 | }; | |
2037 | ||
2038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
2039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2041 | { | |
2042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2043 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
2044 | ||
2045 | wxPyEndAllowThreads(__tstate); | |
2046 | if (PyErr_Occurred()) SWIG_fail; | |
2047 | } | |
2048 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2049 | return resultobj; | |
2050 | fail: | |
2051 | return NULL; | |
2052 | } | |
2053 | ||
2054 | ||
2055 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2056 | PyObject *resultobj; | |
2057 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2058 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
2059 | wxHtmlContainerCell *result; | |
2060 | PyObject * obj0 = 0 ; | |
2061 | PyObject * obj1 = 0 ; | |
2062 | char *kwnames[] = { | |
2063 | (char *) "self",(char *) "c", NULL | |
2064 | }; | |
2065 | ||
2066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
2067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2069 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
2070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2071 | { | |
2072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2073 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
2074 | ||
2075 | wxPyEndAllowThreads(__tstate); | |
2076 | if (PyErr_Occurred()) SWIG_fail; | |
2077 | } | |
2078 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2079 | return resultobj; | |
2080 | fail: | |
2081 | return NULL; | |
2082 | } | |
2083 | ||
2084 | ||
2085 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2086 | PyObject *resultobj; | |
2087 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2088 | wxHtmlContainerCell *result; | |
2089 | PyObject * obj0 = 0 ; | |
2090 | char *kwnames[] = { | |
2091 | (char *) "self", NULL | |
2092 | }; | |
2093 | ||
2094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
2095 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2096 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2097 | { | |
2098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2099 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
2100 | ||
2101 | wxPyEndAllowThreads(__tstate); | |
2102 | if (PyErr_Occurred()) SWIG_fail; | |
2103 | } | |
2104 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2105 | return resultobj; | |
2106 | fail: | |
2107 | return NULL; | |
2108 | } | |
2109 | ||
2110 | ||
2111 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2112 | PyObject *resultobj; | |
2113 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2114 | int result; | |
2115 | PyObject * obj0 = 0 ; | |
2116 | char *kwnames[] = { | |
2117 | (char *) "self", NULL | |
2118 | }; | |
2119 | ||
2120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
2121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2123 | { | |
2124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2125 | result = (int)(arg1)->GetFontSize(); | |
2126 | ||
2127 | wxPyEndAllowThreads(__tstate); | |
2128 | if (PyErr_Occurred()) SWIG_fail; | |
2129 | } | |
2130 | resultobj = SWIG_FromInt((int)result); | |
2131 | return resultobj; | |
2132 | fail: | |
2133 | return NULL; | |
2134 | } | |
2135 | ||
2136 | ||
2137 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2138 | PyObject *resultobj; | |
2139 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2140 | int arg2 ; | |
2141 | PyObject * obj0 = 0 ; | |
2142 | PyObject * obj1 = 0 ; | |
2143 | char *kwnames[] = { | |
2144 | (char *) "self",(char *) "s", NULL | |
2145 | }; | |
2146 | ||
2147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail; | |
2148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2150 | arg2 = (int) SWIG_AsInt(obj1); | |
2151 | if (PyErr_Occurred()) SWIG_fail; | |
2152 | { | |
2153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2154 | (arg1)->SetFontSize(arg2); | |
2155 | ||
2156 | wxPyEndAllowThreads(__tstate); | |
2157 | if (PyErr_Occurred()) SWIG_fail; | |
2158 | } | |
2159 | Py_INCREF(Py_None); resultobj = Py_None; | |
2160 | return resultobj; | |
2161 | fail: | |
2162 | return NULL; | |
2163 | } | |
2164 | ||
2165 | ||
2166 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2167 | PyObject *resultobj; | |
2168 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2169 | int result; | |
2170 | PyObject * obj0 = 0 ; | |
2171 | char *kwnames[] = { | |
2172 | (char *) "self", NULL | |
2173 | }; | |
2174 | ||
2175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
2176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2178 | { | |
2179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2180 | result = (int)(arg1)->GetFontBold(); | |
2181 | ||
2182 | wxPyEndAllowThreads(__tstate); | |
2183 | if (PyErr_Occurred()) SWIG_fail; | |
2184 | } | |
2185 | resultobj = SWIG_FromInt((int)result); | |
2186 | return resultobj; | |
2187 | fail: | |
2188 | return NULL; | |
2189 | } | |
2190 | ||
2191 | ||
2192 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2193 | PyObject *resultobj; | |
2194 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2195 | int arg2 ; | |
2196 | PyObject * obj0 = 0 ; | |
2197 | PyObject * obj1 = 0 ; | |
2198 | char *kwnames[] = { | |
2199 | (char *) "self",(char *) "x", NULL | |
2200 | }; | |
2201 | ||
2202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail; | |
2203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2205 | arg2 = (int) SWIG_AsInt(obj1); | |
2206 | if (PyErr_Occurred()) SWIG_fail; | |
2207 | { | |
2208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2209 | (arg1)->SetFontBold(arg2); | |
2210 | ||
2211 | wxPyEndAllowThreads(__tstate); | |
2212 | if (PyErr_Occurred()) SWIG_fail; | |
2213 | } | |
2214 | Py_INCREF(Py_None); resultobj = Py_None; | |
2215 | return resultobj; | |
2216 | fail: | |
2217 | return NULL; | |
2218 | } | |
2219 | ||
2220 | ||
2221 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2222 | PyObject *resultobj; | |
2223 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2224 | int result; | |
2225 | PyObject * obj0 = 0 ; | |
2226 | char *kwnames[] = { | |
2227 | (char *) "self", NULL | |
2228 | }; | |
2229 | ||
2230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
2231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2233 | { | |
2234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2235 | result = (int)(arg1)->GetFontItalic(); | |
2236 | ||
2237 | wxPyEndAllowThreads(__tstate); | |
2238 | if (PyErr_Occurred()) SWIG_fail; | |
2239 | } | |
2240 | resultobj = SWIG_FromInt((int)result); | |
2241 | return resultobj; | |
2242 | fail: | |
2243 | return NULL; | |
2244 | } | |
2245 | ||
2246 | ||
2247 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2248 | PyObject *resultobj; | |
2249 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2250 | int arg2 ; | |
2251 | PyObject * obj0 = 0 ; | |
2252 | PyObject * obj1 = 0 ; | |
2253 | char *kwnames[] = { | |
2254 | (char *) "self",(char *) "x", NULL | |
2255 | }; | |
2256 | ||
2257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail; | |
2258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2260 | arg2 = (int) SWIG_AsInt(obj1); | |
2261 | if (PyErr_Occurred()) SWIG_fail; | |
2262 | { | |
2263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2264 | (arg1)->SetFontItalic(arg2); | |
2265 | ||
2266 | wxPyEndAllowThreads(__tstate); | |
2267 | if (PyErr_Occurred()) SWIG_fail; | |
2268 | } | |
2269 | Py_INCREF(Py_None); resultobj = Py_None; | |
2270 | return resultobj; | |
2271 | fail: | |
2272 | return NULL; | |
2273 | } | |
2274 | ||
2275 | ||
2276 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2277 | PyObject *resultobj; | |
2278 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2279 | int result; | |
2280 | PyObject * obj0 = 0 ; | |
2281 | char *kwnames[] = { | |
2282 | (char *) "self", NULL | |
2283 | }; | |
2284 | ||
2285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
2286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2288 | { | |
2289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2290 | result = (int)(arg1)->GetFontUnderlined(); | |
2291 | ||
2292 | wxPyEndAllowThreads(__tstate); | |
2293 | if (PyErr_Occurred()) SWIG_fail; | |
2294 | } | |
2295 | resultobj = SWIG_FromInt((int)result); | |
2296 | return resultobj; | |
2297 | fail: | |
2298 | return NULL; | |
2299 | } | |
2300 | ||
2301 | ||
2302 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2303 | PyObject *resultobj; | |
2304 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2305 | int arg2 ; | |
2306 | PyObject * obj0 = 0 ; | |
2307 | PyObject * obj1 = 0 ; | |
2308 | char *kwnames[] = { | |
2309 | (char *) "self",(char *) "x", NULL | |
2310 | }; | |
2311 | ||
2312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail; | |
2313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2315 | arg2 = (int) SWIG_AsInt(obj1); | |
2316 | if (PyErr_Occurred()) SWIG_fail; | |
2317 | { | |
2318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2319 | (arg1)->SetFontUnderlined(arg2); | |
2320 | ||
2321 | wxPyEndAllowThreads(__tstate); | |
2322 | if (PyErr_Occurred()) SWIG_fail; | |
2323 | } | |
2324 | Py_INCREF(Py_None); resultobj = Py_None; | |
2325 | return resultobj; | |
2326 | fail: | |
2327 | return NULL; | |
2328 | } | |
2329 | ||
2330 | ||
2331 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2332 | PyObject *resultobj; | |
2333 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2334 | int result; | |
2335 | PyObject * obj0 = 0 ; | |
2336 | char *kwnames[] = { | |
2337 | (char *) "self", NULL | |
2338 | }; | |
2339 | ||
2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
2341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2343 | { | |
2344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2345 | result = (int)(arg1)->GetFontFixed(); | |
2346 | ||
2347 | wxPyEndAllowThreads(__tstate); | |
2348 | if (PyErr_Occurred()) SWIG_fail; | |
2349 | } | |
2350 | resultobj = SWIG_FromInt((int)result); | |
2351 | return resultobj; | |
2352 | fail: | |
2353 | return NULL; | |
2354 | } | |
2355 | ||
2356 | ||
2357 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2358 | PyObject *resultobj; | |
2359 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2360 | int arg2 ; | |
2361 | PyObject * obj0 = 0 ; | |
2362 | PyObject * obj1 = 0 ; | |
2363 | char *kwnames[] = { | |
2364 | (char *) "self",(char *) "x", NULL | |
2365 | }; | |
2366 | ||
2367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail; | |
2368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2370 | arg2 = (int) SWIG_AsInt(obj1); | |
2371 | if (PyErr_Occurred()) SWIG_fail; | |
2372 | { | |
2373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2374 | (arg1)->SetFontFixed(arg2); | |
2375 | ||
2376 | wxPyEndAllowThreads(__tstate); | |
2377 | if (PyErr_Occurred()) SWIG_fail; | |
2378 | } | |
2379 | Py_INCREF(Py_None); resultobj = Py_None; | |
2380 | return resultobj; | |
2381 | fail: | |
2382 | return NULL; | |
2383 | } | |
2384 | ||
2385 | ||
2386 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2387 | PyObject *resultobj; | |
2388 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2389 | int result; | |
2390 | PyObject * obj0 = 0 ; | |
2391 | char *kwnames[] = { | |
2392 | (char *) "self", NULL | |
2393 | }; | |
2394 | ||
2395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2398 | { | |
2399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2400 | result = (int)(arg1)->GetAlign(); | |
2401 | ||
2402 | wxPyEndAllowThreads(__tstate); | |
2403 | if (PyErr_Occurred()) SWIG_fail; | |
2404 | } | |
2405 | resultobj = SWIG_FromInt((int)result); | |
2406 | return resultobj; | |
2407 | fail: | |
2408 | return NULL; | |
2409 | } | |
2410 | ||
2411 | ||
2412 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2413 | PyObject *resultobj; | |
2414 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2415 | int arg2 ; | |
2416 | PyObject * obj0 = 0 ; | |
2417 | PyObject * obj1 = 0 ; | |
2418 | char *kwnames[] = { | |
2419 | (char *) "self",(char *) "a", NULL | |
2420 | }; | |
2421 | ||
2422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
2423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2425 | arg2 = (int) SWIG_AsInt(obj1); | |
2426 | if (PyErr_Occurred()) SWIG_fail; | |
2427 | { | |
2428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2429 | (arg1)->SetAlign(arg2); | |
2430 | ||
2431 | wxPyEndAllowThreads(__tstate); | |
2432 | if (PyErr_Occurred()) SWIG_fail; | |
2433 | } | |
2434 | Py_INCREF(Py_None); resultobj = Py_None; | |
2435 | return resultobj; | |
2436 | fail: | |
2437 | return NULL; | |
2438 | } | |
2439 | ||
2440 | ||
2441 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2442 | PyObject *resultobj; | |
2443 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2444 | wxColour result; | |
2445 | PyObject * obj0 = 0 ; | |
2446 | char *kwnames[] = { | |
2447 | (char *) "self", NULL | |
2448 | }; | |
2449 | ||
2450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2453 | { | |
2454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2455 | result = (arg1)->GetLinkColor(); | |
2456 | ||
2457 | wxPyEndAllowThreads(__tstate); | |
2458 | if (PyErr_Occurred()) SWIG_fail; | |
2459 | } | |
2460 | { | |
2461 | wxColour * resultptr; | |
2462 | resultptr = new wxColour((wxColour &) result); | |
2463 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
2464 | } | |
2465 | return resultobj; | |
2466 | fail: | |
2467 | return NULL; | |
2468 | } | |
2469 | ||
2470 | ||
2471 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2472 | PyObject *resultobj; | |
2473 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2474 | wxColour *arg2 = 0 ; | |
2475 | wxColour temp2 ; | |
2476 | PyObject * obj0 = 0 ; | |
2477 | PyObject * obj1 = 0 ; | |
2478 | char *kwnames[] = { | |
2479 | (char *) "self",(char *) "clr", NULL | |
2480 | }; | |
2481 | ||
2482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2485 | { | |
2486 | arg2 = &temp2; | |
2487 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2488 | } | |
2489 | { | |
2490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2491 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2492 | ||
2493 | wxPyEndAllowThreads(__tstate); | |
2494 | if (PyErr_Occurred()) SWIG_fail; | |
2495 | } | |
2496 | Py_INCREF(Py_None); resultobj = Py_None; | |
2497 | return resultobj; | |
2498 | fail: | |
2499 | return NULL; | |
2500 | } | |
2501 | ||
2502 | ||
2503 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2504 | PyObject *resultobj; | |
2505 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2506 | wxColour result; | |
2507 | PyObject * obj0 = 0 ; | |
2508 | char *kwnames[] = { | |
2509 | (char *) "self", NULL | |
2510 | }; | |
2511 | ||
2512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2513 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2514 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2515 | { | |
2516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2517 | result = (arg1)->GetActualColor(); | |
2518 | ||
2519 | wxPyEndAllowThreads(__tstate); | |
2520 | if (PyErr_Occurred()) SWIG_fail; | |
2521 | } | |
2522 | { | |
2523 | wxColour * resultptr; | |
2524 | resultptr = new wxColour((wxColour &) result); | |
2525 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
2526 | } | |
2527 | return resultobj; | |
2528 | fail: | |
2529 | return NULL; | |
2530 | } | |
2531 | ||
2532 | ||
2533 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2534 | PyObject *resultobj; | |
2535 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2536 | wxColour *arg2 = 0 ; | |
2537 | wxColour temp2 ; | |
2538 | PyObject * obj0 = 0 ; | |
2539 | PyObject * obj1 = 0 ; | |
2540 | char *kwnames[] = { | |
2541 | (char *) "self",(char *) "clr", NULL | |
2542 | }; | |
2543 | ||
2544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2547 | { | |
2548 | arg2 = &temp2; | |
2549 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2550 | } | |
2551 | { | |
2552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2553 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2554 | ||
2555 | wxPyEndAllowThreads(__tstate); | |
2556 | if (PyErr_Occurred()) SWIG_fail; | |
2557 | } | |
2558 | Py_INCREF(Py_None); resultobj = Py_None; | |
2559 | return resultobj; | |
2560 | fail: | |
2561 | return NULL; | |
2562 | } | |
2563 | ||
2564 | ||
2565 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2566 | PyObject *resultobj; | |
2567 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2568 | wxString *arg2 = 0 ; | |
2569 | bool temp2 = False ; | |
2570 | PyObject * obj0 = 0 ; | |
2571 | PyObject * obj1 = 0 ; | |
2572 | char *kwnames[] = { | |
2573 | (char *) "self",(char *) "link", NULL | |
2574 | }; | |
2575 | ||
2576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2579 | { | |
2580 | arg2 = wxString_in_helper(obj1); | |
2581 | if (arg2 == NULL) SWIG_fail; | |
2582 | temp2 = True; | |
2583 | } | |
2584 | { | |
2585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2586 | (arg1)->SetLink((wxString const &)*arg2); | |
2587 | ||
2588 | wxPyEndAllowThreads(__tstate); | |
2589 | if (PyErr_Occurred()) SWIG_fail; | |
2590 | } | |
2591 | Py_INCREF(Py_None); resultobj = Py_None; | |
2592 | { | |
2593 | if (temp2) | |
2594 | delete arg2; | |
2595 | } | |
2596 | return resultobj; | |
2597 | fail: | |
2598 | { | |
2599 | if (temp2) | |
2600 | delete arg2; | |
2601 | } | |
2602 | return NULL; | |
2603 | } | |
2604 | ||
2605 | ||
2606 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2607 | PyObject *resultobj; | |
2608 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2609 | wxFont *result; | |
2610 | PyObject * obj0 = 0 ; | |
2611 | char *kwnames[] = { | |
2612 | (char *) "self", NULL | |
2613 | }; | |
2614 | ||
2615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2618 | { | |
2619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2620 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2621 | ||
2622 | wxPyEndAllowThreads(__tstate); | |
2623 | if (PyErr_Occurred()) SWIG_fail; | |
2624 | } | |
2625 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); | |
2626 | return resultobj; | |
2627 | fail: | |
2628 | return NULL; | |
2629 | } | |
2630 | ||
2631 | ||
2632 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2633 | PyObject *resultobj; | |
2634 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2635 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2636 | PyObject * obj0 = 0 ; | |
2637 | char *kwnames[] = { | |
2638 | (char *) "self", NULL | |
2639 | }; | |
2640 | ||
2641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2644 | { | |
2645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2646 | result = (arg1)->GetLink(); | |
2647 | ||
2648 | wxPyEndAllowThreads(__tstate); | |
2649 | if (PyErr_Occurred()) SWIG_fail; | |
2650 | } | |
2651 | { | |
2652 | wxHtmlLinkInfo * resultptr; | |
2653 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2654 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2655 | } | |
2656 | return resultobj; | |
2657 | fail: | |
2658 | return NULL; | |
2659 | } | |
2660 | ||
2661 | ||
2662 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2663 | PyObject *obj; | |
2664 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2665 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2666 | Py_INCREF(obj); | |
2667 | return Py_BuildValue((char *)""); | |
2668 | } | |
2669 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2670 | PyObject *resultobj; | |
2671 | wxPyHtmlTagHandler *result; | |
2672 | char *kwnames[] = { | |
2673 | NULL | |
2674 | }; | |
2675 | ||
2676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2677 | { | |
2678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2679 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2680 | ||
2681 | wxPyEndAllowThreads(__tstate); | |
2682 | if (PyErr_Occurred()) SWIG_fail; | |
2683 | } | |
2684 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2685 | return resultobj; | |
2686 | fail: | |
2687 | return NULL; | |
2688 | } | |
2689 | ||
2690 | ||
2691 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2692 | PyObject *resultobj; | |
2693 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2694 | PyObject *arg2 = (PyObject *) 0 ; | |
2695 | PyObject *arg3 = (PyObject *) 0 ; | |
2696 | PyObject * obj0 = 0 ; | |
2697 | PyObject * obj1 = 0 ; | |
2698 | PyObject * obj2 = 0 ; | |
2699 | char *kwnames[] = { | |
2700 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2701 | }; | |
2702 | ||
2703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2706 | arg2 = obj1; | |
2707 | arg3 = obj2; | |
2708 | { | |
2709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2710 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2711 | ||
2712 | wxPyEndAllowThreads(__tstate); | |
2713 | if (PyErr_Occurred()) SWIG_fail; | |
2714 | } | |
2715 | Py_INCREF(Py_None); resultobj = Py_None; | |
2716 | return resultobj; | |
2717 | fail: | |
2718 | return NULL; | |
2719 | } | |
2720 | ||
2721 | ||
2722 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2723 | PyObject *resultobj; | |
2724 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2725 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2726 | PyObject * obj0 = 0 ; | |
2727 | PyObject * obj1 = 0 ; | |
2728 | char *kwnames[] = { | |
2729 | (char *) "self",(char *) "parser", NULL | |
2730 | }; | |
2731 | ||
2732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2733 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2734 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2735 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2737 | { | |
2738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2739 | (arg1)->SetParser(arg2); | |
2740 | ||
2741 | wxPyEndAllowThreads(__tstate); | |
2742 | if (PyErr_Occurred()) SWIG_fail; | |
2743 | } | |
2744 | Py_INCREF(Py_None); resultobj = Py_None; | |
2745 | return resultobj; | |
2746 | fail: | |
2747 | return NULL; | |
2748 | } | |
2749 | ||
2750 | ||
2751 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2752 | PyObject *resultobj; | |
2753 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2754 | wxHtmlParser *result; | |
2755 | PyObject * obj0 = 0 ; | |
2756 | char *kwnames[] = { | |
2757 | (char *) "self", NULL | |
2758 | }; | |
2759 | ||
2760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2761 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2762 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2763 | { | |
2764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2765 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2766 | ||
2767 | wxPyEndAllowThreads(__tstate); | |
2768 | if (PyErr_Occurred()) SWIG_fail; | |
2769 | } | |
2770 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0); | |
2771 | return resultobj; | |
2772 | fail: | |
2773 | return NULL; | |
2774 | } | |
2775 | ||
2776 | ||
2777 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2778 | PyObject *resultobj; | |
2779 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2780 | wxHtmlTag *arg2 = 0 ; | |
2781 | PyObject * obj0 = 0 ; | |
2782 | PyObject * obj1 = 0 ; | |
2783 | char *kwnames[] = { | |
2784 | (char *) "self",(char *) "tag", NULL | |
2785 | }; | |
2786 | ||
2787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2790 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2791 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2792 | SWIG_fail; | |
2793 | if (arg2 == NULL) { | |
2794 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2795 | SWIG_fail; | |
2796 | } | |
2797 | { | |
2798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2799 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2800 | ||
2801 | wxPyEndAllowThreads(__tstate); | |
2802 | if (PyErr_Occurred()) SWIG_fail; | |
2803 | } | |
2804 | Py_INCREF(Py_None); resultobj = Py_None; | |
2805 | return resultobj; | |
2806 | fail: | |
2807 | return NULL; | |
2808 | } | |
2809 | ||
2810 | ||
2811 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2812 | PyObject *obj; | |
2813 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2814 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2815 | Py_INCREF(obj); | |
2816 | return Py_BuildValue((char *)""); | |
2817 | } | |
2818 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2819 | PyObject *resultobj; | |
2820 | wxPyHtmlWinTagHandler *result; | |
2821 | char *kwnames[] = { | |
2822 | NULL | |
2823 | }; | |
2824 | ||
2825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2826 | { | |
2827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2828 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2829 | ||
2830 | wxPyEndAllowThreads(__tstate); | |
2831 | if (PyErr_Occurred()) SWIG_fail; | |
2832 | } | |
2833 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2834 | return resultobj; | |
2835 | fail: | |
2836 | return NULL; | |
2837 | } | |
2838 | ||
2839 | ||
2840 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2841 | PyObject *resultobj; | |
2842 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2843 | PyObject *arg2 = (PyObject *) 0 ; | |
2844 | PyObject *arg3 = (PyObject *) 0 ; | |
2845 | PyObject * obj0 = 0 ; | |
2846 | PyObject * obj1 = 0 ; | |
2847 | PyObject * obj2 = 0 ; | |
2848 | char *kwnames[] = { | |
2849 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2850 | }; | |
2851 | ||
2852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2855 | arg2 = obj1; | |
2856 | arg3 = obj2; | |
2857 | { | |
2858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2859 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2860 | ||
2861 | wxPyEndAllowThreads(__tstate); | |
2862 | if (PyErr_Occurred()) SWIG_fail; | |
2863 | } | |
2864 | Py_INCREF(Py_None); resultobj = Py_None; | |
2865 | return resultobj; | |
2866 | fail: | |
2867 | return NULL; | |
2868 | } | |
2869 | ||
2870 | ||
2871 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2872 | PyObject *resultobj; | |
2873 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2874 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2875 | PyObject * obj0 = 0 ; | |
2876 | PyObject * obj1 = 0 ; | |
2877 | char *kwnames[] = { | |
2878 | (char *) "self",(char *) "parser", NULL | |
2879 | }; | |
2880 | ||
2881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2884 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2886 | { | |
2887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2888 | (arg1)->SetParser(arg2); | |
2889 | ||
2890 | wxPyEndAllowThreads(__tstate); | |
2891 | if (PyErr_Occurred()) SWIG_fail; | |
2892 | } | |
2893 | Py_INCREF(Py_None); resultobj = Py_None; | |
2894 | return resultobj; | |
2895 | fail: | |
2896 | return NULL; | |
2897 | } | |
2898 | ||
2899 | ||
2900 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2901 | PyObject *resultobj; | |
2902 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2903 | wxHtmlWinParser *result; | |
2904 | PyObject * obj0 = 0 ; | |
2905 | char *kwnames[] = { | |
2906 | (char *) "self", NULL | |
2907 | }; | |
2908 | ||
2909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2910 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2911 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2912 | { | |
2913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2914 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2915 | ||
2916 | wxPyEndAllowThreads(__tstate); | |
2917 | if (PyErr_Occurred()) SWIG_fail; | |
2918 | } | |
2919 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); | |
2920 | return resultobj; | |
2921 | fail: | |
2922 | return NULL; | |
2923 | } | |
2924 | ||
2925 | ||
2926 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2927 | PyObject *resultobj; | |
2928 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2929 | wxHtmlTag *arg2 = 0 ; | |
2930 | PyObject * obj0 = 0 ; | |
2931 | PyObject * obj1 = 0 ; | |
2932 | char *kwnames[] = { | |
2933 | (char *) "self",(char *) "tag", NULL | |
2934 | }; | |
2935 | ||
2936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2939 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2940 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2941 | SWIG_fail; | |
2942 | if (arg2 == NULL) { | |
2943 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2944 | SWIG_fail; | |
2945 | } | |
2946 | { | |
2947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2948 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2949 | ||
2950 | wxPyEndAllowThreads(__tstate); | |
2951 | if (PyErr_Occurred()) SWIG_fail; | |
2952 | } | |
2953 | Py_INCREF(Py_None); resultobj = Py_None; | |
2954 | return resultobj; | |
2955 | fail: | |
2956 | return NULL; | |
2957 | } | |
2958 | ||
2959 | ||
2960 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2961 | PyObject *obj; | |
2962 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2963 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2964 | Py_INCREF(obj); | |
2965 | return Py_BuildValue((char *)""); | |
2966 | } | |
2967 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2968 | PyObject *resultobj; | |
2969 | PyObject *arg1 = (PyObject *) 0 ; | |
2970 | PyObject * obj0 = 0 ; | |
2971 | char *kwnames[] = { | |
2972 | (char *) "tagHandlerClass", NULL | |
2973 | }; | |
2974 | ||
2975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2976 | arg1 = obj0; | |
2977 | { | |
2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2979 | wxHtmlWinParser_AddTagHandler(arg1); | |
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 *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2992 | PyObject *resultobj; | |
2993 | wxHtmlSelection *result; | |
2994 | char *kwnames[] = { | |
2995 | NULL | |
2996 | }; | |
2997 | ||
2998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2999 | { | |
3000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3001 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
3002 | ||
3003 | wxPyEndAllowThreads(__tstate); | |
3004 | if (PyErr_Occurred()) SWIG_fail; | |
3005 | } | |
3006 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1); | |
3007 | return resultobj; | |
3008 | fail: | |
3009 | return NULL; | |
3010 | } | |
3011 | ||
3012 | ||
3013 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3014 | PyObject *resultobj; | |
3015 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3016 | PyObject * obj0 = 0 ; | |
3017 | char *kwnames[] = { | |
3018 | (char *) "self", NULL | |
3019 | }; | |
3020 | ||
3021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
3022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3024 | { | |
3025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3026 | delete arg1; | |
3027 | ||
3028 | wxPyEndAllowThreads(__tstate); | |
3029 | if (PyErr_Occurred()) SWIG_fail; | |
3030 | } | |
3031 | Py_INCREF(Py_None); resultobj = Py_None; | |
3032 | return resultobj; | |
3033 | fail: | |
3034 | return NULL; | |
3035 | } | |
3036 | ||
3037 | ||
3038 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3039 | PyObject *resultobj; | |
3040 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3041 | wxPoint *arg2 = 0 ; | |
3042 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3043 | wxPoint *arg4 = 0 ; | |
3044 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
3045 | wxPoint temp2 ; | |
3046 | wxPoint temp4 ; | |
3047 | PyObject * obj0 = 0 ; | |
3048 | PyObject * obj1 = 0 ; | |
3049 | PyObject * obj2 = 0 ; | |
3050 | PyObject * obj3 = 0 ; | |
3051 | PyObject * obj4 = 0 ; | |
3052 | char *kwnames[] = { | |
3053 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
3054 | }; | |
3055 | ||
3056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3059 | { | |
3060 | arg2 = &temp2; | |
3061 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3062 | } | |
3063 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3065 | { | |
3066 | arg4 = &temp4; | |
3067 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3068 | } | |
3069 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell, | |
3070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3071 | { | |
3072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3073 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
3074 | ||
3075 | wxPyEndAllowThreads(__tstate); | |
3076 | if (PyErr_Occurred()) SWIG_fail; | |
3077 | } | |
3078 | Py_INCREF(Py_None); resultobj = Py_None; | |
3079 | return resultobj; | |
3080 | fail: | |
3081 | return NULL; | |
3082 | } | |
3083 | ||
3084 | ||
3085 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3086 | PyObject *resultobj; | |
3087 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3088 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3089 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3090 | PyObject * obj0 = 0 ; | |
3091 | PyObject * obj1 = 0 ; | |
3092 | PyObject * obj2 = 0 ; | |
3093 | char *kwnames[] = { | |
3094 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
3095 | }; | |
3096 | ||
3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3100 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
3101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3102 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3104 | { | |
3105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3106 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
3107 | ||
3108 | wxPyEndAllowThreads(__tstate); | |
3109 | if (PyErr_Occurred()) SWIG_fail; | |
3110 | } | |
3111 | Py_INCREF(Py_None); resultobj = Py_None; | |
3112 | return resultobj; | |
3113 | fail: | |
3114 | return NULL; | |
3115 | } | |
3116 | ||
3117 | ||
3118 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3119 | PyObject *resultobj; | |
3120 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3121 | wxHtmlCell *result; | |
3122 | PyObject * obj0 = 0 ; | |
3123 | char *kwnames[] = { | |
3124 | (char *) "self", NULL | |
3125 | }; | |
3126 | ||
3127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
3128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3130 | { | |
3131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3132 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
3133 | ||
3134 | wxPyEndAllowThreads(__tstate); | |
3135 | if (PyErr_Occurred()) SWIG_fail; | |
3136 | } | |
3137 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
3138 | return resultobj; | |
3139 | fail: | |
3140 | return NULL; | |
3141 | } | |
3142 | ||
3143 | ||
3144 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3145 | PyObject *resultobj; | |
3146 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3147 | wxHtmlCell *result; | |
3148 | PyObject * obj0 = 0 ; | |
3149 | char *kwnames[] = { | |
3150 | (char *) "self", NULL | |
3151 | }; | |
3152 | ||
3153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
3154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3156 | { | |
3157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3158 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
3159 | ||
3160 | wxPyEndAllowThreads(__tstate); | |
3161 | if (PyErr_Occurred()) SWIG_fail; | |
3162 | } | |
3163 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
3164 | return resultobj; | |
3165 | fail: | |
3166 | return NULL; | |
3167 | } | |
3168 | ||
3169 | ||
3170 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3171 | PyObject *resultobj; | |
3172 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3173 | wxPoint *result; | |
3174 | PyObject * obj0 = 0 ; | |
3175 | char *kwnames[] = { | |
3176 | (char *) "self", NULL | |
3177 | }; | |
3178 | ||
3179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
3180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3182 | { | |
3183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3184 | { | |
3185 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
3186 | result = (wxPoint *) &_result_ref; | |
3187 | } | |
3188 | ||
3189 | wxPyEndAllowThreads(__tstate); | |
3190 | if (PyErr_Occurred()) SWIG_fail; | |
3191 | } | |
3192 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3193 | return resultobj; | |
3194 | fail: | |
3195 | return NULL; | |
3196 | } | |
3197 | ||
3198 | ||
3199 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3200 | PyObject *resultobj; | |
3201 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3202 | wxPoint *result; | |
3203 | PyObject * obj0 = 0 ; | |
3204 | char *kwnames[] = { | |
3205 | (char *) "self", NULL | |
3206 | }; | |
3207 | ||
3208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
3209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3211 | { | |
3212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3213 | { | |
3214 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
3215 | result = (wxPoint *) &_result_ref; | |
3216 | } | |
3217 | ||
3218 | wxPyEndAllowThreads(__tstate); | |
3219 | if (PyErr_Occurred()) SWIG_fail; | |
3220 | } | |
3221 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3222 | return resultobj; | |
3223 | fail: | |
3224 | return NULL; | |
3225 | } | |
3226 | ||
3227 | ||
3228 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3229 | PyObject *resultobj; | |
3230 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3231 | wxPoint *result; | |
3232 | PyObject * obj0 = 0 ; | |
3233 | char *kwnames[] = { | |
3234 | (char *) "self", NULL | |
3235 | }; | |
3236 | ||
3237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
3238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3240 | { | |
3241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3242 | { | |
3243 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
3244 | result = (wxPoint *) &_result_ref; | |
3245 | } | |
3246 | ||
3247 | wxPyEndAllowThreads(__tstate); | |
3248 | if (PyErr_Occurred()) SWIG_fail; | |
3249 | } | |
3250 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3251 | return resultobj; | |
3252 | fail: | |
3253 | return NULL; | |
3254 | } | |
3255 | ||
3256 | ||
3257 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3258 | PyObject *resultobj; | |
3259 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3260 | wxPoint *result; | |
3261 | PyObject * obj0 = 0 ; | |
3262 | char *kwnames[] = { | |
3263 | (char *) "self", NULL | |
3264 | }; | |
3265 | ||
3266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
3267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3269 | { | |
3270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3271 | { | |
3272 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
3273 | result = (wxPoint *) &_result_ref; | |
3274 | } | |
3275 | ||
3276 | wxPyEndAllowThreads(__tstate); | |
3277 | if (PyErr_Occurred()) SWIG_fail; | |
3278 | } | |
3279 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3280 | return resultobj; | |
3281 | fail: | |
3282 | return NULL; | |
3283 | } | |
3284 | ||
3285 | ||
3286 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3287 | PyObject *resultobj; | |
3288 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3289 | wxPoint *arg2 = 0 ; | |
3290 | wxPoint temp2 ; | |
3291 | PyObject * obj0 = 0 ; | |
3292 | PyObject * obj1 = 0 ; | |
3293 | char *kwnames[] = { | |
3294 | (char *) "self",(char *) "pos", NULL | |
3295 | }; | |
3296 | ||
3297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
3298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3300 | { | |
3301 | arg2 = &temp2; | |
3302 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3303 | } | |
3304 | { | |
3305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3306 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
3307 | ||
3308 | wxPyEndAllowThreads(__tstate); | |
3309 | if (PyErr_Occurred()) SWIG_fail; | |
3310 | } | |
3311 | Py_INCREF(Py_None); resultobj = Py_None; | |
3312 | return resultobj; | |
3313 | fail: | |
3314 | return NULL; | |
3315 | } | |
3316 | ||
3317 | ||
3318 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3319 | PyObject *resultobj; | |
3320 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3321 | wxPoint *arg2 = 0 ; | |
3322 | wxPoint temp2 ; | |
3323 | PyObject * obj0 = 0 ; | |
3324 | PyObject * obj1 = 0 ; | |
3325 | char *kwnames[] = { | |
3326 | (char *) "self",(char *) "pos", NULL | |
3327 | }; | |
3328 | ||
3329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
3330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3332 | { | |
3333 | arg2 = &temp2; | |
3334 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3335 | } | |
3336 | { | |
3337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3338 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
3339 | ||
3340 | wxPyEndAllowThreads(__tstate); | |
3341 | if (PyErr_Occurred()) SWIG_fail; | |
3342 | } | |
3343 | Py_INCREF(Py_None); resultobj = Py_None; | |
3344 | return resultobj; | |
3345 | fail: | |
3346 | return NULL; | |
3347 | } | |
3348 | ||
3349 | ||
3350 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3351 | PyObject *resultobj; | |
3352 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3353 | PyObject * obj0 = 0 ; | |
3354 | char *kwnames[] = { | |
3355 | (char *) "self", NULL | |
3356 | }; | |
3357 | ||
3358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
3359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3361 | { | |
3362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3363 | (arg1)->ClearPrivPos(); | |
3364 | ||
3365 | wxPyEndAllowThreads(__tstate); | |
3366 | if (PyErr_Occurred()) SWIG_fail; | |
3367 | } | |
3368 | Py_INCREF(Py_None); resultobj = Py_None; | |
3369 | return resultobj; | |
3370 | fail: | |
3371 | return NULL; | |
3372 | } | |
3373 | ||
3374 | ||
3375 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3376 | PyObject *resultobj; | |
3377 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3378 | bool result; | |
3379 | PyObject * obj0 = 0 ; | |
3380 | char *kwnames[] = { | |
3381 | (char *) "self", NULL | |
3382 | }; | |
3383 | ||
3384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
3385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3387 | { | |
3388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3389 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
3390 | ||
3391 | wxPyEndAllowThreads(__tstate); | |
3392 | if (PyErr_Occurred()) SWIG_fail; | |
3393 | } | |
3394 | { | |
3395 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3396 | } | |
3397 | return resultobj; | |
3398 | fail: | |
3399 | return NULL; | |
3400 | } | |
3401 | ||
3402 | ||
3403 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
3404 | PyObject *obj; | |
3405 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3406 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
3407 | Py_INCREF(obj); | |
3408 | return Py_BuildValue((char *)""); | |
3409 | } | |
3410 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3411 | PyObject *resultobj; | |
3412 | wxHtmlRenderingState *result; | |
3413 | char *kwnames[] = { | |
3414 | NULL | |
3415 | }; | |
3416 | ||
3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
3418 | { | |
3419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3420 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
3421 | ||
3422 | wxPyEndAllowThreads(__tstate); | |
3423 | if (PyErr_Occurred()) SWIG_fail; | |
3424 | } | |
3425 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1); | |
3426 | return resultobj; | |
3427 | fail: | |
3428 | return NULL; | |
3429 | } | |
3430 | ||
3431 | ||
3432 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3433 | PyObject *resultobj; | |
3434 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3435 | PyObject * obj0 = 0 ; | |
3436 | char *kwnames[] = { | |
3437 | (char *) "self", NULL | |
3438 | }; | |
3439 | ||
3440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
3441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3443 | { | |
3444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3445 | delete arg1; | |
3446 | ||
3447 | wxPyEndAllowThreads(__tstate); | |
3448 | if (PyErr_Occurred()) SWIG_fail; | |
3449 | } | |
3450 | Py_INCREF(Py_None); resultobj = Py_None; | |
3451 | return resultobj; | |
3452 | fail: | |
3453 | return NULL; | |
3454 | } | |
3455 | ||
3456 | ||
3457 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3458 | PyObject *resultobj; | |
3459 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3460 | int arg2 ; | |
3461 | PyObject * obj0 = 0 ; | |
3462 | PyObject * obj1 = 0 ; | |
3463 | char *kwnames[] = { | |
3464 | (char *) "self",(char *) "s", NULL | |
3465 | }; | |
3466 | ||
3467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail; | |
3468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3470 | arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1); | |
3471 | if (PyErr_Occurred()) SWIG_fail; | |
3472 | { | |
3473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3474 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3475 | ||
3476 | wxPyEndAllowThreads(__tstate); | |
3477 | if (PyErr_Occurred()) SWIG_fail; | |
3478 | } | |
3479 | Py_INCREF(Py_None); resultobj = Py_None; | |
3480 | return resultobj; | |
3481 | fail: | |
3482 | return NULL; | |
3483 | } | |
3484 | ||
3485 | ||
3486 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3487 | PyObject *resultobj; | |
3488 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3489 | int result; | |
3490 | PyObject * obj0 = 0 ; | |
3491 | char *kwnames[] = { | |
3492 | (char *) "self", NULL | |
3493 | }; | |
3494 | ||
3495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3498 | { | |
3499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3500 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3501 | ||
3502 | wxPyEndAllowThreads(__tstate); | |
3503 | if (PyErr_Occurred()) SWIG_fail; | |
3504 | } | |
3505 | resultobj = SWIG_FromInt((int)result); | |
3506 | return resultobj; | |
3507 | fail: | |
3508 | return NULL; | |
3509 | } | |
3510 | ||
3511 | ||
3512 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3513 | PyObject *resultobj; | |
3514 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3515 | wxColour *arg2 = 0 ; | |
3516 | wxColour temp2 ; | |
3517 | PyObject * obj0 = 0 ; | |
3518 | PyObject * obj1 = 0 ; | |
3519 | char *kwnames[] = { | |
3520 | (char *) "self",(char *) "c", NULL | |
3521 | }; | |
3522 | ||
3523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3526 | { | |
3527 | arg2 = &temp2; | |
3528 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3529 | } | |
3530 | { | |
3531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3532 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3533 | ||
3534 | wxPyEndAllowThreads(__tstate); | |
3535 | if (PyErr_Occurred()) SWIG_fail; | |
3536 | } | |
3537 | Py_INCREF(Py_None); resultobj = Py_None; | |
3538 | return resultobj; | |
3539 | fail: | |
3540 | return NULL; | |
3541 | } | |
3542 | ||
3543 | ||
3544 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3545 | PyObject *resultobj; | |
3546 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3547 | wxColour *result; | |
3548 | PyObject * obj0 = 0 ; | |
3549 | char *kwnames[] = { | |
3550 | (char *) "self", NULL | |
3551 | }; | |
3552 | ||
3553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3556 | { | |
3557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3558 | { | |
3559 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3560 | result = (wxColour *) &_result_ref; | |
3561 | } | |
3562 | ||
3563 | wxPyEndAllowThreads(__tstate); | |
3564 | if (PyErr_Occurred()) SWIG_fail; | |
3565 | } | |
3566 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
3567 | return resultobj; | |
3568 | fail: | |
3569 | return NULL; | |
3570 | } | |
3571 | ||
3572 | ||
3573 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3574 | PyObject *resultobj; | |
3575 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3576 | wxColour *arg2 = 0 ; | |
3577 | wxColour temp2 ; | |
3578 | PyObject * obj0 = 0 ; | |
3579 | PyObject * obj1 = 0 ; | |
3580 | char *kwnames[] = { | |
3581 | (char *) "self",(char *) "c", NULL | |
3582 | }; | |
3583 | ||
3584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3587 | { | |
3588 | arg2 = &temp2; | |
3589 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3590 | } | |
3591 | { | |
3592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3593 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3594 | ||
3595 | wxPyEndAllowThreads(__tstate); | |
3596 | if (PyErr_Occurred()) SWIG_fail; | |
3597 | } | |
3598 | Py_INCREF(Py_None); resultobj = Py_None; | |
3599 | return resultobj; | |
3600 | fail: | |
3601 | return NULL; | |
3602 | } | |
3603 | ||
3604 | ||
3605 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3606 | PyObject *resultobj; | |
3607 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3608 | wxColour *result; | |
3609 | PyObject * obj0 = 0 ; | |
3610 | char *kwnames[] = { | |
3611 | (char *) "self", NULL | |
3612 | }; | |
3613 | ||
3614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3617 | { | |
3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3619 | { | |
3620 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3621 | result = (wxColour *) &_result_ref; | |
3622 | } | |
3623 | ||
3624 | wxPyEndAllowThreads(__tstate); | |
3625 | if (PyErr_Occurred()) SWIG_fail; | |
3626 | } | |
3627 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
3628 | return resultobj; | |
3629 | fail: | |
3630 | return NULL; | |
3631 | } | |
3632 | ||
3633 | ||
3634 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3635 | PyObject *obj; | |
3636 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3637 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3638 | Py_INCREF(obj); | |
3639 | return Py_BuildValue((char *)""); | |
3640 | } | |
3641 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3642 | PyObject *resultobj; | |
3643 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3644 | wxColour *arg2 = 0 ; | |
3645 | wxColour result; | |
3646 | wxColour temp2 ; | |
3647 | PyObject * obj0 = 0 ; | |
3648 | PyObject * obj1 = 0 ; | |
3649 | char *kwnames[] = { | |
3650 | (char *) "self",(char *) "clr", NULL | |
3651 | }; | |
3652 | ||
3653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3654 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3656 | { | |
3657 | arg2 = &temp2; | |
3658 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3659 | } | |
3660 | { | |
3661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3662 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3663 | ||
3664 | wxPyEndAllowThreads(__tstate); | |
3665 | if (PyErr_Occurred()) SWIG_fail; | |
3666 | } | |
3667 | { | |
3668 | wxColour * resultptr; | |
3669 | resultptr = new wxColour((wxColour &) result); | |
3670 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3671 | } | |
3672 | return resultobj; | |
3673 | fail: | |
3674 | return NULL; | |
3675 | } | |
3676 | ||
3677 | ||
3678 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3679 | PyObject *resultobj; | |
3680 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3681 | wxColour *arg2 = 0 ; | |
3682 | wxColour result; | |
3683 | wxColour temp2 ; | |
3684 | PyObject * obj0 = 0 ; | |
3685 | PyObject * obj1 = 0 ; | |
3686 | char *kwnames[] = { | |
3687 | (char *) "self",(char *) "clr", NULL | |
3688 | }; | |
3689 | ||
3690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3693 | { | |
3694 | arg2 = &temp2; | |
3695 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3696 | } | |
3697 | { | |
3698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3699 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3700 | ||
3701 | wxPyEndAllowThreads(__tstate); | |
3702 | if (PyErr_Occurred()) SWIG_fail; | |
3703 | } | |
3704 | { | |
3705 | wxColour * resultptr; | |
3706 | resultptr = new wxColour((wxColour &) result); | |
3707 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3708 | } | |
3709 | return resultobj; | |
3710 | fail: | |
3711 | return NULL; | |
3712 | } | |
3713 | ||
3714 | ||
3715 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3716 | PyObject *obj; | |
3717 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3718 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3719 | Py_INCREF(obj); | |
3720 | return Py_BuildValue((char *)""); | |
3721 | } | |
3722 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3723 | PyObject *resultobj; | |
3724 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3725 | wxColour *arg2 = 0 ; | |
3726 | wxColour result; | |
3727 | wxColour temp2 ; | |
3728 | PyObject * obj0 = 0 ; | |
3729 | PyObject * obj1 = 0 ; | |
3730 | char *kwnames[] = { | |
3731 | (char *) "self",(char *) "clr", NULL | |
3732 | }; | |
3733 | ||
3734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, | |
3736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3737 | { | |
3738 | arg2 = &temp2; | |
3739 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3740 | } | |
3741 | { | |
3742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3743 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3744 | ||
3745 | wxPyEndAllowThreads(__tstate); | |
3746 | if (PyErr_Occurred()) SWIG_fail; | |
3747 | } | |
3748 | { | |
3749 | wxColour * resultptr; | |
3750 | resultptr = new wxColour((wxColour &) result); | |
3751 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3752 | } | |
3753 | return resultobj; | |
3754 | fail: | |
3755 | return NULL; | |
3756 | } | |
3757 | ||
3758 | ||
3759 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3760 | PyObject *resultobj; | |
3761 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3762 | wxColour *arg2 = 0 ; | |
3763 | wxColour result; | |
3764 | wxColour temp2 ; | |
3765 | PyObject * obj0 = 0 ; | |
3766 | PyObject * obj1 = 0 ; | |
3767 | char *kwnames[] = { | |
3768 | (char *) "self",(char *) "clr", NULL | |
3769 | }; | |
3770 | ||
3771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, | |
3773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3774 | { | |
3775 | arg2 = &temp2; | |
3776 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3777 | } | |
3778 | { | |
3779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3780 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3781 | ||
3782 | wxPyEndAllowThreads(__tstate); | |
3783 | if (PyErr_Occurred()) SWIG_fail; | |
3784 | } | |
3785 | { | |
3786 | wxColour * resultptr; | |
3787 | resultptr = new wxColour((wxColour &) result); | |
3788 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3789 | } | |
3790 | return resultobj; | |
3791 | fail: | |
3792 | return NULL; | |
3793 | } | |
3794 | ||
3795 | ||
3796 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3797 | PyObject *obj; | |
3798 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3799 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3800 | Py_INCREF(obj); | |
3801 | return Py_BuildValue((char *)""); | |
3802 | } | |
3803 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3804 | PyObject *resultobj; | |
3805 | wxHtmlRenderingInfo *result; | |
3806 | char *kwnames[] = { | |
3807 | NULL | |
3808 | }; | |
3809 | ||
3810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3811 | { | |
3812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3813 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3814 | ||
3815 | wxPyEndAllowThreads(__tstate); | |
3816 | if (PyErr_Occurred()) SWIG_fail; | |
3817 | } | |
3818 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3819 | return resultobj; | |
3820 | fail: | |
3821 | return NULL; | |
3822 | } | |
3823 | ||
3824 | ||
3825 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3826 | PyObject *resultobj; | |
3827 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3828 | PyObject * obj0 = 0 ; | |
3829 | char *kwnames[] = { | |
3830 | (char *) "self", NULL | |
3831 | }; | |
3832 | ||
3833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3836 | { | |
3837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3838 | delete arg1; | |
3839 | ||
3840 | wxPyEndAllowThreads(__tstate); | |
3841 | if (PyErr_Occurred()) SWIG_fail; | |
3842 | } | |
3843 | Py_INCREF(Py_None); resultobj = Py_None; | |
3844 | return resultobj; | |
3845 | fail: | |
3846 | return NULL; | |
3847 | } | |
3848 | ||
3849 | ||
3850 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3851 | PyObject *resultobj; | |
3852 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3853 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3854 | PyObject * obj0 = 0 ; | |
3855 | PyObject * obj1 = 0 ; | |
3856 | char *kwnames[] = { | |
3857 | (char *) "self",(char *) "s", NULL | |
3858 | }; | |
3859 | ||
3860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3863 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
3864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3865 | { | |
3866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3867 | (arg1)->SetSelection(arg2); | |
3868 | ||
3869 | wxPyEndAllowThreads(__tstate); | |
3870 | if (PyErr_Occurred()) SWIG_fail; | |
3871 | } | |
3872 | Py_INCREF(Py_None); resultobj = Py_None; | |
3873 | return resultobj; | |
3874 | fail: | |
3875 | return NULL; | |
3876 | } | |
3877 | ||
3878 | ||
3879 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3880 | PyObject *resultobj; | |
3881 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3882 | wxHtmlSelection *result; | |
3883 | PyObject * obj0 = 0 ; | |
3884 | char *kwnames[] = { | |
3885 | (char *) "self", NULL | |
3886 | }; | |
3887 | ||
3888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3891 | { | |
3892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3893 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3894 | ||
3895 | wxPyEndAllowThreads(__tstate); | |
3896 | if (PyErr_Occurred()) SWIG_fail; | |
3897 | } | |
3898 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0); | |
3899 | return resultobj; | |
3900 | fail: | |
3901 | return NULL; | |
3902 | } | |
3903 | ||
3904 | ||
3905 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3906 | PyObject *resultobj; | |
3907 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3908 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3909 | PyObject * obj0 = 0 ; | |
3910 | PyObject * obj1 = 0 ; | |
3911 | char *kwnames[] = { | |
3912 | (char *) "self",(char *) "style", NULL | |
3913 | }; | |
3914 | ||
3915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3916 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3918 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3920 | { | |
3921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3922 | (arg1)->SetStyle(arg2); | |
3923 | ||
3924 | wxPyEndAllowThreads(__tstate); | |
3925 | if (PyErr_Occurred()) SWIG_fail; | |
3926 | } | |
3927 | Py_INCREF(Py_None); resultobj = Py_None; | |
3928 | return resultobj; | |
3929 | fail: | |
3930 | return NULL; | |
3931 | } | |
3932 | ||
3933 | ||
3934 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3935 | PyObject *resultobj; | |
3936 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3937 | wxHtmlRenderingStyle *result; | |
3938 | PyObject * obj0 = 0 ; | |
3939 | char *kwnames[] = { | |
3940 | (char *) "self", NULL | |
3941 | }; | |
3942 | ||
3943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3946 | { | |
3947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3948 | { | |
3949 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3950 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3951 | } | |
3952 | ||
3953 | wxPyEndAllowThreads(__tstate); | |
3954 | if (PyErr_Occurred()) SWIG_fail; | |
3955 | } | |
3956 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3957 | return resultobj; | |
3958 | fail: | |
3959 | return NULL; | |
3960 | } | |
3961 | ||
3962 | ||
3963 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3964 | PyObject *resultobj; | |
3965 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3966 | wxHtmlRenderingState *result; | |
3967 | PyObject * obj0 = 0 ; | |
3968 | char *kwnames[] = { | |
3969 | (char *) "self", NULL | |
3970 | }; | |
3971 | ||
3972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3975 | { | |
3976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3977 | { | |
3978 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3979 | result = (wxHtmlRenderingState *) &_result_ref; | |
3980 | } | |
3981 | ||
3982 | wxPyEndAllowThreads(__tstate); | |
3983 | if (PyErr_Occurred()) SWIG_fail; | |
3984 | } | |
3985 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3986 | return resultobj; | |
3987 | fail: | |
3988 | return NULL; | |
3989 | } | |
3990 | ||
3991 | ||
3992 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3993 | PyObject *obj; | |
3994 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3995 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3996 | Py_INCREF(obj); | |
3997 | return Py_BuildValue((char *)""); | |
3998 | } | |
3999 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4000 | PyObject *resultobj; | |
4001 | wxHtmlCell *result; | |
4002 | char *kwnames[] = { | |
4003 | NULL | |
4004 | }; | |
4005 | ||
4006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
4007 | { | |
4008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4009 | result = (wxHtmlCell *)new wxHtmlCell(); | |
4010 | ||
4011 | wxPyEndAllowThreads(__tstate); | |
4012 | if (PyErr_Occurred()) SWIG_fail; | |
4013 | } | |
4014 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1); | |
4015 | return resultobj; | |
4016 | fail: | |
4017 | return NULL; | |
4018 | } | |
4019 | ||
4020 | ||
4021 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4022 | PyObject *resultobj; | |
4023 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4024 | int result; | |
4025 | PyObject * obj0 = 0 ; | |
4026 | char *kwnames[] = { | |
4027 | (char *) "self", NULL | |
4028 | }; | |
4029 | ||
4030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
4031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4033 | { | |
4034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4035 | result = (int)(arg1)->GetPosX(); | |
4036 | ||
4037 | wxPyEndAllowThreads(__tstate); | |
4038 | if (PyErr_Occurred()) SWIG_fail; | |
4039 | } | |
4040 | resultobj = SWIG_FromInt((int)result); | |
4041 | return resultobj; | |
4042 | fail: | |
4043 | return NULL; | |
4044 | } | |
4045 | ||
4046 | ||
4047 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4048 | PyObject *resultobj; | |
4049 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4050 | int result; | |
4051 | PyObject * obj0 = 0 ; | |
4052 | char *kwnames[] = { | |
4053 | (char *) "self", NULL | |
4054 | }; | |
4055 | ||
4056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
4057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4059 | { | |
4060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4061 | result = (int)(arg1)->GetPosY(); | |
4062 | ||
4063 | wxPyEndAllowThreads(__tstate); | |
4064 | if (PyErr_Occurred()) SWIG_fail; | |
4065 | } | |
4066 | resultobj = SWIG_FromInt((int)result); | |
4067 | return resultobj; | |
4068 | fail: | |
4069 | return NULL; | |
4070 | } | |
4071 | ||
4072 | ||
4073 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4074 | PyObject *resultobj; | |
4075 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4076 | int result; | |
4077 | PyObject * obj0 = 0 ; | |
4078 | char *kwnames[] = { | |
4079 | (char *) "self", NULL | |
4080 | }; | |
4081 | ||
4082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
4083 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4085 | { | |
4086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4087 | result = (int)(arg1)->GetWidth(); | |
4088 | ||
4089 | wxPyEndAllowThreads(__tstate); | |
4090 | if (PyErr_Occurred()) SWIG_fail; | |
4091 | } | |
4092 | resultobj = SWIG_FromInt((int)result); | |
4093 | return resultobj; | |
4094 | fail: | |
4095 | return NULL; | |
4096 | } | |
4097 | ||
4098 | ||
4099 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4100 | PyObject *resultobj; | |
4101 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4102 | int result; | |
4103 | PyObject * obj0 = 0 ; | |
4104 | char *kwnames[] = { | |
4105 | (char *) "self", NULL | |
4106 | }; | |
4107 | ||
4108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
4109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4111 | { | |
4112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4113 | result = (int)(arg1)->GetHeight(); | |
4114 | ||
4115 | wxPyEndAllowThreads(__tstate); | |
4116 | if (PyErr_Occurred()) SWIG_fail; | |
4117 | } | |
4118 | resultobj = SWIG_FromInt((int)result); | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | return NULL; | |
4122 | } | |
4123 | ||
4124 | ||
4125 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4126 | PyObject *resultobj; | |
4127 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4128 | int result; | |
4129 | PyObject * obj0 = 0 ; | |
4130 | char *kwnames[] = { | |
4131 | (char *) "self", NULL | |
4132 | }; | |
4133 | ||
4134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
4135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4137 | { | |
4138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4139 | result = (int)(arg1)->GetDescent(); | |
4140 | ||
4141 | wxPyEndAllowThreads(__tstate); | |
4142 | if (PyErr_Occurred()) SWIG_fail; | |
4143 | } | |
4144 | resultobj = SWIG_FromInt((int)result); | |
4145 | return resultobj; | |
4146 | fail: | |
4147 | return NULL; | |
4148 | } | |
4149 | ||
4150 | ||
4151 | static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4152 | PyObject *resultobj; | |
4153 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4154 | int result; | |
4155 | PyObject * obj0 = 0 ; | |
4156 | char *kwnames[] = { | |
4157 | (char *) "self", NULL | |
4158 | }; | |
4159 | ||
4160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail; | |
4161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4163 | { | |
4164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4165 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
4166 | ||
4167 | wxPyEndAllowThreads(__tstate); | |
4168 | if (PyErr_Occurred()) SWIG_fail; | |
4169 | } | |
4170 | resultobj = SWIG_FromInt((int)result); | |
4171 | return resultobj; | |
4172 | fail: | |
4173 | return NULL; | |
4174 | } | |
4175 | ||
4176 | ||
4177 | static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4178 | PyObject *resultobj; | |
4179 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4180 | wxString *result; | |
4181 | PyObject * obj0 = 0 ; | |
4182 | char *kwnames[] = { | |
4183 | (char *) "self", NULL | |
4184 | }; | |
4185 | ||
4186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail; | |
4187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4189 | { | |
4190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4191 | { | |
4192 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); | |
4193 | result = (wxString *) &_result_ref; | |
4194 | } | |
4195 | ||
4196 | wxPyEndAllowThreads(__tstate); | |
4197 | if (PyErr_Occurred()) SWIG_fail; | |
4198 | } | |
4199 | { | |
4200 | #if wxUSE_UNICODE | |
4201 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4202 | #else | |
4203 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4204 | #endif | |
4205 | } | |
4206 | return resultobj; | |
4207 | fail: | |
4208 | return NULL; | |
4209 | } | |
4210 | ||
4211 | ||
4212 | static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4213 | PyObject *resultobj; | |
4214 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4215 | wxString *arg2 = 0 ; | |
4216 | bool temp2 = False ; | |
4217 | PyObject * obj0 = 0 ; | |
4218 | PyObject * obj1 = 0 ; | |
4219 | char *kwnames[] = { | |
4220 | (char *) "self",(char *) "id", NULL | |
4221 | }; | |
4222 | ||
4223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail; | |
4224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4226 | { | |
4227 | arg2 = wxString_in_helper(obj1); | |
4228 | if (arg2 == NULL) SWIG_fail; | |
4229 | temp2 = True; | |
4230 | } | |
4231 | { | |
4232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4233 | (arg1)->SetId((wxString const &)*arg2); | |
4234 | ||
4235 | wxPyEndAllowThreads(__tstate); | |
4236 | if (PyErr_Occurred()) SWIG_fail; | |
4237 | } | |
4238 | Py_INCREF(Py_None); resultobj = Py_None; | |
4239 | { | |
4240 | if (temp2) | |
4241 | delete arg2; | |
4242 | } | |
4243 | return resultobj; | |
4244 | fail: | |
4245 | { | |
4246 | if (temp2) | |
4247 | delete arg2; | |
4248 | } | |
4249 | return NULL; | |
4250 | } | |
4251 | ||
4252 | ||
4253 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4254 | PyObject *resultobj; | |
4255 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4256 | int arg2 = (int) 0 ; | |
4257 | int arg3 = (int) 0 ; | |
4258 | wxHtmlLinkInfo *result; | |
4259 | PyObject * obj0 = 0 ; | |
4260 | PyObject * obj1 = 0 ; | |
4261 | PyObject * obj2 = 0 ; | |
4262 | char *kwnames[] = { | |
4263 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4264 | }; | |
4265 | ||
4266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4269 | if (obj1) { | |
4270 | arg2 = (int) SWIG_AsInt(obj1); | |
4271 | if (PyErr_Occurred()) SWIG_fail; | |
4272 | } | |
4273 | if (obj2) { | |
4274 | arg3 = (int) SWIG_AsInt(obj2); | |
4275 | if (PyErr_Occurred()) SWIG_fail; | |
4276 | } | |
4277 | { | |
4278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4279 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
4280 | ||
4281 | wxPyEndAllowThreads(__tstate); | |
4282 | if (PyErr_Occurred()) SWIG_fail; | |
4283 | } | |
4284 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
4285 | return resultobj; | |
4286 | fail: | |
4287 | return NULL; | |
4288 | } | |
4289 | ||
4290 | ||
4291 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4292 | PyObject *resultobj; | |
4293 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4294 | wxHtmlCell *result; | |
4295 | PyObject * obj0 = 0 ; | |
4296 | char *kwnames[] = { | |
4297 | (char *) "self", NULL | |
4298 | }; | |
4299 | ||
4300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
4301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4303 | { | |
4304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4305 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
4306 | ||
4307 | wxPyEndAllowThreads(__tstate); | |
4308 | if (PyErr_Occurred()) SWIG_fail; | |
4309 | } | |
4310 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4311 | return resultobj; | |
4312 | fail: | |
4313 | return NULL; | |
4314 | } | |
4315 | ||
4316 | ||
4317 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4318 | PyObject *resultobj; | |
4319 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4320 | wxHtmlContainerCell *result; | |
4321 | PyObject * obj0 = 0 ; | |
4322 | char *kwnames[] = { | |
4323 | (char *) "self", NULL | |
4324 | }; | |
4325 | ||
4326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
4327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4329 | { | |
4330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4331 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
4332 | ||
4333 | wxPyEndAllowThreads(__tstate); | |
4334 | if (PyErr_Occurred()) SWIG_fail; | |
4335 | } | |
4336 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
4337 | return resultobj; | |
4338 | fail: | |
4339 | return NULL; | |
4340 | } | |
4341 | ||
4342 | ||
4343 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4344 | PyObject *resultobj; | |
4345 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4346 | wxHtmlCell *result; | |
4347 | PyObject * obj0 = 0 ; | |
4348 | char *kwnames[] = { | |
4349 | (char *) "self", NULL | |
4350 | }; | |
4351 | ||
4352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4355 | { | |
4356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4357 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
4358 | ||
4359 | wxPyEndAllowThreads(__tstate); | |
4360 | if (PyErr_Occurred()) SWIG_fail; | |
4361 | } | |
4362 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4363 | return resultobj; | |
4364 | fail: | |
4365 | return NULL; | |
4366 | } | |
4367 | ||
4368 | ||
4369 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4370 | PyObject *resultobj; | |
4371 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4372 | wxCursor result; | |
4373 | PyObject * obj0 = 0 ; | |
4374 | char *kwnames[] = { | |
4375 | (char *) "self", NULL | |
4376 | }; | |
4377 | ||
4378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
4379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4381 | { | |
4382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4383 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
4384 | ||
4385 | wxPyEndAllowThreads(__tstate); | |
4386 | if (PyErr_Occurred()) SWIG_fail; | |
4387 | } | |
4388 | { | |
4389 | wxCursor * resultptr; | |
4390 | resultptr = new wxCursor((wxCursor &) result); | |
4391 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); | |
4392 | } | |
4393 | return resultobj; | |
4394 | fail: | |
4395 | return NULL; | |
4396 | } | |
4397 | ||
4398 | ||
4399 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4400 | PyObject *resultobj; | |
4401 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4402 | bool result; | |
4403 | PyObject * obj0 = 0 ; | |
4404 | char *kwnames[] = { | |
4405 | (char *) "self", NULL | |
4406 | }; | |
4407 | ||
4408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
4409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4411 | { | |
4412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4413 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
4414 | ||
4415 | wxPyEndAllowThreads(__tstate); | |
4416 | if (PyErr_Occurred()) SWIG_fail; | |
4417 | } | |
4418 | { | |
4419 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4420 | } | |
4421 | return resultobj; | |
4422 | fail: | |
4423 | return NULL; | |
4424 | } | |
4425 | ||
4426 | ||
4427 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4428 | PyObject *resultobj; | |
4429 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4430 | wxHtmlLinkInfo *arg2 = 0 ; | |
4431 | PyObject * obj0 = 0 ; | |
4432 | PyObject * obj1 = 0 ; | |
4433 | char *kwnames[] = { | |
4434 | (char *) "self",(char *) "link", NULL | |
4435 | }; | |
4436 | ||
4437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
4438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4440 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
4441 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4442 | SWIG_fail; | |
4443 | if (arg2 == NULL) { | |
4444 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4445 | SWIG_fail; | |
4446 | } | |
4447 | { | |
4448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4449 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
4450 | ||
4451 | wxPyEndAllowThreads(__tstate); | |
4452 | if (PyErr_Occurred()) SWIG_fail; | |
4453 | } | |
4454 | Py_INCREF(Py_None); resultobj = Py_None; | |
4455 | return resultobj; | |
4456 | fail: | |
4457 | return NULL; | |
4458 | } | |
4459 | ||
4460 | ||
4461 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4462 | PyObject *resultobj; | |
4463 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4464 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4465 | PyObject * obj0 = 0 ; | |
4466 | PyObject * obj1 = 0 ; | |
4467 | char *kwnames[] = { | |
4468 | (char *) "self",(char *) "cell", NULL | |
4469 | }; | |
4470 | ||
4471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
4472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4474 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
4475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4476 | { | |
4477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4478 | (arg1)->SetNext(arg2); | |
4479 | ||
4480 | wxPyEndAllowThreads(__tstate); | |
4481 | if (PyErr_Occurred()) SWIG_fail; | |
4482 | } | |
4483 | Py_INCREF(Py_None); resultobj = Py_None; | |
4484 | return resultobj; | |
4485 | fail: | |
4486 | return NULL; | |
4487 | } | |
4488 | ||
4489 | ||
4490 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4491 | PyObject *resultobj; | |
4492 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4493 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4494 | PyObject * obj0 = 0 ; | |
4495 | PyObject * obj1 = 0 ; | |
4496 | char *kwnames[] = { | |
4497 | (char *) "self",(char *) "p", NULL | |
4498 | }; | |
4499 | ||
4500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
4501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4503 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
4504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4505 | { | |
4506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4507 | (arg1)->SetParent(arg2); | |
4508 | ||
4509 | wxPyEndAllowThreads(__tstate); | |
4510 | if (PyErr_Occurred()) SWIG_fail; | |
4511 | } | |
4512 | Py_INCREF(Py_None); resultobj = Py_None; | |
4513 | return resultobj; | |
4514 | fail: | |
4515 | return NULL; | |
4516 | } | |
4517 | ||
4518 | ||
4519 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4520 | PyObject *resultobj; | |
4521 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4522 | int arg2 ; | |
4523 | int arg3 ; | |
4524 | PyObject * obj0 = 0 ; | |
4525 | PyObject * obj1 = 0 ; | |
4526 | PyObject * obj2 = 0 ; | |
4527 | char *kwnames[] = { | |
4528 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4529 | }; | |
4530 | ||
4531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4534 | arg2 = (int) SWIG_AsInt(obj1); | |
4535 | if (PyErr_Occurred()) SWIG_fail; | |
4536 | arg3 = (int) SWIG_AsInt(obj2); | |
4537 | if (PyErr_Occurred()) SWIG_fail; | |
4538 | { | |
4539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4540 | (arg1)->SetPos(arg2,arg3); | |
4541 | ||
4542 | wxPyEndAllowThreads(__tstate); | |
4543 | if (PyErr_Occurred()) SWIG_fail; | |
4544 | } | |
4545 | Py_INCREF(Py_None); resultobj = Py_None; | |
4546 | return resultobj; | |
4547 | fail: | |
4548 | return NULL; | |
4549 | } | |
4550 | ||
4551 | ||
4552 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4553 | PyObject *resultobj; | |
4554 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4555 | int arg2 ; | |
4556 | PyObject * obj0 = 0 ; | |
4557 | PyObject * obj1 = 0 ; | |
4558 | char *kwnames[] = { | |
4559 | (char *) "self",(char *) "w", NULL | |
4560 | }; | |
4561 | ||
4562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) 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 | { | |
4568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4569 | (arg1)->Layout(arg2); | |
4570 | ||
4571 | wxPyEndAllowThreads(__tstate); | |
4572 | if (PyErr_Occurred()) SWIG_fail; | |
4573 | } | |
4574 | Py_INCREF(Py_None); resultobj = Py_None; | |
4575 | return resultobj; | |
4576 | fail: | |
4577 | return NULL; | |
4578 | } | |
4579 | ||
4580 | ||
4581 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4582 | PyObject *resultobj; | |
4583 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4584 | wxDC *arg2 = 0 ; | |
4585 | int arg3 ; | |
4586 | int arg4 ; | |
4587 | int arg5 ; | |
4588 | int arg6 ; | |
4589 | wxHtmlRenderingInfo *arg7 = 0 ; | |
4590 | PyObject * obj0 = 0 ; | |
4591 | PyObject * obj1 = 0 ; | |
4592 | PyObject * obj2 = 0 ; | |
4593 | PyObject * obj3 = 0 ; | |
4594 | PyObject * obj4 = 0 ; | |
4595 | PyObject * obj5 = 0 ; | |
4596 | PyObject * obj6 = 0 ; | |
4597 | char *kwnames[] = { | |
4598 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
4599 | }; | |
4600 | ||
4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
4602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4604 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4605 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4606 | SWIG_fail; | |
4607 | if (arg2 == NULL) { | |
4608 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4609 | SWIG_fail; | |
4610 | } | |
4611 | arg3 = (int) SWIG_AsInt(obj2); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | arg4 = (int) SWIG_AsInt(obj3); | |
4614 | if (PyErr_Occurred()) SWIG_fail; | |
4615 | arg5 = (int) SWIG_AsInt(obj4); | |
4616 | if (PyErr_Occurred()) SWIG_fail; | |
4617 | arg6 = (int) SWIG_AsInt(obj5); | |
4618 | if (PyErr_Occurred()) SWIG_fail; | |
4619 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4620 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4621 | SWIG_fail; | |
4622 | if (arg7 == NULL) { | |
4623 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4624 | SWIG_fail; | |
4625 | } | |
4626 | { | |
4627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4628 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4629 | ||
4630 | wxPyEndAllowThreads(__tstate); | |
4631 | if (PyErr_Occurred()) SWIG_fail; | |
4632 | } | |
4633 | Py_INCREF(Py_None); resultobj = Py_None; | |
4634 | return resultobj; | |
4635 | fail: | |
4636 | return NULL; | |
4637 | } | |
4638 | ||
4639 | ||
4640 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4641 | PyObject *resultobj; | |
4642 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4643 | wxDC *arg2 = 0 ; | |
4644 | int arg3 ; | |
4645 | int arg4 ; | |
4646 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4647 | PyObject * obj0 = 0 ; | |
4648 | PyObject * obj1 = 0 ; | |
4649 | PyObject * obj2 = 0 ; | |
4650 | PyObject * obj3 = 0 ; | |
4651 | PyObject * obj4 = 0 ; | |
4652 | char *kwnames[] = { | |
4653 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4654 | }; | |
4655 | ||
4656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
4657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4659 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4660 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4661 | SWIG_fail; | |
4662 | if (arg2 == NULL) { | |
4663 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4664 | SWIG_fail; | |
4665 | } | |
4666 | arg3 = (int) SWIG_AsInt(obj2); | |
4667 | if (PyErr_Occurred()) SWIG_fail; | |
4668 | arg4 = (int) SWIG_AsInt(obj3); | |
4669 | if (PyErr_Occurred()) SWIG_fail; | |
4670 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4671 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4672 | SWIG_fail; | |
4673 | if (arg5 == NULL) { | |
4674 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4675 | SWIG_fail; | |
4676 | } | |
4677 | { | |
4678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4679 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4680 | ||
4681 | wxPyEndAllowThreads(__tstate); | |
4682 | if (PyErr_Occurred()) SWIG_fail; | |
4683 | } | |
4684 | Py_INCREF(Py_None); resultobj = Py_None; | |
4685 | return resultobj; | |
4686 | fail: | |
4687 | return NULL; | |
4688 | } | |
4689 | ||
4690 | ||
4691 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4692 | PyObject *resultobj; | |
4693 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4694 | int arg2 ; | |
4695 | void *arg3 = (void *) 0 ; | |
4696 | wxHtmlCell *result; | |
4697 | PyObject * obj0 = 0 ; | |
4698 | PyObject * obj1 = 0 ; | |
4699 | PyObject * obj2 = 0 ; | |
4700 | char *kwnames[] = { | |
4701 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4702 | }; | |
4703 | ||
4704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4707 | arg2 = (int) SWIG_AsInt(obj1); | |
4708 | if (PyErr_Occurred()) SWIG_fail; | |
4709 | if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4710 | { | |
4711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4712 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4713 | ||
4714 | wxPyEndAllowThreads(__tstate); | |
4715 | if (PyErr_Occurred()) SWIG_fail; | |
4716 | } | |
4717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4718 | return resultobj; | |
4719 | fail: | |
4720 | return NULL; | |
4721 | } | |
4722 | ||
4723 | ||
4724 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4725 | PyObject *resultobj; | |
4726 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4727 | int *arg2 = (int *) 0 ; | |
4728 | bool result; | |
4729 | int temp2 ; | |
4730 | PyObject * obj0 = 0 ; | |
4731 | PyObject * obj1 = 0 ; | |
4732 | char *kwnames[] = { | |
4733 | (char *) "self",(char *) "INOUT", NULL | |
4734 | }; | |
4735 | ||
4736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4739 | { | |
4740 | temp2 = PyInt_AsLong(obj1); | |
4741 | if (PyErr_Occurred()) SWIG_fail; | |
4742 | arg2 = &temp2; | |
4743 | } | |
4744 | { | |
4745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4746 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4747 | ||
4748 | wxPyEndAllowThreads(__tstate); | |
4749 | if (PyErr_Occurred()) SWIG_fail; | |
4750 | } | |
4751 | { | |
4752 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4753 | } | |
4754 | { | |
4755 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4756 | resultobj = t_output_helper(resultobj,o); | |
4757 | } | |
4758 | return resultobj; | |
4759 | fail: | |
4760 | return NULL; | |
4761 | } | |
4762 | ||
4763 | ||
4764 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4765 | PyObject *resultobj; | |
4766 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4767 | bool arg2 ; | |
4768 | PyObject * obj0 = 0 ; | |
4769 | PyObject * obj1 = 0 ; | |
4770 | char *kwnames[] = { | |
4771 | (char *) "self",(char *) "can", NULL | |
4772 | }; | |
4773 | ||
4774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4777 | arg2 = (bool) SWIG_AsBool(obj1); | |
4778 | if (PyErr_Occurred()) SWIG_fail; | |
4779 | { | |
4780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4781 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4782 | ||
4783 | wxPyEndAllowThreads(__tstate); | |
4784 | if (PyErr_Occurred()) SWIG_fail; | |
4785 | } | |
4786 | Py_INCREF(Py_None); resultobj = Py_None; | |
4787 | return resultobj; | |
4788 | fail: | |
4789 | return NULL; | |
4790 | } | |
4791 | ||
4792 | ||
4793 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4794 | PyObject *resultobj; | |
4795 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4796 | bool result; | |
4797 | PyObject * obj0 = 0 ; | |
4798 | char *kwnames[] = { | |
4799 | (char *) "self", NULL | |
4800 | }; | |
4801 | ||
4802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4805 | { | |
4806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4807 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4808 | ||
4809 | wxPyEndAllowThreads(__tstate); | |
4810 | if (PyErr_Occurred()) SWIG_fail; | |
4811 | } | |
4812 | { | |
4813 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4814 | } | |
4815 | return resultobj; | |
4816 | fail: | |
4817 | return NULL; | |
4818 | } | |
4819 | ||
4820 | ||
4821 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4822 | PyObject *resultobj; | |
4823 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4824 | bool result; | |
4825 | PyObject * obj0 = 0 ; | |
4826 | char *kwnames[] = { | |
4827 | (char *) "self", NULL | |
4828 | }; | |
4829 | ||
4830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4833 | { | |
4834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4835 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4836 | ||
4837 | wxPyEndAllowThreads(__tstate); | |
4838 | if (PyErr_Occurred()) SWIG_fail; | |
4839 | } | |
4840 | { | |
4841 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4842 | } | |
4843 | return resultobj; | |
4844 | fail: | |
4845 | return NULL; | |
4846 | } | |
4847 | ||
4848 | ||
4849 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4850 | PyObject *resultobj; | |
4851 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4852 | int arg2 ; | |
4853 | int arg3 ; | |
4854 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
4855 | wxHtmlCell *result; | |
4856 | PyObject * obj0 = 0 ; | |
4857 | PyObject * obj1 = 0 ; | |
4858 | PyObject * obj2 = 0 ; | |
4859 | PyObject * obj3 = 0 ; | |
4860 | char *kwnames[] = { | |
4861 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4862 | }; | |
4863 | ||
4864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
4865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4867 | arg2 = (int) SWIG_AsInt(obj1); | |
4868 | if (PyErr_Occurred()) SWIG_fail; | |
4869 | arg3 = (int) SWIG_AsInt(obj2); | |
4870 | if (PyErr_Occurred()) SWIG_fail; | |
4871 | if (obj3) { | |
4872 | arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3); | |
4873 | if (PyErr_Occurred()) SWIG_fail; | |
4874 | } | |
4875 | { | |
4876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4877 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4878 | ||
4879 | wxPyEndAllowThreads(__tstate); | |
4880 | if (PyErr_Occurred()) SWIG_fail; | |
4881 | } | |
4882 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4883 | return resultobj; | |
4884 | fail: | |
4885 | return NULL; | |
4886 | } | |
4887 | ||
4888 | ||
4889 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4890 | PyObject *resultobj; | |
4891 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4892 | wxPoint result; | |
4893 | PyObject * obj0 = 0 ; | |
4894 | char *kwnames[] = { | |
4895 | (char *) "self", NULL | |
4896 | }; | |
4897 | ||
4898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4901 | { | |
4902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4903 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4904 | ||
4905 | wxPyEndAllowThreads(__tstate); | |
4906 | if (PyErr_Occurred()) SWIG_fail; | |
4907 | } | |
4908 | { | |
4909 | wxPoint * resultptr; | |
4910 | resultptr = new wxPoint((wxPoint &) result); | |
4911 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
4912 | } | |
4913 | return resultobj; | |
4914 | fail: | |
4915 | return NULL; | |
4916 | } | |
4917 | ||
4918 | ||
4919 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4920 | PyObject *resultobj; | |
4921 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4922 | wxHtmlCell *result; | |
4923 | PyObject * obj0 = 0 ; | |
4924 | char *kwnames[] = { | |
4925 | (char *) "self", NULL | |
4926 | }; | |
4927 | ||
4928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4929 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4930 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4931 | { | |
4932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4933 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4934 | ||
4935 | wxPyEndAllowThreads(__tstate); | |
4936 | if (PyErr_Occurred()) SWIG_fail; | |
4937 | } | |
4938 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4939 | return resultobj; | |
4940 | fail: | |
4941 | return NULL; | |
4942 | } | |
4943 | ||
4944 | ||
4945 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4946 | PyObject *resultobj; | |
4947 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4948 | wxHtmlCell *result; | |
4949 | PyObject * obj0 = 0 ; | |
4950 | char *kwnames[] = { | |
4951 | (char *) "self", NULL | |
4952 | }; | |
4953 | ||
4954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4957 | { | |
4958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4959 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4960 | ||
4961 | wxPyEndAllowThreads(__tstate); | |
4962 | if (PyErr_Occurred()) SWIG_fail; | |
4963 | } | |
4964 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4965 | return resultobj; | |
4966 | fail: | |
4967 | return NULL; | |
4968 | } | |
4969 | ||
4970 | ||
4971 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4972 | PyObject *resultobj; | |
4973 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4974 | unsigned int result; | |
4975 | PyObject * obj0 = 0 ; | |
4976 | char *kwnames[] = { | |
4977 | (char *) "self", NULL | |
4978 | }; | |
4979 | ||
4980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4983 | { | |
4984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4985 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4986 | ||
4987 | wxPyEndAllowThreads(__tstate); | |
4988 | if (PyErr_Occurred()) SWIG_fail; | |
4989 | } | |
4990 | resultobj = SWIG_FromUnsignedInt((unsigned int)result); | |
4991 | return resultobj; | |
4992 | fail: | |
4993 | return NULL; | |
4994 | } | |
4995 | ||
4996 | ||
4997 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4998 | PyObject *resultobj; | |
4999 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5000 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5001 | bool result; | |
5002 | PyObject * obj0 = 0 ; | |
5003 | PyObject * obj1 = 0 ; | |
5004 | char *kwnames[] = { | |
5005 | (char *) "self",(char *) "cell", NULL | |
5006 | }; | |
5007 | ||
5008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
5009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5011 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5013 | { | |
5014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5015 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
5016 | ||
5017 | wxPyEndAllowThreads(__tstate); | |
5018 | if (PyErr_Occurred()) SWIG_fail; | |
5019 | } | |
5020 | { | |
5021 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5022 | } | |
5023 | return resultobj; | |
5024 | fail: | |
5025 | return NULL; | |
5026 | } | |
5027 | ||
5028 | ||
5029 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5030 | PyObject *resultobj; | |
5031 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5032 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
5033 | wxString result; | |
5034 | PyObject * obj0 = 0 ; | |
5035 | PyObject * obj1 = 0 ; | |
5036 | char *kwnames[] = { | |
5037 | (char *) "self",(char *) "sel", NULL | |
5038 | }; | |
5039 | ||
5040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
5041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5043 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
5044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5045 | { | |
5046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5047 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
5048 | ||
5049 | wxPyEndAllowThreads(__tstate); | |
5050 | if (PyErr_Occurred()) SWIG_fail; | |
5051 | } | |
5052 | { | |
5053 | #if wxUSE_UNICODE | |
5054 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5055 | #else | |
5056 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5057 | #endif | |
5058 | } | |
5059 | return resultobj; | |
5060 | fail: | |
5061 | return NULL; | |
5062 | } | |
5063 | ||
5064 | ||
5065 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
5066 | PyObject *obj; | |
5067 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5068 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
5069 | Py_INCREF(obj); | |
5070 | return Py_BuildValue((char *)""); | |
5071 | } | |
5072 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5073 | PyObject *resultobj; | |
5074 | wxString *arg1 = 0 ; | |
5075 | wxDC *arg2 = 0 ; | |
5076 | wxHtmlWordCell *result; | |
5077 | bool temp1 = False ; | |
5078 | PyObject * obj0 = 0 ; | |
5079 | PyObject * obj1 = 0 ; | |
5080 | char *kwnames[] = { | |
5081 | (char *) "word",(char *) "dc", NULL | |
5082 | }; | |
5083 | ||
5084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
5085 | { | |
5086 | arg1 = wxString_in_helper(obj0); | |
5087 | if (arg1 == NULL) SWIG_fail; | |
5088 | temp1 = True; | |
5089 | } | |
5090 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
5091 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5092 | SWIG_fail; | |
5093 | if (arg2 == NULL) { | |
5094 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5095 | SWIG_fail; | |
5096 | } | |
5097 | { | |
5098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5099 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
5100 | ||
5101 | wxPyEndAllowThreads(__tstate); | |
5102 | if (PyErr_Occurred()) SWIG_fail; | |
5103 | } | |
5104 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1); | |
5105 | { | |
5106 | if (temp1) | |
5107 | delete arg1; | |
5108 | } | |
5109 | return resultobj; | |
5110 | fail: | |
5111 | { | |
5112 | if (temp1) | |
5113 | delete arg1; | |
5114 | } | |
5115 | return NULL; | |
5116 | } | |
5117 | ||
5118 | ||
5119 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
5120 | PyObject *obj; | |
5121 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5122 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
5123 | Py_INCREF(obj); | |
5124 | return Py_BuildValue((char *)""); | |
5125 | } | |
5126 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5127 | PyObject *resultobj; | |
5128 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5129 | wxHtmlContainerCell *result; | |
5130 | PyObject * obj0 = 0 ; | |
5131 | char *kwnames[] = { | |
5132 | (char *) "parent", NULL | |
5133 | }; | |
5134 | ||
5135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
5136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5138 | { | |
5139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5140 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
5141 | ||
5142 | wxPyEndAllowThreads(__tstate); | |
5143 | if (PyErr_Occurred()) SWIG_fail; | |
5144 | } | |
5145 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1); | |
5146 | return resultobj; | |
5147 | fail: | |
5148 | return NULL; | |
5149 | } | |
5150 | ||
5151 | ||
5152 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5153 | PyObject *resultobj; | |
5154 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5155 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5156 | PyObject * obj0 = 0 ; | |
5157 | PyObject * obj1 = 0 ; | |
5158 | char *kwnames[] = { | |
5159 | (char *) "self",(char *) "cell", NULL | |
5160 | }; | |
5161 | ||
5162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
5163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5165 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5167 | { | |
5168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5169 | (arg1)->InsertCell(arg2); | |
5170 | ||
5171 | wxPyEndAllowThreads(__tstate); | |
5172 | if (PyErr_Occurred()) SWIG_fail; | |
5173 | } | |
5174 | Py_INCREF(Py_None); resultobj = Py_None; | |
5175 | return resultobj; | |
5176 | fail: | |
5177 | return NULL; | |
5178 | } | |
5179 | ||
5180 | ||
5181 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5182 | PyObject *resultobj; | |
5183 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5184 | int arg2 ; | |
5185 | PyObject * obj0 = 0 ; | |
5186 | PyObject * obj1 = 0 ; | |
5187 | char *kwnames[] = { | |
5188 | (char *) "self",(char *) "al", NULL | |
5189 | }; | |
5190 | ||
5191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail; | |
5192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5194 | arg2 = (int) SWIG_AsInt(obj1); | |
5195 | if (PyErr_Occurred()) SWIG_fail; | |
5196 | { | |
5197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5198 | (arg1)->SetAlignHor(arg2); | |
5199 | ||
5200 | wxPyEndAllowThreads(__tstate); | |
5201 | if (PyErr_Occurred()) SWIG_fail; | |
5202 | } | |
5203 | Py_INCREF(Py_None); resultobj = Py_None; | |
5204 | return resultobj; | |
5205 | fail: | |
5206 | return NULL; | |
5207 | } | |
5208 | ||
5209 | ||
5210 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5211 | PyObject *resultobj; | |
5212 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5213 | int result; | |
5214 | PyObject * obj0 = 0 ; | |
5215 | char *kwnames[] = { | |
5216 | (char *) "self", NULL | |
5217 | }; | |
5218 | ||
5219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
5220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5222 | { | |
5223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5224 | result = (int)(arg1)->GetAlignHor(); | |
5225 | ||
5226 | wxPyEndAllowThreads(__tstate); | |
5227 | if (PyErr_Occurred()) SWIG_fail; | |
5228 | } | |
5229 | resultobj = SWIG_FromInt((int)result); | |
5230 | return resultobj; | |
5231 | fail: | |
5232 | return NULL; | |
5233 | } | |
5234 | ||
5235 | ||
5236 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5237 | PyObject *resultobj; | |
5238 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5239 | int arg2 ; | |
5240 | PyObject * obj0 = 0 ; | |
5241 | PyObject * obj1 = 0 ; | |
5242 | char *kwnames[] = { | |
5243 | (char *) "self",(char *) "al", NULL | |
5244 | }; | |
5245 | ||
5246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail; | |
5247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5249 | arg2 = (int) SWIG_AsInt(obj1); | |
5250 | if (PyErr_Occurred()) SWIG_fail; | |
5251 | { | |
5252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5253 | (arg1)->SetAlignVer(arg2); | |
5254 | ||
5255 | wxPyEndAllowThreads(__tstate); | |
5256 | if (PyErr_Occurred()) SWIG_fail; | |
5257 | } | |
5258 | Py_INCREF(Py_None); resultobj = Py_None; | |
5259 | return resultobj; | |
5260 | fail: | |
5261 | return NULL; | |
5262 | } | |
5263 | ||
5264 | ||
5265 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5266 | PyObject *resultobj; | |
5267 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5268 | int result; | |
5269 | PyObject * obj0 = 0 ; | |
5270 | char *kwnames[] = { | |
5271 | (char *) "self", NULL | |
5272 | }; | |
5273 | ||
5274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
5275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5277 | { | |
5278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5279 | result = (int)(arg1)->GetAlignVer(); | |
5280 | ||
5281 | wxPyEndAllowThreads(__tstate); | |
5282 | if (PyErr_Occurred()) SWIG_fail; | |
5283 | } | |
5284 | resultobj = SWIG_FromInt((int)result); | |
5285 | return resultobj; | |
5286 | fail: | |
5287 | return NULL; | |
5288 | } | |
5289 | ||
5290 | ||
5291 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5292 | PyObject *resultobj; | |
5293 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5294 | int arg2 ; | |
5295 | int arg3 ; | |
5296 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
5297 | PyObject * obj0 = 0 ; | |
5298 | PyObject * obj1 = 0 ; | |
5299 | PyObject * obj2 = 0 ; | |
5300 | PyObject * obj3 = 0 ; | |
5301 | char *kwnames[] = { | |
5302 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
5303 | }; | |
5304 | ||
5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5308 | arg2 = (int) SWIG_AsInt(obj1); | |
5309 | if (PyErr_Occurred()) SWIG_fail; | |
5310 | arg3 = (int) SWIG_AsInt(obj2); | |
5311 | if (PyErr_Occurred()) SWIG_fail; | |
5312 | if (obj3) { | |
5313 | arg4 = (int) SWIG_AsInt(obj3); | |
5314 | if (PyErr_Occurred()) SWIG_fail; | |
5315 | } | |
5316 | { | |
5317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5318 | (arg1)->SetIndent(arg2,arg3,arg4); | |
5319 | ||
5320 | wxPyEndAllowThreads(__tstate); | |
5321 | if (PyErr_Occurred()) SWIG_fail; | |
5322 | } | |
5323 | Py_INCREF(Py_None); resultobj = Py_None; | |
5324 | return resultobj; | |
5325 | fail: | |
5326 | return NULL; | |
5327 | } | |
5328 | ||
5329 | ||
5330 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5331 | PyObject *resultobj; | |
5332 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5333 | int arg2 ; | |
5334 | int result; | |
5335 | PyObject * obj0 = 0 ; | |
5336 | PyObject * obj1 = 0 ; | |
5337 | char *kwnames[] = { | |
5338 | (char *) "self",(char *) "ind", NULL | |
5339 | }; | |
5340 | ||
5341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail; | |
5342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5344 | arg2 = (int) SWIG_AsInt(obj1); | |
5345 | if (PyErr_Occurred()) SWIG_fail; | |
5346 | { | |
5347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5348 | result = (int)(arg1)->GetIndent(arg2); | |
5349 | ||
5350 | wxPyEndAllowThreads(__tstate); | |
5351 | if (PyErr_Occurred()) SWIG_fail; | |
5352 | } | |
5353 | resultobj = SWIG_FromInt((int)result); | |
5354 | return resultobj; | |
5355 | fail: | |
5356 | return NULL; | |
5357 | } | |
5358 | ||
5359 | ||
5360 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5361 | PyObject *resultobj; | |
5362 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5363 | int arg2 ; | |
5364 | int result; | |
5365 | PyObject * obj0 = 0 ; | |
5366 | PyObject * obj1 = 0 ; | |
5367 | char *kwnames[] = { | |
5368 | (char *) "self",(char *) "ind", NULL | |
5369 | }; | |
5370 | ||
5371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail; | |
5372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5374 | arg2 = (int) SWIG_AsInt(obj1); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | { | |
5377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5378 | result = (int)(arg1)->GetIndentUnits(arg2); | |
5379 | ||
5380 | wxPyEndAllowThreads(__tstate); | |
5381 | if (PyErr_Occurred()) SWIG_fail; | |
5382 | } | |
5383 | resultobj = SWIG_FromInt((int)result); | |
5384 | return resultobj; | |
5385 | fail: | |
5386 | return NULL; | |
5387 | } | |
5388 | ||
5389 | ||
5390 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5391 | PyObject *resultobj; | |
5392 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5393 | wxHtmlTag *arg2 = 0 ; | |
5394 | PyObject * obj0 = 0 ; | |
5395 | PyObject * obj1 = 0 ; | |
5396 | char *kwnames[] = { | |
5397 | (char *) "self",(char *) "tag", NULL | |
5398 | }; | |
5399 | ||
5400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
5401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5403 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5404 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5405 | SWIG_fail; | |
5406 | if (arg2 == NULL) { | |
5407 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5408 | SWIG_fail; | |
5409 | } | |
5410 | { | |
5411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5412 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
5413 | ||
5414 | wxPyEndAllowThreads(__tstate); | |
5415 | if (PyErr_Occurred()) SWIG_fail; | |
5416 | } | |
5417 | Py_INCREF(Py_None); resultobj = Py_None; | |
5418 | return resultobj; | |
5419 | fail: | |
5420 | return NULL; | |
5421 | } | |
5422 | ||
5423 | ||
5424 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5425 | PyObject *resultobj; | |
5426 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5427 | int arg2 ; | |
5428 | int arg3 ; | |
5429 | PyObject * obj0 = 0 ; | |
5430 | PyObject * obj1 = 0 ; | |
5431 | PyObject * obj2 = 0 ; | |
5432 | char *kwnames[] = { | |
5433 | (char *) "self",(char *) "w",(char *) "units", NULL | |
5434 | }; | |
5435 | ||
5436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5439 | arg2 = (int) SWIG_AsInt(obj1); | |
5440 | if (PyErr_Occurred()) SWIG_fail; | |
5441 | arg3 = (int) SWIG_AsInt(obj2); | |
5442 | if (PyErr_Occurred()) SWIG_fail; | |
5443 | { | |
5444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5445 | (arg1)->SetWidthFloat(arg2,arg3); | |
5446 | ||
5447 | wxPyEndAllowThreads(__tstate); | |
5448 | if (PyErr_Occurred()) SWIG_fail; | |
5449 | } | |
5450 | Py_INCREF(Py_None); resultobj = Py_None; | |
5451 | return resultobj; | |
5452 | fail: | |
5453 | return NULL; | |
5454 | } | |
5455 | ||
5456 | ||
5457 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5458 | PyObject *resultobj; | |
5459 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5460 | wxHtmlTag *arg2 = 0 ; | |
5461 | PyObject * obj0 = 0 ; | |
5462 | PyObject * obj1 = 0 ; | |
5463 | char *kwnames[] = { | |
5464 | (char *) "self",(char *) "tag", NULL | |
5465 | }; | |
5466 | ||
5467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
5468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5470 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5471 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5472 | SWIG_fail; | |
5473 | if (arg2 == NULL) { | |
5474 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5475 | SWIG_fail; | |
5476 | } | |
5477 | { | |
5478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5479 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
5480 | ||
5481 | wxPyEndAllowThreads(__tstate); | |
5482 | if (PyErr_Occurred()) SWIG_fail; | |
5483 | } | |
5484 | Py_INCREF(Py_None); resultobj = Py_None; | |
5485 | return resultobj; | |
5486 | fail: | |
5487 | return NULL; | |
5488 | } | |
5489 | ||
5490 | ||
5491 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5492 | PyObject *resultobj; | |
5493 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5494 | int arg2 ; | |
5495 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
5496 | PyObject * obj0 = 0 ; | |
5497 | PyObject * obj1 = 0 ; | |
5498 | PyObject * obj2 = 0 ; | |
5499 | char *kwnames[] = { | |
5500 | (char *) "self",(char *) "h",(char *) "align", NULL | |
5501 | }; | |
5502 | ||
5503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5506 | arg2 = (int) SWIG_AsInt(obj1); | |
5507 | if (PyErr_Occurred()) SWIG_fail; | |
5508 | if (obj2) { | |
5509 | arg3 = (int) SWIG_AsInt(obj2); | |
5510 | if (PyErr_Occurred()) SWIG_fail; | |
5511 | } | |
5512 | { | |
5513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5514 | (arg1)->SetMinHeight(arg2,arg3); | |
5515 | ||
5516 | wxPyEndAllowThreads(__tstate); | |
5517 | if (PyErr_Occurred()) SWIG_fail; | |
5518 | } | |
5519 | Py_INCREF(Py_None); resultobj = Py_None; | |
5520 | return resultobj; | |
5521 | fail: | |
5522 | return NULL; | |
5523 | } | |
5524 | ||
5525 | ||
5526 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5527 | PyObject *resultobj; | |
5528 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5529 | wxColour *arg2 = 0 ; | |
5530 | wxColour temp2 ; | |
5531 | PyObject * obj0 = 0 ; | |
5532 | PyObject * obj1 = 0 ; | |
5533 | char *kwnames[] = { | |
5534 | (char *) "self",(char *) "clr", NULL | |
5535 | }; | |
5536 | ||
5537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
5538 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5539 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5540 | { | |
5541 | arg2 = &temp2; | |
5542 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5543 | } | |
5544 | { | |
5545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5546 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
5547 | ||
5548 | wxPyEndAllowThreads(__tstate); | |
5549 | if (PyErr_Occurred()) SWIG_fail; | |
5550 | } | |
5551 | Py_INCREF(Py_None); resultobj = Py_None; | |
5552 | return resultobj; | |
5553 | fail: | |
5554 | return NULL; | |
5555 | } | |
5556 | ||
5557 | ||
5558 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5559 | PyObject *resultobj; | |
5560 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5561 | wxColour result; | |
5562 | PyObject * obj0 = 0 ; | |
5563 | char *kwnames[] = { | |
5564 | (char *) "self", NULL | |
5565 | }; | |
5566 | ||
5567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
5568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5570 | { | |
5571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5572 | result = (arg1)->GetBackgroundColour(); | |
5573 | ||
5574 | wxPyEndAllowThreads(__tstate); | |
5575 | if (PyErr_Occurred()) SWIG_fail; | |
5576 | } | |
5577 | { | |
5578 | wxColour * resultptr; | |
5579 | resultptr = new wxColour((wxColour &) result); | |
5580 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
5581 | } | |
5582 | return resultobj; | |
5583 | fail: | |
5584 | return NULL; | |
5585 | } | |
5586 | ||
5587 | ||
5588 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5589 | PyObject *resultobj; | |
5590 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5591 | wxColour *arg2 = 0 ; | |
5592 | wxColour *arg3 = 0 ; | |
5593 | wxColour temp2 ; | |
5594 | wxColour temp3 ; | |
5595 | PyObject * obj0 = 0 ; | |
5596 | PyObject * obj1 = 0 ; | |
5597 | PyObject * obj2 = 0 ; | |
5598 | char *kwnames[] = { | |
5599 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
5600 | }; | |
5601 | ||
5602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5605 | { | |
5606 | arg2 = &temp2; | |
5607 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5608 | } | |
5609 | { | |
5610 | arg3 = &temp3; | |
5611 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
5612 | } | |
5613 | { | |
5614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5615 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
5616 | ||
5617 | wxPyEndAllowThreads(__tstate); | |
5618 | if (PyErr_Occurred()) SWIG_fail; | |
5619 | } | |
5620 | Py_INCREF(Py_None); resultobj = Py_None; | |
5621 | return resultobj; | |
5622 | fail: | |
5623 | return NULL; | |
5624 | } | |
5625 | ||
5626 | ||
5627 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5628 | PyObject *resultobj; | |
5629 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5630 | wxHtmlCell *result; | |
5631 | PyObject * obj0 = 0 ; | |
5632 | char *kwnames[] = { | |
5633 | (char *) "self", NULL | |
5634 | }; | |
5635 | ||
5636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
5637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5639 | { | |
5640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5641 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
5642 | ||
5643 | wxPyEndAllowThreads(__tstate); | |
5644 | if (PyErr_Occurred()) SWIG_fail; | |
5645 | } | |
5646 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
5647 | return resultobj; | |
5648 | fail: | |
5649 | return NULL; | |
5650 | } | |
5651 | ||
5652 | ||
5653 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
5654 | PyObject *obj; | |
5655 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5656 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
5657 | Py_INCREF(obj); | |
5658 | return Py_BuildValue((char *)""); | |
5659 | } | |
5660 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject *resultobj; | |
5662 | wxColour arg1 ; | |
5663 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
5664 | wxHtmlColourCell *result; | |
5665 | wxColour *argp1 ; | |
5666 | PyObject * obj0 = 0 ; | |
5667 | PyObject * obj1 = 0 ; | |
5668 | char *kwnames[] = { | |
5669 | (char *) "clr",(char *) "flags", NULL | |
5670 | }; | |
5671 | ||
5672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail; | |
5673 | if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour, | |
5674 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5675 | arg1 = *argp1; | |
5676 | if (obj1) { | |
5677 | arg2 = (int) SWIG_AsInt(obj1); | |
5678 | if (PyErr_Occurred()) SWIG_fail; | |
5679 | } | |
5680 | { | |
5681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5682 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
5683 | ||
5684 | wxPyEndAllowThreads(__tstate); | |
5685 | if (PyErr_Occurred()) SWIG_fail; | |
5686 | } | |
5687 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1); | |
5688 | return resultobj; | |
5689 | fail: | |
5690 | return NULL; | |
5691 | } | |
5692 | ||
5693 | ||
5694 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
5695 | PyObject *obj; | |
5696 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5697 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
5698 | Py_INCREF(obj); | |
5699 | return Py_BuildValue((char *)""); | |
5700 | } | |
5701 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5702 | PyObject *resultobj; | |
5703 | wxFont *arg1 = (wxFont *) 0 ; | |
5704 | wxHtmlFontCell *result; | |
5705 | PyObject * obj0 = 0 ; | |
5706 | char *kwnames[] = { | |
5707 | (char *) "font", NULL | |
5708 | }; | |
5709 | ||
5710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
5711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont, | |
5712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5713 | { | |
5714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5715 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
5716 | ||
5717 | wxPyEndAllowThreads(__tstate); | |
5718 | if (PyErr_Occurred()) SWIG_fail; | |
5719 | } | |
5720 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1); | |
5721 | return resultobj; | |
5722 | fail: | |
5723 | return NULL; | |
5724 | } | |
5725 | ||
5726 | ||
5727 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
5728 | PyObject *obj; | |
5729 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5730 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
5731 | Py_INCREF(obj); | |
5732 | return Py_BuildValue((char *)""); | |
5733 | } | |
5734 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5735 | PyObject *resultobj; | |
5736 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5737 | int arg2 = (int) 0 ; | |
5738 | wxHtmlWidgetCell *result; | |
5739 | PyObject * obj0 = 0 ; | |
5740 | PyObject * obj1 = 0 ; | |
5741 | char *kwnames[] = { | |
5742 | (char *) "wnd",(char *) "w", NULL | |
5743 | }; | |
5744 | ||
5745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail; | |
5746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5748 | if (obj1) { | |
5749 | arg2 = (int) SWIG_AsInt(obj1); | |
5750 | if (PyErr_Occurred()) SWIG_fail; | |
5751 | } | |
5752 | { | |
5753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5754 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5755 | ||
5756 | wxPyEndAllowThreads(__tstate); | |
5757 | if (PyErr_Occurred()) SWIG_fail; | |
5758 | } | |
5759 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5760 | return resultobj; | |
5761 | fail: | |
5762 | return NULL; | |
5763 | } | |
5764 | ||
5765 | ||
5766 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5767 | PyObject *obj; | |
5768 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5769 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5770 | Py_INCREF(obj); | |
5771 | return Py_BuildValue((char *)""); | |
5772 | } | |
5773 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5774 | PyObject *resultobj; | |
5775 | wxPyHtmlFilter *result; | |
5776 | char *kwnames[] = { | |
5777 | NULL | |
5778 | }; | |
5779 | ||
5780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5781 | { | |
5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5783 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5784 | ||
5785 | wxPyEndAllowThreads(__tstate); | |
5786 | if (PyErr_Occurred()) SWIG_fail; | |
5787 | } | |
5788 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5789 | return resultobj; | |
5790 | fail: | |
5791 | return NULL; | |
5792 | } | |
5793 | ||
5794 | ||
5795 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5796 | PyObject *resultobj; | |
5797 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5798 | PyObject *arg2 = (PyObject *) 0 ; | |
5799 | PyObject *arg3 = (PyObject *) 0 ; | |
5800 | PyObject * obj0 = 0 ; | |
5801 | PyObject * obj1 = 0 ; | |
5802 | PyObject * obj2 = 0 ; | |
5803 | char *kwnames[] = { | |
5804 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5805 | }; | |
5806 | ||
5807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, | |
5809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5810 | arg2 = obj1; | |
5811 | arg3 = obj2; | |
5812 | { | |
5813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5814 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5815 | ||
5816 | wxPyEndAllowThreads(__tstate); | |
5817 | if (PyErr_Occurred()) SWIG_fail; | |
5818 | } | |
5819 | Py_INCREF(Py_None); resultobj = Py_None; | |
5820 | return resultobj; | |
5821 | fail: | |
5822 | return NULL; | |
5823 | } | |
5824 | ||
5825 | ||
5826 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5827 | PyObject *obj; | |
5828 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5829 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5830 | Py_INCREF(obj); | |
5831 | return Py_BuildValue((char *)""); | |
5832 | } | |
5833 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5834 | PyObject *resultobj; | |
5835 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5836 | int arg2 = (int) -1 ; | |
5837 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5838 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5839 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5840 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5841 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5842 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5843 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5844 | wxPyHtmlWindow *result; | |
5845 | wxPoint temp3 ; | |
5846 | wxSize temp4 ; | |
5847 | bool temp6 = False ; | |
5848 | PyObject * obj0 = 0 ; | |
5849 | PyObject * obj1 = 0 ; | |
5850 | PyObject * obj2 = 0 ; | |
5851 | PyObject * obj3 = 0 ; | |
5852 | PyObject * obj4 = 0 ; | |
5853 | PyObject * obj5 = 0 ; | |
5854 | char *kwnames[] = { | |
5855 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5856 | }; | |
5857 | ||
5858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
5859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5861 | if (obj1) { | |
5862 | arg2 = (int) SWIG_AsInt(obj1); | |
5863 | if (PyErr_Occurred()) SWIG_fail; | |
5864 | } | |
5865 | if (obj2) { | |
5866 | { | |
5867 | arg3 = &temp3; | |
5868 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5869 | } | |
5870 | } | |
5871 | if (obj3) { | |
5872 | { | |
5873 | arg4 = &temp4; | |
5874 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5875 | } | |
5876 | } | |
5877 | if (obj4) { | |
5878 | arg5 = (int) SWIG_AsInt(obj4); | |
5879 | if (PyErr_Occurred()) SWIG_fail; | |
5880 | } | |
5881 | if (obj5) { | |
5882 | { | |
5883 | arg6 = wxString_in_helper(obj5); | |
5884 | if (arg6 == NULL) SWIG_fail; | |
5885 | temp6 = True; | |
5886 | } | |
5887 | } | |
5888 | { | |
5889 | if (!wxPyCheckForApp()) SWIG_fail; | |
5890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5891 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5892 | ||
5893 | wxPyEndAllowThreads(__tstate); | |
5894 | if (PyErr_Occurred()) SWIG_fail; | |
5895 | } | |
5896 | { | |
5897 | resultobj = wxPyMake_wxObject(result); | |
5898 | } | |
5899 | { | |
5900 | if (temp6) | |
5901 | delete arg6; | |
5902 | } | |
5903 | return resultobj; | |
5904 | fail: | |
5905 | { | |
5906 | if (temp6) | |
5907 | delete arg6; | |
5908 | } | |
5909 | return NULL; | |
5910 | } | |
5911 | ||
5912 | ||
5913 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5914 | PyObject *resultobj; | |
5915 | wxPyHtmlWindow *result; | |
5916 | char *kwnames[] = { | |
5917 | NULL | |
5918 | }; | |
5919 | ||
5920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5921 | { | |
5922 | if (!wxPyCheckForApp()) SWIG_fail; | |
5923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5924 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5925 | ||
5926 | wxPyEndAllowThreads(__tstate); | |
5927 | if (PyErr_Occurred()) SWIG_fail; | |
5928 | } | |
5929 | { | |
5930 | resultobj = wxPyMake_wxObject(result); | |
5931 | } | |
5932 | return resultobj; | |
5933 | fail: | |
5934 | return NULL; | |
5935 | } | |
5936 | ||
5937 | ||
5938 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5939 | PyObject *resultobj; | |
5940 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5941 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5942 | int arg3 = (int) -1 ; | |
5943 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5944 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5945 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5946 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5947 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5948 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5949 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5950 | bool result; | |
5951 | wxPoint temp4 ; | |
5952 | wxSize temp5 ; | |
5953 | bool temp7 = False ; | |
5954 | PyObject * obj0 = 0 ; | |
5955 | PyObject * obj1 = 0 ; | |
5956 | PyObject * obj2 = 0 ; | |
5957 | PyObject * obj3 = 0 ; | |
5958 | PyObject * obj4 = 0 ; | |
5959 | PyObject * obj5 = 0 ; | |
5960 | PyObject * obj6 = 0 ; | |
5961 | char *kwnames[] = { | |
5962 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5963 | }; | |
5964 | ||
5965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
5966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
5967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5968 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5970 | if (obj2) { | |
5971 | arg3 = (int) SWIG_AsInt(obj2); | |
5972 | if (PyErr_Occurred()) SWIG_fail; | |
5973 | } | |
5974 | if (obj3) { | |
5975 | { | |
5976 | arg4 = &temp4; | |
5977 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5978 | } | |
5979 | } | |
5980 | if (obj4) { | |
5981 | { | |
5982 | arg5 = &temp5; | |
5983 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5984 | } | |
5985 | } | |
5986 | if (obj5) { | |
5987 | arg6 = (int) SWIG_AsInt(obj5); | |
5988 | if (PyErr_Occurred()) SWIG_fail; | |
5989 | } | |
5990 | if (obj6) { | |
5991 | { | |
5992 | arg7 = wxString_in_helper(obj6); | |
5993 | if (arg7 == NULL) SWIG_fail; | |
5994 | temp7 = True; | |
5995 | } | |
5996 | } | |
5997 | { | |
5998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5999 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6000 | ||
6001 | wxPyEndAllowThreads(__tstate); | |
6002 | if (PyErr_Occurred()) SWIG_fail; | |
6003 | } | |
6004 | { | |
6005 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6006 | } | |
6007 | { | |
6008 | if (temp7) | |
6009 | delete arg7; | |
6010 | } | |
6011 | return resultobj; | |
6012 | fail: | |
6013 | { | |
6014 | if (temp7) | |
6015 | delete arg7; | |
6016 | } | |
6017 | return NULL; | |
6018 | } | |
6019 | ||
6020 | ||
6021 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6022 | PyObject *resultobj; | |
6023 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6024 | PyObject *arg2 = (PyObject *) 0 ; | |
6025 | PyObject *arg3 = (PyObject *) 0 ; | |
6026 | PyObject * obj0 = 0 ; | |
6027 | PyObject * obj1 = 0 ; | |
6028 | PyObject * obj2 = 0 ; | |
6029 | char *kwnames[] = { | |
6030 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
6031 | }; | |
6032 | ||
6033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6036 | arg2 = obj1; | |
6037 | arg3 = obj2; | |
6038 | { | |
6039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6040 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6041 | ||
6042 | wxPyEndAllowThreads(__tstate); | |
6043 | if (PyErr_Occurred()) SWIG_fail; | |
6044 | } | |
6045 | Py_INCREF(Py_None); resultobj = Py_None; | |
6046 | return resultobj; | |
6047 | fail: | |
6048 | return NULL; | |
6049 | } | |
6050 | ||
6051 | ||
6052 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6053 | PyObject *resultobj; | |
6054 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6055 | wxString *arg2 = 0 ; | |
6056 | bool result; | |
6057 | bool temp2 = False ; | |
6058 | PyObject * obj0 = 0 ; | |
6059 | PyObject * obj1 = 0 ; | |
6060 | char *kwnames[] = { | |
6061 | (char *) "self",(char *) "source", NULL | |
6062 | }; | |
6063 | ||
6064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
6065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6067 | { | |
6068 | arg2 = wxString_in_helper(obj1); | |
6069 | if (arg2 == NULL) SWIG_fail; | |
6070 | temp2 = True; | |
6071 | } | |
6072 | { | |
6073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6074 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
6075 | ||
6076 | wxPyEndAllowThreads(__tstate); | |
6077 | if (PyErr_Occurred()) SWIG_fail; | |
6078 | } | |
6079 | { | |
6080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6081 | } | |
6082 | { | |
6083 | if (temp2) | |
6084 | delete arg2; | |
6085 | } | |
6086 | return resultobj; | |
6087 | fail: | |
6088 | { | |
6089 | if (temp2) | |
6090 | delete arg2; | |
6091 | } | |
6092 | return NULL; | |
6093 | } | |
6094 | ||
6095 | ||
6096 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6097 | PyObject *resultobj; | |
6098 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6099 | wxString *arg2 = 0 ; | |
6100 | bool result; | |
6101 | bool temp2 = False ; | |
6102 | PyObject * obj0 = 0 ; | |
6103 | PyObject * obj1 = 0 ; | |
6104 | char *kwnames[] = { | |
6105 | (char *) "self",(char *) "location", NULL | |
6106 | }; | |
6107 | ||
6108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
6109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6111 | { | |
6112 | arg2 = wxString_in_helper(obj1); | |
6113 | if (arg2 == NULL) SWIG_fail; | |
6114 | temp2 = True; | |
6115 | } | |
6116 | { | |
6117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6118 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
6119 | ||
6120 | wxPyEndAllowThreads(__tstate); | |
6121 | if (PyErr_Occurred()) SWIG_fail; | |
6122 | } | |
6123 | { | |
6124 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6125 | } | |
6126 | { | |
6127 | if (temp2) | |
6128 | delete arg2; | |
6129 | } | |
6130 | return resultobj; | |
6131 | fail: | |
6132 | { | |
6133 | if (temp2) | |
6134 | delete arg2; | |
6135 | } | |
6136 | return NULL; | |
6137 | } | |
6138 | ||
6139 | ||
6140 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6141 | PyObject *resultobj; | |
6142 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6143 | wxString *arg2 = 0 ; | |
6144 | bool result; | |
6145 | bool temp2 = False ; | |
6146 | PyObject * obj0 = 0 ; | |
6147 | PyObject * obj1 = 0 ; | |
6148 | char *kwnames[] = { | |
6149 | (char *) "self",(char *) "filename", NULL | |
6150 | }; | |
6151 | ||
6152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
6153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6155 | { | |
6156 | arg2 = wxString_in_helper(obj1); | |
6157 | if (arg2 == NULL) SWIG_fail; | |
6158 | temp2 = True; | |
6159 | } | |
6160 | { | |
6161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6162 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
6163 | ||
6164 | wxPyEndAllowThreads(__tstate); | |
6165 | if (PyErr_Occurred()) SWIG_fail; | |
6166 | } | |
6167 | { | |
6168 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6169 | } | |
6170 | { | |
6171 | if (temp2) | |
6172 | delete arg2; | |
6173 | } | |
6174 | return resultobj; | |
6175 | fail: | |
6176 | { | |
6177 | if (temp2) | |
6178 | delete arg2; | |
6179 | } | |
6180 | return NULL; | |
6181 | } | |
6182 | ||
6183 | ||
6184 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6185 | PyObject *resultobj; | |
6186 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6187 | wxString *arg2 = 0 ; | |
6188 | bool result; | |
6189 | bool temp2 = False ; | |
6190 | PyObject * obj0 = 0 ; | |
6191 | PyObject * obj1 = 0 ; | |
6192 | char *kwnames[] = { | |
6193 | (char *) "self",(char *) "source", NULL | |
6194 | }; | |
6195 | ||
6196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
6197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6199 | { | |
6200 | arg2 = wxString_in_helper(obj1); | |
6201 | if (arg2 == NULL) SWIG_fail; | |
6202 | temp2 = True; | |
6203 | } | |
6204 | { | |
6205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6206 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
6207 | ||
6208 | wxPyEndAllowThreads(__tstate); | |
6209 | if (PyErr_Occurred()) SWIG_fail; | |
6210 | } | |
6211 | { | |
6212 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6213 | } | |
6214 | { | |
6215 | if (temp2) | |
6216 | delete arg2; | |
6217 | } | |
6218 | return resultobj; | |
6219 | fail: | |
6220 | { | |
6221 | if (temp2) | |
6222 | delete arg2; | |
6223 | } | |
6224 | return NULL; | |
6225 | } | |
6226 | ||
6227 | ||
6228 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6229 | PyObject *resultobj; | |
6230 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6231 | wxString result; | |
6232 | PyObject * obj0 = 0 ; | |
6233 | char *kwnames[] = { | |
6234 | (char *) "self", NULL | |
6235 | }; | |
6236 | ||
6237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
6238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6240 | { | |
6241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6242 | result = (arg1)->GetOpenedPage(); | |
6243 | ||
6244 | wxPyEndAllowThreads(__tstate); | |
6245 | if (PyErr_Occurred()) SWIG_fail; | |
6246 | } | |
6247 | { | |
6248 | #if wxUSE_UNICODE | |
6249 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6250 | #else | |
6251 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6252 | #endif | |
6253 | } | |
6254 | return resultobj; | |
6255 | fail: | |
6256 | return NULL; | |
6257 | } | |
6258 | ||
6259 | ||
6260 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6261 | PyObject *resultobj; | |
6262 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6263 | wxString result; | |
6264 | PyObject * obj0 = 0 ; | |
6265 | char *kwnames[] = { | |
6266 | (char *) "self", NULL | |
6267 | }; | |
6268 | ||
6269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
6270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6272 | { | |
6273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6274 | result = (arg1)->GetOpenedAnchor(); | |
6275 | ||
6276 | wxPyEndAllowThreads(__tstate); | |
6277 | if (PyErr_Occurred()) SWIG_fail; | |
6278 | } | |
6279 | { | |
6280 | #if wxUSE_UNICODE | |
6281 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6282 | #else | |
6283 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6284 | #endif | |
6285 | } | |
6286 | return resultobj; | |
6287 | fail: | |
6288 | return NULL; | |
6289 | } | |
6290 | ||
6291 | ||
6292 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6293 | PyObject *resultobj; | |
6294 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6295 | wxString result; | |
6296 | PyObject * obj0 = 0 ; | |
6297 | char *kwnames[] = { | |
6298 | (char *) "self", NULL | |
6299 | }; | |
6300 | ||
6301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
6302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6304 | { | |
6305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6306 | result = (arg1)->GetOpenedPageTitle(); | |
6307 | ||
6308 | wxPyEndAllowThreads(__tstate); | |
6309 | if (PyErr_Occurred()) SWIG_fail; | |
6310 | } | |
6311 | { | |
6312 | #if wxUSE_UNICODE | |
6313 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6314 | #else | |
6315 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6316 | #endif | |
6317 | } | |
6318 | return resultobj; | |
6319 | fail: | |
6320 | return NULL; | |
6321 | } | |
6322 | ||
6323 | ||
6324 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6325 | PyObject *resultobj; | |
6326 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6327 | wxFrame *arg2 = (wxFrame *) 0 ; | |
6328 | wxString *arg3 = 0 ; | |
6329 | bool temp3 = False ; | |
6330 | PyObject * obj0 = 0 ; | |
6331 | PyObject * obj1 = 0 ; | |
6332 | PyObject * obj2 = 0 ; | |
6333 | char *kwnames[] = { | |
6334 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
6335 | }; | |
6336 | ||
6337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6340 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
6341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6342 | { | |
6343 | arg3 = wxString_in_helper(obj2); | |
6344 | if (arg3 == NULL) SWIG_fail; | |
6345 | temp3 = True; | |
6346 | } | |
6347 | { | |
6348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6349 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
6350 | ||
6351 | wxPyEndAllowThreads(__tstate); | |
6352 | if (PyErr_Occurred()) SWIG_fail; | |
6353 | } | |
6354 | Py_INCREF(Py_None); resultobj = Py_None; | |
6355 | { | |
6356 | if (temp3) | |
6357 | delete arg3; | |
6358 | } | |
6359 | return resultobj; | |
6360 | fail: | |
6361 | { | |
6362 | if (temp3) | |
6363 | delete arg3; | |
6364 | } | |
6365 | return NULL; | |
6366 | } | |
6367 | ||
6368 | ||
6369 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6370 | PyObject *resultobj; | |
6371 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6372 | wxFrame *result; | |
6373 | PyObject * obj0 = 0 ; | |
6374 | char *kwnames[] = { | |
6375 | (char *) "self", NULL | |
6376 | }; | |
6377 | ||
6378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
6379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6381 | { | |
6382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6383 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
6384 | ||
6385 | wxPyEndAllowThreads(__tstate); | |
6386 | if (PyErr_Occurred()) SWIG_fail; | |
6387 | } | |
6388 | { | |
6389 | resultobj = wxPyMake_wxObject(result); | |
6390 | } | |
6391 | return resultobj; | |
6392 | fail: | |
6393 | return NULL; | |
6394 | } | |
6395 | ||
6396 | ||
6397 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6398 | PyObject *resultobj; | |
6399 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6400 | int arg2 ; | |
6401 | PyObject * obj0 = 0 ; | |
6402 | PyObject * obj1 = 0 ; | |
6403 | char *kwnames[] = { | |
6404 | (char *) "self",(char *) "bar", NULL | |
6405 | }; | |
6406 | ||
6407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
6408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6410 | arg2 = (int) SWIG_AsInt(obj1); | |
6411 | if (PyErr_Occurred()) SWIG_fail; | |
6412 | { | |
6413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6414 | (arg1)->SetRelatedStatusBar(arg2); | |
6415 | ||
6416 | wxPyEndAllowThreads(__tstate); | |
6417 | if (PyErr_Occurred()) SWIG_fail; | |
6418 | } | |
6419 | Py_INCREF(Py_None); resultobj = Py_None; | |
6420 | return resultobj; | |
6421 | fail: | |
6422 | return NULL; | |
6423 | } | |
6424 | ||
6425 | ||
6426 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6427 | PyObject *resultobj; | |
6428 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6429 | wxString arg2 ; | |
6430 | wxString arg3 ; | |
6431 | PyObject *arg4 = (PyObject *) NULL ; | |
6432 | PyObject * obj0 = 0 ; | |
6433 | PyObject * obj1 = 0 ; | |
6434 | PyObject * obj2 = 0 ; | |
6435 | PyObject * obj3 = 0 ; | |
6436 | char *kwnames[] = { | |
6437 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6438 | }; | |
6439 | ||
6440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6443 | { | |
6444 | wxString* sptr = wxString_in_helper(obj1); | |
6445 | if (sptr == NULL) SWIG_fail; | |
6446 | arg2 = *sptr; | |
6447 | delete sptr; | |
6448 | } | |
6449 | { | |
6450 | wxString* sptr = wxString_in_helper(obj2); | |
6451 | if (sptr == NULL) SWIG_fail; | |
6452 | arg3 = *sptr; | |
6453 | delete sptr; | |
6454 | } | |
6455 | if (obj3) { | |
6456 | arg4 = obj3; | |
6457 | } | |
6458 | { | |
6459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6460 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
6461 | ||
6462 | wxPyEndAllowThreads(__tstate); | |
6463 | if (PyErr_Occurred()) SWIG_fail; | |
6464 | } | |
6465 | Py_INCREF(Py_None); resultobj = Py_None; | |
6466 | return resultobj; | |
6467 | fail: | |
6468 | return NULL; | |
6469 | } | |
6470 | ||
6471 | ||
6472 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6473 | PyObject *resultobj; | |
6474 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6475 | wxString *arg2 = 0 ; | |
6476 | bool temp2 = False ; | |
6477 | PyObject * obj0 = 0 ; | |
6478 | PyObject * obj1 = 0 ; | |
6479 | char *kwnames[] = { | |
6480 | (char *) "self",(char *) "title", NULL | |
6481 | }; | |
6482 | ||
6483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6486 | { | |
6487 | arg2 = wxString_in_helper(obj1); | |
6488 | if (arg2 == NULL) SWIG_fail; | |
6489 | temp2 = True; | |
6490 | } | |
6491 | { | |
6492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6493 | (arg1)->SetTitle((wxString const &)*arg2); | |
6494 | ||
6495 | wxPyEndAllowThreads(__tstate); | |
6496 | if (PyErr_Occurred()) SWIG_fail; | |
6497 | } | |
6498 | Py_INCREF(Py_None); resultobj = Py_None; | |
6499 | { | |
6500 | if (temp2) | |
6501 | delete arg2; | |
6502 | } | |
6503 | return resultobj; | |
6504 | fail: | |
6505 | { | |
6506 | if (temp2) | |
6507 | delete arg2; | |
6508 | } | |
6509 | return NULL; | |
6510 | } | |
6511 | ||
6512 | ||
6513 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6514 | PyObject *resultobj; | |
6515 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6516 | int arg2 ; | |
6517 | PyObject * obj0 = 0 ; | |
6518 | PyObject * obj1 = 0 ; | |
6519 | char *kwnames[] = { | |
6520 | (char *) "self",(char *) "b", NULL | |
6521 | }; | |
6522 | ||
6523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail; | |
6524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6526 | arg2 = (int) SWIG_AsInt(obj1); | |
6527 | if (PyErr_Occurred()) SWIG_fail; | |
6528 | { | |
6529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6530 | (arg1)->SetBorders(arg2); | |
6531 | ||
6532 | wxPyEndAllowThreads(__tstate); | |
6533 | if (PyErr_Occurred()) SWIG_fail; | |
6534 | } | |
6535 | Py_INCREF(Py_None); resultobj = Py_None; | |
6536 | return resultobj; | |
6537 | fail: | |
6538 | return NULL; | |
6539 | } | |
6540 | ||
6541 | ||
6542 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6543 | PyObject *resultobj; | |
6544 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6545 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6546 | wxString arg3 = (wxString) wxPyEmptyString ; | |
6547 | PyObject * obj0 = 0 ; | |
6548 | PyObject * obj1 = 0 ; | |
6549 | PyObject * obj2 = 0 ; | |
6550 | char *kwnames[] = { | |
6551 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6552 | }; | |
6553 | ||
6554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6557 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6559 | if (obj2) { | |
6560 | { | |
6561 | wxString* sptr = wxString_in_helper(obj2); | |
6562 | if (sptr == NULL) SWIG_fail; | |
6563 | arg3 = *sptr; | |
6564 | delete sptr; | |
6565 | } | |
6566 | } | |
6567 | { | |
6568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6569 | (arg1)->ReadCustomization(arg2,arg3); | |
6570 | ||
6571 | wxPyEndAllowThreads(__tstate); | |
6572 | if (PyErr_Occurred()) SWIG_fail; | |
6573 | } | |
6574 | Py_INCREF(Py_None); resultobj = Py_None; | |
6575 | return resultobj; | |
6576 | fail: | |
6577 | return NULL; | |
6578 | } | |
6579 | ||
6580 | ||
6581 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6582 | PyObject *resultobj; | |
6583 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6584 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6585 | wxString arg3 = (wxString) wxPyEmptyString ; | |
6586 | PyObject * obj0 = 0 ; | |
6587 | PyObject * obj1 = 0 ; | |
6588 | PyObject * obj2 = 0 ; | |
6589 | char *kwnames[] = { | |
6590 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6591 | }; | |
6592 | ||
6593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6596 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6597 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6598 | if (obj2) { | |
6599 | { | |
6600 | wxString* sptr = wxString_in_helper(obj2); | |
6601 | if (sptr == NULL) SWIG_fail; | |
6602 | arg3 = *sptr; | |
6603 | delete sptr; | |
6604 | } | |
6605 | } | |
6606 | { | |
6607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6608 | (arg1)->WriteCustomization(arg2,arg3); | |
6609 | ||
6610 | wxPyEndAllowThreads(__tstate); | |
6611 | if (PyErr_Occurred()) SWIG_fail; | |
6612 | } | |
6613 | Py_INCREF(Py_None); resultobj = Py_None; | |
6614 | return resultobj; | |
6615 | fail: | |
6616 | return NULL; | |
6617 | } | |
6618 | ||
6619 | ||
6620 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6621 | PyObject *resultobj; | |
6622 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6623 | bool result; | |
6624 | PyObject * obj0 = 0 ; | |
6625 | char *kwnames[] = { | |
6626 | (char *) "self", NULL | |
6627 | }; | |
6628 | ||
6629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
6630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6632 | { | |
6633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6634 | result = (bool)(arg1)->HistoryBack(); | |
6635 | ||
6636 | wxPyEndAllowThreads(__tstate); | |
6637 | if (PyErr_Occurred()) SWIG_fail; | |
6638 | } | |
6639 | { | |
6640 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6641 | } | |
6642 | return resultobj; | |
6643 | fail: | |
6644 | return NULL; | |
6645 | } | |
6646 | ||
6647 | ||
6648 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6649 | PyObject *resultobj; | |
6650 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6651 | bool result; | |
6652 | PyObject * obj0 = 0 ; | |
6653 | char *kwnames[] = { | |
6654 | (char *) "self", NULL | |
6655 | }; | |
6656 | ||
6657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
6658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6660 | { | |
6661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6662 | result = (bool)(arg1)->HistoryForward(); | |
6663 | ||
6664 | wxPyEndAllowThreads(__tstate); | |
6665 | if (PyErr_Occurred()) SWIG_fail; | |
6666 | } | |
6667 | { | |
6668 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6669 | } | |
6670 | return resultobj; | |
6671 | fail: | |
6672 | return NULL; | |
6673 | } | |
6674 | ||
6675 | ||
6676 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6677 | PyObject *resultobj; | |
6678 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6679 | bool result; | |
6680 | PyObject * obj0 = 0 ; | |
6681 | char *kwnames[] = { | |
6682 | (char *) "self", NULL | |
6683 | }; | |
6684 | ||
6685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
6686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6688 | { | |
6689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6690 | result = (bool)(arg1)->HistoryCanBack(); | |
6691 | ||
6692 | wxPyEndAllowThreads(__tstate); | |
6693 | if (PyErr_Occurred()) SWIG_fail; | |
6694 | } | |
6695 | { | |
6696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6697 | } | |
6698 | return resultobj; | |
6699 | fail: | |
6700 | return NULL; | |
6701 | } | |
6702 | ||
6703 | ||
6704 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6705 | PyObject *resultobj; | |
6706 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6707 | bool result; | |
6708 | PyObject * obj0 = 0 ; | |
6709 | char *kwnames[] = { | |
6710 | (char *) "self", NULL | |
6711 | }; | |
6712 | ||
6713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
6714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6716 | { | |
6717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6718 | result = (bool)(arg1)->HistoryCanForward(); | |
6719 | ||
6720 | wxPyEndAllowThreads(__tstate); | |
6721 | if (PyErr_Occurred()) SWIG_fail; | |
6722 | } | |
6723 | { | |
6724 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6725 | } | |
6726 | return resultobj; | |
6727 | fail: | |
6728 | return NULL; | |
6729 | } | |
6730 | ||
6731 | ||
6732 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6733 | PyObject *resultobj; | |
6734 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6735 | PyObject * obj0 = 0 ; | |
6736 | char *kwnames[] = { | |
6737 | (char *) "self", NULL | |
6738 | }; | |
6739 | ||
6740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
6741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6743 | { | |
6744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6745 | (arg1)->HistoryClear(); | |
6746 | ||
6747 | wxPyEndAllowThreads(__tstate); | |
6748 | if (PyErr_Occurred()) SWIG_fail; | |
6749 | } | |
6750 | Py_INCREF(Py_None); resultobj = Py_None; | |
6751 | return resultobj; | |
6752 | fail: | |
6753 | return NULL; | |
6754 | } | |
6755 | ||
6756 | ||
6757 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6758 | PyObject *resultobj; | |
6759 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6760 | wxHtmlContainerCell *result; | |
6761 | PyObject * obj0 = 0 ; | |
6762 | char *kwnames[] = { | |
6763 | (char *) "self", NULL | |
6764 | }; | |
6765 | ||
6766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
6767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6769 | { | |
6770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6771 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
6772 | ||
6773 | wxPyEndAllowThreads(__tstate); | |
6774 | if (PyErr_Occurred()) SWIG_fail; | |
6775 | } | |
6776 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
6777 | return resultobj; | |
6778 | fail: | |
6779 | return NULL; | |
6780 | } | |
6781 | ||
6782 | ||
6783 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6784 | PyObject *resultobj; | |
6785 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6786 | wxHtmlWinParser *result; | |
6787 | PyObject * obj0 = 0 ; | |
6788 | char *kwnames[] = { | |
6789 | (char *) "self", NULL | |
6790 | }; | |
6791 | ||
6792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
6793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6795 | { | |
6796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6797 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
6798 | ||
6799 | wxPyEndAllowThreads(__tstate); | |
6800 | if (PyErr_Occurred()) SWIG_fail; | |
6801 | } | |
6802 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); | |
6803 | return resultobj; | |
6804 | fail: | |
6805 | return NULL; | |
6806 | } | |
6807 | ||
6808 | ||
6809 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6810 | PyObject *resultobj; | |
6811 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6812 | wxString *arg2 = 0 ; | |
6813 | bool result; | |
6814 | bool temp2 = False ; | |
6815 | PyObject * obj0 = 0 ; | |
6816 | PyObject * obj1 = 0 ; | |
6817 | char *kwnames[] = { | |
6818 | (char *) "self",(char *) "anchor", NULL | |
6819 | }; | |
6820 | ||
6821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6824 | { | |
6825 | arg2 = wxString_in_helper(obj1); | |
6826 | if (arg2 == NULL) SWIG_fail; | |
6827 | temp2 = True; | |
6828 | } | |
6829 | { | |
6830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6831 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
6832 | ||
6833 | wxPyEndAllowThreads(__tstate); | |
6834 | if (PyErr_Occurred()) SWIG_fail; | |
6835 | } | |
6836 | { | |
6837 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6838 | } | |
6839 | { | |
6840 | if (temp2) | |
6841 | delete arg2; | |
6842 | } | |
6843 | return resultobj; | |
6844 | fail: | |
6845 | { | |
6846 | if (temp2) | |
6847 | delete arg2; | |
6848 | } | |
6849 | return NULL; | |
6850 | } | |
6851 | ||
6852 | ||
6853 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6854 | PyObject *resultobj; | |
6855 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6856 | wxString *arg2 = 0 ; | |
6857 | bool result; | |
6858 | bool temp2 = False ; | |
6859 | PyObject * obj0 = 0 ; | |
6860 | PyObject * obj1 = 0 ; | |
6861 | char *kwnames[] = { | |
6862 | (char *) "self",(char *) "anchor", NULL | |
6863 | }; | |
6864 | ||
6865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6868 | { | |
6869 | arg2 = wxString_in_helper(obj1); | |
6870 | if (arg2 == NULL) SWIG_fail; | |
6871 | temp2 = True; | |
6872 | } | |
6873 | { | |
6874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6875 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6876 | ||
6877 | wxPyEndAllowThreads(__tstate); | |
6878 | if (PyErr_Occurred()) SWIG_fail; | |
6879 | } | |
6880 | { | |
6881 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6882 | } | |
6883 | { | |
6884 | if (temp2) | |
6885 | delete arg2; | |
6886 | } | |
6887 | return resultobj; | |
6888 | fail: | |
6889 | { | |
6890 | if (temp2) | |
6891 | delete arg2; | |
6892 | } | |
6893 | return NULL; | |
6894 | } | |
6895 | ||
6896 | ||
6897 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6898 | PyObject *resultobj; | |
6899 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6900 | PyObject * obj0 = 0 ; | |
6901 | char *kwnames[] = { | |
6902 | (char *) "filter", NULL | |
6903 | }; | |
6904 | ||
6905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, | |
6907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6908 | { | |
6909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6910 | wxPyHtmlWindow::AddFilter(arg1); | |
6911 | ||
6912 | wxPyEndAllowThreads(__tstate); | |
6913 | if (PyErr_Occurred()) SWIG_fail; | |
6914 | } | |
6915 | Py_INCREF(Py_None); resultobj = Py_None; | |
6916 | return resultobj; | |
6917 | fail: | |
6918 | return NULL; | |
6919 | } | |
6920 | ||
6921 | ||
6922 | static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6923 | PyObject *resultobj; | |
6924 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6925 | wxPoint *arg2 = 0 ; | |
6926 | wxPoint temp2 ; | |
6927 | PyObject * obj0 = 0 ; | |
6928 | PyObject * obj1 = 0 ; | |
6929 | char *kwnames[] = { | |
6930 | (char *) "self",(char *) "pos", NULL | |
6931 | }; | |
6932 | ||
6933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail; | |
6934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6936 | { | |
6937 | arg2 = &temp2; | |
6938 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6939 | } | |
6940 | { | |
6941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6942 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
6943 | ||
6944 | wxPyEndAllowThreads(__tstate); | |
6945 | if (PyErr_Occurred()) SWIG_fail; | |
6946 | } | |
6947 | Py_INCREF(Py_None); resultobj = Py_None; | |
6948 | return resultobj; | |
6949 | fail: | |
6950 | return NULL; | |
6951 | } | |
6952 | ||
6953 | ||
6954 | static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6955 | PyObject *resultobj; | |
6956 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6957 | wxPoint *arg2 = 0 ; | |
6958 | wxPoint temp2 ; | |
6959 | PyObject * obj0 = 0 ; | |
6960 | PyObject * obj1 = 0 ; | |
6961 | char *kwnames[] = { | |
6962 | (char *) "self",(char *) "pos", NULL | |
6963 | }; | |
6964 | ||
6965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail; | |
6966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6968 | { | |
6969 | arg2 = &temp2; | |
6970 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6971 | } | |
6972 | { | |
6973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6974 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
6975 | ||
6976 | wxPyEndAllowThreads(__tstate); | |
6977 | if (PyErr_Occurred()) SWIG_fail; | |
6978 | } | |
6979 | Py_INCREF(Py_None); resultobj = Py_None; | |
6980 | return resultobj; | |
6981 | fail: | |
6982 | return NULL; | |
6983 | } | |
6984 | ||
6985 | ||
6986 | static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6987 | PyObject *resultobj; | |
6988 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6989 | PyObject * obj0 = 0 ; | |
6990 | char *kwnames[] = { | |
6991 | (char *) "self", NULL | |
6992 | }; | |
6993 | ||
6994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail; | |
6995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6997 | { | |
6998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6999 | (arg1)->SelectAll(); | |
7000 | ||
7001 | wxPyEndAllowThreads(__tstate); | |
7002 | if (PyErr_Occurred()) SWIG_fail; | |
7003 | } | |
7004 | Py_INCREF(Py_None); resultobj = Py_None; | |
7005 | return resultobj; | |
7006 | fail: | |
7007 | return NULL; | |
7008 | } | |
7009 | ||
7010 | ||
7011 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7012 | PyObject *resultobj; | |
7013 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7014 | wxHtmlLinkInfo *arg2 = 0 ; | |
7015 | PyObject * obj0 = 0 ; | |
7016 | PyObject * obj1 = 0 ; | |
7017 | char *kwnames[] = { | |
7018 | (char *) "self",(char *) "link", NULL | |
7019 | }; | |
7020 | ||
7021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
7022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7024 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
7025 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7026 | SWIG_fail; | |
7027 | if (arg2 == NULL) { | |
7028 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
7029 | SWIG_fail; | |
7030 | } | |
7031 | { | |
7032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7033 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
7034 | ||
7035 | wxPyEndAllowThreads(__tstate); | |
7036 | if (PyErr_Occurred()) SWIG_fail; | |
7037 | } | |
7038 | Py_INCREF(Py_None); resultobj = Py_None; | |
7039 | return resultobj; | |
7040 | fail: | |
7041 | return NULL; | |
7042 | } | |
7043 | ||
7044 | ||
7045 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7046 | PyObject *resultobj; | |
7047 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7048 | wxString *arg2 = 0 ; | |
7049 | bool temp2 = False ; | |
7050 | PyObject * obj0 = 0 ; | |
7051 | PyObject * obj1 = 0 ; | |
7052 | char *kwnames[] = { | |
7053 | (char *) "self",(char *) "title", NULL | |
7054 | }; | |
7055 | ||
7056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7059 | { | |
7060 | arg2 = wxString_in_helper(obj1); | |
7061 | if (arg2 == NULL) SWIG_fail; | |
7062 | temp2 = True; | |
7063 | } | |
7064 | { | |
7065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7066 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
7067 | ||
7068 | wxPyEndAllowThreads(__tstate); | |
7069 | if (PyErr_Occurred()) SWIG_fail; | |
7070 | } | |
7071 | Py_INCREF(Py_None); resultobj = Py_None; | |
7072 | { | |
7073 | if (temp2) | |
7074 | delete arg2; | |
7075 | } | |
7076 | return resultobj; | |
7077 | fail: | |
7078 | { | |
7079 | if (temp2) | |
7080 | delete arg2; | |
7081 | } | |
7082 | return NULL; | |
7083 | } | |
7084 | ||
7085 | ||
7086 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7087 | PyObject *resultobj; | |
7088 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7089 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7090 | int arg3 ; | |
7091 | int arg4 ; | |
7092 | PyObject * obj0 = 0 ; | |
7093 | PyObject * obj1 = 0 ; | |
7094 | PyObject * obj2 = 0 ; | |
7095 | PyObject * obj3 = 0 ; | |
7096 | char *kwnames[] = { | |
7097 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
7098 | }; | |
7099 | ||
7100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7103 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7105 | arg3 = (int) SWIG_AsInt(obj2); | |
7106 | if (PyErr_Occurred()) SWIG_fail; | |
7107 | arg4 = (int) SWIG_AsInt(obj3); | |
7108 | if (PyErr_Occurred()) SWIG_fail; | |
7109 | { | |
7110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7111 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
7112 | ||
7113 | wxPyEndAllowThreads(__tstate); | |
7114 | if (PyErr_Occurred()) SWIG_fail; | |
7115 | } | |
7116 | Py_INCREF(Py_None); resultobj = Py_None; | |
7117 | return resultobj; | |
7118 | fail: | |
7119 | return NULL; | |
7120 | } | |
7121 | ||
7122 | ||
7123 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7124 | PyObject *resultobj; | |
7125 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7126 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7127 | int arg3 ; | |
7128 | int arg4 ; | |
7129 | wxMouseEvent *arg5 = 0 ; | |
7130 | PyObject * obj0 = 0 ; | |
7131 | PyObject * obj1 = 0 ; | |
7132 | PyObject * obj2 = 0 ; | |
7133 | PyObject * obj3 = 0 ; | |
7134 | PyObject * obj4 = 0 ; | |
7135 | char *kwnames[] = { | |
7136 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
7137 | }; | |
7138 | ||
7139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
7140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7142 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7144 | arg3 = (int) SWIG_AsInt(obj2); | |
7145 | if (PyErr_Occurred()) SWIG_fail; | |
7146 | arg4 = (int) SWIG_AsInt(obj3); | |
7147 | if (PyErr_Occurred()) SWIG_fail; | |
7148 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent, | |
7149 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7150 | SWIG_fail; | |
7151 | if (arg5 == NULL) { | |
7152 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
7153 | SWIG_fail; | |
7154 | } | |
7155 | { | |
7156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7157 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
7158 | ||
7159 | wxPyEndAllowThreads(__tstate); | |
7160 | if (PyErr_Occurred()) SWIG_fail; | |
7161 | } | |
7162 | Py_INCREF(Py_None); resultobj = Py_None; | |
7163 | return resultobj; | |
7164 | fail: | |
7165 | return NULL; | |
7166 | } | |
7167 | ||
7168 | ||
7169 | static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7170 | PyObject *resultobj; | |
7171 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
7172 | wxVisualAttributes result; | |
7173 | PyObject * obj0 = 0 ; | |
7174 | char *kwnames[] = { | |
7175 | (char *) "variant", NULL | |
7176 | }; | |
7177 | ||
7178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
7179 | if (obj0) { | |
7180 | arg1 = (wxWindowVariant) SWIG_AsInt(obj0); | |
7181 | if (PyErr_Occurred()) SWIG_fail; | |
7182 | } | |
7183 | { | |
7184 | if (!wxPyCheckForApp()) SWIG_fail; | |
7185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7186 | result = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
7187 | ||
7188 | wxPyEndAllowThreads(__tstate); | |
7189 | if (PyErr_Occurred()) SWIG_fail; | |
7190 | } | |
7191 | { | |
7192 | wxVisualAttributes * resultptr; | |
7193 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
7194 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
7195 | } | |
7196 | return resultobj; | |
7197 | fail: | |
7198 | return NULL; | |
7199 | } | |
7200 | ||
7201 | ||
7202 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
7203 | PyObject *obj; | |
7204 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7205 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
7206 | Py_INCREF(obj); | |
7207 | return Py_BuildValue((char *)""); | |
7208 | } | |
7209 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7210 | PyObject *resultobj; | |
7211 | wxHtmlDCRenderer *result; | |
7212 | char *kwnames[] = { | |
7213 | NULL | |
7214 | }; | |
7215 | ||
7216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
7217 | { | |
7218 | if (!wxPyCheckForApp()) SWIG_fail; | |
7219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7220 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
7221 | ||
7222 | wxPyEndAllowThreads(__tstate); | |
7223 | if (PyErr_Occurred()) SWIG_fail; | |
7224 | } | |
7225 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
7226 | return resultobj; | |
7227 | fail: | |
7228 | return NULL; | |
7229 | } | |
7230 | ||
7231 | ||
7232 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7233 | PyObject *resultobj; | |
7234 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7235 | PyObject * obj0 = 0 ; | |
7236 | char *kwnames[] = { | |
7237 | (char *) "self", NULL | |
7238 | }; | |
7239 | ||
7240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
7241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7243 | { | |
7244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7245 | delete arg1; | |
7246 | ||
7247 | wxPyEndAllowThreads(__tstate); | |
7248 | if (PyErr_Occurred()) SWIG_fail; | |
7249 | } | |
7250 | Py_INCREF(Py_None); resultobj = Py_None; | |
7251 | return resultobj; | |
7252 | fail: | |
7253 | return NULL; | |
7254 | } | |
7255 | ||
7256 | ||
7257 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7258 | PyObject *resultobj; | |
7259 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7260 | wxDC *arg2 = (wxDC *) 0 ; | |
7261 | int arg3 ; | |
7262 | PyObject * obj0 = 0 ; | |
7263 | PyObject * obj1 = 0 ; | |
7264 | PyObject * obj2 = 0 ; | |
7265 | char *kwnames[] = { | |
7266 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
7267 | }; | |
7268 | ||
7269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7272 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
7273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7274 | arg3 = (int) SWIG_AsInt(obj2); | |
7275 | if (PyErr_Occurred()) SWIG_fail; | |
7276 | { | |
7277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7278 | (arg1)->SetDC(arg2,arg3); | |
7279 | ||
7280 | wxPyEndAllowThreads(__tstate); | |
7281 | if (PyErr_Occurred()) SWIG_fail; | |
7282 | } | |
7283 | Py_INCREF(Py_None); resultobj = Py_None; | |
7284 | return resultobj; | |
7285 | fail: | |
7286 | return NULL; | |
7287 | } | |
7288 | ||
7289 | ||
7290 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7291 | PyObject *resultobj; | |
7292 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7293 | int arg2 ; | |
7294 | int arg3 ; | |
7295 | PyObject * obj0 = 0 ; | |
7296 | PyObject * obj1 = 0 ; | |
7297 | PyObject * obj2 = 0 ; | |
7298 | char *kwnames[] = { | |
7299 | (char *) "self",(char *) "width",(char *) "height", NULL | |
7300 | }; | |
7301 | ||
7302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7305 | arg2 = (int) SWIG_AsInt(obj1); | |
7306 | if (PyErr_Occurred()) SWIG_fail; | |
7307 | arg3 = (int) SWIG_AsInt(obj2); | |
7308 | if (PyErr_Occurred()) SWIG_fail; | |
7309 | { | |
7310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7311 | (arg1)->SetSize(arg2,arg3); | |
7312 | ||
7313 | wxPyEndAllowThreads(__tstate); | |
7314 | if (PyErr_Occurred()) SWIG_fail; | |
7315 | } | |
7316 | Py_INCREF(Py_None); resultobj = Py_None; | |
7317 | return resultobj; | |
7318 | fail: | |
7319 | return NULL; | |
7320 | } | |
7321 | ||
7322 | ||
7323 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7324 | PyObject *resultobj; | |
7325 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7326 | wxString *arg2 = 0 ; | |
7327 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7328 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7329 | bool arg4 = (bool) True ; | |
7330 | bool temp2 = False ; | |
7331 | bool temp3 = False ; | |
7332 | PyObject * obj0 = 0 ; | |
7333 | PyObject * obj1 = 0 ; | |
7334 | PyObject * obj2 = 0 ; | |
7335 | PyObject * obj3 = 0 ; | |
7336 | char *kwnames[] = { | |
7337 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7338 | }; | |
7339 | ||
7340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7343 | { | |
7344 | arg2 = wxString_in_helper(obj1); | |
7345 | if (arg2 == NULL) SWIG_fail; | |
7346 | temp2 = True; | |
7347 | } | |
7348 | if (obj2) { | |
7349 | { | |
7350 | arg3 = wxString_in_helper(obj2); | |
7351 | if (arg3 == NULL) SWIG_fail; | |
7352 | temp3 = True; | |
7353 | } | |
7354 | } | |
7355 | if (obj3) { | |
7356 | arg4 = (bool) SWIG_AsBool(obj3); | |
7357 | if (PyErr_Occurred()) SWIG_fail; | |
7358 | } | |
7359 | { | |
7360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7361 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7362 | ||
7363 | wxPyEndAllowThreads(__tstate); | |
7364 | if (PyErr_Occurred()) SWIG_fail; | |
7365 | } | |
7366 | Py_INCREF(Py_None); resultobj = Py_None; | |
7367 | { | |
7368 | if (temp2) | |
7369 | delete arg2; | |
7370 | } | |
7371 | { | |
7372 | if (temp3) | |
7373 | delete arg3; | |
7374 | } | |
7375 | return resultobj; | |
7376 | fail: | |
7377 | { | |
7378 | if (temp2) | |
7379 | delete arg2; | |
7380 | } | |
7381 | { | |
7382 | if (temp3) | |
7383 | delete arg3; | |
7384 | } | |
7385 | return NULL; | |
7386 | } | |
7387 | ||
7388 | ||
7389 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7390 | PyObject *resultobj; | |
7391 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7392 | wxString arg2 ; | |
7393 | wxString arg3 ; | |
7394 | PyObject *arg4 = (PyObject *) NULL ; | |
7395 | PyObject * obj0 = 0 ; | |
7396 | PyObject * obj1 = 0 ; | |
7397 | PyObject * obj2 = 0 ; | |
7398 | PyObject * obj3 = 0 ; | |
7399 | char *kwnames[] = { | |
7400 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7401 | }; | |
7402 | ||
7403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7406 | { | |
7407 | wxString* sptr = wxString_in_helper(obj1); | |
7408 | if (sptr == NULL) SWIG_fail; | |
7409 | arg2 = *sptr; | |
7410 | delete sptr; | |
7411 | } | |
7412 | { | |
7413 | wxString* sptr = wxString_in_helper(obj2); | |
7414 | if (sptr == NULL) SWIG_fail; | |
7415 | arg3 = *sptr; | |
7416 | delete sptr; | |
7417 | } | |
7418 | if (obj3) { | |
7419 | arg4 = obj3; | |
7420 | } | |
7421 | { | |
7422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7423 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
7424 | ||
7425 | wxPyEndAllowThreads(__tstate); | |
7426 | if (PyErr_Occurred()) SWIG_fail; | |
7427 | } | |
7428 | Py_INCREF(Py_None); resultobj = Py_None; | |
7429 | return resultobj; | |
7430 | fail: | |
7431 | return NULL; | |
7432 | } | |
7433 | ||
7434 | ||
7435 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7436 | PyObject *resultobj; | |
7437 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7438 | int arg2 ; | |
7439 | int arg3 ; | |
7440 | int arg4 = (int) 0 ; | |
7441 | int arg5 = (int) False ; | |
7442 | int arg6 = (int) INT_MAX ; | |
7443 | int *arg7 = (int *) NULL ; | |
7444 | int arg8 = (int) 0 ; | |
7445 | int result; | |
7446 | PyObject * obj0 = 0 ; | |
7447 | PyObject * obj1 = 0 ; | |
7448 | PyObject * obj2 = 0 ; | |
7449 | PyObject * obj3 = 0 ; | |
7450 | PyObject * obj4 = 0 ; | |
7451 | PyObject * obj5 = 0 ; | |
7452 | PyObject * obj6 = 0 ; | |
7453 | PyObject * obj7 = 0 ; | |
7454 | char *kwnames[] = { | |
7455 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
7456 | }; | |
7457 | ||
7458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
7459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7461 | arg2 = (int) SWIG_AsInt(obj1); | |
7462 | if (PyErr_Occurred()) SWIG_fail; | |
7463 | arg3 = (int) SWIG_AsInt(obj2); | |
7464 | if (PyErr_Occurred()) SWIG_fail; | |
7465 | if (obj3) { | |
7466 | arg4 = (int) SWIG_AsInt(obj3); | |
7467 | if (PyErr_Occurred()) SWIG_fail; | |
7468 | } | |
7469 | if (obj4) { | |
7470 | arg5 = (int) SWIG_AsInt(obj4); | |
7471 | if (PyErr_Occurred()) SWIG_fail; | |
7472 | } | |
7473 | if (obj5) { | |
7474 | arg6 = (int) SWIG_AsInt(obj5); | |
7475 | if (PyErr_Occurred()) SWIG_fail; | |
7476 | } | |
7477 | if (obj6) { | |
7478 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int, | |
7479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7480 | } | |
7481 | if (obj7) { | |
7482 | arg8 = (int) SWIG_AsInt(obj7); | |
7483 | if (PyErr_Occurred()) SWIG_fail; | |
7484 | } | |
7485 | { | |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
7488 | ||
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | resultobj = SWIG_FromInt((int)result); | |
7493 | return resultobj; | |
7494 | fail: | |
7495 | return NULL; | |
7496 | } | |
7497 | ||
7498 | ||
7499 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7500 | PyObject *resultobj; | |
7501 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7502 | int result; | |
7503 | PyObject * obj0 = 0 ; | |
7504 | char *kwnames[] = { | |
7505 | (char *) "self", NULL | |
7506 | }; | |
7507 | ||
7508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
7509 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7511 | { | |
7512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7513 | result = (int)(arg1)->GetTotalHeight(); | |
7514 | ||
7515 | wxPyEndAllowThreads(__tstate); | |
7516 | if (PyErr_Occurred()) SWIG_fail; | |
7517 | } | |
7518 | resultobj = SWIG_FromInt((int)result); | |
7519 | return resultobj; | |
7520 | fail: | |
7521 | return NULL; | |
7522 | } | |
7523 | ||
7524 | ||
7525 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
7526 | PyObject *obj; | |
7527 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7528 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
7529 | Py_INCREF(obj); | |
7530 | return Py_BuildValue((char *)""); | |
7531 | } | |
7532 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7533 | PyObject *resultobj; | |
7534 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
7535 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7536 | wxHtmlPrintout *result; | |
7537 | bool temp1 = False ; | |
7538 | PyObject * obj0 = 0 ; | |
7539 | char *kwnames[] = { | |
7540 | (char *) "title", NULL | |
7541 | }; | |
7542 | ||
7543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
7544 | if (obj0) { | |
7545 | { | |
7546 | arg1 = wxString_in_helper(obj0); | |
7547 | if (arg1 == NULL) SWIG_fail; | |
7548 | temp1 = True; | |
7549 | } | |
7550 | } | |
7551 | { | |
7552 | if (!wxPyCheckForApp()) SWIG_fail; | |
7553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7554 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
7555 | ||
7556 | wxPyEndAllowThreads(__tstate); | |
7557 | if (PyErr_Occurred()) SWIG_fail; | |
7558 | } | |
7559 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1); | |
7560 | { | |
7561 | if (temp1) | |
7562 | delete arg1; | |
7563 | } | |
7564 | return resultobj; | |
7565 | fail: | |
7566 | { | |
7567 | if (temp1) | |
7568 | delete arg1; | |
7569 | } | |
7570 | return NULL; | |
7571 | } | |
7572 | ||
7573 | ||
7574 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7575 | PyObject *resultobj; | |
7576 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7577 | wxString *arg2 = 0 ; | |
7578 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7579 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7580 | bool arg4 = (bool) True ; | |
7581 | bool temp2 = False ; | |
7582 | bool temp3 = False ; | |
7583 | PyObject * obj0 = 0 ; | |
7584 | PyObject * obj1 = 0 ; | |
7585 | PyObject * obj2 = 0 ; | |
7586 | PyObject * obj3 = 0 ; | |
7587 | char *kwnames[] = { | |
7588 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7589 | }; | |
7590 | ||
7591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7594 | { | |
7595 | arg2 = wxString_in_helper(obj1); | |
7596 | if (arg2 == NULL) SWIG_fail; | |
7597 | temp2 = True; | |
7598 | } | |
7599 | if (obj2) { | |
7600 | { | |
7601 | arg3 = wxString_in_helper(obj2); | |
7602 | if (arg3 == NULL) SWIG_fail; | |
7603 | temp3 = True; | |
7604 | } | |
7605 | } | |
7606 | if (obj3) { | |
7607 | arg4 = (bool) SWIG_AsBool(obj3); | |
7608 | if (PyErr_Occurred()) SWIG_fail; | |
7609 | } | |
7610 | { | |
7611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7612 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7613 | ||
7614 | wxPyEndAllowThreads(__tstate); | |
7615 | if (PyErr_Occurred()) SWIG_fail; | |
7616 | } | |
7617 | Py_INCREF(Py_None); resultobj = Py_None; | |
7618 | { | |
7619 | if (temp2) | |
7620 | delete arg2; | |
7621 | } | |
7622 | { | |
7623 | if (temp3) | |
7624 | delete arg3; | |
7625 | } | |
7626 | return resultobj; | |
7627 | fail: | |
7628 | { | |
7629 | if (temp2) | |
7630 | delete arg2; | |
7631 | } | |
7632 | { | |
7633 | if (temp3) | |
7634 | delete arg3; | |
7635 | } | |
7636 | return NULL; | |
7637 | } | |
7638 | ||
7639 | ||
7640 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7641 | PyObject *resultobj; | |
7642 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7643 | wxString *arg2 = 0 ; | |
7644 | bool temp2 = False ; | |
7645 | PyObject * obj0 = 0 ; | |
7646 | PyObject * obj1 = 0 ; | |
7647 | char *kwnames[] = { | |
7648 | (char *) "self",(char *) "htmlfile", NULL | |
7649 | }; | |
7650 | ||
7651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
7652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7654 | { | |
7655 | arg2 = wxString_in_helper(obj1); | |
7656 | if (arg2 == NULL) SWIG_fail; | |
7657 | temp2 = True; | |
7658 | } | |
7659 | { | |
7660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7661 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
7662 | ||
7663 | wxPyEndAllowThreads(__tstate); | |
7664 | if (PyErr_Occurred()) SWIG_fail; | |
7665 | } | |
7666 | Py_INCREF(Py_None); resultobj = Py_None; | |
7667 | { | |
7668 | if (temp2) | |
7669 | delete arg2; | |
7670 | } | |
7671 | return resultobj; | |
7672 | fail: | |
7673 | { | |
7674 | if (temp2) | |
7675 | delete arg2; | |
7676 | } | |
7677 | return NULL; | |
7678 | } | |
7679 | ||
7680 | ||
7681 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7682 | PyObject *resultobj; | |
7683 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7684 | wxString *arg2 = 0 ; | |
7685 | int arg3 = (int) wxPAGE_ALL ; | |
7686 | bool temp2 = False ; | |
7687 | PyObject * obj0 = 0 ; | |
7688 | PyObject * obj1 = 0 ; | |
7689 | PyObject * obj2 = 0 ; | |
7690 | char *kwnames[] = { | |
7691 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7692 | }; | |
7693 | ||
7694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7697 | { | |
7698 | arg2 = wxString_in_helper(obj1); | |
7699 | if (arg2 == NULL) SWIG_fail; | |
7700 | temp2 = True; | |
7701 | } | |
7702 | if (obj2) { | |
7703 | arg3 = (int) SWIG_AsInt(obj2); | |
7704 | if (PyErr_Occurred()) SWIG_fail; | |
7705 | } | |
7706 | { | |
7707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7708 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7709 | ||
7710 | wxPyEndAllowThreads(__tstate); | |
7711 | if (PyErr_Occurred()) SWIG_fail; | |
7712 | } | |
7713 | Py_INCREF(Py_None); resultobj = Py_None; | |
7714 | { | |
7715 | if (temp2) | |
7716 | delete arg2; | |
7717 | } | |
7718 | return resultobj; | |
7719 | fail: | |
7720 | { | |
7721 | if (temp2) | |
7722 | delete arg2; | |
7723 | } | |
7724 | return NULL; | |
7725 | } | |
7726 | ||
7727 | ||
7728 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7729 | PyObject *resultobj; | |
7730 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7731 | wxString *arg2 = 0 ; | |
7732 | int arg3 = (int) wxPAGE_ALL ; | |
7733 | bool temp2 = False ; | |
7734 | PyObject * obj0 = 0 ; | |
7735 | PyObject * obj1 = 0 ; | |
7736 | PyObject * obj2 = 0 ; | |
7737 | char *kwnames[] = { | |
7738 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7739 | }; | |
7740 | ||
7741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7744 | { | |
7745 | arg2 = wxString_in_helper(obj1); | |
7746 | if (arg2 == NULL) SWIG_fail; | |
7747 | temp2 = True; | |
7748 | } | |
7749 | if (obj2) { | |
7750 | arg3 = (int) SWIG_AsInt(obj2); | |
7751 | if (PyErr_Occurred()) SWIG_fail; | |
7752 | } | |
7753 | { | |
7754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7755 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7756 | ||
7757 | wxPyEndAllowThreads(__tstate); | |
7758 | if (PyErr_Occurred()) SWIG_fail; | |
7759 | } | |
7760 | Py_INCREF(Py_None); resultobj = Py_None; | |
7761 | { | |
7762 | if (temp2) | |
7763 | delete arg2; | |
7764 | } | |
7765 | return resultobj; | |
7766 | fail: | |
7767 | { | |
7768 | if (temp2) | |
7769 | delete arg2; | |
7770 | } | |
7771 | return NULL; | |
7772 | } | |
7773 | ||
7774 | ||
7775 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7776 | PyObject *resultobj; | |
7777 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7778 | wxString arg2 ; | |
7779 | wxString arg3 ; | |
7780 | PyObject *arg4 = (PyObject *) NULL ; | |
7781 | PyObject * obj0 = 0 ; | |
7782 | PyObject * obj1 = 0 ; | |
7783 | PyObject * obj2 = 0 ; | |
7784 | PyObject * obj3 = 0 ; | |
7785 | char *kwnames[] = { | |
7786 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7787 | }; | |
7788 | ||
7789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7792 | { | |
7793 | wxString* sptr = wxString_in_helper(obj1); | |
7794 | if (sptr == NULL) SWIG_fail; | |
7795 | arg2 = *sptr; | |
7796 | delete sptr; | |
7797 | } | |
7798 | { | |
7799 | wxString* sptr = wxString_in_helper(obj2); | |
7800 | if (sptr == NULL) SWIG_fail; | |
7801 | arg3 = *sptr; | |
7802 | delete sptr; | |
7803 | } | |
7804 | if (obj3) { | |
7805 | arg4 = obj3; | |
7806 | } | |
7807 | { | |
7808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7809 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
7810 | ||
7811 | wxPyEndAllowThreads(__tstate); | |
7812 | if (PyErr_Occurred()) SWIG_fail; | |
7813 | } | |
7814 | Py_INCREF(Py_None); resultobj = Py_None; | |
7815 | return resultobj; | |
7816 | fail: | |
7817 | return NULL; | |
7818 | } | |
7819 | ||
7820 | ||
7821 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7822 | PyObject *resultobj; | |
7823 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7824 | float arg2 = (float) 25.2 ; | |
7825 | float arg3 = (float) 25.2 ; | |
7826 | float arg4 = (float) 25.2 ; | |
7827 | float arg5 = (float) 25.2 ; | |
7828 | float arg6 = (float) 5 ; | |
7829 | PyObject * obj0 = 0 ; | |
7830 | PyObject * obj1 = 0 ; | |
7831 | PyObject * obj2 = 0 ; | |
7832 | PyObject * obj3 = 0 ; | |
7833 | PyObject * obj4 = 0 ; | |
7834 | PyObject * obj5 = 0 ; | |
7835 | char *kwnames[] = { | |
7836 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
7837 | }; | |
7838 | ||
7839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
7840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7842 | if (obj1) { | |
7843 | arg2 = (float) SWIG_AsFloat(obj1); | |
7844 | if (PyErr_Occurred()) SWIG_fail; | |
7845 | } | |
7846 | if (obj2) { | |
7847 | arg3 = (float) SWIG_AsFloat(obj2); | |
7848 | if (PyErr_Occurred()) SWIG_fail; | |
7849 | } | |
7850 | if (obj3) { | |
7851 | arg4 = (float) SWIG_AsFloat(obj3); | |
7852 | if (PyErr_Occurred()) SWIG_fail; | |
7853 | } | |
7854 | if (obj4) { | |
7855 | arg5 = (float) SWIG_AsFloat(obj4); | |
7856 | if (PyErr_Occurred()) SWIG_fail; | |
7857 | } | |
7858 | if (obj5) { | |
7859 | arg6 = (float) SWIG_AsFloat(obj5); | |
7860 | if (PyErr_Occurred()) SWIG_fail; | |
7861 | } | |
7862 | { | |
7863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7864 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
7865 | ||
7866 | wxPyEndAllowThreads(__tstate); | |
7867 | if (PyErr_Occurred()) SWIG_fail; | |
7868 | } | |
7869 | Py_INCREF(Py_None); resultobj = Py_None; | |
7870 | return resultobj; | |
7871 | fail: | |
7872 | return NULL; | |
7873 | } | |
7874 | ||
7875 | ||
7876 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7877 | PyObject *resultobj; | |
7878 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
7879 | PyObject * obj0 = 0 ; | |
7880 | char *kwnames[] = { | |
7881 | (char *) "filter", NULL | |
7882 | }; | |
7883 | ||
7884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
7885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter, | |
7886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7887 | { | |
7888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7889 | wxHtmlPrintout::AddFilter(arg1); | |
7890 | ||
7891 | wxPyEndAllowThreads(__tstate); | |
7892 | if (PyErr_Occurred()) SWIG_fail; | |
7893 | } | |
7894 | Py_INCREF(Py_None); resultobj = Py_None; | |
7895 | return resultobj; | |
7896 | fail: | |
7897 | return NULL; | |
7898 | } | |
7899 | ||
7900 | ||
7901 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7902 | PyObject *resultobj; | |
7903 | char *kwnames[] = { | |
7904 | NULL | |
7905 | }; | |
7906 | ||
7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
7908 | { | |
7909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7910 | wxHtmlPrintout::CleanUpStatics(); | |
7911 | ||
7912 | wxPyEndAllowThreads(__tstate); | |
7913 | if (PyErr_Occurred()) SWIG_fail; | |
7914 | } | |
7915 | Py_INCREF(Py_None); resultobj = Py_None; | |
7916 | return resultobj; | |
7917 | fail: | |
7918 | return NULL; | |
7919 | } | |
7920 | ||
7921 | ||
7922 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
7923 | PyObject *obj; | |
7924 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7925 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
7926 | Py_INCREF(obj); | |
7927 | return Py_BuildValue((char *)""); | |
7928 | } | |
7929 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7930 | PyObject *resultobj; | |
7931 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
7932 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7933 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7934 | wxHtmlEasyPrinting *result; | |
7935 | bool temp1 = False ; | |
7936 | PyObject * obj0 = 0 ; | |
7937 | PyObject * obj1 = 0 ; | |
7938 | char *kwnames[] = { | |
7939 | (char *) "name",(char *) "parentWindow", NULL | |
7940 | }; | |
7941 | ||
7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
7943 | if (obj0) { | |
7944 | { | |
7945 | arg1 = wxString_in_helper(obj0); | |
7946 | if (arg1 == NULL) SWIG_fail; | |
7947 | temp1 = True; | |
7948 | } | |
7949 | } | |
7950 | if (obj1) { | |
7951 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7953 | } | |
7954 | { | |
7955 | if (!wxPyCheckForApp()) SWIG_fail; | |
7956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7957 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
7958 | ||
7959 | wxPyEndAllowThreads(__tstate); | |
7960 | if (PyErr_Occurred()) SWIG_fail; | |
7961 | } | |
7962 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
7963 | { | |
7964 | if (temp1) | |
7965 | delete arg1; | |
7966 | } | |
7967 | return resultobj; | |
7968 | fail: | |
7969 | { | |
7970 | if (temp1) | |
7971 | delete arg1; | |
7972 | } | |
7973 | return NULL; | |
7974 | } | |
7975 | ||
7976 | ||
7977 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7978 | PyObject *resultobj; | |
7979 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7980 | PyObject * obj0 = 0 ; | |
7981 | char *kwnames[] = { | |
7982 | (char *) "self", NULL | |
7983 | }; | |
7984 | ||
7985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
7986 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
7987 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7988 | { | |
7989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7990 | delete arg1; | |
7991 | ||
7992 | wxPyEndAllowThreads(__tstate); | |
7993 | if (PyErr_Occurred()) SWIG_fail; | |
7994 | } | |
7995 | Py_INCREF(Py_None); resultobj = Py_None; | |
7996 | return resultobj; | |
7997 | fail: | |
7998 | return NULL; | |
7999 | } | |
8000 | ||
8001 | ||
8002 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8003 | PyObject *resultobj; | |
8004 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8005 | wxString *arg2 = 0 ; | |
8006 | bool temp2 = False ; | |
8007 | PyObject * obj0 = 0 ; | |
8008 | PyObject * obj1 = 0 ; | |
8009 | char *kwnames[] = { | |
8010 | (char *) "self",(char *) "htmlfile", NULL | |
8011 | }; | |
8012 | ||
8013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
8014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8016 | { | |
8017 | arg2 = wxString_in_helper(obj1); | |
8018 | if (arg2 == NULL) SWIG_fail; | |
8019 | temp2 = True; | |
8020 | } | |
8021 | { | |
8022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8023 | (arg1)->PreviewFile((wxString const &)*arg2); | |
8024 | ||
8025 | wxPyEndAllowThreads(__tstate); | |
8026 | if (PyErr_Occurred()) SWIG_fail; | |
8027 | } | |
8028 | Py_INCREF(Py_None); resultobj = Py_None; | |
8029 | { | |
8030 | if (temp2) | |
8031 | delete arg2; | |
8032 | } | |
8033 | return resultobj; | |
8034 | fail: | |
8035 | { | |
8036 | if (temp2) | |
8037 | delete arg2; | |
8038 | } | |
8039 | return NULL; | |
8040 | } | |
8041 | ||
8042 | ||
8043 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8044 | PyObject *resultobj; | |
8045 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8046 | wxString *arg2 = 0 ; | |
8047 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8048 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8049 | bool temp2 = False ; | |
8050 | bool temp3 = False ; | |
8051 | PyObject * obj0 = 0 ; | |
8052 | PyObject * obj1 = 0 ; | |
8053 | PyObject * obj2 = 0 ; | |
8054 | char *kwnames[] = { | |
8055 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8056 | }; | |
8057 | ||
8058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8061 | { | |
8062 | arg2 = wxString_in_helper(obj1); | |
8063 | if (arg2 == NULL) SWIG_fail; | |
8064 | temp2 = True; | |
8065 | } | |
8066 | if (obj2) { | |
8067 | { | |
8068 | arg3 = wxString_in_helper(obj2); | |
8069 | if (arg3 == NULL) SWIG_fail; | |
8070 | temp3 = True; | |
8071 | } | |
8072 | } | |
8073 | { | |
8074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8075 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
8076 | ||
8077 | wxPyEndAllowThreads(__tstate); | |
8078 | if (PyErr_Occurred()) SWIG_fail; | |
8079 | } | |
8080 | Py_INCREF(Py_None); resultobj = Py_None; | |
8081 | { | |
8082 | if (temp2) | |
8083 | delete arg2; | |
8084 | } | |
8085 | { | |
8086 | if (temp3) | |
8087 | delete arg3; | |
8088 | } | |
8089 | return resultobj; | |
8090 | fail: | |
8091 | { | |
8092 | if (temp2) | |
8093 | delete arg2; | |
8094 | } | |
8095 | { | |
8096 | if (temp3) | |
8097 | delete arg3; | |
8098 | } | |
8099 | return NULL; | |
8100 | } | |
8101 | ||
8102 | ||
8103 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8104 | PyObject *resultobj; | |
8105 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8106 | wxString *arg2 = 0 ; | |
8107 | bool temp2 = False ; | |
8108 | PyObject * obj0 = 0 ; | |
8109 | PyObject * obj1 = 0 ; | |
8110 | char *kwnames[] = { | |
8111 | (char *) "self",(char *) "htmlfile", NULL | |
8112 | }; | |
8113 | ||
8114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
8115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8117 | { | |
8118 | arg2 = wxString_in_helper(obj1); | |
8119 | if (arg2 == NULL) SWIG_fail; | |
8120 | temp2 = True; | |
8121 | } | |
8122 | { | |
8123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8124 | (arg1)->PrintFile((wxString const &)*arg2); | |
8125 | ||
8126 | wxPyEndAllowThreads(__tstate); | |
8127 | if (PyErr_Occurred()) SWIG_fail; | |
8128 | } | |
8129 | Py_INCREF(Py_None); resultobj = Py_None; | |
8130 | { | |
8131 | if (temp2) | |
8132 | delete arg2; | |
8133 | } | |
8134 | return resultobj; | |
8135 | fail: | |
8136 | { | |
8137 | if (temp2) | |
8138 | delete arg2; | |
8139 | } | |
8140 | return NULL; | |
8141 | } | |
8142 | ||
8143 | ||
8144 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8145 | PyObject *resultobj; | |
8146 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8147 | wxString *arg2 = 0 ; | |
8148 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8149 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8150 | bool temp2 = False ; | |
8151 | bool temp3 = False ; | |
8152 | PyObject * obj0 = 0 ; | |
8153 | PyObject * obj1 = 0 ; | |
8154 | PyObject * obj2 = 0 ; | |
8155 | char *kwnames[] = { | |
8156 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8157 | }; | |
8158 | ||
8159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8162 | { | |
8163 | arg2 = wxString_in_helper(obj1); | |
8164 | if (arg2 == NULL) SWIG_fail; | |
8165 | temp2 = True; | |
8166 | } | |
8167 | if (obj2) { | |
8168 | { | |
8169 | arg3 = wxString_in_helper(obj2); | |
8170 | if (arg3 == NULL) SWIG_fail; | |
8171 | temp3 = True; | |
8172 | } | |
8173 | } | |
8174 | { | |
8175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8176 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
8177 | ||
8178 | wxPyEndAllowThreads(__tstate); | |
8179 | if (PyErr_Occurred()) SWIG_fail; | |
8180 | } | |
8181 | Py_INCREF(Py_None); resultobj = Py_None; | |
8182 | { | |
8183 | if (temp2) | |
8184 | delete arg2; | |
8185 | } | |
8186 | { | |
8187 | if (temp3) | |
8188 | delete arg3; | |
8189 | } | |
8190 | return resultobj; | |
8191 | fail: | |
8192 | { | |
8193 | if (temp2) | |
8194 | delete arg2; | |
8195 | } | |
8196 | { | |
8197 | if (temp3) | |
8198 | delete arg3; | |
8199 | } | |
8200 | return NULL; | |
8201 | } | |
8202 | ||
8203 | ||
8204 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8205 | PyObject *resultobj; | |
8206 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8207 | PyObject * obj0 = 0 ; | |
8208 | char *kwnames[] = { | |
8209 | (char *) "self", NULL | |
8210 | }; | |
8211 | ||
8212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
8213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8215 | { | |
8216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8217 | (arg1)->PrinterSetup(); | |
8218 | ||
8219 | wxPyEndAllowThreads(__tstate); | |
8220 | if (PyErr_Occurred()) SWIG_fail; | |
8221 | } | |
8222 | Py_INCREF(Py_None); resultobj = Py_None; | |
8223 | return resultobj; | |
8224 | fail: | |
8225 | return NULL; | |
8226 | } | |
8227 | ||
8228 | ||
8229 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8230 | PyObject *resultobj; | |
8231 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8232 | PyObject * obj0 = 0 ; | |
8233 | char *kwnames[] = { | |
8234 | (char *) "self", NULL | |
8235 | }; | |
8236 | ||
8237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
8238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8240 | { | |
8241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8242 | (arg1)->PageSetup(); | |
8243 | ||
8244 | wxPyEndAllowThreads(__tstate); | |
8245 | if (PyErr_Occurred()) SWIG_fail; | |
8246 | } | |
8247 | Py_INCREF(Py_None); resultobj = Py_None; | |
8248 | return resultobj; | |
8249 | fail: | |
8250 | return NULL; | |
8251 | } | |
8252 | ||
8253 | ||
8254 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8255 | PyObject *resultobj; | |
8256 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8257 | wxString *arg2 = 0 ; | |
8258 | int arg3 = (int) wxPAGE_ALL ; | |
8259 | bool temp2 = False ; | |
8260 | PyObject * obj0 = 0 ; | |
8261 | PyObject * obj1 = 0 ; | |
8262 | PyObject * obj2 = 0 ; | |
8263 | char *kwnames[] = { | |
8264 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
8265 | }; | |
8266 | ||
8267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8268 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8269 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8270 | { | |
8271 | arg2 = wxString_in_helper(obj1); | |
8272 | if (arg2 == NULL) SWIG_fail; | |
8273 | temp2 = True; | |
8274 | } | |
8275 | if (obj2) { | |
8276 | arg3 = (int) SWIG_AsInt(obj2); | |
8277 | if (PyErr_Occurred()) SWIG_fail; | |
8278 | } | |
8279 | { | |
8280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8281 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
8282 | ||
8283 | wxPyEndAllowThreads(__tstate); | |
8284 | if (PyErr_Occurred()) SWIG_fail; | |
8285 | } | |
8286 | Py_INCREF(Py_None); resultobj = Py_None; | |
8287 | { | |
8288 | if (temp2) | |
8289 | delete arg2; | |
8290 | } | |
8291 | return resultobj; | |
8292 | fail: | |
8293 | { | |
8294 | if (temp2) | |
8295 | delete arg2; | |
8296 | } | |
8297 | return NULL; | |
8298 | } | |
8299 | ||
8300 | ||
8301 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8302 | PyObject *resultobj; | |
8303 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8304 | wxString *arg2 = 0 ; | |
8305 | int arg3 = (int) wxPAGE_ALL ; | |
8306 | bool temp2 = False ; | |
8307 | PyObject * obj0 = 0 ; | |
8308 | PyObject * obj1 = 0 ; | |
8309 | PyObject * obj2 = 0 ; | |
8310 | char *kwnames[] = { | |
8311 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8312 | }; | |
8313 | ||
8314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8317 | { | |
8318 | arg2 = wxString_in_helper(obj1); | |
8319 | if (arg2 == NULL) SWIG_fail; | |
8320 | temp2 = True; | |
8321 | } | |
8322 | if (obj2) { | |
8323 | arg3 = (int) SWIG_AsInt(obj2); | |
8324 | if (PyErr_Occurred()) SWIG_fail; | |
8325 | } | |
8326 | { | |
8327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8328 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
8329 | ||
8330 | wxPyEndAllowThreads(__tstate); | |
8331 | if (PyErr_Occurred()) SWIG_fail; | |
8332 | } | |
8333 | Py_INCREF(Py_None); resultobj = Py_None; | |
8334 | { | |
8335 | if (temp2) | |
8336 | delete arg2; | |
8337 | } | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | { | |
8341 | if (temp2) | |
8342 | delete arg2; | |
8343 | } | |
8344 | return NULL; | |
8345 | } | |
8346 | ||
8347 | ||
8348 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8349 | PyObject *resultobj; | |
8350 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8351 | wxString arg2 ; | |
8352 | wxString arg3 ; | |
8353 | PyObject *arg4 = (PyObject *) NULL ; | |
8354 | PyObject * obj0 = 0 ; | |
8355 | PyObject * obj1 = 0 ; | |
8356 | PyObject * obj2 = 0 ; | |
8357 | PyObject * obj3 = 0 ; | |
8358 | char *kwnames[] = { | |
8359 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8360 | }; | |
8361 | ||
8362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8365 | { | |
8366 | wxString* sptr = wxString_in_helper(obj1); | |
8367 | if (sptr == NULL) SWIG_fail; | |
8368 | arg2 = *sptr; | |
8369 | delete sptr; | |
8370 | } | |
8371 | { | |
8372 | wxString* sptr = wxString_in_helper(obj2); | |
8373 | if (sptr == NULL) SWIG_fail; | |
8374 | arg3 = *sptr; | |
8375 | delete sptr; | |
8376 | } | |
8377 | if (obj3) { | |
8378 | arg4 = obj3; | |
8379 | } | |
8380 | { | |
8381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8382 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
8383 | ||
8384 | wxPyEndAllowThreads(__tstate); | |
8385 | if (PyErr_Occurred()) SWIG_fail; | |
8386 | } | |
8387 | Py_INCREF(Py_None); resultobj = Py_None; | |
8388 | return resultobj; | |
8389 | fail: | |
8390 | return NULL; | |
8391 | } | |
8392 | ||
8393 | ||
8394 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8395 | PyObject *resultobj; | |
8396 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8397 | wxPrintData *result; | |
8398 | PyObject * obj0 = 0 ; | |
8399 | char *kwnames[] = { | |
8400 | (char *) "self", NULL | |
8401 | }; | |
8402 | ||
8403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
8404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8406 | { | |
8407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8408 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
8409 | ||
8410 | wxPyEndAllowThreads(__tstate); | |
8411 | if (PyErr_Occurred()) SWIG_fail; | |
8412 | } | |
8413 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
8414 | return resultobj; | |
8415 | fail: | |
8416 | return NULL; | |
8417 | } | |
8418 | ||
8419 | ||
8420 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8421 | PyObject *resultobj; | |
8422 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8423 | wxPageSetupDialogData *result; | |
8424 | PyObject * obj0 = 0 ; | |
8425 | char *kwnames[] = { | |
8426 | (char *) "self", NULL | |
8427 | }; | |
8428 | ||
8429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
8430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8432 | { | |
8433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8434 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
8435 | ||
8436 | wxPyEndAllowThreads(__tstate); | |
8437 | if (PyErr_Occurred()) SWIG_fail; | |
8438 | } | |
8439 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
8440 | return resultobj; | |
8441 | fail: | |
8442 | return NULL; | |
8443 | } | |
8444 | ||
8445 | ||
8446 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
8447 | PyObject *obj; | |
8448 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8449 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
8450 | Py_INCREF(obj); | |
8451 | return Py_BuildValue((char *)""); | |
8452 | } | |
8453 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8454 | PyObject *resultobj; | |
8455 | wxString *arg1 = 0 ; | |
8456 | wxString *arg2 = 0 ; | |
8457 | wxString *arg3 = 0 ; | |
8458 | wxString *arg4 = 0 ; | |
8459 | wxHtmlBookRecord *result; | |
8460 | bool temp1 = False ; | |
8461 | bool temp2 = False ; | |
8462 | bool temp3 = False ; | |
8463 | bool temp4 = False ; | |
8464 | PyObject * obj0 = 0 ; | |
8465 | PyObject * obj1 = 0 ; | |
8466 | PyObject * obj2 = 0 ; | |
8467 | PyObject * obj3 = 0 ; | |
8468 | char *kwnames[] = { | |
8469 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
8470 | }; | |
8471 | ||
8472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8473 | { | |
8474 | arg1 = wxString_in_helper(obj0); | |
8475 | if (arg1 == NULL) SWIG_fail; | |
8476 | temp1 = True; | |
8477 | } | |
8478 | { | |
8479 | arg2 = wxString_in_helper(obj1); | |
8480 | if (arg2 == NULL) SWIG_fail; | |
8481 | temp2 = True; | |
8482 | } | |
8483 | { | |
8484 | arg3 = wxString_in_helper(obj2); | |
8485 | if (arg3 == NULL) SWIG_fail; | |
8486 | temp3 = True; | |
8487 | } | |
8488 | { | |
8489 | arg4 = wxString_in_helper(obj3); | |
8490 | if (arg4 == NULL) SWIG_fail; | |
8491 | temp4 = True; | |
8492 | } | |
8493 | { | |
8494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8495 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
8496 | ||
8497 | wxPyEndAllowThreads(__tstate); | |
8498 | if (PyErr_Occurred()) SWIG_fail; | |
8499 | } | |
8500 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1); | |
8501 | { | |
8502 | if (temp1) | |
8503 | delete arg1; | |
8504 | } | |
8505 | { | |
8506 | if (temp2) | |
8507 | delete arg2; | |
8508 | } | |
8509 | { | |
8510 | if (temp3) | |
8511 | delete arg3; | |
8512 | } | |
8513 | { | |
8514 | if (temp4) | |
8515 | delete arg4; | |
8516 | } | |
8517 | return resultobj; | |
8518 | fail: | |
8519 | { | |
8520 | if (temp1) | |
8521 | delete arg1; | |
8522 | } | |
8523 | { | |
8524 | if (temp2) | |
8525 | delete arg2; | |
8526 | } | |
8527 | { | |
8528 | if (temp3) | |
8529 | delete arg3; | |
8530 | } | |
8531 | { | |
8532 | if (temp4) | |
8533 | delete arg4; | |
8534 | } | |
8535 | return NULL; | |
8536 | } | |
8537 | ||
8538 | ||
8539 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8540 | PyObject *resultobj; | |
8541 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8542 | wxString result; | |
8543 | PyObject * obj0 = 0 ; | |
8544 | char *kwnames[] = { | |
8545 | (char *) "self", NULL | |
8546 | }; | |
8547 | ||
8548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
8549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8551 | { | |
8552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8553 | result = (arg1)->GetBookFile(); | |
8554 | ||
8555 | wxPyEndAllowThreads(__tstate); | |
8556 | if (PyErr_Occurred()) SWIG_fail; | |
8557 | } | |
8558 | { | |
8559 | #if wxUSE_UNICODE | |
8560 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8561 | #else | |
8562 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8563 | #endif | |
8564 | } | |
8565 | return resultobj; | |
8566 | fail: | |
8567 | return NULL; | |
8568 | } | |
8569 | ||
8570 | ||
8571 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8572 | PyObject *resultobj; | |
8573 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8574 | wxString result; | |
8575 | PyObject * obj0 = 0 ; | |
8576 | char *kwnames[] = { | |
8577 | (char *) "self", NULL | |
8578 | }; | |
8579 | ||
8580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
8581 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8583 | { | |
8584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8585 | result = (arg1)->GetTitle(); | |
8586 | ||
8587 | wxPyEndAllowThreads(__tstate); | |
8588 | if (PyErr_Occurred()) SWIG_fail; | |
8589 | } | |
8590 | { | |
8591 | #if wxUSE_UNICODE | |
8592 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8593 | #else | |
8594 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8595 | #endif | |
8596 | } | |
8597 | return resultobj; | |
8598 | fail: | |
8599 | return NULL; | |
8600 | } | |
8601 | ||
8602 | ||
8603 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8604 | PyObject *resultobj; | |
8605 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8606 | wxString result; | |
8607 | PyObject * obj0 = 0 ; | |
8608 | char *kwnames[] = { | |
8609 | (char *) "self", NULL | |
8610 | }; | |
8611 | ||
8612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
8613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8615 | { | |
8616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8617 | result = (arg1)->GetStart(); | |
8618 | ||
8619 | wxPyEndAllowThreads(__tstate); | |
8620 | if (PyErr_Occurred()) SWIG_fail; | |
8621 | } | |
8622 | { | |
8623 | #if wxUSE_UNICODE | |
8624 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8625 | #else | |
8626 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8627 | #endif | |
8628 | } | |
8629 | return resultobj; | |
8630 | fail: | |
8631 | return NULL; | |
8632 | } | |
8633 | ||
8634 | ||
8635 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8636 | PyObject *resultobj; | |
8637 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8638 | wxString result; | |
8639 | PyObject * obj0 = 0 ; | |
8640 | char *kwnames[] = { | |
8641 | (char *) "self", NULL | |
8642 | }; | |
8643 | ||
8644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
8645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8647 | { | |
8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8649 | result = (arg1)->GetBasePath(); | |
8650 | ||
8651 | wxPyEndAllowThreads(__tstate); | |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
8654 | { | |
8655 | #if wxUSE_UNICODE | |
8656 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8657 | #else | |
8658 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8659 | #endif | |
8660 | } | |
8661 | return resultobj; | |
8662 | fail: | |
8663 | return NULL; | |
8664 | } | |
8665 | ||
8666 | ||
8667 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8668 | PyObject *resultobj; | |
8669 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8670 | int arg2 ; | |
8671 | int arg3 ; | |
8672 | PyObject * obj0 = 0 ; | |
8673 | PyObject * obj1 = 0 ; | |
8674 | PyObject * obj2 = 0 ; | |
8675 | char *kwnames[] = { | |
8676 | (char *) "self",(char *) "start",(char *) "end", NULL | |
8677 | }; | |
8678 | ||
8679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8682 | arg2 = (int) SWIG_AsInt(obj1); | |
8683 | if (PyErr_Occurred()) SWIG_fail; | |
8684 | arg3 = (int) SWIG_AsInt(obj2); | |
8685 | if (PyErr_Occurred()) SWIG_fail; | |
8686 | { | |
8687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8688 | (arg1)->SetContentsRange(arg2,arg3); | |
8689 | ||
8690 | wxPyEndAllowThreads(__tstate); | |
8691 | if (PyErr_Occurred()) SWIG_fail; | |
8692 | } | |
8693 | Py_INCREF(Py_None); resultobj = Py_None; | |
8694 | return resultobj; | |
8695 | fail: | |
8696 | return NULL; | |
8697 | } | |
8698 | ||
8699 | ||
8700 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8701 | PyObject *resultobj; | |
8702 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8703 | int result; | |
8704 | PyObject * obj0 = 0 ; | |
8705 | char *kwnames[] = { | |
8706 | (char *) "self", NULL | |
8707 | }; | |
8708 | ||
8709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
8710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8712 | { | |
8713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8714 | result = (int)(arg1)->GetContentsStart(); | |
8715 | ||
8716 | wxPyEndAllowThreads(__tstate); | |
8717 | if (PyErr_Occurred()) SWIG_fail; | |
8718 | } | |
8719 | resultobj = SWIG_FromInt((int)result); | |
8720 | return resultobj; | |
8721 | fail: | |
8722 | return NULL; | |
8723 | } | |
8724 | ||
8725 | ||
8726 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8727 | PyObject *resultobj; | |
8728 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8729 | int result; | |
8730 | PyObject * obj0 = 0 ; | |
8731 | char *kwnames[] = { | |
8732 | (char *) "self", NULL | |
8733 | }; | |
8734 | ||
8735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
8736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8738 | { | |
8739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8740 | result = (int)(arg1)->GetContentsEnd(); | |
8741 | ||
8742 | wxPyEndAllowThreads(__tstate); | |
8743 | if (PyErr_Occurred()) SWIG_fail; | |
8744 | } | |
8745 | resultobj = SWIG_FromInt((int)result); | |
8746 | return resultobj; | |
8747 | fail: | |
8748 | return NULL; | |
8749 | } | |
8750 | ||
8751 | ||
8752 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8753 | PyObject *resultobj; | |
8754 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8755 | wxString *arg2 = 0 ; | |
8756 | bool temp2 = False ; | |
8757 | PyObject * obj0 = 0 ; | |
8758 | PyObject * obj1 = 0 ; | |
8759 | char *kwnames[] = { | |
8760 | (char *) "self",(char *) "title", NULL | |
8761 | }; | |
8762 | ||
8763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
8764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8766 | { | |
8767 | arg2 = wxString_in_helper(obj1); | |
8768 | if (arg2 == NULL) SWIG_fail; | |
8769 | temp2 = True; | |
8770 | } | |
8771 | { | |
8772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8773 | (arg1)->SetTitle((wxString const &)*arg2); | |
8774 | ||
8775 | wxPyEndAllowThreads(__tstate); | |
8776 | if (PyErr_Occurred()) SWIG_fail; | |
8777 | } | |
8778 | Py_INCREF(Py_None); resultobj = Py_None; | |
8779 | { | |
8780 | if (temp2) | |
8781 | delete arg2; | |
8782 | } | |
8783 | return resultobj; | |
8784 | fail: | |
8785 | { | |
8786 | if (temp2) | |
8787 | delete arg2; | |
8788 | } | |
8789 | return NULL; | |
8790 | } | |
8791 | ||
8792 | ||
8793 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8794 | PyObject *resultobj; | |
8795 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8796 | wxString *arg2 = 0 ; | |
8797 | bool temp2 = False ; | |
8798 | PyObject * obj0 = 0 ; | |
8799 | PyObject * obj1 = 0 ; | |
8800 | char *kwnames[] = { | |
8801 | (char *) "self",(char *) "path", NULL | |
8802 | }; | |
8803 | ||
8804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
8805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8807 | { | |
8808 | arg2 = wxString_in_helper(obj1); | |
8809 | if (arg2 == NULL) SWIG_fail; | |
8810 | temp2 = True; | |
8811 | } | |
8812 | { | |
8813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8814 | (arg1)->SetBasePath((wxString const &)*arg2); | |
8815 | ||
8816 | wxPyEndAllowThreads(__tstate); | |
8817 | if (PyErr_Occurred()) SWIG_fail; | |
8818 | } | |
8819 | Py_INCREF(Py_None); resultobj = Py_None; | |
8820 | { | |
8821 | if (temp2) | |
8822 | delete arg2; | |
8823 | } | |
8824 | return resultobj; | |
8825 | fail: | |
8826 | { | |
8827 | if (temp2) | |
8828 | delete arg2; | |
8829 | } | |
8830 | return NULL; | |
8831 | } | |
8832 | ||
8833 | ||
8834 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8835 | PyObject *resultobj; | |
8836 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8837 | wxString *arg2 = 0 ; | |
8838 | bool temp2 = False ; | |
8839 | PyObject * obj0 = 0 ; | |
8840 | PyObject * obj1 = 0 ; | |
8841 | char *kwnames[] = { | |
8842 | (char *) "self",(char *) "start", NULL | |
8843 | }; | |
8844 | ||
8845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
8846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8848 | { | |
8849 | arg2 = wxString_in_helper(obj1); | |
8850 | if (arg2 == NULL) SWIG_fail; | |
8851 | temp2 = True; | |
8852 | } | |
8853 | { | |
8854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8855 | (arg1)->SetStart((wxString const &)*arg2); | |
8856 | ||
8857 | wxPyEndAllowThreads(__tstate); | |
8858 | if (PyErr_Occurred()) SWIG_fail; | |
8859 | } | |
8860 | Py_INCREF(Py_None); resultobj = Py_None; | |
8861 | { | |
8862 | if (temp2) | |
8863 | delete arg2; | |
8864 | } | |
8865 | return resultobj; | |
8866 | fail: | |
8867 | { | |
8868 | if (temp2) | |
8869 | delete arg2; | |
8870 | } | |
8871 | return NULL; | |
8872 | } | |
8873 | ||
8874 | ||
8875 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8876 | PyObject *resultobj; | |
8877 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8878 | wxString *arg2 = 0 ; | |
8879 | wxString result; | |
8880 | bool temp2 = False ; | |
8881 | PyObject * obj0 = 0 ; | |
8882 | PyObject * obj1 = 0 ; | |
8883 | char *kwnames[] = { | |
8884 | (char *) "self",(char *) "page", NULL | |
8885 | }; | |
8886 | ||
8887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
8888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8890 | { | |
8891 | arg2 = wxString_in_helper(obj1); | |
8892 | if (arg2 == NULL) SWIG_fail; | |
8893 | temp2 = True; | |
8894 | } | |
8895 | { | |
8896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8897 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
8898 | ||
8899 | wxPyEndAllowThreads(__tstate); | |
8900 | if (PyErr_Occurred()) SWIG_fail; | |
8901 | } | |
8902 | { | |
8903 | #if wxUSE_UNICODE | |
8904 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8905 | #else | |
8906 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8907 | #endif | |
8908 | } | |
8909 | { | |
8910 | if (temp2) | |
8911 | delete arg2; | |
8912 | } | |
8913 | return resultobj; | |
8914 | fail: | |
8915 | { | |
8916 | if (temp2) | |
8917 | delete arg2; | |
8918 | } | |
8919 | return NULL; | |
8920 | } | |
8921 | ||
8922 | ||
8923 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
8924 | PyObject *obj; | |
8925 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8926 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
8927 | Py_INCREF(obj); | |
8928 | return Py_BuildValue((char *)""); | |
8929 | } | |
8930 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8931 | PyObject *resultobj; | |
8932 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8933 | int result; | |
8934 | PyObject * obj0 = 0 ; | |
8935 | char *kwnames[] = { | |
8936 | (char *) "self", NULL | |
8937 | }; | |
8938 | ||
8939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
8940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8942 | { | |
8943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8944 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
8945 | ||
8946 | wxPyEndAllowThreads(__tstate); | |
8947 | if (PyErr_Occurred()) SWIG_fail; | |
8948 | } | |
8949 | resultobj = SWIG_FromInt((int)result); | |
8950 | return resultobj; | |
8951 | fail: | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
8956 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8957 | PyObject *resultobj; | |
8958 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8959 | int result; | |
8960 | PyObject * obj0 = 0 ; | |
8961 | char *kwnames[] = { | |
8962 | (char *) "self", NULL | |
8963 | }; | |
8964 | ||
8965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
8966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8968 | { | |
8969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8970 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
8971 | ||
8972 | wxPyEndAllowThreads(__tstate); | |
8973 | if (PyErr_Occurred()) SWIG_fail; | |
8974 | } | |
8975 | resultobj = SWIG_FromInt((int)result); | |
8976 | return resultobj; | |
8977 | fail: | |
8978 | return NULL; | |
8979 | } | |
8980 | ||
8981 | ||
8982 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8983 | PyObject *resultobj; | |
8984 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8985 | wxString result; | |
8986 | PyObject * obj0 = 0 ; | |
8987 | char *kwnames[] = { | |
8988 | (char *) "self", NULL | |
8989 | }; | |
8990 | ||
8991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
8992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8994 | { | |
8995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8996 | result = wxHtmlContentsItem_GetName(arg1); | |
8997 | ||
8998 | wxPyEndAllowThreads(__tstate); | |
8999 | if (PyErr_Occurred()) SWIG_fail; | |
9000 | } | |
9001 | { | |
9002 | #if wxUSE_UNICODE | |
9003 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9004 | #else | |
9005 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9006 | #endif | |
9007 | } | |
9008 | return resultobj; | |
9009 | fail: | |
9010 | return NULL; | |
9011 | } | |
9012 | ||
9013 | ||
9014 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9015 | PyObject *resultobj; | |
9016 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9017 | wxString result; | |
9018 | PyObject * obj0 = 0 ; | |
9019 | char *kwnames[] = { | |
9020 | (char *) "self", NULL | |
9021 | }; | |
9022 | ||
9023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
9024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9026 | { | |
9027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9028 | result = wxHtmlContentsItem_GetPage(arg1); | |
9029 | ||
9030 | wxPyEndAllowThreads(__tstate); | |
9031 | if (PyErr_Occurred()) SWIG_fail; | |
9032 | } | |
9033 | { | |
9034 | #if wxUSE_UNICODE | |
9035 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9036 | #else | |
9037 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9038 | #endif | |
9039 | } | |
9040 | return resultobj; | |
9041 | fail: | |
9042 | return NULL; | |
9043 | } | |
9044 | ||
9045 | ||
9046 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9047 | PyObject *resultobj; | |
9048 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9049 | wxHtmlBookRecord *result; | |
9050 | PyObject * obj0 = 0 ; | |
9051 | char *kwnames[] = { | |
9052 | (char *) "self", NULL | |
9053 | }; | |
9054 | ||
9055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
9056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9058 | { | |
9059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9060 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
9061 | ||
9062 | wxPyEndAllowThreads(__tstate); | |
9063 | if (PyErr_Occurred()) SWIG_fail; | |
9064 | } | |
9065 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0); | |
9066 | return resultobj; | |
9067 | fail: | |
9068 | return NULL; | |
9069 | } | |
9070 | ||
9071 | ||
9072 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
9073 | PyObject *obj; | |
9074 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9075 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
9076 | Py_INCREF(obj); | |
9077 | return Py_BuildValue((char *)""); | |
9078 | } | |
9079 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9080 | PyObject *resultobj; | |
9081 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9082 | bool result; | |
9083 | PyObject * obj0 = 0 ; | |
9084 | char *kwnames[] = { | |
9085 | (char *) "self", NULL | |
9086 | }; | |
9087 | ||
9088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
9089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9091 | { | |
9092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9093 | result = (bool)(arg1)->Search(); | |
9094 | ||
9095 | wxPyEndAllowThreads(__tstate); | |
9096 | if (PyErr_Occurred()) SWIG_fail; | |
9097 | } | |
9098 | { | |
9099 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9100 | } | |
9101 | return resultobj; | |
9102 | fail: | |
9103 | return NULL; | |
9104 | } | |
9105 | ||
9106 | ||
9107 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9108 | PyObject *resultobj; | |
9109 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9110 | bool result; | |
9111 | PyObject * obj0 = 0 ; | |
9112 | char *kwnames[] = { | |
9113 | (char *) "self", NULL | |
9114 | }; | |
9115 | ||
9116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
9117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9119 | { | |
9120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9121 | result = (bool)(arg1)->IsActive(); | |
9122 | ||
9123 | wxPyEndAllowThreads(__tstate); | |
9124 | if (PyErr_Occurred()) SWIG_fail; | |
9125 | } | |
9126 | { | |
9127 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9128 | } | |
9129 | return resultobj; | |
9130 | fail: | |
9131 | return NULL; | |
9132 | } | |
9133 | ||
9134 | ||
9135 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9136 | PyObject *resultobj; | |
9137 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9138 | int result; | |
9139 | PyObject * obj0 = 0 ; | |
9140 | char *kwnames[] = { | |
9141 | (char *) "self", NULL | |
9142 | }; | |
9143 | ||
9144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
9145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9147 | { | |
9148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9149 | result = (int)(arg1)->GetCurIndex(); | |
9150 | ||
9151 | wxPyEndAllowThreads(__tstate); | |
9152 | if (PyErr_Occurred()) SWIG_fail; | |
9153 | } | |
9154 | resultobj = SWIG_FromInt((int)result); | |
9155 | return resultobj; | |
9156 | fail: | |
9157 | return NULL; | |
9158 | } | |
9159 | ||
9160 | ||
9161 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9162 | PyObject *resultobj; | |
9163 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9164 | int result; | |
9165 | PyObject * obj0 = 0 ; | |
9166 | char *kwnames[] = { | |
9167 | (char *) "self", NULL | |
9168 | }; | |
9169 | ||
9170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
9171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9173 | { | |
9174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9175 | result = (int)(arg1)->GetMaxIndex(); | |
9176 | ||
9177 | wxPyEndAllowThreads(__tstate); | |
9178 | if (PyErr_Occurred()) SWIG_fail; | |
9179 | } | |
9180 | resultobj = SWIG_FromInt((int)result); | |
9181 | return resultobj; | |
9182 | fail: | |
9183 | return NULL; | |
9184 | } | |
9185 | ||
9186 | ||
9187 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9188 | PyObject *resultobj; | |
9189 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9190 | wxString *result; | |
9191 | PyObject * obj0 = 0 ; | |
9192 | char *kwnames[] = { | |
9193 | (char *) "self", NULL | |
9194 | }; | |
9195 | ||
9196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
9197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9199 | { | |
9200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9201 | { | |
9202 | wxString const &_result_ref = (arg1)->GetName(); | |
9203 | result = (wxString *) &_result_ref; | |
9204 | } | |
9205 | ||
9206 | wxPyEndAllowThreads(__tstate); | |
9207 | if (PyErr_Occurred()) SWIG_fail; | |
9208 | } | |
9209 | { | |
9210 | #if wxUSE_UNICODE | |
9211 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
9212 | #else | |
9213 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
9214 | #endif | |
9215 | } | |
9216 | return resultobj; | |
9217 | fail: | |
9218 | return NULL; | |
9219 | } | |
9220 | ||
9221 | ||
9222 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9223 | PyObject *resultobj; | |
9224 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9225 | wxHtmlContentsItem *result; | |
9226 | PyObject * obj0 = 0 ; | |
9227 | char *kwnames[] = { | |
9228 | (char *) "self", NULL | |
9229 | }; | |
9230 | ||
9231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
9232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9234 | { | |
9235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9236 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
9237 | ||
9238 | wxPyEndAllowThreads(__tstate); | |
9239 | if (PyErr_Occurred()) SWIG_fail; | |
9240 | } | |
9241 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9242 | return resultobj; | |
9243 | fail: | |
9244 | return NULL; | |
9245 | } | |
9246 | ||
9247 | ||
9248 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
9249 | PyObject *obj; | |
9250 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9251 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
9252 | Py_INCREF(obj); | |
9253 | return Py_BuildValue((char *)""); | |
9254 | } | |
9255 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9256 | PyObject *resultobj; | |
9257 | wxHtmlHelpData *result; | |
9258 | char *kwnames[] = { | |
9259 | NULL | |
9260 | }; | |
9261 | ||
9262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
9263 | { | |
9264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9265 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
9266 | ||
9267 | wxPyEndAllowThreads(__tstate); | |
9268 | if (PyErr_Occurred()) SWIG_fail; | |
9269 | } | |
9270 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1); | |
9271 | return resultobj; | |
9272 | fail: | |
9273 | return NULL; | |
9274 | } | |
9275 | ||
9276 | ||
9277 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9278 | PyObject *resultobj; | |
9279 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9280 | PyObject * obj0 = 0 ; | |
9281 | char *kwnames[] = { | |
9282 | (char *) "self", NULL | |
9283 | }; | |
9284 | ||
9285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
9286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9288 | { | |
9289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9290 | delete arg1; | |
9291 | ||
9292 | wxPyEndAllowThreads(__tstate); | |
9293 | if (PyErr_Occurred()) SWIG_fail; | |
9294 | } | |
9295 | Py_INCREF(Py_None); resultobj = Py_None; | |
9296 | return resultobj; | |
9297 | fail: | |
9298 | return NULL; | |
9299 | } | |
9300 | ||
9301 | ||
9302 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9303 | PyObject *resultobj; | |
9304 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9305 | wxString *arg2 = 0 ; | |
9306 | bool temp2 = False ; | |
9307 | PyObject * obj0 = 0 ; | |
9308 | PyObject * obj1 = 0 ; | |
9309 | char *kwnames[] = { | |
9310 | (char *) "self",(char *) "path", NULL | |
9311 | }; | |
9312 | ||
9313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
9314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9316 | { | |
9317 | arg2 = wxString_in_helper(obj1); | |
9318 | if (arg2 == NULL) SWIG_fail; | |
9319 | temp2 = True; | |
9320 | } | |
9321 | { | |
9322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9323 | (arg1)->SetTempDir((wxString const &)*arg2); | |
9324 | ||
9325 | wxPyEndAllowThreads(__tstate); | |
9326 | if (PyErr_Occurred()) SWIG_fail; | |
9327 | } | |
9328 | Py_INCREF(Py_None); resultobj = Py_None; | |
9329 | { | |
9330 | if (temp2) | |
9331 | delete arg2; | |
9332 | } | |
9333 | return resultobj; | |
9334 | fail: | |
9335 | { | |
9336 | if (temp2) | |
9337 | delete arg2; | |
9338 | } | |
9339 | return NULL; | |
9340 | } | |
9341 | ||
9342 | ||
9343 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9344 | PyObject *resultobj; | |
9345 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9346 | wxString *arg2 = 0 ; | |
9347 | bool result; | |
9348 | bool temp2 = False ; | |
9349 | PyObject * obj0 = 0 ; | |
9350 | PyObject * obj1 = 0 ; | |
9351 | char *kwnames[] = { | |
9352 | (char *) "self",(char *) "book", NULL | |
9353 | }; | |
9354 | ||
9355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
9356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9358 | { | |
9359 | arg2 = wxString_in_helper(obj1); | |
9360 | if (arg2 == NULL) SWIG_fail; | |
9361 | temp2 = True; | |
9362 | } | |
9363 | { | |
9364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9365 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
9366 | ||
9367 | wxPyEndAllowThreads(__tstate); | |
9368 | if (PyErr_Occurred()) SWIG_fail; | |
9369 | } | |
9370 | { | |
9371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9372 | } | |
9373 | { | |
9374 | if (temp2) | |
9375 | delete arg2; | |
9376 | } | |
9377 | return resultobj; | |
9378 | fail: | |
9379 | { | |
9380 | if (temp2) | |
9381 | delete arg2; | |
9382 | } | |
9383 | return NULL; | |
9384 | } | |
9385 | ||
9386 | ||
9387 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9388 | PyObject *resultobj; | |
9389 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9390 | wxString *arg2 = 0 ; | |
9391 | wxString result; | |
9392 | bool temp2 = False ; | |
9393 | PyObject * obj0 = 0 ; | |
9394 | PyObject * obj1 = 0 ; | |
9395 | char *kwnames[] = { | |
9396 | (char *) "self",(char *) "page", NULL | |
9397 | }; | |
9398 | ||
9399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
9400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9402 | { | |
9403 | arg2 = wxString_in_helper(obj1); | |
9404 | if (arg2 == NULL) SWIG_fail; | |
9405 | temp2 = True; | |
9406 | } | |
9407 | { | |
9408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9409 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
9410 | ||
9411 | wxPyEndAllowThreads(__tstate); | |
9412 | if (PyErr_Occurred()) SWIG_fail; | |
9413 | } | |
9414 | { | |
9415 | #if wxUSE_UNICODE | |
9416 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9417 | #else | |
9418 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9419 | #endif | |
9420 | } | |
9421 | { | |
9422 | if (temp2) | |
9423 | delete arg2; | |
9424 | } | |
9425 | return resultobj; | |
9426 | fail: | |
9427 | { | |
9428 | if (temp2) | |
9429 | delete arg2; | |
9430 | } | |
9431 | return NULL; | |
9432 | } | |
9433 | ||
9434 | ||
9435 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9436 | PyObject *resultobj; | |
9437 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9438 | int arg2 ; | |
9439 | wxString result; | |
9440 | PyObject * obj0 = 0 ; | |
9441 | PyObject * obj1 = 0 ; | |
9442 | char *kwnames[] = { | |
9443 | (char *) "self",(char *) "id", NULL | |
9444 | }; | |
9445 | ||
9446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail; | |
9447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9449 | arg2 = (int) SWIG_AsInt(obj1); | |
9450 | if (PyErr_Occurred()) SWIG_fail; | |
9451 | { | |
9452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9453 | result = (arg1)->FindPageById(arg2); | |
9454 | ||
9455 | wxPyEndAllowThreads(__tstate); | |
9456 | if (PyErr_Occurred()) SWIG_fail; | |
9457 | } | |
9458 | { | |
9459 | #if wxUSE_UNICODE | |
9460 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9461 | #else | |
9462 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9463 | #endif | |
9464 | } | |
9465 | return resultobj; | |
9466 | fail: | |
9467 | return NULL; | |
9468 | } | |
9469 | ||
9470 | ||
9471 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9472 | PyObject *resultobj; | |
9473 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9474 | wxHtmlBookRecArray *result; | |
9475 | PyObject * obj0 = 0 ; | |
9476 | char *kwnames[] = { | |
9477 | (char *) "self", NULL | |
9478 | }; | |
9479 | ||
9480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
9481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9483 | { | |
9484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9485 | { | |
9486 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
9487 | result = (wxHtmlBookRecArray *) &_result_ref; | |
9488 | } | |
9489 | ||
9490 | wxPyEndAllowThreads(__tstate); | |
9491 | if (PyErr_Occurred()) SWIG_fail; | |
9492 | } | |
9493 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
9494 | return resultobj; | |
9495 | fail: | |
9496 | return NULL; | |
9497 | } | |
9498 | ||
9499 | ||
9500 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9501 | PyObject *resultobj; | |
9502 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9503 | wxHtmlContentsItem *result; | |
9504 | PyObject * obj0 = 0 ; | |
9505 | char *kwnames[] = { | |
9506 | (char *) "self", NULL | |
9507 | }; | |
9508 | ||
9509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
9510 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9512 | { | |
9513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9514 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
9515 | ||
9516 | wxPyEndAllowThreads(__tstate); | |
9517 | if (PyErr_Occurred()) SWIG_fail; | |
9518 | } | |
9519 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9520 | return resultobj; | |
9521 | fail: | |
9522 | return NULL; | |
9523 | } | |
9524 | ||
9525 | ||
9526 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9527 | PyObject *resultobj; | |
9528 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9529 | int result; | |
9530 | PyObject * obj0 = 0 ; | |
9531 | char *kwnames[] = { | |
9532 | (char *) "self", NULL | |
9533 | }; | |
9534 | ||
9535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
9536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9538 | { | |
9539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9540 | result = (int)(arg1)->GetContentsCnt(); | |
9541 | ||
9542 | wxPyEndAllowThreads(__tstate); | |
9543 | if (PyErr_Occurred()) SWIG_fail; | |
9544 | } | |
9545 | resultobj = SWIG_FromInt((int)result); | |
9546 | return resultobj; | |
9547 | fail: | |
9548 | return NULL; | |
9549 | } | |
9550 | ||
9551 | ||
9552 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9553 | PyObject *resultobj; | |
9554 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9555 | wxHtmlContentsItem *result; | |
9556 | PyObject * obj0 = 0 ; | |
9557 | char *kwnames[] = { | |
9558 | (char *) "self", NULL | |
9559 | }; | |
9560 | ||
9561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
9562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9564 | { | |
9565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9566 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
9567 | ||
9568 | wxPyEndAllowThreads(__tstate); | |
9569 | if (PyErr_Occurred()) SWIG_fail; | |
9570 | } | |
9571 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9572 | return resultobj; | |
9573 | fail: | |
9574 | return NULL; | |
9575 | } | |
9576 | ||
9577 | ||
9578 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9579 | PyObject *resultobj; | |
9580 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9581 | int result; | |
9582 | PyObject * obj0 = 0 ; | |
9583 | char *kwnames[] = { | |
9584 | (char *) "self", NULL | |
9585 | }; | |
9586 | ||
9587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
9588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9590 | { | |
9591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9592 | result = (int)(arg1)->GetIndexCnt(); | |
9593 | ||
9594 | wxPyEndAllowThreads(__tstate); | |
9595 | if (PyErr_Occurred()) SWIG_fail; | |
9596 | } | |
9597 | resultobj = SWIG_FromInt((int)result); | |
9598 | return resultobj; | |
9599 | fail: | |
9600 | return NULL; | |
9601 | } | |
9602 | ||
9603 | ||
9604 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
9605 | PyObject *obj; | |
9606 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9607 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
9608 | Py_INCREF(obj); | |
9609 | return Py_BuildValue((char *)""); | |
9610 | } | |
9611 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9612 | PyObject *resultobj; | |
9613 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9614 | int arg2 ; | |
9615 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9616 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9617 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
9618 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
9619 | wxHtmlHelpFrame *result; | |
9620 | bool temp3 = False ; | |
9621 | PyObject * obj0 = 0 ; | |
9622 | PyObject * obj1 = 0 ; | |
9623 | PyObject * obj2 = 0 ; | |
9624 | PyObject * obj3 = 0 ; | |
9625 | PyObject * obj4 = 0 ; | |
9626 | char *kwnames[] = { | |
9627 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
9628 | }; | |
9629 | ||
9630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
9631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9633 | arg2 = (int) SWIG_AsInt(obj1); | |
9634 | if (PyErr_Occurred()) SWIG_fail; | |
9635 | if (obj2) { | |
9636 | { | |
9637 | arg3 = wxString_in_helper(obj2); | |
9638 | if (arg3 == NULL) SWIG_fail; | |
9639 | temp3 = True; | |
9640 | } | |
9641 | } | |
9642 | if (obj3) { | |
9643 | arg4 = (int) SWIG_AsInt(obj3); | |
9644 | if (PyErr_Occurred()) SWIG_fail; | |
9645 | } | |
9646 | if (obj4) { | |
9647 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData, | |
9648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9649 | } | |
9650 | { | |
9651 | if (!wxPyCheckForApp()) SWIG_fail; | |
9652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9653 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
9654 | ||
9655 | wxPyEndAllowThreads(__tstate); | |
9656 | if (PyErr_Occurred()) SWIG_fail; | |
9657 | } | |
9658 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
9659 | { | |
9660 | if (temp3) | |
9661 | delete arg3; | |
9662 | } | |
9663 | return resultobj; | |
9664 | fail: | |
9665 | { | |
9666 | if (temp3) | |
9667 | delete arg3; | |
9668 | } | |
9669 | return NULL; | |
9670 | } | |
9671 | ||
9672 | ||
9673 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9674 | PyObject *resultobj; | |
9675 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9676 | wxHtmlHelpData *result; | |
9677 | PyObject * obj0 = 0 ; | |
9678 | char *kwnames[] = { | |
9679 | (char *) "self", NULL | |
9680 | }; | |
9681 | ||
9682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
9683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9685 | { | |
9686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9687 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
9688 | ||
9689 | wxPyEndAllowThreads(__tstate); | |
9690 | if (PyErr_Occurred()) SWIG_fail; | |
9691 | } | |
9692 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); | |
9693 | return resultobj; | |
9694 | fail: | |
9695 | return NULL; | |
9696 | } | |
9697 | ||
9698 | ||
9699 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9700 | PyObject *resultobj; | |
9701 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9702 | wxString *arg2 = 0 ; | |
9703 | bool temp2 = False ; | |
9704 | PyObject * obj0 = 0 ; | |
9705 | PyObject * obj1 = 0 ; | |
9706 | char *kwnames[] = { | |
9707 | (char *) "self",(char *) "format", NULL | |
9708 | }; | |
9709 | ||
9710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
9711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9713 | { | |
9714 | arg2 = wxString_in_helper(obj1); | |
9715 | if (arg2 == NULL) SWIG_fail; | |
9716 | temp2 = True; | |
9717 | } | |
9718 | { | |
9719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9720 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
9721 | ||
9722 | wxPyEndAllowThreads(__tstate); | |
9723 | if (PyErr_Occurred()) SWIG_fail; | |
9724 | } | |
9725 | Py_INCREF(Py_None); resultobj = Py_None; | |
9726 | { | |
9727 | if (temp2) | |
9728 | delete arg2; | |
9729 | } | |
9730 | return resultobj; | |
9731 | fail: | |
9732 | { | |
9733 | if (temp2) | |
9734 | delete arg2; | |
9735 | } | |
9736 | return NULL; | |
9737 | } | |
9738 | ||
9739 | ||
9740 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9741 | PyObject *resultobj; | |
9742 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9743 | wxString *arg2 = 0 ; | |
9744 | bool temp2 = False ; | |
9745 | PyObject * obj0 = 0 ; | |
9746 | PyObject * obj1 = 0 ; | |
9747 | char *kwnames[] = { | |
9748 | (char *) "self",(char *) "x", NULL | |
9749 | }; | |
9750 | ||
9751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
9752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9754 | { | |
9755 | arg2 = wxString_in_helper(obj1); | |
9756 | if (arg2 == NULL) SWIG_fail; | |
9757 | temp2 = True; | |
9758 | } | |
9759 | { | |
9760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9761 | (arg1)->Display((wxString const &)*arg2); | |
9762 | ||
9763 | wxPyEndAllowThreads(__tstate); | |
9764 | if (PyErr_Occurred()) SWIG_fail; | |
9765 | } | |
9766 | Py_INCREF(Py_None); resultobj = Py_None; | |
9767 | { | |
9768 | if (temp2) | |
9769 | delete arg2; | |
9770 | } | |
9771 | return resultobj; | |
9772 | fail: | |
9773 | { | |
9774 | if (temp2) | |
9775 | delete arg2; | |
9776 | } | |
9777 | return NULL; | |
9778 | } | |
9779 | ||
9780 | ||
9781 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9782 | PyObject *resultobj; | |
9783 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9784 | int arg2 ; | |
9785 | PyObject * obj0 = 0 ; | |
9786 | PyObject * obj1 = 0 ; | |
9787 | char *kwnames[] = { | |
9788 | (char *) "self",(char *) "id", NULL | |
9789 | }; | |
9790 | ||
9791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
9792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9794 | arg2 = (int) SWIG_AsInt(obj1); | |
9795 | if (PyErr_Occurred()) SWIG_fail; | |
9796 | { | |
9797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9798 | (arg1)->Display(arg2); | |
9799 | ||
9800 | wxPyEndAllowThreads(__tstate); | |
9801 | if (PyErr_Occurred()) SWIG_fail; | |
9802 | } | |
9803 | Py_INCREF(Py_None); resultobj = Py_None; | |
9804 | return resultobj; | |
9805 | fail: | |
9806 | return NULL; | |
9807 | } | |
9808 | ||
9809 | ||
9810 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9811 | PyObject *resultobj; | |
9812 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9813 | PyObject * obj0 = 0 ; | |
9814 | char *kwnames[] = { | |
9815 | (char *) "self", NULL | |
9816 | }; | |
9817 | ||
9818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
9819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9821 | { | |
9822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9823 | (arg1)->DisplayContents(); | |
9824 | ||
9825 | wxPyEndAllowThreads(__tstate); | |
9826 | if (PyErr_Occurred()) SWIG_fail; | |
9827 | } | |
9828 | Py_INCREF(Py_None); resultobj = Py_None; | |
9829 | return resultobj; | |
9830 | fail: | |
9831 | return NULL; | |
9832 | } | |
9833 | ||
9834 | ||
9835 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9836 | PyObject *resultobj; | |
9837 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9838 | PyObject * obj0 = 0 ; | |
9839 | char *kwnames[] = { | |
9840 | (char *) "self", NULL | |
9841 | }; | |
9842 | ||
9843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
9844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9846 | { | |
9847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9848 | (arg1)->DisplayIndex(); | |
9849 | ||
9850 | wxPyEndAllowThreads(__tstate); | |
9851 | if (PyErr_Occurred()) SWIG_fail; | |
9852 | } | |
9853 | Py_INCREF(Py_None); resultobj = Py_None; | |
9854 | return resultobj; | |
9855 | fail: | |
9856 | return NULL; | |
9857 | } | |
9858 | ||
9859 | ||
9860 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9861 | PyObject *resultobj; | |
9862 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9863 | wxString *arg2 = 0 ; | |
9864 | bool result; | |
9865 | bool temp2 = False ; | |
9866 | PyObject * obj0 = 0 ; | |
9867 | PyObject * obj1 = 0 ; | |
9868 | char *kwnames[] = { | |
9869 | (char *) "self",(char *) "keyword", NULL | |
9870 | }; | |
9871 | ||
9872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
9873 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9874 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9875 | { | |
9876 | arg2 = wxString_in_helper(obj1); | |
9877 | if (arg2 == NULL) SWIG_fail; | |
9878 | temp2 = True; | |
9879 | } | |
9880 | { | |
9881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9882 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
9883 | ||
9884 | wxPyEndAllowThreads(__tstate); | |
9885 | if (PyErr_Occurred()) SWIG_fail; | |
9886 | } | |
9887 | { | |
9888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9889 | } | |
9890 | { | |
9891 | if (temp2) | |
9892 | delete arg2; | |
9893 | } | |
9894 | return resultobj; | |
9895 | fail: | |
9896 | { | |
9897 | if (temp2) | |
9898 | delete arg2; | |
9899 | } | |
9900 | return NULL; | |
9901 | } | |
9902 | ||
9903 | ||
9904 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9905 | PyObject *resultobj; | |
9906 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9907 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9908 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9909 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9910 | bool temp3 = False ; | |
9911 | PyObject * obj0 = 0 ; | |
9912 | PyObject * obj1 = 0 ; | |
9913 | PyObject * obj2 = 0 ; | |
9914 | char *kwnames[] = { | |
9915 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
9916 | }; | |
9917 | ||
9918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9921 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
9922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9923 | if (obj2) { | |
9924 | { | |
9925 | arg3 = wxString_in_helper(obj2); | |
9926 | if (arg3 == NULL) SWIG_fail; | |
9927 | temp3 = True; | |
9928 | } | |
9929 | } | |
9930 | { | |
9931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9932 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
9933 | ||
9934 | wxPyEndAllowThreads(__tstate); | |
9935 | if (PyErr_Occurred()) SWIG_fail; | |
9936 | } | |
9937 | Py_INCREF(Py_None); resultobj = Py_None; | |
9938 | { | |
9939 | if (temp3) | |
9940 | delete arg3; | |
9941 | } | |
9942 | return resultobj; | |
9943 | fail: | |
9944 | { | |
9945 | if (temp3) | |
9946 | delete arg3; | |
9947 | } | |
9948 | return NULL; | |
9949 | } | |
9950 | ||
9951 | ||
9952 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9953 | PyObject *resultobj; | |
9954 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9955 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9956 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9957 | PyObject * obj0 = 0 ; | |
9958 | PyObject * obj1 = 0 ; | |
9959 | PyObject * obj2 = 0 ; | |
9960 | char *kwnames[] = { | |
9961 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9962 | }; | |
9963 | ||
9964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9967 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
9968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9969 | if (obj2) { | |
9970 | { | |
9971 | wxString* sptr = wxString_in_helper(obj2); | |
9972 | if (sptr == NULL) SWIG_fail; | |
9973 | arg3 = *sptr; | |
9974 | delete sptr; | |
9975 | } | |
9976 | } | |
9977 | { | |
9978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9979 | (arg1)->ReadCustomization(arg2,arg3); | |
9980 | ||
9981 | wxPyEndAllowThreads(__tstate); | |
9982 | if (PyErr_Occurred()) SWIG_fail; | |
9983 | } | |
9984 | Py_INCREF(Py_None); resultobj = Py_None; | |
9985 | return resultobj; | |
9986 | fail: | |
9987 | return NULL; | |
9988 | } | |
9989 | ||
9990 | ||
9991 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9992 | PyObject *resultobj; | |
9993 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9994 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9995 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9996 | PyObject * obj0 = 0 ; | |
9997 | PyObject * obj1 = 0 ; | |
9998 | PyObject * obj2 = 0 ; | |
9999 | char *kwnames[] = { | |
10000 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10001 | }; | |
10002 | ||
10003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
10005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10006 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10007 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10008 | if (obj2) { | |
10009 | { | |
10010 | wxString* sptr = wxString_in_helper(obj2); | |
10011 | if (sptr == NULL) SWIG_fail; | |
10012 | arg3 = *sptr; | |
10013 | delete sptr; | |
10014 | } | |
10015 | } | |
10016 | { | |
10017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10018 | (arg1)->WriteCustomization(arg2,arg3); | |
10019 | ||
10020 | wxPyEndAllowThreads(__tstate); | |
10021 | if (PyErr_Occurred()) SWIG_fail; | |
10022 | } | |
10023 | Py_INCREF(Py_None); resultobj = Py_None; | |
10024 | return resultobj; | |
10025 | fail: | |
10026 | return NULL; | |
10027 | } | |
10028 | ||
10029 | ||
10030 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
10031 | PyObject *obj; | |
10032 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10033 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
10034 | Py_INCREF(obj); | |
10035 | return Py_BuildValue((char *)""); | |
10036 | } | |
10037 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10038 | PyObject *resultobj; | |
10039 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
10040 | wxHtmlHelpController *result; | |
10041 | PyObject * obj0 = 0 ; | |
10042 | char *kwnames[] = { | |
10043 | (char *) "style", NULL | |
10044 | }; | |
10045 | ||
10046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail; | |
10047 | if (obj0) { | |
10048 | arg1 = (int) SWIG_AsInt(obj0); | |
10049 | if (PyErr_Occurred()) SWIG_fail; | |
10050 | } | |
10051 | { | |
10052 | if (!wxPyCheckForApp()) SWIG_fail; | |
10053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10054 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
10055 | ||
10056 | wxPyEndAllowThreads(__tstate); | |
10057 | if (PyErr_Occurred()) SWIG_fail; | |
10058 | } | |
10059 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); | |
10060 | return resultobj; | |
10061 | fail: | |
10062 | return NULL; | |
10063 | } | |
10064 | ||
10065 | ||
10066 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10067 | PyObject *resultobj; | |
10068 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10069 | PyObject * obj0 = 0 ; | |
10070 | char *kwnames[] = { | |
10071 | (char *) "self", NULL | |
10072 | }; | |
10073 | ||
10074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
10075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10077 | { | |
10078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10079 | delete arg1; | |
10080 | ||
10081 | wxPyEndAllowThreads(__tstate); | |
10082 | if (PyErr_Occurred()) SWIG_fail; | |
10083 | } | |
10084 | Py_INCREF(Py_None); resultobj = Py_None; | |
10085 | return resultobj; | |
10086 | fail: | |
10087 | return NULL; | |
10088 | } | |
10089 | ||
10090 | ||
10091 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10092 | PyObject *resultobj; | |
10093 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10094 | wxString *arg2 = 0 ; | |
10095 | bool temp2 = False ; | |
10096 | PyObject * obj0 = 0 ; | |
10097 | PyObject * obj1 = 0 ; | |
10098 | char *kwnames[] = { | |
10099 | (char *) "self",(char *) "format", NULL | |
10100 | }; | |
10101 | ||
10102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
10103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10105 | { | |
10106 | arg2 = wxString_in_helper(obj1); | |
10107 | if (arg2 == NULL) SWIG_fail; | |
10108 | temp2 = True; | |
10109 | } | |
10110 | { | |
10111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10112 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10113 | ||
10114 | wxPyEndAllowThreads(__tstate); | |
10115 | if (PyErr_Occurred()) SWIG_fail; | |
10116 | } | |
10117 | Py_INCREF(Py_None); resultobj = Py_None; | |
10118 | { | |
10119 | if (temp2) | |
10120 | delete arg2; | |
10121 | } | |
10122 | return resultobj; | |
10123 | fail: | |
10124 | { | |
10125 | if (temp2) | |
10126 | delete arg2; | |
10127 | } | |
10128 | return NULL; | |
10129 | } | |
10130 | ||
10131 | ||
10132 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10133 | PyObject *resultobj; | |
10134 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10135 | wxString *arg2 = 0 ; | |
10136 | bool temp2 = False ; | |
10137 | PyObject * obj0 = 0 ; | |
10138 | PyObject * obj1 = 0 ; | |
10139 | char *kwnames[] = { | |
10140 | (char *) "self",(char *) "path", NULL | |
10141 | }; | |
10142 | ||
10143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
10144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10146 | { | |
10147 | arg2 = wxString_in_helper(obj1); | |
10148 | if (arg2 == NULL) SWIG_fail; | |
10149 | temp2 = True; | |
10150 | } | |
10151 | { | |
10152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10153 | (arg1)->SetTempDir((wxString const &)*arg2); | |
10154 | ||
10155 | wxPyEndAllowThreads(__tstate); | |
10156 | if (PyErr_Occurred()) SWIG_fail; | |
10157 | } | |
10158 | Py_INCREF(Py_None); resultobj = Py_None; | |
10159 | { | |
10160 | if (temp2) | |
10161 | delete arg2; | |
10162 | } | |
10163 | return resultobj; | |
10164 | fail: | |
10165 | { | |
10166 | if (temp2) | |
10167 | delete arg2; | |
10168 | } | |
10169 | return NULL; | |
10170 | } | |
10171 | ||
10172 | ||
10173 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10174 | PyObject *resultobj; | |
10175 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10176 | wxString *arg2 = 0 ; | |
10177 | int arg3 = (int) False ; | |
10178 | bool result; | |
10179 | bool temp2 = False ; | |
10180 | PyObject * obj0 = 0 ; | |
10181 | PyObject * obj1 = 0 ; | |
10182 | PyObject * obj2 = 0 ; | |
10183 | char *kwnames[] = { | |
10184 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
10185 | }; | |
10186 | ||
10187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10190 | { | |
10191 | arg2 = wxString_in_helper(obj1); | |
10192 | if (arg2 == NULL) SWIG_fail; | |
10193 | temp2 = True; | |
10194 | } | |
10195 | if (obj2) { | |
10196 | arg3 = (int) SWIG_AsInt(obj2); | |
10197 | if (PyErr_Occurred()) SWIG_fail; | |
10198 | } | |
10199 | { | |
10200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10201 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
10202 | ||
10203 | wxPyEndAllowThreads(__tstate); | |
10204 | if (PyErr_Occurred()) SWIG_fail; | |
10205 | } | |
10206 | { | |
10207 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10208 | } | |
10209 | { | |
10210 | if (temp2) | |
10211 | delete arg2; | |
10212 | } | |
10213 | return resultobj; | |
10214 | fail: | |
10215 | { | |
10216 | if (temp2) | |
10217 | delete arg2; | |
10218 | } | |
10219 | return NULL; | |
10220 | } | |
10221 | ||
10222 | ||
10223 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10224 | PyObject *resultobj; | |
10225 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10226 | wxString *arg2 = 0 ; | |
10227 | bool temp2 = False ; | |
10228 | PyObject * obj0 = 0 ; | |
10229 | PyObject * obj1 = 0 ; | |
10230 | char *kwnames[] = { | |
10231 | (char *) "self",(char *) "x", NULL | |
10232 | }; | |
10233 | ||
10234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
10235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10237 | { | |
10238 | arg2 = wxString_in_helper(obj1); | |
10239 | if (arg2 == NULL) SWIG_fail; | |
10240 | temp2 = True; | |
10241 | } | |
10242 | { | |
10243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10244 | (arg1)->Display((wxString const &)*arg2); | |
10245 | ||
10246 | wxPyEndAllowThreads(__tstate); | |
10247 | if (PyErr_Occurred()) SWIG_fail; | |
10248 | } | |
10249 | Py_INCREF(Py_None); resultobj = Py_None; | |
10250 | { | |
10251 | if (temp2) | |
10252 | delete arg2; | |
10253 | } | |
10254 | return resultobj; | |
10255 | fail: | |
10256 | { | |
10257 | if (temp2) | |
10258 | delete arg2; | |
10259 | } | |
10260 | return NULL; | |
10261 | } | |
10262 | ||
10263 | ||
10264 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10265 | PyObject *resultobj; | |
10266 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10267 | int arg2 ; | |
10268 | PyObject * obj0 = 0 ; | |
10269 | PyObject * obj1 = 0 ; | |
10270 | char *kwnames[] = { | |
10271 | (char *) "self",(char *) "id", NULL | |
10272 | }; | |
10273 | ||
10274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
10275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10277 | arg2 = (int) SWIG_AsInt(obj1); | |
10278 | if (PyErr_Occurred()) SWIG_fail; | |
10279 | { | |
10280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10281 | (arg1)->Display(arg2); | |
10282 | ||
10283 | wxPyEndAllowThreads(__tstate); | |
10284 | if (PyErr_Occurred()) SWIG_fail; | |
10285 | } | |
10286 | Py_INCREF(Py_None); resultobj = Py_None; | |
10287 | return resultobj; | |
10288 | fail: | |
10289 | return NULL; | |
10290 | } | |
10291 | ||
10292 | ||
10293 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10294 | PyObject *resultobj; | |
10295 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10296 | PyObject * obj0 = 0 ; | |
10297 | char *kwnames[] = { | |
10298 | (char *) "self", NULL | |
10299 | }; | |
10300 | ||
10301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
10302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10304 | { | |
10305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10306 | (arg1)->DisplayContents(); | |
10307 | ||
10308 | wxPyEndAllowThreads(__tstate); | |
10309 | if (PyErr_Occurred()) SWIG_fail; | |
10310 | } | |
10311 | Py_INCREF(Py_None); resultobj = Py_None; | |
10312 | return resultobj; | |
10313 | fail: | |
10314 | return NULL; | |
10315 | } | |
10316 | ||
10317 | ||
10318 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10319 | PyObject *resultobj; | |
10320 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10321 | PyObject * obj0 = 0 ; | |
10322 | char *kwnames[] = { | |
10323 | (char *) "self", NULL | |
10324 | }; | |
10325 | ||
10326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
10327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10329 | { | |
10330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10331 | (arg1)->DisplayIndex(); | |
10332 | ||
10333 | wxPyEndAllowThreads(__tstate); | |
10334 | if (PyErr_Occurred()) SWIG_fail; | |
10335 | } | |
10336 | Py_INCREF(Py_None); resultobj = Py_None; | |
10337 | return resultobj; | |
10338 | fail: | |
10339 | return NULL; | |
10340 | } | |
10341 | ||
10342 | ||
10343 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10344 | PyObject *resultobj; | |
10345 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10346 | wxString *arg2 = 0 ; | |
10347 | bool result; | |
10348 | bool temp2 = False ; | |
10349 | PyObject * obj0 = 0 ; | |
10350 | PyObject * obj1 = 0 ; | |
10351 | char *kwnames[] = { | |
10352 | (char *) "self",(char *) "keyword", NULL | |
10353 | }; | |
10354 | ||
10355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
10356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10358 | { | |
10359 | arg2 = wxString_in_helper(obj1); | |
10360 | if (arg2 == NULL) SWIG_fail; | |
10361 | temp2 = True; | |
10362 | } | |
10363 | { | |
10364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10365 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10366 | ||
10367 | wxPyEndAllowThreads(__tstate); | |
10368 | if (PyErr_Occurred()) SWIG_fail; | |
10369 | } | |
10370 | { | |
10371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10372 | } | |
10373 | { | |
10374 | if (temp2) | |
10375 | delete arg2; | |
10376 | } | |
10377 | return resultobj; | |
10378 | fail: | |
10379 | { | |
10380 | if (temp2) | |
10381 | delete arg2; | |
10382 | } | |
10383 | return NULL; | |
10384 | } | |
10385 | ||
10386 | ||
10387 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10388 | PyObject *resultobj; | |
10389 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10390 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10391 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10392 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10393 | bool temp3 = False ; | |
10394 | PyObject * obj0 = 0 ; | |
10395 | PyObject * obj1 = 0 ; | |
10396 | PyObject * obj2 = 0 ; | |
10397 | char *kwnames[] = { | |
10398 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10399 | }; | |
10400 | ||
10401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10404 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10406 | if (obj2) { | |
10407 | { | |
10408 | arg3 = wxString_in_helper(obj2); | |
10409 | if (arg3 == NULL) SWIG_fail; | |
10410 | temp3 = True; | |
10411 | } | |
10412 | } | |
10413 | { | |
10414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10415 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10416 | ||
10417 | wxPyEndAllowThreads(__tstate); | |
10418 | if (PyErr_Occurred()) SWIG_fail; | |
10419 | } | |
10420 | Py_INCREF(Py_None); resultobj = Py_None; | |
10421 | { | |
10422 | if (temp3) | |
10423 | delete arg3; | |
10424 | } | |
10425 | return resultobj; | |
10426 | fail: | |
10427 | { | |
10428 | if (temp3) | |
10429 | delete arg3; | |
10430 | } | |
10431 | return NULL; | |
10432 | } | |
10433 | ||
10434 | ||
10435 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10436 | PyObject *resultobj; | |
10437 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10438 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10439 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10440 | PyObject * obj0 = 0 ; | |
10441 | PyObject * obj1 = 0 ; | |
10442 | PyObject * obj2 = 0 ; | |
10443 | char *kwnames[] = { | |
10444 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10445 | }; | |
10446 | ||
10447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10450 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10452 | if (obj2) { | |
10453 | { | |
10454 | wxString* sptr = wxString_in_helper(obj2); | |
10455 | if (sptr == NULL) SWIG_fail; | |
10456 | arg3 = *sptr; | |
10457 | delete sptr; | |
10458 | } | |
10459 | } | |
10460 | { | |
10461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10462 | (arg1)->ReadCustomization(arg2,arg3); | |
10463 | ||
10464 | wxPyEndAllowThreads(__tstate); | |
10465 | if (PyErr_Occurred()) SWIG_fail; | |
10466 | } | |
10467 | Py_INCREF(Py_None); resultobj = Py_None; | |
10468 | return resultobj; | |
10469 | fail: | |
10470 | return NULL; | |
10471 | } | |
10472 | ||
10473 | ||
10474 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10475 | PyObject *resultobj; | |
10476 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10477 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10478 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10479 | PyObject * obj0 = 0 ; | |
10480 | PyObject * obj1 = 0 ; | |
10481 | PyObject * obj2 = 0 ; | |
10482 | char *kwnames[] = { | |
10483 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10484 | }; | |
10485 | ||
10486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10489 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10491 | if (obj2) { | |
10492 | { | |
10493 | wxString* sptr = wxString_in_helper(obj2); | |
10494 | if (sptr == NULL) SWIG_fail; | |
10495 | arg3 = *sptr; | |
10496 | delete sptr; | |
10497 | } | |
10498 | } | |
10499 | { | |
10500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10501 | (arg1)->WriteCustomization(arg2,arg3); | |
10502 | ||
10503 | wxPyEndAllowThreads(__tstate); | |
10504 | if (PyErr_Occurred()) SWIG_fail; | |
10505 | } | |
10506 | Py_INCREF(Py_None); resultobj = Py_None; | |
10507 | return resultobj; | |
10508 | fail: | |
10509 | return NULL; | |
10510 | } | |
10511 | ||
10512 | ||
10513 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10514 | PyObject *resultobj; | |
10515 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10516 | wxHtmlHelpFrame *result; | |
10517 | PyObject * obj0 = 0 ; | |
10518 | char *kwnames[] = { | |
10519 | (char *) "self", NULL | |
10520 | }; | |
10521 | ||
10522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
10523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10525 | { | |
10526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10527 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
10528 | ||
10529 | wxPyEndAllowThreads(__tstate); | |
10530 | if (PyErr_Occurred()) SWIG_fail; | |
10531 | } | |
10532 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
10533 | return resultobj; | |
10534 | fail: | |
10535 | return NULL; | |
10536 | } | |
10537 | ||
10538 | ||
10539 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
10540 | PyObject *obj; | |
10541 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10542 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
10543 | Py_INCREF(obj); | |
10544 | return Py_BuildValue((char *)""); | |
10545 | } | |
10546 | static PyMethodDef SwigMethods[] = { | |
10547 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
10548 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
10549 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
10550 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
10551 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10552 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
10553 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10554 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
10555 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10556 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
10557 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
10558 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
10559 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
10560 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
10561 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
10562 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
10563 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
10564 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
10565 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
10566 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
10567 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
10568 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
10569 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
10570 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
10571 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10572 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
10573 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10574 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10575 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
10576 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
10577 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
10578 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
10579 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
10580 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
10581 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
10582 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10583 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
10584 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
10585 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
10586 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
10588 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
10589 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
10590 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
10591 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
10593 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
10594 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
10595 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
10596 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
10597 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10598 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10599 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
10600 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
10601 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
10602 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
10603 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
10604 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
10605 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
10606 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
10607 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10608 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10609 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
10612 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
10613 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10614 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10615 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
10616 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10617 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
10618 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
10619 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10620 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
10621 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
10622 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
10623 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
10624 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
10625 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
10626 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
10627 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
10628 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10629 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10630 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10631 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10632 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10633 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
10634 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
10635 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
10636 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
10637 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
10638 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
10639 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
10640 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
10641 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10642 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10643 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
10644 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
10645 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10646 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
10647 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10649 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
10650 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
10651 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
10652 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10653 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10654 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10655 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
10657 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
10658 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10659 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
10660 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
10661 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
10662 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS }, | |
10667 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
10668 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10672 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
10673 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
10674 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
10676 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
10678 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
10679 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
10681 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
10682 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
10683 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
10684 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
10687 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
10688 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
10689 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
10690 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
10693 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
10694 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
10695 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
10696 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
10697 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
10698 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
10699 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
10701 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10702 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
10704 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10705 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
10706 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
10707 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
10708 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
10710 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
10711 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
10713 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
10715 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
10716 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
10717 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
10718 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
10719 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
10720 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10721 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
10722 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
10723 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10726 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
10727 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
10728 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
10729 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
10730 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10732 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
10733 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
10734 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
10735 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
10736 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10737 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10738 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
10739 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10740 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
10743 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
10744 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10750 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
10751 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS }, | |
10752 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS }, | |
10753 | { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10754 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
10755 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10756 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
10757 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
10758 | { (char *)"HtmlWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_HtmlWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
10760 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
10762 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
10764 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
10769 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
10770 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
10777 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
10779 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
10789 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
10792 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
10793 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
10800 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
10801 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10802 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
10803 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
10804 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
10805 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
10806 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
10807 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
10808 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10809 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
10810 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
10811 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
10812 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
10813 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
10814 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
10815 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
10816 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10817 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
10818 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
10819 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
10820 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
10821 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
10822 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
10823 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
10824 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
10825 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
10826 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
10827 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
10828 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
10829 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
10830 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
10831 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
10832 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
10833 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
10834 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
10835 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
10836 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
10837 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
10838 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
10839 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
10840 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10841 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10842 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
10843 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
10844 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
10845 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
10846 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
10847 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
10848 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
10849 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
10850 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
10851 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
10852 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
10853 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
10854 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10855 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10856 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
10857 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
10858 | { NULL, NULL } | |
10859 | }; | |
10860 | ||
10861 | ||
10862 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
10863 | ||
10864 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
10865 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
10866 | } | |
10867 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
10868 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
10869 | } | |
10870 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
10871 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
10872 | } | |
10873 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
10874 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10875 | } | |
10876 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
10877 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10878 | } | |
10879 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
10880 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10881 | } | |
10882 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
10883 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10884 | } | |
10885 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
10886 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10887 | } | |
10888 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
10889 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
10890 | } | |
10891 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
10892 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10893 | } | |
10894 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
10895 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
10896 | } | |
10897 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
10898 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10899 | } | |
10900 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
10901 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10902 | } | |
10903 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
10904 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10905 | } | |
10906 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
10907 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10908 | } | |
10909 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
10910 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10911 | } | |
10912 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
10913 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10914 | } | |
10915 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
10916 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
10917 | } | |
10918 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
10919 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
10920 | } | |
10921 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
10922 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10923 | } | |
10924 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
10925 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10926 | } | |
10927 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
10928 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10929 | } | |
10930 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
10931 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10932 | } | |
10933 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
10934 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10935 | } | |
10936 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
10937 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10938 | } | |
10939 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
10940 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10941 | } | |
10942 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
10943 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
10944 | } | |
10945 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
10946 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
10947 | } | |
10948 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
10949 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
10950 | } | |
10951 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
10952 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10953 | } | |
10954 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
10955 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
10956 | } | |
10957 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
10958 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10959 | } | |
10960 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
10961 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
10962 | } | |
10963 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
10964 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10965 | } | |
10966 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
10967 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
10968 | } | |
10969 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
10970 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
10971 | } | |
10972 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
10973 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
10974 | } | |
10975 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
10976 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
10977 | } | |
10978 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
10979 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
10980 | } | |
10981 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
10982 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10983 | } | |
10984 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
10985 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10986 | } | |
10987 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
10988 | return (void *)((wxWindow *) ((wxControl *) x)); | |
10989 | } | |
10990 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
10991 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10992 | } | |
10993 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
10994 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10995 | } | |
10996 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
10997 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10998 | } | |
10999 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
11000 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
11001 | } | |
11002 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
11003 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
11004 | } | |
11005 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
11006 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11007 | } | |
11008 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
11009 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11010 | } | |
11011 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
11012 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11013 | } | |
11014 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
11015 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
11016 | } | |
11017 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
11018 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11019 | } | |
11020 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
11021 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11022 | } | |
11023 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
11024 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
11025 | } | |
11026 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
11027 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11028 | } | |
11029 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
11030 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11031 | } | |
11032 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
11033 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11034 | } | |
11035 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
11036 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
11037 | } | |
11038 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
11039 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11040 | } | |
11041 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
11042 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11043 | } | |
11044 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
11045 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11046 | } | |
11047 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
11048 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
11049 | } | |
11050 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
11051 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
11052 | } | |
11053 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
11054 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
11055 | } | |
11056 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
11057 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
11058 | } | |
11059 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
11060 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
11061 | } | |
11062 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
11063 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
11064 | } | |
11065 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
11066 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
11067 | } | |
11068 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
11069 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
11070 | } | |
11071 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
11072 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
11073 | } | |
11074 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
11075 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
11076 | } | |
11077 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
11078 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
11079 | } | |
11080 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
11081 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
11082 | } | |
11083 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
11084 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
11085 | } | |
11086 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
11087 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
11088 | } | |
11089 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
11090 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
11091 | } | |
11092 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11093 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11094 | } | |
11095 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11096 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11097 | } | |
11098 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
11099 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
11100 | } | |
11101 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
11102 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
11103 | } | |
11104 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
11105 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11106 | } | |
11107 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11108 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
11109 | } | |
11110 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11111 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11112 | } | |
11113 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
11114 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
11115 | } | |
11116 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
11117 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
11118 | } | |
11119 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
11120 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11121 | } | |
11122 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
11123 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11124 | } | |
11125 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
11126 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
11127 | } | |
11128 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
11129 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
11130 | } | |
11131 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
11132 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
11133 | } | |
11134 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
11135 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
11136 | } | |
11137 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
11138 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
11139 | } | |
11140 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
11141 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
11142 | } | |
11143 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
11144 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
11145 | } | |
11146 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
11147 | return (void *)((wxObject *) ((wxSizer *) x)); | |
11148 | } | |
11149 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
11150 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
11151 | } | |
11152 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
11153 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11154 | } | |
11155 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
11156 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11157 | } | |
11158 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
11159 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11160 | } | |
11161 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
11162 | return (void *)((wxObject *) ((wxEvent *) x)); | |
11163 | } | |
11164 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
11165 | return (void *)((wxObject *) ((wxFontData *) x)); | |
11166 | } | |
11167 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
11168 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
11169 | } | |
11170 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
11171 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
11172 | } | |
11173 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
11174 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
11175 | } | |
11176 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
11177 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
11178 | } | |
11179 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
11180 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
11181 | } | |
11182 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
11183 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
11184 | } | |
11185 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
11186 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11187 | } | |
11188 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
11189 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
11190 | } | |
11191 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
11192 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11193 | } | |
11194 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
11195 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
11196 | } | |
11197 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
11198 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
11199 | } | |
11200 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
11201 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
11202 | } | |
11203 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
11204 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11205 | } | |
11206 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
11207 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11208 | } | |
11209 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
11210 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11211 | } | |
11212 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
11213 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11214 | } | |
11215 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
11216 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11217 | } | |
11218 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
11219 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
11220 | } | |
11221 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
11222 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
11223 | } | |
11224 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
11225 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
11226 | } | |
11227 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
11228 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
11229 | } | |
11230 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
11231 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11232 | } | |
11233 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
11234 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
11235 | } | |
11236 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
11237 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
11238 | } | |
11239 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
11240 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11241 | } | |
11242 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
11243 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11244 | } | |
11245 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
11246 | return (void *)((wxObject *) ((wxColourData *) x)); | |
11247 | } | |
11248 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
11249 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
11250 | } | |
11251 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
11252 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11253 | } | |
11254 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
11255 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
11256 | } | |
11257 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
11258 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11259 | } | |
11260 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
11261 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11262 | } | |
11263 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
11264 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11265 | } | |
11266 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
11267 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11268 | } | |
11269 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
11270 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11271 | } | |
11272 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
11273 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11274 | } | |
11275 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
11276 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11277 | } | |
11278 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
11279 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11280 | } | |
11281 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
11282 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
11283 | } | |
11284 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
11285 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
11286 | } | |
11287 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
11288 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
11289 | } | |
11290 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
11291 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
11292 | } | |
11293 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
11294 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11295 | } | |
11296 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
11297 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11298 | } | |
11299 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
11300 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
11301 | } | |
11302 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
11303 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
11304 | } | |
11305 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
11306 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
11307 | } | |
11308 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
11309 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
11310 | } | |
11311 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
11312 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
11313 | } | |
11314 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
11315 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
11316 | } | |
11317 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
11318 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
11319 | } | |
11320 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
11321 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
11322 | } | |
11323 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
11324 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
11325 | } | |
11326 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
11327 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
11328 | } | |
11329 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
11330 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
11331 | } | |
11332 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
11333 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
11334 | } | |
11335 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
11336 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
11337 | } | |
11338 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
11339 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
11340 | } | |
11341 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
11342 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
11343 | } | |
11344 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
11345 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
11346 | } | |
11347 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
11348 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
11349 | } | |
11350 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
11351 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
11352 | } | |
11353 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
11354 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
11355 | } | |
11356 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
11357 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
11358 | } | |
11359 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
11360 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
11361 | } | |
11362 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
11363 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11364 | } | |
11365 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
11366 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11367 | } | |
11368 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
11369 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11370 | } | |
11371 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
11372 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
11373 | } | |
11374 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
11375 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11376 | } | |
11377 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
11378 | return (void *)((wxObject *) ((wxImage *) x)); | |
11379 | } | |
11380 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
11381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11382 | } | |
11383 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
11384 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
11385 | } | |
11386 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
11387 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11388 | } | |
11389 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
11390 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
11391 | } | |
11392 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
11393 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
11394 | } | |
11395 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
11396 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
11397 | } | |
11398 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
11399 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
11400 | } | |
11401 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
11402 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11403 | } | |
11404 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
11405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11406 | } | |
11407 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
11408 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11409 | } | |
11410 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
11411 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11412 | } | |
11413 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
11414 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
11415 | } | |
11416 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
11417 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
11418 | } | |
11419 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
11420 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
11421 | } | |
11422 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
11423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
11424 | } | |
11425 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
11426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11427 | } | |
11428 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
11429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
11430 | } | |
11431 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
11432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
11433 | } | |
11434 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
11435 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
11436 | } | |
11437 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
11438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
11439 | } | |
11440 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
11441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11442 | } | |
11443 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
11444 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
11445 | } | |
11446 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
11447 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11448 | } | |
11449 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
11450 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11451 | } | |
11452 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
11453 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11454 | } | |
11455 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
11456 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
11457 | } | |
11458 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
11459 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11460 | } | |
11461 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
11462 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11463 | } | |
11464 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
11465 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
11466 | } | |
11467 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
11468 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
11469 | } | |
11470 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
11471 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
11472 | } | |
11473 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
11474 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
11475 | } | |
11476 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
11477 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11478 | } | |
11479 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
11480 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11481 | } | |
11482 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
11483 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11484 | } | |
11485 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
11486 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11487 | } | |
11488 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
11489 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11490 | } | |
11491 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
11492 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11493 | } | |
11494 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
11495 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
11496 | } | |
11497 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
11498 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11499 | } | |
11500 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
11501 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
11502 | } | |
11503 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
11504 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11505 | } | |
11506 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
11507 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
11508 | } | |
11509 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
11510 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11511 | } | |
11512 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
11513 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
11514 | } | |
11515 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
11516 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
11517 | } | |
11518 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
11519 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
11520 | } | |
11521 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
11522 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
11523 | } | |
11524 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
11525 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11526 | } | |
11527 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
11528 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
11529 | } | |
11530 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
11531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11532 | } | |
11533 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
11534 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11535 | } | |
11536 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
11537 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
11538 | } | |
11539 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
11540 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
11541 | } | |
11542 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
11543 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
11544 | } | |
11545 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
11546 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11547 | } | |
11548 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
11549 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11550 | } | |
11551 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
11552 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11553 | } | |
11554 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
11555 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
11556 | } | |
11557 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
11558 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
11559 | } | |
11560 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
11561 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
11562 | } | |
11563 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
11564 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
11565 | } | |
11566 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
11567 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11568 | } | |
11569 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
11570 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11571 | } | |
11572 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
11573 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11574 | } | |
11575 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
11576 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11577 | } | |
11578 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
11579 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
11580 | } | |
11581 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
11582 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
11583 | } | |
11584 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
11585 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
11586 | } | |
11587 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
11588 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
11589 | } | |
11590 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
11591 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11592 | } | |
11593 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11594 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11595 | } | |
11596 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11597 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11598 | } | |
11599 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
11600 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11601 | } | |
11602 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
11603 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11604 | } | |
11605 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
11606 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11607 | } | |
11608 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
11609 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11610 | } | |
11611 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
11612 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
11613 | } | |
11614 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
11615 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
11616 | } | |
11617 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11618 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11619 | } | |
11620 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
11621 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
11622 | } | |
11623 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
11624 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11625 | } | |
11626 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
11627 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
11628 | } | |
11629 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
11630 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11631 | } | |
11632 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
11633 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
11634 | } | |
11635 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
11636 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
11637 | } | |
11638 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
11639 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
11640 | } | |
11641 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
11642 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
11643 | } | |
11644 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11645 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11646 | } | |
11647 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
11648 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
11649 | } | |
11650 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
11651 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
11652 | } | |
11653 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11654 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11655 | } | |
11656 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
11657 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11658 | } | |
11659 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
11660 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
11661 | } | |
11662 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
11663 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11664 | } | |
11665 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
11666 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11667 | } | |
11668 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
11669 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11670 | } | |
11671 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
11672 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
11673 | } | |
11674 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
11675 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11676 | } | |
11677 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
11678 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
11679 | } | |
11680 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
11681 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11682 | } | |
11683 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
11684 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11685 | } | |
11686 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
11687 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11688 | } | |
11689 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
11690 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11691 | } | |
11692 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
11693 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11694 | } | |
11695 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
11696 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11697 | } | |
11698 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
11699 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11700 | } | |
11701 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
11702 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11703 | } | |
11704 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
11705 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11706 | } | |
11707 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
11708 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11709 | } | |
11710 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
11711 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11712 | } | |
11713 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
11714 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11715 | } | |
11716 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
11717 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11718 | } | |
11719 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
11720 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11721 | } | |
11722 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
11723 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11724 | } | |
11725 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
11726 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11727 | } | |
11728 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
11729 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11730 | } | |
11731 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
11732 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
11733 | } | |
11734 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
11735 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
11736 | } | |
11737 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
11738 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
11739 | } | |
11740 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
11741 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
11742 | } | |
11743 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
11744 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11745 | } | |
11746 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
11747 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
11748 | } | |
11749 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
11750 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11751 | } | |
11752 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
11753 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
11754 | } | |
11755 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
11756 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
11757 | } | |
11758 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
11759 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11760 | } | |
11761 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
11762 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11763 | } | |
11764 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
11765 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11766 | } | |
11767 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
11768 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11769 | } | |
11770 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
11771 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11772 | } | |
11773 | 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}}; | |
11774 | 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}}; | |
11775 | 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}}; | |
11776 | 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}}; | |
11777 | 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}}; | |
11778 | 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}}; | |
11779 | 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}}; | |
11780 | 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}}; | |
11781 | 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}}; | |
11782 | 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}}; | |
11783 | 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}}; | |
11784 | 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}}; | |
11785 | 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}}; | |
11786 | 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}}; | |
11787 | 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}}; | |
11788 | 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}}; | |
11789 | 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}}; | |
11790 | 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}}; | |
11791 | 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}}; | |
11792 | 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}}; | |
11793 | 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}}; | |
11794 | 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}}; | |
11795 | 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}}; | |
11796 | 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}}; | |
11797 | 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}}; | |
11798 | 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}}; | |
11799 | 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}}; | |
11800 | 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}}; | |
11801 | 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}}; | |
11802 | 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}}; | |
11803 | 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}}; | |
11804 | 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}}; | |
11805 | 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}}; | |
11806 | 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}}; | |
11807 | 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}}; | |
11808 | 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}}; | |
11809 | 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}}; | |
11810 | 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}}; | |
11811 | 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}}; | |
11812 | 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}}; | |
11813 | 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}}; | |
11814 | 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}}; | |
11815 | 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}}; | |
11816 | 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}}; | |
11817 | 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}}; | |
11818 | 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}}; | |
11819 | 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}}; | |
11820 | 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}}; | |
11821 | 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}}; | |
11822 | 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}}; | |
11823 | 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}}; | |
11824 | 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}}; | |
11825 | 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}}; | |
11826 | ||
11827 | static swig_type_info *swig_types_initial[] = { | |
11828 | _swigt__p_wxHtmlDCRenderer, | |
11829 | _swigt__p_wxColour, | |
11830 | _swigt__p_wxPageSetupDialogData, | |
11831 | _swigt__p_wxDC, | |
11832 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
11833 | _swigt__p_wxHtmlRenderingStyle, | |
11834 | _swigt__p_wxMouseEvent, | |
11835 | _swigt__p_wxHtmlWordCell, | |
11836 | _swigt__p_wxVisualAttributes, | |
11837 | _swigt__p_wxHtmlHelpData, | |
11838 | _swigt__p_char, | |
11839 | _swigt__p_wxHtmlWinParser, | |
11840 | _swigt__p_wxHtmlParser, | |
11841 | _swigt__p_wxPanel, | |
11842 | _swigt__p_wxFont, | |
11843 | _swigt__p_wxHtmlColourCell, | |
11844 | _swigt__p_wxPyHtmlWindow, | |
11845 | _swigt__p_wxScrolledWindow, | |
11846 | _swigt__p_wxWindow, | |
11847 | _swigt__p_wxTopLevelWindow, | |
11848 | _swigt__p_wxHtmlFontCell, | |
11849 | _swigt__p_wxHtmlEasyPrinting, | |
11850 | _swigt__p_wxHtmlSelection, | |
11851 | _swigt__p_wxHtmlRenderingInfo, | |
11852 | _swigt__p_wxHtmlWidgetCell, | |
11853 | _swigt__p_wxObject, | |
11854 | _swigt__p_wxString, | |
11855 | _swigt__p_wxPyHtmlWinTagHandler, | |
11856 | _swigt__p_wxHtmlTagHandler, | |
11857 | _swigt__p_wxPyHtmlTagHandler, | |
11858 | _swigt__p_wxEvtHandler, | |
11859 | _swigt__p_wxPoint, | |
11860 | _swigt__p_wxHtmlHelpController, | |
11861 | _swigt__p_wxCursor, | |
11862 | _swigt__p_wxFileSystem, | |
11863 | _swigt__p_wxHtmlBookRecArray, | |
11864 | _swigt__p_wxPyPrintout, | |
11865 | _swigt__p_wxHtmlPrintout, | |
11866 | _swigt__p_wxHtmlSearchStatus, | |
11867 | _swigt__p_wxHtmlContentsItem, | |
11868 | _swigt__p_wxConfigBase, | |
11869 | _swigt__p_wxPrintData, | |
11870 | _swigt__p_wxHtmlHelpFrame, | |
11871 | _swigt__p_wxHtmlRenderingState, | |
11872 | _swigt__p_wxFrame, | |
11873 | _swigt__p_wxPyHtmlFilter, | |
11874 | _swigt__p_wxHtmlFilter, | |
11875 | _swigt__p_wxHtmlCell, | |
11876 | _swigt__p_wxHtmlContainerCell, | |
11877 | _swigt__p_wxHtmlTag, | |
11878 | _swigt__p_wxHtmlLinkInfo, | |
11879 | _swigt__p_int, | |
11880 | _swigt__p_wxHtmlBookRecord, | |
11881 | 0 | |
11882 | }; | |
11883 | ||
11884 | ||
11885 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
11886 | ||
11887 | static swig_const_info swig_const_table[] = { | |
11888 | {0}}; | |
11889 | ||
11890 | #ifdef __cplusplus | |
11891 | } | |
11892 | #endif | |
11893 | ||
11894 | #ifdef __cplusplus | |
11895 | extern "C" | |
11896 | #endif | |
11897 | SWIGEXPORT(void) SWIG_init(void) { | |
11898 | static PyObject *SWIG_globals = 0; | |
11899 | static int typeinit = 0; | |
11900 | PyObject *m, *d; | |
11901 | int i; | |
11902 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
11903 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
11904 | d = PyModule_GetDict(m); | |
11905 | ||
11906 | if (!typeinit) { | |
11907 | for (i = 0; swig_types_initial[i]; i++) { | |
11908 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
11909 | } | |
11910 | typeinit = 1; | |
11911 | } | |
11912 | SWIG_InstallConstants(d,swig_const_table); | |
11913 | ||
11914 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
11915 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
11916 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
11917 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
11918 | PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT)); | |
11919 | PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER)); | |
11920 | PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT)); | |
11921 | PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM)); | |
11922 | PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP)); | |
11923 | PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND)); | |
11924 | PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND)); | |
11925 | PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS)); | |
11926 | PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT)); | |
11927 | PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT)); | |
11928 | PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT)); | |
11929 | PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP)); | |
11930 | PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM)); | |
11931 | PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL)); | |
11932 | PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL)); | |
11933 | PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL)); | |
11934 | PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR)); | |
11935 | PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP)); | |
11936 | PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER)); | |
11937 | PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1)); | |
11938 | PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2)); | |
11939 | PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3)); | |
11940 | PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4)); | |
11941 | PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5)); | |
11942 | PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6)); | |
11943 | PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7)); | |
11944 | PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER)); | |
11945 | PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO)); | |
11946 | PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION)); | |
11947 | PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE)); | |
11948 | PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN)); | |
11949 | PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK)); | |
11950 | PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT)); | |
11951 | PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE)); | |
11952 | PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE)); | |
11953 | PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER)); | |
11954 | PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT)); | |
11955 | PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN)); | |
11956 | PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING)); | |
11957 | PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT)); | |
11958 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE)); | |
11959 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER)); | |
11960 | PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD)); | |
11961 | PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN)); | |
11962 | PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL)); | |
11963 | PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR)); | |
11964 | PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR)); | |
11965 | PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS)); | |
11966 | PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX)); | |
11967 | PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH)); | |
11968 | PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS)); | |
11969 | PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES)); | |
11970 | PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT)); | |
11971 | PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE)); | |
11972 | ||
11973 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
11974 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
11975 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
11976 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
11977 | ||
11978 | } | |
11979 |