]>
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_wxHtmlHelpData swig_types[8] | |
218 | #define SWIGTYPE_p_char swig_types[9] | |
219 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[10] | |
220 | #define SWIGTYPE_p_wxHtmlParser swig_types[11] | |
221 | #define SWIGTYPE_p_wxPanel swig_types[12] | |
222 | #define SWIGTYPE_p_wxFont swig_types[13] | |
223 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[14] | |
224 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15] | |
225 | #define SWIGTYPE_p_wxScrolledWindow swig_types[16] | |
226 | #define SWIGTYPE_p_wxWindow swig_types[17] | |
227 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[18] | |
228 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[19] | |
229 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[20] | |
230 | #define SWIGTYPE_p_wxHtmlSelection swig_types[21] | |
231 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[22] | |
232 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[23] | |
233 | #define SWIGTYPE_p_wxObject swig_types[24] | |
234 | #define SWIGTYPE_p_wxString swig_types[25] | |
235 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[26] | |
236 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[27] | |
237 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[28] | |
238 | #define SWIGTYPE_p_wxEvtHandler swig_types[29] | |
239 | #define SWIGTYPE_p_wxPoint swig_types[30] | |
240 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[31] | |
241 | #define SWIGTYPE_p_wxCursor swig_types[32] | |
242 | #define SWIGTYPE_p_wxFileSystem swig_types[33] | |
243 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[34] | |
244 | #define SWIGTYPE_p_wxPyPrintout swig_types[35] | |
245 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[36] | |
246 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[37] | |
247 | #define SWIGTYPE_p_wxHtmlContentsItem swig_types[38] | |
248 | #define SWIGTYPE_p_wxConfigBase swig_types[39] | |
249 | #define SWIGTYPE_p_wxPrintData swig_types[40] | |
250 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[41] | |
251 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[42] | |
252 | #define SWIGTYPE_p_wxFrame swig_types[43] | |
253 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[44] | |
254 | #define SWIGTYPE_p_wxHtmlFilter swig_types[45] | |
255 | #define SWIGTYPE_p_wxHtmlCell swig_types[46] | |
256 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[47] | |
257 | #define SWIGTYPE_p_wxHtmlTag swig_types[48] | |
258 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[49] | |
259 | #define SWIGTYPE_p_int swig_types[50] | |
260 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[51] | |
261 | static swig_type_info *swig_types[53]; | |
262 | ||
263 | /* -------- TYPES TABLE (END) -------- */ | |
264 | ||
265 | ||
266 | /*----------------------------------------------- | |
267 | @(target):= _html.so | |
268 | ------------------------------------------------*/ | |
269 | #define SWIG_init init_html | |
270 | ||
271 | #define SWIG_name "_html" | |
272 | ||
273 | /* Auxiliar swig macros */ | |
274 | ||
275 | #ifdef __cplusplus | |
276 | #define SWIGSTATICINLINE(a) static inline a | |
277 | #define SWIGSTATIC(a) static a | |
278 | #define swig_new_array(type, size) (new type[(size)]) | |
279 | #define swig_delete_array(cptr) delete[] cptr | |
280 | #define swig_const_cast(type,a) const_cast<type>(a) | |
281 | #define swig_static_cast(type,a) static_cast<type>(a) | |
282 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
283 | ||
284 | #ifdef HAVE_NUMERIC_CAST | |
285 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) | |
286 | #else | |
287 | #define swig_numeric_cast(type,a) static_cast<type>(a) | |
288 | #endif | |
289 | ||
290 | #else /* C case */ | |
291 | ||
292 | #define SWIGSTATICINLINE(a) static a | |
293 | #define SWIGSTATIC(a) static a | |
294 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
295 | #define swig_delete_array(cptr) free((char*)cptr) | |
296 | #define swig_const_cast(type,a) (type)(a) | |
297 | #define swig_static_cast(type,a) (type)(a) | |
298 | #define swig_reinterpret_cast(type,a) (type)(a) | |
299 | #define swig_numeric_cast(type,a) (type)(a) | |
300 | ||
301 | #endif /* __cplusplus */ | |
302 | ||
303 | ||
304 | #define SWIG_FromSignedChar PyInt_FromLong | |
305 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
306 | #define SWIG_FromShort PyInt_FromLong | |
307 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
308 | #define SWIG_FromInt PyInt_FromLong | |
309 | #define SWIG_FromLong PyInt_FromLong | |
310 | #define SWIG_FromFloat PyFloat_FromDouble | |
311 | #define SWIG_FromDouble PyFloat_FromDouble | |
312 | #define SWIG_FromFloat PyFloat_FromDouble | |
313 | #define SWIG_FromDouble PyFloat_FromDouble | |
314 | ||
315 | ||
316 | #include "wx/wxPython/wxPython.h" | |
317 | #include "wx/wxPython/pyclasses.h" | |
318 | #include "wx/wxPython/pyistream.h" | |
319 | #include "wx/wxPython/printfw.h" | |
320 | ||
321 | #include <wx/html/htmlwin.h> | |
322 | #include <wx/html/htmprint.h> | |
323 | #include <wx/html/helpctrl.h> | |
324 | ||
325 | ||
326 | static const wxString wxPyEmptyString(wxEmptyString); | |
327 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
328 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
329 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
330 | ||
331 | #include <limits.h> | |
332 | ||
333 | ||
334 | SWIGSTATICINLINE(long) | |
335 | SWIG_CheckLongInRange(long value, const char* type, | |
336 | long min_value, long max_value) | |
337 | { | |
338 | if (!PyErr_Occurred()) { | |
339 | if (value < min_value) { | |
340 | PyObject *err = | |
341 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
342 | value, type, min_value); | |
343 | ||
344 | PyErr_SetObject(PyExc_OverflowError, err); | |
345 | Py_DECREF(err); | |
346 | } else if (value > max_value) { | |
347 | PyObject *err = | |
348 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
349 | value, type, max_value); | |
350 | PyErr_SetObject(PyExc_OverflowError, err); | |
351 | Py_DECREF(err); | |
352 | } | |
353 | } | |
354 | return value; | |
355 | } | |
356 | ||
357 | ||
358 | SWIGSTATICINLINE(long) | |
359 | SWIG_AsLong(PyObject * obj) | |
360 | { | |
361 | if (PyNumber_Check(obj)) | |
362 | return PyInt_AsLong(obj); | |
363 | else { | |
364 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
365 | obj->ob_type->tp_name); | |
366 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
367 | Py_DECREF(errmsg); | |
368 | return 0; | |
369 | } | |
370 | } | |
371 | ||
372 | ||
373 | #if INT_MAX != LONG_MAX | |
374 | SWIGSTATICINLINE(int) | |
375 | SWIG_AsInt(PyObject *obj) | |
376 | { | |
377 | return swig_numeric_cast(int, | |
378 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
379 | "int", INT_MIN, INT_MAX)); | |
380 | } | |
381 | #else | |
382 | #define SWIG_AsInt SWIG_AsLong | |
383 | #endif | |
384 | ||
385 | ||
386 | SWIGSTATICINLINE(int) | |
387 | SWIG_CheckInt(PyObject* obj) | |
388 | { | |
389 | SWIG_AsInt(obj); | |
390 | if (PyErr_Occurred()) { | |
391 | PyErr_Clear(); | |
392 | return 0; | |
393 | } else { | |
394 | return 1; | |
395 | } | |
396 | } | |
397 | ||
398 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
399 | int* temp = NULL; | |
400 | if (sizes) temp = int_LIST_helper(sizes); | |
401 | self->SetFonts(normal_face, fixed_face, temp); | |
402 | if (temp) | |
403 | delete [] temp; | |
404 | } | |
405 | ||
406 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
407 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
408 | public: | |
409 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
410 | ||
411 | wxHtmlParser* GetParser() { return m_Parser; } | |
412 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
413 | ||
414 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
415 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
416 | ||
417 | PYPRIVATE; | |
418 | }; | |
419 | ||
420 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
421 | ||
422 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
423 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
424 | ||
425 | ||
426 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
427 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
428 | public: | |
429 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
430 | ||
431 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
432 | void ParseInner(const wxHtmlTag& tag) | |
433 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
434 | ||
435 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
436 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
437 | ||
438 | PYPRIVATE; | |
439 | }; | |
440 | ||
441 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
442 | ||
443 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
444 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
445 | ||
446 | ||
447 | ||
448 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
449 | public: | |
450 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
451 | m_tagHandlerClass = thc; | |
452 | Py_INCREF(m_tagHandlerClass); | |
453 | RegisterModule(this); | |
454 | wxHtmlWinParser::AddModule(this); | |
455 | } | |
456 | ||
457 | void OnExit() { | |
458 | bool blocked = wxPyBeginBlockThreads(); | |
459 | Py_DECREF(m_tagHandlerClass); | |
460 | m_tagHandlerClass = NULL; | |
461 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
462 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
463 | Py_DECREF(obj); | |
464 | } | |
465 | wxPyEndBlockThreads(blocked); | |
466 | }; | |
467 | ||
468 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
469 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
470 | ||
471 | // First, make a new instance of the tag handler | |
472 | bool blocked = wxPyBeginBlockThreads(); | |
473 | PyObject* arg = PyTuple_New(0); | |
474 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
475 | Py_DECREF(arg); | |
476 | ||
477 | // now figure out where it's C++ object is... | |
478 | wxPyHtmlWinTagHandler* thPtr; | |
479 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { | |
480 | wxPyEndBlockThreads(blocked); | |
481 | return; | |
482 | } | |
483 | wxPyEndBlockThreads(blocked); | |
484 | ||
485 | // add it, | |
486 | parser->AddTagHandler(thPtr); | |
487 | ||
488 | // and track it. | |
489 | m_objArray.Add(obj); | |
490 | } | |
491 | ||
492 | private: | |
493 | PyObject* m_tagHandlerClass; | |
494 | wxArrayPtrVoid m_objArray; | |
495 | ||
496 | }; | |
497 | ||
498 | ||
499 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
500 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
501 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
502 | new wxPyHtmlTagsModule(tagHandlerClass); | |
503 | } | |
504 | ||
505 | ||
506 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
507 | PyObject* o2; | |
508 | PyObject* o3; | |
509 | ||
510 | if (!target) { | |
511 | target = o; | |
512 | } else if (target == Py_None) { | |
513 | Py_DECREF(Py_None); | |
514 | target = o; | |
515 | } else { | |
516 | if (!PyTuple_Check(target)) { | |
517 | o2 = target; | |
518 | target = PyTuple_New(1); | |
519 | PyTuple_SetItem(target, 0, o2); | |
520 | } | |
521 | o3 = PyTuple_New(1); | |
522 | PyTuple_SetItem(o3, 0, o); | |
523 | ||
524 | o2 = target; | |
525 | target = PySequence_Concat(o2, o3); | |
526 | Py_DECREF(o2); | |
527 | Py_DECREF(o3); | |
528 | } | |
529 | return target; | |
530 | } | |
531 | ||
532 | ||
533 | SWIGSTATICINLINE(bool) | |
534 | SWIG_AsBool(PyObject *obj) | |
535 | { | |
536 | return PyObject_IsTrue(obj) ? true : false; | |
537 | } | |
538 | ||
539 | ||
540 | SWIGSTATICINLINE(int) | |
541 | SWIG_CheckBool(PyObject* obj) | |
542 | { | |
543 | SWIG_AsBool(obj); | |
544 | if (PyErr_Occurred()) { | |
545 | PyErr_Clear(); | |
546 | return 0; | |
547 | } else { | |
548 | return 1; | |
549 | } | |
550 | } | |
551 | ||
552 | ||
553 | SWIGSTATICINLINE(unsigned long) | |
554 | SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type, | |
555 | unsigned long max_value) | |
556 | { | |
557 | if (!PyErr_Occurred()) { | |
558 | if (value > max_value) { | |
559 | PyObject *err = | |
560 | PyString_FromFormat("value %ld is greater than '%s' minimum %ld", | |
561 | value, type, max_value); | |
562 | PyErr_SetObject(PyExc_OverflowError, err); | |
563 | Py_DECREF(err); | |
564 | } | |
565 | } | |
566 | return value; | |
567 | } | |
568 | ||
569 | ||
570 | SWIGSTATICINLINE(unsigned long) | |
571 | SWIG_AsUnsignedLong(PyObject * obj) | |
572 | { | |
573 | if (PyLong_Check(obj)) { | |
574 | return PyLong_AsUnsignedLong(obj); | |
575 | } else { | |
576 | long i = SWIG_AsLong(obj); | |
577 | if ( !PyErr_Occurred() && (i < 0)) { | |
578 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
579 | } | |
580 | return i; | |
581 | } | |
582 | } | |
583 | ||
584 | ||
585 | #if UINT_MAX != ULONG_MAX | |
586 | SWIGSTATICINLINE(unsigned int) | |
587 | SWIG_AsUnsignedInt(PyObject *obj) | |
588 | { | |
589 | return swig_numeric_cast(unsigned int, | |
590 | SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj), | |
591 | "unsigned int", UINT_MAX)); | |
592 | } | |
593 | #else | |
594 | #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong | |
595 | #endif | |
596 | ||
597 | ||
598 | SWIGSTATICINLINE(int) | |
599 | SWIG_CheckUnsignedInt(PyObject* obj) | |
600 | { | |
601 | SWIG_AsUnsignedInt(obj); | |
602 | if (PyErr_Occurred()) { | |
603 | PyErr_Clear(); | |
604 | return 0; | |
605 | } else { | |
606 | return 1; | |
607 | } | |
608 | } | |
609 | ||
610 | ||
611 | SWIGSTATICINLINE(PyObject* ) | |
612 | SWIG_FromUnsignedLong(unsigned long value) | |
613 | { | |
614 | return (value > LONG_MAX) ? | |
615 | PyLong_FromUnsignedLong(value) | |
616 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
617 | } | |
618 | ||
619 | ||
620 | #if UINT_MAX < LONG_MAX | |
621 | #define SWIG_FromUnsignedInt SWIG_FromLong | |
622 | #else | |
623 | #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong | |
624 | #endif | |
625 | ||
626 | // here's the C++ version | |
627 | class wxPyHtmlFilter : public wxHtmlFilter { | |
628 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
629 | public: | |
630 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
631 | ||
632 | // returns True if this filter is able to open&read given file | |
633 | virtual bool CanRead(const wxFSFile& file) const { | |
634 | bool rval = False; | |
635 | bool found; | |
636 | bool blocked = wxPyBeginBlockThreads(); | |
637 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
638 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
639 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
640 | Py_DECREF(obj); | |
641 | } | |
642 | wxPyEndBlockThreads(blocked); | |
643 | return rval; | |
644 | } | |
645 | ||
646 | ||
647 | // Reads given file and returns HTML document. | |
648 | // Returns empty string if opening failed | |
649 | virtual wxString ReadFile(const wxFSFile& file) const { | |
650 | wxString rval; | |
651 | bool found; | |
652 | bool blocked = wxPyBeginBlockThreads(); | |
653 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
654 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
655 | PyObject* ro; | |
656 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
657 | Py_DECREF(obj); | |
658 | if (ro) { | |
659 | rval = Py2wxString(ro); | |
660 | Py_DECREF(ro); | |
661 | } | |
662 | } | |
663 | wxPyEndBlockThreads(blocked); | |
664 | return rval; | |
665 | } | |
666 | ||
667 | PYPRIVATE; | |
668 | }; | |
669 | ||
670 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
671 | ||
672 | ||
673 | class wxPyHtmlWindow : public wxHtmlWindow { | |
674 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
675 | public: | |
676 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
677 | const wxPoint& pos = wxDefaultPosition, | |
678 | const wxSize& size = wxDefaultSize, | |
679 | long style = wxHW_DEFAULT_STYLE, | |
680 | const wxString& name = wxPyHtmlWindowNameStr) | |
681 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
682 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
683 | ||
684 | bool ScrollToAnchor(const wxString& anchor) { | |
685 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
686 | } | |
687 | ||
688 | bool HasAnchor(const wxString& anchor) { | |
689 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
690 | return c!=NULL; | |
691 | } | |
692 | ||
693 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
694 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
695 | ||
696 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
697 | const wxString& url, | |
698 | wxString *redirect) const; | |
699 | ||
700 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
701 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
702 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
703 | PYPRIVATE; | |
704 | }; | |
705 | ||
706 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
707 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
708 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
709 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
710 | ||
711 | ||
712 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
713 | bool found; | |
714 | bool blocked = wxPyBeginBlockThreads(); | |
715 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { | |
716 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
717 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
718 | Py_DECREF(obj); | |
719 | } | |
720 | wxPyEndBlockThreads(blocked); | |
721 | if (! found) | |
722 | wxHtmlWindow::OnLinkClicked(link); | |
723 | } | |
724 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
725 | wxHtmlWindow::OnLinkClicked(link); | |
726 | } | |
727 | ||
728 | ||
729 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
730 | const wxString& url, | |
731 | wxString *redirect) const { | |
732 | bool found; | |
733 | wxHtmlOpeningStatus rval; | |
734 | bool blocked = wxPyBeginBlockThreads(); | |
735 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
736 | PyObject* ro; | |
737 | PyObject* s = wx2PyString(url); | |
738 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
739 | Py_DECREF(s); | |
740 | if (PyString_Check(ro) | |
741 | #if PYTHON_API_VERSION >= 1009 | |
742 | || PyUnicode_Check(ro) | |
743 | #endif | |
744 | ) { | |
745 | *redirect = Py2wxString(ro); | |
746 | rval = wxHTML_REDIRECT; | |
747 | } | |
748 | else { | |
749 | PyObject* num = PyNumber_Int(ro); | |
750 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
751 | Py_DECREF(num); | |
752 | } | |
753 | Py_DECREF(ro); | |
754 | } | |
755 | wxPyEndBlockThreads(blocked); | |
756 | if (! found) | |
757 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
758 | return rval; | |
759 | } | |
760 | ||
761 | ||
762 | ||
763 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
764 | int* temp = NULL; | |
765 | if (sizes) temp = int_LIST_helper(sizes); | |
766 | self->SetFonts(normal_face, fixed_face, temp); | |
767 | if (temp) | |
768 | delete [] temp; | |
769 | } | |
770 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
771 | int* temp = NULL; | |
772 | if (sizes) temp = int_LIST_helper(sizes); | |
773 | self->SetFonts(normal_face, fixed_face, temp); | |
774 | if (temp) | |
775 | delete [] temp; | |
776 | } | |
777 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
778 | int* temp = NULL; | |
779 | if (sizes) temp = int_LIST_helper(sizes); | |
780 | self->SetFonts(normal_face, fixed_face, temp); | |
781 | if (temp) | |
782 | delete [] temp; | |
783 | } | |
784 | ||
785 | #include <float.h> | |
786 | ||
787 | SWIGSTATIC(float) | |
788 | SWIG_FloatCast(double value) | |
789 | { | |
790 | float f = 0; | |
791 | if (!PyErr_Occurred()) { | |
792 | if (value < FLT_MIN) { | |
793 | PyObject *err = | |
794 | PyString_FromFormat("value %g is less than float minimum %g", | |
795 | value, FLT_MIN); | |
796 | PyErr_SetObject(PyExc_OverflowError, err); | |
797 | Py_DECREF(err); | |
798 | } else if (value > FLT_MAX) { | |
799 | PyObject *err = | |
800 | PyString_FromFormat("value %g is greater than float maximum %g", | |
801 | value, FLT_MAX); | |
802 | PyErr_SetObject(PyExc_OverflowError, err); | |
803 | Py_DECREF(err); | |
804 | } else { | |
805 | f = swig_numeric_cast(float, value); | |
806 | } | |
807 | } | |
808 | return f; | |
809 | } | |
810 | ||
811 | ||
812 | SWIGSTATICINLINE(double) | |
813 | SWIG_AsDouble(PyObject *obj) | |
814 | { | |
815 | if (PyNumber_Check(obj)) | |
816 | return PyFloat_AsDouble(obj); | |
817 | else { | |
818 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
819 | obj->ob_type->tp_name); | |
820 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
821 | Py_DECREF(errmsg); | |
822 | return 0; | |
823 | } | |
824 | } | |
825 | ||
826 | ||
827 | SWIGSTATICINLINE(float) | |
828 | SWIG_AsFloat(PyObject *obj) | |
829 | { | |
830 | return SWIG_FloatCast(SWIG_AsDouble(obj)); | |
831 | } | |
832 | ||
833 | ||
834 | SWIGSTATICINLINE(int) | |
835 | SWIG_CheckFloat(PyObject* obj) | |
836 | { | |
837 | SWIG_AsFloat(obj); | |
838 | if (PyErr_Occurred()) { | |
839 | PyErr_Clear(); | |
840 | return 0; | |
841 | } else { | |
842 | return 1; | |
843 | } | |
844 | } | |
845 | ||
846 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
847 | int* temp = NULL; | |
848 | if (sizes) temp = int_LIST_helper(sizes); | |
849 | self->SetFonts(normal_face, fixed_face, temp); | |
850 | if (temp) | |
851 | delete [] temp; | |
852 | } | |
853 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
854 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
855 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
856 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
857 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
858 | #ifdef __cplusplus | |
859 | extern "C" { | |
860 | #endif | |
861 | static int _wrap_HtmlWindowNameStr_set(PyObject *_val) { | |
862 | PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only."); | |
863 | return 1; | |
864 | } | |
865 | ||
866 | ||
867 | static PyObject *_wrap_HtmlWindowNameStr_get() { | |
868 | PyObject *pyobj; | |
869 | ||
870 | { | |
871 | #if wxUSE_UNICODE | |
872 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
873 | #else | |
874 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
875 | #endif | |
876 | } | |
877 | return pyobj; | |
878 | } | |
879 | ||
880 | ||
881 | static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) { | |
882 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
883 | return 1; | |
884 | } | |
885 | ||
886 | ||
887 | static PyObject *_wrap_HtmlPrintoutTitleStr_get() { | |
888 | PyObject *pyobj; | |
889 | ||
890 | { | |
891 | #if wxUSE_UNICODE | |
892 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
893 | #else | |
894 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
895 | #endif | |
896 | } | |
897 | return pyobj; | |
898 | } | |
899 | ||
900 | ||
901 | static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) { | |
902 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only."); | |
903 | return 1; | |
904 | } | |
905 | ||
906 | ||
907 | static PyObject *_wrap_HtmlPrintingTitleStr_get() { | |
908 | PyObject *pyobj; | |
909 | ||
910 | { | |
911 | #if wxUSE_UNICODE | |
912 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
913 | #else | |
914 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
915 | #endif | |
916 | } | |
917 | return pyobj; | |
918 | } | |
919 | ||
920 | ||
921 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
922 | PyObject *resultobj; | |
923 | wxString *arg1 = 0 ; | |
924 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
925 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
926 | wxHtmlLinkInfo *result; | |
927 | bool temp1 = False ; | |
928 | bool temp2 = False ; | |
929 | PyObject * obj0 = 0 ; | |
930 | PyObject * obj1 = 0 ; | |
931 | char *kwnames[] = { | |
932 | (char *) "href",(char *) "target", NULL | |
933 | }; | |
934 | ||
935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
936 | { | |
937 | arg1 = wxString_in_helper(obj0); | |
938 | if (arg1 == NULL) SWIG_fail; | |
939 | temp1 = True; | |
940 | } | |
941 | if (obj1) { | |
942 | { | |
943 | arg2 = wxString_in_helper(obj1); | |
944 | if (arg2 == NULL) SWIG_fail; | |
945 | temp2 = True; | |
946 | } | |
947 | } | |
948 | { | |
949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
950 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
951 | ||
952 | wxPyEndAllowThreads(__tstate); | |
953 | if (PyErr_Occurred()) SWIG_fail; | |
954 | } | |
955 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
956 | { | |
957 | if (temp1) | |
958 | delete arg1; | |
959 | } | |
960 | { | |
961 | if (temp2) | |
962 | delete arg2; | |
963 | } | |
964 | return resultobj; | |
965 | fail: | |
966 | { | |
967 | if (temp1) | |
968 | delete arg1; | |
969 | } | |
970 | { | |
971 | if (temp2) | |
972 | delete arg2; | |
973 | } | |
974 | return NULL; | |
975 | } | |
976 | ||
977 | ||
978 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
979 | PyObject *resultobj; | |
980 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
981 | wxString result; | |
982 | PyObject * obj0 = 0 ; | |
983 | char *kwnames[] = { | |
984 | (char *) "self", NULL | |
985 | }; | |
986 | ||
987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
990 | { | |
991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
992 | result = (arg1)->GetHref(); | |
993 | ||
994 | wxPyEndAllowThreads(__tstate); | |
995 | if (PyErr_Occurred()) SWIG_fail; | |
996 | } | |
997 | { | |
998 | #if wxUSE_UNICODE | |
999 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1000 | #else | |
1001 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1002 | #endif | |
1003 | } | |
1004 | return resultobj; | |
1005 | fail: | |
1006 | return NULL; | |
1007 | } | |
1008 | ||
1009 | ||
1010 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1011 | PyObject *resultobj; | |
1012 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1013 | wxString result; | |
1014 | PyObject * obj0 = 0 ; | |
1015 | char *kwnames[] = { | |
1016 | (char *) "self", NULL | |
1017 | }; | |
1018 | ||
1019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
1020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1022 | { | |
1023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1024 | result = (arg1)->GetTarget(); | |
1025 | ||
1026 | wxPyEndAllowThreads(__tstate); | |
1027 | if (PyErr_Occurred()) SWIG_fail; | |
1028 | } | |
1029 | { | |
1030 | #if wxUSE_UNICODE | |
1031 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1032 | #else | |
1033 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1034 | #endif | |
1035 | } | |
1036 | return resultobj; | |
1037 | fail: | |
1038 | return NULL; | |
1039 | } | |
1040 | ||
1041 | ||
1042 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1043 | PyObject *resultobj; | |
1044 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1045 | wxMouseEvent *result; | |
1046 | PyObject * obj0 = 0 ; | |
1047 | char *kwnames[] = { | |
1048 | (char *) "self", NULL | |
1049 | }; | |
1050 | ||
1051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
1052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1054 | { | |
1055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1056 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
1057 | ||
1058 | wxPyEndAllowThreads(__tstate); | |
1059 | if (PyErr_Occurred()) SWIG_fail; | |
1060 | } | |
1061 | { | |
1062 | resultobj = wxPyMake_wxObject(result); | |
1063 | } | |
1064 | return resultobj; | |
1065 | fail: | |
1066 | return NULL; | |
1067 | } | |
1068 | ||
1069 | ||
1070 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1071 | PyObject *resultobj; | |
1072 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1073 | wxHtmlCell *result; | |
1074 | PyObject * obj0 = 0 ; | |
1075 | char *kwnames[] = { | |
1076 | (char *) "self", NULL | |
1077 | }; | |
1078 | ||
1079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
1080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1082 | { | |
1083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1084 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
1085 | ||
1086 | wxPyEndAllowThreads(__tstate); | |
1087 | if (PyErr_Occurred()) SWIG_fail; | |
1088 | } | |
1089 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
1090 | return resultobj; | |
1091 | fail: | |
1092 | return NULL; | |
1093 | } | |
1094 | ||
1095 | ||
1096 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1097 | PyObject *resultobj; | |
1098 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1099 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
1100 | PyObject * obj0 = 0 ; | |
1101 | PyObject * obj1 = 0 ; | |
1102 | char *kwnames[] = { | |
1103 | (char *) "self",(char *) "e", NULL | |
1104 | }; | |
1105 | ||
1106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
1107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1109 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent, | |
1110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1111 | { | |
1112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1113 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
1114 | ||
1115 | wxPyEndAllowThreads(__tstate); | |
1116 | if (PyErr_Occurred()) SWIG_fail; | |
1117 | } | |
1118 | Py_INCREF(Py_None); resultobj = Py_None; | |
1119 | return resultobj; | |
1120 | fail: | |
1121 | return NULL; | |
1122 | } | |
1123 | ||
1124 | ||
1125 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1126 | PyObject *resultobj; | |
1127 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
1128 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
1129 | PyObject * obj0 = 0 ; | |
1130 | PyObject * obj1 = 0 ; | |
1131 | char *kwnames[] = { | |
1132 | (char *) "self",(char *) "e", NULL | |
1133 | }; | |
1134 | ||
1135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
1136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlLinkInfo, | |
1137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1138 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
1139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1140 | { | |
1141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1142 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
1143 | ||
1144 | wxPyEndAllowThreads(__tstate); | |
1145 | if (PyErr_Occurred()) SWIG_fail; | |
1146 | } | |
1147 | Py_INCREF(Py_None); resultobj = Py_None; | |
1148 | return resultobj; | |
1149 | fail: | |
1150 | return NULL; | |
1151 | } | |
1152 | ||
1153 | ||
1154 | static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) { | |
1155 | PyObject *obj; | |
1156 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1157 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
1158 | Py_INCREF(obj); | |
1159 | return Py_BuildValue((char *)""); | |
1160 | } | |
1161 | static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1162 | PyObject *resultobj; | |
1163 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1164 | wxString result; | |
1165 | PyObject * obj0 = 0 ; | |
1166 | char *kwnames[] = { | |
1167 | (char *) "self", NULL | |
1168 | }; | |
1169 | ||
1170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
1171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1173 | { | |
1174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1175 | result = (arg1)->GetName(); | |
1176 | ||
1177 | wxPyEndAllowThreads(__tstate); | |
1178 | if (PyErr_Occurred()) SWIG_fail; | |
1179 | } | |
1180 | { | |
1181 | #if wxUSE_UNICODE | |
1182 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1183 | #else | |
1184 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1185 | #endif | |
1186 | } | |
1187 | return resultobj; | |
1188 | fail: | |
1189 | return NULL; | |
1190 | } | |
1191 | ||
1192 | ||
1193 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1194 | PyObject *resultobj; | |
1195 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1196 | wxString *arg2 = 0 ; | |
1197 | bool result; | |
1198 | bool temp2 = False ; | |
1199 | PyObject * obj0 = 0 ; | |
1200 | PyObject * obj1 = 0 ; | |
1201 | char *kwnames[] = { | |
1202 | (char *) "self",(char *) "par", NULL | |
1203 | }; | |
1204 | ||
1205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
1206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1208 | { | |
1209 | arg2 = wxString_in_helper(obj1); | |
1210 | if (arg2 == NULL) SWIG_fail; | |
1211 | temp2 = True; | |
1212 | } | |
1213 | { | |
1214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1215 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
1216 | ||
1217 | wxPyEndAllowThreads(__tstate); | |
1218 | if (PyErr_Occurred()) SWIG_fail; | |
1219 | } | |
1220 | { | |
1221 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1222 | } | |
1223 | { | |
1224 | if (temp2) | |
1225 | delete arg2; | |
1226 | } | |
1227 | return resultobj; | |
1228 | fail: | |
1229 | { | |
1230 | if (temp2) | |
1231 | delete arg2; | |
1232 | } | |
1233 | return NULL; | |
1234 | } | |
1235 | ||
1236 | ||
1237 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1238 | PyObject *resultobj; | |
1239 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1240 | wxString *arg2 = 0 ; | |
1241 | int arg3 = (int) False ; | |
1242 | wxString result; | |
1243 | bool temp2 = False ; | |
1244 | PyObject * obj0 = 0 ; | |
1245 | PyObject * obj1 = 0 ; | |
1246 | PyObject * obj2 = 0 ; | |
1247 | char *kwnames[] = { | |
1248 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
1249 | }; | |
1250 | ||
1251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlTag_GetParam",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1254 | { | |
1255 | arg2 = wxString_in_helper(obj1); | |
1256 | if (arg2 == NULL) SWIG_fail; | |
1257 | temp2 = True; | |
1258 | } | |
1259 | if (obj2) { | |
1260 | arg3 = (int) SWIG_AsInt(obj2); | |
1261 | if (PyErr_Occurred()) SWIG_fail; | |
1262 | } | |
1263 | { | |
1264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1265 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
1266 | ||
1267 | wxPyEndAllowThreads(__tstate); | |
1268 | if (PyErr_Occurred()) SWIG_fail; | |
1269 | } | |
1270 | { | |
1271 | #if wxUSE_UNICODE | |
1272 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1273 | #else | |
1274 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1275 | #endif | |
1276 | } | |
1277 | { | |
1278 | if (temp2) | |
1279 | delete arg2; | |
1280 | } | |
1281 | return resultobj; | |
1282 | fail: | |
1283 | { | |
1284 | if (temp2) | |
1285 | delete arg2; | |
1286 | } | |
1287 | return NULL; | |
1288 | } | |
1289 | ||
1290 | ||
1291 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1292 | PyObject *resultobj; | |
1293 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1294 | wxString result; | |
1295 | PyObject * obj0 = 0 ; | |
1296 | char *kwnames[] = { | |
1297 | (char *) "self", NULL | |
1298 | }; | |
1299 | ||
1300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
1301 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1303 | { | |
1304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1305 | result = (arg1)->GetAllParams(); | |
1306 | ||
1307 | wxPyEndAllowThreads(__tstate); | |
1308 | if (PyErr_Occurred()) SWIG_fail; | |
1309 | } | |
1310 | { | |
1311 | #if wxUSE_UNICODE | |
1312 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1313 | #else | |
1314 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1315 | #endif | |
1316 | } | |
1317 | return resultobj; | |
1318 | fail: | |
1319 | return NULL; | |
1320 | } | |
1321 | ||
1322 | ||
1323 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1324 | PyObject *resultobj; | |
1325 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1326 | bool result; | |
1327 | PyObject * obj0 = 0 ; | |
1328 | char *kwnames[] = { | |
1329 | (char *) "self", NULL | |
1330 | }; | |
1331 | ||
1332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
1333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1335 | { | |
1336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1337 | result = (bool)(arg1)->HasEnding(); | |
1338 | ||
1339 | wxPyEndAllowThreads(__tstate); | |
1340 | if (PyErr_Occurred()) SWIG_fail; | |
1341 | } | |
1342 | { | |
1343 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1344 | } | |
1345 | return resultobj; | |
1346 | fail: | |
1347 | return NULL; | |
1348 | } | |
1349 | ||
1350 | ||
1351 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1352 | PyObject *resultobj; | |
1353 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1354 | int result; | |
1355 | PyObject * obj0 = 0 ; | |
1356 | char *kwnames[] = { | |
1357 | (char *) "self", NULL | |
1358 | }; | |
1359 | ||
1360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
1361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1363 | { | |
1364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1365 | result = (int)(arg1)->GetBeginPos(); | |
1366 | ||
1367 | wxPyEndAllowThreads(__tstate); | |
1368 | if (PyErr_Occurred()) SWIG_fail; | |
1369 | } | |
1370 | resultobj = SWIG_FromInt((int)result); | |
1371 | return resultobj; | |
1372 | fail: | |
1373 | return NULL; | |
1374 | } | |
1375 | ||
1376 | ||
1377 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1378 | PyObject *resultobj; | |
1379 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1380 | int result; | |
1381 | PyObject * obj0 = 0 ; | |
1382 | char *kwnames[] = { | |
1383 | (char *) "self", NULL | |
1384 | }; | |
1385 | ||
1386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
1387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1389 | { | |
1390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1391 | result = (int)(arg1)->GetEndPos1(); | |
1392 | ||
1393 | wxPyEndAllowThreads(__tstate); | |
1394 | if (PyErr_Occurred()) SWIG_fail; | |
1395 | } | |
1396 | resultobj = SWIG_FromInt((int)result); | |
1397 | return resultobj; | |
1398 | fail: | |
1399 | return NULL; | |
1400 | } | |
1401 | ||
1402 | ||
1403 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1404 | PyObject *resultobj; | |
1405 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1406 | int result; | |
1407 | PyObject * obj0 = 0 ; | |
1408 | char *kwnames[] = { | |
1409 | (char *) "self", NULL | |
1410 | }; | |
1411 | ||
1412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
1413 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlTag, | |
1414 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1415 | { | |
1416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1417 | result = (int)(arg1)->GetEndPos2(); | |
1418 | ||
1419 | wxPyEndAllowThreads(__tstate); | |
1420 | if (PyErr_Occurred()) SWIG_fail; | |
1421 | } | |
1422 | resultobj = SWIG_FromInt((int)result); | |
1423 | return resultobj; | |
1424 | fail: | |
1425 | return NULL; | |
1426 | } | |
1427 | ||
1428 | ||
1429 | static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) { | |
1430 | PyObject *obj; | |
1431 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1432 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1433 | Py_INCREF(obj); | |
1434 | return Py_BuildValue((char *)""); | |
1435 | } | |
1436 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1437 | PyObject *resultobj; | |
1438 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1439 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1440 | PyObject * obj0 = 0 ; | |
1441 | PyObject * obj1 = 0 ; | |
1442 | char *kwnames[] = { | |
1443 | (char *) "self",(char *) "fs", NULL | |
1444 | }; | |
1445 | ||
1446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
1447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1449 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem, | |
1450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1451 | { | |
1452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1453 | (arg1)->SetFS(arg2); | |
1454 | ||
1455 | wxPyEndAllowThreads(__tstate); | |
1456 | if (PyErr_Occurred()) SWIG_fail; | |
1457 | } | |
1458 | Py_INCREF(Py_None); resultobj = Py_None; | |
1459 | return resultobj; | |
1460 | fail: | |
1461 | return NULL; | |
1462 | } | |
1463 | ||
1464 | ||
1465 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1466 | PyObject *resultobj; | |
1467 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1468 | wxFileSystem *result; | |
1469 | PyObject * obj0 = 0 ; | |
1470 | char *kwnames[] = { | |
1471 | (char *) "self", NULL | |
1472 | }; | |
1473 | ||
1474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
1475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1477 | { | |
1478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1479 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1480 | ||
1481 | wxPyEndAllowThreads(__tstate); | |
1482 | if (PyErr_Occurred()) SWIG_fail; | |
1483 | } | |
1484 | { | |
1485 | resultobj = wxPyMake_wxObject(result); | |
1486 | } | |
1487 | return resultobj; | |
1488 | fail: | |
1489 | return NULL; | |
1490 | } | |
1491 | ||
1492 | ||
1493 | static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1494 | PyObject *resultobj; | |
1495 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1496 | wxString *arg2 = 0 ; | |
1497 | wxObject *result; | |
1498 | bool temp2 = False ; | |
1499 | PyObject * obj0 = 0 ; | |
1500 | PyObject * obj1 = 0 ; | |
1501 | char *kwnames[] = { | |
1502 | (char *) "self",(char *) "source", NULL | |
1503 | }; | |
1504 | ||
1505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
1506 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1507 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1508 | { | |
1509 | arg2 = wxString_in_helper(obj1); | |
1510 | if (arg2 == NULL) SWIG_fail; | |
1511 | temp2 = True; | |
1512 | } | |
1513 | { | |
1514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1515 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1516 | ||
1517 | wxPyEndAllowThreads(__tstate); | |
1518 | if (PyErr_Occurred()) SWIG_fail; | |
1519 | } | |
1520 | { | |
1521 | resultobj = wxPyMake_wxObject(result); | |
1522 | } | |
1523 | { | |
1524 | if (temp2) | |
1525 | delete arg2; | |
1526 | } | |
1527 | return resultobj; | |
1528 | fail: | |
1529 | { | |
1530 | if (temp2) | |
1531 | delete arg2; | |
1532 | } | |
1533 | return NULL; | |
1534 | } | |
1535 | ||
1536 | ||
1537 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1538 | PyObject *resultobj; | |
1539 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1540 | wxString *arg2 = 0 ; | |
1541 | bool temp2 = False ; | |
1542 | PyObject * obj0 = 0 ; | |
1543 | PyObject * obj1 = 0 ; | |
1544 | char *kwnames[] = { | |
1545 | (char *) "self",(char *) "source", NULL | |
1546 | }; | |
1547 | ||
1548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
1549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1551 | { | |
1552 | arg2 = wxString_in_helper(obj1); | |
1553 | if (arg2 == NULL) SWIG_fail; | |
1554 | temp2 = True; | |
1555 | } | |
1556 | { | |
1557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1558 | (arg1)->InitParser((wxString const &)*arg2); | |
1559 | ||
1560 | wxPyEndAllowThreads(__tstate); | |
1561 | if (PyErr_Occurred()) SWIG_fail; | |
1562 | } | |
1563 | Py_INCREF(Py_None); resultobj = Py_None; | |
1564 | { | |
1565 | if (temp2) | |
1566 | delete arg2; | |
1567 | } | |
1568 | return resultobj; | |
1569 | fail: | |
1570 | { | |
1571 | if (temp2) | |
1572 | delete arg2; | |
1573 | } | |
1574 | return NULL; | |
1575 | } | |
1576 | ||
1577 | ||
1578 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1579 | PyObject *resultobj; | |
1580 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1581 | PyObject * obj0 = 0 ; | |
1582 | char *kwnames[] = { | |
1583 | (char *) "self", NULL | |
1584 | }; | |
1585 | ||
1586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
1587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1589 | { | |
1590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1591 | (arg1)->DoneParser(); | |
1592 | ||
1593 | wxPyEndAllowThreads(__tstate); | |
1594 | if (PyErr_Occurred()) SWIG_fail; | |
1595 | } | |
1596 | Py_INCREF(Py_None); resultobj = Py_None; | |
1597 | return resultobj; | |
1598 | fail: | |
1599 | return NULL; | |
1600 | } | |
1601 | ||
1602 | ||
1603 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1604 | PyObject *resultobj; | |
1605 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1606 | int arg2 ; | |
1607 | int arg3 ; | |
1608 | PyObject * obj0 = 0 ; | |
1609 | PyObject * obj1 = 0 ; | |
1610 | PyObject * obj2 = 0 ; | |
1611 | char *kwnames[] = { | |
1612 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1613 | }; | |
1614 | ||
1615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_DoParsing",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1618 | arg2 = (int) SWIG_AsInt(obj1); | |
1619 | if (PyErr_Occurred()) SWIG_fail; | |
1620 | arg3 = (int) SWIG_AsInt(obj2); | |
1621 | if (PyErr_Occurred()) SWIG_fail; | |
1622 | { | |
1623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1624 | (arg1)->DoParsing(arg2,arg3); | |
1625 | ||
1626 | wxPyEndAllowThreads(__tstate); | |
1627 | if (PyErr_Occurred()) SWIG_fail; | |
1628 | } | |
1629 | Py_INCREF(Py_None); resultobj = Py_None; | |
1630 | return resultobj; | |
1631 | fail: | |
1632 | return NULL; | |
1633 | } | |
1634 | ||
1635 | ||
1636 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1637 | PyObject *resultobj; | |
1638 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1639 | PyObject * obj0 = 0 ; | |
1640 | char *kwnames[] = { | |
1641 | (char *) "self", NULL | |
1642 | }; | |
1643 | ||
1644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
1645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1647 | { | |
1648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1649 | (arg1)->StopParsing(); | |
1650 | ||
1651 | wxPyEndAllowThreads(__tstate); | |
1652 | if (PyErr_Occurred()) SWIG_fail; | |
1653 | } | |
1654 | Py_INCREF(Py_None); resultobj = Py_None; | |
1655 | return resultobj; | |
1656 | fail: | |
1657 | return NULL; | |
1658 | } | |
1659 | ||
1660 | ||
1661 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1662 | PyObject *resultobj; | |
1663 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1664 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1665 | PyObject * obj0 = 0 ; | |
1666 | PyObject * obj1 = 0 ; | |
1667 | char *kwnames[] = { | |
1668 | (char *) "self",(char *) "handler", NULL | |
1669 | }; | |
1670 | ||
1671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
1672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1674 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler, | |
1675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1676 | { | |
1677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1678 | (arg1)->AddTagHandler(arg2); | |
1679 | ||
1680 | wxPyEndAllowThreads(__tstate); | |
1681 | if (PyErr_Occurred()) SWIG_fail; | |
1682 | } | |
1683 | Py_INCREF(Py_None); resultobj = Py_None; | |
1684 | return resultobj; | |
1685 | fail: | |
1686 | return NULL; | |
1687 | } | |
1688 | ||
1689 | ||
1690 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1691 | PyObject *resultobj; | |
1692 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1693 | wxString *result; | |
1694 | PyObject * obj0 = 0 ; | |
1695 | char *kwnames[] = { | |
1696 | (char *) "self", NULL | |
1697 | }; | |
1698 | ||
1699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
1700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1702 | { | |
1703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1704 | result = (wxString *)(arg1)->GetSource(); | |
1705 | ||
1706 | wxPyEndAllowThreads(__tstate); | |
1707 | if (PyErr_Occurred()) SWIG_fail; | |
1708 | } | |
1709 | { | |
1710 | #if wxUSE_UNICODE | |
1711 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1712 | #else | |
1713 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1714 | #endif | |
1715 | } | |
1716 | return resultobj; | |
1717 | fail: | |
1718 | return NULL; | |
1719 | } | |
1720 | ||
1721 | ||
1722 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1723 | PyObject *resultobj; | |
1724 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1725 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1726 | wxString arg3 ; | |
1727 | PyObject * obj0 = 0 ; | |
1728 | PyObject * obj1 = 0 ; | |
1729 | PyObject * obj2 = 0 ; | |
1730 | char *kwnames[] = { | |
1731 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1732 | }; | |
1733 | ||
1734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1737 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTagHandler, | |
1738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1739 | { | |
1740 | wxString* sptr = wxString_in_helper(obj2); | |
1741 | if (sptr == NULL) SWIG_fail; | |
1742 | arg3 = *sptr; | |
1743 | delete sptr; | |
1744 | } | |
1745 | { | |
1746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1747 | (arg1)->PushTagHandler(arg2,arg3); | |
1748 | ||
1749 | wxPyEndAllowThreads(__tstate); | |
1750 | if (PyErr_Occurred()) SWIG_fail; | |
1751 | } | |
1752 | Py_INCREF(Py_None); resultobj = Py_None; | |
1753 | return resultobj; | |
1754 | fail: | |
1755 | return NULL; | |
1756 | } | |
1757 | ||
1758 | ||
1759 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1760 | PyObject *resultobj; | |
1761 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1762 | PyObject * obj0 = 0 ; | |
1763 | char *kwnames[] = { | |
1764 | (char *) "self", NULL | |
1765 | }; | |
1766 | ||
1767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlParser, | |
1769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1770 | { | |
1771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1772 | (arg1)->PopTagHandler(); | |
1773 | ||
1774 | wxPyEndAllowThreads(__tstate); | |
1775 | if (PyErr_Occurred()) SWIG_fail; | |
1776 | } | |
1777 | Py_INCREF(Py_None); resultobj = Py_None; | |
1778 | return resultobj; | |
1779 | fail: | |
1780 | return NULL; | |
1781 | } | |
1782 | ||
1783 | ||
1784 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1785 | PyObject *obj; | |
1786 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1787 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1788 | Py_INCREF(obj); | |
1789 | return Py_BuildValue((char *)""); | |
1790 | } | |
1791 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1792 | PyObject *resultobj; | |
1793 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1794 | wxHtmlWinParser *result; | |
1795 | PyObject * obj0 = 0 ; | |
1796 | char *kwnames[] = { | |
1797 | (char *) "wnd", NULL | |
1798 | }; | |
1799 | ||
1800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1801 | if (obj0) { | |
1802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
1803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1804 | } | |
1805 | { | |
1806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1807 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1808 | ||
1809 | wxPyEndAllowThreads(__tstate); | |
1810 | if (PyErr_Occurred()) SWIG_fail; | |
1811 | } | |
1812 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 1); | |
1813 | return resultobj; | |
1814 | fail: | |
1815 | return NULL; | |
1816 | } | |
1817 | ||
1818 | ||
1819 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1820 | PyObject *resultobj; | |
1821 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1822 | wxDC *arg2 = (wxDC *) 0 ; | |
1823 | PyObject * obj0 = 0 ; | |
1824 | PyObject * obj1 = 0 ; | |
1825 | char *kwnames[] = { | |
1826 | (char *) "self",(char *) "dc", NULL | |
1827 | }; | |
1828 | ||
1829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1832 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
1833 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1834 | { | |
1835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1836 | (arg1)->SetDC(arg2); | |
1837 | ||
1838 | wxPyEndAllowThreads(__tstate); | |
1839 | if (PyErr_Occurred()) SWIG_fail; | |
1840 | } | |
1841 | Py_INCREF(Py_None); resultobj = Py_None; | |
1842 | return resultobj; | |
1843 | fail: | |
1844 | return NULL; | |
1845 | } | |
1846 | ||
1847 | ||
1848 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1849 | PyObject *resultobj; | |
1850 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1851 | wxDC *result; | |
1852 | PyObject * obj0 = 0 ; | |
1853 | char *kwnames[] = { | |
1854 | (char *) "self", NULL | |
1855 | }; | |
1856 | ||
1857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1860 | { | |
1861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1862 | result = (wxDC *)(arg1)->GetDC(); | |
1863 | ||
1864 | wxPyEndAllowThreads(__tstate); | |
1865 | if (PyErr_Occurred()) SWIG_fail; | |
1866 | } | |
1867 | { | |
1868 | resultobj = wxPyMake_wxObject(result); | |
1869 | } | |
1870 | return resultobj; | |
1871 | fail: | |
1872 | return NULL; | |
1873 | } | |
1874 | ||
1875 | ||
1876 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1877 | PyObject *resultobj; | |
1878 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1879 | int result; | |
1880 | PyObject * obj0 = 0 ; | |
1881 | char *kwnames[] = { | |
1882 | (char *) "self", NULL | |
1883 | }; | |
1884 | ||
1885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1886 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1888 | { | |
1889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1890 | result = (int)(arg1)->GetCharHeight(); | |
1891 | ||
1892 | wxPyEndAllowThreads(__tstate); | |
1893 | if (PyErr_Occurred()) SWIG_fail; | |
1894 | } | |
1895 | resultobj = SWIG_FromInt((int)result); | |
1896 | return resultobj; | |
1897 | fail: | |
1898 | return NULL; | |
1899 | } | |
1900 | ||
1901 | ||
1902 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1903 | PyObject *resultobj; | |
1904 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1905 | int result; | |
1906 | PyObject * obj0 = 0 ; | |
1907 | char *kwnames[] = { | |
1908 | (char *) "self", NULL | |
1909 | }; | |
1910 | ||
1911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1914 | { | |
1915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1916 | result = (int)(arg1)->GetCharWidth(); | |
1917 | ||
1918 | wxPyEndAllowThreads(__tstate); | |
1919 | if (PyErr_Occurred()) SWIG_fail; | |
1920 | } | |
1921 | resultobj = SWIG_FromInt((int)result); | |
1922 | return resultobj; | |
1923 | fail: | |
1924 | return NULL; | |
1925 | } | |
1926 | ||
1927 | ||
1928 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1929 | PyObject *resultobj; | |
1930 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1931 | wxPyHtmlWindow *result; | |
1932 | PyObject * obj0 = 0 ; | |
1933 | char *kwnames[] = { | |
1934 | (char *) "self", NULL | |
1935 | }; | |
1936 | ||
1937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1938 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1939 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1940 | { | |
1941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1942 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1943 | ||
1944 | wxPyEndAllowThreads(__tstate); | |
1945 | if (PyErr_Occurred()) SWIG_fail; | |
1946 | } | |
1947 | { | |
1948 | resultobj = wxPyMake_wxObject(result); | |
1949 | } | |
1950 | return resultobj; | |
1951 | fail: | |
1952 | return NULL; | |
1953 | } | |
1954 | ||
1955 | ||
1956 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1957 | PyObject *resultobj; | |
1958 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1959 | wxString arg2 ; | |
1960 | wxString arg3 ; | |
1961 | PyObject *arg4 = (PyObject *) NULL ; | |
1962 | PyObject * obj0 = 0 ; | |
1963 | PyObject * obj1 = 0 ; | |
1964 | PyObject * obj2 = 0 ; | |
1965 | PyObject * obj3 = 0 ; | |
1966 | char *kwnames[] = { | |
1967 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1968 | }; | |
1969 | ||
1970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
1972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1973 | { | |
1974 | wxString* sptr = wxString_in_helper(obj1); | |
1975 | if (sptr == NULL) SWIG_fail; | |
1976 | arg2 = *sptr; | |
1977 | delete sptr; | |
1978 | } | |
1979 | { | |
1980 | wxString* sptr = wxString_in_helper(obj2); | |
1981 | if (sptr == NULL) SWIG_fail; | |
1982 | arg3 = *sptr; | |
1983 | delete sptr; | |
1984 | } | |
1985 | if (obj3) { | |
1986 | arg4 = obj3; | |
1987 | } | |
1988 | { | |
1989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1990 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1991 | ||
1992 | wxPyEndAllowThreads(__tstate); | |
1993 | if (PyErr_Occurred()) SWIG_fail; | |
1994 | } | |
1995 | Py_INCREF(Py_None); resultobj = Py_None; | |
1996 | return resultobj; | |
1997 | fail: | |
1998 | return NULL; | |
1999 | } | |
2000 | ||
2001 | ||
2002 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2003 | PyObject *resultobj; | |
2004 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2005 | wxHtmlContainerCell *result; | |
2006 | PyObject * obj0 = 0 ; | |
2007 | char *kwnames[] = { | |
2008 | (char *) "self", NULL | |
2009 | }; | |
2010 | ||
2011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
2012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2014 | { | |
2015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2016 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
2017 | ||
2018 | wxPyEndAllowThreads(__tstate); | |
2019 | if (PyErr_Occurred()) SWIG_fail; | |
2020 | } | |
2021 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2022 | return resultobj; | |
2023 | fail: | |
2024 | return NULL; | |
2025 | } | |
2026 | ||
2027 | ||
2028 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2029 | PyObject *resultobj; | |
2030 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2031 | wxHtmlContainerCell *result; | |
2032 | PyObject * obj0 = 0 ; | |
2033 | char *kwnames[] = { | |
2034 | (char *) "self", NULL | |
2035 | }; | |
2036 | ||
2037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
2038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2040 | { | |
2041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2042 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
2043 | ||
2044 | wxPyEndAllowThreads(__tstate); | |
2045 | if (PyErr_Occurred()) SWIG_fail; | |
2046 | } | |
2047 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2048 | return resultobj; | |
2049 | fail: | |
2050 | return NULL; | |
2051 | } | |
2052 | ||
2053 | ||
2054 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2055 | PyObject *resultobj; | |
2056 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2057 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
2058 | wxHtmlContainerCell *result; | |
2059 | PyObject * obj0 = 0 ; | |
2060 | PyObject * obj1 = 0 ; | |
2061 | char *kwnames[] = { | |
2062 | (char *) "self",(char *) "c", NULL | |
2063 | }; | |
2064 | ||
2065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
2066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2068 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
2069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2070 | { | |
2071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2072 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
2073 | ||
2074 | wxPyEndAllowThreads(__tstate); | |
2075 | if (PyErr_Occurred()) SWIG_fail; | |
2076 | } | |
2077 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2078 | return resultobj; | |
2079 | fail: | |
2080 | return NULL; | |
2081 | } | |
2082 | ||
2083 | ||
2084 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2085 | PyObject *resultobj; | |
2086 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2087 | wxHtmlContainerCell *result; | |
2088 | PyObject * obj0 = 0 ; | |
2089 | char *kwnames[] = { | |
2090 | (char *) "self", NULL | |
2091 | }; | |
2092 | ||
2093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
2094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2096 | { | |
2097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2098 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
2099 | ||
2100 | wxPyEndAllowThreads(__tstate); | |
2101 | if (PyErr_Occurred()) SWIG_fail; | |
2102 | } | |
2103 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
2104 | return resultobj; | |
2105 | fail: | |
2106 | return NULL; | |
2107 | } | |
2108 | ||
2109 | ||
2110 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2111 | PyObject *resultobj; | |
2112 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2113 | int result; | |
2114 | PyObject * obj0 = 0 ; | |
2115 | char *kwnames[] = { | |
2116 | (char *) "self", NULL | |
2117 | }; | |
2118 | ||
2119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
2120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2122 | { | |
2123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2124 | result = (int)(arg1)->GetFontSize(); | |
2125 | ||
2126 | wxPyEndAllowThreads(__tstate); | |
2127 | if (PyErr_Occurred()) SWIG_fail; | |
2128 | } | |
2129 | resultobj = SWIG_FromInt((int)result); | |
2130 | return resultobj; | |
2131 | fail: | |
2132 | return NULL; | |
2133 | } | |
2134 | ||
2135 | ||
2136 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2137 | PyObject *resultobj; | |
2138 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2139 | int arg2 ; | |
2140 | PyObject * obj0 = 0 ; | |
2141 | PyObject * obj1 = 0 ; | |
2142 | char *kwnames[] = { | |
2143 | (char *) "self",(char *) "s", NULL | |
2144 | }; | |
2145 | ||
2146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontSize",kwnames,&obj0,&obj1)) goto fail; | |
2147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2149 | arg2 = (int) SWIG_AsInt(obj1); | |
2150 | if (PyErr_Occurred()) SWIG_fail; | |
2151 | { | |
2152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2153 | (arg1)->SetFontSize(arg2); | |
2154 | ||
2155 | wxPyEndAllowThreads(__tstate); | |
2156 | if (PyErr_Occurred()) SWIG_fail; | |
2157 | } | |
2158 | Py_INCREF(Py_None); resultobj = Py_None; | |
2159 | return resultobj; | |
2160 | fail: | |
2161 | return NULL; | |
2162 | } | |
2163 | ||
2164 | ||
2165 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2166 | PyObject *resultobj; | |
2167 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2168 | int result; | |
2169 | PyObject * obj0 = 0 ; | |
2170 | char *kwnames[] = { | |
2171 | (char *) "self", NULL | |
2172 | }; | |
2173 | ||
2174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
2175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2177 | { | |
2178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2179 | result = (int)(arg1)->GetFontBold(); | |
2180 | ||
2181 | wxPyEndAllowThreads(__tstate); | |
2182 | if (PyErr_Occurred()) SWIG_fail; | |
2183 | } | |
2184 | resultobj = SWIG_FromInt((int)result); | |
2185 | return resultobj; | |
2186 | fail: | |
2187 | return NULL; | |
2188 | } | |
2189 | ||
2190 | ||
2191 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2192 | PyObject *resultobj; | |
2193 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2194 | int arg2 ; | |
2195 | PyObject * obj0 = 0 ; | |
2196 | PyObject * obj1 = 0 ; | |
2197 | char *kwnames[] = { | |
2198 | (char *) "self",(char *) "x", NULL | |
2199 | }; | |
2200 | ||
2201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontBold",kwnames,&obj0,&obj1)) goto fail; | |
2202 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2203 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2204 | arg2 = (int) SWIG_AsInt(obj1); | |
2205 | if (PyErr_Occurred()) SWIG_fail; | |
2206 | { | |
2207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2208 | (arg1)->SetFontBold(arg2); | |
2209 | ||
2210 | wxPyEndAllowThreads(__tstate); | |
2211 | if (PyErr_Occurred()) SWIG_fail; | |
2212 | } | |
2213 | Py_INCREF(Py_None); resultobj = Py_None; | |
2214 | return resultobj; | |
2215 | fail: | |
2216 | return NULL; | |
2217 | } | |
2218 | ||
2219 | ||
2220 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2221 | PyObject *resultobj; | |
2222 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2223 | int result; | |
2224 | PyObject * obj0 = 0 ; | |
2225 | char *kwnames[] = { | |
2226 | (char *) "self", NULL | |
2227 | }; | |
2228 | ||
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
2230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2232 | { | |
2233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2234 | result = (int)(arg1)->GetFontItalic(); | |
2235 | ||
2236 | wxPyEndAllowThreads(__tstate); | |
2237 | if (PyErr_Occurred()) SWIG_fail; | |
2238 | } | |
2239 | resultobj = SWIG_FromInt((int)result); | |
2240 | return resultobj; | |
2241 | fail: | |
2242 | return NULL; | |
2243 | } | |
2244 | ||
2245 | ||
2246 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2247 | PyObject *resultobj; | |
2248 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2249 | int arg2 ; | |
2250 | PyObject * obj0 = 0 ; | |
2251 | PyObject * obj1 = 0 ; | |
2252 | char *kwnames[] = { | |
2253 | (char *) "self",(char *) "x", NULL | |
2254 | }; | |
2255 | ||
2256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontItalic",kwnames,&obj0,&obj1)) goto fail; | |
2257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2259 | arg2 = (int) SWIG_AsInt(obj1); | |
2260 | if (PyErr_Occurred()) SWIG_fail; | |
2261 | { | |
2262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2263 | (arg1)->SetFontItalic(arg2); | |
2264 | ||
2265 | wxPyEndAllowThreads(__tstate); | |
2266 | if (PyErr_Occurred()) SWIG_fail; | |
2267 | } | |
2268 | Py_INCREF(Py_None); resultobj = Py_None; | |
2269 | return resultobj; | |
2270 | fail: | |
2271 | return NULL; | |
2272 | } | |
2273 | ||
2274 | ||
2275 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2276 | PyObject *resultobj; | |
2277 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2278 | int result; | |
2279 | PyObject * obj0 = 0 ; | |
2280 | char *kwnames[] = { | |
2281 | (char *) "self", NULL | |
2282 | }; | |
2283 | ||
2284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
2285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2287 | { | |
2288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2289 | result = (int)(arg1)->GetFontUnderlined(); | |
2290 | ||
2291 | wxPyEndAllowThreads(__tstate); | |
2292 | if (PyErr_Occurred()) SWIG_fail; | |
2293 | } | |
2294 | resultobj = SWIG_FromInt((int)result); | |
2295 | return resultobj; | |
2296 | fail: | |
2297 | return NULL; | |
2298 | } | |
2299 | ||
2300 | ||
2301 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2302 | PyObject *resultobj; | |
2303 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2304 | int arg2 ; | |
2305 | PyObject * obj0 = 0 ; | |
2306 | PyObject * obj1 = 0 ; | |
2307 | char *kwnames[] = { | |
2308 | (char *) "self",(char *) "x", NULL | |
2309 | }; | |
2310 | ||
2311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&obj1)) goto fail; | |
2312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2314 | arg2 = (int) SWIG_AsInt(obj1); | |
2315 | if (PyErr_Occurred()) SWIG_fail; | |
2316 | { | |
2317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2318 | (arg1)->SetFontUnderlined(arg2); | |
2319 | ||
2320 | wxPyEndAllowThreads(__tstate); | |
2321 | if (PyErr_Occurred()) SWIG_fail; | |
2322 | } | |
2323 | Py_INCREF(Py_None); resultobj = Py_None; | |
2324 | return resultobj; | |
2325 | fail: | |
2326 | return NULL; | |
2327 | } | |
2328 | ||
2329 | ||
2330 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2331 | PyObject *resultobj; | |
2332 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2333 | int result; | |
2334 | PyObject * obj0 = 0 ; | |
2335 | char *kwnames[] = { | |
2336 | (char *) "self", NULL | |
2337 | }; | |
2338 | ||
2339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
2340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2342 | { | |
2343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2344 | result = (int)(arg1)->GetFontFixed(); | |
2345 | ||
2346 | wxPyEndAllowThreads(__tstate); | |
2347 | if (PyErr_Occurred()) SWIG_fail; | |
2348 | } | |
2349 | resultobj = SWIG_FromInt((int)result); | |
2350 | return resultobj; | |
2351 | fail: | |
2352 | return NULL; | |
2353 | } | |
2354 | ||
2355 | ||
2356 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2357 | PyObject *resultobj; | |
2358 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2359 | int arg2 ; | |
2360 | PyObject * obj0 = 0 ; | |
2361 | PyObject * obj1 = 0 ; | |
2362 | char *kwnames[] = { | |
2363 | (char *) "self",(char *) "x", NULL | |
2364 | }; | |
2365 | ||
2366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetFontFixed",kwnames,&obj0,&obj1)) goto fail; | |
2367 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2368 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2369 | arg2 = (int) SWIG_AsInt(obj1); | |
2370 | if (PyErr_Occurred()) SWIG_fail; | |
2371 | { | |
2372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2373 | (arg1)->SetFontFixed(arg2); | |
2374 | ||
2375 | wxPyEndAllowThreads(__tstate); | |
2376 | if (PyErr_Occurred()) SWIG_fail; | |
2377 | } | |
2378 | Py_INCREF(Py_None); resultobj = Py_None; | |
2379 | return resultobj; | |
2380 | fail: | |
2381 | return NULL; | |
2382 | } | |
2383 | ||
2384 | ||
2385 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2386 | PyObject *resultobj; | |
2387 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2388 | int result; | |
2389 | PyObject * obj0 = 0 ; | |
2390 | char *kwnames[] = { | |
2391 | (char *) "self", NULL | |
2392 | }; | |
2393 | ||
2394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2397 | { | |
2398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2399 | result = (int)(arg1)->GetAlign(); | |
2400 | ||
2401 | wxPyEndAllowThreads(__tstate); | |
2402 | if (PyErr_Occurred()) SWIG_fail; | |
2403 | } | |
2404 | resultobj = SWIG_FromInt((int)result); | |
2405 | return resultobj; | |
2406 | fail: | |
2407 | return NULL; | |
2408 | } | |
2409 | ||
2410 | ||
2411 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2412 | PyObject *resultobj; | |
2413 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2414 | int arg2 ; | |
2415 | PyObject * obj0 = 0 ; | |
2416 | PyObject * obj1 = 0 ; | |
2417 | char *kwnames[] = { | |
2418 | (char *) "self",(char *) "a", NULL | |
2419 | }; | |
2420 | ||
2421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
2422 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2423 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2424 | arg2 = (int) SWIG_AsInt(obj1); | |
2425 | if (PyErr_Occurred()) SWIG_fail; | |
2426 | { | |
2427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2428 | (arg1)->SetAlign(arg2); | |
2429 | ||
2430 | wxPyEndAllowThreads(__tstate); | |
2431 | if (PyErr_Occurred()) SWIG_fail; | |
2432 | } | |
2433 | Py_INCREF(Py_None); resultobj = Py_None; | |
2434 | return resultobj; | |
2435 | fail: | |
2436 | return NULL; | |
2437 | } | |
2438 | ||
2439 | ||
2440 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2441 | PyObject *resultobj; | |
2442 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2443 | wxColour result; | |
2444 | PyObject * obj0 = 0 ; | |
2445 | char *kwnames[] = { | |
2446 | (char *) "self", NULL | |
2447 | }; | |
2448 | ||
2449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2452 | { | |
2453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2454 | result = (arg1)->GetLinkColor(); | |
2455 | ||
2456 | wxPyEndAllowThreads(__tstate); | |
2457 | if (PyErr_Occurred()) SWIG_fail; | |
2458 | } | |
2459 | { | |
2460 | wxColour * resultptr; | |
2461 | resultptr = new wxColour((wxColour &) result); | |
2462 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
2463 | } | |
2464 | return resultobj; | |
2465 | fail: | |
2466 | return NULL; | |
2467 | } | |
2468 | ||
2469 | ||
2470 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2471 | PyObject *resultobj; | |
2472 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2473 | wxColour *arg2 = 0 ; | |
2474 | wxColour temp2 ; | |
2475 | PyObject * obj0 = 0 ; | |
2476 | PyObject * obj1 = 0 ; | |
2477 | char *kwnames[] = { | |
2478 | (char *) "self",(char *) "clr", NULL | |
2479 | }; | |
2480 | ||
2481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2482 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2484 | { | |
2485 | arg2 = &temp2; | |
2486 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2487 | } | |
2488 | { | |
2489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2490 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2491 | ||
2492 | wxPyEndAllowThreads(__tstate); | |
2493 | if (PyErr_Occurred()) SWIG_fail; | |
2494 | } | |
2495 | Py_INCREF(Py_None); resultobj = Py_None; | |
2496 | return resultobj; | |
2497 | fail: | |
2498 | return NULL; | |
2499 | } | |
2500 | ||
2501 | ||
2502 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2503 | PyObject *resultobj; | |
2504 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2505 | wxColour result; | |
2506 | PyObject * obj0 = 0 ; | |
2507 | char *kwnames[] = { | |
2508 | (char *) "self", NULL | |
2509 | }; | |
2510 | ||
2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2514 | { | |
2515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2516 | result = (arg1)->GetActualColor(); | |
2517 | ||
2518 | wxPyEndAllowThreads(__tstate); | |
2519 | if (PyErr_Occurred()) SWIG_fail; | |
2520 | } | |
2521 | { | |
2522 | wxColour * resultptr; | |
2523 | resultptr = new wxColour((wxColour &) result); | |
2524 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
2525 | } | |
2526 | return resultobj; | |
2527 | fail: | |
2528 | return NULL; | |
2529 | } | |
2530 | ||
2531 | ||
2532 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2533 | PyObject *resultobj; | |
2534 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2535 | wxColour *arg2 = 0 ; | |
2536 | wxColour temp2 ; | |
2537 | PyObject * obj0 = 0 ; | |
2538 | PyObject * obj1 = 0 ; | |
2539 | char *kwnames[] = { | |
2540 | (char *) "self",(char *) "clr", NULL | |
2541 | }; | |
2542 | ||
2543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2546 | { | |
2547 | arg2 = &temp2; | |
2548 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2549 | } | |
2550 | { | |
2551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2552 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2553 | ||
2554 | wxPyEndAllowThreads(__tstate); | |
2555 | if (PyErr_Occurred()) SWIG_fail; | |
2556 | } | |
2557 | Py_INCREF(Py_None); resultobj = Py_None; | |
2558 | return resultobj; | |
2559 | fail: | |
2560 | return NULL; | |
2561 | } | |
2562 | ||
2563 | ||
2564 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2565 | PyObject *resultobj; | |
2566 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2567 | wxString *arg2 = 0 ; | |
2568 | bool temp2 = False ; | |
2569 | PyObject * obj0 = 0 ; | |
2570 | PyObject * obj1 = 0 ; | |
2571 | char *kwnames[] = { | |
2572 | (char *) "self",(char *) "link", NULL | |
2573 | }; | |
2574 | ||
2575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2578 | { | |
2579 | arg2 = wxString_in_helper(obj1); | |
2580 | if (arg2 == NULL) SWIG_fail; | |
2581 | temp2 = True; | |
2582 | } | |
2583 | { | |
2584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2585 | (arg1)->SetLink((wxString const &)*arg2); | |
2586 | ||
2587 | wxPyEndAllowThreads(__tstate); | |
2588 | if (PyErr_Occurred()) SWIG_fail; | |
2589 | } | |
2590 | Py_INCREF(Py_None); resultobj = Py_None; | |
2591 | { | |
2592 | if (temp2) | |
2593 | delete arg2; | |
2594 | } | |
2595 | return resultobj; | |
2596 | fail: | |
2597 | { | |
2598 | if (temp2) | |
2599 | delete arg2; | |
2600 | } | |
2601 | return NULL; | |
2602 | } | |
2603 | ||
2604 | ||
2605 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2606 | PyObject *resultobj; | |
2607 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2608 | wxFont *result; | |
2609 | PyObject * obj0 = 0 ; | |
2610 | char *kwnames[] = { | |
2611 | (char *) "self", NULL | |
2612 | }; | |
2613 | ||
2614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2617 | { | |
2618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2619 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2620 | ||
2621 | wxPyEndAllowThreads(__tstate); | |
2622 | if (PyErr_Occurred()) SWIG_fail; | |
2623 | } | |
2624 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); | |
2625 | return resultobj; | |
2626 | fail: | |
2627 | return NULL; | |
2628 | } | |
2629 | ||
2630 | ||
2631 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2632 | PyObject *resultobj; | |
2633 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2634 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2635 | PyObject * obj0 = 0 ; | |
2636 | char *kwnames[] = { | |
2637 | (char *) "self", NULL | |
2638 | }; | |
2639 | ||
2640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser, | |
2642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2643 | { | |
2644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2645 | result = (arg1)->GetLink(); | |
2646 | ||
2647 | wxPyEndAllowThreads(__tstate); | |
2648 | if (PyErr_Occurred()) SWIG_fail; | |
2649 | } | |
2650 | { | |
2651 | wxHtmlLinkInfo * resultptr; | |
2652 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2653 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2654 | } | |
2655 | return resultobj; | |
2656 | fail: | |
2657 | return NULL; | |
2658 | } | |
2659 | ||
2660 | ||
2661 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2662 | PyObject *obj; | |
2663 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2664 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2665 | Py_INCREF(obj); | |
2666 | return Py_BuildValue((char *)""); | |
2667 | } | |
2668 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2669 | PyObject *resultobj; | |
2670 | wxPyHtmlTagHandler *result; | |
2671 | char *kwnames[] = { | |
2672 | NULL | |
2673 | }; | |
2674 | ||
2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2676 | { | |
2677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2678 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2679 | ||
2680 | wxPyEndAllowThreads(__tstate); | |
2681 | if (PyErr_Occurred()) SWIG_fail; | |
2682 | } | |
2683 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2684 | return resultobj; | |
2685 | fail: | |
2686 | return NULL; | |
2687 | } | |
2688 | ||
2689 | ||
2690 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2691 | PyObject *resultobj; | |
2692 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2693 | PyObject *arg2 = (PyObject *) 0 ; | |
2694 | PyObject *arg3 = (PyObject *) 0 ; | |
2695 | PyObject * obj0 = 0 ; | |
2696 | PyObject * obj1 = 0 ; | |
2697 | PyObject * obj2 = 0 ; | |
2698 | char *kwnames[] = { | |
2699 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2700 | }; | |
2701 | ||
2702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2705 | arg2 = obj1; | |
2706 | arg3 = obj2; | |
2707 | { | |
2708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2709 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2710 | ||
2711 | wxPyEndAllowThreads(__tstate); | |
2712 | if (PyErr_Occurred()) SWIG_fail; | |
2713 | } | |
2714 | Py_INCREF(Py_None); resultobj = Py_None; | |
2715 | return resultobj; | |
2716 | fail: | |
2717 | return NULL; | |
2718 | } | |
2719 | ||
2720 | ||
2721 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2722 | PyObject *resultobj; | |
2723 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2724 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2725 | PyObject * obj0 = 0 ; | |
2726 | PyObject * obj1 = 0 ; | |
2727 | char *kwnames[] = { | |
2728 | (char *) "self",(char *) "parser", NULL | |
2729 | }; | |
2730 | ||
2731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2734 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2736 | { | |
2737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2738 | (arg1)->SetParser(arg2); | |
2739 | ||
2740 | wxPyEndAllowThreads(__tstate); | |
2741 | if (PyErr_Occurred()) SWIG_fail; | |
2742 | } | |
2743 | Py_INCREF(Py_None); resultobj = Py_None; | |
2744 | return resultobj; | |
2745 | fail: | |
2746 | return NULL; | |
2747 | } | |
2748 | ||
2749 | ||
2750 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2751 | PyObject *resultobj; | |
2752 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2753 | wxHtmlParser *result; | |
2754 | PyObject * obj0 = 0 ; | |
2755 | char *kwnames[] = { | |
2756 | (char *) "self", NULL | |
2757 | }; | |
2758 | ||
2759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2760 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2762 | { | |
2763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2764 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2765 | ||
2766 | wxPyEndAllowThreads(__tstate); | |
2767 | if (PyErr_Occurred()) SWIG_fail; | |
2768 | } | |
2769 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlParser, 0); | |
2770 | return resultobj; | |
2771 | fail: | |
2772 | return NULL; | |
2773 | } | |
2774 | ||
2775 | ||
2776 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2777 | PyObject *resultobj; | |
2778 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2779 | wxHtmlTag *arg2 = 0 ; | |
2780 | PyObject * obj0 = 0 ; | |
2781 | PyObject * obj1 = 0 ; | |
2782 | char *kwnames[] = { | |
2783 | (char *) "self",(char *) "tag", NULL | |
2784 | }; | |
2785 | ||
2786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlTagHandler, | |
2788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2789 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2790 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2791 | SWIG_fail; | |
2792 | if (arg2 == NULL) { | |
2793 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2794 | SWIG_fail; | |
2795 | } | |
2796 | { | |
2797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2798 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2799 | ||
2800 | wxPyEndAllowThreads(__tstate); | |
2801 | if (PyErr_Occurred()) SWIG_fail; | |
2802 | } | |
2803 | Py_INCREF(Py_None); resultobj = Py_None; | |
2804 | return resultobj; | |
2805 | fail: | |
2806 | return NULL; | |
2807 | } | |
2808 | ||
2809 | ||
2810 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2811 | PyObject *obj; | |
2812 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2813 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2814 | Py_INCREF(obj); | |
2815 | return Py_BuildValue((char *)""); | |
2816 | } | |
2817 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2818 | PyObject *resultobj; | |
2819 | wxPyHtmlWinTagHandler *result; | |
2820 | char *kwnames[] = { | |
2821 | NULL | |
2822 | }; | |
2823 | ||
2824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2825 | { | |
2826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2827 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2828 | ||
2829 | wxPyEndAllowThreads(__tstate); | |
2830 | if (PyErr_Occurred()) SWIG_fail; | |
2831 | } | |
2832 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2833 | return resultobj; | |
2834 | fail: | |
2835 | return NULL; | |
2836 | } | |
2837 | ||
2838 | ||
2839 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2840 | PyObject *resultobj; | |
2841 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2842 | PyObject *arg2 = (PyObject *) 0 ; | |
2843 | PyObject *arg3 = (PyObject *) 0 ; | |
2844 | PyObject * obj0 = 0 ; | |
2845 | PyObject * obj1 = 0 ; | |
2846 | PyObject * obj2 = 0 ; | |
2847 | char *kwnames[] = { | |
2848 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2849 | }; | |
2850 | ||
2851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2854 | arg2 = obj1; | |
2855 | arg3 = obj2; | |
2856 | { | |
2857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2858 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2859 | ||
2860 | wxPyEndAllowThreads(__tstate); | |
2861 | if (PyErr_Occurred()) SWIG_fail; | |
2862 | } | |
2863 | Py_INCREF(Py_None); resultobj = Py_None; | |
2864 | return resultobj; | |
2865 | fail: | |
2866 | return NULL; | |
2867 | } | |
2868 | ||
2869 | ||
2870 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2871 | PyObject *resultobj; | |
2872 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2873 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2874 | PyObject * obj0 = 0 ; | |
2875 | PyObject * obj1 = 0 ; | |
2876 | char *kwnames[] = { | |
2877 | (char *) "self",(char *) "parser", NULL | |
2878 | }; | |
2879 | ||
2880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2883 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlParser, | |
2884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2885 | { | |
2886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2887 | (arg1)->SetParser(arg2); | |
2888 | ||
2889 | wxPyEndAllowThreads(__tstate); | |
2890 | if (PyErr_Occurred()) SWIG_fail; | |
2891 | } | |
2892 | Py_INCREF(Py_None); resultobj = Py_None; | |
2893 | return resultobj; | |
2894 | fail: | |
2895 | return NULL; | |
2896 | } | |
2897 | ||
2898 | ||
2899 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2900 | PyObject *resultobj; | |
2901 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2902 | wxHtmlWinParser *result; | |
2903 | PyObject * obj0 = 0 ; | |
2904 | char *kwnames[] = { | |
2905 | (char *) "self", NULL | |
2906 | }; | |
2907 | ||
2908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2911 | { | |
2912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2913 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2914 | ||
2915 | wxPyEndAllowThreads(__tstate); | |
2916 | if (PyErr_Occurred()) SWIG_fail; | |
2917 | } | |
2918 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); | |
2919 | return resultobj; | |
2920 | fail: | |
2921 | return NULL; | |
2922 | } | |
2923 | ||
2924 | ||
2925 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2926 | PyObject *resultobj; | |
2927 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2928 | wxHtmlTag *arg2 = 0 ; | |
2929 | PyObject * obj0 = 0 ; | |
2930 | PyObject * obj1 = 0 ; | |
2931 | char *kwnames[] = { | |
2932 | (char *) "self",(char *) "tag", NULL | |
2933 | }; | |
2934 | ||
2935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWinTagHandler, | |
2937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2938 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
2939 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2940 | SWIG_fail; | |
2941 | if (arg2 == NULL) { | |
2942 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2943 | SWIG_fail; | |
2944 | } | |
2945 | { | |
2946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2947 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2948 | ||
2949 | wxPyEndAllowThreads(__tstate); | |
2950 | if (PyErr_Occurred()) SWIG_fail; | |
2951 | } | |
2952 | Py_INCREF(Py_None); resultobj = Py_None; | |
2953 | return resultobj; | |
2954 | fail: | |
2955 | return NULL; | |
2956 | } | |
2957 | ||
2958 | ||
2959 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2960 | PyObject *obj; | |
2961 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2962 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2963 | Py_INCREF(obj); | |
2964 | return Py_BuildValue((char *)""); | |
2965 | } | |
2966 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2967 | PyObject *resultobj; | |
2968 | PyObject *arg1 = (PyObject *) 0 ; | |
2969 | PyObject * obj0 = 0 ; | |
2970 | char *kwnames[] = { | |
2971 | (char *) "tagHandlerClass", NULL | |
2972 | }; | |
2973 | ||
2974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2975 | arg1 = obj0; | |
2976 | { | |
2977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2978 | wxHtmlWinParser_AddTagHandler(arg1); | |
2979 | ||
2980 | wxPyEndAllowThreads(__tstate); | |
2981 | if (PyErr_Occurred()) SWIG_fail; | |
2982 | } | |
2983 | Py_INCREF(Py_None); resultobj = Py_None; | |
2984 | return resultobj; | |
2985 | fail: | |
2986 | return NULL; | |
2987 | } | |
2988 | ||
2989 | ||
2990 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2991 | PyObject *resultobj; | |
2992 | wxHtmlSelection *result; | |
2993 | char *kwnames[] = { | |
2994 | NULL | |
2995 | }; | |
2996 | ||
2997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2998 | { | |
2999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3000 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
3001 | ||
3002 | wxPyEndAllowThreads(__tstate); | |
3003 | if (PyErr_Occurred()) SWIG_fail; | |
3004 | } | |
3005 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 1); | |
3006 | return resultobj; | |
3007 | fail: | |
3008 | return NULL; | |
3009 | } | |
3010 | ||
3011 | ||
3012 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3013 | PyObject *resultobj; | |
3014 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3015 | PyObject * obj0 = 0 ; | |
3016 | char *kwnames[] = { | |
3017 | (char *) "self", NULL | |
3018 | }; | |
3019 | ||
3020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
3021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3023 | { | |
3024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3025 | delete arg1; | |
3026 | ||
3027 | wxPyEndAllowThreads(__tstate); | |
3028 | if (PyErr_Occurred()) SWIG_fail; | |
3029 | } | |
3030 | Py_INCREF(Py_None); resultobj = Py_None; | |
3031 | return resultobj; | |
3032 | fail: | |
3033 | return NULL; | |
3034 | } | |
3035 | ||
3036 | ||
3037 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3038 | PyObject *resultobj; | |
3039 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3040 | wxPoint *arg2 = 0 ; | |
3041 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3042 | wxPoint *arg4 = 0 ; | |
3043 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
3044 | wxPoint temp2 ; | |
3045 | wxPoint temp4 ; | |
3046 | PyObject * obj0 = 0 ; | |
3047 | PyObject * obj1 = 0 ; | |
3048 | PyObject * obj2 = 0 ; | |
3049 | PyObject * obj3 = 0 ; | |
3050 | PyObject * obj4 = 0 ; | |
3051 | char *kwnames[] = { | |
3052 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
3053 | }; | |
3054 | ||
3055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3058 | { | |
3059 | arg2 = &temp2; | |
3060 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3061 | } | |
3062 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3064 | { | |
3065 | arg4 = &temp4; | |
3066 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3067 | } | |
3068 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlCell, | |
3069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3070 | { | |
3071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3072 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
3073 | ||
3074 | wxPyEndAllowThreads(__tstate); | |
3075 | if (PyErr_Occurred()) SWIG_fail; | |
3076 | } | |
3077 | Py_INCREF(Py_None); resultobj = Py_None; | |
3078 | return resultobj; | |
3079 | fail: | |
3080 | return NULL; | |
3081 | } | |
3082 | ||
3083 | ||
3084 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3085 | PyObject *resultobj; | |
3086 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3087 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3088 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
3089 | PyObject * obj0 = 0 ; | |
3090 | PyObject * obj1 = 0 ; | |
3091 | PyObject * obj2 = 0 ; | |
3092 | char *kwnames[] = { | |
3093 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
3094 | }; | |
3095 | ||
3096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3099 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
3100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3101 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxHtmlCell, | |
3102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3103 | { | |
3104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3105 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
3106 | ||
3107 | wxPyEndAllowThreads(__tstate); | |
3108 | if (PyErr_Occurred()) SWIG_fail; | |
3109 | } | |
3110 | Py_INCREF(Py_None); resultobj = Py_None; | |
3111 | return resultobj; | |
3112 | fail: | |
3113 | return NULL; | |
3114 | } | |
3115 | ||
3116 | ||
3117 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3118 | PyObject *resultobj; | |
3119 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3120 | wxHtmlCell *result; | |
3121 | PyObject * obj0 = 0 ; | |
3122 | char *kwnames[] = { | |
3123 | (char *) "self", NULL | |
3124 | }; | |
3125 | ||
3126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
3127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3129 | { | |
3130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3131 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
3132 | ||
3133 | wxPyEndAllowThreads(__tstate); | |
3134 | if (PyErr_Occurred()) SWIG_fail; | |
3135 | } | |
3136 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
3137 | return resultobj; | |
3138 | fail: | |
3139 | return NULL; | |
3140 | } | |
3141 | ||
3142 | ||
3143 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3144 | PyObject *resultobj; | |
3145 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3146 | wxHtmlCell *result; | |
3147 | PyObject * obj0 = 0 ; | |
3148 | char *kwnames[] = { | |
3149 | (char *) "self", NULL | |
3150 | }; | |
3151 | ||
3152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
3153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3155 | { | |
3156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3157 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
3158 | ||
3159 | wxPyEndAllowThreads(__tstate); | |
3160 | if (PyErr_Occurred()) SWIG_fail; | |
3161 | } | |
3162 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
3163 | return resultobj; | |
3164 | fail: | |
3165 | return NULL; | |
3166 | } | |
3167 | ||
3168 | ||
3169 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3170 | PyObject *resultobj; | |
3171 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3172 | wxPoint *result; | |
3173 | PyObject * obj0 = 0 ; | |
3174 | char *kwnames[] = { | |
3175 | (char *) "self", NULL | |
3176 | }; | |
3177 | ||
3178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
3179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3181 | { | |
3182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3183 | { | |
3184 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
3185 | result = (wxPoint *) &_result_ref; | |
3186 | } | |
3187 | ||
3188 | wxPyEndAllowThreads(__tstate); | |
3189 | if (PyErr_Occurred()) SWIG_fail; | |
3190 | } | |
3191 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3192 | return resultobj; | |
3193 | fail: | |
3194 | return NULL; | |
3195 | } | |
3196 | ||
3197 | ||
3198 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3199 | PyObject *resultobj; | |
3200 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3201 | wxPoint *result; | |
3202 | PyObject * obj0 = 0 ; | |
3203 | char *kwnames[] = { | |
3204 | (char *) "self", NULL | |
3205 | }; | |
3206 | ||
3207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
3208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3210 | { | |
3211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3212 | { | |
3213 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
3214 | result = (wxPoint *) &_result_ref; | |
3215 | } | |
3216 | ||
3217 | wxPyEndAllowThreads(__tstate); | |
3218 | if (PyErr_Occurred()) SWIG_fail; | |
3219 | } | |
3220 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3221 | return resultobj; | |
3222 | fail: | |
3223 | return NULL; | |
3224 | } | |
3225 | ||
3226 | ||
3227 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3228 | PyObject *resultobj; | |
3229 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3230 | wxPoint *result; | |
3231 | PyObject * obj0 = 0 ; | |
3232 | char *kwnames[] = { | |
3233 | (char *) "self", NULL | |
3234 | }; | |
3235 | ||
3236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
3237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3239 | { | |
3240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3241 | { | |
3242 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
3243 | result = (wxPoint *) &_result_ref; | |
3244 | } | |
3245 | ||
3246 | wxPyEndAllowThreads(__tstate); | |
3247 | if (PyErr_Occurred()) SWIG_fail; | |
3248 | } | |
3249 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3250 | return resultobj; | |
3251 | fail: | |
3252 | return NULL; | |
3253 | } | |
3254 | ||
3255 | ||
3256 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3257 | PyObject *resultobj; | |
3258 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3259 | wxPoint *result; | |
3260 | PyObject * obj0 = 0 ; | |
3261 | char *kwnames[] = { | |
3262 | (char *) "self", NULL | |
3263 | }; | |
3264 | ||
3265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
3266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3268 | { | |
3269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3270 | { | |
3271 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
3272 | result = (wxPoint *) &_result_ref; | |
3273 | } | |
3274 | ||
3275 | wxPyEndAllowThreads(__tstate); | |
3276 | if (PyErr_Occurred()) SWIG_fail; | |
3277 | } | |
3278 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0); | |
3279 | return resultobj; | |
3280 | fail: | |
3281 | return NULL; | |
3282 | } | |
3283 | ||
3284 | ||
3285 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3286 | PyObject *resultobj; | |
3287 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3288 | wxPoint *arg2 = 0 ; | |
3289 | wxPoint temp2 ; | |
3290 | PyObject * obj0 = 0 ; | |
3291 | PyObject * obj1 = 0 ; | |
3292 | char *kwnames[] = { | |
3293 | (char *) "self",(char *) "pos", NULL | |
3294 | }; | |
3295 | ||
3296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
3297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3299 | { | |
3300 | arg2 = &temp2; | |
3301 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3302 | } | |
3303 | { | |
3304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3305 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
3306 | ||
3307 | wxPyEndAllowThreads(__tstate); | |
3308 | if (PyErr_Occurred()) SWIG_fail; | |
3309 | } | |
3310 | Py_INCREF(Py_None); resultobj = Py_None; | |
3311 | return resultobj; | |
3312 | fail: | |
3313 | return NULL; | |
3314 | } | |
3315 | ||
3316 | ||
3317 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3318 | PyObject *resultobj; | |
3319 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3320 | wxPoint *arg2 = 0 ; | |
3321 | wxPoint temp2 ; | |
3322 | PyObject * obj0 = 0 ; | |
3323 | PyObject * obj1 = 0 ; | |
3324 | char *kwnames[] = { | |
3325 | (char *) "self",(char *) "pos", NULL | |
3326 | }; | |
3327 | ||
3328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
3329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3331 | { | |
3332 | arg2 = &temp2; | |
3333 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
3334 | } | |
3335 | { | |
3336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3337 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
3338 | ||
3339 | wxPyEndAllowThreads(__tstate); | |
3340 | if (PyErr_Occurred()) SWIG_fail; | |
3341 | } | |
3342 | Py_INCREF(Py_None); resultobj = Py_None; | |
3343 | return resultobj; | |
3344 | fail: | |
3345 | return NULL; | |
3346 | } | |
3347 | ||
3348 | ||
3349 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3350 | PyObject *resultobj; | |
3351 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3352 | PyObject * obj0 = 0 ; | |
3353 | char *kwnames[] = { | |
3354 | (char *) "self", NULL | |
3355 | }; | |
3356 | ||
3357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
3358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3360 | { | |
3361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3362 | (arg1)->ClearPrivPos(); | |
3363 | ||
3364 | wxPyEndAllowThreads(__tstate); | |
3365 | if (PyErr_Occurred()) SWIG_fail; | |
3366 | } | |
3367 | Py_INCREF(Py_None); resultobj = Py_None; | |
3368 | return resultobj; | |
3369 | fail: | |
3370 | return NULL; | |
3371 | } | |
3372 | ||
3373 | ||
3374 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3375 | PyObject *resultobj; | |
3376 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
3377 | bool result; | |
3378 | PyObject * obj0 = 0 ; | |
3379 | char *kwnames[] = { | |
3380 | (char *) "self", NULL | |
3381 | }; | |
3382 | ||
3383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
3384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSelection, | |
3385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3386 | { | |
3387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3388 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
3389 | ||
3390 | wxPyEndAllowThreads(__tstate); | |
3391 | if (PyErr_Occurred()) SWIG_fail; | |
3392 | } | |
3393 | { | |
3394 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3395 | } | |
3396 | return resultobj; | |
3397 | fail: | |
3398 | return NULL; | |
3399 | } | |
3400 | ||
3401 | ||
3402 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
3403 | PyObject *obj; | |
3404 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3405 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
3406 | Py_INCREF(obj); | |
3407 | return Py_BuildValue((char *)""); | |
3408 | } | |
3409 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3410 | PyObject *resultobj; | |
3411 | wxHtmlRenderingState *result; | |
3412 | char *kwnames[] = { | |
3413 | NULL | |
3414 | }; | |
3415 | ||
3416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
3417 | { | |
3418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3419 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
3420 | ||
3421 | wxPyEndAllowThreads(__tstate); | |
3422 | if (PyErr_Occurred()) SWIG_fail; | |
3423 | } | |
3424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 1); | |
3425 | return resultobj; | |
3426 | fail: | |
3427 | return NULL; | |
3428 | } | |
3429 | ||
3430 | ||
3431 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3432 | PyObject *resultobj; | |
3433 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3434 | PyObject * obj0 = 0 ; | |
3435 | char *kwnames[] = { | |
3436 | (char *) "self", NULL | |
3437 | }; | |
3438 | ||
3439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
3440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3442 | { | |
3443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3444 | delete arg1; | |
3445 | ||
3446 | wxPyEndAllowThreads(__tstate); | |
3447 | if (PyErr_Occurred()) SWIG_fail; | |
3448 | } | |
3449 | Py_INCREF(Py_None); resultobj = Py_None; | |
3450 | return resultobj; | |
3451 | fail: | |
3452 | return NULL; | |
3453 | } | |
3454 | ||
3455 | ||
3456 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3457 | PyObject *resultobj; | |
3458 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3459 | int arg2 ; | |
3460 | PyObject * obj0 = 0 ; | |
3461 | PyObject * obj1 = 0 ; | |
3462 | char *kwnames[] = { | |
3463 | (char *) "self",(char *) "s", NULL | |
3464 | }; | |
3465 | ||
3466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&obj1)) goto fail; | |
3467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3469 | arg2 = (wxHtmlSelectionState) SWIG_AsInt(obj1); | |
3470 | if (PyErr_Occurred()) SWIG_fail; | |
3471 | { | |
3472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3473 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3474 | ||
3475 | wxPyEndAllowThreads(__tstate); | |
3476 | if (PyErr_Occurred()) SWIG_fail; | |
3477 | } | |
3478 | Py_INCREF(Py_None); resultobj = Py_None; | |
3479 | return resultobj; | |
3480 | fail: | |
3481 | return NULL; | |
3482 | } | |
3483 | ||
3484 | ||
3485 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3486 | PyObject *resultobj; | |
3487 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3488 | int result; | |
3489 | PyObject * obj0 = 0 ; | |
3490 | char *kwnames[] = { | |
3491 | (char *) "self", NULL | |
3492 | }; | |
3493 | ||
3494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3497 | { | |
3498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3499 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3500 | ||
3501 | wxPyEndAllowThreads(__tstate); | |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
3503 | } | |
3504 | resultobj = SWIG_FromInt((int)result); | |
3505 | return resultobj; | |
3506 | fail: | |
3507 | return NULL; | |
3508 | } | |
3509 | ||
3510 | ||
3511 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3512 | PyObject *resultobj; | |
3513 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3514 | wxColour *arg2 = 0 ; | |
3515 | wxColour temp2 ; | |
3516 | PyObject * obj0 = 0 ; | |
3517 | PyObject * obj1 = 0 ; | |
3518 | char *kwnames[] = { | |
3519 | (char *) "self",(char *) "c", NULL | |
3520 | }; | |
3521 | ||
3522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3525 | { | |
3526 | arg2 = &temp2; | |
3527 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3528 | } | |
3529 | { | |
3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3531 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3532 | ||
3533 | wxPyEndAllowThreads(__tstate); | |
3534 | if (PyErr_Occurred()) SWIG_fail; | |
3535 | } | |
3536 | Py_INCREF(Py_None); resultobj = Py_None; | |
3537 | return resultobj; | |
3538 | fail: | |
3539 | return NULL; | |
3540 | } | |
3541 | ||
3542 | ||
3543 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3544 | PyObject *resultobj; | |
3545 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3546 | wxColour *result; | |
3547 | PyObject * obj0 = 0 ; | |
3548 | char *kwnames[] = { | |
3549 | (char *) "self", NULL | |
3550 | }; | |
3551 | ||
3552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3555 | { | |
3556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3557 | { | |
3558 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3559 | result = (wxColour *) &_result_ref; | |
3560 | } | |
3561 | ||
3562 | wxPyEndAllowThreads(__tstate); | |
3563 | if (PyErr_Occurred()) SWIG_fail; | |
3564 | } | |
3565 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
3566 | return resultobj; | |
3567 | fail: | |
3568 | return NULL; | |
3569 | } | |
3570 | ||
3571 | ||
3572 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3573 | PyObject *resultobj; | |
3574 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3575 | wxColour *arg2 = 0 ; | |
3576 | wxColour temp2 ; | |
3577 | PyObject * obj0 = 0 ; | |
3578 | PyObject * obj1 = 0 ; | |
3579 | char *kwnames[] = { | |
3580 | (char *) "self",(char *) "c", NULL | |
3581 | }; | |
3582 | ||
3583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3586 | { | |
3587 | arg2 = &temp2; | |
3588 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3589 | } | |
3590 | { | |
3591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3592 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3593 | ||
3594 | wxPyEndAllowThreads(__tstate); | |
3595 | if (PyErr_Occurred()) SWIG_fail; | |
3596 | } | |
3597 | Py_INCREF(Py_None); resultobj = Py_None; | |
3598 | return resultobj; | |
3599 | fail: | |
3600 | return NULL; | |
3601 | } | |
3602 | ||
3603 | ||
3604 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3605 | PyObject *resultobj; | |
3606 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3607 | wxColour *result; | |
3608 | PyObject * obj0 = 0 ; | |
3609 | char *kwnames[] = { | |
3610 | (char *) "self", NULL | |
3611 | }; | |
3612 | ||
3613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingState, | |
3615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3616 | { | |
3617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3618 | { | |
3619 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3620 | result = (wxColour *) &_result_ref; | |
3621 | } | |
3622 | ||
3623 | wxPyEndAllowThreads(__tstate); | |
3624 | if (PyErr_Occurred()) SWIG_fail; | |
3625 | } | |
3626 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); | |
3627 | return resultobj; | |
3628 | fail: | |
3629 | return NULL; | |
3630 | } | |
3631 | ||
3632 | ||
3633 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3634 | PyObject *obj; | |
3635 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3636 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3637 | Py_INCREF(obj); | |
3638 | return Py_BuildValue((char *)""); | |
3639 | } | |
3640 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3641 | PyObject *resultobj; | |
3642 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3643 | wxColour *arg2 = 0 ; | |
3644 | wxColour result; | |
3645 | wxColour temp2 ; | |
3646 | PyObject * obj0 = 0 ; | |
3647 | PyObject * obj1 = 0 ; | |
3648 | char *kwnames[] = { | |
3649 | (char *) "self",(char *) "clr", NULL | |
3650 | }; | |
3651 | ||
3652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3655 | { | |
3656 | arg2 = &temp2; | |
3657 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3658 | } | |
3659 | { | |
3660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3661 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3662 | ||
3663 | wxPyEndAllowThreads(__tstate); | |
3664 | if (PyErr_Occurred()) SWIG_fail; | |
3665 | } | |
3666 | { | |
3667 | wxColour * resultptr; | |
3668 | resultptr = new wxColour((wxColour &) result); | |
3669 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3670 | } | |
3671 | return resultobj; | |
3672 | fail: | |
3673 | return NULL; | |
3674 | } | |
3675 | ||
3676 | ||
3677 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3678 | PyObject *resultobj; | |
3679 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3680 | wxColour *arg2 = 0 ; | |
3681 | wxColour result; | |
3682 | wxColour temp2 ; | |
3683 | PyObject * obj0 = 0 ; | |
3684 | PyObject * obj1 = 0 ; | |
3685 | char *kwnames[] = { | |
3686 | (char *) "self",(char *) "clr", NULL | |
3687 | }; | |
3688 | ||
3689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3692 | { | |
3693 | arg2 = &temp2; | |
3694 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3695 | } | |
3696 | { | |
3697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3698 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3699 | ||
3700 | wxPyEndAllowThreads(__tstate); | |
3701 | if (PyErr_Occurred()) SWIG_fail; | |
3702 | } | |
3703 | { | |
3704 | wxColour * resultptr; | |
3705 | resultptr = new wxColour((wxColour &) result); | |
3706 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3707 | } | |
3708 | return resultobj; | |
3709 | fail: | |
3710 | return NULL; | |
3711 | } | |
3712 | ||
3713 | ||
3714 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3715 | PyObject *obj; | |
3716 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3717 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3718 | Py_INCREF(obj); | |
3719 | return Py_BuildValue((char *)""); | |
3720 | } | |
3721 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3722 | PyObject *resultobj; | |
3723 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3724 | wxColour *arg2 = 0 ; | |
3725 | wxColour result; | |
3726 | wxColour temp2 ; | |
3727 | PyObject * obj0 = 0 ; | |
3728 | PyObject * obj1 = 0 ; | |
3729 | char *kwnames[] = { | |
3730 | (char *) "self",(char *) "clr", NULL | |
3731 | }; | |
3732 | ||
3733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, | |
3735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3736 | { | |
3737 | arg2 = &temp2; | |
3738 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3739 | } | |
3740 | { | |
3741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3742 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3743 | ||
3744 | wxPyEndAllowThreads(__tstate); | |
3745 | if (PyErr_Occurred()) SWIG_fail; | |
3746 | } | |
3747 | { | |
3748 | wxColour * resultptr; | |
3749 | resultptr = new wxColour((wxColour &) result); | |
3750 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3751 | } | |
3752 | return resultobj; | |
3753 | fail: | |
3754 | return NULL; | |
3755 | } | |
3756 | ||
3757 | ||
3758 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3759 | PyObject *resultobj; | |
3760 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3761 | wxColour *arg2 = 0 ; | |
3762 | wxColour result; | |
3763 | wxColour temp2 ; | |
3764 | PyObject * obj0 = 0 ; | |
3765 | PyObject * obj1 = 0 ; | |
3766 | char *kwnames[] = { | |
3767 | (char *) "self",(char *) "clr", NULL | |
3768 | }; | |
3769 | ||
3770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDefaultHtmlRenderingStyle, | |
3772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3773 | { | |
3774 | arg2 = &temp2; | |
3775 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3776 | } | |
3777 | { | |
3778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3779 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3780 | ||
3781 | wxPyEndAllowThreads(__tstate); | |
3782 | if (PyErr_Occurred()) SWIG_fail; | |
3783 | } | |
3784 | { | |
3785 | wxColour * resultptr; | |
3786 | resultptr = new wxColour((wxColour &) result); | |
3787 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3788 | } | |
3789 | return resultobj; | |
3790 | fail: | |
3791 | return NULL; | |
3792 | } | |
3793 | ||
3794 | ||
3795 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3796 | PyObject *obj; | |
3797 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3798 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3799 | Py_INCREF(obj); | |
3800 | return Py_BuildValue((char *)""); | |
3801 | } | |
3802 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3803 | PyObject *resultobj; | |
3804 | wxHtmlRenderingInfo *result; | |
3805 | char *kwnames[] = { | |
3806 | NULL | |
3807 | }; | |
3808 | ||
3809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3810 | { | |
3811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3812 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3813 | ||
3814 | wxPyEndAllowThreads(__tstate); | |
3815 | if (PyErr_Occurred()) SWIG_fail; | |
3816 | } | |
3817 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3818 | return resultobj; | |
3819 | fail: | |
3820 | return NULL; | |
3821 | } | |
3822 | ||
3823 | ||
3824 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3825 | PyObject *resultobj; | |
3826 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3827 | PyObject * obj0 = 0 ; | |
3828 | char *kwnames[] = { | |
3829 | (char *) "self", NULL | |
3830 | }; | |
3831 | ||
3832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3835 | { | |
3836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3837 | delete arg1; | |
3838 | ||
3839 | wxPyEndAllowThreads(__tstate); | |
3840 | if (PyErr_Occurred()) SWIG_fail; | |
3841 | } | |
3842 | Py_INCREF(Py_None); resultobj = Py_None; | |
3843 | return resultobj; | |
3844 | fail: | |
3845 | return NULL; | |
3846 | } | |
3847 | ||
3848 | ||
3849 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3850 | PyObject *resultobj; | |
3851 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3852 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3853 | PyObject * obj0 = 0 ; | |
3854 | PyObject * obj1 = 0 ; | |
3855 | char *kwnames[] = { | |
3856 | (char *) "self",(char *) "s", NULL | |
3857 | }; | |
3858 | ||
3859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3862 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
3863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3864 | { | |
3865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3866 | (arg1)->SetSelection(arg2); | |
3867 | ||
3868 | wxPyEndAllowThreads(__tstate); | |
3869 | if (PyErr_Occurred()) SWIG_fail; | |
3870 | } | |
3871 | Py_INCREF(Py_None); resultobj = Py_None; | |
3872 | return resultobj; | |
3873 | fail: | |
3874 | return NULL; | |
3875 | } | |
3876 | ||
3877 | ||
3878 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3879 | PyObject *resultobj; | |
3880 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3881 | wxHtmlSelection *result; | |
3882 | PyObject * obj0 = 0 ; | |
3883 | char *kwnames[] = { | |
3884 | (char *) "self", NULL | |
3885 | }; | |
3886 | ||
3887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3890 | { | |
3891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3892 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3893 | ||
3894 | wxPyEndAllowThreads(__tstate); | |
3895 | if (PyErr_Occurred()) SWIG_fail; | |
3896 | } | |
3897 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlSelection, 0); | |
3898 | return resultobj; | |
3899 | fail: | |
3900 | return NULL; | |
3901 | } | |
3902 | ||
3903 | ||
3904 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3905 | PyObject *resultobj; | |
3906 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3907 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3908 | PyObject * obj0 = 0 ; | |
3909 | PyObject * obj1 = 0 ; | |
3910 | char *kwnames[] = { | |
3911 | (char *) "self",(char *) "style", NULL | |
3912 | }; | |
3913 | ||
3914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3917 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlRenderingStyle, | |
3918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3919 | { | |
3920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3921 | (arg1)->SetStyle(arg2); | |
3922 | ||
3923 | wxPyEndAllowThreads(__tstate); | |
3924 | if (PyErr_Occurred()) SWIG_fail; | |
3925 | } | |
3926 | Py_INCREF(Py_None); resultobj = Py_None; | |
3927 | return resultobj; | |
3928 | fail: | |
3929 | return NULL; | |
3930 | } | |
3931 | ||
3932 | ||
3933 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3934 | PyObject *resultobj; | |
3935 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3936 | wxHtmlRenderingStyle *result; | |
3937 | PyObject * obj0 = 0 ; | |
3938 | char *kwnames[] = { | |
3939 | (char *) "self", NULL | |
3940 | }; | |
3941 | ||
3942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3945 | { | |
3946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3947 | { | |
3948 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3949 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3950 | } | |
3951 | ||
3952 | wxPyEndAllowThreads(__tstate); | |
3953 | if (PyErr_Occurred()) SWIG_fail; | |
3954 | } | |
3955 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3956 | return resultobj; | |
3957 | fail: | |
3958 | return NULL; | |
3959 | } | |
3960 | ||
3961 | ||
3962 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3963 | PyObject *resultobj; | |
3964 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3965 | wxHtmlRenderingState *result; | |
3966 | PyObject * obj0 = 0 ; | |
3967 | char *kwnames[] = { | |
3968 | (char *) "self", NULL | |
3969 | }; | |
3970 | ||
3971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlRenderingInfo, | |
3973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3974 | { | |
3975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3976 | { | |
3977 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3978 | result = (wxHtmlRenderingState *) &_result_ref; | |
3979 | } | |
3980 | ||
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
3984 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3985 | return resultobj; | |
3986 | fail: | |
3987 | return NULL; | |
3988 | } | |
3989 | ||
3990 | ||
3991 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3992 | PyObject *obj; | |
3993 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3994 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3995 | Py_INCREF(obj); | |
3996 | return Py_BuildValue((char *)""); | |
3997 | } | |
3998 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3999 | PyObject *resultobj; | |
4000 | wxHtmlCell *result; | |
4001 | char *kwnames[] = { | |
4002 | NULL | |
4003 | }; | |
4004 | ||
4005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
4006 | { | |
4007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4008 | result = (wxHtmlCell *)new wxHtmlCell(); | |
4009 | ||
4010 | wxPyEndAllowThreads(__tstate); | |
4011 | if (PyErr_Occurred()) SWIG_fail; | |
4012 | } | |
4013 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 1); | |
4014 | return resultobj; | |
4015 | fail: | |
4016 | return NULL; | |
4017 | } | |
4018 | ||
4019 | ||
4020 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4021 | PyObject *resultobj; | |
4022 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4023 | int result; | |
4024 | PyObject * obj0 = 0 ; | |
4025 | char *kwnames[] = { | |
4026 | (char *) "self", NULL | |
4027 | }; | |
4028 | ||
4029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
4030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4032 | { | |
4033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4034 | result = (int)(arg1)->GetPosX(); | |
4035 | ||
4036 | wxPyEndAllowThreads(__tstate); | |
4037 | if (PyErr_Occurred()) SWIG_fail; | |
4038 | } | |
4039 | resultobj = SWIG_FromInt((int)result); | |
4040 | return resultobj; | |
4041 | fail: | |
4042 | return NULL; | |
4043 | } | |
4044 | ||
4045 | ||
4046 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4047 | PyObject *resultobj; | |
4048 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4049 | int result; | |
4050 | PyObject * obj0 = 0 ; | |
4051 | char *kwnames[] = { | |
4052 | (char *) "self", NULL | |
4053 | }; | |
4054 | ||
4055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
4056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4058 | { | |
4059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4060 | result = (int)(arg1)->GetPosY(); | |
4061 | ||
4062 | wxPyEndAllowThreads(__tstate); | |
4063 | if (PyErr_Occurred()) SWIG_fail; | |
4064 | } | |
4065 | resultobj = SWIG_FromInt((int)result); | |
4066 | return resultobj; | |
4067 | fail: | |
4068 | return NULL; | |
4069 | } | |
4070 | ||
4071 | ||
4072 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4073 | PyObject *resultobj; | |
4074 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4075 | int result; | |
4076 | PyObject * obj0 = 0 ; | |
4077 | char *kwnames[] = { | |
4078 | (char *) "self", NULL | |
4079 | }; | |
4080 | ||
4081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
4082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4084 | { | |
4085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4086 | result = (int)(arg1)->GetWidth(); | |
4087 | ||
4088 | wxPyEndAllowThreads(__tstate); | |
4089 | if (PyErr_Occurred()) SWIG_fail; | |
4090 | } | |
4091 | resultobj = SWIG_FromInt((int)result); | |
4092 | return resultobj; | |
4093 | fail: | |
4094 | return NULL; | |
4095 | } | |
4096 | ||
4097 | ||
4098 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4099 | PyObject *resultobj; | |
4100 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4101 | int result; | |
4102 | PyObject * obj0 = 0 ; | |
4103 | char *kwnames[] = { | |
4104 | (char *) "self", NULL | |
4105 | }; | |
4106 | ||
4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
4108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4110 | { | |
4111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4112 | result = (int)(arg1)->GetHeight(); | |
4113 | ||
4114 | wxPyEndAllowThreads(__tstate); | |
4115 | if (PyErr_Occurred()) SWIG_fail; | |
4116 | } | |
4117 | resultobj = SWIG_FromInt((int)result); | |
4118 | return resultobj; | |
4119 | fail: | |
4120 | return NULL; | |
4121 | } | |
4122 | ||
4123 | ||
4124 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4125 | PyObject *resultobj; | |
4126 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4127 | int result; | |
4128 | PyObject * obj0 = 0 ; | |
4129 | char *kwnames[] = { | |
4130 | (char *) "self", NULL | |
4131 | }; | |
4132 | ||
4133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
4134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4136 | { | |
4137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4138 | result = (int)(arg1)->GetDescent(); | |
4139 | ||
4140 | wxPyEndAllowThreads(__tstate); | |
4141 | if (PyErr_Occurred()) SWIG_fail; | |
4142 | } | |
4143 | resultobj = SWIG_FromInt((int)result); | |
4144 | return resultobj; | |
4145 | fail: | |
4146 | return NULL; | |
4147 | } | |
4148 | ||
4149 | ||
4150 | static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4151 | PyObject *resultobj; | |
4152 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4153 | int result; | |
4154 | PyObject * obj0 = 0 ; | |
4155 | char *kwnames[] = { | |
4156 | (char *) "self", NULL | |
4157 | }; | |
4158 | ||
4159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetMaxTotalWidth",kwnames,&obj0)) goto fail; | |
4160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4162 | { | |
4163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4164 | result = (int)((wxHtmlCell const *)arg1)->GetMaxTotalWidth(); | |
4165 | ||
4166 | wxPyEndAllowThreads(__tstate); | |
4167 | if (PyErr_Occurred()) SWIG_fail; | |
4168 | } | |
4169 | resultobj = SWIG_FromInt((int)result); | |
4170 | return resultobj; | |
4171 | fail: | |
4172 | return NULL; | |
4173 | } | |
4174 | ||
4175 | ||
4176 | static PyObject *_wrap_HtmlCell_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4177 | PyObject *resultobj; | |
4178 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4179 | wxString *result; | |
4180 | PyObject * obj0 = 0 ; | |
4181 | char *kwnames[] = { | |
4182 | (char *) "self", NULL | |
4183 | }; | |
4184 | ||
4185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetId",kwnames,&obj0)) goto fail; | |
4186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4188 | { | |
4189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4190 | { | |
4191 | wxString const &_result_ref = ((wxHtmlCell const *)arg1)->GetId(); | |
4192 | result = (wxString *) &_result_ref; | |
4193 | } | |
4194 | ||
4195 | wxPyEndAllowThreads(__tstate); | |
4196 | if (PyErr_Occurred()) SWIG_fail; | |
4197 | } | |
4198 | { | |
4199 | #if wxUSE_UNICODE | |
4200 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4201 | #else | |
4202 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4203 | #endif | |
4204 | } | |
4205 | return resultobj; | |
4206 | fail: | |
4207 | return NULL; | |
4208 | } | |
4209 | ||
4210 | ||
4211 | static PyObject *_wrap_HtmlCell_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4212 | PyObject *resultobj; | |
4213 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4214 | wxString *arg2 = 0 ; | |
4215 | bool temp2 = False ; | |
4216 | PyObject * obj0 = 0 ; | |
4217 | PyObject * obj1 = 0 ; | |
4218 | char *kwnames[] = { | |
4219 | (char *) "self",(char *) "id", NULL | |
4220 | }; | |
4221 | ||
4222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetId",kwnames,&obj0,&obj1)) goto fail; | |
4223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4225 | { | |
4226 | arg2 = wxString_in_helper(obj1); | |
4227 | if (arg2 == NULL) SWIG_fail; | |
4228 | temp2 = True; | |
4229 | } | |
4230 | { | |
4231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4232 | (arg1)->SetId((wxString const &)*arg2); | |
4233 | ||
4234 | wxPyEndAllowThreads(__tstate); | |
4235 | if (PyErr_Occurred()) SWIG_fail; | |
4236 | } | |
4237 | Py_INCREF(Py_None); resultobj = Py_None; | |
4238 | { | |
4239 | if (temp2) | |
4240 | delete arg2; | |
4241 | } | |
4242 | return resultobj; | |
4243 | fail: | |
4244 | { | |
4245 | if (temp2) | |
4246 | delete arg2; | |
4247 | } | |
4248 | return NULL; | |
4249 | } | |
4250 | ||
4251 | ||
4252 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4253 | PyObject *resultobj; | |
4254 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4255 | int arg2 = (int) 0 ; | |
4256 | int arg3 = (int) 0 ; | |
4257 | wxHtmlLinkInfo *result; | |
4258 | PyObject * obj0 = 0 ; | |
4259 | PyObject * obj1 = 0 ; | |
4260 | PyObject * obj2 = 0 ; | |
4261 | char *kwnames[] = { | |
4262 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4263 | }; | |
4264 | ||
4265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:HtmlCell_GetLink",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4268 | if (obj1) { | |
4269 | arg2 = (int) SWIG_AsInt(obj1); | |
4270 | if (PyErr_Occurred()) SWIG_fail; | |
4271 | } | |
4272 | if (obj2) { | |
4273 | arg3 = (int) SWIG_AsInt(obj2); | |
4274 | if (PyErr_Occurred()) SWIG_fail; | |
4275 | } | |
4276 | { | |
4277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4278 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
4279 | ||
4280 | wxPyEndAllowThreads(__tstate); | |
4281 | if (PyErr_Occurred()) SWIG_fail; | |
4282 | } | |
4283 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
4284 | return resultobj; | |
4285 | fail: | |
4286 | return NULL; | |
4287 | } | |
4288 | ||
4289 | ||
4290 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4291 | PyObject *resultobj; | |
4292 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4293 | wxHtmlCell *result; | |
4294 | PyObject * obj0 = 0 ; | |
4295 | char *kwnames[] = { | |
4296 | (char *) "self", NULL | |
4297 | }; | |
4298 | ||
4299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
4300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4302 | { | |
4303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4304 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
4305 | ||
4306 | wxPyEndAllowThreads(__tstate); | |
4307 | if (PyErr_Occurred()) SWIG_fail; | |
4308 | } | |
4309 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4310 | return resultobj; | |
4311 | fail: | |
4312 | return NULL; | |
4313 | } | |
4314 | ||
4315 | ||
4316 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4317 | PyObject *resultobj; | |
4318 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4319 | wxHtmlContainerCell *result; | |
4320 | PyObject * obj0 = 0 ; | |
4321 | char *kwnames[] = { | |
4322 | (char *) "self", NULL | |
4323 | }; | |
4324 | ||
4325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
4326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4328 | { | |
4329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4330 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
4331 | ||
4332 | wxPyEndAllowThreads(__tstate); | |
4333 | if (PyErr_Occurred()) SWIG_fail; | |
4334 | } | |
4335 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
4336 | return resultobj; | |
4337 | fail: | |
4338 | return NULL; | |
4339 | } | |
4340 | ||
4341 | ||
4342 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4343 | PyObject *resultobj; | |
4344 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4345 | wxHtmlCell *result; | |
4346 | PyObject * obj0 = 0 ; | |
4347 | char *kwnames[] = { | |
4348 | (char *) "self", NULL | |
4349 | }; | |
4350 | ||
4351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4354 | { | |
4355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4356 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
4357 | ||
4358 | wxPyEndAllowThreads(__tstate); | |
4359 | if (PyErr_Occurred()) SWIG_fail; | |
4360 | } | |
4361 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4362 | return resultobj; | |
4363 | fail: | |
4364 | return NULL; | |
4365 | } | |
4366 | ||
4367 | ||
4368 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4369 | PyObject *resultobj; | |
4370 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4371 | wxCursor result; | |
4372 | PyObject * obj0 = 0 ; | |
4373 | char *kwnames[] = { | |
4374 | (char *) "self", NULL | |
4375 | }; | |
4376 | ||
4377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
4378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4380 | { | |
4381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4382 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
4383 | ||
4384 | wxPyEndAllowThreads(__tstate); | |
4385 | if (PyErr_Occurred()) SWIG_fail; | |
4386 | } | |
4387 | { | |
4388 | wxCursor * resultptr; | |
4389 | resultptr = new wxCursor((wxCursor &) result); | |
4390 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); | |
4391 | } | |
4392 | return resultobj; | |
4393 | fail: | |
4394 | return NULL; | |
4395 | } | |
4396 | ||
4397 | ||
4398 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4399 | PyObject *resultobj; | |
4400 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4401 | bool result; | |
4402 | PyObject * obj0 = 0 ; | |
4403 | char *kwnames[] = { | |
4404 | (char *) "self", NULL | |
4405 | }; | |
4406 | ||
4407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
4408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4410 | { | |
4411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4412 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
4413 | ||
4414 | wxPyEndAllowThreads(__tstate); | |
4415 | if (PyErr_Occurred()) SWIG_fail; | |
4416 | } | |
4417 | { | |
4418 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4419 | } | |
4420 | return resultobj; | |
4421 | fail: | |
4422 | return NULL; | |
4423 | } | |
4424 | ||
4425 | ||
4426 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4427 | PyObject *resultobj; | |
4428 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4429 | wxHtmlLinkInfo *arg2 = 0 ; | |
4430 | PyObject * obj0 = 0 ; | |
4431 | PyObject * obj1 = 0 ; | |
4432 | char *kwnames[] = { | |
4433 | (char *) "self",(char *) "link", NULL | |
4434 | }; | |
4435 | ||
4436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
4437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4439 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
4440 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4441 | SWIG_fail; | |
4442 | if (arg2 == NULL) { | |
4443 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4444 | SWIG_fail; | |
4445 | } | |
4446 | { | |
4447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4448 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
4449 | ||
4450 | wxPyEndAllowThreads(__tstate); | |
4451 | if (PyErr_Occurred()) SWIG_fail; | |
4452 | } | |
4453 | Py_INCREF(Py_None); resultobj = Py_None; | |
4454 | return resultobj; | |
4455 | fail: | |
4456 | return NULL; | |
4457 | } | |
4458 | ||
4459 | ||
4460 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4461 | PyObject *resultobj; | |
4462 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4463 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4464 | PyObject * obj0 = 0 ; | |
4465 | PyObject * obj1 = 0 ; | |
4466 | char *kwnames[] = { | |
4467 | (char *) "self",(char *) "cell", NULL | |
4468 | }; | |
4469 | ||
4470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
4471 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4472 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4473 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
4474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4475 | { | |
4476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4477 | (arg1)->SetNext(arg2); | |
4478 | ||
4479 | wxPyEndAllowThreads(__tstate); | |
4480 | if (PyErr_Occurred()) SWIG_fail; | |
4481 | } | |
4482 | Py_INCREF(Py_None); resultobj = Py_None; | |
4483 | return resultobj; | |
4484 | fail: | |
4485 | return NULL; | |
4486 | } | |
4487 | ||
4488 | ||
4489 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4490 | PyObject *resultobj; | |
4491 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4492 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
4493 | PyObject * obj0 = 0 ; | |
4494 | PyObject * obj1 = 0 ; | |
4495 | char *kwnames[] = { | |
4496 | (char *) "self",(char *) "p", NULL | |
4497 | }; | |
4498 | ||
4499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
4500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4502 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlContainerCell, | |
4503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4504 | { | |
4505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4506 | (arg1)->SetParent(arg2); | |
4507 | ||
4508 | wxPyEndAllowThreads(__tstate); | |
4509 | if (PyErr_Occurred()) SWIG_fail; | |
4510 | } | |
4511 | Py_INCREF(Py_None); resultobj = Py_None; | |
4512 | return resultobj; | |
4513 | fail: | |
4514 | return NULL; | |
4515 | } | |
4516 | ||
4517 | ||
4518 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4519 | PyObject *resultobj; | |
4520 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4521 | int arg2 ; | |
4522 | int arg3 ; | |
4523 | PyObject * obj0 = 0 ; | |
4524 | PyObject * obj1 = 0 ; | |
4525 | PyObject * obj2 = 0 ; | |
4526 | char *kwnames[] = { | |
4527 | (char *) "self",(char *) "x",(char *) "y", NULL | |
4528 | }; | |
4529 | ||
4530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_SetPos",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4533 | arg2 = (int) SWIG_AsInt(obj1); | |
4534 | if (PyErr_Occurred()) SWIG_fail; | |
4535 | arg3 = (int) SWIG_AsInt(obj2); | |
4536 | if (PyErr_Occurred()) SWIG_fail; | |
4537 | { | |
4538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4539 | (arg1)->SetPos(arg2,arg3); | |
4540 | ||
4541 | wxPyEndAllowThreads(__tstate); | |
4542 | if (PyErr_Occurred()) SWIG_fail; | |
4543 | } | |
4544 | Py_INCREF(Py_None); resultobj = Py_None; | |
4545 | return resultobj; | |
4546 | fail: | |
4547 | return NULL; | |
4548 | } | |
4549 | ||
4550 | ||
4551 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4552 | PyObject *resultobj; | |
4553 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4554 | int arg2 ; | |
4555 | PyObject * obj0 = 0 ; | |
4556 | PyObject * obj1 = 0 ; | |
4557 | char *kwnames[] = { | |
4558 | (char *) "self",(char *) "w", NULL | |
4559 | }; | |
4560 | ||
4561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_Layout",kwnames,&obj0,&obj1)) goto fail; | |
4562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4564 | arg2 = (int) SWIG_AsInt(obj1); | |
4565 | if (PyErr_Occurred()) SWIG_fail; | |
4566 | { | |
4567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4568 | (arg1)->Layout(arg2); | |
4569 | ||
4570 | wxPyEndAllowThreads(__tstate); | |
4571 | if (PyErr_Occurred()) SWIG_fail; | |
4572 | } | |
4573 | Py_INCREF(Py_None); resultobj = Py_None; | |
4574 | return resultobj; | |
4575 | fail: | |
4576 | return NULL; | |
4577 | } | |
4578 | ||
4579 | ||
4580 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4581 | PyObject *resultobj; | |
4582 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4583 | wxDC *arg2 = 0 ; | |
4584 | int arg3 ; | |
4585 | int arg4 ; | |
4586 | int arg5 ; | |
4587 | int arg6 ; | |
4588 | wxHtmlRenderingInfo *arg7 = 0 ; | |
4589 | PyObject * obj0 = 0 ; | |
4590 | PyObject * obj1 = 0 ; | |
4591 | PyObject * obj2 = 0 ; | |
4592 | PyObject * obj3 = 0 ; | |
4593 | PyObject * obj4 = 0 ; | |
4594 | PyObject * obj5 = 0 ; | |
4595 | PyObject * obj6 = 0 ; | |
4596 | char *kwnames[] = { | |
4597 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
4598 | }; | |
4599 | ||
4600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:HtmlCell_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
4601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4603 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4604 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4605 | SWIG_fail; | |
4606 | if (arg2 == NULL) { | |
4607 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4608 | SWIG_fail; | |
4609 | } | |
4610 | arg3 = (int) SWIG_AsInt(obj2); | |
4611 | if (PyErr_Occurred()) SWIG_fail; | |
4612 | arg4 = (int) SWIG_AsInt(obj3); | |
4613 | if (PyErr_Occurred()) SWIG_fail; | |
4614 | arg5 = (int) SWIG_AsInt(obj4); | |
4615 | if (PyErr_Occurred()) SWIG_fail; | |
4616 | arg6 = (int) SWIG_AsInt(obj5); | |
4617 | if (PyErr_Occurred()) SWIG_fail; | |
4618 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4619 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4620 | SWIG_fail; | |
4621 | if (arg7 == NULL) { | |
4622 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4623 | SWIG_fail; | |
4624 | } | |
4625 | { | |
4626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4627 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4628 | ||
4629 | wxPyEndAllowThreads(__tstate); | |
4630 | if (PyErr_Occurred()) SWIG_fail; | |
4631 | } | |
4632 | Py_INCREF(Py_None); resultobj = Py_None; | |
4633 | return resultobj; | |
4634 | fail: | |
4635 | return NULL; | |
4636 | } | |
4637 | ||
4638 | ||
4639 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4640 | PyObject *resultobj; | |
4641 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4642 | wxDC *arg2 = 0 ; | |
4643 | int arg3 ; | |
4644 | int arg4 ; | |
4645 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4646 | PyObject * obj0 = 0 ; | |
4647 | PyObject * obj1 = 0 ; | |
4648 | PyObject * obj2 = 0 ; | |
4649 | PyObject * obj3 = 0 ; | |
4650 | PyObject * obj4 = 0 ; | |
4651 | char *kwnames[] = { | |
4652 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4653 | }; | |
4654 | ||
4655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
4656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4658 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
4659 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4660 | SWIG_fail; | |
4661 | if (arg2 == NULL) { | |
4662 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4663 | SWIG_fail; | |
4664 | } | |
4665 | arg3 = (int) SWIG_AsInt(obj2); | |
4666 | if (PyErr_Occurred()) SWIG_fail; | |
4667 | arg4 = (int) SWIG_AsInt(obj3); | |
4668 | if (PyErr_Occurred()) SWIG_fail; | |
4669 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlRenderingInfo, | |
4670 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4671 | SWIG_fail; | |
4672 | if (arg5 == NULL) { | |
4673 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4674 | SWIG_fail; | |
4675 | } | |
4676 | { | |
4677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4678 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4679 | ||
4680 | wxPyEndAllowThreads(__tstate); | |
4681 | if (PyErr_Occurred()) SWIG_fail; | |
4682 | } | |
4683 | Py_INCREF(Py_None); resultobj = Py_None; | |
4684 | return resultobj; | |
4685 | fail: | |
4686 | return NULL; | |
4687 | } | |
4688 | ||
4689 | ||
4690 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4691 | PyObject *resultobj; | |
4692 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4693 | int arg2 ; | |
4694 | void *arg3 = (void *) 0 ; | |
4695 | wxHtmlCell *result; | |
4696 | PyObject * obj0 = 0 ; | |
4697 | PyObject * obj1 = 0 ; | |
4698 | PyObject * obj2 = 0 ; | |
4699 | char *kwnames[] = { | |
4700 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4701 | }; | |
4702 | ||
4703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlCell_Find",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4706 | arg2 = (int) SWIG_AsInt(obj1); | |
4707 | if (PyErr_Occurred()) SWIG_fail; | |
4708 | if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4709 | { | |
4710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4711 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4712 | ||
4713 | wxPyEndAllowThreads(__tstate); | |
4714 | if (PyErr_Occurred()) SWIG_fail; | |
4715 | } | |
4716 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4717 | return resultobj; | |
4718 | fail: | |
4719 | return NULL; | |
4720 | } | |
4721 | ||
4722 | ||
4723 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4724 | PyObject *resultobj; | |
4725 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4726 | int *arg2 = (int *) 0 ; | |
4727 | bool result; | |
4728 | int temp2 ; | |
4729 | PyObject * obj0 = 0 ; | |
4730 | PyObject * obj1 = 0 ; | |
4731 | char *kwnames[] = { | |
4732 | (char *) "self",(char *) "INOUT", NULL | |
4733 | }; | |
4734 | ||
4735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4736 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4738 | { | |
4739 | temp2 = PyInt_AsLong(obj1); | |
4740 | if (PyErr_Occurred()) SWIG_fail; | |
4741 | arg2 = &temp2; | |
4742 | } | |
4743 | { | |
4744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4745 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4746 | ||
4747 | wxPyEndAllowThreads(__tstate); | |
4748 | if (PyErr_Occurred()) SWIG_fail; | |
4749 | } | |
4750 | { | |
4751 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4752 | } | |
4753 | { | |
4754 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4755 | resultobj = t_output_helper(resultobj,o); | |
4756 | } | |
4757 | return resultobj; | |
4758 | fail: | |
4759 | return NULL; | |
4760 | } | |
4761 | ||
4762 | ||
4763 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4764 | PyObject *resultobj; | |
4765 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4766 | bool arg2 ; | |
4767 | PyObject * obj0 = 0 ; | |
4768 | PyObject * obj1 = 0 ; | |
4769 | char *kwnames[] = { | |
4770 | (char *) "self",(char *) "can", NULL | |
4771 | }; | |
4772 | ||
4773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4776 | arg2 = (bool) SWIG_AsBool(obj1); | |
4777 | if (PyErr_Occurred()) SWIG_fail; | |
4778 | { | |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4781 | ||
4782 | wxPyEndAllowThreads(__tstate); | |
4783 | if (PyErr_Occurred()) SWIG_fail; | |
4784 | } | |
4785 | Py_INCREF(Py_None); resultobj = Py_None; | |
4786 | return resultobj; | |
4787 | fail: | |
4788 | return NULL; | |
4789 | } | |
4790 | ||
4791 | ||
4792 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4793 | PyObject *resultobj; | |
4794 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4795 | bool result; | |
4796 | PyObject * obj0 = 0 ; | |
4797 | char *kwnames[] = { | |
4798 | (char *) "self", NULL | |
4799 | }; | |
4800 | ||
4801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4804 | { | |
4805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4806 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4807 | ||
4808 | wxPyEndAllowThreads(__tstate); | |
4809 | if (PyErr_Occurred()) SWIG_fail; | |
4810 | } | |
4811 | { | |
4812 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4813 | } | |
4814 | return resultobj; | |
4815 | fail: | |
4816 | return NULL; | |
4817 | } | |
4818 | ||
4819 | ||
4820 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4821 | PyObject *resultobj; | |
4822 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4823 | bool result; | |
4824 | PyObject * obj0 = 0 ; | |
4825 | char *kwnames[] = { | |
4826 | (char *) "self", NULL | |
4827 | }; | |
4828 | ||
4829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4832 | { | |
4833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4834 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4835 | ||
4836 | wxPyEndAllowThreads(__tstate); | |
4837 | if (PyErr_Occurred()) SWIG_fail; | |
4838 | } | |
4839 | { | |
4840 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4841 | } | |
4842 | return resultobj; | |
4843 | fail: | |
4844 | return NULL; | |
4845 | } | |
4846 | ||
4847 | ||
4848 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4849 | PyObject *resultobj; | |
4850 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4851 | int arg2 ; | |
4852 | int arg3 ; | |
4853 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
4854 | wxHtmlCell *result; | |
4855 | PyObject * obj0 = 0 ; | |
4856 | PyObject * obj1 = 0 ; | |
4857 | PyObject * obj2 = 0 ; | |
4858 | PyObject * obj3 = 0 ; | |
4859 | char *kwnames[] = { | |
4860 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4861 | }; | |
4862 | ||
4863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlCell_FindCellByPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
4864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4866 | arg2 = (int) SWIG_AsInt(obj1); | |
4867 | if (PyErr_Occurred()) SWIG_fail; | |
4868 | arg3 = (int) SWIG_AsInt(obj2); | |
4869 | if (PyErr_Occurred()) SWIG_fail; | |
4870 | if (obj3) { | |
4871 | arg4 = (unsigned int) SWIG_AsUnsignedInt(obj3); | |
4872 | if (PyErr_Occurred()) SWIG_fail; | |
4873 | } | |
4874 | { | |
4875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4876 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4877 | ||
4878 | wxPyEndAllowThreads(__tstate); | |
4879 | if (PyErr_Occurred()) SWIG_fail; | |
4880 | } | |
4881 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4882 | return resultobj; | |
4883 | fail: | |
4884 | return NULL; | |
4885 | } | |
4886 | ||
4887 | ||
4888 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4889 | PyObject *resultobj; | |
4890 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4891 | wxPoint result; | |
4892 | PyObject * obj0 = 0 ; | |
4893 | char *kwnames[] = { | |
4894 | (char *) "self", NULL | |
4895 | }; | |
4896 | ||
4897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4900 | { | |
4901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4902 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4903 | ||
4904 | wxPyEndAllowThreads(__tstate); | |
4905 | if (PyErr_Occurred()) SWIG_fail; | |
4906 | } | |
4907 | { | |
4908 | wxPoint * resultptr; | |
4909 | resultptr = new wxPoint((wxPoint &) result); | |
4910 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
4911 | } | |
4912 | return resultobj; | |
4913 | fail: | |
4914 | return NULL; | |
4915 | } | |
4916 | ||
4917 | ||
4918 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4919 | PyObject *resultobj; | |
4920 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4921 | wxHtmlCell *result; | |
4922 | PyObject * obj0 = 0 ; | |
4923 | char *kwnames[] = { | |
4924 | (char *) "self", NULL | |
4925 | }; | |
4926 | ||
4927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4930 | { | |
4931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4932 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4933 | ||
4934 | wxPyEndAllowThreads(__tstate); | |
4935 | if (PyErr_Occurred()) SWIG_fail; | |
4936 | } | |
4937 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4938 | return resultobj; | |
4939 | fail: | |
4940 | return NULL; | |
4941 | } | |
4942 | ||
4943 | ||
4944 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4945 | PyObject *resultobj; | |
4946 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4947 | wxHtmlCell *result; | |
4948 | PyObject * obj0 = 0 ; | |
4949 | char *kwnames[] = { | |
4950 | (char *) "self", NULL | |
4951 | }; | |
4952 | ||
4953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4956 | { | |
4957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4958 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4959 | ||
4960 | wxPyEndAllowThreads(__tstate); | |
4961 | if (PyErr_Occurred()) SWIG_fail; | |
4962 | } | |
4963 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
4964 | return resultobj; | |
4965 | fail: | |
4966 | return NULL; | |
4967 | } | |
4968 | ||
4969 | ||
4970 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4971 | PyObject *resultobj; | |
4972 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4973 | unsigned int result; | |
4974 | PyObject * obj0 = 0 ; | |
4975 | char *kwnames[] = { | |
4976 | (char *) "self", NULL | |
4977 | }; | |
4978 | ||
4979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
4981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4982 | { | |
4983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4984 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4985 | ||
4986 | wxPyEndAllowThreads(__tstate); | |
4987 | if (PyErr_Occurred()) SWIG_fail; | |
4988 | } | |
4989 | resultobj = SWIG_FromUnsignedInt((unsigned int)result); | |
4990 | return resultobj; | |
4991 | fail: | |
4992 | return NULL; | |
4993 | } | |
4994 | ||
4995 | ||
4996 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4997 | PyObject *resultobj; | |
4998 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4999 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5000 | bool result; | |
5001 | PyObject * obj0 = 0 ; | |
5002 | PyObject * obj1 = 0 ; | |
5003 | char *kwnames[] = { | |
5004 | (char *) "self",(char *) "cell", NULL | |
5005 | }; | |
5006 | ||
5007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
5008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5010 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5012 | { | |
5013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5014 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
5015 | ||
5016 | wxPyEndAllowThreads(__tstate); | |
5017 | if (PyErr_Occurred()) SWIG_fail; | |
5018 | } | |
5019 | { | |
5020 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5021 | } | |
5022 | return resultobj; | |
5023 | fail: | |
5024 | return NULL; | |
5025 | } | |
5026 | ||
5027 | ||
5028 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5029 | PyObject *resultobj; | |
5030 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
5031 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
5032 | wxString result; | |
5033 | PyObject * obj0 = 0 ; | |
5034 | PyObject * obj1 = 0 ; | |
5035 | char *kwnames[] = { | |
5036 | (char *) "self",(char *) "sel", NULL | |
5037 | }; | |
5038 | ||
5039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
5040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlCell, | |
5041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5042 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlSelection, | |
5043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5044 | { | |
5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5046 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
5047 | ||
5048 | wxPyEndAllowThreads(__tstate); | |
5049 | if (PyErr_Occurred()) SWIG_fail; | |
5050 | } | |
5051 | { | |
5052 | #if wxUSE_UNICODE | |
5053 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5054 | #else | |
5055 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5056 | #endif | |
5057 | } | |
5058 | return resultobj; | |
5059 | fail: | |
5060 | return NULL; | |
5061 | } | |
5062 | ||
5063 | ||
5064 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
5065 | PyObject *obj; | |
5066 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5067 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
5068 | Py_INCREF(obj); | |
5069 | return Py_BuildValue((char *)""); | |
5070 | } | |
5071 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5072 | PyObject *resultobj; | |
5073 | wxString *arg1 = 0 ; | |
5074 | wxDC *arg2 = 0 ; | |
5075 | wxHtmlWordCell *result; | |
5076 | bool temp1 = False ; | |
5077 | PyObject * obj0 = 0 ; | |
5078 | PyObject * obj1 = 0 ; | |
5079 | char *kwnames[] = { | |
5080 | (char *) "word",(char *) "dc", NULL | |
5081 | }; | |
5082 | ||
5083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
5084 | { | |
5085 | arg1 = wxString_in_helper(obj0); | |
5086 | if (arg1 == NULL) SWIG_fail; | |
5087 | temp1 = True; | |
5088 | } | |
5089 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
5090 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5091 | SWIG_fail; | |
5092 | if (arg2 == NULL) { | |
5093 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5094 | SWIG_fail; | |
5095 | } | |
5096 | { | |
5097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5098 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
5099 | ||
5100 | wxPyEndAllowThreads(__tstate); | |
5101 | if (PyErr_Occurred()) SWIG_fail; | |
5102 | } | |
5103 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWordCell, 1); | |
5104 | { | |
5105 | if (temp1) | |
5106 | delete arg1; | |
5107 | } | |
5108 | return resultobj; | |
5109 | fail: | |
5110 | { | |
5111 | if (temp1) | |
5112 | delete arg1; | |
5113 | } | |
5114 | return NULL; | |
5115 | } | |
5116 | ||
5117 | ||
5118 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
5119 | PyObject *obj; | |
5120 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5121 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
5122 | Py_INCREF(obj); | |
5123 | return Py_BuildValue((char *)""); | |
5124 | } | |
5125 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5126 | PyObject *resultobj; | |
5127 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5128 | wxHtmlContainerCell *result; | |
5129 | PyObject * obj0 = 0 ; | |
5130 | char *kwnames[] = { | |
5131 | (char *) "parent", NULL | |
5132 | }; | |
5133 | ||
5134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
5135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5137 | { | |
5138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5139 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
5140 | ||
5141 | wxPyEndAllowThreads(__tstate); | |
5142 | if (PyErr_Occurred()) SWIG_fail; | |
5143 | } | |
5144 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 1); | |
5145 | return resultobj; | |
5146 | fail: | |
5147 | return NULL; | |
5148 | } | |
5149 | ||
5150 | ||
5151 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5152 | PyObject *resultobj; | |
5153 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5154 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
5155 | PyObject * obj0 = 0 ; | |
5156 | PyObject * obj1 = 0 ; | |
5157 | char *kwnames[] = { | |
5158 | (char *) "self",(char *) "cell", NULL | |
5159 | }; | |
5160 | ||
5161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
5162 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5164 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
5165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5166 | { | |
5167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5168 | (arg1)->InsertCell(arg2); | |
5169 | ||
5170 | wxPyEndAllowThreads(__tstate); | |
5171 | if (PyErr_Occurred()) SWIG_fail; | |
5172 | } | |
5173 | Py_INCREF(Py_None); resultobj = Py_None; | |
5174 | return resultobj; | |
5175 | fail: | |
5176 | return NULL; | |
5177 | } | |
5178 | ||
5179 | ||
5180 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5181 | PyObject *resultobj; | |
5182 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5183 | int arg2 ; | |
5184 | PyObject * obj0 = 0 ; | |
5185 | PyObject * obj1 = 0 ; | |
5186 | char *kwnames[] = { | |
5187 | (char *) "self",(char *) "al", NULL | |
5188 | }; | |
5189 | ||
5190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&obj1)) goto fail; | |
5191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5193 | arg2 = (int) SWIG_AsInt(obj1); | |
5194 | if (PyErr_Occurred()) SWIG_fail; | |
5195 | { | |
5196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5197 | (arg1)->SetAlignHor(arg2); | |
5198 | ||
5199 | wxPyEndAllowThreads(__tstate); | |
5200 | if (PyErr_Occurred()) SWIG_fail; | |
5201 | } | |
5202 | Py_INCREF(Py_None); resultobj = Py_None; | |
5203 | return resultobj; | |
5204 | fail: | |
5205 | return NULL; | |
5206 | } | |
5207 | ||
5208 | ||
5209 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5210 | PyObject *resultobj; | |
5211 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5212 | int result; | |
5213 | PyObject * obj0 = 0 ; | |
5214 | char *kwnames[] = { | |
5215 | (char *) "self", NULL | |
5216 | }; | |
5217 | ||
5218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
5219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5221 | { | |
5222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5223 | result = (int)(arg1)->GetAlignHor(); | |
5224 | ||
5225 | wxPyEndAllowThreads(__tstate); | |
5226 | if (PyErr_Occurred()) SWIG_fail; | |
5227 | } | |
5228 | resultobj = SWIG_FromInt((int)result); | |
5229 | return resultobj; | |
5230 | fail: | |
5231 | return NULL; | |
5232 | } | |
5233 | ||
5234 | ||
5235 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5236 | PyObject *resultobj; | |
5237 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5238 | int arg2 ; | |
5239 | PyObject * obj0 = 0 ; | |
5240 | PyObject * obj1 = 0 ; | |
5241 | char *kwnames[] = { | |
5242 | (char *) "self",(char *) "al", NULL | |
5243 | }; | |
5244 | ||
5245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&obj1)) goto fail; | |
5246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5248 | arg2 = (int) SWIG_AsInt(obj1); | |
5249 | if (PyErr_Occurred()) SWIG_fail; | |
5250 | { | |
5251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5252 | (arg1)->SetAlignVer(arg2); | |
5253 | ||
5254 | wxPyEndAllowThreads(__tstate); | |
5255 | if (PyErr_Occurred()) SWIG_fail; | |
5256 | } | |
5257 | Py_INCREF(Py_None); resultobj = Py_None; | |
5258 | return resultobj; | |
5259 | fail: | |
5260 | return NULL; | |
5261 | } | |
5262 | ||
5263 | ||
5264 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5265 | PyObject *resultobj; | |
5266 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5267 | int result; | |
5268 | PyObject * obj0 = 0 ; | |
5269 | char *kwnames[] = { | |
5270 | (char *) "self", NULL | |
5271 | }; | |
5272 | ||
5273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
5274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5276 | { | |
5277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5278 | result = (int)(arg1)->GetAlignVer(); | |
5279 | ||
5280 | wxPyEndAllowThreads(__tstate); | |
5281 | if (PyErr_Occurred()) SWIG_fail; | |
5282 | } | |
5283 | resultobj = SWIG_FromInt((int)result); | |
5284 | return resultobj; | |
5285 | fail: | |
5286 | return NULL; | |
5287 | } | |
5288 | ||
5289 | ||
5290 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5291 | PyObject *resultobj; | |
5292 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5293 | int arg2 ; | |
5294 | int arg3 ; | |
5295 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
5296 | PyObject * obj0 = 0 ; | |
5297 | PyObject * obj1 = 0 ; | |
5298 | PyObject * obj2 = 0 ; | |
5299 | PyObject * obj3 = 0 ; | |
5300 | char *kwnames[] = { | |
5301 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
5302 | }; | |
5303 | ||
5304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlContainerCell_SetIndent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5307 | arg2 = (int) SWIG_AsInt(obj1); | |
5308 | if (PyErr_Occurred()) SWIG_fail; | |
5309 | arg3 = (int) SWIG_AsInt(obj2); | |
5310 | if (PyErr_Occurred()) SWIG_fail; | |
5311 | if (obj3) { | |
5312 | arg4 = (int) SWIG_AsInt(obj3); | |
5313 | if (PyErr_Occurred()) SWIG_fail; | |
5314 | } | |
5315 | { | |
5316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5317 | (arg1)->SetIndent(arg2,arg3,arg4); | |
5318 | ||
5319 | wxPyEndAllowThreads(__tstate); | |
5320 | if (PyErr_Occurred()) SWIG_fail; | |
5321 | } | |
5322 | Py_INCREF(Py_None); resultobj = Py_None; | |
5323 | return resultobj; | |
5324 | fail: | |
5325 | return NULL; | |
5326 | } | |
5327 | ||
5328 | ||
5329 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5330 | PyObject *resultobj; | |
5331 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5332 | int arg2 ; | |
5333 | int result; | |
5334 | PyObject * obj0 = 0 ; | |
5335 | PyObject * obj1 = 0 ; | |
5336 | char *kwnames[] = { | |
5337 | (char *) "self",(char *) "ind", NULL | |
5338 | }; | |
5339 | ||
5340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndent",kwnames,&obj0,&obj1)) goto fail; | |
5341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5343 | arg2 = (int) SWIG_AsInt(obj1); | |
5344 | if (PyErr_Occurred()) SWIG_fail; | |
5345 | { | |
5346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5347 | result = (int)(arg1)->GetIndent(arg2); | |
5348 | ||
5349 | wxPyEndAllowThreads(__tstate); | |
5350 | if (PyErr_Occurred()) SWIG_fail; | |
5351 | } | |
5352 | resultobj = SWIG_FromInt((int)result); | |
5353 | return resultobj; | |
5354 | fail: | |
5355 | return NULL; | |
5356 | } | |
5357 | ||
5358 | ||
5359 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5360 | PyObject *resultobj; | |
5361 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5362 | int arg2 ; | |
5363 | int result; | |
5364 | PyObject * obj0 = 0 ; | |
5365 | PyObject * obj1 = 0 ; | |
5366 | char *kwnames[] = { | |
5367 | (char *) "self",(char *) "ind", NULL | |
5368 | }; | |
5369 | ||
5370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&obj1)) goto fail; | |
5371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5373 | arg2 = (int) SWIG_AsInt(obj1); | |
5374 | if (PyErr_Occurred()) SWIG_fail; | |
5375 | { | |
5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5377 | result = (int)(arg1)->GetIndentUnits(arg2); | |
5378 | ||
5379 | wxPyEndAllowThreads(__tstate); | |
5380 | if (PyErr_Occurred()) SWIG_fail; | |
5381 | } | |
5382 | resultobj = SWIG_FromInt((int)result); | |
5383 | return resultobj; | |
5384 | fail: | |
5385 | return NULL; | |
5386 | } | |
5387 | ||
5388 | ||
5389 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5390 | PyObject *resultobj; | |
5391 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5392 | wxHtmlTag *arg2 = 0 ; | |
5393 | PyObject * obj0 = 0 ; | |
5394 | PyObject * obj1 = 0 ; | |
5395 | char *kwnames[] = { | |
5396 | (char *) "self",(char *) "tag", NULL | |
5397 | }; | |
5398 | ||
5399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
5400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5402 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5403 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5404 | SWIG_fail; | |
5405 | if (arg2 == NULL) { | |
5406 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5407 | SWIG_fail; | |
5408 | } | |
5409 | { | |
5410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5411 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
5412 | ||
5413 | wxPyEndAllowThreads(__tstate); | |
5414 | if (PyErr_Occurred()) SWIG_fail; | |
5415 | } | |
5416 | Py_INCREF(Py_None); resultobj = Py_None; | |
5417 | return resultobj; | |
5418 | fail: | |
5419 | return NULL; | |
5420 | } | |
5421 | ||
5422 | ||
5423 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5424 | PyObject *resultobj; | |
5425 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5426 | int arg2 ; | |
5427 | int arg3 ; | |
5428 | PyObject * obj0 = 0 ; | |
5429 | PyObject * obj1 = 0 ; | |
5430 | PyObject * obj2 = 0 ; | |
5431 | char *kwnames[] = { | |
5432 | (char *) "self",(char *) "w",(char *) "units", NULL | |
5433 | }; | |
5434 | ||
5435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5438 | arg2 = (int) SWIG_AsInt(obj1); | |
5439 | if (PyErr_Occurred()) SWIG_fail; | |
5440 | arg3 = (int) SWIG_AsInt(obj2); | |
5441 | if (PyErr_Occurred()) SWIG_fail; | |
5442 | { | |
5443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5444 | (arg1)->SetWidthFloat(arg2,arg3); | |
5445 | ||
5446 | wxPyEndAllowThreads(__tstate); | |
5447 | if (PyErr_Occurred()) SWIG_fail; | |
5448 | } | |
5449 | Py_INCREF(Py_None); resultobj = Py_None; | |
5450 | return resultobj; | |
5451 | fail: | |
5452 | return NULL; | |
5453 | } | |
5454 | ||
5455 | ||
5456 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5457 | PyObject *resultobj; | |
5458 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5459 | wxHtmlTag *arg2 = 0 ; | |
5460 | PyObject * obj0 = 0 ; | |
5461 | PyObject * obj1 = 0 ; | |
5462 | char *kwnames[] = { | |
5463 | (char *) "self",(char *) "tag", NULL | |
5464 | }; | |
5465 | ||
5466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
5467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5469 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlTag, | |
5470 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5471 | SWIG_fail; | |
5472 | if (arg2 == NULL) { | |
5473 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
5474 | SWIG_fail; | |
5475 | } | |
5476 | { | |
5477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5478 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
5479 | ||
5480 | wxPyEndAllowThreads(__tstate); | |
5481 | if (PyErr_Occurred()) SWIG_fail; | |
5482 | } | |
5483 | Py_INCREF(Py_None); resultobj = Py_None; | |
5484 | return resultobj; | |
5485 | fail: | |
5486 | return NULL; | |
5487 | } | |
5488 | ||
5489 | ||
5490 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5491 | PyObject *resultobj; | |
5492 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5493 | int arg2 ; | |
5494 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
5495 | PyObject * obj0 = 0 ; | |
5496 | PyObject * obj1 = 0 ; | |
5497 | PyObject * obj2 = 0 ; | |
5498 | char *kwnames[] = { | |
5499 | (char *) "self",(char *) "h",(char *) "align", NULL | |
5500 | }; | |
5501 | ||
5502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5505 | arg2 = (int) SWIG_AsInt(obj1); | |
5506 | if (PyErr_Occurred()) SWIG_fail; | |
5507 | if (obj2) { | |
5508 | arg3 = (int) SWIG_AsInt(obj2); | |
5509 | if (PyErr_Occurred()) SWIG_fail; | |
5510 | } | |
5511 | { | |
5512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5513 | (arg1)->SetMinHeight(arg2,arg3); | |
5514 | ||
5515 | wxPyEndAllowThreads(__tstate); | |
5516 | if (PyErr_Occurred()) SWIG_fail; | |
5517 | } | |
5518 | Py_INCREF(Py_None); resultobj = Py_None; | |
5519 | return resultobj; | |
5520 | fail: | |
5521 | return NULL; | |
5522 | } | |
5523 | ||
5524 | ||
5525 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5526 | PyObject *resultobj; | |
5527 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5528 | wxColour *arg2 = 0 ; | |
5529 | wxColour temp2 ; | |
5530 | PyObject * obj0 = 0 ; | |
5531 | PyObject * obj1 = 0 ; | |
5532 | char *kwnames[] = { | |
5533 | (char *) "self",(char *) "clr", NULL | |
5534 | }; | |
5535 | ||
5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
5537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5539 | { | |
5540 | arg2 = &temp2; | |
5541 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5542 | } | |
5543 | { | |
5544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5545 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
5546 | ||
5547 | wxPyEndAllowThreads(__tstate); | |
5548 | if (PyErr_Occurred()) SWIG_fail; | |
5549 | } | |
5550 | Py_INCREF(Py_None); resultobj = Py_None; | |
5551 | return resultobj; | |
5552 | fail: | |
5553 | return NULL; | |
5554 | } | |
5555 | ||
5556 | ||
5557 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5558 | PyObject *resultobj; | |
5559 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5560 | wxColour result; | |
5561 | PyObject * obj0 = 0 ; | |
5562 | char *kwnames[] = { | |
5563 | (char *) "self", NULL | |
5564 | }; | |
5565 | ||
5566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
5567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5569 | { | |
5570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5571 | result = (arg1)->GetBackgroundColour(); | |
5572 | ||
5573 | wxPyEndAllowThreads(__tstate); | |
5574 | if (PyErr_Occurred()) SWIG_fail; | |
5575 | } | |
5576 | { | |
5577 | wxColour * resultptr; | |
5578 | resultptr = new wxColour((wxColour &) result); | |
5579 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
5580 | } | |
5581 | return resultobj; | |
5582 | fail: | |
5583 | return NULL; | |
5584 | } | |
5585 | ||
5586 | ||
5587 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5588 | PyObject *resultobj; | |
5589 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5590 | wxColour *arg2 = 0 ; | |
5591 | wxColour *arg3 = 0 ; | |
5592 | wxColour temp2 ; | |
5593 | wxColour temp3 ; | |
5594 | PyObject * obj0 = 0 ; | |
5595 | PyObject * obj1 = 0 ; | |
5596 | PyObject * obj2 = 0 ; | |
5597 | char *kwnames[] = { | |
5598 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
5599 | }; | |
5600 | ||
5601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5604 | { | |
5605 | arg2 = &temp2; | |
5606 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5607 | } | |
5608 | { | |
5609 | arg3 = &temp3; | |
5610 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
5611 | } | |
5612 | { | |
5613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5614 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
5615 | ||
5616 | wxPyEndAllowThreads(__tstate); | |
5617 | if (PyErr_Occurred()) SWIG_fail; | |
5618 | } | |
5619 | Py_INCREF(Py_None); resultobj = Py_None; | |
5620 | return resultobj; | |
5621 | fail: | |
5622 | return NULL; | |
5623 | } | |
5624 | ||
5625 | ||
5626 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5627 | PyObject *resultobj; | |
5628 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
5629 | wxHtmlCell *result; | |
5630 | PyObject * obj0 = 0 ; | |
5631 | char *kwnames[] = { | |
5632 | (char *) "self", NULL | |
5633 | }; | |
5634 | ||
5635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
5636 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContainerCell, | |
5637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5638 | { | |
5639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5640 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
5641 | ||
5642 | wxPyEndAllowThreads(__tstate); | |
5643 | if (PyErr_Occurred()) SWIG_fail; | |
5644 | } | |
5645 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlCell, 0); | |
5646 | return resultobj; | |
5647 | fail: | |
5648 | return NULL; | |
5649 | } | |
5650 | ||
5651 | ||
5652 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
5653 | PyObject *obj; | |
5654 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5655 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
5656 | Py_INCREF(obj); | |
5657 | return Py_BuildValue((char *)""); | |
5658 | } | |
5659 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5660 | PyObject *resultobj; | |
5661 | wxColour arg1 ; | |
5662 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
5663 | wxHtmlColourCell *result; | |
5664 | wxColour *argp1 ; | |
5665 | PyObject * obj0 = 0 ; | |
5666 | PyObject * obj1 = 0 ; | |
5667 | char *kwnames[] = { | |
5668 | (char *) "clr",(char *) "flags", NULL | |
5669 | }; | |
5670 | ||
5671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlColourCell",kwnames,&obj0,&obj1)) goto fail; | |
5672 | if ((SWIG_ConvertPtr(obj0,(void **)(&argp1),SWIGTYPE_p_wxColour, | |
5673 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5674 | arg1 = *argp1; | |
5675 | if (obj1) { | |
5676 | arg2 = (int) SWIG_AsInt(obj1); | |
5677 | if (PyErr_Occurred()) SWIG_fail; | |
5678 | } | |
5679 | { | |
5680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5681 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
5682 | ||
5683 | wxPyEndAllowThreads(__tstate); | |
5684 | if (PyErr_Occurred()) SWIG_fail; | |
5685 | } | |
5686 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlColourCell, 1); | |
5687 | return resultobj; | |
5688 | fail: | |
5689 | return NULL; | |
5690 | } | |
5691 | ||
5692 | ||
5693 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
5694 | PyObject *obj; | |
5695 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5696 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
5697 | Py_INCREF(obj); | |
5698 | return Py_BuildValue((char *)""); | |
5699 | } | |
5700 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5701 | PyObject *resultobj; | |
5702 | wxFont *arg1 = (wxFont *) 0 ; | |
5703 | wxHtmlFontCell *result; | |
5704 | PyObject * obj0 = 0 ; | |
5705 | char *kwnames[] = { | |
5706 | (char *) "font", NULL | |
5707 | }; | |
5708 | ||
5709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
5710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont, | |
5711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5712 | { | |
5713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5714 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
5715 | ||
5716 | wxPyEndAllowThreads(__tstate); | |
5717 | if (PyErr_Occurred()) SWIG_fail; | |
5718 | } | |
5719 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlFontCell, 1); | |
5720 | return resultobj; | |
5721 | fail: | |
5722 | return NULL; | |
5723 | } | |
5724 | ||
5725 | ||
5726 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
5727 | PyObject *obj; | |
5728 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5729 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
5730 | Py_INCREF(obj); | |
5731 | return Py_BuildValue((char *)""); | |
5732 | } | |
5733 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5734 | PyObject *resultobj; | |
5735 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5736 | int arg2 = (int) 0 ; | |
5737 | wxHtmlWidgetCell *result; | |
5738 | PyObject * obj0 = 0 ; | |
5739 | PyObject * obj1 = 0 ; | |
5740 | char *kwnames[] = { | |
5741 | (char *) "wnd",(char *) "w", NULL | |
5742 | }; | |
5743 | ||
5744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlWidgetCell",kwnames,&obj0,&obj1)) goto fail; | |
5745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5747 | if (obj1) { | |
5748 | arg2 = (int) SWIG_AsInt(obj1); | |
5749 | if (PyErr_Occurred()) SWIG_fail; | |
5750 | } | |
5751 | { | |
5752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5753 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5754 | ||
5755 | wxPyEndAllowThreads(__tstate); | |
5756 | if (PyErr_Occurred()) SWIG_fail; | |
5757 | } | |
5758 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5759 | return resultobj; | |
5760 | fail: | |
5761 | return NULL; | |
5762 | } | |
5763 | ||
5764 | ||
5765 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5766 | PyObject *obj; | |
5767 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5768 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5769 | Py_INCREF(obj); | |
5770 | return Py_BuildValue((char *)""); | |
5771 | } | |
5772 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5773 | PyObject *resultobj; | |
5774 | wxPyHtmlFilter *result; | |
5775 | char *kwnames[] = { | |
5776 | NULL | |
5777 | }; | |
5778 | ||
5779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5780 | { | |
5781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5782 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5783 | ||
5784 | wxPyEndAllowThreads(__tstate); | |
5785 | if (PyErr_Occurred()) SWIG_fail; | |
5786 | } | |
5787 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5788 | return resultobj; | |
5789 | fail: | |
5790 | return NULL; | |
5791 | } | |
5792 | ||
5793 | ||
5794 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5795 | PyObject *resultobj; | |
5796 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5797 | PyObject *arg2 = (PyObject *) 0 ; | |
5798 | PyObject *arg3 = (PyObject *) 0 ; | |
5799 | PyObject * obj0 = 0 ; | |
5800 | PyObject * obj1 = 0 ; | |
5801 | PyObject * obj2 = 0 ; | |
5802 | char *kwnames[] = { | |
5803 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5804 | }; | |
5805 | ||
5806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, | |
5808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5809 | arg2 = obj1; | |
5810 | arg3 = obj2; | |
5811 | { | |
5812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5813 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5814 | ||
5815 | wxPyEndAllowThreads(__tstate); | |
5816 | if (PyErr_Occurred()) SWIG_fail; | |
5817 | } | |
5818 | Py_INCREF(Py_None); resultobj = Py_None; | |
5819 | return resultobj; | |
5820 | fail: | |
5821 | return NULL; | |
5822 | } | |
5823 | ||
5824 | ||
5825 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5826 | PyObject *obj; | |
5827 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5828 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5829 | Py_INCREF(obj); | |
5830 | return Py_BuildValue((char *)""); | |
5831 | } | |
5832 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5833 | PyObject *resultobj; | |
5834 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5835 | int arg2 = (int) -1 ; | |
5836 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5837 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5838 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5839 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5840 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5841 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5842 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5843 | wxPyHtmlWindow *result; | |
5844 | wxPoint temp3 ; | |
5845 | wxSize temp4 ; | |
5846 | bool temp6 = False ; | |
5847 | PyObject * obj0 = 0 ; | |
5848 | PyObject * obj1 = 0 ; | |
5849 | PyObject * obj2 = 0 ; | |
5850 | PyObject * obj3 = 0 ; | |
5851 | PyObject * obj4 = 0 ; | |
5852 | PyObject * obj5 = 0 ; | |
5853 | char *kwnames[] = { | |
5854 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5855 | }; | |
5856 | ||
5857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
5858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
5859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5860 | if (obj1) { | |
5861 | arg2 = (int) SWIG_AsInt(obj1); | |
5862 | if (PyErr_Occurred()) SWIG_fail; | |
5863 | } | |
5864 | if (obj2) { | |
5865 | { | |
5866 | arg3 = &temp3; | |
5867 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5868 | } | |
5869 | } | |
5870 | if (obj3) { | |
5871 | { | |
5872 | arg4 = &temp4; | |
5873 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5874 | } | |
5875 | } | |
5876 | if (obj4) { | |
5877 | arg5 = (int) SWIG_AsInt(obj4); | |
5878 | if (PyErr_Occurred()) SWIG_fail; | |
5879 | } | |
5880 | if (obj5) { | |
5881 | { | |
5882 | arg6 = wxString_in_helper(obj5); | |
5883 | if (arg6 == NULL) SWIG_fail; | |
5884 | temp6 = True; | |
5885 | } | |
5886 | } | |
5887 | { | |
5888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5889 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5890 | ||
5891 | wxPyEndAllowThreads(__tstate); | |
5892 | if (PyErr_Occurred()) SWIG_fail; | |
5893 | } | |
5894 | { | |
5895 | resultobj = wxPyMake_wxObject(result); | |
5896 | } | |
5897 | { | |
5898 | if (temp6) | |
5899 | delete arg6; | |
5900 | } | |
5901 | return resultobj; | |
5902 | fail: | |
5903 | { | |
5904 | if (temp6) | |
5905 | delete arg6; | |
5906 | } | |
5907 | return NULL; | |
5908 | } | |
5909 | ||
5910 | ||
5911 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5912 | PyObject *resultobj; | |
5913 | wxPyHtmlWindow *result; | |
5914 | char *kwnames[] = { | |
5915 | NULL | |
5916 | }; | |
5917 | ||
5918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5919 | { | |
5920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5921 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5922 | ||
5923 | wxPyEndAllowThreads(__tstate); | |
5924 | if (PyErr_Occurred()) SWIG_fail; | |
5925 | } | |
5926 | { | |
5927 | resultobj = wxPyMake_wxObject(result); | |
5928 | } | |
5929 | return resultobj; | |
5930 | fail: | |
5931 | return NULL; | |
5932 | } | |
5933 | ||
5934 | ||
5935 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5936 | PyObject *resultobj; | |
5937 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5938 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5939 | int arg3 = (int) -1 ; | |
5940 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5941 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5942 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5943 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5944 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5945 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5946 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5947 | bool result; | |
5948 | wxPoint temp4 ; | |
5949 | wxSize temp5 ; | |
5950 | bool temp7 = False ; | |
5951 | PyObject * obj0 = 0 ; | |
5952 | PyObject * obj1 = 0 ; | |
5953 | PyObject * obj2 = 0 ; | |
5954 | PyObject * obj3 = 0 ; | |
5955 | PyObject * obj4 = 0 ; | |
5956 | PyObject * obj5 = 0 ; | |
5957 | PyObject * obj6 = 0 ; | |
5958 | char *kwnames[] = { | |
5959 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5960 | }; | |
5961 | ||
5962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
5963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
5964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5965 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5967 | if (obj2) { | |
5968 | arg3 = (int) SWIG_AsInt(obj2); | |
5969 | if (PyErr_Occurred()) SWIG_fail; | |
5970 | } | |
5971 | if (obj3) { | |
5972 | { | |
5973 | arg4 = &temp4; | |
5974 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5975 | } | |
5976 | } | |
5977 | if (obj4) { | |
5978 | { | |
5979 | arg5 = &temp5; | |
5980 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5981 | } | |
5982 | } | |
5983 | if (obj5) { | |
5984 | arg6 = (int) SWIG_AsInt(obj5); | |
5985 | if (PyErr_Occurred()) SWIG_fail; | |
5986 | } | |
5987 | if (obj6) { | |
5988 | { | |
5989 | arg7 = wxString_in_helper(obj6); | |
5990 | if (arg7 == NULL) SWIG_fail; | |
5991 | temp7 = True; | |
5992 | } | |
5993 | } | |
5994 | { | |
5995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5996 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5997 | ||
5998 | wxPyEndAllowThreads(__tstate); | |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
6001 | { | |
6002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6003 | } | |
6004 | { | |
6005 | if (temp7) | |
6006 | delete arg7; | |
6007 | } | |
6008 | return resultobj; | |
6009 | fail: | |
6010 | { | |
6011 | if (temp7) | |
6012 | delete arg7; | |
6013 | } | |
6014 | return NULL; | |
6015 | } | |
6016 | ||
6017 | ||
6018 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6019 | PyObject *resultobj; | |
6020 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6021 | PyObject *arg2 = (PyObject *) 0 ; | |
6022 | PyObject *arg3 = (PyObject *) 0 ; | |
6023 | PyObject * obj0 = 0 ; | |
6024 | PyObject * obj1 = 0 ; | |
6025 | PyObject * obj2 = 0 ; | |
6026 | char *kwnames[] = { | |
6027 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
6028 | }; | |
6029 | ||
6030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6033 | arg2 = obj1; | |
6034 | arg3 = obj2; | |
6035 | { | |
6036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6037 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6038 | ||
6039 | wxPyEndAllowThreads(__tstate); | |
6040 | if (PyErr_Occurred()) SWIG_fail; | |
6041 | } | |
6042 | Py_INCREF(Py_None); resultobj = Py_None; | |
6043 | return resultobj; | |
6044 | fail: | |
6045 | return NULL; | |
6046 | } | |
6047 | ||
6048 | ||
6049 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6050 | PyObject *resultobj; | |
6051 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6052 | wxString *arg2 = 0 ; | |
6053 | bool result; | |
6054 | bool temp2 = False ; | |
6055 | PyObject * obj0 = 0 ; | |
6056 | PyObject * obj1 = 0 ; | |
6057 | char *kwnames[] = { | |
6058 | (char *) "self",(char *) "source", NULL | |
6059 | }; | |
6060 | ||
6061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
6062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6064 | { | |
6065 | arg2 = wxString_in_helper(obj1); | |
6066 | if (arg2 == NULL) SWIG_fail; | |
6067 | temp2 = True; | |
6068 | } | |
6069 | { | |
6070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6071 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
6072 | ||
6073 | wxPyEndAllowThreads(__tstate); | |
6074 | if (PyErr_Occurred()) SWIG_fail; | |
6075 | } | |
6076 | { | |
6077 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6078 | } | |
6079 | { | |
6080 | if (temp2) | |
6081 | delete arg2; | |
6082 | } | |
6083 | return resultobj; | |
6084 | fail: | |
6085 | { | |
6086 | if (temp2) | |
6087 | delete arg2; | |
6088 | } | |
6089 | return NULL; | |
6090 | } | |
6091 | ||
6092 | ||
6093 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6094 | PyObject *resultobj; | |
6095 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6096 | wxString *arg2 = 0 ; | |
6097 | bool result; | |
6098 | bool temp2 = False ; | |
6099 | PyObject * obj0 = 0 ; | |
6100 | PyObject * obj1 = 0 ; | |
6101 | char *kwnames[] = { | |
6102 | (char *) "self",(char *) "location", NULL | |
6103 | }; | |
6104 | ||
6105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
6106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6108 | { | |
6109 | arg2 = wxString_in_helper(obj1); | |
6110 | if (arg2 == NULL) SWIG_fail; | |
6111 | temp2 = True; | |
6112 | } | |
6113 | { | |
6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6115 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
6116 | ||
6117 | wxPyEndAllowThreads(__tstate); | |
6118 | if (PyErr_Occurred()) SWIG_fail; | |
6119 | } | |
6120 | { | |
6121 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6122 | } | |
6123 | { | |
6124 | if (temp2) | |
6125 | delete arg2; | |
6126 | } | |
6127 | return resultobj; | |
6128 | fail: | |
6129 | { | |
6130 | if (temp2) | |
6131 | delete arg2; | |
6132 | } | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
6137 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6138 | PyObject *resultobj; | |
6139 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6140 | wxString *arg2 = 0 ; | |
6141 | bool result; | |
6142 | bool temp2 = False ; | |
6143 | PyObject * obj0 = 0 ; | |
6144 | PyObject * obj1 = 0 ; | |
6145 | char *kwnames[] = { | |
6146 | (char *) "self",(char *) "filename", NULL | |
6147 | }; | |
6148 | ||
6149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
6150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6152 | { | |
6153 | arg2 = wxString_in_helper(obj1); | |
6154 | if (arg2 == NULL) SWIG_fail; | |
6155 | temp2 = True; | |
6156 | } | |
6157 | { | |
6158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6159 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
6160 | ||
6161 | wxPyEndAllowThreads(__tstate); | |
6162 | if (PyErr_Occurred()) SWIG_fail; | |
6163 | } | |
6164 | { | |
6165 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6166 | } | |
6167 | { | |
6168 | if (temp2) | |
6169 | delete arg2; | |
6170 | } | |
6171 | return resultobj; | |
6172 | fail: | |
6173 | { | |
6174 | if (temp2) | |
6175 | delete arg2; | |
6176 | } | |
6177 | return NULL; | |
6178 | } | |
6179 | ||
6180 | ||
6181 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6182 | PyObject *resultobj; | |
6183 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6184 | wxString *arg2 = 0 ; | |
6185 | bool result; | |
6186 | bool temp2 = False ; | |
6187 | PyObject * obj0 = 0 ; | |
6188 | PyObject * obj1 = 0 ; | |
6189 | char *kwnames[] = { | |
6190 | (char *) "self",(char *) "source", NULL | |
6191 | }; | |
6192 | ||
6193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
6194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6196 | { | |
6197 | arg2 = wxString_in_helper(obj1); | |
6198 | if (arg2 == NULL) SWIG_fail; | |
6199 | temp2 = True; | |
6200 | } | |
6201 | { | |
6202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6203 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
6204 | ||
6205 | wxPyEndAllowThreads(__tstate); | |
6206 | if (PyErr_Occurred()) SWIG_fail; | |
6207 | } | |
6208 | { | |
6209 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6210 | } | |
6211 | { | |
6212 | if (temp2) | |
6213 | delete arg2; | |
6214 | } | |
6215 | return resultobj; | |
6216 | fail: | |
6217 | { | |
6218 | if (temp2) | |
6219 | delete arg2; | |
6220 | } | |
6221 | return NULL; | |
6222 | } | |
6223 | ||
6224 | ||
6225 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6226 | PyObject *resultobj; | |
6227 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6228 | wxString result; | |
6229 | PyObject * obj0 = 0 ; | |
6230 | char *kwnames[] = { | |
6231 | (char *) "self", NULL | |
6232 | }; | |
6233 | ||
6234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
6235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6237 | { | |
6238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6239 | result = (arg1)->GetOpenedPage(); | |
6240 | ||
6241 | wxPyEndAllowThreads(__tstate); | |
6242 | if (PyErr_Occurred()) SWIG_fail; | |
6243 | } | |
6244 | { | |
6245 | #if wxUSE_UNICODE | |
6246 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6247 | #else | |
6248 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6249 | #endif | |
6250 | } | |
6251 | return resultobj; | |
6252 | fail: | |
6253 | return NULL; | |
6254 | } | |
6255 | ||
6256 | ||
6257 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6258 | PyObject *resultobj; | |
6259 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6260 | wxString result; | |
6261 | PyObject * obj0 = 0 ; | |
6262 | char *kwnames[] = { | |
6263 | (char *) "self", NULL | |
6264 | }; | |
6265 | ||
6266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
6267 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6268 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6269 | { | |
6270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6271 | result = (arg1)->GetOpenedAnchor(); | |
6272 | ||
6273 | wxPyEndAllowThreads(__tstate); | |
6274 | if (PyErr_Occurred()) SWIG_fail; | |
6275 | } | |
6276 | { | |
6277 | #if wxUSE_UNICODE | |
6278 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6279 | #else | |
6280 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6281 | #endif | |
6282 | } | |
6283 | return resultobj; | |
6284 | fail: | |
6285 | return NULL; | |
6286 | } | |
6287 | ||
6288 | ||
6289 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6290 | PyObject *resultobj; | |
6291 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6292 | wxString result; | |
6293 | PyObject * obj0 = 0 ; | |
6294 | char *kwnames[] = { | |
6295 | (char *) "self", NULL | |
6296 | }; | |
6297 | ||
6298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
6299 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6300 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6301 | { | |
6302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6303 | result = (arg1)->GetOpenedPageTitle(); | |
6304 | ||
6305 | wxPyEndAllowThreads(__tstate); | |
6306 | if (PyErr_Occurred()) SWIG_fail; | |
6307 | } | |
6308 | { | |
6309 | #if wxUSE_UNICODE | |
6310 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6311 | #else | |
6312 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6313 | #endif | |
6314 | } | |
6315 | return resultobj; | |
6316 | fail: | |
6317 | return NULL; | |
6318 | } | |
6319 | ||
6320 | ||
6321 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6322 | PyObject *resultobj; | |
6323 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6324 | wxFrame *arg2 = (wxFrame *) 0 ; | |
6325 | wxString *arg3 = 0 ; | |
6326 | bool temp3 = False ; | |
6327 | PyObject * obj0 = 0 ; | |
6328 | PyObject * obj1 = 0 ; | |
6329 | PyObject * obj2 = 0 ; | |
6330 | char *kwnames[] = { | |
6331 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
6332 | }; | |
6333 | ||
6334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6337 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
6338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6339 | { | |
6340 | arg3 = wxString_in_helper(obj2); | |
6341 | if (arg3 == NULL) SWIG_fail; | |
6342 | temp3 = True; | |
6343 | } | |
6344 | { | |
6345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6346 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
6347 | ||
6348 | wxPyEndAllowThreads(__tstate); | |
6349 | if (PyErr_Occurred()) SWIG_fail; | |
6350 | } | |
6351 | Py_INCREF(Py_None); resultobj = Py_None; | |
6352 | { | |
6353 | if (temp3) | |
6354 | delete arg3; | |
6355 | } | |
6356 | return resultobj; | |
6357 | fail: | |
6358 | { | |
6359 | if (temp3) | |
6360 | delete arg3; | |
6361 | } | |
6362 | return NULL; | |
6363 | } | |
6364 | ||
6365 | ||
6366 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6367 | PyObject *resultobj; | |
6368 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6369 | wxFrame *result; | |
6370 | PyObject * obj0 = 0 ; | |
6371 | char *kwnames[] = { | |
6372 | (char *) "self", NULL | |
6373 | }; | |
6374 | ||
6375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
6376 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6378 | { | |
6379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6380 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
6381 | ||
6382 | wxPyEndAllowThreads(__tstate); | |
6383 | if (PyErr_Occurred()) SWIG_fail; | |
6384 | } | |
6385 | { | |
6386 | resultobj = wxPyMake_wxObject(result); | |
6387 | } | |
6388 | return resultobj; | |
6389 | fail: | |
6390 | return NULL; | |
6391 | } | |
6392 | ||
6393 | ||
6394 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6395 | PyObject *resultobj; | |
6396 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6397 | int arg2 ; | |
6398 | PyObject * obj0 = 0 ; | |
6399 | PyObject * obj1 = 0 ; | |
6400 | char *kwnames[] = { | |
6401 | (char *) "self",(char *) "bar", NULL | |
6402 | }; | |
6403 | ||
6404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
6405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6407 | arg2 = (int) SWIG_AsInt(obj1); | |
6408 | if (PyErr_Occurred()) SWIG_fail; | |
6409 | { | |
6410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6411 | (arg1)->SetRelatedStatusBar(arg2); | |
6412 | ||
6413 | wxPyEndAllowThreads(__tstate); | |
6414 | if (PyErr_Occurred()) SWIG_fail; | |
6415 | } | |
6416 | Py_INCREF(Py_None); resultobj = Py_None; | |
6417 | return resultobj; | |
6418 | fail: | |
6419 | return NULL; | |
6420 | } | |
6421 | ||
6422 | ||
6423 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6424 | PyObject *resultobj; | |
6425 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6426 | wxString arg2 ; | |
6427 | wxString arg3 ; | |
6428 | PyObject *arg4 = (PyObject *) NULL ; | |
6429 | PyObject * obj0 = 0 ; | |
6430 | PyObject * obj1 = 0 ; | |
6431 | PyObject * obj2 = 0 ; | |
6432 | PyObject * obj3 = 0 ; | |
6433 | char *kwnames[] = { | |
6434 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6435 | }; | |
6436 | ||
6437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6440 | { | |
6441 | wxString* sptr = wxString_in_helper(obj1); | |
6442 | if (sptr == NULL) SWIG_fail; | |
6443 | arg2 = *sptr; | |
6444 | delete sptr; | |
6445 | } | |
6446 | { | |
6447 | wxString* sptr = wxString_in_helper(obj2); | |
6448 | if (sptr == NULL) SWIG_fail; | |
6449 | arg3 = *sptr; | |
6450 | delete sptr; | |
6451 | } | |
6452 | if (obj3) { | |
6453 | arg4 = obj3; | |
6454 | } | |
6455 | { | |
6456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6457 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
6458 | ||
6459 | wxPyEndAllowThreads(__tstate); | |
6460 | if (PyErr_Occurred()) SWIG_fail; | |
6461 | } | |
6462 | Py_INCREF(Py_None); resultobj = Py_None; | |
6463 | return resultobj; | |
6464 | fail: | |
6465 | return NULL; | |
6466 | } | |
6467 | ||
6468 | ||
6469 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6470 | PyObject *resultobj; | |
6471 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6472 | wxString *arg2 = 0 ; | |
6473 | bool temp2 = False ; | |
6474 | PyObject * obj0 = 0 ; | |
6475 | PyObject * obj1 = 0 ; | |
6476 | char *kwnames[] = { | |
6477 | (char *) "self",(char *) "title", NULL | |
6478 | }; | |
6479 | ||
6480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6483 | { | |
6484 | arg2 = wxString_in_helper(obj1); | |
6485 | if (arg2 == NULL) SWIG_fail; | |
6486 | temp2 = True; | |
6487 | } | |
6488 | { | |
6489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6490 | (arg1)->SetTitle((wxString const &)*arg2); | |
6491 | ||
6492 | wxPyEndAllowThreads(__tstate); | |
6493 | if (PyErr_Occurred()) SWIG_fail; | |
6494 | } | |
6495 | Py_INCREF(Py_None); resultobj = Py_None; | |
6496 | { | |
6497 | if (temp2) | |
6498 | delete arg2; | |
6499 | } | |
6500 | return resultobj; | |
6501 | fail: | |
6502 | { | |
6503 | if (temp2) | |
6504 | delete arg2; | |
6505 | } | |
6506 | return NULL; | |
6507 | } | |
6508 | ||
6509 | ||
6510 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6511 | PyObject *resultobj; | |
6512 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6513 | int arg2 ; | |
6514 | PyObject * obj0 = 0 ; | |
6515 | PyObject * obj1 = 0 ; | |
6516 | char *kwnames[] = { | |
6517 | (char *) "self",(char *) "b", NULL | |
6518 | }; | |
6519 | ||
6520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetBorders",kwnames,&obj0,&obj1)) goto fail; | |
6521 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6522 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6523 | arg2 = (int) SWIG_AsInt(obj1); | |
6524 | if (PyErr_Occurred()) SWIG_fail; | |
6525 | { | |
6526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6527 | (arg1)->SetBorders(arg2); | |
6528 | ||
6529 | wxPyEndAllowThreads(__tstate); | |
6530 | if (PyErr_Occurred()) SWIG_fail; | |
6531 | } | |
6532 | Py_INCREF(Py_None); resultobj = Py_None; | |
6533 | return resultobj; | |
6534 | fail: | |
6535 | return NULL; | |
6536 | } | |
6537 | ||
6538 | ||
6539 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6540 | PyObject *resultobj; | |
6541 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6542 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6543 | wxString arg3 = (wxString) wxPyEmptyString ; | |
6544 | PyObject * obj0 = 0 ; | |
6545 | PyObject * obj1 = 0 ; | |
6546 | PyObject * obj2 = 0 ; | |
6547 | char *kwnames[] = { | |
6548 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6549 | }; | |
6550 | ||
6551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6554 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6556 | if (obj2) { | |
6557 | { | |
6558 | wxString* sptr = wxString_in_helper(obj2); | |
6559 | if (sptr == NULL) SWIG_fail; | |
6560 | arg3 = *sptr; | |
6561 | delete sptr; | |
6562 | } | |
6563 | } | |
6564 | { | |
6565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6566 | (arg1)->ReadCustomization(arg2,arg3); | |
6567 | ||
6568 | wxPyEndAllowThreads(__tstate); | |
6569 | if (PyErr_Occurred()) SWIG_fail; | |
6570 | } | |
6571 | Py_INCREF(Py_None); resultobj = Py_None; | |
6572 | return resultobj; | |
6573 | fail: | |
6574 | return NULL; | |
6575 | } | |
6576 | ||
6577 | ||
6578 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6579 | PyObject *resultobj; | |
6580 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6581 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
6582 | wxString arg3 = (wxString) wxPyEmptyString ; | |
6583 | PyObject * obj0 = 0 ; | |
6584 | PyObject * obj1 = 0 ; | |
6585 | PyObject * obj2 = 0 ; | |
6586 | char *kwnames[] = { | |
6587 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
6588 | }; | |
6589 | ||
6590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6593 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
6594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6595 | if (obj2) { | |
6596 | { | |
6597 | wxString* sptr = wxString_in_helper(obj2); | |
6598 | if (sptr == NULL) SWIG_fail; | |
6599 | arg3 = *sptr; | |
6600 | delete sptr; | |
6601 | } | |
6602 | } | |
6603 | { | |
6604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6605 | (arg1)->WriteCustomization(arg2,arg3); | |
6606 | ||
6607 | wxPyEndAllowThreads(__tstate); | |
6608 | if (PyErr_Occurred()) SWIG_fail; | |
6609 | } | |
6610 | Py_INCREF(Py_None); resultobj = Py_None; | |
6611 | return resultobj; | |
6612 | fail: | |
6613 | return NULL; | |
6614 | } | |
6615 | ||
6616 | ||
6617 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6618 | PyObject *resultobj; | |
6619 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6620 | bool result; | |
6621 | PyObject * obj0 = 0 ; | |
6622 | char *kwnames[] = { | |
6623 | (char *) "self", NULL | |
6624 | }; | |
6625 | ||
6626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
6627 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6629 | { | |
6630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6631 | result = (bool)(arg1)->HistoryBack(); | |
6632 | ||
6633 | wxPyEndAllowThreads(__tstate); | |
6634 | if (PyErr_Occurred()) SWIG_fail; | |
6635 | } | |
6636 | { | |
6637 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6638 | } | |
6639 | return resultobj; | |
6640 | fail: | |
6641 | return NULL; | |
6642 | } | |
6643 | ||
6644 | ||
6645 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6646 | PyObject *resultobj; | |
6647 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6648 | bool result; | |
6649 | PyObject * obj0 = 0 ; | |
6650 | char *kwnames[] = { | |
6651 | (char *) "self", NULL | |
6652 | }; | |
6653 | ||
6654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
6655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6657 | { | |
6658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6659 | result = (bool)(arg1)->HistoryForward(); | |
6660 | ||
6661 | wxPyEndAllowThreads(__tstate); | |
6662 | if (PyErr_Occurred()) SWIG_fail; | |
6663 | } | |
6664 | { | |
6665 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6666 | } | |
6667 | return resultobj; | |
6668 | fail: | |
6669 | return NULL; | |
6670 | } | |
6671 | ||
6672 | ||
6673 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6674 | PyObject *resultobj; | |
6675 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6676 | bool result; | |
6677 | PyObject * obj0 = 0 ; | |
6678 | char *kwnames[] = { | |
6679 | (char *) "self", NULL | |
6680 | }; | |
6681 | ||
6682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
6683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6685 | { | |
6686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6687 | result = (bool)(arg1)->HistoryCanBack(); | |
6688 | ||
6689 | wxPyEndAllowThreads(__tstate); | |
6690 | if (PyErr_Occurred()) SWIG_fail; | |
6691 | } | |
6692 | { | |
6693 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6694 | } | |
6695 | return resultobj; | |
6696 | fail: | |
6697 | return NULL; | |
6698 | } | |
6699 | ||
6700 | ||
6701 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6702 | PyObject *resultobj; | |
6703 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6704 | bool result; | |
6705 | PyObject * obj0 = 0 ; | |
6706 | char *kwnames[] = { | |
6707 | (char *) "self", NULL | |
6708 | }; | |
6709 | ||
6710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
6711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6713 | { | |
6714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6715 | result = (bool)(arg1)->HistoryCanForward(); | |
6716 | ||
6717 | wxPyEndAllowThreads(__tstate); | |
6718 | if (PyErr_Occurred()) SWIG_fail; | |
6719 | } | |
6720 | { | |
6721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6722 | } | |
6723 | return resultobj; | |
6724 | fail: | |
6725 | return NULL; | |
6726 | } | |
6727 | ||
6728 | ||
6729 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6730 | PyObject *resultobj; | |
6731 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6732 | PyObject * obj0 = 0 ; | |
6733 | char *kwnames[] = { | |
6734 | (char *) "self", NULL | |
6735 | }; | |
6736 | ||
6737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
6738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6740 | { | |
6741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6742 | (arg1)->HistoryClear(); | |
6743 | ||
6744 | wxPyEndAllowThreads(__tstate); | |
6745 | if (PyErr_Occurred()) SWIG_fail; | |
6746 | } | |
6747 | Py_INCREF(Py_None); resultobj = Py_None; | |
6748 | return resultobj; | |
6749 | fail: | |
6750 | return NULL; | |
6751 | } | |
6752 | ||
6753 | ||
6754 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6755 | PyObject *resultobj; | |
6756 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6757 | wxHtmlContainerCell *result; | |
6758 | PyObject * obj0 = 0 ; | |
6759 | char *kwnames[] = { | |
6760 | (char *) "self", NULL | |
6761 | }; | |
6762 | ||
6763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
6764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6766 | { | |
6767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6768 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
6769 | ||
6770 | wxPyEndAllowThreads(__tstate); | |
6771 | if (PyErr_Occurred()) SWIG_fail; | |
6772 | } | |
6773 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContainerCell, 0); | |
6774 | return resultobj; | |
6775 | fail: | |
6776 | return NULL; | |
6777 | } | |
6778 | ||
6779 | ||
6780 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6781 | PyObject *resultobj; | |
6782 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6783 | wxHtmlWinParser *result; | |
6784 | PyObject * obj0 = 0 ; | |
6785 | char *kwnames[] = { | |
6786 | (char *) "self", NULL | |
6787 | }; | |
6788 | ||
6789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
6790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6792 | { | |
6793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6794 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
6795 | ||
6796 | wxPyEndAllowThreads(__tstate); | |
6797 | if (PyErr_Occurred()) SWIG_fail; | |
6798 | } | |
6799 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWinParser, 0); | |
6800 | return resultobj; | |
6801 | fail: | |
6802 | return NULL; | |
6803 | } | |
6804 | ||
6805 | ||
6806 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6807 | PyObject *resultobj; | |
6808 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6809 | wxString *arg2 = 0 ; | |
6810 | bool result; | |
6811 | bool temp2 = False ; | |
6812 | PyObject * obj0 = 0 ; | |
6813 | PyObject * obj1 = 0 ; | |
6814 | char *kwnames[] = { | |
6815 | (char *) "self",(char *) "anchor", NULL | |
6816 | }; | |
6817 | ||
6818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6821 | { | |
6822 | arg2 = wxString_in_helper(obj1); | |
6823 | if (arg2 == NULL) SWIG_fail; | |
6824 | temp2 = True; | |
6825 | } | |
6826 | { | |
6827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6828 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
6829 | ||
6830 | wxPyEndAllowThreads(__tstate); | |
6831 | if (PyErr_Occurred()) SWIG_fail; | |
6832 | } | |
6833 | { | |
6834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6835 | } | |
6836 | { | |
6837 | if (temp2) | |
6838 | delete arg2; | |
6839 | } | |
6840 | return resultobj; | |
6841 | fail: | |
6842 | { | |
6843 | if (temp2) | |
6844 | delete arg2; | |
6845 | } | |
6846 | return NULL; | |
6847 | } | |
6848 | ||
6849 | ||
6850 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6851 | PyObject *resultobj; | |
6852 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6853 | wxString *arg2 = 0 ; | |
6854 | bool result; | |
6855 | bool temp2 = False ; | |
6856 | PyObject * obj0 = 0 ; | |
6857 | PyObject * obj1 = 0 ; | |
6858 | char *kwnames[] = { | |
6859 | (char *) "self",(char *) "anchor", NULL | |
6860 | }; | |
6861 | ||
6862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6865 | { | |
6866 | arg2 = wxString_in_helper(obj1); | |
6867 | if (arg2 == NULL) SWIG_fail; | |
6868 | temp2 = True; | |
6869 | } | |
6870 | { | |
6871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6872 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6873 | ||
6874 | wxPyEndAllowThreads(__tstate); | |
6875 | if (PyErr_Occurred()) SWIG_fail; | |
6876 | } | |
6877 | { | |
6878 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6879 | } | |
6880 | { | |
6881 | if (temp2) | |
6882 | delete arg2; | |
6883 | } | |
6884 | return resultobj; | |
6885 | fail: | |
6886 | { | |
6887 | if (temp2) | |
6888 | delete arg2; | |
6889 | } | |
6890 | return NULL; | |
6891 | } | |
6892 | ||
6893 | ||
6894 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6895 | PyObject *resultobj; | |
6896 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6897 | PyObject * obj0 = 0 ; | |
6898 | char *kwnames[] = { | |
6899 | (char *) "filter", NULL | |
6900 | }; | |
6901 | ||
6902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlFilter, | |
6904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6905 | { | |
6906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6907 | wxPyHtmlWindow::AddFilter(arg1); | |
6908 | ||
6909 | wxPyEndAllowThreads(__tstate); | |
6910 | if (PyErr_Occurred()) SWIG_fail; | |
6911 | } | |
6912 | Py_INCREF(Py_None); resultobj = Py_None; | |
6913 | return resultobj; | |
6914 | fail: | |
6915 | return NULL; | |
6916 | } | |
6917 | ||
6918 | ||
6919 | static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6920 | PyObject *resultobj; | |
6921 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6922 | wxPoint *arg2 = 0 ; | |
6923 | wxPoint temp2 ; | |
6924 | PyObject * obj0 = 0 ; | |
6925 | PyObject * obj1 = 0 ; | |
6926 | char *kwnames[] = { | |
6927 | (char *) "self",(char *) "pos", NULL | |
6928 | }; | |
6929 | ||
6930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectWord",kwnames,&obj0,&obj1)) goto fail; | |
6931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6933 | { | |
6934 | arg2 = &temp2; | |
6935 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6936 | } | |
6937 | { | |
6938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6939 | (arg1)->SelectWord((wxPoint const &)*arg2); | |
6940 | ||
6941 | wxPyEndAllowThreads(__tstate); | |
6942 | if (PyErr_Occurred()) SWIG_fail; | |
6943 | } | |
6944 | Py_INCREF(Py_None); resultobj = Py_None; | |
6945 | return resultobj; | |
6946 | fail: | |
6947 | return NULL; | |
6948 | } | |
6949 | ||
6950 | ||
6951 | static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6952 | PyObject *resultobj; | |
6953 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6954 | wxPoint *arg2 = 0 ; | |
6955 | wxPoint temp2 ; | |
6956 | PyObject * obj0 = 0 ; | |
6957 | PyObject * obj1 = 0 ; | |
6958 | char *kwnames[] = { | |
6959 | (char *) "self",(char *) "pos", NULL | |
6960 | }; | |
6961 | ||
6962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SelectLine",kwnames,&obj0,&obj1)) goto fail; | |
6963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6965 | { | |
6966 | arg2 = &temp2; | |
6967 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6968 | } | |
6969 | { | |
6970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6971 | (arg1)->SelectLine((wxPoint const &)*arg2); | |
6972 | ||
6973 | wxPyEndAllowThreads(__tstate); | |
6974 | if (PyErr_Occurred()) SWIG_fail; | |
6975 | } | |
6976 | Py_INCREF(Py_None); resultobj = Py_None; | |
6977 | return resultobj; | |
6978 | fail: | |
6979 | return NULL; | |
6980 | } | |
6981 | ||
6982 | ||
6983 | static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6984 | PyObject *resultobj; | |
6985 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6986 | PyObject * obj0 = 0 ; | |
6987 | char *kwnames[] = { | |
6988 | (char *) "self", NULL | |
6989 | }; | |
6990 | ||
6991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_SelectAll",kwnames,&obj0)) goto fail; | |
6992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
6993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6994 | { | |
6995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6996 | (arg1)->SelectAll(); | |
6997 | ||
6998 | wxPyEndAllowThreads(__tstate); | |
6999 | if (PyErr_Occurred()) SWIG_fail; | |
7000 | } | |
7001 | Py_INCREF(Py_None); resultobj = Py_None; | |
7002 | return resultobj; | |
7003 | fail: | |
7004 | return NULL; | |
7005 | } | |
7006 | ||
7007 | ||
7008 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7009 | PyObject *resultobj; | |
7010 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7011 | wxHtmlLinkInfo *arg2 = 0 ; | |
7012 | PyObject * obj0 = 0 ; | |
7013 | PyObject * obj1 = 0 ; | |
7014 | char *kwnames[] = { | |
7015 | (char *) "self",(char *) "link", NULL | |
7016 | }; | |
7017 | ||
7018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
7019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7021 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlLinkInfo, | |
7022 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7023 | SWIG_fail; | |
7024 | if (arg2 == NULL) { | |
7025 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
7026 | SWIG_fail; | |
7027 | } | |
7028 | { | |
7029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7030 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
7031 | ||
7032 | wxPyEndAllowThreads(__tstate); | |
7033 | if (PyErr_Occurred()) SWIG_fail; | |
7034 | } | |
7035 | Py_INCREF(Py_None); resultobj = Py_None; | |
7036 | return resultobj; | |
7037 | fail: | |
7038 | return NULL; | |
7039 | } | |
7040 | ||
7041 | ||
7042 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7043 | PyObject *resultobj; | |
7044 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7045 | wxString *arg2 = 0 ; | |
7046 | bool temp2 = False ; | |
7047 | PyObject * obj0 = 0 ; | |
7048 | PyObject * obj1 = 0 ; | |
7049 | char *kwnames[] = { | |
7050 | (char *) "self",(char *) "title", NULL | |
7051 | }; | |
7052 | ||
7053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7056 | { | |
7057 | arg2 = wxString_in_helper(obj1); | |
7058 | if (arg2 == NULL) SWIG_fail; | |
7059 | temp2 = True; | |
7060 | } | |
7061 | { | |
7062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7063 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
7064 | ||
7065 | wxPyEndAllowThreads(__tstate); | |
7066 | if (PyErr_Occurred()) SWIG_fail; | |
7067 | } | |
7068 | Py_INCREF(Py_None); resultobj = Py_None; | |
7069 | { | |
7070 | if (temp2) | |
7071 | delete arg2; | |
7072 | } | |
7073 | return resultobj; | |
7074 | fail: | |
7075 | { | |
7076 | if (temp2) | |
7077 | delete arg2; | |
7078 | } | |
7079 | return NULL; | |
7080 | } | |
7081 | ||
7082 | ||
7083 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7084 | PyObject *resultobj; | |
7085 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7086 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7087 | int arg3 ; | |
7088 | int arg4 ; | |
7089 | PyObject * obj0 = 0 ; | |
7090 | PyObject * obj1 = 0 ; | |
7091 | PyObject * obj2 = 0 ; | |
7092 | PyObject * obj3 = 0 ; | |
7093 | char *kwnames[] = { | |
7094 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
7095 | }; | |
7096 | ||
7097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7100 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7102 | arg3 = (int) SWIG_AsInt(obj2); | |
7103 | if (PyErr_Occurred()) SWIG_fail; | |
7104 | arg4 = (int) SWIG_AsInt(obj3); | |
7105 | if (PyErr_Occurred()) SWIG_fail; | |
7106 | { | |
7107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7108 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
7109 | ||
7110 | wxPyEndAllowThreads(__tstate); | |
7111 | if (PyErr_Occurred()) SWIG_fail; | |
7112 | } | |
7113 | Py_INCREF(Py_None); resultobj = Py_None; | |
7114 | return resultobj; | |
7115 | fail: | |
7116 | return NULL; | |
7117 | } | |
7118 | ||
7119 | ||
7120 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7121 | PyObject *resultobj; | |
7122 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
7123 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
7124 | int arg3 ; | |
7125 | int arg4 ; | |
7126 | wxMouseEvent *arg5 = 0 ; | |
7127 | PyObject * obj0 = 0 ; | |
7128 | PyObject * obj1 = 0 ; | |
7129 | PyObject * obj2 = 0 ; | |
7130 | PyObject * obj3 = 0 ; | |
7131 | PyObject * obj4 = 0 ; | |
7132 | char *kwnames[] = { | |
7133 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
7134 | }; | |
7135 | ||
7136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
7137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow, | |
7138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7139 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxHtmlCell, | |
7140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7141 | arg3 = (int) SWIG_AsInt(obj2); | |
7142 | if (PyErr_Occurred()) SWIG_fail; | |
7143 | arg4 = (int) SWIG_AsInt(obj3); | |
7144 | if (PyErr_Occurred()) SWIG_fail; | |
7145 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMouseEvent, | |
7146 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
7147 | SWIG_fail; | |
7148 | if (arg5 == NULL) { | |
7149 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
7150 | SWIG_fail; | |
7151 | } | |
7152 | { | |
7153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7154 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
7155 | ||
7156 | wxPyEndAllowThreads(__tstate); | |
7157 | if (PyErr_Occurred()) SWIG_fail; | |
7158 | } | |
7159 | Py_INCREF(Py_None); resultobj = Py_None; | |
7160 | return resultobj; | |
7161 | fail: | |
7162 | return NULL; | |
7163 | } | |
7164 | ||
7165 | ||
7166 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
7167 | PyObject *obj; | |
7168 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7169 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
7170 | Py_INCREF(obj); | |
7171 | return Py_BuildValue((char *)""); | |
7172 | } | |
7173 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7174 | PyObject *resultobj; | |
7175 | wxHtmlDCRenderer *result; | |
7176 | char *kwnames[] = { | |
7177 | NULL | |
7178 | }; | |
7179 | ||
7180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
7181 | { | |
7182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7183 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
7184 | ||
7185 | wxPyEndAllowThreads(__tstate); | |
7186 | if (PyErr_Occurred()) SWIG_fail; | |
7187 | } | |
7188 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
7189 | return resultobj; | |
7190 | fail: | |
7191 | return NULL; | |
7192 | } | |
7193 | ||
7194 | ||
7195 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7196 | PyObject *resultobj; | |
7197 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7198 | PyObject * obj0 = 0 ; | |
7199 | char *kwnames[] = { | |
7200 | (char *) "self", NULL | |
7201 | }; | |
7202 | ||
7203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
7204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7206 | { | |
7207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7208 | delete arg1; | |
7209 | ||
7210 | wxPyEndAllowThreads(__tstate); | |
7211 | if (PyErr_Occurred()) SWIG_fail; | |
7212 | } | |
7213 | Py_INCREF(Py_None); resultobj = Py_None; | |
7214 | return resultobj; | |
7215 | fail: | |
7216 | return NULL; | |
7217 | } | |
7218 | ||
7219 | ||
7220 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7221 | PyObject *resultobj; | |
7222 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7223 | wxDC *arg2 = (wxDC *) 0 ; | |
7224 | int arg3 ; | |
7225 | PyObject * obj0 = 0 ; | |
7226 | PyObject * obj1 = 0 ; | |
7227 | PyObject * obj2 = 0 ; | |
7228 | char *kwnames[] = { | |
7229 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
7230 | }; | |
7231 | ||
7232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7235 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
7236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7237 | arg3 = (int) SWIG_AsInt(obj2); | |
7238 | if (PyErr_Occurred()) SWIG_fail; | |
7239 | { | |
7240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7241 | (arg1)->SetDC(arg2,arg3); | |
7242 | ||
7243 | wxPyEndAllowThreads(__tstate); | |
7244 | if (PyErr_Occurred()) SWIG_fail; | |
7245 | } | |
7246 | Py_INCREF(Py_None); resultobj = Py_None; | |
7247 | return resultobj; | |
7248 | fail: | |
7249 | return NULL; | |
7250 | } | |
7251 | ||
7252 | ||
7253 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7254 | PyObject *resultobj; | |
7255 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7256 | int arg2 ; | |
7257 | int arg3 ; | |
7258 | PyObject * obj0 = 0 ; | |
7259 | PyObject * obj1 = 0 ; | |
7260 | PyObject * obj2 = 0 ; | |
7261 | char *kwnames[] = { | |
7262 | (char *) "self",(char *) "width",(char *) "height", NULL | |
7263 | }; | |
7264 | ||
7265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlDCRenderer_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7268 | arg2 = (int) SWIG_AsInt(obj1); | |
7269 | if (PyErr_Occurred()) SWIG_fail; | |
7270 | arg3 = (int) SWIG_AsInt(obj2); | |
7271 | if (PyErr_Occurred()) SWIG_fail; | |
7272 | { | |
7273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7274 | (arg1)->SetSize(arg2,arg3); | |
7275 | ||
7276 | wxPyEndAllowThreads(__tstate); | |
7277 | if (PyErr_Occurred()) SWIG_fail; | |
7278 | } | |
7279 | Py_INCREF(Py_None); resultobj = Py_None; | |
7280 | return resultobj; | |
7281 | fail: | |
7282 | return NULL; | |
7283 | } | |
7284 | ||
7285 | ||
7286 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7287 | PyObject *resultobj; | |
7288 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7289 | wxString *arg2 = 0 ; | |
7290 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7291 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7292 | bool arg4 = (bool) True ; | |
7293 | bool temp2 = False ; | |
7294 | bool temp3 = False ; | |
7295 | PyObject * obj0 = 0 ; | |
7296 | PyObject * obj1 = 0 ; | |
7297 | PyObject * obj2 = 0 ; | |
7298 | PyObject * obj3 = 0 ; | |
7299 | char *kwnames[] = { | |
7300 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7301 | }; | |
7302 | ||
7303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7306 | { | |
7307 | arg2 = wxString_in_helper(obj1); | |
7308 | if (arg2 == NULL) SWIG_fail; | |
7309 | temp2 = True; | |
7310 | } | |
7311 | if (obj2) { | |
7312 | { | |
7313 | arg3 = wxString_in_helper(obj2); | |
7314 | if (arg3 == NULL) SWIG_fail; | |
7315 | temp3 = True; | |
7316 | } | |
7317 | } | |
7318 | if (obj3) { | |
7319 | arg4 = (bool) SWIG_AsBool(obj3); | |
7320 | if (PyErr_Occurred()) SWIG_fail; | |
7321 | } | |
7322 | { | |
7323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7324 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7325 | ||
7326 | wxPyEndAllowThreads(__tstate); | |
7327 | if (PyErr_Occurred()) SWIG_fail; | |
7328 | } | |
7329 | Py_INCREF(Py_None); resultobj = Py_None; | |
7330 | { | |
7331 | if (temp2) | |
7332 | delete arg2; | |
7333 | } | |
7334 | { | |
7335 | if (temp3) | |
7336 | delete arg3; | |
7337 | } | |
7338 | return resultobj; | |
7339 | fail: | |
7340 | { | |
7341 | if (temp2) | |
7342 | delete arg2; | |
7343 | } | |
7344 | { | |
7345 | if (temp3) | |
7346 | delete arg3; | |
7347 | } | |
7348 | return NULL; | |
7349 | } | |
7350 | ||
7351 | ||
7352 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7353 | PyObject *resultobj; | |
7354 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7355 | wxString arg2 ; | |
7356 | wxString arg3 ; | |
7357 | PyObject *arg4 = (PyObject *) NULL ; | |
7358 | PyObject * obj0 = 0 ; | |
7359 | PyObject * obj1 = 0 ; | |
7360 | PyObject * obj2 = 0 ; | |
7361 | PyObject * obj3 = 0 ; | |
7362 | char *kwnames[] = { | |
7363 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7364 | }; | |
7365 | ||
7366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7367 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7368 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7369 | { | |
7370 | wxString* sptr = wxString_in_helper(obj1); | |
7371 | if (sptr == NULL) SWIG_fail; | |
7372 | arg2 = *sptr; | |
7373 | delete sptr; | |
7374 | } | |
7375 | { | |
7376 | wxString* sptr = wxString_in_helper(obj2); | |
7377 | if (sptr == NULL) SWIG_fail; | |
7378 | arg3 = *sptr; | |
7379 | delete sptr; | |
7380 | } | |
7381 | if (obj3) { | |
7382 | arg4 = obj3; | |
7383 | } | |
7384 | { | |
7385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7386 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
7387 | ||
7388 | wxPyEndAllowThreads(__tstate); | |
7389 | if (PyErr_Occurred()) SWIG_fail; | |
7390 | } | |
7391 | Py_INCREF(Py_None); resultobj = Py_None; | |
7392 | return resultobj; | |
7393 | fail: | |
7394 | return NULL; | |
7395 | } | |
7396 | ||
7397 | ||
7398 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7399 | PyObject *resultobj; | |
7400 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7401 | int arg2 ; | |
7402 | int arg3 ; | |
7403 | int arg4 = (int) 0 ; | |
7404 | int arg5 = (int) False ; | |
7405 | int arg6 = (int) INT_MAX ; | |
7406 | int *arg7 = (int *) NULL ; | |
7407 | int arg8 = (int) 0 ; | |
7408 | int result; | |
7409 | PyObject * obj0 = 0 ; | |
7410 | PyObject * obj1 = 0 ; | |
7411 | PyObject * obj2 = 0 ; | |
7412 | PyObject * obj3 = 0 ; | |
7413 | PyObject * obj4 = 0 ; | |
7414 | PyObject * obj5 = 0 ; | |
7415 | PyObject * obj6 = 0 ; | |
7416 | PyObject * obj7 = 0 ; | |
7417 | char *kwnames[] = { | |
7418 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
7419 | }; | |
7420 | ||
7421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:HtmlDCRenderer_Render",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
7422 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7423 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7424 | arg2 = (int) SWIG_AsInt(obj1); | |
7425 | if (PyErr_Occurred()) SWIG_fail; | |
7426 | arg3 = (int) SWIG_AsInt(obj2); | |
7427 | if (PyErr_Occurred()) SWIG_fail; | |
7428 | if (obj3) { | |
7429 | arg4 = (int) SWIG_AsInt(obj3); | |
7430 | if (PyErr_Occurred()) SWIG_fail; | |
7431 | } | |
7432 | if (obj4) { | |
7433 | arg5 = (int) SWIG_AsInt(obj4); | |
7434 | if (PyErr_Occurred()) SWIG_fail; | |
7435 | } | |
7436 | if (obj5) { | |
7437 | arg6 = (int) SWIG_AsInt(obj5); | |
7438 | if (PyErr_Occurred()) SWIG_fail; | |
7439 | } | |
7440 | if (obj6) { | |
7441 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_int, | |
7442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7443 | } | |
7444 | if (obj7) { | |
7445 | arg8 = (int) SWIG_AsInt(obj7); | |
7446 | if (PyErr_Occurred()) SWIG_fail; | |
7447 | } | |
7448 | { | |
7449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7450 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
7451 | ||
7452 | wxPyEndAllowThreads(__tstate); | |
7453 | if (PyErr_Occurred()) SWIG_fail; | |
7454 | } | |
7455 | resultobj = SWIG_FromInt((int)result); | |
7456 | return resultobj; | |
7457 | fail: | |
7458 | return NULL; | |
7459 | } | |
7460 | ||
7461 | ||
7462 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7463 | PyObject *resultobj; | |
7464 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
7465 | int result; | |
7466 | PyObject * obj0 = 0 ; | |
7467 | char *kwnames[] = { | |
7468 | (char *) "self", NULL | |
7469 | }; | |
7470 | ||
7471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
7472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer, | |
7473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7474 | { | |
7475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7476 | result = (int)(arg1)->GetTotalHeight(); | |
7477 | ||
7478 | wxPyEndAllowThreads(__tstate); | |
7479 | if (PyErr_Occurred()) SWIG_fail; | |
7480 | } | |
7481 | resultobj = SWIG_FromInt((int)result); | |
7482 | return resultobj; | |
7483 | fail: | |
7484 | return NULL; | |
7485 | } | |
7486 | ||
7487 | ||
7488 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
7489 | PyObject *obj; | |
7490 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7491 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
7492 | Py_INCREF(obj); | |
7493 | return Py_BuildValue((char *)""); | |
7494 | } | |
7495 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7496 | PyObject *resultobj; | |
7497 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
7498 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7499 | wxHtmlPrintout *result; | |
7500 | bool temp1 = False ; | |
7501 | PyObject * obj0 = 0 ; | |
7502 | char *kwnames[] = { | |
7503 | (char *) "title", NULL | |
7504 | }; | |
7505 | ||
7506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
7507 | if (obj0) { | |
7508 | { | |
7509 | arg1 = wxString_in_helper(obj0); | |
7510 | if (arg1 == NULL) SWIG_fail; | |
7511 | temp1 = True; | |
7512 | } | |
7513 | } | |
7514 | { | |
7515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7516 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
7517 | ||
7518 | wxPyEndAllowThreads(__tstate); | |
7519 | if (PyErr_Occurred()) SWIG_fail; | |
7520 | } | |
7521 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlPrintout, 1); | |
7522 | { | |
7523 | if (temp1) | |
7524 | delete arg1; | |
7525 | } | |
7526 | return resultobj; | |
7527 | fail: | |
7528 | { | |
7529 | if (temp1) | |
7530 | delete arg1; | |
7531 | } | |
7532 | return NULL; | |
7533 | } | |
7534 | ||
7535 | ||
7536 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7537 | PyObject *resultobj; | |
7538 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7539 | wxString *arg2 = 0 ; | |
7540 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7541 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7542 | bool arg4 = (bool) True ; | |
7543 | bool temp2 = False ; | |
7544 | bool temp3 = False ; | |
7545 | PyObject * obj0 = 0 ; | |
7546 | PyObject * obj1 = 0 ; | |
7547 | PyObject * obj2 = 0 ; | |
7548 | PyObject * obj3 = 0 ; | |
7549 | char *kwnames[] = { | |
7550 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
7551 | }; | |
7552 | ||
7553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7556 | { | |
7557 | arg2 = wxString_in_helper(obj1); | |
7558 | if (arg2 == NULL) SWIG_fail; | |
7559 | temp2 = True; | |
7560 | } | |
7561 | if (obj2) { | |
7562 | { | |
7563 | arg3 = wxString_in_helper(obj2); | |
7564 | if (arg3 == NULL) SWIG_fail; | |
7565 | temp3 = True; | |
7566 | } | |
7567 | } | |
7568 | if (obj3) { | |
7569 | arg4 = (bool) SWIG_AsBool(obj3); | |
7570 | if (PyErr_Occurred()) SWIG_fail; | |
7571 | } | |
7572 | { | |
7573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7574 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
7575 | ||
7576 | wxPyEndAllowThreads(__tstate); | |
7577 | if (PyErr_Occurred()) SWIG_fail; | |
7578 | } | |
7579 | Py_INCREF(Py_None); resultobj = Py_None; | |
7580 | { | |
7581 | if (temp2) | |
7582 | delete arg2; | |
7583 | } | |
7584 | { | |
7585 | if (temp3) | |
7586 | delete arg3; | |
7587 | } | |
7588 | return resultobj; | |
7589 | fail: | |
7590 | { | |
7591 | if (temp2) | |
7592 | delete arg2; | |
7593 | } | |
7594 | { | |
7595 | if (temp3) | |
7596 | delete arg3; | |
7597 | } | |
7598 | return NULL; | |
7599 | } | |
7600 | ||
7601 | ||
7602 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7603 | PyObject *resultobj; | |
7604 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7605 | wxString *arg2 = 0 ; | |
7606 | bool temp2 = False ; | |
7607 | PyObject * obj0 = 0 ; | |
7608 | PyObject * obj1 = 0 ; | |
7609 | char *kwnames[] = { | |
7610 | (char *) "self",(char *) "htmlfile", NULL | |
7611 | }; | |
7612 | ||
7613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
7614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7616 | { | |
7617 | arg2 = wxString_in_helper(obj1); | |
7618 | if (arg2 == NULL) SWIG_fail; | |
7619 | temp2 = True; | |
7620 | } | |
7621 | { | |
7622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7623 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
7624 | ||
7625 | wxPyEndAllowThreads(__tstate); | |
7626 | if (PyErr_Occurred()) SWIG_fail; | |
7627 | } | |
7628 | Py_INCREF(Py_None); resultobj = Py_None; | |
7629 | { | |
7630 | if (temp2) | |
7631 | delete arg2; | |
7632 | } | |
7633 | return resultobj; | |
7634 | fail: | |
7635 | { | |
7636 | if (temp2) | |
7637 | delete arg2; | |
7638 | } | |
7639 | return NULL; | |
7640 | } | |
7641 | ||
7642 | ||
7643 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7644 | PyObject *resultobj; | |
7645 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7646 | wxString *arg2 = 0 ; | |
7647 | int arg3 = (int) wxPAGE_ALL ; | |
7648 | bool temp2 = False ; | |
7649 | PyObject * obj0 = 0 ; | |
7650 | PyObject * obj1 = 0 ; | |
7651 | PyObject * obj2 = 0 ; | |
7652 | char *kwnames[] = { | |
7653 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7654 | }; | |
7655 | ||
7656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7659 | { | |
7660 | arg2 = wxString_in_helper(obj1); | |
7661 | if (arg2 == NULL) SWIG_fail; | |
7662 | temp2 = True; | |
7663 | } | |
7664 | if (obj2) { | |
7665 | arg3 = (int) SWIG_AsInt(obj2); | |
7666 | if (PyErr_Occurred()) SWIG_fail; | |
7667 | } | |
7668 | { | |
7669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7670 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7671 | ||
7672 | wxPyEndAllowThreads(__tstate); | |
7673 | if (PyErr_Occurred()) SWIG_fail; | |
7674 | } | |
7675 | Py_INCREF(Py_None); resultobj = Py_None; | |
7676 | { | |
7677 | if (temp2) | |
7678 | delete arg2; | |
7679 | } | |
7680 | return resultobj; | |
7681 | fail: | |
7682 | { | |
7683 | if (temp2) | |
7684 | delete arg2; | |
7685 | } | |
7686 | return NULL; | |
7687 | } | |
7688 | ||
7689 | ||
7690 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7691 | PyObject *resultobj; | |
7692 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7693 | wxString *arg2 = 0 ; | |
7694 | int arg3 = (int) wxPAGE_ALL ; | |
7695 | bool temp2 = False ; | |
7696 | PyObject * obj0 = 0 ; | |
7697 | PyObject * obj1 = 0 ; | |
7698 | PyObject * obj2 = 0 ; | |
7699 | char *kwnames[] = { | |
7700 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7701 | }; | |
7702 | ||
7703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7706 | { | |
7707 | arg2 = wxString_in_helper(obj1); | |
7708 | if (arg2 == NULL) SWIG_fail; | |
7709 | temp2 = True; | |
7710 | } | |
7711 | if (obj2) { | |
7712 | arg3 = (int) SWIG_AsInt(obj2); | |
7713 | if (PyErr_Occurred()) SWIG_fail; | |
7714 | } | |
7715 | { | |
7716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7717 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7718 | ||
7719 | wxPyEndAllowThreads(__tstate); | |
7720 | if (PyErr_Occurred()) SWIG_fail; | |
7721 | } | |
7722 | Py_INCREF(Py_None); resultobj = Py_None; | |
7723 | { | |
7724 | if (temp2) | |
7725 | delete arg2; | |
7726 | } | |
7727 | return resultobj; | |
7728 | fail: | |
7729 | { | |
7730 | if (temp2) | |
7731 | delete arg2; | |
7732 | } | |
7733 | return NULL; | |
7734 | } | |
7735 | ||
7736 | ||
7737 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7738 | PyObject *resultobj; | |
7739 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7740 | wxString arg2 ; | |
7741 | wxString arg3 ; | |
7742 | PyObject *arg4 = (PyObject *) NULL ; | |
7743 | PyObject * obj0 = 0 ; | |
7744 | PyObject * obj1 = 0 ; | |
7745 | PyObject * obj2 = 0 ; | |
7746 | PyObject * obj3 = 0 ; | |
7747 | char *kwnames[] = { | |
7748 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7749 | }; | |
7750 | ||
7751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7754 | { | |
7755 | wxString* sptr = wxString_in_helper(obj1); | |
7756 | if (sptr == NULL) SWIG_fail; | |
7757 | arg2 = *sptr; | |
7758 | delete sptr; | |
7759 | } | |
7760 | { | |
7761 | wxString* sptr = wxString_in_helper(obj2); | |
7762 | if (sptr == NULL) SWIG_fail; | |
7763 | arg3 = *sptr; | |
7764 | delete sptr; | |
7765 | } | |
7766 | if (obj3) { | |
7767 | arg4 = obj3; | |
7768 | } | |
7769 | { | |
7770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7771 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
7772 | ||
7773 | wxPyEndAllowThreads(__tstate); | |
7774 | if (PyErr_Occurred()) SWIG_fail; | |
7775 | } | |
7776 | Py_INCREF(Py_None); resultobj = Py_None; | |
7777 | return resultobj; | |
7778 | fail: | |
7779 | return NULL; | |
7780 | } | |
7781 | ||
7782 | ||
7783 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7784 | PyObject *resultobj; | |
7785 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
7786 | float arg2 = (float) 25.2 ; | |
7787 | float arg3 = (float) 25.2 ; | |
7788 | float arg4 = (float) 25.2 ; | |
7789 | float arg5 = (float) 25.2 ; | |
7790 | float arg6 = (float) 5 ; | |
7791 | PyObject * obj0 = 0 ; | |
7792 | PyObject * obj1 = 0 ; | |
7793 | PyObject * obj2 = 0 ; | |
7794 | PyObject * obj3 = 0 ; | |
7795 | PyObject * obj4 = 0 ; | |
7796 | PyObject * obj5 = 0 ; | |
7797 | char *kwnames[] = { | |
7798 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
7799 | }; | |
7800 | ||
7801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:HtmlPrintout_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
7802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout, | |
7803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7804 | if (obj1) { | |
7805 | arg2 = (float) SWIG_AsFloat(obj1); | |
7806 | if (PyErr_Occurred()) SWIG_fail; | |
7807 | } | |
7808 | if (obj2) { | |
7809 | arg3 = (float) SWIG_AsFloat(obj2); | |
7810 | if (PyErr_Occurred()) SWIG_fail; | |
7811 | } | |
7812 | if (obj3) { | |
7813 | arg4 = (float) SWIG_AsFloat(obj3); | |
7814 | if (PyErr_Occurred()) SWIG_fail; | |
7815 | } | |
7816 | if (obj4) { | |
7817 | arg5 = (float) SWIG_AsFloat(obj4); | |
7818 | if (PyErr_Occurred()) SWIG_fail; | |
7819 | } | |
7820 | if (obj5) { | |
7821 | arg6 = (float) SWIG_AsFloat(obj5); | |
7822 | if (PyErr_Occurred()) SWIG_fail; | |
7823 | } | |
7824 | { | |
7825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7826 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
7827 | ||
7828 | wxPyEndAllowThreads(__tstate); | |
7829 | if (PyErr_Occurred()) SWIG_fail; | |
7830 | } | |
7831 | Py_INCREF(Py_None); resultobj = Py_None; | |
7832 | return resultobj; | |
7833 | fail: | |
7834 | return NULL; | |
7835 | } | |
7836 | ||
7837 | ||
7838 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7839 | PyObject *resultobj; | |
7840 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
7841 | PyObject * obj0 = 0 ; | |
7842 | char *kwnames[] = { | |
7843 | (char *) "filter", NULL | |
7844 | }; | |
7845 | ||
7846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
7847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlFilter, | |
7848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7849 | { | |
7850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7851 | wxHtmlPrintout::AddFilter(arg1); | |
7852 | ||
7853 | wxPyEndAllowThreads(__tstate); | |
7854 | if (PyErr_Occurred()) SWIG_fail; | |
7855 | } | |
7856 | Py_INCREF(Py_None); resultobj = Py_None; | |
7857 | return resultobj; | |
7858 | fail: | |
7859 | return NULL; | |
7860 | } | |
7861 | ||
7862 | ||
7863 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7864 | PyObject *resultobj; | |
7865 | char *kwnames[] = { | |
7866 | NULL | |
7867 | }; | |
7868 | ||
7869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
7870 | { | |
7871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7872 | wxHtmlPrintout::CleanUpStatics(); | |
7873 | ||
7874 | wxPyEndAllowThreads(__tstate); | |
7875 | if (PyErr_Occurred()) SWIG_fail; | |
7876 | } | |
7877 | Py_INCREF(Py_None); resultobj = Py_None; | |
7878 | return resultobj; | |
7879 | fail: | |
7880 | return NULL; | |
7881 | } | |
7882 | ||
7883 | ||
7884 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
7885 | PyObject *obj; | |
7886 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7887 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
7888 | Py_INCREF(obj); | |
7889 | return Py_BuildValue((char *)""); | |
7890 | } | |
7891 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7892 | PyObject *resultobj; | |
7893 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
7894 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
7895 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7896 | wxHtmlEasyPrinting *result; | |
7897 | bool temp1 = False ; | |
7898 | PyObject * obj0 = 0 ; | |
7899 | PyObject * obj1 = 0 ; | |
7900 | char *kwnames[] = { | |
7901 | (char *) "name",(char *) "parentWindow", NULL | |
7902 | }; | |
7903 | ||
7904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
7905 | if (obj0) { | |
7906 | { | |
7907 | arg1 = wxString_in_helper(obj0); | |
7908 | if (arg1 == NULL) SWIG_fail; | |
7909 | temp1 = True; | |
7910 | } | |
7911 | } | |
7912 | if (obj1) { | |
7913 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7915 | } | |
7916 | { | |
7917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7918 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
7919 | ||
7920 | wxPyEndAllowThreads(__tstate); | |
7921 | if (PyErr_Occurred()) SWIG_fail; | |
7922 | } | |
7923 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
7924 | { | |
7925 | if (temp1) | |
7926 | delete arg1; | |
7927 | } | |
7928 | return resultobj; | |
7929 | fail: | |
7930 | { | |
7931 | if (temp1) | |
7932 | delete arg1; | |
7933 | } | |
7934 | return NULL; | |
7935 | } | |
7936 | ||
7937 | ||
7938 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7939 | PyObject *resultobj; | |
7940 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7941 | PyObject * obj0 = 0 ; | |
7942 | char *kwnames[] = { | |
7943 | (char *) "self", NULL | |
7944 | }; | |
7945 | ||
7946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
7947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
7948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7949 | { | |
7950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7951 | delete arg1; | |
7952 | ||
7953 | wxPyEndAllowThreads(__tstate); | |
7954 | if (PyErr_Occurred()) SWIG_fail; | |
7955 | } | |
7956 | Py_INCREF(Py_None); resultobj = Py_None; | |
7957 | return resultobj; | |
7958 | fail: | |
7959 | return NULL; | |
7960 | } | |
7961 | ||
7962 | ||
7963 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7964 | PyObject *resultobj; | |
7965 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7966 | wxString *arg2 = 0 ; | |
7967 | bool temp2 = False ; | |
7968 | PyObject * obj0 = 0 ; | |
7969 | PyObject * obj1 = 0 ; | |
7970 | char *kwnames[] = { | |
7971 | (char *) "self",(char *) "htmlfile", NULL | |
7972 | }; | |
7973 | ||
7974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
7975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
7976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7977 | { | |
7978 | arg2 = wxString_in_helper(obj1); | |
7979 | if (arg2 == NULL) SWIG_fail; | |
7980 | temp2 = True; | |
7981 | } | |
7982 | { | |
7983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7984 | (arg1)->PreviewFile((wxString const &)*arg2); | |
7985 | ||
7986 | wxPyEndAllowThreads(__tstate); | |
7987 | if (PyErr_Occurred()) SWIG_fail; | |
7988 | } | |
7989 | Py_INCREF(Py_None); resultobj = Py_None; | |
7990 | { | |
7991 | if (temp2) | |
7992 | delete arg2; | |
7993 | } | |
7994 | return resultobj; | |
7995 | fail: | |
7996 | { | |
7997 | if (temp2) | |
7998 | delete arg2; | |
7999 | } | |
8000 | return NULL; | |
8001 | } | |
8002 | ||
8003 | ||
8004 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8005 | PyObject *resultobj; | |
8006 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8007 | wxString *arg2 = 0 ; | |
8008 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8009 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8010 | bool temp2 = False ; | |
8011 | bool temp3 = False ; | |
8012 | PyObject * obj0 = 0 ; | |
8013 | PyObject * obj1 = 0 ; | |
8014 | PyObject * obj2 = 0 ; | |
8015 | char *kwnames[] = { | |
8016 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8017 | }; | |
8018 | ||
8019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8022 | { | |
8023 | arg2 = wxString_in_helper(obj1); | |
8024 | if (arg2 == NULL) SWIG_fail; | |
8025 | temp2 = True; | |
8026 | } | |
8027 | if (obj2) { | |
8028 | { | |
8029 | arg3 = wxString_in_helper(obj2); | |
8030 | if (arg3 == NULL) SWIG_fail; | |
8031 | temp3 = True; | |
8032 | } | |
8033 | } | |
8034 | { | |
8035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8036 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
8037 | ||
8038 | wxPyEndAllowThreads(__tstate); | |
8039 | if (PyErr_Occurred()) SWIG_fail; | |
8040 | } | |
8041 | Py_INCREF(Py_None); resultobj = Py_None; | |
8042 | { | |
8043 | if (temp2) | |
8044 | delete arg2; | |
8045 | } | |
8046 | { | |
8047 | if (temp3) | |
8048 | delete arg3; | |
8049 | } | |
8050 | return resultobj; | |
8051 | fail: | |
8052 | { | |
8053 | if (temp2) | |
8054 | delete arg2; | |
8055 | } | |
8056 | { | |
8057 | if (temp3) | |
8058 | delete arg3; | |
8059 | } | |
8060 | return NULL; | |
8061 | } | |
8062 | ||
8063 | ||
8064 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8065 | PyObject *resultobj; | |
8066 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8067 | wxString *arg2 = 0 ; | |
8068 | bool temp2 = False ; | |
8069 | PyObject * obj0 = 0 ; | |
8070 | PyObject * obj1 = 0 ; | |
8071 | char *kwnames[] = { | |
8072 | (char *) "self",(char *) "htmlfile", NULL | |
8073 | }; | |
8074 | ||
8075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
8076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8078 | { | |
8079 | arg2 = wxString_in_helper(obj1); | |
8080 | if (arg2 == NULL) SWIG_fail; | |
8081 | temp2 = True; | |
8082 | } | |
8083 | { | |
8084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8085 | (arg1)->PrintFile((wxString const &)*arg2); | |
8086 | ||
8087 | wxPyEndAllowThreads(__tstate); | |
8088 | if (PyErr_Occurred()) SWIG_fail; | |
8089 | } | |
8090 | Py_INCREF(Py_None); resultobj = Py_None; | |
8091 | { | |
8092 | if (temp2) | |
8093 | delete arg2; | |
8094 | } | |
8095 | return resultobj; | |
8096 | fail: | |
8097 | { | |
8098 | if (temp2) | |
8099 | delete arg2; | |
8100 | } | |
8101 | return NULL; | |
8102 | } | |
8103 | ||
8104 | ||
8105 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8106 | PyObject *resultobj; | |
8107 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8108 | wxString *arg2 = 0 ; | |
8109 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8110 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8111 | bool temp2 = False ; | |
8112 | bool temp3 = False ; | |
8113 | PyObject * obj0 = 0 ; | |
8114 | PyObject * obj1 = 0 ; | |
8115 | PyObject * obj2 = 0 ; | |
8116 | char *kwnames[] = { | |
8117 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
8118 | }; | |
8119 | ||
8120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8123 | { | |
8124 | arg2 = wxString_in_helper(obj1); | |
8125 | if (arg2 == NULL) SWIG_fail; | |
8126 | temp2 = True; | |
8127 | } | |
8128 | if (obj2) { | |
8129 | { | |
8130 | arg3 = wxString_in_helper(obj2); | |
8131 | if (arg3 == NULL) SWIG_fail; | |
8132 | temp3 = True; | |
8133 | } | |
8134 | } | |
8135 | { | |
8136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8137 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
8138 | ||
8139 | wxPyEndAllowThreads(__tstate); | |
8140 | if (PyErr_Occurred()) SWIG_fail; | |
8141 | } | |
8142 | Py_INCREF(Py_None); resultobj = Py_None; | |
8143 | { | |
8144 | if (temp2) | |
8145 | delete arg2; | |
8146 | } | |
8147 | { | |
8148 | if (temp3) | |
8149 | delete arg3; | |
8150 | } | |
8151 | return resultobj; | |
8152 | fail: | |
8153 | { | |
8154 | if (temp2) | |
8155 | delete arg2; | |
8156 | } | |
8157 | { | |
8158 | if (temp3) | |
8159 | delete arg3; | |
8160 | } | |
8161 | return NULL; | |
8162 | } | |
8163 | ||
8164 | ||
8165 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8166 | PyObject *resultobj; | |
8167 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8168 | PyObject * obj0 = 0 ; | |
8169 | char *kwnames[] = { | |
8170 | (char *) "self", NULL | |
8171 | }; | |
8172 | ||
8173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
8174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8176 | { | |
8177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8178 | (arg1)->PrinterSetup(); | |
8179 | ||
8180 | wxPyEndAllowThreads(__tstate); | |
8181 | if (PyErr_Occurred()) SWIG_fail; | |
8182 | } | |
8183 | Py_INCREF(Py_None); resultobj = Py_None; | |
8184 | return resultobj; | |
8185 | fail: | |
8186 | return NULL; | |
8187 | } | |
8188 | ||
8189 | ||
8190 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8191 | PyObject *resultobj; | |
8192 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8193 | PyObject * obj0 = 0 ; | |
8194 | char *kwnames[] = { | |
8195 | (char *) "self", NULL | |
8196 | }; | |
8197 | ||
8198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
8199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8201 | { | |
8202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8203 | (arg1)->PageSetup(); | |
8204 | ||
8205 | wxPyEndAllowThreads(__tstate); | |
8206 | if (PyErr_Occurred()) SWIG_fail; | |
8207 | } | |
8208 | Py_INCREF(Py_None); resultobj = Py_None; | |
8209 | return resultobj; | |
8210 | fail: | |
8211 | return NULL; | |
8212 | } | |
8213 | ||
8214 | ||
8215 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8216 | PyObject *resultobj; | |
8217 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8218 | wxString *arg2 = 0 ; | |
8219 | int arg3 = (int) wxPAGE_ALL ; | |
8220 | bool temp2 = False ; | |
8221 | PyObject * obj0 = 0 ; | |
8222 | PyObject * obj1 = 0 ; | |
8223 | PyObject * obj2 = 0 ; | |
8224 | char *kwnames[] = { | |
8225 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
8226 | }; | |
8227 | ||
8228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8231 | { | |
8232 | arg2 = wxString_in_helper(obj1); | |
8233 | if (arg2 == NULL) SWIG_fail; | |
8234 | temp2 = True; | |
8235 | } | |
8236 | if (obj2) { | |
8237 | arg3 = (int) SWIG_AsInt(obj2); | |
8238 | if (PyErr_Occurred()) SWIG_fail; | |
8239 | } | |
8240 | { | |
8241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8242 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
8243 | ||
8244 | wxPyEndAllowThreads(__tstate); | |
8245 | if (PyErr_Occurred()) SWIG_fail; | |
8246 | } | |
8247 | Py_INCREF(Py_None); resultobj = Py_None; | |
8248 | { | |
8249 | if (temp2) | |
8250 | delete arg2; | |
8251 | } | |
8252 | return resultobj; | |
8253 | fail: | |
8254 | { | |
8255 | if (temp2) | |
8256 | delete arg2; | |
8257 | } | |
8258 | return NULL; | |
8259 | } | |
8260 | ||
8261 | ||
8262 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8263 | PyObject *resultobj; | |
8264 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8265 | wxString *arg2 = 0 ; | |
8266 | int arg3 = (int) wxPAGE_ALL ; | |
8267 | bool temp2 = False ; | |
8268 | PyObject * obj0 = 0 ; | |
8269 | PyObject * obj1 = 0 ; | |
8270 | PyObject * obj2 = 0 ; | |
8271 | char *kwnames[] = { | |
8272 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
8273 | }; | |
8274 | ||
8275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8278 | { | |
8279 | arg2 = wxString_in_helper(obj1); | |
8280 | if (arg2 == NULL) SWIG_fail; | |
8281 | temp2 = True; | |
8282 | } | |
8283 | if (obj2) { | |
8284 | arg3 = (int) SWIG_AsInt(obj2); | |
8285 | if (PyErr_Occurred()) SWIG_fail; | |
8286 | } | |
8287 | { | |
8288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8289 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
8290 | ||
8291 | wxPyEndAllowThreads(__tstate); | |
8292 | if (PyErr_Occurred()) SWIG_fail; | |
8293 | } | |
8294 | Py_INCREF(Py_None); resultobj = Py_None; | |
8295 | { | |
8296 | if (temp2) | |
8297 | delete arg2; | |
8298 | } | |
8299 | return resultobj; | |
8300 | fail: | |
8301 | { | |
8302 | if (temp2) | |
8303 | delete arg2; | |
8304 | } | |
8305 | return NULL; | |
8306 | } | |
8307 | ||
8308 | ||
8309 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8310 | PyObject *resultobj; | |
8311 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8312 | wxString arg2 ; | |
8313 | wxString arg3 ; | |
8314 | PyObject *arg4 = (PyObject *) NULL ; | |
8315 | PyObject * obj0 = 0 ; | |
8316 | PyObject * obj1 = 0 ; | |
8317 | PyObject * obj2 = 0 ; | |
8318 | PyObject * obj3 = 0 ; | |
8319 | char *kwnames[] = { | |
8320 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
8321 | }; | |
8322 | ||
8323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8326 | { | |
8327 | wxString* sptr = wxString_in_helper(obj1); | |
8328 | if (sptr == NULL) SWIG_fail; | |
8329 | arg2 = *sptr; | |
8330 | delete sptr; | |
8331 | } | |
8332 | { | |
8333 | wxString* sptr = wxString_in_helper(obj2); | |
8334 | if (sptr == NULL) SWIG_fail; | |
8335 | arg3 = *sptr; | |
8336 | delete sptr; | |
8337 | } | |
8338 | if (obj3) { | |
8339 | arg4 = obj3; | |
8340 | } | |
8341 | { | |
8342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8343 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
8344 | ||
8345 | wxPyEndAllowThreads(__tstate); | |
8346 | if (PyErr_Occurred()) SWIG_fail; | |
8347 | } | |
8348 | Py_INCREF(Py_None); resultobj = Py_None; | |
8349 | return resultobj; | |
8350 | fail: | |
8351 | return NULL; | |
8352 | } | |
8353 | ||
8354 | ||
8355 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8356 | PyObject *resultobj; | |
8357 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8358 | wxPrintData *result; | |
8359 | PyObject * obj0 = 0 ; | |
8360 | char *kwnames[] = { | |
8361 | (char *) "self", NULL | |
8362 | }; | |
8363 | ||
8364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
8365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8367 | { | |
8368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8369 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
8370 | ||
8371 | wxPyEndAllowThreads(__tstate); | |
8372 | if (PyErr_Occurred()) SWIG_fail; | |
8373 | } | |
8374 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); | |
8375 | return resultobj; | |
8376 | fail: | |
8377 | return NULL; | |
8378 | } | |
8379 | ||
8380 | ||
8381 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8382 | PyObject *resultobj; | |
8383 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
8384 | wxPageSetupDialogData *result; | |
8385 | PyObject * obj0 = 0 ; | |
8386 | char *kwnames[] = { | |
8387 | (char *) "self", NULL | |
8388 | }; | |
8389 | ||
8390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
8391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting, | |
8392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8393 | { | |
8394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8395 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
8396 | ||
8397 | wxPyEndAllowThreads(__tstate); | |
8398 | if (PyErr_Occurred()) SWIG_fail; | |
8399 | } | |
8400 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
8401 | return resultobj; | |
8402 | fail: | |
8403 | return NULL; | |
8404 | } | |
8405 | ||
8406 | ||
8407 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
8408 | PyObject *obj; | |
8409 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8410 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
8411 | Py_INCREF(obj); | |
8412 | return Py_BuildValue((char *)""); | |
8413 | } | |
8414 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8415 | PyObject *resultobj; | |
8416 | wxString *arg1 = 0 ; | |
8417 | wxString *arg2 = 0 ; | |
8418 | wxString *arg3 = 0 ; | |
8419 | wxString *arg4 = 0 ; | |
8420 | wxHtmlBookRecord *result; | |
8421 | bool temp1 = False ; | |
8422 | bool temp2 = False ; | |
8423 | bool temp3 = False ; | |
8424 | bool temp4 = False ; | |
8425 | PyObject * obj0 = 0 ; | |
8426 | PyObject * obj1 = 0 ; | |
8427 | PyObject * obj2 = 0 ; | |
8428 | PyObject * obj3 = 0 ; | |
8429 | char *kwnames[] = { | |
8430 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
8431 | }; | |
8432 | ||
8433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8434 | { | |
8435 | arg1 = wxString_in_helper(obj0); | |
8436 | if (arg1 == NULL) SWIG_fail; | |
8437 | temp1 = True; | |
8438 | } | |
8439 | { | |
8440 | arg2 = wxString_in_helper(obj1); | |
8441 | if (arg2 == NULL) SWIG_fail; | |
8442 | temp2 = True; | |
8443 | } | |
8444 | { | |
8445 | arg3 = wxString_in_helper(obj2); | |
8446 | if (arg3 == NULL) SWIG_fail; | |
8447 | temp3 = True; | |
8448 | } | |
8449 | { | |
8450 | arg4 = wxString_in_helper(obj3); | |
8451 | if (arg4 == NULL) SWIG_fail; | |
8452 | temp4 = True; | |
8453 | } | |
8454 | { | |
8455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8456 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
8457 | ||
8458 | wxPyEndAllowThreads(__tstate); | |
8459 | if (PyErr_Occurred()) SWIG_fail; | |
8460 | } | |
8461 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 1); | |
8462 | { | |
8463 | if (temp1) | |
8464 | delete arg1; | |
8465 | } | |
8466 | { | |
8467 | if (temp2) | |
8468 | delete arg2; | |
8469 | } | |
8470 | { | |
8471 | if (temp3) | |
8472 | delete arg3; | |
8473 | } | |
8474 | { | |
8475 | if (temp4) | |
8476 | delete arg4; | |
8477 | } | |
8478 | return resultobj; | |
8479 | fail: | |
8480 | { | |
8481 | if (temp1) | |
8482 | delete arg1; | |
8483 | } | |
8484 | { | |
8485 | if (temp2) | |
8486 | delete arg2; | |
8487 | } | |
8488 | { | |
8489 | if (temp3) | |
8490 | delete arg3; | |
8491 | } | |
8492 | { | |
8493 | if (temp4) | |
8494 | delete arg4; | |
8495 | } | |
8496 | return NULL; | |
8497 | } | |
8498 | ||
8499 | ||
8500 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8501 | PyObject *resultobj; | |
8502 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8503 | wxString result; | |
8504 | PyObject * obj0 = 0 ; | |
8505 | char *kwnames[] = { | |
8506 | (char *) "self", NULL | |
8507 | }; | |
8508 | ||
8509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
8510 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8512 | { | |
8513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8514 | result = (arg1)->GetBookFile(); | |
8515 | ||
8516 | wxPyEndAllowThreads(__tstate); | |
8517 | if (PyErr_Occurred()) SWIG_fail; | |
8518 | } | |
8519 | { | |
8520 | #if wxUSE_UNICODE | |
8521 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8522 | #else | |
8523 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8524 | #endif | |
8525 | } | |
8526 | return resultobj; | |
8527 | fail: | |
8528 | return NULL; | |
8529 | } | |
8530 | ||
8531 | ||
8532 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8533 | PyObject *resultobj; | |
8534 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8535 | wxString result; | |
8536 | PyObject * obj0 = 0 ; | |
8537 | char *kwnames[] = { | |
8538 | (char *) "self", NULL | |
8539 | }; | |
8540 | ||
8541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
8542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8544 | { | |
8545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8546 | result = (arg1)->GetTitle(); | |
8547 | ||
8548 | wxPyEndAllowThreads(__tstate); | |
8549 | if (PyErr_Occurred()) SWIG_fail; | |
8550 | } | |
8551 | { | |
8552 | #if wxUSE_UNICODE | |
8553 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8554 | #else | |
8555 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8556 | #endif | |
8557 | } | |
8558 | return resultobj; | |
8559 | fail: | |
8560 | return NULL; | |
8561 | } | |
8562 | ||
8563 | ||
8564 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8565 | PyObject *resultobj; | |
8566 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8567 | wxString result; | |
8568 | PyObject * obj0 = 0 ; | |
8569 | char *kwnames[] = { | |
8570 | (char *) "self", NULL | |
8571 | }; | |
8572 | ||
8573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
8574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8576 | { | |
8577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8578 | result = (arg1)->GetStart(); | |
8579 | ||
8580 | wxPyEndAllowThreads(__tstate); | |
8581 | if (PyErr_Occurred()) SWIG_fail; | |
8582 | } | |
8583 | { | |
8584 | #if wxUSE_UNICODE | |
8585 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8586 | #else | |
8587 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8588 | #endif | |
8589 | } | |
8590 | return resultobj; | |
8591 | fail: | |
8592 | return NULL; | |
8593 | } | |
8594 | ||
8595 | ||
8596 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8597 | PyObject *resultobj; | |
8598 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8599 | wxString result; | |
8600 | PyObject * obj0 = 0 ; | |
8601 | char *kwnames[] = { | |
8602 | (char *) "self", NULL | |
8603 | }; | |
8604 | ||
8605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
8606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8608 | { | |
8609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8610 | result = (arg1)->GetBasePath(); | |
8611 | ||
8612 | wxPyEndAllowThreads(__tstate); | |
8613 | if (PyErr_Occurred()) SWIG_fail; | |
8614 | } | |
8615 | { | |
8616 | #if wxUSE_UNICODE | |
8617 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8618 | #else | |
8619 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8620 | #endif | |
8621 | } | |
8622 | return resultobj; | |
8623 | fail: | |
8624 | return NULL; | |
8625 | } | |
8626 | ||
8627 | ||
8628 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8629 | PyObject *resultobj; | |
8630 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8631 | int arg2 ; | |
8632 | int arg3 ; | |
8633 | PyObject * obj0 = 0 ; | |
8634 | PyObject * obj1 = 0 ; | |
8635 | PyObject * obj2 = 0 ; | |
8636 | char *kwnames[] = { | |
8637 | (char *) "self",(char *) "start",(char *) "end", NULL | |
8638 | }; | |
8639 | ||
8640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8643 | arg2 = (int) SWIG_AsInt(obj1); | |
8644 | if (PyErr_Occurred()) SWIG_fail; | |
8645 | arg3 = (int) SWIG_AsInt(obj2); | |
8646 | if (PyErr_Occurred()) SWIG_fail; | |
8647 | { | |
8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8649 | (arg1)->SetContentsRange(arg2,arg3); | |
8650 | ||
8651 | wxPyEndAllowThreads(__tstate); | |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
8654 | Py_INCREF(Py_None); resultobj = Py_None; | |
8655 | return resultobj; | |
8656 | fail: | |
8657 | return NULL; | |
8658 | } | |
8659 | ||
8660 | ||
8661 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8662 | PyObject *resultobj; | |
8663 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8664 | int result; | |
8665 | PyObject * obj0 = 0 ; | |
8666 | char *kwnames[] = { | |
8667 | (char *) "self", NULL | |
8668 | }; | |
8669 | ||
8670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
8671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8673 | { | |
8674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8675 | result = (int)(arg1)->GetContentsStart(); | |
8676 | ||
8677 | wxPyEndAllowThreads(__tstate); | |
8678 | if (PyErr_Occurred()) SWIG_fail; | |
8679 | } | |
8680 | resultobj = SWIG_FromInt((int)result); | |
8681 | return resultobj; | |
8682 | fail: | |
8683 | return NULL; | |
8684 | } | |
8685 | ||
8686 | ||
8687 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8688 | PyObject *resultobj; | |
8689 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8690 | int result; | |
8691 | PyObject * obj0 = 0 ; | |
8692 | char *kwnames[] = { | |
8693 | (char *) "self", NULL | |
8694 | }; | |
8695 | ||
8696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
8697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8699 | { | |
8700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8701 | result = (int)(arg1)->GetContentsEnd(); | |
8702 | ||
8703 | wxPyEndAllowThreads(__tstate); | |
8704 | if (PyErr_Occurred()) SWIG_fail; | |
8705 | } | |
8706 | resultobj = SWIG_FromInt((int)result); | |
8707 | return resultobj; | |
8708 | fail: | |
8709 | return NULL; | |
8710 | } | |
8711 | ||
8712 | ||
8713 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8714 | PyObject *resultobj; | |
8715 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8716 | wxString *arg2 = 0 ; | |
8717 | bool temp2 = False ; | |
8718 | PyObject * obj0 = 0 ; | |
8719 | PyObject * obj1 = 0 ; | |
8720 | char *kwnames[] = { | |
8721 | (char *) "self",(char *) "title", NULL | |
8722 | }; | |
8723 | ||
8724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
8725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8727 | { | |
8728 | arg2 = wxString_in_helper(obj1); | |
8729 | if (arg2 == NULL) SWIG_fail; | |
8730 | temp2 = True; | |
8731 | } | |
8732 | { | |
8733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8734 | (arg1)->SetTitle((wxString const &)*arg2); | |
8735 | ||
8736 | wxPyEndAllowThreads(__tstate); | |
8737 | if (PyErr_Occurred()) SWIG_fail; | |
8738 | } | |
8739 | Py_INCREF(Py_None); resultobj = Py_None; | |
8740 | { | |
8741 | if (temp2) | |
8742 | delete arg2; | |
8743 | } | |
8744 | return resultobj; | |
8745 | fail: | |
8746 | { | |
8747 | if (temp2) | |
8748 | delete arg2; | |
8749 | } | |
8750 | return NULL; | |
8751 | } | |
8752 | ||
8753 | ||
8754 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8755 | PyObject *resultobj; | |
8756 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8757 | wxString *arg2 = 0 ; | |
8758 | bool temp2 = False ; | |
8759 | PyObject * obj0 = 0 ; | |
8760 | PyObject * obj1 = 0 ; | |
8761 | char *kwnames[] = { | |
8762 | (char *) "self",(char *) "path", NULL | |
8763 | }; | |
8764 | ||
8765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
8766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8768 | { | |
8769 | arg2 = wxString_in_helper(obj1); | |
8770 | if (arg2 == NULL) SWIG_fail; | |
8771 | temp2 = True; | |
8772 | } | |
8773 | { | |
8774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8775 | (arg1)->SetBasePath((wxString const &)*arg2); | |
8776 | ||
8777 | wxPyEndAllowThreads(__tstate); | |
8778 | if (PyErr_Occurred()) SWIG_fail; | |
8779 | } | |
8780 | Py_INCREF(Py_None); resultobj = Py_None; | |
8781 | { | |
8782 | if (temp2) | |
8783 | delete arg2; | |
8784 | } | |
8785 | return resultobj; | |
8786 | fail: | |
8787 | { | |
8788 | if (temp2) | |
8789 | delete arg2; | |
8790 | } | |
8791 | return NULL; | |
8792 | } | |
8793 | ||
8794 | ||
8795 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8796 | PyObject *resultobj; | |
8797 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8798 | wxString *arg2 = 0 ; | |
8799 | bool temp2 = False ; | |
8800 | PyObject * obj0 = 0 ; | |
8801 | PyObject * obj1 = 0 ; | |
8802 | char *kwnames[] = { | |
8803 | (char *) "self",(char *) "start", NULL | |
8804 | }; | |
8805 | ||
8806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
8807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8809 | { | |
8810 | arg2 = wxString_in_helper(obj1); | |
8811 | if (arg2 == NULL) SWIG_fail; | |
8812 | temp2 = True; | |
8813 | } | |
8814 | { | |
8815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8816 | (arg1)->SetStart((wxString const &)*arg2); | |
8817 | ||
8818 | wxPyEndAllowThreads(__tstate); | |
8819 | if (PyErr_Occurred()) SWIG_fail; | |
8820 | } | |
8821 | Py_INCREF(Py_None); resultobj = Py_None; | |
8822 | { | |
8823 | if (temp2) | |
8824 | delete arg2; | |
8825 | } | |
8826 | return resultobj; | |
8827 | fail: | |
8828 | { | |
8829 | if (temp2) | |
8830 | delete arg2; | |
8831 | } | |
8832 | return NULL; | |
8833 | } | |
8834 | ||
8835 | ||
8836 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8837 | PyObject *resultobj; | |
8838 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
8839 | wxString *arg2 = 0 ; | |
8840 | wxString result; | |
8841 | bool temp2 = False ; | |
8842 | PyObject * obj0 = 0 ; | |
8843 | PyObject * obj1 = 0 ; | |
8844 | char *kwnames[] = { | |
8845 | (char *) "self",(char *) "page", NULL | |
8846 | }; | |
8847 | ||
8848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
8849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlBookRecord, | |
8850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8851 | { | |
8852 | arg2 = wxString_in_helper(obj1); | |
8853 | if (arg2 == NULL) SWIG_fail; | |
8854 | temp2 = True; | |
8855 | } | |
8856 | { | |
8857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8858 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
8859 | ||
8860 | wxPyEndAllowThreads(__tstate); | |
8861 | if (PyErr_Occurred()) SWIG_fail; | |
8862 | } | |
8863 | { | |
8864 | #if wxUSE_UNICODE | |
8865 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8866 | #else | |
8867 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8868 | #endif | |
8869 | } | |
8870 | { | |
8871 | if (temp2) | |
8872 | delete arg2; | |
8873 | } | |
8874 | return resultobj; | |
8875 | fail: | |
8876 | { | |
8877 | if (temp2) | |
8878 | delete arg2; | |
8879 | } | |
8880 | return NULL; | |
8881 | } | |
8882 | ||
8883 | ||
8884 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
8885 | PyObject *obj; | |
8886 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8887 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
8888 | Py_INCREF(obj); | |
8889 | return Py_BuildValue((char *)""); | |
8890 | } | |
8891 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8892 | PyObject *resultobj; | |
8893 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8894 | int result; | |
8895 | PyObject * obj0 = 0 ; | |
8896 | char *kwnames[] = { | |
8897 | (char *) "self", NULL | |
8898 | }; | |
8899 | ||
8900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
8901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8903 | { | |
8904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8905 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
8906 | ||
8907 | wxPyEndAllowThreads(__tstate); | |
8908 | if (PyErr_Occurred()) SWIG_fail; | |
8909 | } | |
8910 | resultobj = SWIG_FromInt((int)result); | |
8911 | return resultobj; | |
8912 | fail: | |
8913 | return NULL; | |
8914 | } | |
8915 | ||
8916 | ||
8917 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8918 | PyObject *resultobj; | |
8919 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8920 | int result; | |
8921 | PyObject * obj0 = 0 ; | |
8922 | char *kwnames[] = { | |
8923 | (char *) "self", NULL | |
8924 | }; | |
8925 | ||
8926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
8927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8929 | { | |
8930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8931 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
8932 | ||
8933 | wxPyEndAllowThreads(__tstate); | |
8934 | if (PyErr_Occurred()) SWIG_fail; | |
8935 | } | |
8936 | resultobj = SWIG_FromInt((int)result); | |
8937 | return resultobj; | |
8938 | fail: | |
8939 | return NULL; | |
8940 | } | |
8941 | ||
8942 | ||
8943 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8944 | PyObject *resultobj; | |
8945 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8946 | wxString result; | |
8947 | PyObject * obj0 = 0 ; | |
8948 | char *kwnames[] = { | |
8949 | (char *) "self", NULL | |
8950 | }; | |
8951 | ||
8952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
8953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8955 | { | |
8956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8957 | result = wxHtmlContentsItem_GetName(arg1); | |
8958 | ||
8959 | wxPyEndAllowThreads(__tstate); | |
8960 | if (PyErr_Occurred()) SWIG_fail; | |
8961 | } | |
8962 | { | |
8963 | #if wxUSE_UNICODE | |
8964 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8965 | #else | |
8966 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8967 | #endif | |
8968 | } | |
8969 | return resultobj; | |
8970 | fail: | |
8971 | return NULL; | |
8972 | } | |
8973 | ||
8974 | ||
8975 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8976 | PyObject *resultobj; | |
8977 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
8978 | wxString result; | |
8979 | PyObject * obj0 = 0 ; | |
8980 | char *kwnames[] = { | |
8981 | (char *) "self", NULL | |
8982 | }; | |
8983 | ||
8984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
8985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
8986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8987 | { | |
8988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8989 | result = wxHtmlContentsItem_GetPage(arg1); | |
8990 | ||
8991 | wxPyEndAllowThreads(__tstate); | |
8992 | if (PyErr_Occurred()) SWIG_fail; | |
8993 | } | |
8994 | { | |
8995 | #if wxUSE_UNICODE | |
8996 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8997 | #else | |
8998 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8999 | #endif | |
9000 | } | |
9001 | return resultobj; | |
9002 | fail: | |
9003 | return NULL; | |
9004 | } | |
9005 | ||
9006 | ||
9007 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9008 | PyObject *resultobj; | |
9009 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
9010 | wxHtmlBookRecord *result; | |
9011 | PyObject * obj0 = 0 ; | |
9012 | char *kwnames[] = { | |
9013 | (char *) "self", NULL | |
9014 | }; | |
9015 | ||
9016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
9017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlContentsItem, | |
9018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9019 | { | |
9020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9021 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
9022 | ||
9023 | wxPyEndAllowThreads(__tstate); | |
9024 | if (PyErr_Occurred()) SWIG_fail; | |
9025 | } | |
9026 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecord, 0); | |
9027 | return resultobj; | |
9028 | fail: | |
9029 | return NULL; | |
9030 | } | |
9031 | ||
9032 | ||
9033 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
9034 | PyObject *obj; | |
9035 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9036 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
9037 | Py_INCREF(obj); | |
9038 | return Py_BuildValue((char *)""); | |
9039 | } | |
9040 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9041 | PyObject *resultobj; | |
9042 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9043 | bool result; | |
9044 | PyObject * obj0 = 0 ; | |
9045 | char *kwnames[] = { | |
9046 | (char *) "self", NULL | |
9047 | }; | |
9048 | ||
9049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
9050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9052 | { | |
9053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9054 | result = (bool)(arg1)->Search(); | |
9055 | ||
9056 | wxPyEndAllowThreads(__tstate); | |
9057 | if (PyErr_Occurred()) SWIG_fail; | |
9058 | } | |
9059 | { | |
9060 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9061 | } | |
9062 | return resultobj; | |
9063 | fail: | |
9064 | return NULL; | |
9065 | } | |
9066 | ||
9067 | ||
9068 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9069 | PyObject *resultobj; | |
9070 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9071 | bool result; | |
9072 | PyObject * obj0 = 0 ; | |
9073 | char *kwnames[] = { | |
9074 | (char *) "self", NULL | |
9075 | }; | |
9076 | ||
9077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
9078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9080 | { | |
9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9082 | result = (bool)(arg1)->IsActive(); | |
9083 | ||
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
9087 | { | |
9088 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9089 | } | |
9090 | return resultobj; | |
9091 | fail: | |
9092 | return NULL; | |
9093 | } | |
9094 | ||
9095 | ||
9096 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9097 | PyObject *resultobj; | |
9098 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9099 | int result; | |
9100 | PyObject * obj0 = 0 ; | |
9101 | char *kwnames[] = { | |
9102 | (char *) "self", NULL | |
9103 | }; | |
9104 | ||
9105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
9106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9108 | { | |
9109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9110 | result = (int)(arg1)->GetCurIndex(); | |
9111 | ||
9112 | wxPyEndAllowThreads(__tstate); | |
9113 | if (PyErr_Occurred()) SWIG_fail; | |
9114 | } | |
9115 | resultobj = SWIG_FromInt((int)result); | |
9116 | return resultobj; | |
9117 | fail: | |
9118 | return NULL; | |
9119 | } | |
9120 | ||
9121 | ||
9122 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9123 | PyObject *resultobj; | |
9124 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9125 | int result; | |
9126 | PyObject * obj0 = 0 ; | |
9127 | char *kwnames[] = { | |
9128 | (char *) "self", NULL | |
9129 | }; | |
9130 | ||
9131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
9132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9134 | { | |
9135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9136 | result = (int)(arg1)->GetMaxIndex(); | |
9137 | ||
9138 | wxPyEndAllowThreads(__tstate); | |
9139 | if (PyErr_Occurred()) SWIG_fail; | |
9140 | } | |
9141 | resultobj = SWIG_FromInt((int)result); | |
9142 | return resultobj; | |
9143 | fail: | |
9144 | return NULL; | |
9145 | } | |
9146 | ||
9147 | ||
9148 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9149 | PyObject *resultobj; | |
9150 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9151 | wxString *result; | |
9152 | PyObject * obj0 = 0 ; | |
9153 | char *kwnames[] = { | |
9154 | (char *) "self", NULL | |
9155 | }; | |
9156 | ||
9157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
9158 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9159 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9160 | { | |
9161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9162 | { | |
9163 | wxString const &_result_ref = (arg1)->GetName(); | |
9164 | result = (wxString *) &_result_ref; | |
9165 | } | |
9166 | ||
9167 | wxPyEndAllowThreads(__tstate); | |
9168 | if (PyErr_Occurred()) SWIG_fail; | |
9169 | } | |
9170 | { | |
9171 | #if wxUSE_UNICODE | |
9172 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
9173 | #else | |
9174 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
9175 | #endif | |
9176 | } | |
9177 | return resultobj; | |
9178 | fail: | |
9179 | return NULL; | |
9180 | } | |
9181 | ||
9182 | ||
9183 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9184 | PyObject *resultobj; | |
9185 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
9186 | wxHtmlContentsItem *result; | |
9187 | PyObject * obj0 = 0 ; | |
9188 | char *kwnames[] = { | |
9189 | (char *) "self", NULL | |
9190 | }; | |
9191 | ||
9192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
9193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlSearchStatus, | |
9194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9195 | { | |
9196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9197 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
9198 | ||
9199 | wxPyEndAllowThreads(__tstate); | |
9200 | if (PyErr_Occurred()) SWIG_fail; | |
9201 | } | |
9202 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9203 | return resultobj; | |
9204 | fail: | |
9205 | return NULL; | |
9206 | } | |
9207 | ||
9208 | ||
9209 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
9210 | PyObject *obj; | |
9211 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9212 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
9213 | Py_INCREF(obj); | |
9214 | return Py_BuildValue((char *)""); | |
9215 | } | |
9216 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9217 | PyObject *resultobj; | |
9218 | wxHtmlHelpData *result; | |
9219 | char *kwnames[] = { | |
9220 | NULL | |
9221 | }; | |
9222 | ||
9223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
9224 | { | |
9225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9226 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
9227 | ||
9228 | wxPyEndAllowThreads(__tstate); | |
9229 | if (PyErr_Occurred()) SWIG_fail; | |
9230 | } | |
9231 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 1); | |
9232 | return resultobj; | |
9233 | fail: | |
9234 | return NULL; | |
9235 | } | |
9236 | ||
9237 | ||
9238 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9239 | PyObject *resultobj; | |
9240 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9241 | PyObject * obj0 = 0 ; | |
9242 | char *kwnames[] = { | |
9243 | (char *) "self", NULL | |
9244 | }; | |
9245 | ||
9246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
9247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9249 | { | |
9250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9251 | delete arg1; | |
9252 | ||
9253 | wxPyEndAllowThreads(__tstate); | |
9254 | if (PyErr_Occurred()) SWIG_fail; | |
9255 | } | |
9256 | Py_INCREF(Py_None); resultobj = Py_None; | |
9257 | return resultobj; | |
9258 | fail: | |
9259 | return NULL; | |
9260 | } | |
9261 | ||
9262 | ||
9263 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9264 | PyObject *resultobj; | |
9265 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9266 | wxString *arg2 = 0 ; | |
9267 | bool temp2 = False ; | |
9268 | PyObject * obj0 = 0 ; | |
9269 | PyObject * obj1 = 0 ; | |
9270 | char *kwnames[] = { | |
9271 | (char *) "self",(char *) "path", NULL | |
9272 | }; | |
9273 | ||
9274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
9275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9277 | { | |
9278 | arg2 = wxString_in_helper(obj1); | |
9279 | if (arg2 == NULL) SWIG_fail; | |
9280 | temp2 = True; | |
9281 | } | |
9282 | { | |
9283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9284 | (arg1)->SetTempDir((wxString const &)*arg2); | |
9285 | ||
9286 | wxPyEndAllowThreads(__tstate); | |
9287 | if (PyErr_Occurred()) SWIG_fail; | |
9288 | } | |
9289 | Py_INCREF(Py_None); resultobj = Py_None; | |
9290 | { | |
9291 | if (temp2) | |
9292 | delete arg2; | |
9293 | } | |
9294 | return resultobj; | |
9295 | fail: | |
9296 | { | |
9297 | if (temp2) | |
9298 | delete arg2; | |
9299 | } | |
9300 | return NULL; | |
9301 | } | |
9302 | ||
9303 | ||
9304 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9305 | PyObject *resultobj; | |
9306 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9307 | wxString *arg2 = 0 ; | |
9308 | bool result; | |
9309 | bool temp2 = False ; | |
9310 | PyObject * obj0 = 0 ; | |
9311 | PyObject * obj1 = 0 ; | |
9312 | char *kwnames[] = { | |
9313 | (char *) "self",(char *) "book", NULL | |
9314 | }; | |
9315 | ||
9316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
9317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9319 | { | |
9320 | arg2 = wxString_in_helper(obj1); | |
9321 | if (arg2 == NULL) SWIG_fail; | |
9322 | temp2 = True; | |
9323 | } | |
9324 | { | |
9325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9326 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
9327 | ||
9328 | wxPyEndAllowThreads(__tstate); | |
9329 | if (PyErr_Occurred()) SWIG_fail; | |
9330 | } | |
9331 | { | |
9332 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9333 | } | |
9334 | { | |
9335 | if (temp2) | |
9336 | delete arg2; | |
9337 | } | |
9338 | return resultobj; | |
9339 | fail: | |
9340 | { | |
9341 | if (temp2) | |
9342 | delete arg2; | |
9343 | } | |
9344 | return NULL; | |
9345 | } | |
9346 | ||
9347 | ||
9348 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9349 | PyObject *resultobj; | |
9350 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9351 | wxString *arg2 = 0 ; | |
9352 | wxString result; | |
9353 | bool temp2 = False ; | |
9354 | PyObject * obj0 = 0 ; | |
9355 | PyObject * obj1 = 0 ; | |
9356 | char *kwnames[] = { | |
9357 | (char *) "self",(char *) "page", NULL | |
9358 | }; | |
9359 | ||
9360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
9361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9363 | { | |
9364 | arg2 = wxString_in_helper(obj1); | |
9365 | if (arg2 == NULL) SWIG_fail; | |
9366 | temp2 = True; | |
9367 | } | |
9368 | { | |
9369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9370 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
9371 | ||
9372 | wxPyEndAllowThreads(__tstate); | |
9373 | if (PyErr_Occurred()) SWIG_fail; | |
9374 | } | |
9375 | { | |
9376 | #if wxUSE_UNICODE | |
9377 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9378 | #else | |
9379 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9380 | #endif | |
9381 | } | |
9382 | { | |
9383 | if (temp2) | |
9384 | delete arg2; | |
9385 | } | |
9386 | return resultobj; | |
9387 | fail: | |
9388 | { | |
9389 | if (temp2) | |
9390 | delete arg2; | |
9391 | } | |
9392 | return NULL; | |
9393 | } | |
9394 | ||
9395 | ||
9396 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9397 | PyObject *resultobj; | |
9398 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9399 | int arg2 ; | |
9400 | wxString result; | |
9401 | PyObject * obj0 = 0 ; | |
9402 | PyObject * obj1 = 0 ; | |
9403 | char *kwnames[] = { | |
9404 | (char *) "self",(char *) "id", NULL | |
9405 | }; | |
9406 | ||
9407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageById",kwnames,&obj0,&obj1)) goto fail; | |
9408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9410 | arg2 = (int) SWIG_AsInt(obj1); | |
9411 | if (PyErr_Occurred()) SWIG_fail; | |
9412 | { | |
9413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9414 | result = (arg1)->FindPageById(arg2); | |
9415 | ||
9416 | wxPyEndAllowThreads(__tstate); | |
9417 | if (PyErr_Occurred()) SWIG_fail; | |
9418 | } | |
9419 | { | |
9420 | #if wxUSE_UNICODE | |
9421 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9422 | #else | |
9423 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9424 | #endif | |
9425 | } | |
9426 | return resultobj; | |
9427 | fail: | |
9428 | return NULL; | |
9429 | } | |
9430 | ||
9431 | ||
9432 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9433 | PyObject *resultobj; | |
9434 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9435 | wxHtmlBookRecArray *result; | |
9436 | PyObject * obj0 = 0 ; | |
9437 | char *kwnames[] = { | |
9438 | (char *) "self", NULL | |
9439 | }; | |
9440 | ||
9441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
9442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9444 | { | |
9445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9446 | { | |
9447 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
9448 | result = (wxHtmlBookRecArray *) &_result_ref; | |
9449 | } | |
9450 | ||
9451 | wxPyEndAllowThreads(__tstate); | |
9452 | if (PyErr_Occurred()) SWIG_fail; | |
9453 | } | |
9454 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
9455 | return resultobj; | |
9456 | fail: | |
9457 | return NULL; | |
9458 | } | |
9459 | ||
9460 | ||
9461 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9462 | PyObject *resultobj; | |
9463 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9464 | wxHtmlContentsItem *result; | |
9465 | PyObject * obj0 = 0 ; | |
9466 | char *kwnames[] = { | |
9467 | (char *) "self", NULL | |
9468 | }; | |
9469 | ||
9470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
9471 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9472 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9473 | { | |
9474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9475 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
9476 | ||
9477 | wxPyEndAllowThreads(__tstate); | |
9478 | if (PyErr_Occurred()) SWIG_fail; | |
9479 | } | |
9480 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9481 | return resultobj; | |
9482 | fail: | |
9483 | return NULL; | |
9484 | } | |
9485 | ||
9486 | ||
9487 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9488 | PyObject *resultobj; | |
9489 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9490 | int result; | |
9491 | PyObject * obj0 = 0 ; | |
9492 | char *kwnames[] = { | |
9493 | (char *) "self", NULL | |
9494 | }; | |
9495 | ||
9496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
9497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9499 | { | |
9500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9501 | result = (int)(arg1)->GetContentsCnt(); | |
9502 | ||
9503 | wxPyEndAllowThreads(__tstate); | |
9504 | if (PyErr_Occurred()) SWIG_fail; | |
9505 | } | |
9506 | resultobj = SWIG_FromInt((int)result); | |
9507 | return resultobj; | |
9508 | fail: | |
9509 | return NULL; | |
9510 | } | |
9511 | ||
9512 | ||
9513 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9514 | PyObject *resultobj; | |
9515 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9516 | wxHtmlContentsItem *result; | |
9517 | PyObject * obj0 = 0 ; | |
9518 | char *kwnames[] = { | |
9519 | (char *) "self", NULL | |
9520 | }; | |
9521 | ||
9522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
9523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9525 | { | |
9526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9527 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
9528 | ||
9529 | wxPyEndAllowThreads(__tstate); | |
9530 | if (PyErr_Occurred()) SWIG_fail; | |
9531 | } | |
9532 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlContentsItem, 0); | |
9533 | return resultobj; | |
9534 | fail: | |
9535 | return NULL; | |
9536 | } | |
9537 | ||
9538 | ||
9539 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9540 | PyObject *resultobj; | |
9541 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
9542 | int result; | |
9543 | PyObject * obj0 = 0 ; | |
9544 | char *kwnames[] = { | |
9545 | (char *) "self", NULL | |
9546 | }; | |
9547 | ||
9548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
9549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpData, | |
9550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9551 | { | |
9552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9553 | result = (int)(arg1)->GetIndexCnt(); | |
9554 | ||
9555 | wxPyEndAllowThreads(__tstate); | |
9556 | if (PyErr_Occurred()) SWIG_fail; | |
9557 | } | |
9558 | resultobj = SWIG_FromInt((int)result); | |
9559 | return resultobj; | |
9560 | fail: | |
9561 | return NULL; | |
9562 | } | |
9563 | ||
9564 | ||
9565 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
9566 | PyObject *obj; | |
9567 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9568 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
9569 | Py_INCREF(obj); | |
9570 | return Py_BuildValue((char *)""); | |
9571 | } | |
9572 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9573 | PyObject *resultobj; | |
9574 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9575 | int arg2 ; | |
9576 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9577 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9578 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
9579 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
9580 | wxHtmlHelpFrame *result; | |
9581 | bool temp3 = False ; | |
9582 | PyObject * obj0 = 0 ; | |
9583 | PyObject * obj1 = 0 ; | |
9584 | PyObject * obj2 = 0 ; | |
9585 | PyObject * obj3 = 0 ; | |
9586 | PyObject * obj4 = 0 ; | |
9587 | char *kwnames[] = { | |
9588 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL | |
9589 | }; | |
9590 | ||
9591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
9592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
9593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9594 | arg2 = (int) SWIG_AsInt(obj1); | |
9595 | if (PyErr_Occurred()) SWIG_fail; | |
9596 | if (obj2) { | |
9597 | { | |
9598 | arg3 = wxString_in_helper(obj2); | |
9599 | if (arg3 == NULL) SWIG_fail; | |
9600 | temp3 = True; | |
9601 | } | |
9602 | } | |
9603 | if (obj3) { | |
9604 | arg4 = (int) SWIG_AsInt(obj3); | |
9605 | if (PyErr_Occurred()) SWIG_fail; | |
9606 | } | |
9607 | if (obj4) { | |
9608 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxHtmlHelpData, | |
9609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9610 | } | |
9611 | { | |
9612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9613 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
9614 | ||
9615 | wxPyEndAllowThreads(__tstate); | |
9616 | if (PyErr_Occurred()) SWIG_fail; | |
9617 | } | |
9618 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
9619 | { | |
9620 | if (temp3) | |
9621 | delete arg3; | |
9622 | } | |
9623 | return resultobj; | |
9624 | fail: | |
9625 | { | |
9626 | if (temp3) | |
9627 | delete arg3; | |
9628 | } | |
9629 | return NULL; | |
9630 | } | |
9631 | ||
9632 | ||
9633 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9634 | PyObject *resultobj; | |
9635 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9636 | wxHtmlHelpData *result; | |
9637 | PyObject * obj0 = 0 ; | |
9638 | char *kwnames[] = { | |
9639 | (char *) "self", NULL | |
9640 | }; | |
9641 | ||
9642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
9643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9645 | { | |
9646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9647 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
9648 | ||
9649 | wxPyEndAllowThreads(__tstate); | |
9650 | if (PyErr_Occurred()) SWIG_fail; | |
9651 | } | |
9652 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); | |
9653 | return resultobj; | |
9654 | fail: | |
9655 | return NULL; | |
9656 | } | |
9657 | ||
9658 | ||
9659 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9660 | PyObject *resultobj; | |
9661 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9662 | wxString *arg2 = 0 ; | |
9663 | bool temp2 = False ; | |
9664 | PyObject * obj0 = 0 ; | |
9665 | PyObject * obj1 = 0 ; | |
9666 | char *kwnames[] = { | |
9667 | (char *) "self",(char *) "format", NULL | |
9668 | }; | |
9669 | ||
9670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
9671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9673 | { | |
9674 | arg2 = wxString_in_helper(obj1); | |
9675 | if (arg2 == NULL) SWIG_fail; | |
9676 | temp2 = True; | |
9677 | } | |
9678 | { | |
9679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9680 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
9681 | ||
9682 | wxPyEndAllowThreads(__tstate); | |
9683 | if (PyErr_Occurred()) SWIG_fail; | |
9684 | } | |
9685 | Py_INCREF(Py_None); resultobj = Py_None; | |
9686 | { | |
9687 | if (temp2) | |
9688 | delete arg2; | |
9689 | } | |
9690 | return resultobj; | |
9691 | fail: | |
9692 | { | |
9693 | if (temp2) | |
9694 | delete arg2; | |
9695 | } | |
9696 | return NULL; | |
9697 | } | |
9698 | ||
9699 | ||
9700 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9701 | PyObject *resultobj; | |
9702 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9703 | wxString *arg2 = 0 ; | |
9704 | bool temp2 = False ; | |
9705 | PyObject * obj0 = 0 ; | |
9706 | PyObject * obj1 = 0 ; | |
9707 | char *kwnames[] = { | |
9708 | (char *) "self",(char *) "x", NULL | |
9709 | }; | |
9710 | ||
9711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
9712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9714 | { | |
9715 | arg2 = wxString_in_helper(obj1); | |
9716 | if (arg2 == NULL) SWIG_fail; | |
9717 | temp2 = True; | |
9718 | } | |
9719 | { | |
9720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9721 | (arg1)->Display((wxString const &)*arg2); | |
9722 | ||
9723 | wxPyEndAllowThreads(__tstate); | |
9724 | if (PyErr_Occurred()) SWIG_fail; | |
9725 | } | |
9726 | Py_INCREF(Py_None); resultobj = Py_None; | |
9727 | { | |
9728 | if (temp2) | |
9729 | delete arg2; | |
9730 | } | |
9731 | return resultobj; | |
9732 | fail: | |
9733 | { | |
9734 | if (temp2) | |
9735 | delete arg2; | |
9736 | } | |
9737 | return NULL; | |
9738 | } | |
9739 | ||
9740 | ||
9741 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9742 | PyObject *resultobj; | |
9743 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9744 | int arg2 ; | |
9745 | PyObject * obj0 = 0 ; | |
9746 | PyObject * obj1 = 0 ; | |
9747 | char *kwnames[] = { | |
9748 | (char *) "self",(char *) "id", NULL | |
9749 | }; | |
9750 | ||
9751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
9752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9754 | arg2 = (int) SWIG_AsInt(obj1); | |
9755 | if (PyErr_Occurred()) SWIG_fail; | |
9756 | { | |
9757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9758 | (arg1)->Display(arg2); | |
9759 | ||
9760 | wxPyEndAllowThreads(__tstate); | |
9761 | if (PyErr_Occurred()) SWIG_fail; | |
9762 | } | |
9763 | Py_INCREF(Py_None); resultobj = Py_None; | |
9764 | return resultobj; | |
9765 | fail: | |
9766 | return NULL; | |
9767 | } | |
9768 | ||
9769 | ||
9770 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9771 | PyObject *resultobj; | |
9772 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9773 | PyObject * obj0 = 0 ; | |
9774 | char *kwnames[] = { | |
9775 | (char *) "self", NULL | |
9776 | }; | |
9777 | ||
9778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
9779 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9781 | { | |
9782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9783 | (arg1)->DisplayContents(); | |
9784 | ||
9785 | wxPyEndAllowThreads(__tstate); | |
9786 | if (PyErr_Occurred()) SWIG_fail; | |
9787 | } | |
9788 | Py_INCREF(Py_None); resultobj = Py_None; | |
9789 | return resultobj; | |
9790 | fail: | |
9791 | return NULL; | |
9792 | } | |
9793 | ||
9794 | ||
9795 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9796 | PyObject *resultobj; | |
9797 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9798 | PyObject * obj0 = 0 ; | |
9799 | char *kwnames[] = { | |
9800 | (char *) "self", NULL | |
9801 | }; | |
9802 | ||
9803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
9804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9806 | { | |
9807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9808 | (arg1)->DisplayIndex(); | |
9809 | ||
9810 | wxPyEndAllowThreads(__tstate); | |
9811 | if (PyErr_Occurred()) SWIG_fail; | |
9812 | } | |
9813 | Py_INCREF(Py_None); resultobj = Py_None; | |
9814 | return resultobj; | |
9815 | fail: | |
9816 | return NULL; | |
9817 | } | |
9818 | ||
9819 | ||
9820 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9821 | PyObject *resultobj; | |
9822 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9823 | wxString *arg2 = 0 ; | |
9824 | bool result; | |
9825 | bool temp2 = False ; | |
9826 | PyObject * obj0 = 0 ; | |
9827 | PyObject * obj1 = 0 ; | |
9828 | char *kwnames[] = { | |
9829 | (char *) "self",(char *) "keyword", NULL | |
9830 | }; | |
9831 | ||
9832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
9833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9835 | { | |
9836 | arg2 = wxString_in_helper(obj1); | |
9837 | if (arg2 == NULL) SWIG_fail; | |
9838 | temp2 = True; | |
9839 | } | |
9840 | { | |
9841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9842 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
9843 | ||
9844 | wxPyEndAllowThreads(__tstate); | |
9845 | if (PyErr_Occurred()) SWIG_fail; | |
9846 | } | |
9847 | { | |
9848 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9849 | } | |
9850 | { | |
9851 | if (temp2) | |
9852 | delete arg2; | |
9853 | } | |
9854 | return resultobj; | |
9855 | fail: | |
9856 | { | |
9857 | if (temp2) | |
9858 | delete arg2; | |
9859 | } | |
9860 | return NULL; | |
9861 | } | |
9862 | ||
9863 | ||
9864 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9865 | PyObject *resultobj; | |
9866 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9867 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9868 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9869 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9870 | bool temp3 = False ; | |
9871 | PyObject * obj0 = 0 ; | |
9872 | PyObject * obj1 = 0 ; | |
9873 | PyObject * obj2 = 0 ; | |
9874 | char *kwnames[] = { | |
9875 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
9876 | }; | |
9877 | ||
9878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9881 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
9882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9883 | if (obj2) { | |
9884 | { | |
9885 | arg3 = wxString_in_helper(obj2); | |
9886 | if (arg3 == NULL) SWIG_fail; | |
9887 | temp3 = True; | |
9888 | } | |
9889 | } | |
9890 | { | |
9891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9892 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
9893 | ||
9894 | wxPyEndAllowThreads(__tstate); | |
9895 | if (PyErr_Occurred()) SWIG_fail; | |
9896 | } | |
9897 | Py_INCREF(Py_None); resultobj = Py_None; | |
9898 | { | |
9899 | if (temp3) | |
9900 | delete arg3; | |
9901 | } | |
9902 | return resultobj; | |
9903 | fail: | |
9904 | { | |
9905 | if (temp3) | |
9906 | delete arg3; | |
9907 | } | |
9908 | return NULL; | |
9909 | } | |
9910 | ||
9911 | ||
9912 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9913 | PyObject *resultobj; | |
9914 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9915 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9916 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9917 | PyObject * obj0 = 0 ; | |
9918 | PyObject * obj1 = 0 ; | |
9919 | PyObject * obj2 = 0 ; | |
9920 | char *kwnames[] = { | |
9921 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9922 | }; | |
9923 | ||
9924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9927 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
9928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9929 | if (obj2) { | |
9930 | { | |
9931 | wxString* sptr = wxString_in_helper(obj2); | |
9932 | if (sptr == NULL) SWIG_fail; | |
9933 | arg3 = *sptr; | |
9934 | delete sptr; | |
9935 | } | |
9936 | } | |
9937 | { | |
9938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9939 | (arg1)->ReadCustomization(arg2,arg3); | |
9940 | ||
9941 | wxPyEndAllowThreads(__tstate); | |
9942 | if (PyErr_Occurred()) SWIG_fail; | |
9943 | } | |
9944 | Py_INCREF(Py_None); resultobj = Py_None; | |
9945 | return resultobj; | |
9946 | fail: | |
9947 | return NULL; | |
9948 | } | |
9949 | ||
9950 | ||
9951 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9952 | PyObject *resultobj; | |
9953 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
9954 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9955 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9956 | PyObject * obj0 = 0 ; | |
9957 | PyObject * obj1 = 0 ; | |
9958 | PyObject * obj2 = 0 ; | |
9959 | char *kwnames[] = { | |
9960 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9961 | }; | |
9962 | ||
9963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpFrame, | |
9965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9966 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
9967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9968 | if (obj2) { | |
9969 | { | |
9970 | wxString* sptr = wxString_in_helper(obj2); | |
9971 | if (sptr == NULL) SWIG_fail; | |
9972 | arg3 = *sptr; | |
9973 | delete sptr; | |
9974 | } | |
9975 | } | |
9976 | { | |
9977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9978 | (arg1)->WriteCustomization(arg2,arg3); | |
9979 | ||
9980 | wxPyEndAllowThreads(__tstate); | |
9981 | if (PyErr_Occurred()) SWIG_fail; | |
9982 | } | |
9983 | Py_INCREF(Py_None); resultobj = Py_None; | |
9984 | return resultobj; | |
9985 | fail: | |
9986 | return NULL; | |
9987 | } | |
9988 | ||
9989 | ||
9990 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
9991 | PyObject *obj; | |
9992 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9993 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
9994 | Py_INCREF(obj); | |
9995 | return Py_BuildValue((char *)""); | |
9996 | } | |
9997 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9998 | PyObject *resultobj; | |
9999 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
10000 | wxHtmlHelpController *result; | |
10001 | PyObject * obj0 = 0 ; | |
10002 | char *kwnames[] = { | |
10003 | (char *) "style", NULL | |
10004 | }; | |
10005 | ||
10006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail; | |
10007 | if (obj0) { | |
10008 | arg1 = (int) SWIG_AsInt(obj0); | |
10009 | if (PyErr_Occurred()) SWIG_fail; | |
10010 | } | |
10011 | { | |
10012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10013 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
10014 | ||
10015 | wxPyEndAllowThreads(__tstate); | |
10016 | if (PyErr_Occurred()) SWIG_fail; | |
10017 | } | |
10018 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); | |
10019 | return resultobj; | |
10020 | fail: | |
10021 | return NULL; | |
10022 | } | |
10023 | ||
10024 | ||
10025 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10026 | PyObject *resultobj; | |
10027 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10028 | PyObject * obj0 = 0 ; | |
10029 | char *kwnames[] = { | |
10030 | (char *) "self", NULL | |
10031 | }; | |
10032 | ||
10033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
10034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10036 | { | |
10037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10038 | delete arg1; | |
10039 | ||
10040 | wxPyEndAllowThreads(__tstate); | |
10041 | if (PyErr_Occurred()) SWIG_fail; | |
10042 | } | |
10043 | Py_INCREF(Py_None); resultobj = Py_None; | |
10044 | return resultobj; | |
10045 | fail: | |
10046 | return NULL; | |
10047 | } | |
10048 | ||
10049 | ||
10050 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10051 | PyObject *resultobj; | |
10052 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10053 | wxString *arg2 = 0 ; | |
10054 | bool temp2 = False ; | |
10055 | PyObject * obj0 = 0 ; | |
10056 | PyObject * obj1 = 0 ; | |
10057 | char *kwnames[] = { | |
10058 | (char *) "self",(char *) "format", NULL | |
10059 | }; | |
10060 | ||
10061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
10062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10064 | { | |
10065 | arg2 = wxString_in_helper(obj1); | |
10066 | if (arg2 == NULL) SWIG_fail; | |
10067 | temp2 = True; | |
10068 | } | |
10069 | { | |
10070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10071 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
10072 | ||
10073 | wxPyEndAllowThreads(__tstate); | |
10074 | if (PyErr_Occurred()) SWIG_fail; | |
10075 | } | |
10076 | Py_INCREF(Py_None); resultobj = Py_None; | |
10077 | { | |
10078 | if (temp2) | |
10079 | delete arg2; | |
10080 | } | |
10081 | return resultobj; | |
10082 | fail: | |
10083 | { | |
10084 | if (temp2) | |
10085 | delete arg2; | |
10086 | } | |
10087 | return NULL; | |
10088 | } | |
10089 | ||
10090 | ||
10091 | static PyObject *_wrap_HtmlHelpController_SetTempDir(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 *) "path", NULL | |
10100 | }; | |
10101 | ||
10102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",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)->SetTempDir((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_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10133 | PyObject *resultobj; | |
10134 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10135 | wxString *arg2 = 0 ; | |
10136 | int arg3 = (int) False ; | |
10137 | bool result; | |
10138 | bool temp2 = False ; | |
10139 | PyObject * obj0 = 0 ; | |
10140 | PyObject * obj1 = 0 ; | |
10141 | PyObject * obj2 = 0 ; | |
10142 | char *kwnames[] = { | |
10143 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
10144 | }; | |
10145 | ||
10146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10149 | { | |
10150 | arg2 = wxString_in_helper(obj1); | |
10151 | if (arg2 == NULL) SWIG_fail; | |
10152 | temp2 = True; | |
10153 | } | |
10154 | if (obj2) { | |
10155 | arg3 = (int) SWIG_AsInt(obj2); | |
10156 | if (PyErr_Occurred()) SWIG_fail; | |
10157 | } | |
10158 | { | |
10159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10160 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
10161 | ||
10162 | wxPyEndAllowThreads(__tstate); | |
10163 | if (PyErr_Occurred()) SWIG_fail; | |
10164 | } | |
10165 | { | |
10166 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10167 | } | |
10168 | { | |
10169 | if (temp2) | |
10170 | delete arg2; | |
10171 | } | |
10172 | return resultobj; | |
10173 | fail: | |
10174 | { | |
10175 | if (temp2) | |
10176 | delete arg2; | |
10177 | } | |
10178 | return NULL; | |
10179 | } | |
10180 | ||
10181 | ||
10182 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10183 | PyObject *resultobj; | |
10184 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10185 | wxString *arg2 = 0 ; | |
10186 | bool temp2 = False ; | |
10187 | PyObject * obj0 = 0 ; | |
10188 | PyObject * obj1 = 0 ; | |
10189 | char *kwnames[] = { | |
10190 | (char *) "self",(char *) "x", NULL | |
10191 | }; | |
10192 | ||
10193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
10194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10196 | { | |
10197 | arg2 = wxString_in_helper(obj1); | |
10198 | if (arg2 == NULL) SWIG_fail; | |
10199 | temp2 = True; | |
10200 | } | |
10201 | { | |
10202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10203 | (arg1)->Display((wxString const &)*arg2); | |
10204 | ||
10205 | wxPyEndAllowThreads(__tstate); | |
10206 | if (PyErr_Occurred()) SWIG_fail; | |
10207 | } | |
10208 | Py_INCREF(Py_None); resultobj = Py_None; | |
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_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10224 | PyObject *resultobj; | |
10225 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10226 | int arg2 ; | |
10227 | PyObject * obj0 = 0 ; | |
10228 | PyObject * obj1 = 0 ; | |
10229 | char *kwnames[] = { | |
10230 | (char *) "self",(char *) "id", NULL | |
10231 | }; | |
10232 | ||
10233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; | |
10234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10236 | arg2 = (int) SWIG_AsInt(obj1); | |
10237 | if (PyErr_Occurred()) SWIG_fail; | |
10238 | { | |
10239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10240 | (arg1)->Display(arg2); | |
10241 | ||
10242 | wxPyEndAllowThreads(__tstate); | |
10243 | if (PyErr_Occurred()) SWIG_fail; | |
10244 | } | |
10245 | Py_INCREF(Py_None); resultobj = Py_None; | |
10246 | return resultobj; | |
10247 | fail: | |
10248 | return NULL; | |
10249 | } | |
10250 | ||
10251 | ||
10252 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10253 | PyObject *resultobj; | |
10254 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10255 | PyObject * obj0 = 0 ; | |
10256 | char *kwnames[] = { | |
10257 | (char *) "self", NULL | |
10258 | }; | |
10259 | ||
10260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
10261 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10263 | { | |
10264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10265 | (arg1)->DisplayContents(); | |
10266 | ||
10267 | wxPyEndAllowThreads(__tstate); | |
10268 | if (PyErr_Occurred()) SWIG_fail; | |
10269 | } | |
10270 | Py_INCREF(Py_None); resultobj = Py_None; | |
10271 | return resultobj; | |
10272 | fail: | |
10273 | return NULL; | |
10274 | } | |
10275 | ||
10276 | ||
10277 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10278 | PyObject *resultobj; | |
10279 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10280 | PyObject * obj0 = 0 ; | |
10281 | char *kwnames[] = { | |
10282 | (char *) "self", NULL | |
10283 | }; | |
10284 | ||
10285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
10286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10288 | { | |
10289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10290 | (arg1)->DisplayIndex(); | |
10291 | ||
10292 | wxPyEndAllowThreads(__tstate); | |
10293 | if (PyErr_Occurred()) SWIG_fail; | |
10294 | } | |
10295 | Py_INCREF(Py_None); resultobj = Py_None; | |
10296 | return resultobj; | |
10297 | fail: | |
10298 | return NULL; | |
10299 | } | |
10300 | ||
10301 | ||
10302 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10303 | PyObject *resultobj; | |
10304 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10305 | wxString *arg2 = 0 ; | |
10306 | bool result; | |
10307 | bool temp2 = False ; | |
10308 | PyObject * obj0 = 0 ; | |
10309 | PyObject * obj1 = 0 ; | |
10310 | char *kwnames[] = { | |
10311 | (char *) "self",(char *) "keyword", NULL | |
10312 | }; | |
10313 | ||
10314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
10315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10317 | { | |
10318 | arg2 = wxString_in_helper(obj1); | |
10319 | if (arg2 == NULL) SWIG_fail; | |
10320 | temp2 = True; | |
10321 | } | |
10322 | { | |
10323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10324 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
10325 | ||
10326 | wxPyEndAllowThreads(__tstate); | |
10327 | if (PyErr_Occurred()) SWIG_fail; | |
10328 | } | |
10329 | { | |
10330 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10331 | } | |
10332 | { | |
10333 | if (temp2) | |
10334 | delete arg2; | |
10335 | } | |
10336 | return resultobj; | |
10337 | fail: | |
10338 | { | |
10339 | if (temp2) | |
10340 | delete arg2; | |
10341 | } | |
10342 | return NULL; | |
10343 | } | |
10344 | ||
10345 | ||
10346 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10347 | PyObject *resultobj; | |
10348 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10349 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10350 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10351 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10352 | bool temp3 = False ; | |
10353 | PyObject * obj0 = 0 ; | |
10354 | PyObject * obj1 = 0 ; | |
10355 | PyObject * obj2 = 0 ; | |
10356 | char *kwnames[] = { | |
10357 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
10358 | }; | |
10359 | ||
10360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10363 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10365 | if (obj2) { | |
10366 | { | |
10367 | arg3 = wxString_in_helper(obj2); | |
10368 | if (arg3 == NULL) SWIG_fail; | |
10369 | temp3 = True; | |
10370 | } | |
10371 | } | |
10372 | { | |
10373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10374 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
10375 | ||
10376 | wxPyEndAllowThreads(__tstate); | |
10377 | if (PyErr_Occurred()) SWIG_fail; | |
10378 | } | |
10379 | Py_INCREF(Py_None); resultobj = Py_None; | |
10380 | { | |
10381 | if (temp3) | |
10382 | delete arg3; | |
10383 | } | |
10384 | return resultobj; | |
10385 | fail: | |
10386 | { | |
10387 | if (temp3) | |
10388 | delete arg3; | |
10389 | } | |
10390 | return NULL; | |
10391 | } | |
10392 | ||
10393 | ||
10394 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10395 | PyObject *resultobj; | |
10396 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10397 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10398 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10399 | PyObject * obj0 = 0 ; | |
10400 | PyObject * obj1 = 0 ; | |
10401 | PyObject * obj2 = 0 ; | |
10402 | char *kwnames[] = { | |
10403 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10404 | }; | |
10405 | ||
10406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10407 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10408 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10409 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10411 | if (obj2) { | |
10412 | { | |
10413 | wxString* sptr = wxString_in_helper(obj2); | |
10414 | if (sptr == NULL) SWIG_fail; | |
10415 | arg3 = *sptr; | |
10416 | delete sptr; | |
10417 | } | |
10418 | } | |
10419 | { | |
10420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10421 | (arg1)->ReadCustomization(arg2,arg3); | |
10422 | ||
10423 | wxPyEndAllowThreads(__tstate); | |
10424 | if (PyErr_Occurred()) SWIG_fail; | |
10425 | } | |
10426 | Py_INCREF(Py_None); resultobj = Py_None; | |
10427 | return resultobj; | |
10428 | fail: | |
10429 | return NULL; | |
10430 | } | |
10431 | ||
10432 | ||
10433 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10434 | PyObject *resultobj; | |
10435 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10436 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
10437 | wxString arg3 = (wxString) wxPyEmptyString ; | |
10438 | PyObject * obj0 = 0 ; | |
10439 | PyObject * obj1 = 0 ; | |
10440 | PyObject * obj2 = 0 ; | |
10441 | char *kwnames[] = { | |
10442 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
10443 | }; | |
10444 | ||
10445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10448 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase, | |
10449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10450 | if (obj2) { | |
10451 | { | |
10452 | wxString* sptr = wxString_in_helper(obj2); | |
10453 | if (sptr == NULL) SWIG_fail; | |
10454 | arg3 = *sptr; | |
10455 | delete sptr; | |
10456 | } | |
10457 | } | |
10458 | { | |
10459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10460 | (arg1)->WriteCustomization(arg2,arg3); | |
10461 | ||
10462 | wxPyEndAllowThreads(__tstate); | |
10463 | if (PyErr_Occurred()) SWIG_fail; | |
10464 | } | |
10465 | Py_INCREF(Py_None); resultobj = Py_None; | |
10466 | return resultobj; | |
10467 | fail: | |
10468 | return NULL; | |
10469 | } | |
10470 | ||
10471 | ||
10472 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10473 | PyObject *resultobj; | |
10474 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
10475 | wxHtmlHelpFrame *result; | |
10476 | PyObject * obj0 = 0 ; | |
10477 | char *kwnames[] = { | |
10478 | (char *) "self", NULL | |
10479 | }; | |
10480 | ||
10481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
10482 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlHelpController, | |
10483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10484 | { | |
10485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10486 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
10487 | ||
10488 | wxPyEndAllowThreads(__tstate); | |
10489 | if (PyErr_Occurred()) SWIG_fail; | |
10490 | } | |
10491 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
10492 | return resultobj; | |
10493 | fail: | |
10494 | return NULL; | |
10495 | } | |
10496 | ||
10497 | ||
10498 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
10499 | PyObject *obj; | |
10500 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10501 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
10502 | Py_INCREF(obj); | |
10503 | return Py_BuildValue((char *)""); | |
10504 | } | |
10505 | static PyMethodDef SwigMethods[] = { | |
10506 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
10507 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
10508 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
10509 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
10510 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10511 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
10512 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10513 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
10514 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10515 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
10516 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
10517 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
10518 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
10519 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
10520 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
10521 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
10522 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
10523 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
10524 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
10525 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
10526 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
10527 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
10528 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
10529 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
10530 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10531 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
10532 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10533 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10534 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
10535 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
10536 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
10537 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
10538 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
10539 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
10540 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
10541 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10542 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
10543 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
10544 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
10545 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
10546 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
10547 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
10548 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
10549 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
10550 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
10551 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
10552 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
10553 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
10554 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
10555 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
10556 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10557 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10558 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
10559 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
10560 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
10561 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
10562 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
10563 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
10564 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
10565 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
10566 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10567 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10568 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
10569 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10570 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
10571 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
10572 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10573 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10574 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
10575 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10576 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
10577 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
10578 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
10579 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
10580 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
10581 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
10582 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
10583 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
10584 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
10585 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
10586 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10588 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10589 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10590 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10591 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
10593 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
10594 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
10595 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
10596 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
10597 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
10598 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
10599 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
10600 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10601 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10602 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
10603 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
10604 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10605 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
10606 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
10607 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
10608 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
10609 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10612 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10613 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10614 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10615 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
10616 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
10617 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
10618 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
10619 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
10620 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
10621 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
10622 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
10623 | { (char *)"HtmlCell_GetMaxTotalWidth", (PyCFunction) _wrap_HtmlCell_GetMaxTotalWidth, METH_VARARGS | METH_KEYWORDS }, | |
10624 | { (char *)"HtmlCell_GetId", (PyCFunction) _wrap_HtmlCell_GetId, METH_VARARGS | METH_KEYWORDS }, | |
10625 | { (char *)"HtmlCell_SetId", (PyCFunction) _wrap_HtmlCell_SetId, METH_VARARGS | METH_KEYWORDS }, | |
10626 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
10627 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
10628 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
10629 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
10630 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10631 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
10632 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
10633 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
10634 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
10635 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
10636 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
10637 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
10638 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
10639 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
10640 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
10641 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
10642 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
10643 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
10644 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
10645 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
10646 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
10647 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
10649 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
10650 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
10651 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
10652 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
10653 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
10654 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
10655 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
10657 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
10658 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
10659 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
10660 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10661 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10662 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
10667 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
10668 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
10672 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
10673 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
10674 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
10676 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
10678 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
10679 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
10681 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
10682 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
10683 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
10684 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
10687 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
10688 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
10689 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
10690 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
10693 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
10694 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
10695 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10696 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10697 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
10698 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10699 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
10701 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
10702 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
10704 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
10705 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
10706 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
10707 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10708 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
10710 | { (char *)"HtmlWindow_SelectWord", (PyCFunction) _wrap_HtmlWindow_SelectWord, METH_VARARGS | METH_KEYWORDS }, | |
10711 | { (char *)"HtmlWindow_SelectLine", (PyCFunction) _wrap_HtmlWindow_SelectLine, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { (char *)"HtmlWindow_SelectAll", (PyCFunction) _wrap_HtmlWindow_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10713 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10715 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
10716 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
10717 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
10718 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
10719 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
10720 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
10721 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
10722 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
10723 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
10726 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
10727 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
10728 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
10729 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
10730 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
10732 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10733 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10734 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
10735 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
10736 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
10737 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
10738 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
10739 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
10740 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
10743 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
10744 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
10750 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
10751 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
10752 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
10753 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10754 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
10755 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
10756 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
10757 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
10758 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
10760 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
10762 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
10764 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
10769 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
10770 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
10777 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
10779 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
10789 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
10792 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
10793 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10800 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
10801 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
10802 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
10803 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
10804 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
10805 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
10806 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
10807 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
10808 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
10809 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
10810 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
10811 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
10812 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10813 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
10814 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
10815 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
10816 | { NULL, NULL } | |
10817 | }; | |
10818 | ||
10819 | ||
10820 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
10821 | ||
10822 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
10823 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
10824 | } | |
10825 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
10826 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
10827 | } | |
10828 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
10829 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
10830 | } | |
10831 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
10832 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10833 | } | |
10834 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
10835 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10836 | } | |
10837 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
10838 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10839 | } | |
10840 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
10841 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10842 | } | |
10843 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
10844 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10845 | } | |
10846 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
10847 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
10848 | } | |
10849 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
10850 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10851 | } | |
10852 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
10853 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
10854 | } | |
10855 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
10856 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10857 | } | |
10858 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
10859 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10860 | } | |
10861 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
10862 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10863 | } | |
10864 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
10865 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10866 | } | |
10867 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
10868 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10869 | } | |
10870 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
10871 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10872 | } | |
10873 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
10874 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
10875 | } | |
10876 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
10877 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
10878 | } | |
10879 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
10880 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10881 | } | |
10882 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
10883 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10884 | } | |
10885 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
10886 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10887 | } | |
10888 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
10889 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10890 | } | |
10891 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
10892 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10893 | } | |
10894 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
10895 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10896 | } | |
10897 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
10898 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10899 | } | |
10900 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
10901 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
10902 | } | |
10903 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
10904 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
10905 | } | |
10906 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
10907 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
10908 | } | |
10909 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
10910 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10911 | } | |
10912 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
10913 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10914 | } | |
10915 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
10916 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10917 | } | |
10918 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
10919 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
10920 | } | |
10921 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
10922 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10923 | } | |
10924 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
10925 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
10926 | } | |
10927 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
10928 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
10929 | } | |
10930 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
10931 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
10932 | } | |
10933 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
10934 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
10935 | } | |
10936 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
10937 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
10938 | } | |
10939 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
10940 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10941 | } | |
10942 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
10943 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10944 | } | |
10945 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
10946 | return (void *)((wxWindow *) ((wxControl *) x)); | |
10947 | } | |
10948 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
10949 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10950 | } | |
10951 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
10952 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10953 | } | |
10954 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
10955 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10956 | } | |
10957 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
10958 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
10959 | } | |
10960 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
10961 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
10962 | } | |
10963 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
10964 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10965 | } | |
10966 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
10967 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10968 | } | |
10969 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
10970 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10971 | } | |
10972 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
10973 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
10974 | } | |
10975 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
10976 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10977 | } | |
10978 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
10979 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10980 | } | |
10981 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
10982 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
10983 | } | |
10984 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
10985 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10986 | } | |
10987 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
10988 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10989 | } | |
10990 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
10991 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10992 | } | |
10993 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
10994 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
10995 | } | |
10996 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
10997 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10998 | } | |
10999 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
11000 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11001 | } | |
11002 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
11003 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11004 | } | |
11005 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
11006 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
11007 | } | |
11008 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
11009 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
11010 | } | |
11011 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
11012 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
11013 | } | |
11014 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
11015 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
11016 | } | |
11017 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
11018 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
11019 | } | |
11020 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
11021 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
11022 | } | |
11023 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
11024 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
11025 | } | |
11026 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
11027 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
11028 | } | |
11029 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
11030 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
11031 | } | |
11032 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
11033 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
11034 | } | |
11035 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
11036 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
11037 | } | |
11038 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
11039 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
11040 | } | |
11041 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
11042 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
11043 | } | |
11044 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
11045 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
11046 | } | |
11047 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
11048 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
11049 | } | |
11050 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11051 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11052 | } | |
11053 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
11054 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11055 | } | |
11056 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
11057 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
11058 | } | |
11059 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
11060 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11061 | } | |
11062 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11063 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
11064 | } | |
11065 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
11066 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11067 | } | |
11068 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
11069 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
11070 | } | |
11071 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
11072 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
11073 | } | |
11074 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
11075 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11076 | } | |
11077 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
11078 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11079 | } | |
11080 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
11081 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
11082 | } | |
11083 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
11084 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
11085 | } | |
11086 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
11087 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
11088 | } | |
11089 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
11090 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
11091 | } | |
11092 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
11093 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
11094 | } | |
11095 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
11096 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
11097 | } | |
11098 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
11099 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
11100 | } | |
11101 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
11102 | return (void *)((wxObject *) ((wxSizer *) x)); | |
11103 | } | |
11104 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
11105 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
11106 | } | |
11107 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
11108 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11109 | } | |
11110 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
11111 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11112 | } | |
11113 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
11114 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11115 | } | |
11116 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
11117 | return (void *)((wxObject *) ((wxEvent *) x)); | |
11118 | } | |
11119 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
11120 | return (void *)((wxObject *) ((wxFontData *) x)); | |
11121 | } | |
11122 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
11123 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
11124 | } | |
11125 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
11126 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
11127 | } | |
11128 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
11129 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
11130 | } | |
11131 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
11132 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
11133 | } | |
11134 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
11135 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
11136 | } | |
11137 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
11138 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
11139 | } | |
11140 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
11141 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11142 | } | |
11143 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
11144 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
11145 | } | |
11146 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
11147 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11148 | } | |
11149 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
11150 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
11151 | } | |
11152 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
11153 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
11154 | } | |
11155 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
11156 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
11157 | } | |
11158 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
11159 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11160 | } | |
11161 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
11162 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11163 | } | |
11164 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
11165 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11166 | } | |
11167 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
11168 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11169 | } | |
11170 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
11171 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11172 | } | |
11173 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
11174 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
11175 | } | |
11176 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
11177 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
11178 | } | |
11179 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
11180 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
11181 | } | |
11182 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
11183 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
11184 | } | |
11185 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
11186 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11187 | } | |
11188 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
11189 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
11190 | } | |
11191 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
11192 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
11193 | } | |
11194 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
11195 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11196 | } | |
11197 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
11198 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11199 | } | |
11200 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
11201 | return (void *)((wxObject *) ((wxColourData *) x)); | |
11202 | } | |
11203 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
11204 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
11205 | } | |
11206 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
11207 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11208 | } | |
11209 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
11210 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
11211 | } | |
11212 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
11213 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11214 | } | |
11215 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
11216 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11217 | } | |
11218 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
11219 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11220 | } | |
11221 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
11222 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11223 | } | |
11224 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
11225 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11226 | } | |
11227 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
11228 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11229 | } | |
11230 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
11231 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11232 | } | |
11233 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
11234 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11235 | } | |
11236 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
11237 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
11238 | } | |
11239 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
11240 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
11241 | } | |
11242 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
11243 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
11244 | } | |
11245 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
11246 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
11247 | } | |
11248 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
11249 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11250 | } | |
11251 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
11252 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11253 | } | |
11254 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
11255 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
11256 | } | |
11257 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
11258 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
11259 | } | |
11260 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
11261 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
11262 | } | |
11263 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
11264 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
11265 | } | |
11266 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
11267 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
11268 | } | |
11269 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
11270 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
11271 | } | |
11272 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
11273 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
11274 | } | |
11275 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
11276 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
11277 | } | |
11278 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
11279 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
11280 | } | |
11281 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
11282 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
11283 | } | |
11284 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
11285 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
11286 | } | |
11287 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
11288 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
11289 | } | |
11290 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
11291 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
11292 | } | |
11293 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
11294 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
11295 | } | |
11296 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
11297 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
11298 | } | |
11299 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
11300 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
11301 | } | |
11302 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
11303 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
11304 | } | |
11305 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
11306 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
11307 | } | |
11308 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
11309 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
11310 | } | |
11311 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
11312 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
11313 | } | |
11314 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
11315 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
11316 | } | |
11317 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
11318 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11319 | } | |
11320 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
11321 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11322 | } | |
11323 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
11324 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11325 | } | |
11326 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
11327 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
11328 | } | |
11329 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
11330 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11331 | } | |
11332 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
11333 | return (void *)((wxObject *) ((wxImage *) x)); | |
11334 | } | |
11335 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
11336 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11337 | } | |
11338 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
11339 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
11340 | } | |
11341 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
11342 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11343 | } | |
11344 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
11345 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
11346 | } | |
11347 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
11348 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
11349 | } | |
11350 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
11351 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
11352 | } | |
11353 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
11354 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
11355 | } | |
11356 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
11357 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11358 | } | |
11359 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
11360 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11361 | } | |
11362 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
11363 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11364 | } | |
11365 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
11366 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11367 | } | |
11368 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
11369 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
11370 | } | |
11371 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
11372 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
11373 | } | |
11374 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
11375 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
11376 | } | |
11377 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
11378 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
11379 | } | |
11380 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
11381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11382 | } | |
11383 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
11384 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
11385 | } | |
11386 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
11387 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
11388 | } | |
11389 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
11390 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
11391 | } | |
11392 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
11393 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
11394 | } | |
11395 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
11396 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11397 | } | |
11398 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
11399 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
11400 | } | |
11401 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
11402 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11403 | } | |
11404 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
11405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
11406 | } | |
11407 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
11408 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11409 | } | |
11410 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
11411 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
11412 | } | |
11413 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
11414 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11415 | } | |
11416 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
11417 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11418 | } | |
11419 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
11420 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
11421 | } | |
11422 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
11423 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
11424 | } | |
11425 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
11426 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
11427 | } | |
11428 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
11429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
11430 | } | |
11431 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
11432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11433 | } | |
11434 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
11435 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11436 | } | |
11437 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
11438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11439 | } | |
11440 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
11441 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11442 | } | |
11443 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
11444 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11445 | } | |
11446 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
11447 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11448 | } | |
11449 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
11450 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
11451 | } | |
11452 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
11453 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
11454 | } | |
11455 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
11456 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
11457 | } | |
11458 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
11459 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11460 | } | |
11461 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
11462 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
11463 | } | |
11464 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
11465 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11466 | } | |
11467 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
11468 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
11469 | } | |
11470 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
11471 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
11472 | } | |
11473 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
11474 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
11475 | } | |
11476 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
11477 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
11478 | } | |
11479 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
11480 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11481 | } | |
11482 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
11483 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
11484 | } | |
11485 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
11486 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11487 | } | |
11488 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
11489 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11490 | } | |
11491 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
11492 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
11493 | } | |
11494 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
11495 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
11496 | } | |
11497 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
11498 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
11499 | } | |
11500 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
11501 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11502 | } | |
11503 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
11504 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11505 | } | |
11506 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
11507 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11508 | } | |
11509 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
11510 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
11511 | } | |
11512 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
11513 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
11514 | } | |
11515 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
11516 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
11517 | } | |
11518 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
11519 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
11520 | } | |
11521 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
11522 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
11523 | } | |
11524 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
11525 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11526 | } | |
11527 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
11528 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11529 | } | |
11530 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
11531 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
11532 | } | |
11533 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
11534 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
11535 | } | |
11536 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
11537 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
11538 | } | |
11539 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
11540 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
11541 | } | |
11542 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
11543 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
11544 | } | |
11545 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
11546 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11547 | } | |
11548 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11549 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11550 | } | |
11551 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
11552 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11553 | } | |
11554 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
11555 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11556 | } | |
11557 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
11558 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11559 | } | |
11560 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
11561 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11562 | } | |
11563 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
11564 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11565 | } | |
11566 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
11567 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
11568 | } | |
11569 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
11570 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
11571 | } | |
11572 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11573 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11574 | } | |
11575 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
11576 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
11577 | } | |
11578 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
11579 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11580 | } | |
11581 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
11582 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
11583 | } | |
11584 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
11585 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11586 | } | |
11587 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
11588 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
11589 | } | |
11590 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
11591 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
11592 | } | |
11593 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
11594 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
11595 | } | |
11596 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
11597 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
11598 | } | |
11599 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11600 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
11601 | } | |
11602 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
11603 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
11604 | } | |
11605 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
11606 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
11607 | } | |
11608 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
11609 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11610 | } | |
11611 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
11612 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
11613 | } | |
11614 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
11615 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
11616 | } | |
11617 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
11618 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11619 | } | |
11620 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
11621 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11622 | } | |
11623 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
11624 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11625 | } | |
11626 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
11627 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
11628 | } | |
11629 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
11630 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11631 | } | |
11632 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
11633 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
11634 | } | |
11635 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
11636 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11637 | } | |
11638 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
11639 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
11640 | } | |
11641 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
11642 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11643 | } | |
11644 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
11645 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11646 | } | |
11647 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
11648 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
11649 | } | |
11650 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
11651 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11652 | } | |
11653 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
11654 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
11655 | } | |
11656 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
11657 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11658 | } | |
11659 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
11660 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
11661 | } | |
11662 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
11663 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11664 | } | |
11665 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
11666 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11667 | } | |
11668 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
11669 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11670 | } | |
11671 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
11672 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
11673 | } | |
11674 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
11675 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
11676 | } | |
11677 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
11678 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
11679 | } | |
11680 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
11681 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11682 | } | |
11683 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
11684 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
11685 | } | |
11686 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
11687 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
11688 | } | |
11689 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
11690 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
11691 | } | |
11692 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
11693 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
11694 | } | |
11695 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
11696 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11697 | } | |
11698 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
11699 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
11700 | } | |
11701 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
11702 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
11703 | } | |
11704 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
11705 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
11706 | } | |
11707 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
11708 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
11709 | } | |
11710 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
11711 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
11712 | } | |
11713 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
11714 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
11715 | } | |
11716 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
11717 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
11718 | } | |
11719 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
11720 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
11721 | } | |
11722 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
11723 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
11724 | } | |
11725 | 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}}; | |
11726 | 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}}; | |
11727 | 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}}; | |
11728 | 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}}; | |
11729 | 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}}; | |
11730 | 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}}; | |
11731 | 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}}; | |
11732 | 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}}; | |
11733 | 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}}; | |
11734 | 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}}; | |
11735 | 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}}; | |
11736 | 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}}; | |
11737 | 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}}; | |
11738 | 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}}; | |
11739 | 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}}; | |
11740 | 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}}; | |
11741 | 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}}; | |
11742 | 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_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_wxTipWindow", _p_wxTipWindowTo_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}}; | |
11743 | 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_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_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}}; | |
11744 | 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}}; | |
11745 | 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}}; | |
11746 | 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}}; | |
11747 | 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}}; | |
11748 | 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}}; | |
11749 | 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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}}; | |
11750 | 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}}; | |
11751 | 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}}; | |
11752 | 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}}; | |
11753 | 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}}; | |
11754 | 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_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_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}}; | |
11755 | 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}}; | |
11756 | 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}}; | |
11757 | 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}}; | |
11758 | 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}}; | |
11759 | 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}}; | |
11760 | 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}}; | |
11761 | 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}}; | |
11762 | 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}}; | |
11763 | 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}}; | |
11764 | 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}}; | |
11765 | 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}}; | |
11766 | 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}}; | |
11767 | 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}}; | |
11768 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
11769 | 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}}; | |
11770 | 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}}; | |
11771 | 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}}; | |
11772 | 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}}; | |
11773 | 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}}; | |
11774 | 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}}; | |
11775 | 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}}; | |
11776 | 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}}; | |
11777 | ||
11778 | static swig_type_info *swig_types_initial[] = { | |
11779 | _swigt__p_wxHtmlDCRenderer, | |
11780 | _swigt__p_wxColour, | |
11781 | _swigt__p_wxPageSetupDialogData, | |
11782 | _swigt__p_wxDC, | |
11783 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
11784 | _swigt__p_wxHtmlRenderingStyle, | |
11785 | _swigt__p_wxMouseEvent, | |
11786 | _swigt__p_wxHtmlWordCell, | |
11787 | _swigt__p_wxHtmlHelpData, | |
11788 | _swigt__p_char, | |
11789 | _swigt__p_wxHtmlWinParser, | |
11790 | _swigt__p_wxHtmlParser, | |
11791 | _swigt__p_wxPanel, | |
11792 | _swigt__p_wxFont, | |
11793 | _swigt__p_wxHtmlColourCell, | |
11794 | _swigt__p_wxPyHtmlWindow, | |
11795 | _swigt__p_wxScrolledWindow, | |
11796 | _swigt__p_wxWindow, | |
11797 | _swigt__p_wxTopLevelWindow, | |
11798 | _swigt__p_wxHtmlFontCell, | |
11799 | _swigt__p_wxHtmlEasyPrinting, | |
11800 | _swigt__p_wxHtmlSelection, | |
11801 | _swigt__p_wxHtmlRenderingInfo, | |
11802 | _swigt__p_wxHtmlWidgetCell, | |
11803 | _swigt__p_wxObject, | |
11804 | _swigt__p_wxString, | |
11805 | _swigt__p_wxPyHtmlWinTagHandler, | |
11806 | _swigt__p_wxHtmlTagHandler, | |
11807 | _swigt__p_wxPyHtmlTagHandler, | |
11808 | _swigt__p_wxEvtHandler, | |
11809 | _swigt__p_wxPoint, | |
11810 | _swigt__p_wxHtmlHelpController, | |
11811 | _swigt__p_wxCursor, | |
11812 | _swigt__p_wxFileSystem, | |
11813 | _swigt__p_wxHtmlBookRecArray, | |
11814 | _swigt__p_wxPyPrintout, | |
11815 | _swigt__p_wxHtmlPrintout, | |
11816 | _swigt__p_wxHtmlSearchStatus, | |
11817 | _swigt__p_wxHtmlContentsItem, | |
11818 | _swigt__p_wxConfigBase, | |
11819 | _swigt__p_wxPrintData, | |
11820 | _swigt__p_wxHtmlHelpFrame, | |
11821 | _swigt__p_wxHtmlRenderingState, | |
11822 | _swigt__p_wxFrame, | |
11823 | _swigt__p_wxPyHtmlFilter, | |
11824 | _swigt__p_wxHtmlFilter, | |
11825 | _swigt__p_wxHtmlCell, | |
11826 | _swigt__p_wxHtmlContainerCell, | |
11827 | _swigt__p_wxHtmlTag, | |
11828 | _swigt__p_wxHtmlLinkInfo, | |
11829 | _swigt__p_int, | |
11830 | _swigt__p_wxHtmlBookRecord, | |
11831 | 0 | |
11832 | }; | |
11833 | ||
11834 | ||
11835 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
11836 | ||
11837 | static swig_const_info swig_const_table[] = { | |
11838 | {0}}; | |
11839 | ||
11840 | #ifdef __cplusplus | |
11841 | } | |
11842 | #endif | |
11843 | ||
11844 | #ifdef __cplusplus | |
11845 | extern "C" | |
11846 | #endif | |
11847 | SWIGEXPORT(void) SWIG_init(void) { | |
11848 | static PyObject *SWIG_globals = 0; | |
11849 | static int typeinit = 0; | |
11850 | PyObject *m, *d; | |
11851 | int i; | |
11852 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
11853 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
11854 | d = PyModule_GetDict(m); | |
11855 | ||
11856 | if (!typeinit) { | |
11857 | for (i = 0; swig_types_initial[i]; i++) { | |
11858 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
11859 | } | |
11860 | typeinit = 1; | |
11861 | } | |
11862 | SWIG_InstallConstants(d,swig_const_table); | |
11863 | ||
11864 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
11865 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
11866 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
11867 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
11868 | PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_FromInt((int)wxHTML_ALIGN_LEFT)); | |
11869 | PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_FromInt((int)wxHTML_ALIGN_CENTER)); | |
11870 | PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_FromInt((int)wxHTML_ALIGN_RIGHT)); | |
11871 | PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_FromInt((int)wxHTML_ALIGN_BOTTOM)); | |
11872 | PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_FromInt((int)wxHTML_ALIGN_TOP)); | |
11873 | PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_FromInt((int)wxHTML_CLR_FOREGROUND)); | |
11874 | PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_FromInt((int)wxHTML_CLR_BACKGROUND)); | |
11875 | PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_FromInt((int)wxHTML_UNITS_PIXELS)); | |
11876 | PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_FromInt((int)wxHTML_UNITS_PERCENT)); | |
11877 | PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_FromInt((int)wxHTML_INDENT_LEFT)); | |
11878 | PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_FromInt((int)wxHTML_INDENT_RIGHT)); | |
11879 | PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_FromInt((int)wxHTML_INDENT_TOP)); | |
11880 | PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_FromInt((int)wxHTML_INDENT_BOTTOM)); | |
11881 | PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_FromInt((int)wxHTML_INDENT_HORIZONTAL)); | |
11882 | PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_FromInt((int)wxHTML_INDENT_VERTICAL)); | |
11883 | PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_FromInt((int)wxHTML_INDENT_ALL)); | |
11884 | PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_FromInt((int)wxHTML_COND_ISANCHOR)); | |
11885 | PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_FromInt((int)wxHTML_COND_ISIMAGEMAP)); | |
11886 | PyDict_SetItemString(d,"HTML_COND_USER", SWIG_FromInt((int)wxHTML_COND_USER)); | |
11887 | PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_FromInt((int)wxHTML_FONT_SIZE_1)); | |
11888 | PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_FromInt((int)wxHTML_FONT_SIZE_2)); | |
11889 | PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_FromInt((int)wxHTML_FONT_SIZE_3)); | |
11890 | PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_FromInt((int)wxHTML_FONT_SIZE_4)); | |
11891 | PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_FromInt((int)wxHTML_FONT_SIZE_5)); | |
11892 | PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_FromInt((int)wxHTML_FONT_SIZE_6)); | |
11893 | PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_FromInt((int)wxHTML_FONT_SIZE_7)); | |
11894 | PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_FromInt((int)wxHW_SCROLLBAR_NEVER)); | |
11895 | PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_FromInt((int)wxHW_SCROLLBAR_AUTO)); | |
11896 | PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_FromInt((int)wxHW_NO_SELECTION)); | |
11897 | PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_FromInt((int)wxHW_DEFAULT_STYLE)); | |
11898 | PyDict_SetItemString(d,"HTML_OPEN", SWIG_FromInt((int)wxHTML_OPEN)); | |
11899 | PyDict_SetItemString(d,"HTML_BLOCK", SWIG_FromInt((int)wxHTML_BLOCK)); | |
11900 | PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_FromInt((int)wxHTML_REDIRECT)); | |
11901 | PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_FromInt((int)wxHTML_URL_PAGE)); | |
11902 | PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_FromInt((int)wxHTML_URL_IMAGE)); | |
11903 | PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_FromInt((int)wxHTML_URL_OTHER)); | |
11904 | PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_FromInt((int)wxHTML_SEL_OUT)); | |
11905 | PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_FromInt((int)wxHTML_SEL_IN)); | |
11906 | PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_FromInt((int)wxHTML_SEL_CHANGING)); | |
11907 | PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_FromInt((int)wxHTML_FIND_EXACT)); | |
11908 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_FromInt((int)wxHTML_FIND_NEAREST_BEFORE)); | |
11909 | PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_FromInt((int)wxHTML_FIND_NEAREST_AFTER)); | |
11910 | PyDict_SetItemString(d,"PAGE_ODD", SWIG_FromInt((int)wxPAGE_ODD)); | |
11911 | PyDict_SetItemString(d,"PAGE_EVEN", SWIG_FromInt((int)wxPAGE_EVEN)); | |
11912 | PyDict_SetItemString(d,"PAGE_ALL", SWIG_FromInt((int)wxPAGE_ALL)); | |
11913 | PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_FromInt((int)wxHF_TOOLBAR)); | |
11914 | PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_FromInt((int)wxHF_FLATTOOLBAR)); | |
11915 | PyDict_SetItemString(d,"HF_CONTENTS", SWIG_FromInt((int)wxHF_CONTENTS)); | |
11916 | PyDict_SetItemString(d,"HF_INDEX", SWIG_FromInt((int)wxHF_INDEX)); | |
11917 | PyDict_SetItemString(d,"HF_SEARCH", SWIG_FromInt((int)wxHF_SEARCH)); | |
11918 | PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_FromInt((int)wxHF_BOOKMARKS)); | |
11919 | PyDict_SetItemString(d,"HF_OPENFILES", SWIG_FromInt((int)wxHF_OPENFILES)); | |
11920 | PyDict_SetItemString(d,"HF_PRINT", SWIG_FromInt((int)wxHF_PRINT)); | |
11921 | PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_FromInt((int)wxHF_DEFAULTSTYLE)); | |
11922 | ||
11923 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
11924 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
11925 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
11926 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
11927 | ||
11928 | } | |
11929 |