]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.20 | |
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 | ||
49 | ||
50 | /*********************************************************************** | |
51 | * common.swg for wxPython | |
52 | * | |
53 | * Include only the function prototypes and such from SWIG's common.swg, | |
54 | * but not the runtime functions themselves. This helps keep the | |
55 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
56 | * anyway. | |
57 | * | |
58 | ************************************************************************/ | |
59 | ||
60 | #include <string.h> | |
61 | ||
62 | #if defined(_WIN32) || defined(__WIN32__) | |
63 | # if defined(_MSC_VER) | |
64 | # if defined(STATIC_LINKED) | |
65 | # define SWIGEXPORT(a) a | |
66 | # define SWIGIMPORT(a) extern a | |
67 | # else | |
68 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # endif | |
71 | # else | |
72 | # if defined(__BORLANDC__) | |
73 | # define SWIGEXPORT(a) a _export | |
74 | # define SWIGIMPORT(a) a _export | |
75 | # else | |
76 | # define SWIGEXPORT(a) a | |
77 | # define SWIGIMPORT(a) a | |
78 | # endif | |
79 | # endif | |
80 | #else | |
81 | # define SWIGEXPORT(a) a | |
82 | # define SWIGIMPORT(a) a | |
83 | #endif | |
84 | ||
85 | #ifdef SWIG_GLOBAL | |
86 | #define SWIGRUNTIME(a) SWIGEXPORT(a) | |
87 | #else | |
88 | #define SWIGRUNTIME(a) static a | |
89 | #endif | |
90 | ||
91 | ||
92 | #ifdef __cplusplus | |
93 | extern "C" { | |
94 | #endif | |
95 | ||
96 | typedef void *(*swig_converter_func)(void *); | |
97 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
98 | ||
99 | typedef struct swig_type_info { | |
100 | const char *name; | |
101 | swig_converter_func converter; | |
102 | const char *str; | |
103 | void *clientdata; | |
104 | swig_dycast_func dcast; | |
105 | struct swig_type_info *next; | |
106 | struct swig_type_info *prev; | |
107 | } swig_type_info; | |
108 | ||
109 | ||
110 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
112 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
114 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
116 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
117 | ||
118 | ||
119 | #ifdef __cplusplus | |
120 | } | |
121 | #endif | |
122 | ||
123 | /*********************************************************************** | |
124 | * pyrun.swg for wxPython | |
125 | * | |
126 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
127 | * but not the runtime functions themselves. This helps keep the | |
128 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
129 | * anyway. | |
130 | * | |
131 | ************************************************************************/ | |
132 | ||
133 | ||
134 | #include "Python.h" | |
135 | ||
136 | #ifdef __cplusplus | |
137 | extern "C" { | |
138 | #endif | |
139 | ||
140 | #define SWIG_PY_INT 1 | |
141 | #define SWIG_PY_FLOAT 2 | |
142 | #define SWIG_PY_STRING 3 | |
143 | #define SWIG_PY_POINTER 4 | |
144 | #define SWIG_PY_BINARY 5 | |
145 | ||
146 | /* Flags for pointer conversion */ | |
147 | ||
148 | #define SWIG_POINTER_EXCEPTION 0x1 | |
149 | #define SWIG_POINTER_DISOWN 0x2 | |
150 | ||
151 | /* Exception handling in wrappers */ | |
152 | #define SWIG_fail goto fail | |
153 | ||
154 | /* Constant information structure */ | |
155 | typedef struct swig_const_info { | |
156 | int type; | |
157 | char *name; | |
158 | long lvalue; | |
159 | double dvalue; | |
160 | void *pvalue; | |
161 | swig_type_info **ptype; | |
162 | } swig_const_info; | |
163 | ||
164 | ||
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_PackData(c, ptr, sz) \ | |
182 | SWIG_Python_PackData(c, ptr, sz) | |
183 | #define SWIG_UnpackData(c, ptr, sz) \ | |
184 | SWIG_Python_UnpackData(c, ptr, sz) | |
185 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
186 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
187 | #define SWIG_InstallConstants(d, constants) \ | |
188 | SWIG_Python_InstallConstants(d, constants) | |
189 | ||
190 | ||
191 | SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
192 | SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
193 | SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
194 | ||
195 | SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void); | |
196 | SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
197 | SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
198 | SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int); | |
199 | SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int); | |
200 | SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
201 | SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
202 | ||
203 | ||
204 | /* Contract support */ | |
205 | ||
206 | #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
207 | #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
208 | ||
209 | #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
210 | #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
211 | ||
212 | #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
213 | #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
214 | #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
215 | ||
216 | #ifdef __cplusplus | |
217 | } | |
218 | #endif | |
219 | ||
220 | ||
221 | ||
222 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
223 | ||
224 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0] | |
225 | #define SWIGTYPE_p_wxColour swig_types[1] | |
226 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2] | |
227 | #define SWIGTYPE_p_wxDC swig_types[3] | |
228 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4] | |
229 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5] | |
230 | #define SWIGTYPE_p_wxMouseEvent swig_types[6] | |
231 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[7] | |
232 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[8] | |
233 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[9] | |
234 | #define SWIGTYPE_p_wxHtmlParser swig_types[10] | |
235 | #define SWIGTYPE_p_wxPanel swig_types[11] | |
236 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[12] | |
237 | #define SWIGTYPE_p_wxFont swig_types[13] | |
238 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[14] | |
239 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15] | |
240 | #define SWIGTYPE_p_wxScrolledWindow swig_types[16] | |
241 | #define SWIGTYPE_p_wxWindow swig_types[17] | |
242 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[18] | |
243 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[19] | |
244 | #define SWIGTYPE_p_wxHtmlSelection swig_types[20] | |
245 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[21] | |
246 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[22] | |
247 | #define SWIGTYPE_p_wxObject swig_types[23] | |
248 | #define SWIGTYPE_p_wxString swig_types[24] | |
249 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[25] | |
250 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[26] | |
251 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[27] | |
252 | #define SWIGTYPE_p_wxEvtHandler swig_types[28] | |
253 | #define SWIGTYPE_p_wxPoint swig_types[29] | |
254 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[30] | |
255 | #define SWIGTYPE_p_wxCursor swig_types[31] | |
256 | #define SWIGTYPE_p_wxFileSystem swig_types[32] | |
257 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[33] | |
258 | #define SWIGTYPE_p_wxPyPrintout swig_types[34] | |
259 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[35] | |
260 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[36] | |
261 | #define SWIGTYPE_p_wxHtmlContentsItem swig_types[37] | |
262 | #define SWIGTYPE_p_wxConfigBase swig_types[38] | |
263 | #define SWIGTYPE_p_wxPrintData swig_types[39] | |
264 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[40] | |
265 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[41] | |
266 | #define SWIGTYPE_p_wxFrame swig_types[42] | |
267 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[43] | |
268 | #define SWIGTYPE_p_wxHtmlFilter swig_types[44] | |
269 | #define SWIGTYPE_p_wxHtmlCell swig_types[45] | |
270 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[46] | |
271 | #define SWIGTYPE_p_wxHtmlTag swig_types[47] | |
272 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[48] | |
273 | #define SWIGTYPE_p_int swig_types[49] | |
274 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[50] | |
275 | static swig_type_info *swig_types[52]; | |
276 | ||
277 | /* -------- TYPES TABLE (END) -------- */ | |
278 | ||
279 | ||
280 | /*----------------------------------------------- | |
281 | @(target):= _html.so | |
282 | ------------------------------------------------*/ | |
283 | #define SWIG_init init_html | |
284 | ||
285 | #define SWIG_name "_html" | |
286 | ||
287 | #include "wx/wxPython/wxPython.h" | |
288 | #include "wx/wxPython/pyclasses.h" | |
289 | #include "wx/wxPython/pyistream.h" | |
290 | #include "wx/wxPython/printfw.h" | |
291 | ||
292 | #include <wx/html/htmlwin.h> | |
293 | #include <wx/html/htmprint.h> | |
294 | #include <wx/html/helpctrl.h> | |
295 | ||
296 | ||
297 | DECLARE_DEF_STRING(EmptyString); | |
298 | static const wxChar* wxHtmlWindowNameStr = wxT("htmlWindow"); | |
299 | DECLARE_DEF_STRING(HtmlWindowNameStr); | |
300 | static const wxChar* wxHtmlPrintoutTitleStr = wxT("Printout"); | |
301 | DECLARE_DEF_STRING(HtmlPrintoutTitleStr); | |
302 | static const wxChar* wxHtmlPrintingTitleStr = wxT("Printing"); | |
303 | DECLARE_DEF_STRING(HtmlPrintingTitleStr); | |
304 | ||
305 | ||
306 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
307 | int* temp = NULL; | |
308 | if (sizes) temp = int_LIST_helper(sizes); | |
309 | self->SetFonts(normal_face, fixed_face, temp); | |
310 | if (temp) | |
311 | delete [] temp; | |
312 | } | |
313 | ||
314 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
315 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
316 | public: | |
317 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
318 | ||
319 | wxHtmlParser* GetParser() { return m_Parser; } | |
320 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
321 | ||
322 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
323 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
324 | ||
325 | PYPRIVATE; | |
326 | }; | |
327 | ||
328 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
329 | ||
330 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
331 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
332 | ||
333 | ||
334 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
335 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
336 | public: | |
337 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
338 | ||
339 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
340 | void ParseInner(const wxHtmlTag& tag) | |
341 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
342 | ||
343 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
344 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
345 | ||
346 | PYPRIVATE; | |
347 | }; | |
348 | ||
349 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
350 | ||
351 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
352 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
353 | ||
354 | ||
355 | ||
356 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
357 | public: | |
358 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
359 | m_tagHandlerClass = thc; | |
360 | Py_INCREF(m_tagHandlerClass); | |
361 | RegisterModule(this); | |
362 | wxHtmlWinParser::AddModule(this); | |
363 | } | |
364 | ||
365 | void OnExit() { | |
366 | wxPyBeginBlockThreads(); | |
367 | Py_DECREF(m_tagHandlerClass); | |
368 | m_tagHandlerClass = NULL; | |
369 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
370 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
371 | Py_DECREF(obj); | |
372 | } | |
373 | wxPyEndBlockThreads(); | |
374 | }; | |
375 | ||
376 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
377 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
378 | ||
379 | // First, make a new instance of the tag handler | |
380 | wxPyBeginBlockThreads(); | |
381 | PyObject* arg = Py_BuildValue("()"); | |
382 | PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL); | |
383 | Py_DECREF(arg); | |
384 | wxPyEndBlockThreads(); | |
385 | ||
386 | // now figure out where it's C++ object is... | |
387 | wxPyHtmlWinTagHandler* thPtr; | |
388 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) | |
389 | return; | |
390 | ||
391 | // add it, | |
392 | parser->AddTagHandler(thPtr); | |
393 | ||
394 | // and track it. | |
395 | m_objArray.Add(obj); | |
396 | } | |
397 | ||
398 | private: | |
399 | PyObject* m_tagHandlerClass; | |
400 | wxArrayPtrVoid m_objArray; | |
401 | ||
402 | }; | |
403 | ||
404 | ||
405 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
406 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
407 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
408 | new wxPyHtmlTagsModule(tagHandlerClass); | |
409 | } | |
410 | ||
411 | ||
412 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
413 | PyObject* o2; | |
414 | PyObject* o3; | |
415 | ||
416 | if (!target) { | |
417 | target = o; | |
418 | } else if (target == Py_None) { | |
419 | Py_DECREF(Py_None); | |
420 | target = o; | |
421 | } else { | |
422 | if (!PyTuple_Check(target)) { | |
423 | o2 = target; | |
424 | target = PyTuple_New(1); | |
425 | PyTuple_SetItem(target, 0, o2); | |
426 | } | |
427 | o3 = PyTuple_New(1); | |
428 | PyTuple_SetItem(o3, 0, o); | |
429 | ||
430 | o2 = target; | |
431 | target = PySequence_Concat(o2, o3); | |
432 | Py_DECREF(o2); | |
433 | Py_DECREF(o3); | |
434 | } | |
435 | return target; | |
436 | } | |
437 | ||
438 | // here's the C++ version | |
439 | class wxPyHtmlFilter : public wxHtmlFilter { | |
440 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
441 | public: | |
442 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
443 | ||
444 | // returns TRUE if this filter is able to open&read given file | |
445 | virtual bool CanRead(const wxFSFile& file) const { | |
446 | bool rval = FALSE; | |
447 | bool found; | |
448 | wxPyBeginBlockThreads(); | |
449 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
450 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
451 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
452 | Py_DECREF(obj); | |
453 | } | |
454 | wxPyEndBlockThreads(); | |
455 | return rval; | |
456 | } | |
457 | ||
458 | ||
459 | // Reads given file and returns HTML document. | |
460 | // Returns empty string if opening failed | |
461 | virtual wxString ReadFile(const wxFSFile& file) const { | |
462 | wxString rval; | |
463 | bool found; | |
464 | wxPyBeginBlockThreads(); | |
465 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
466 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
467 | PyObject* ro; | |
468 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
469 | Py_DECREF(obj); | |
470 | if (ro) { | |
471 | rval = Py2wxString(ro); | |
472 | Py_DECREF(ro); | |
473 | } | |
474 | } | |
475 | wxPyEndBlockThreads(); | |
476 | return rval; | |
477 | } | |
478 | ||
479 | PYPRIVATE; | |
480 | }; | |
481 | ||
482 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
483 | ||
484 | ||
485 | class wxPyHtmlWindow : public wxHtmlWindow { | |
486 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
487 | public: | |
488 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
489 | const wxPoint& pos = wxDefaultPosition, | |
490 | const wxSize& size = wxDefaultSize, | |
491 | long style = wxHW_DEFAULT_STYLE, | |
492 | const wxString& name = wxPyHtmlWindowNameStr) | |
493 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
494 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
495 | ||
496 | bool ScrollToAnchor(const wxString& anchor) { | |
497 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
498 | } | |
499 | ||
500 | bool HasAnchor(const wxString& anchor) { | |
501 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
502 | return c!=NULL; | |
503 | } | |
504 | ||
505 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
506 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
507 | ||
508 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
509 | const wxString& url, | |
510 | wxString *redirect) const; | |
511 | ||
512 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
513 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
514 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
515 | PYPRIVATE; | |
516 | }; | |
517 | ||
518 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
519 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
520 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
521 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
522 | ||
523 | ||
524 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
525 | bool found; | |
526 | wxPyBeginBlockThreads(); | |
527 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { | |
528 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
529 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
530 | Py_DECREF(obj); | |
531 | } | |
532 | wxPyEndBlockThreads(); | |
533 | if (! found) | |
534 | wxHtmlWindow::OnLinkClicked(link); | |
535 | } | |
536 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
537 | wxHtmlWindow::OnLinkClicked(link); | |
538 | } | |
539 | ||
540 | ||
541 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
542 | const wxString& url, | |
543 | wxString *redirect) const { | |
544 | bool found; | |
545 | wxHtmlOpeningStatus rval; | |
546 | wxPyBeginBlockThreads(); | |
547 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
548 | PyObject* ro; | |
549 | PyObject* s = wx2PyString(url); | |
550 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
551 | Py_DECREF(s); | |
552 | if (PyString_Check(ro) | |
553 | #if PYTHON_API_VERSION >= 1009 | |
554 | || PyUnicode_Check(ro) | |
555 | #endif | |
556 | ) { | |
557 | *redirect = Py2wxString(ro); | |
558 | rval = wxHTML_REDIRECT; | |
559 | } | |
560 | else { | |
561 | PyObject* num = PyNumber_Int(ro); | |
562 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
563 | Py_DECREF(num); | |
564 | } | |
565 | Py_DECREF(ro); | |
566 | } | |
567 | wxPyEndBlockThreads(); | |
568 | if (! found) | |
569 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
570 | return rval; | |
571 | } | |
572 | ||
573 | ||
574 | ||
575 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
576 | int* temp = NULL; | |
577 | if (sizes) temp = int_LIST_helper(sizes); | |
578 | self->SetFonts(normal_face, fixed_face, temp); | |
579 | if (temp) | |
580 | delete [] temp; | |
581 | } | |
582 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
583 | int* temp = NULL; | |
584 | if (sizes) temp = int_LIST_helper(sizes); | |
585 | self->SetFonts(normal_face, fixed_face, temp); | |
586 | if (temp) | |
587 | delete [] temp; | |
588 | } | |
589 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
590 | int* temp = NULL; | |
591 | if (sizes) temp = int_LIST_helper(sizes); | |
592 | self->SetFonts(normal_face, fixed_face, temp); | |
593 | if (temp) | |
594 | delete [] temp; | |
595 | } | |
596 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
597 | int* temp = NULL; | |
598 | if (sizes) temp = int_LIST_helper(sizes); | |
599 | self->SetFonts(normal_face, fixed_face, temp); | |
600 | if (temp) | |
601 | delete [] temp; | |
602 | } | |
603 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
604 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
605 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
606 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
607 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
608 | #ifdef __cplusplus | |
609 | extern "C" { | |
610 | #endif | |
611 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
612 | PyObject *resultobj; | |
613 | wxString *arg1 = 0 ; | |
614 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
615 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
616 | wxHtmlLinkInfo *result; | |
617 | bool temp1 = false ; | |
618 | bool temp2 = false ; | |
619 | PyObject * obj0 = 0 ; | |
620 | PyObject * obj1 = 0 ; | |
621 | char *kwnames[] = { | |
622 | (char *) "href",(char *) "target", NULL | |
623 | }; | |
624 | ||
625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
626 | { | |
627 | arg1 = wxString_in_helper(obj0); | |
628 | if (arg1 == NULL) SWIG_fail; | |
629 | temp1 = true; | |
630 | } | |
631 | if (obj1) { | |
632 | { | |
633 | arg2 = wxString_in_helper(obj1); | |
634 | if (arg2 == NULL) SWIG_fail; | |
635 | temp2 = true; | |
636 | } | |
637 | } | |
638 | { | |
639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
640 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
641 | ||
642 | wxPyEndAllowThreads(__tstate); | |
643 | if (PyErr_Occurred()) SWIG_fail; | |
644 | } | |
645 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
646 | { | |
647 | if (temp1) | |
648 | delete arg1; | |
649 | } | |
650 | { | |
651 | if (temp2) | |
652 | delete arg2; | |
653 | } | |
654 | return resultobj; | |
655 | fail: | |
656 | { | |
657 | if (temp1) | |
658 | delete arg1; | |
659 | } | |
660 | { | |
661 | if (temp2) | |
662 | delete arg2; | |
663 | } | |
664 | return NULL; | |
665 | } | |
666 | ||
667 | ||
668 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
669 | PyObject *resultobj; | |
670 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
671 | wxString result; | |
672 | PyObject * obj0 = 0 ; | |
673 | char *kwnames[] = { | |
674 | (char *) "self", NULL | |
675 | }; | |
676 | ||
677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
679 | { | |
680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
681 | result = (arg1)->GetHref(); | |
682 | ||
683 | wxPyEndAllowThreads(__tstate); | |
684 | if (PyErr_Occurred()) SWIG_fail; | |
685 | } | |
686 | { | |
687 | #if wxUSE_UNICODE | |
688 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
689 | #else | |
690 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
691 | #endif | |
692 | } | |
693 | return resultobj; | |
694 | fail: | |
695 | return NULL; | |
696 | } | |
697 | ||
698 | ||
699 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
700 | PyObject *resultobj; | |
701 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
702 | wxString result; | |
703 | PyObject * obj0 = 0 ; | |
704 | char *kwnames[] = { | |
705 | (char *) "self", NULL | |
706 | }; | |
707 | ||
708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
709 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
710 | { | |
711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
712 | result = (arg1)->GetTarget(); | |
713 | ||
714 | wxPyEndAllowThreads(__tstate); | |
715 | if (PyErr_Occurred()) SWIG_fail; | |
716 | } | |
717 | { | |
718 | #if wxUSE_UNICODE | |
719 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
720 | #else | |
721 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
722 | #endif | |
723 | } | |
724 | return resultobj; | |
725 | fail: | |
726 | return NULL; | |
727 | } | |
728 | ||
729 | ||
730 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
731 | PyObject *resultobj; | |
732 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
733 | wxMouseEvent *result; | |
734 | PyObject * obj0 = 0 ; | |
735 | char *kwnames[] = { | |
736 | (char *) "self", NULL | |
737 | }; | |
738 | ||
739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
741 | { | |
742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
743 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
744 | ||
745 | wxPyEndAllowThreads(__tstate); | |
746 | if (PyErr_Occurred()) SWIG_fail; | |
747 | } | |
748 | { | |
749 | resultobj = wxPyMake_wxObject(result); | |
750 | } | |
751 | return resultobj; | |
752 | fail: | |
753 | return NULL; | |
754 | } | |
755 | ||
756 | ||
757 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
758 | PyObject *resultobj; | |
759 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
760 | wxHtmlCell *result; | |
761 | PyObject * obj0 = 0 ; | |
762 | char *kwnames[] = { | |
763 | (char *) "self", NULL | |
764 | }; | |
765 | ||
766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
767 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
768 | { | |
769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
770 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
771 | ||
772 | wxPyEndAllowThreads(__tstate); | |
773 | if (PyErr_Occurred()) SWIG_fail; | |
774 | } | |
775 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
776 | return resultobj; | |
777 | fail: | |
778 | return NULL; | |
779 | } | |
780 | ||
781 | ||
782 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
783 | PyObject *resultobj; | |
784 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
785 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
786 | PyObject * obj0 = 0 ; | |
787 | PyObject * obj1 = 0 ; | |
788 | char *kwnames[] = { | |
789 | (char *) "self",(char *) "e", NULL | |
790 | }; | |
791 | ||
792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
793 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
794 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
795 | { | |
796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
797 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
798 | ||
799 | wxPyEndAllowThreads(__tstate); | |
800 | if (PyErr_Occurred()) SWIG_fail; | |
801 | } | |
802 | Py_INCREF(Py_None); resultobj = Py_None; | |
803 | return resultobj; | |
804 | fail: | |
805 | return NULL; | |
806 | } | |
807 | ||
808 | ||
809 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
810 | PyObject *resultobj; | |
811 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
812 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
813 | PyObject * obj0 = 0 ; | |
814 | PyObject * obj1 = 0 ; | |
815 | char *kwnames[] = { | |
816 | (char *) "self",(char *) "e", NULL | |
817 | }; | |
818 | ||
819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
821 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
822 | { | |
823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
824 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
825 | ||
826 | wxPyEndAllowThreads(__tstate); | |
827 | if (PyErr_Occurred()) SWIG_fail; | |
828 | } | |
829 | Py_INCREF(Py_None); resultobj = Py_None; | |
830 | return resultobj; | |
831 | fail: | |
832 | return NULL; | |
833 | } | |
834 | ||
835 | ||
836 | static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) { | |
837 | PyObject *obj; | |
838 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
839 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
840 | Py_INCREF(obj); | |
841 | return Py_BuildValue((char *)""); | |
842 | } | |
843 | static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
844 | PyObject *resultobj; | |
845 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
846 | wxString result; | |
847 | PyObject * obj0 = 0 ; | |
848 | char *kwnames[] = { | |
849 | (char *) "self", NULL | |
850 | }; | |
851 | ||
852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
853 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
854 | { | |
855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
856 | result = (arg1)->GetName(); | |
857 | ||
858 | wxPyEndAllowThreads(__tstate); | |
859 | if (PyErr_Occurred()) SWIG_fail; | |
860 | } | |
861 | { | |
862 | #if wxUSE_UNICODE | |
863 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
864 | #else | |
865 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
866 | #endif | |
867 | } | |
868 | return resultobj; | |
869 | fail: | |
870 | return NULL; | |
871 | } | |
872 | ||
873 | ||
874 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
875 | PyObject *resultobj; | |
876 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
877 | wxString *arg2 = 0 ; | |
878 | bool result; | |
879 | bool temp2 = false ; | |
880 | PyObject * obj0 = 0 ; | |
881 | PyObject * obj1 = 0 ; | |
882 | char *kwnames[] = { | |
883 | (char *) "self",(char *) "par", NULL | |
884 | }; | |
885 | ||
886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
887 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
888 | { | |
889 | arg2 = wxString_in_helper(obj1); | |
890 | if (arg2 == NULL) SWIG_fail; | |
891 | temp2 = true; | |
892 | } | |
893 | { | |
894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
895 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
896 | ||
897 | wxPyEndAllowThreads(__tstate); | |
898 | if (PyErr_Occurred()) SWIG_fail; | |
899 | } | |
900 | resultobj = PyInt_FromLong((long)result); | |
901 | { | |
902 | if (temp2) | |
903 | delete arg2; | |
904 | } | |
905 | return resultobj; | |
906 | fail: | |
907 | { | |
908 | if (temp2) | |
909 | delete arg2; | |
910 | } | |
911 | return NULL; | |
912 | } | |
913 | ||
914 | ||
915 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
916 | PyObject *resultobj; | |
917 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
918 | wxString *arg2 = 0 ; | |
919 | int arg3 = (int) FALSE ; | |
920 | wxString result; | |
921 | bool temp2 = false ; | |
922 | PyObject * obj0 = 0 ; | |
923 | PyObject * obj1 = 0 ; | |
924 | char *kwnames[] = { | |
925 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
926 | }; | |
927 | ||
928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlTag_GetParam",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
929 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
930 | { | |
931 | arg2 = wxString_in_helper(obj1); | |
932 | if (arg2 == NULL) SWIG_fail; | |
933 | temp2 = true; | |
934 | } | |
935 | { | |
936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
937 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
938 | ||
939 | wxPyEndAllowThreads(__tstate); | |
940 | if (PyErr_Occurred()) SWIG_fail; | |
941 | } | |
942 | { | |
943 | #if wxUSE_UNICODE | |
944 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
945 | #else | |
946 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
947 | #endif | |
948 | } | |
949 | { | |
950 | if (temp2) | |
951 | delete arg2; | |
952 | } | |
953 | return resultobj; | |
954 | fail: | |
955 | { | |
956 | if (temp2) | |
957 | delete arg2; | |
958 | } | |
959 | return NULL; | |
960 | } | |
961 | ||
962 | ||
963 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
964 | PyObject *resultobj; | |
965 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
966 | wxString result; | |
967 | PyObject * obj0 = 0 ; | |
968 | char *kwnames[] = { | |
969 | (char *) "self", NULL | |
970 | }; | |
971 | ||
972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
974 | { | |
975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
976 | result = (arg1)->GetAllParams(); | |
977 | ||
978 | wxPyEndAllowThreads(__tstate); | |
979 | if (PyErr_Occurred()) SWIG_fail; | |
980 | } | |
981 | { | |
982 | #if wxUSE_UNICODE | |
983 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
984 | #else | |
985 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
986 | #endif | |
987 | } | |
988 | return resultobj; | |
989 | fail: | |
990 | return NULL; | |
991 | } | |
992 | ||
993 | ||
994 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
995 | PyObject *resultobj; | |
996 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
997 | bool result; | |
998 | PyObject * obj0 = 0 ; | |
999 | char *kwnames[] = { | |
1000 | (char *) "self", NULL | |
1001 | }; | |
1002 | ||
1003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
1004 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1005 | { | |
1006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1007 | result = (bool)(arg1)->HasEnding(); | |
1008 | ||
1009 | wxPyEndAllowThreads(__tstate); | |
1010 | if (PyErr_Occurred()) SWIG_fail; | |
1011 | } | |
1012 | resultobj = PyInt_FromLong((long)result); | |
1013 | return resultobj; | |
1014 | fail: | |
1015 | return NULL; | |
1016 | } | |
1017 | ||
1018 | ||
1019 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1020 | PyObject *resultobj; | |
1021 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1022 | int result; | |
1023 | PyObject * obj0 = 0 ; | |
1024 | char *kwnames[] = { | |
1025 | (char *) "self", NULL | |
1026 | }; | |
1027 | ||
1028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
1029 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1030 | { | |
1031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1032 | result = (int)(arg1)->GetBeginPos(); | |
1033 | ||
1034 | wxPyEndAllowThreads(__tstate); | |
1035 | if (PyErr_Occurred()) SWIG_fail; | |
1036 | } | |
1037 | resultobj = PyInt_FromLong((long)result); | |
1038 | return resultobj; | |
1039 | fail: | |
1040 | return NULL; | |
1041 | } | |
1042 | ||
1043 | ||
1044 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1045 | PyObject *resultobj; | |
1046 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1047 | int result; | |
1048 | PyObject * obj0 = 0 ; | |
1049 | char *kwnames[] = { | |
1050 | (char *) "self", NULL | |
1051 | }; | |
1052 | ||
1053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
1054 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1055 | { | |
1056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1057 | result = (int)(arg1)->GetEndPos1(); | |
1058 | ||
1059 | wxPyEndAllowThreads(__tstate); | |
1060 | if (PyErr_Occurred()) SWIG_fail; | |
1061 | } | |
1062 | resultobj = PyInt_FromLong((long)result); | |
1063 | return resultobj; | |
1064 | fail: | |
1065 | return NULL; | |
1066 | } | |
1067 | ||
1068 | ||
1069 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1070 | PyObject *resultobj; | |
1071 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1072 | int result; | |
1073 | PyObject * obj0 = 0 ; | |
1074 | char *kwnames[] = { | |
1075 | (char *) "self", NULL | |
1076 | }; | |
1077 | ||
1078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
1079 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1080 | { | |
1081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1082 | result = (int)(arg1)->GetEndPos2(); | |
1083 | ||
1084 | wxPyEndAllowThreads(__tstate); | |
1085 | if (PyErr_Occurred()) SWIG_fail; | |
1086 | } | |
1087 | resultobj = PyInt_FromLong((long)result); | |
1088 | return resultobj; | |
1089 | fail: | |
1090 | return NULL; | |
1091 | } | |
1092 | ||
1093 | ||
1094 | static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) { | |
1095 | PyObject *obj; | |
1096 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1097 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1098 | Py_INCREF(obj); | |
1099 | return Py_BuildValue((char *)""); | |
1100 | } | |
1101 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1102 | PyObject *resultobj; | |
1103 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1104 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1105 | PyObject * obj0 = 0 ; | |
1106 | PyObject * obj1 = 0 ; | |
1107 | char *kwnames[] = { | |
1108 | (char *) "self",(char *) "fs", NULL | |
1109 | }; | |
1110 | ||
1111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
1112 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1113 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1114 | { | |
1115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1116 | (arg1)->SetFS(arg2); | |
1117 | ||
1118 | wxPyEndAllowThreads(__tstate); | |
1119 | if (PyErr_Occurred()) SWIG_fail; | |
1120 | } | |
1121 | Py_INCREF(Py_None); resultobj = Py_None; | |
1122 | return resultobj; | |
1123 | fail: | |
1124 | return NULL; | |
1125 | } | |
1126 | ||
1127 | ||
1128 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1129 | PyObject *resultobj; | |
1130 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1131 | wxFileSystem *result; | |
1132 | PyObject * obj0 = 0 ; | |
1133 | char *kwnames[] = { | |
1134 | (char *) "self", NULL | |
1135 | }; | |
1136 | ||
1137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
1138 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1139 | { | |
1140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1141 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1142 | ||
1143 | wxPyEndAllowThreads(__tstate); | |
1144 | if (PyErr_Occurred()) SWIG_fail; | |
1145 | } | |
1146 | { | |
1147 | resultobj = wxPyMake_wxObject(result); | |
1148 | } | |
1149 | return resultobj; | |
1150 | fail: | |
1151 | return NULL; | |
1152 | } | |
1153 | ||
1154 | ||
1155 | static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1156 | PyObject *resultobj; | |
1157 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1158 | wxString *arg2 = 0 ; | |
1159 | wxObject *result; | |
1160 | bool temp2 = false ; | |
1161 | PyObject * obj0 = 0 ; | |
1162 | PyObject * obj1 = 0 ; | |
1163 | char *kwnames[] = { | |
1164 | (char *) "self",(char *) "source", NULL | |
1165 | }; | |
1166 | ||
1167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
1168 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1169 | { | |
1170 | arg2 = wxString_in_helper(obj1); | |
1171 | if (arg2 == NULL) SWIG_fail; | |
1172 | temp2 = true; | |
1173 | } | |
1174 | { | |
1175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1176 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1177 | ||
1178 | wxPyEndAllowThreads(__tstate); | |
1179 | if (PyErr_Occurred()) SWIG_fail; | |
1180 | } | |
1181 | { | |
1182 | resultobj = wxPyMake_wxObject(result); | |
1183 | } | |
1184 | { | |
1185 | if (temp2) | |
1186 | delete arg2; | |
1187 | } | |
1188 | return resultobj; | |
1189 | fail: | |
1190 | { | |
1191 | if (temp2) | |
1192 | delete arg2; | |
1193 | } | |
1194 | return NULL; | |
1195 | } | |
1196 | ||
1197 | ||
1198 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1199 | PyObject *resultobj; | |
1200 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1201 | wxString *arg2 = 0 ; | |
1202 | bool temp2 = false ; | |
1203 | PyObject * obj0 = 0 ; | |
1204 | PyObject * obj1 = 0 ; | |
1205 | char *kwnames[] = { | |
1206 | (char *) "self",(char *) "source", NULL | |
1207 | }; | |
1208 | ||
1209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
1210 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1211 | { | |
1212 | arg2 = wxString_in_helper(obj1); | |
1213 | if (arg2 == NULL) SWIG_fail; | |
1214 | temp2 = true; | |
1215 | } | |
1216 | { | |
1217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1218 | (arg1)->InitParser((wxString const &)*arg2); | |
1219 | ||
1220 | wxPyEndAllowThreads(__tstate); | |
1221 | if (PyErr_Occurred()) SWIG_fail; | |
1222 | } | |
1223 | Py_INCREF(Py_None); resultobj = Py_None; | |
1224 | { | |
1225 | if (temp2) | |
1226 | delete arg2; | |
1227 | } | |
1228 | return resultobj; | |
1229 | fail: | |
1230 | { | |
1231 | if (temp2) | |
1232 | delete arg2; | |
1233 | } | |
1234 | return NULL; | |
1235 | } | |
1236 | ||
1237 | ||
1238 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1239 | PyObject *resultobj; | |
1240 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1241 | PyObject * obj0 = 0 ; | |
1242 | char *kwnames[] = { | |
1243 | (char *) "self", NULL | |
1244 | }; | |
1245 | ||
1246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
1247 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1248 | { | |
1249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1250 | (arg1)->DoneParser(); | |
1251 | ||
1252 | wxPyEndAllowThreads(__tstate); | |
1253 | if (PyErr_Occurred()) SWIG_fail; | |
1254 | } | |
1255 | Py_INCREF(Py_None); resultobj = Py_None; | |
1256 | return resultobj; | |
1257 | fail: | |
1258 | return NULL; | |
1259 | } | |
1260 | ||
1261 | ||
1262 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1263 | PyObject *resultobj; | |
1264 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1265 | int arg2 ; | |
1266 | int arg3 ; | |
1267 | PyObject * obj0 = 0 ; | |
1268 | char *kwnames[] = { | |
1269 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1270 | }; | |
1271 | ||
1272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlParser_DoParsing",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1273 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1274 | { | |
1275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1276 | (arg1)->DoParsing(arg2,arg3); | |
1277 | ||
1278 | wxPyEndAllowThreads(__tstate); | |
1279 | if (PyErr_Occurred()) SWIG_fail; | |
1280 | } | |
1281 | Py_INCREF(Py_None); resultobj = Py_None; | |
1282 | return resultobj; | |
1283 | fail: | |
1284 | return NULL; | |
1285 | } | |
1286 | ||
1287 | ||
1288 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1289 | PyObject *resultobj; | |
1290 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1291 | PyObject * obj0 = 0 ; | |
1292 | char *kwnames[] = { | |
1293 | (char *) "self", NULL | |
1294 | }; | |
1295 | ||
1296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
1297 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1298 | { | |
1299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1300 | (arg1)->StopParsing(); | |
1301 | ||
1302 | wxPyEndAllowThreads(__tstate); | |
1303 | if (PyErr_Occurred()) SWIG_fail; | |
1304 | } | |
1305 | Py_INCREF(Py_None); resultobj = Py_None; | |
1306 | return resultobj; | |
1307 | fail: | |
1308 | return NULL; | |
1309 | } | |
1310 | ||
1311 | ||
1312 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1313 | PyObject *resultobj; | |
1314 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1315 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1316 | PyObject * obj0 = 0 ; | |
1317 | PyObject * obj1 = 0 ; | |
1318 | char *kwnames[] = { | |
1319 | (char *) "self",(char *) "handler", NULL | |
1320 | }; | |
1321 | ||
1322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
1323 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1324 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1325 | { | |
1326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1327 | (arg1)->AddTagHandler(arg2); | |
1328 | ||
1329 | wxPyEndAllowThreads(__tstate); | |
1330 | if (PyErr_Occurred()) SWIG_fail; | |
1331 | } | |
1332 | Py_INCREF(Py_None); resultobj = Py_None; | |
1333 | return resultobj; | |
1334 | fail: | |
1335 | return NULL; | |
1336 | } | |
1337 | ||
1338 | ||
1339 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject *resultobj; | |
1341 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1342 | wxString *result; | |
1343 | PyObject * obj0 = 0 ; | |
1344 | char *kwnames[] = { | |
1345 | (char *) "self", NULL | |
1346 | }; | |
1347 | ||
1348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
1349 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1350 | { | |
1351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1352 | result = (wxString *)(arg1)->GetSource(); | |
1353 | ||
1354 | wxPyEndAllowThreads(__tstate); | |
1355 | if (PyErr_Occurred()) SWIG_fail; | |
1356 | } | |
1357 | { | |
1358 | #if wxUSE_UNICODE | |
1359 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1360 | #else | |
1361 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1362 | #endif | |
1363 | } | |
1364 | return resultobj; | |
1365 | fail: | |
1366 | return NULL; | |
1367 | } | |
1368 | ||
1369 | ||
1370 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1371 | PyObject *resultobj; | |
1372 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1373 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1374 | wxString arg3 ; | |
1375 | wxString *argp3 ; | |
1376 | PyObject * obj0 = 0 ; | |
1377 | PyObject * obj1 = 0 ; | |
1378 | PyObject * obj2 = 0 ; | |
1379 | char *kwnames[] = { | |
1380 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1381 | }; | |
1382 | ||
1383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1384 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1385 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1386 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1387 | arg3 = *argp3; | |
1388 | { | |
1389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1390 | (arg1)->PushTagHandler(arg2,arg3); | |
1391 | ||
1392 | wxPyEndAllowThreads(__tstate); | |
1393 | if (PyErr_Occurred()) SWIG_fail; | |
1394 | } | |
1395 | Py_INCREF(Py_None); resultobj = Py_None; | |
1396 | return resultobj; | |
1397 | fail: | |
1398 | return NULL; | |
1399 | } | |
1400 | ||
1401 | ||
1402 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1403 | PyObject *resultobj; | |
1404 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1405 | PyObject * obj0 = 0 ; | |
1406 | char *kwnames[] = { | |
1407 | (char *) "self", NULL | |
1408 | }; | |
1409 | ||
1410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1411 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1412 | { | |
1413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1414 | (arg1)->PopTagHandler(); | |
1415 | ||
1416 | wxPyEndAllowThreads(__tstate); | |
1417 | if (PyErr_Occurred()) SWIG_fail; | |
1418 | } | |
1419 | Py_INCREF(Py_None); resultobj = Py_None; | |
1420 | return resultobj; | |
1421 | fail: | |
1422 | return NULL; | |
1423 | } | |
1424 | ||
1425 | ||
1426 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1427 | PyObject *obj; | |
1428 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1429 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1430 | Py_INCREF(obj); | |
1431 | return Py_BuildValue((char *)""); | |
1432 | } | |
1433 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1434 | PyObject *resultobj; | |
1435 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1436 | wxHtmlWinParser *result; | |
1437 | PyObject * obj0 = 0 ; | |
1438 | char *kwnames[] = { | |
1439 | (char *) "wnd", NULL | |
1440 | }; | |
1441 | ||
1442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1443 | if (obj0) { | |
1444 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1445 | } | |
1446 | { | |
1447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1448 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1449 | ||
1450 | wxPyEndAllowThreads(__tstate); | |
1451 | if (PyErr_Occurred()) SWIG_fail; | |
1452 | } | |
1453 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1); | |
1454 | return resultobj; | |
1455 | fail: | |
1456 | return NULL; | |
1457 | } | |
1458 | ||
1459 | ||
1460 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1461 | PyObject *resultobj; | |
1462 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1463 | wxDC *arg2 = (wxDC *) 0 ; | |
1464 | PyObject * obj0 = 0 ; | |
1465 | PyObject * obj1 = 0 ; | |
1466 | char *kwnames[] = { | |
1467 | (char *) "self",(char *) "dc", NULL | |
1468 | }; | |
1469 | ||
1470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1471 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1472 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1473 | { | |
1474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1475 | (arg1)->SetDC(arg2); | |
1476 | ||
1477 | wxPyEndAllowThreads(__tstate); | |
1478 | if (PyErr_Occurred()) SWIG_fail; | |
1479 | } | |
1480 | Py_INCREF(Py_None); resultobj = Py_None; | |
1481 | return resultobj; | |
1482 | fail: | |
1483 | return NULL; | |
1484 | } | |
1485 | ||
1486 | ||
1487 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1488 | PyObject *resultobj; | |
1489 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1490 | wxDC *result; | |
1491 | PyObject * obj0 = 0 ; | |
1492 | char *kwnames[] = { | |
1493 | (char *) "self", NULL | |
1494 | }; | |
1495 | ||
1496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1497 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1498 | { | |
1499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1500 | result = (wxDC *)(arg1)->GetDC(); | |
1501 | ||
1502 | wxPyEndAllowThreads(__tstate); | |
1503 | if (PyErr_Occurred()) SWIG_fail; | |
1504 | } | |
1505 | { | |
1506 | resultobj = wxPyMake_wxObject(result); | |
1507 | } | |
1508 | return resultobj; | |
1509 | fail: | |
1510 | return NULL; | |
1511 | } | |
1512 | ||
1513 | ||
1514 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1515 | PyObject *resultobj; | |
1516 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1517 | int result; | |
1518 | PyObject * obj0 = 0 ; | |
1519 | char *kwnames[] = { | |
1520 | (char *) "self", NULL | |
1521 | }; | |
1522 | ||
1523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1524 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1525 | { | |
1526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1527 | result = (int)(arg1)->GetCharHeight(); | |
1528 | ||
1529 | wxPyEndAllowThreads(__tstate); | |
1530 | if (PyErr_Occurred()) SWIG_fail; | |
1531 | } | |
1532 | resultobj = PyInt_FromLong((long)result); | |
1533 | return resultobj; | |
1534 | fail: | |
1535 | return NULL; | |
1536 | } | |
1537 | ||
1538 | ||
1539 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1540 | PyObject *resultobj; | |
1541 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1542 | int result; | |
1543 | PyObject * obj0 = 0 ; | |
1544 | char *kwnames[] = { | |
1545 | (char *) "self", NULL | |
1546 | }; | |
1547 | ||
1548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1549 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1550 | { | |
1551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1552 | result = (int)(arg1)->GetCharWidth(); | |
1553 | ||
1554 | wxPyEndAllowThreads(__tstate); | |
1555 | if (PyErr_Occurred()) SWIG_fail; | |
1556 | } | |
1557 | resultobj = PyInt_FromLong((long)result); | |
1558 | return resultobj; | |
1559 | fail: | |
1560 | return NULL; | |
1561 | } | |
1562 | ||
1563 | ||
1564 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1565 | PyObject *resultobj; | |
1566 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1567 | wxPyHtmlWindow *result; | |
1568 | PyObject * obj0 = 0 ; | |
1569 | char *kwnames[] = { | |
1570 | (char *) "self", NULL | |
1571 | }; | |
1572 | ||
1573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1574 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1575 | { | |
1576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1577 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1578 | ||
1579 | wxPyEndAllowThreads(__tstate); | |
1580 | if (PyErr_Occurred()) SWIG_fail; | |
1581 | } | |
1582 | { | |
1583 | resultobj = wxPyMake_wxObject(result); | |
1584 | } | |
1585 | return resultobj; | |
1586 | fail: | |
1587 | return NULL; | |
1588 | } | |
1589 | ||
1590 | ||
1591 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1592 | PyObject *resultobj; | |
1593 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1594 | wxString arg2 ; | |
1595 | wxString arg3 ; | |
1596 | PyObject *arg4 = (PyObject *) NULL ; | |
1597 | wxString *argp2 ; | |
1598 | wxString *argp3 ; | |
1599 | PyObject * obj0 = 0 ; | |
1600 | PyObject * obj1 = 0 ; | |
1601 | PyObject * obj2 = 0 ; | |
1602 | PyObject * obj3 = 0 ; | |
1603 | char *kwnames[] = { | |
1604 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1605 | }; | |
1606 | ||
1607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1609 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1610 | arg2 = *argp2; | |
1611 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1612 | arg3 = *argp3; | |
1613 | if (obj3) { | |
1614 | arg4 = obj3; | |
1615 | } | |
1616 | { | |
1617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1618 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1619 | ||
1620 | wxPyEndAllowThreads(__tstate); | |
1621 | if (PyErr_Occurred()) SWIG_fail; | |
1622 | } | |
1623 | Py_INCREF(Py_None); resultobj = Py_None; | |
1624 | return resultobj; | |
1625 | fail: | |
1626 | return NULL; | |
1627 | } | |
1628 | ||
1629 | ||
1630 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1631 | PyObject *resultobj; | |
1632 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1633 | wxHtmlContainerCell *result; | |
1634 | PyObject * obj0 = 0 ; | |
1635 | char *kwnames[] = { | |
1636 | (char *) "self", NULL | |
1637 | }; | |
1638 | ||
1639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
1640 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1641 | { | |
1642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1643 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
1644 | ||
1645 | wxPyEndAllowThreads(__tstate); | |
1646 | if (PyErr_Occurred()) SWIG_fail; | |
1647 | } | |
1648 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1649 | return resultobj; | |
1650 | fail: | |
1651 | return NULL; | |
1652 | } | |
1653 | ||
1654 | ||
1655 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1656 | PyObject *resultobj; | |
1657 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1658 | wxHtmlContainerCell *result; | |
1659 | PyObject * obj0 = 0 ; | |
1660 | char *kwnames[] = { | |
1661 | (char *) "self", NULL | |
1662 | }; | |
1663 | ||
1664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
1665 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1666 | { | |
1667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1668 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
1669 | ||
1670 | wxPyEndAllowThreads(__tstate); | |
1671 | if (PyErr_Occurred()) SWIG_fail; | |
1672 | } | |
1673 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1674 | return resultobj; | |
1675 | fail: | |
1676 | return NULL; | |
1677 | } | |
1678 | ||
1679 | ||
1680 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1681 | PyObject *resultobj; | |
1682 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1683 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
1684 | wxHtmlContainerCell *result; | |
1685 | PyObject * obj0 = 0 ; | |
1686 | PyObject * obj1 = 0 ; | |
1687 | char *kwnames[] = { | |
1688 | (char *) "self",(char *) "c", NULL | |
1689 | }; | |
1690 | ||
1691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
1692 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1693 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1694 | { | |
1695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1696 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
1697 | ||
1698 | wxPyEndAllowThreads(__tstate); | |
1699 | if (PyErr_Occurred()) SWIG_fail; | |
1700 | } | |
1701 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1702 | return resultobj; | |
1703 | fail: | |
1704 | return NULL; | |
1705 | } | |
1706 | ||
1707 | ||
1708 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1709 | PyObject *resultobj; | |
1710 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1711 | wxHtmlContainerCell *result; | |
1712 | PyObject * obj0 = 0 ; | |
1713 | char *kwnames[] = { | |
1714 | (char *) "self", NULL | |
1715 | }; | |
1716 | ||
1717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
1718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1719 | { | |
1720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1721 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
1722 | ||
1723 | wxPyEndAllowThreads(__tstate); | |
1724 | if (PyErr_Occurred()) SWIG_fail; | |
1725 | } | |
1726 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1727 | return resultobj; | |
1728 | fail: | |
1729 | return NULL; | |
1730 | } | |
1731 | ||
1732 | ||
1733 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1734 | PyObject *resultobj; | |
1735 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1736 | int result; | |
1737 | PyObject * obj0 = 0 ; | |
1738 | char *kwnames[] = { | |
1739 | (char *) "self", NULL | |
1740 | }; | |
1741 | ||
1742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
1743 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1744 | { | |
1745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1746 | result = (int)(arg1)->GetFontSize(); | |
1747 | ||
1748 | wxPyEndAllowThreads(__tstate); | |
1749 | if (PyErr_Occurred()) SWIG_fail; | |
1750 | } | |
1751 | resultobj = PyInt_FromLong((long)result); | |
1752 | return resultobj; | |
1753 | fail: | |
1754 | return NULL; | |
1755 | } | |
1756 | ||
1757 | ||
1758 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1759 | PyObject *resultobj; | |
1760 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1761 | int arg2 ; | |
1762 | PyObject * obj0 = 0 ; | |
1763 | char *kwnames[] = { | |
1764 | (char *) "self",(char *) "s", NULL | |
1765 | }; | |
1766 | ||
1767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames,&obj0,&arg2)) goto fail; | |
1768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1769 | { | |
1770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1771 | (arg1)->SetFontSize(arg2); | |
1772 | ||
1773 | wxPyEndAllowThreads(__tstate); | |
1774 | if (PyErr_Occurred()) SWIG_fail; | |
1775 | } | |
1776 | Py_INCREF(Py_None); resultobj = Py_None; | |
1777 | return resultobj; | |
1778 | fail: | |
1779 | return NULL; | |
1780 | } | |
1781 | ||
1782 | ||
1783 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1784 | PyObject *resultobj; | |
1785 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1786 | int result; | |
1787 | PyObject * obj0 = 0 ; | |
1788 | char *kwnames[] = { | |
1789 | (char *) "self", NULL | |
1790 | }; | |
1791 | ||
1792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
1793 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1794 | { | |
1795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1796 | result = (int)(arg1)->GetFontBold(); | |
1797 | ||
1798 | wxPyEndAllowThreads(__tstate); | |
1799 | if (PyErr_Occurred()) SWIG_fail; | |
1800 | } | |
1801 | resultobj = PyInt_FromLong((long)result); | |
1802 | return resultobj; | |
1803 | fail: | |
1804 | return NULL; | |
1805 | } | |
1806 | ||
1807 | ||
1808 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1809 | PyObject *resultobj; | |
1810 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1811 | int arg2 ; | |
1812 | PyObject * obj0 = 0 ; | |
1813 | char *kwnames[] = { | |
1814 | (char *) "self",(char *) "x", NULL | |
1815 | }; | |
1816 | ||
1817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames,&obj0,&arg2)) goto fail; | |
1818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1819 | { | |
1820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1821 | (arg1)->SetFontBold(arg2); | |
1822 | ||
1823 | wxPyEndAllowThreads(__tstate); | |
1824 | if (PyErr_Occurred()) SWIG_fail; | |
1825 | } | |
1826 | Py_INCREF(Py_None); resultobj = Py_None; | |
1827 | return resultobj; | |
1828 | fail: | |
1829 | return NULL; | |
1830 | } | |
1831 | ||
1832 | ||
1833 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1834 | PyObject *resultobj; | |
1835 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1836 | int result; | |
1837 | PyObject * obj0 = 0 ; | |
1838 | char *kwnames[] = { | |
1839 | (char *) "self", NULL | |
1840 | }; | |
1841 | ||
1842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
1843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1844 | { | |
1845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1846 | result = (int)(arg1)->GetFontItalic(); | |
1847 | ||
1848 | wxPyEndAllowThreads(__tstate); | |
1849 | if (PyErr_Occurred()) SWIG_fail; | |
1850 | } | |
1851 | resultobj = PyInt_FromLong((long)result); | |
1852 | return resultobj; | |
1853 | fail: | |
1854 | return NULL; | |
1855 | } | |
1856 | ||
1857 | ||
1858 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1859 | PyObject *resultobj; | |
1860 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1861 | int arg2 ; | |
1862 | PyObject * obj0 = 0 ; | |
1863 | char *kwnames[] = { | |
1864 | (char *) "self",(char *) "x", NULL | |
1865 | }; | |
1866 | ||
1867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames,&obj0,&arg2)) goto fail; | |
1868 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1869 | { | |
1870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1871 | (arg1)->SetFontItalic(arg2); | |
1872 | ||
1873 | wxPyEndAllowThreads(__tstate); | |
1874 | if (PyErr_Occurred()) SWIG_fail; | |
1875 | } | |
1876 | Py_INCREF(Py_None); resultobj = Py_None; | |
1877 | return resultobj; | |
1878 | fail: | |
1879 | return NULL; | |
1880 | } | |
1881 | ||
1882 | ||
1883 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1884 | PyObject *resultobj; | |
1885 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1886 | int result; | |
1887 | PyObject * obj0 = 0 ; | |
1888 | char *kwnames[] = { | |
1889 | (char *) "self", NULL | |
1890 | }; | |
1891 | ||
1892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
1893 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1894 | { | |
1895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1896 | result = (int)(arg1)->GetFontUnderlined(); | |
1897 | ||
1898 | wxPyEndAllowThreads(__tstate); | |
1899 | if (PyErr_Occurred()) SWIG_fail; | |
1900 | } | |
1901 | resultobj = PyInt_FromLong((long)result); | |
1902 | return resultobj; | |
1903 | fail: | |
1904 | return NULL; | |
1905 | } | |
1906 | ||
1907 | ||
1908 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1909 | PyObject *resultobj; | |
1910 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1911 | int arg2 ; | |
1912 | PyObject * obj0 = 0 ; | |
1913 | char *kwnames[] = { | |
1914 | (char *) "self",(char *) "x", NULL | |
1915 | }; | |
1916 | ||
1917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&arg2)) goto fail; | |
1918 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1919 | { | |
1920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1921 | (arg1)->SetFontUnderlined(arg2); | |
1922 | ||
1923 | wxPyEndAllowThreads(__tstate); | |
1924 | if (PyErr_Occurred()) SWIG_fail; | |
1925 | } | |
1926 | Py_INCREF(Py_None); resultobj = Py_None; | |
1927 | return resultobj; | |
1928 | fail: | |
1929 | return NULL; | |
1930 | } | |
1931 | ||
1932 | ||
1933 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1934 | PyObject *resultobj; | |
1935 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1936 | int result; | |
1937 | PyObject * obj0 = 0 ; | |
1938 | char *kwnames[] = { | |
1939 | (char *) "self", NULL | |
1940 | }; | |
1941 | ||
1942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
1943 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1944 | { | |
1945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1946 | result = (int)(arg1)->GetFontFixed(); | |
1947 | ||
1948 | wxPyEndAllowThreads(__tstate); | |
1949 | if (PyErr_Occurred()) SWIG_fail; | |
1950 | } | |
1951 | resultobj = PyInt_FromLong((long)result); | |
1952 | return resultobj; | |
1953 | fail: | |
1954 | return NULL; | |
1955 | } | |
1956 | ||
1957 | ||
1958 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1959 | PyObject *resultobj; | |
1960 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1961 | int arg2 ; | |
1962 | PyObject * obj0 = 0 ; | |
1963 | char *kwnames[] = { | |
1964 | (char *) "self",(char *) "x", NULL | |
1965 | }; | |
1966 | ||
1967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames,&obj0,&arg2)) goto fail; | |
1968 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1969 | { | |
1970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1971 | (arg1)->SetFontFixed(arg2); | |
1972 | ||
1973 | wxPyEndAllowThreads(__tstate); | |
1974 | if (PyErr_Occurred()) SWIG_fail; | |
1975 | } | |
1976 | Py_INCREF(Py_None); resultobj = Py_None; | |
1977 | return resultobj; | |
1978 | fail: | |
1979 | return NULL; | |
1980 | } | |
1981 | ||
1982 | ||
1983 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1984 | PyObject *resultobj; | |
1985 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1986 | int result; | |
1987 | PyObject * obj0 = 0 ; | |
1988 | char *kwnames[] = { | |
1989 | (char *) "self", NULL | |
1990 | }; | |
1991 | ||
1992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
1993 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1994 | { | |
1995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1996 | result = (int)(arg1)->GetAlign(); | |
1997 | ||
1998 | wxPyEndAllowThreads(__tstate); | |
1999 | if (PyErr_Occurred()) SWIG_fail; | |
2000 | } | |
2001 | resultobj = PyInt_FromLong((long)result); | |
2002 | return resultobj; | |
2003 | fail: | |
2004 | return NULL; | |
2005 | } | |
2006 | ||
2007 | ||
2008 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2009 | PyObject *resultobj; | |
2010 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2011 | int arg2 ; | |
2012 | PyObject * obj0 = 0 ; | |
2013 | char *kwnames[] = { | |
2014 | (char *) "self",(char *) "a", NULL | |
2015 | }; | |
2016 | ||
2017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetAlign",kwnames,&obj0,&arg2)) goto fail; | |
2018 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2019 | { | |
2020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2021 | (arg1)->SetAlign(arg2); | |
2022 | ||
2023 | wxPyEndAllowThreads(__tstate); | |
2024 | if (PyErr_Occurred()) SWIG_fail; | |
2025 | } | |
2026 | Py_INCREF(Py_None); resultobj = Py_None; | |
2027 | return resultobj; | |
2028 | fail: | |
2029 | return NULL; | |
2030 | } | |
2031 | ||
2032 | ||
2033 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2034 | PyObject *resultobj; | |
2035 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2036 | wxColour result; | |
2037 | PyObject * obj0 = 0 ; | |
2038 | char *kwnames[] = { | |
2039 | (char *) "self", NULL | |
2040 | }; | |
2041 | ||
2042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2043 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2044 | { | |
2045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2046 | result = (arg1)->GetLinkColor(); | |
2047 | ||
2048 | wxPyEndAllowThreads(__tstate); | |
2049 | if (PyErr_Occurred()) SWIG_fail; | |
2050 | } | |
2051 | { | |
2052 | wxColour * resultptr; | |
2053 | resultptr = new wxColour((wxColour &) result); | |
2054 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2055 | } | |
2056 | return resultobj; | |
2057 | fail: | |
2058 | return NULL; | |
2059 | } | |
2060 | ||
2061 | ||
2062 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2063 | PyObject *resultobj; | |
2064 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2065 | wxColour *arg2 = 0 ; | |
2066 | wxColour temp2 ; | |
2067 | PyObject * obj0 = 0 ; | |
2068 | PyObject * obj1 = 0 ; | |
2069 | char *kwnames[] = { | |
2070 | (char *) "self",(char *) "clr", NULL | |
2071 | }; | |
2072 | ||
2073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2074 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2075 | { | |
2076 | arg2 = &temp2; | |
2077 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2078 | } | |
2079 | { | |
2080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2081 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2082 | ||
2083 | wxPyEndAllowThreads(__tstate); | |
2084 | if (PyErr_Occurred()) SWIG_fail; | |
2085 | } | |
2086 | Py_INCREF(Py_None); resultobj = Py_None; | |
2087 | return resultobj; | |
2088 | fail: | |
2089 | return NULL; | |
2090 | } | |
2091 | ||
2092 | ||
2093 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2094 | PyObject *resultobj; | |
2095 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2096 | wxColour result; | |
2097 | PyObject * obj0 = 0 ; | |
2098 | char *kwnames[] = { | |
2099 | (char *) "self", NULL | |
2100 | }; | |
2101 | ||
2102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2103 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2104 | { | |
2105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2106 | result = (arg1)->GetActualColor(); | |
2107 | ||
2108 | wxPyEndAllowThreads(__tstate); | |
2109 | if (PyErr_Occurred()) SWIG_fail; | |
2110 | } | |
2111 | { | |
2112 | wxColour * resultptr; | |
2113 | resultptr = new wxColour((wxColour &) result); | |
2114 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2115 | } | |
2116 | return resultobj; | |
2117 | fail: | |
2118 | return NULL; | |
2119 | } | |
2120 | ||
2121 | ||
2122 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2123 | PyObject *resultobj; | |
2124 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2125 | wxColour *arg2 = 0 ; | |
2126 | wxColour temp2 ; | |
2127 | PyObject * obj0 = 0 ; | |
2128 | PyObject * obj1 = 0 ; | |
2129 | char *kwnames[] = { | |
2130 | (char *) "self",(char *) "clr", NULL | |
2131 | }; | |
2132 | ||
2133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2134 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2135 | { | |
2136 | arg2 = &temp2; | |
2137 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2138 | } | |
2139 | { | |
2140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2141 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2142 | ||
2143 | wxPyEndAllowThreads(__tstate); | |
2144 | if (PyErr_Occurred()) SWIG_fail; | |
2145 | } | |
2146 | Py_INCREF(Py_None); resultobj = Py_None; | |
2147 | return resultobj; | |
2148 | fail: | |
2149 | return NULL; | |
2150 | } | |
2151 | ||
2152 | ||
2153 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2154 | PyObject *resultobj; | |
2155 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2156 | wxString *arg2 = 0 ; | |
2157 | bool temp2 = false ; | |
2158 | PyObject * obj0 = 0 ; | |
2159 | PyObject * obj1 = 0 ; | |
2160 | char *kwnames[] = { | |
2161 | (char *) "self",(char *) "link", NULL | |
2162 | }; | |
2163 | ||
2164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2165 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2166 | { | |
2167 | arg2 = wxString_in_helper(obj1); | |
2168 | if (arg2 == NULL) SWIG_fail; | |
2169 | temp2 = true; | |
2170 | } | |
2171 | { | |
2172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2173 | (arg1)->SetLink((wxString const &)*arg2); | |
2174 | ||
2175 | wxPyEndAllowThreads(__tstate); | |
2176 | if (PyErr_Occurred()) SWIG_fail; | |
2177 | } | |
2178 | Py_INCREF(Py_None); resultobj = Py_None; | |
2179 | { | |
2180 | if (temp2) | |
2181 | delete arg2; | |
2182 | } | |
2183 | return resultobj; | |
2184 | fail: | |
2185 | { | |
2186 | if (temp2) | |
2187 | delete arg2; | |
2188 | } | |
2189 | return NULL; | |
2190 | } | |
2191 | ||
2192 | ||
2193 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2194 | PyObject *resultobj; | |
2195 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2196 | wxFont *result; | |
2197 | PyObject * obj0 = 0 ; | |
2198 | char *kwnames[] = { | |
2199 | (char *) "self", NULL | |
2200 | }; | |
2201 | ||
2202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2204 | { | |
2205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2206 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2207 | ||
2208 | wxPyEndAllowThreads(__tstate); | |
2209 | if (PyErr_Occurred()) SWIG_fail; | |
2210 | } | |
2211 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0); | |
2212 | return resultobj; | |
2213 | fail: | |
2214 | return NULL; | |
2215 | } | |
2216 | ||
2217 | ||
2218 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2219 | PyObject *resultobj; | |
2220 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2221 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2222 | PyObject * obj0 = 0 ; | |
2223 | char *kwnames[] = { | |
2224 | (char *) "self", NULL | |
2225 | }; | |
2226 | ||
2227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2229 | { | |
2230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2231 | result = (arg1)->GetLink(); | |
2232 | ||
2233 | wxPyEndAllowThreads(__tstate); | |
2234 | if (PyErr_Occurred()) SWIG_fail; | |
2235 | } | |
2236 | { | |
2237 | wxHtmlLinkInfo * resultptr; | |
2238 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2239 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2240 | } | |
2241 | return resultobj; | |
2242 | fail: | |
2243 | return NULL; | |
2244 | } | |
2245 | ||
2246 | ||
2247 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2248 | PyObject *obj; | |
2249 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2250 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2251 | Py_INCREF(obj); | |
2252 | return Py_BuildValue((char *)""); | |
2253 | } | |
2254 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2255 | PyObject *resultobj; | |
2256 | wxPyHtmlTagHandler *result; | |
2257 | char *kwnames[] = { | |
2258 | NULL | |
2259 | }; | |
2260 | ||
2261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2262 | { | |
2263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2264 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2265 | ||
2266 | wxPyEndAllowThreads(__tstate); | |
2267 | if (PyErr_Occurred()) SWIG_fail; | |
2268 | } | |
2269 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2270 | return resultobj; | |
2271 | fail: | |
2272 | return NULL; | |
2273 | } | |
2274 | ||
2275 | ||
2276 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2277 | PyObject *resultobj; | |
2278 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2279 | PyObject *arg2 = (PyObject *) 0 ; | |
2280 | PyObject *arg3 = (PyObject *) 0 ; | |
2281 | PyObject * obj0 = 0 ; | |
2282 | PyObject * obj1 = 0 ; | |
2283 | PyObject * obj2 = 0 ; | |
2284 | char *kwnames[] = { | |
2285 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2286 | }; | |
2287 | ||
2288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2290 | arg2 = obj1; | |
2291 | arg3 = obj2; | |
2292 | { | |
2293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2294 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2295 | ||
2296 | wxPyEndAllowThreads(__tstate); | |
2297 | if (PyErr_Occurred()) SWIG_fail; | |
2298 | } | |
2299 | Py_INCREF(Py_None); resultobj = Py_None; | |
2300 | return resultobj; | |
2301 | fail: | |
2302 | return NULL; | |
2303 | } | |
2304 | ||
2305 | ||
2306 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2307 | PyObject *resultobj; | |
2308 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2309 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2310 | PyObject * obj0 = 0 ; | |
2311 | PyObject * obj1 = 0 ; | |
2312 | char *kwnames[] = { | |
2313 | (char *) "self",(char *) "parser", NULL | |
2314 | }; | |
2315 | ||
2316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2317 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2318 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2319 | { | |
2320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2321 | (arg1)->SetParser(arg2); | |
2322 | ||
2323 | wxPyEndAllowThreads(__tstate); | |
2324 | if (PyErr_Occurred()) SWIG_fail; | |
2325 | } | |
2326 | Py_INCREF(Py_None); resultobj = Py_None; | |
2327 | return resultobj; | |
2328 | fail: | |
2329 | return NULL; | |
2330 | } | |
2331 | ||
2332 | ||
2333 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2334 | PyObject *resultobj; | |
2335 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2336 | wxHtmlParser *result; | |
2337 | PyObject * obj0 = 0 ; | |
2338 | char *kwnames[] = { | |
2339 | (char *) "self", NULL | |
2340 | }; | |
2341 | ||
2342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2344 | { | |
2345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2346 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2347 | ||
2348 | wxPyEndAllowThreads(__tstate); | |
2349 | if (PyErr_Occurred()) SWIG_fail; | |
2350 | } | |
2351 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0); | |
2352 | return resultobj; | |
2353 | fail: | |
2354 | return NULL; | |
2355 | } | |
2356 | ||
2357 | ||
2358 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2359 | PyObject *resultobj; | |
2360 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2361 | wxHtmlTag *arg2 = 0 ; | |
2362 | PyObject * obj0 = 0 ; | |
2363 | PyObject * obj1 = 0 ; | |
2364 | char *kwnames[] = { | |
2365 | (char *) "self",(char *) "tag", NULL | |
2366 | }; | |
2367 | ||
2368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2370 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2371 | if (arg2 == NULL) { | |
2372 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2373 | } | |
2374 | { | |
2375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2376 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2377 | ||
2378 | wxPyEndAllowThreads(__tstate); | |
2379 | if (PyErr_Occurred()) SWIG_fail; | |
2380 | } | |
2381 | Py_INCREF(Py_None); resultobj = Py_None; | |
2382 | return resultobj; | |
2383 | fail: | |
2384 | return NULL; | |
2385 | } | |
2386 | ||
2387 | ||
2388 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2389 | PyObject *obj; | |
2390 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2391 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2392 | Py_INCREF(obj); | |
2393 | return Py_BuildValue((char *)""); | |
2394 | } | |
2395 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2396 | PyObject *resultobj; | |
2397 | wxPyHtmlWinTagHandler *result; | |
2398 | char *kwnames[] = { | |
2399 | NULL | |
2400 | }; | |
2401 | ||
2402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2403 | { | |
2404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2405 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2406 | ||
2407 | wxPyEndAllowThreads(__tstate); | |
2408 | if (PyErr_Occurred()) SWIG_fail; | |
2409 | } | |
2410 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2411 | return resultobj; | |
2412 | fail: | |
2413 | return NULL; | |
2414 | } | |
2415 | ||
2416 | ||
2417 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2418 | PyObject *resultobj; | |
2419 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2420 | PyObject *arg2 = (PyObject *) 0 ; | |
2421 | PyObject *arg3 = (PyObject *) 0 ; | |
2422 | PyObject * obj0 = 0 ; | |
2423 | PyObject * obj1 = 0 ; | |
2424 | PyObject * obj2 = 0 ; | |
2425 | char *kwnames[] = { | |
2426 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2427 | }; | |
2428 | ||
2429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2430 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2431 | arg2 = obj1; | |
2432 | arg3 = obj2; | |
2433 | { | |
2434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2435 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2436 | ||
2437 | wxPyEndAllowThreads(__tstate); | |
2438 | if (PyErr_Occurred()) SWIG_fail; | |
2439 | } | |
2440 | Py_INCREF(Py_None); resultobj = Py_None; | |
2441 | return resultobj; | |
2442 | fail: | |
2443 | return NULL; | |
2444 | } | |
2445 | ||
2446 | ||
2447 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2448 | PyObject *resultobj; | |
2449 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2450 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2451 | PyObject * obj0 = 0 ; | |
2452 | PyObject * obj1 = 0 ; | |
2453 | char *kwnames[] = { | |
2454 | (char *) "self",(char *) "parser", NULL | |
2455 | }; | |
2456 | ||
2457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2458 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2459 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2460 | { | |
2461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2462 | (arg1)->SetParser(arg2); | |
2463 | ||
2464 | wxPyEndAllowThreads(__tstate); | |
2465 | if (PyErr_Occurred()) SWIG_fail; | |
2466 | } | |
2467 | Py_INCREF(Py_None); resultobj = Py_None; | |
2468 | return resultobj; | |
2469 | fail: | |
2470 | return NULL; | |
2471 | } | |
2472 | ||
2473 | ||
2474 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2475 | PyObject *resultobj; | |
2476 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2477 | wxHtmlWinParser *result; | |
2478 | PyObject * obj0 = 0 ; | |
2479 | char *kwnames[] = { | |
2480 | (char *) "self", NULL | |
2481 | }; | |
2482 | ||
2483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2485 | { | |
2486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2487 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2488 | ||
2489 | wxPyEndAllowThreads(__tstate); | |
2490 | if (PyErr_Occurred()) SWIG_fail; | |
2491 | } | |
2492 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
2493 | return resultobj; | |
2494 | fail: | |
2495 | return NULL; | |
2496 | } | |
2497 | ||
2498 | ||
2499 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2500 | PyObject *resultobj; | |
2501 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2502 | wxHtmlTag *arg2 = 0 ; | |
2503 | PyObject * obj0 = 0 ; | |
2504 | PyObject * obj1 = 0 ; | |
2505 | char *kwnames[] = { | |
2506 | (char *) "self",(char *) "tag", NULL | |
2507 | }; | |
2508 | ||
2509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2510 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2511 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2512 | if (arg2 == NULL) { | |
2513 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2514 | } | |
2515 | { | |
2516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2517 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2518 | ||
2519 | wxPyEndAllowThreads(__tstate); | |
2520 | if (PyErr_Occurred()) SWIG_fail; | |
2521 | } | |
2522 | Py_INCREF(Py_None); resultobj = Py_None; | |
2523 | return resultobj; | |
2524 | fail: | |
2525 | return NULL; | |
2526 | } | |
2527 | ||
2528 | ||
2529 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2530 | PyObject *obj; | |
2531 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2532 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2533 | Py_INCREF(obj); | |
2534 | return Py_BuildValue((char *)""); | |
2535 | } | |
2536 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2537 | PyObject *resultobj; | |
2538 | PyObject *arg1 = (PyObject *) 0 ; | |
2539 | PyObject * obj0 = 0 ; | |
2540 | char *kwnames[] = { | |
2541 | (char *) "tagHandlerClass", NULL | |
2542 | }; | |
2543 | ||
2544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2545 | arg1 = obj0; | |
2546 | { | |
2547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2548 | wxHtmlWinParser_AddTagHandler(arg1); | |
2549 | ||
2550 | wxPyEndAllowThreads(__tstate); | |
2551 | if (PyErr_Occurred()) SWIG_fail; | |
2552 | } | |
2553 | Py_INCREF(Py_None); resultobj = Py_None; | |
2554 | return resultobj; | |
2555 | fail: | |
2556 | return NULL; | |
2557 | } | |
2558 | ||
2559 | ||
2560 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2561 | PyObject *resultobj; | |
2562 | wxHtmlSelection *result; | |
2563 | char *kwnames[] = { | |
2564 | NULL | |
2565 | }; | |
2566 | ||
2567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2568 | { | |
2569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2570 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
2571 | ||
2572 | wxPyEndAllowThreads(__tstate); | |
2573 | if (PyErr_Occurred()) SWIG_fail; | |
2574 | } | |
2575 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1); | |
2576 | return resultobj; | |
2577 | fail: | |
2578 | return NULL; | |
2579 | } | |
2580 | ||
2581 | ||
2582 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2583 | PyObject *resultobj; | |
2584 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2585 | PyObject * obj0 = 0 ; | |
2586 | char *kwnames[] = { | |
2587 | (char *) "self", NULL | |
2588 | }; | |
2589 | ||
2590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2591 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2592 | { | |
2593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2594 | delete arg1; | |
2595 | ||
2596 | wxPyEndAllowThreads(__tstate); | |
2597 | if (PyErr_Occurred()) SWIG_fail; | |
2598 | } | |
2599 | Py_INCREF(Py_None); resultobj = Py_None; | |
2600 | return resultobj; | |
2601 | fail: | |
2602 | return NULL; | |
2603 | } | |
2604 | ||
2605 | ||
2606 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2607 | PyObject *resultobj; | |
2608 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2609 | wxPoint *arg2 = 0 ; | |
2610 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2611 | wxPoint *arg4 = 0 ; | |
2612 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
2613 | wxPoint temp2 ; | |
2614 | wxPoint temp4 ; | |
2615 | PyObject * obj0 = 0 ; | |
2616 | PyObject * obj1 = 0 ; | |
2617 | PyObject * obj2 = 0 ; | |
2618 | PyObject * obj3 = 0 ; | |
2619 | PyObject * obj4 = 0 ; | |
2620 | char *kwnames[] = { | |
2621 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
2622 | }; | |
2623 | ||
2624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2625 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2626 | { | |
2627 | arg2 = &temp2; | |
2628 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2629 | } | |
2630 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2631 | { | |
2632 | arg4 = &temp4; | |
2633 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2634 | } | |
2635 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2636 | { | |
2637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2638 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
2639 | ||
2640 | wxPyEndAllowThreads(__tstate); | |
2641 | if (PyErr_Occurred()) SWIG_fail; | |
2642 | } | |
2643 | Py_INCREF(Py_None); resultobj = Py_None; | |
2644 | return resultobj; | |
2645 | fail: | |
2646 | return NULL; | |
2647 | } | |
2648 | ||
2649 | ||
2650 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2651 | PyObject *resultobj; | |
2652 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2653 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
2654 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2655 | PyObject * obj0 = 0 ; | |
2656 | PyObject * obj1 = 0 ; | |
2657 | PyObject * obj2 = 0 ; | |
2658 | char *kwnames[] = { | |
2659 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
2660 | }; | |
2661 | ||
2662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2663 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2664 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2665 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2666 | { | |
2667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2668 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
2669 | ||
2670 | wxPyEndAllowThreads(__tstate); | |
2671 | if (PyErr_Occurred()) SWIG_fail; | |
2672 | } | |
2673 | Py_INCREF(Py_None); resultobj = Py_None; | |
2674 | return resultobj; | |
2675 | fail: | |
2676 | return NULL; | |
2677 | } | |
2678 | ||
2679 | ||
2680 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2681 | PyObject *resultobj; | |
2682 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2683 | wxHtmlCell *result; | |
2684 | PyObject * obj0 = 0 ; | |
2685 | char *kwnames[] = { | |
2686 | (char *) "self", NULL | |
2687 | }; | |
2688 | ||
2689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2690 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2691 | { | |
2692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2693 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
2694 | ||
2695 | wxPyEndAllowThreads(__tstate); | |
2696 | if (PyErr_Occurred()) SWIG_fail; | |
2697 | } | |
2698 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2699 | return resultobj; | |
2700 | fail: | |
2701 | return NULL; | |
2702 | } | |
2703 | ||
2704 | ||
2705 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2706 | PyObject *resultobj; | |
2707 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2708 | wxHtmlCell *result; | |
2709 | PyObject * obj0 = 0 ; | |
2710 | char *kwnames[] = { | |
2711 | (char *) "self", NULL | |
2712 | }; | |
2713 | ||
2714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2715 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2716 | { | |
2717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2718 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
2719 | ||
2720 | wxPyEndAllowThreads(__tstate); | |
2721 | if (PyErr_Occurred()) SWIG_fail; | |
2722 | } | |
2723 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2724 | return resultobj; | |
2725 | fail: | |
2726 | return NULL; | |
2727 | } | |
2728 | ||
2729 | ||
2730 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2731 | PyObject *resultobj; | |
2732 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2733 | wxPoint *result; | |
2734 | PyObject * obj0 = 0 ; | |
2735 | char *kwnames[] = { | |
2736 | (char *) "self", NULL | |
2737 | }; | |
2738 | ||
2739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2741 | { | |
2742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2743 | { | |
2744 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
2745 | result = (wxPoint *) &_result_ref; | |
2746 | } | |
2747 | ||
2748 | wxPyEndAllowThreads(__tstate); | |
2749 | if (PyErr_Occurred()) SWIG_fail; | |
2750 | } | |
2751 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2752 | return resultobj; | |
2753 | fail: | |
2754 | return NULL; | |
2755 | } | |
2756 | ||
2757 | ||
2758 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2759 | PyObject *resultobj; | |
2760 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2761 | wxPoint *result; | |
2762 | PyObject * obj0 = 0 ; | |
2763 | char *kwnames[] = { | |
2764 | (char *) "self", NULL | |
2765 | }; | |
2766 | ||
2767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2769 | { | |
2770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2771 | { | |
2772 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
2773 | result = (wxPoint *) &_result_ref; | |
2774 | } | |
2775 | ||
2776 | wxPyEndAllowThreads(__tstate); | |
2777 | if (PyErr_Occurred()) SWIG_fail; | |
2778 | } | |
2779 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2780 | return resultobj; | |
2781 | fail: | |
2782 | return NULL; | |
2783 | } | |
2784 | ||
2785 | ||
2786 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2787 | PyObject *resultobj; | |
2788 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2789 | wxPoint *result; | |
2790 | PyObject * obj0 = 0 ; | |
2791 | char *kwnames[] = { | |
2792 | (char *) "self", NULL | |
2793 | }; | |
2794 | ||
2795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2797 | { | |
2798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2799 | { | |
2800 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
2801 | result = (wxPoint *) &_result_ref; | |
2802 | } | |
2803 | ||
2804 | wxPyEndAllowThreads(__tstate); | |
2805 | if (PyErr_Occurred()) SWIG_fail; | |
2806 | } | |
2807 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2808 | return resultobj; | |
2809 | fail: | |
2810 | return NULL; | |
2811 | } | |
2812 | ||
2813 | ||
2814 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2815 | PyObject *resultobj; | |
2816 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2817 | wxPoint *result; | |
2818 | PyObject * obj0 = 0 ; | |
2819 | char *kwnames[] = { | |
2820 | (char *) "self", NULL | |
2821 | }; | |
2822 | ||
2823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2824 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2825 | { | |
2826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2827 | { | |
2828 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
2829 | result = (wxPoint *) &_result_ref; | |
2830 | } | |
2831 | ||
2832 | wxPyEndAllowThreads(__tstate); | |
2833 | if (PyErr_Occurred()) SWIG_fail; | |
2834 | } | |
2835 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2836 | return resultobj; | |
2837 | fail: | |
2838 | return NULL; | |
2839 | } | |
2840 | ||
2841 | ||
2842 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2843 | PyObject *resultobj; | |
2844 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2845 | wxPoint *arg2 = 0 ; | |
2846 | wxPoint temp2 ; | |
2847 | PyObject * obj0 = 0 ; | |
2848 | PyObject * obj1 = 0 ; | |
2849 | char *kwnames[] = { | |
2850 | (char *) "self",(char *) "pos", NULL | |
2851 | }; | |
2852 | ||
2853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2854 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2855 | { | |
2856 | arg2 = &temp2; | |
2857 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2858 | } | |
2859 | { | |
2860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2861 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
2862 | ||
2863 | wxPyEndAllowThreads(__tstate); | |
2864 | if (PyErr_Occurred()) SWIG_fail; | |
2865 | } | |
2866 | Py_INCREF(Py_None); resultobj = Py_None; | |
2867 | return resultobj; | |
2868 | fail: | |
2869 | return NULL; | |
2870 | } | |
2871 | ||
2872 | ||
2873 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2874 | PyObject *resultobj; | |
2875 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2876 | wxPoint *arg2 = 0 ; | |
2877 | wxPoint temp2 ; | |
2878 | PyObject * obj0 = 0 ; | |
2879 | PyObject * obj1 = 0 ; | |
2880 | char *kwnames[] = { | |
2881 | (char *) "self",(char *) "pos", NULL | |
2882 | }; | |
2883 | ||
2884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2885 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2886 | { | |
2887 | arg2 = &temp2; | |
2888 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2889 | } | |
2890 | { | |
2891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2892 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
2893 | ||
2894 | wxPyEndAllowThreads(__tstate); | |
2895 | if (PyErr_Occurred()) SWIG_fail; | |
2896 | } | |
2897 | Py_INCREF(Py_None); resultobj = Py_None; | |
2898 | return resultobj; | |
2899 | fail: | |
2900 | return NULL; | |
2901 | } | |
2902 | ||
2903 | ||
2904 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2905 | PyObject *resultobj; | |
2906 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2907 | PyObject * obj0 = 0 ; | |
2908 | char *kwnames[] = { | |
2909 | (char *) "self", NULL | |
2910 | }; | |
2911 | ||
2912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2913 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2914 | { | |
2915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2916 | (arg1)->ClearPrivPos(); | |
2917 | ||
2918 | wxPyEndAllowThreads(__tstate); | |
2919 | if (PyErr_Occurred()) SWIG_fail; | |
2920 | } | |
2921 | Py_INCREF(Py_None); resultobj = Py_None; | |
2922 | return resultobj; | |
2923 | fail: | |
2924 | return NULL; | |
2925 | } | |
2926 | ||
2927 | ||
2928 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2929 | PyObject *resultobj; | |
2930 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2931 | bool result; | |
2932 | PyObject * obj0 = 0 ; | |
2933 | char *kwnames[] = { | |
2934 | (char *) "self", NULL | |
2935 | }; | |
2936 | ||
2937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2939 | { | |
2940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2941 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
2942 | ||
2943 | wxPyEndAllowThreads(__tstate); | |
2944 | if (PyErr_Occurred()) SWIG_fail; | |
2945 | } | |
2946 | resultobj = PyInt_FromLong((long)result); | |
2947 | return resultobj; | |
2948 | fail: | |
2949 | return NULL; | |
2950 | } | |
2951 | ||
2952 | ||
2953 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
2954 | PyObject *obj; | |
2955 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2956 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
2957 | Py_INCREF(obj); | |
2958 | return Py_BuildValue((char *)""); | |
2959 | } | |
2960 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2961 | PyObject *resultobj; | |
2962 | wxHtmlRenderingState *result; | |
2963 | char *kwnames[] = { | |
2964 | NULL | |
2965 | }; | |
2966 | ||
2967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
2968 | { | |
2969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2970 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
2971 | ||
2972 | wxPyEndAllowThreads(__tstate); | |
2973 | if (PyErr_Occurred()) SWIG_fail; | |
2974 | } | |
2975 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1); | |
2976 | return resultobj; | |
2977 | fail: | |
2978 | return NULL; | |
2979 | } | |
2980 | ||
2981 | ||
2982 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2983 | PyObject *resultobj; | |
2984 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
2985 | PyObject * obj0 = 0 ; | |
2986 | char *kwnames[] = { | |
2987 | (char *) "self", NULL | |
2988 | }; | |
2989 | ||
2990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
2991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2992 | { | |
2993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2994 | delete arg1; | |
2995 | ||
2996 | wxPyEndAllowThreads(__tstate); | |
2997 | if (PyErr_Occurred()) SWIG_fail; | |
2998 | } | |
2999 | Py_INCREF(Py_None); resultobj = Py_None; | |
3000 | return resultobj; | |
3001 | fail: | |
3002 | return NULL; | |
3003 | } | |
3004 | ||
3005 | ||
3006 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3007 | PyObject *resultobj; | |
3008 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3009 | int arg2 ; | |
3010 | PyObject * obj0 = 0 ; | |
3011 | char *kwnames[] = { | |
3012 | (char *) "self",(char *) "s", NULL | |
3013 | }; | |
3014 | ||
3015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&arg2)) goto fail; | |
3016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3017 | { | |
3018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3019 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3020 | ||
3021 | wxPyEndAllowThreads(__tstate); | |
3022 | if (PyErr_Occurred()) SWIG_fail; | |
3023 | } | |
3024 | Py_INCREF(Py_None); resultobj = Py_None; | |
3025 | return resultobj; | |
3026 | fail: | |
3027 | return NULL; | |
3028 | } | |
3029 | ||
3030 | ||
3031 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3032 | PyObject *resultobj; | |
3033 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3034 | int result; | |
3035 | PyObject * obj0 = 0 ; | |
3036 | char *kwnames[] = { | |
3037 | (char *) "self", NULL | |
3038 | }; | |
3039 | ||
3040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3041 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3042 | { | |
3043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3044 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3045 | ||
3046 | wxPyEndAllowThreads(__tstate); | |
3047 | if (PyErr_Occurred()) SWIG_fail; | |
3048 | } | |
3049 | resultobj = PyInt_FromLong((long)result); | |
3050 | return resultobj; | |
3051 | fail: | |
3052 | return NULL; | |
3053 | } | |
3054 | ||
3055 | ||
3056 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3057 | PyObject *resultobj; | |
3058 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3059 | wxColour *arg2 = 0 ; | |
3060 | wxColour temp2 ; | |
3061 | PyObject * obj0 = 0 ; | |
3062 | PyObject * obj1 = 0 ; | |
3063 | char *kwnames[] = { | |
3064 | (char *) "self",(char *) "c", NULL | |
3065 | }; | |
3066 | ||
3067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3068 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3069 | { | |
3070 | arg2 = &temp2; | |
3071 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3072 | } | |
3073 | { | |
3074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3075 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3076 | ||
3077 | wxPyEndAllowThreads(__tstate); | |
3078 | if (PyErr_Occurred()) SWIG_fail; | |
3079 | } | |
3080 | Py_INCREF(Py_None); resultobj = Py_None; | |
3081 | return resultobj; | |
3082 | fail: | |
3083 | return NULL; | |
3084 | } | |
3085 | ||
3086 | ||
3087 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3088 | PyObject *resultobj; | |
3089 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3090 | wxColour *result; | |
3091 | PyObject * obj0 = 0 ; | |
3092 | char *kwnames[] = { | |
3093 | (char *) "self", NULL | |
3094 | }; | |
3095 | ||
3096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3097 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3098 | { | |
3099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3100 | { | |
3101 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3102 | result = (wxColour *) &_result_ref; | |
3103 | } | |
3104 | ||
3105 | wxPyEndAllowThreads(__tstate); | |
3106 | if (PyErr_Occurred()) SWIG_fail; | |
3107 | } | |
3108 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3109 | return resultobj; | |
3110 | fail: | |
3111 | return NULL; | |
3112 | } | |
3113 | ||
3114 | ||
3115 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3116 | PyObject *resultobj; | |
3117 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3118 | wxColour *arg2 = 0 ; | |
3119 | wxColour temp2 ; | |
3120 | PyObject * obj0 = 0 ; | |
3121 | PyObject * obj1 = 0 ; | |
3122 | char *kwnames[] = { | |
3123 | (char *) "self",(char *) "c", NULL | |
3124 | }; | |
3125 | ||
3126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3127 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3128 | { | |
3129 | arg2 = &temp2; | |
3130 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3131 | } | |
3132 | { | |
3133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3134 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3135 | ||
3136 | wxPyEndAllowThreads(__tstate); | |
3137 | if (PyErr_Occurred()) SWIG_fail; | |
3138 | } | |
3139 | Py_INCREF(Py_None); resultobj = Py_None; | |
3140 | return resultobj; | |
3141 | fail: | |
3142 | return NULL; | |
3143 | } | |
3144 | ||
3145 | ||
3146 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3147 | PyObject *resultobj; | |
3148 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3149 | wxColour *result; | |
3150 | PyObject * obj0 = 0 ; | |
3151 | char *kwnames[] = { | |
3152 | (char *) "self", NULL | |
3153 | }; | |
3154 | ||
3155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3157 | { | |
3158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3159 | { | |
3160 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3161 | result = (wxColour *) &_result_ref; | |
3162 | } | |
3163 | ||
3164 | wxPyEndAllowThreads(__tstate); | |
3165 | if (PyErr_Occurred()) SWIG_fail; | |
3166 | } | |
3167 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3168 | return resultobj; | |
3169 | fail: | |
3170 | return NULL; | |
3171 | } | |
3172 | ||
3173 | ||
3174 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3175 | PyObject *obj; | |
3176 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3177 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3178 | Py_INCREF(obj); | |
3179 | return Py_BuildValue((char *)""); | |
3180 | } | |
3181 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3182 | PyObject *resultobj; | |
3183 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3184 | wxColour *arg2 = 0 ; | |
3185 | wxColour result; | |
3186 | wxColour temp2 ; | |
3187 | PyObject * obj0 = 0 ; | |
3188 | PyObject * obj1 = 0 ; | |
3189 | char *kwnames[] = { | |
3190 | (char *) "self",(char *) "clr", NULL | |
3191 | }; | |
3192 | ||
3193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3194 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3195 | { | |
3196 | arg2 = &temp2; | |
3197 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3198 | } | |
3199 | { | |
3200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3201 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3202 | ||
3203 | wxPyEndAllowThreads(__tstate); | |
3204 | if (PyErr_Occurred()) SWIG_fail; | |
3205 | } | |
3206 | { | |
3207 | wxColour * resultptr; | |
3208 | resultptr = new wxColour((wxColour &) result); | |
3209 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3210 | } | |
3211 | return resultobj; | |
3212 | fail: | |
3213 | return NULL; | |
3214 | } | |
3215 | ||
3216 | ||
3217 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3218 | PyObject *resultobj; | |
3219 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3220 | wxColour *arg2 = 0 ; | |
3221 | wxColour result; | |
3222 | wxColour temp2 ; | |
3223 | PyObject * obj0 = 0 ; | |
3224 | PyObject * obj1 = 0 ; | |
3225 | char *kwnames[] = { | |
3226 | (char *) "self",(char *) "clr", NULL | |
3227 | }; | |
3228 | ||
3229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3231 | { | |
3232 | arg2 = &temp2; | |
3233 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3234 | } | |
3235 | { | |
3236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3237 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3238 | ||
3239 | wxPyEndAllowThreads(__tstate); | |
3240 | if (PyErr_Occurred()) SWIG_fail; | |
3241 | } | |
3242 | { | |
3243 | wxColour * resultptr; | |
3244 | resultptr = new wxColour((wxColour &) result); | |
3245 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3246 | } | |
3247 | return resultobj; | |
3248 | fail: | |
3249 | return NULL; | |
3250 | } | |
3251 | ||
3252 | ||
3253 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3254 | PyObject *obj; | |
3255 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3256 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3257 | Py_INCREF(obj); | |
3258 | return Py_BuildValue((char *)""); | |
3259 | } | |
3260 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3261 | PyObject *resultobj; | |
3262 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3263 | wxColour *arg2 = 0 ; | |
3264 | wxColour result; | |
3265 | wxColour temp2 ; | |
3266 | PyObject * obj0 = 0 ; | |
3267 | PyObject * obj1 = 0 ; | |
3268 | char *kwnames[] = { | |
3269 | (char *) "self",(char *) "clr", NULL | |
3270 | }; | |
3271 | ||
3272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3273 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3274 | { | |
3275 | arg2 = &temp2; | |
3276 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3277 | } | |
3278 | { | |
3279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3280 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3281 | ||
3282 | wxPyEndAllowThreads(__tstate); | |
3283 | if (PyErr_Occurred()) SWIG_fail; | |
3284 | } | |
3285 | { | |
3286 | wxColour * resultptr; | |
3287 | resultptr = new wxColour((wxColour &) result); | |
3288 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3289 | } | |
3290 | return resultobj; | |
3291 | fail: | |
3292 | return NULL; | |
3293 | } | |
3294 | ||
3295 | ||
3296 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3297 | PyObject *resultobj; | |
3298 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3299 | wxColour *arg2 = 0 ; | |
3300 | wxColour result; | |
3301 | wxColour temp2 ; | |
3302 | PyObject * obj0 = 0 ; | |
3303 | PyObject * obj1 = 0 ; | |
3304 | char *kwnames[] = { | |
3305 | (char *) "self",(char *) "clr", NULL | |
3306 | }; | |
3307 | ||
3308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3310 | { | |
3311 | arg2 = &temp2; | |
3312 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3313 | } | |
3314 | { | |
3315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3316 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3317 | ||
3318 | wxPyEndAllowThreads(__tstate); | |
3319 | if (PyErr_Occurred()) SWIG_fail; | |
3320 | } | |
3321 | { | |
3322 | wxColour * resultptr; | |
3323 | resultptr = new wxColour((wxColour &) result); | |
3324 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3325 | } | |
3326 | return resultobj; | |
3327 | fail: | |
3328 | return NULL; | |
3329 | } | |
3330 | ||
3331 | ||
3332 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3333 | PyObject *obj; | |
3334 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3335 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3336 | Py_INCREF(obj); | |
3337 | return Py_BuildValue((char *)""); | |
3338 | } | |
3339 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3340 | PyObject *resultobj; | |
3341 | wxHtmlRenderingInfo *result; | |
3342 | char *kwnames[] = { | |
3343 | NULL | |
3344 | }; | |
3345 | ||
3346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3347 | { | |
3348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3349 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3350 | ||
3351 | wxPyEndAllowThreads(__tstate); | |
3352 | if (PyErr_Occurred()) SWIG_fail; | |
3353 | } | |
3354 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3355 | return resultobj; | |
3356 | fail: | |
3357 | return NULL; | |
3358 | } | |
3359 | ||
3360 | ||
3361 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3362 | PyObject *resultobj; | |
3363 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3364 | PyObject * obj0 = 0 ; | |
3365 | char *kwnames[] = { | |
3366 | (char *) "self", NULL | |
3367 | }; | |
3368 | ||
3369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3370 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3371 | { | |
3372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3373 | delete arg1; | |
3374 | ||
3375 | wxPyEndAllowThreads(__tstate); | |
3376 | if (PyErr_Occurred()) SWIG_fail; | |
3377 | } | |
3378 | Py_INCREF(Py_None); resultobj = Py_None; | |
3379 | return resultobj; | |
3380 | fail: | |
3381 | return NULL; | |
3382 | } | |
3383 | ||
3384 | ||
3385 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3386 | PyObject *resultobj; | |
3387 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3388 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3389 | PyObject * obj0 = 0 ; | |
3390 | PyObject * obj1 = 0 ; | |
3391 | char *kwnames[] = { | |
3392 | (char *) "self",(char *) "s", NULL | |
3393 | }; | |
3394 | ||
3395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3396 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3397 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3398 | { | |
3399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3400 | (arg1)->SetSelection(arg2); | |
3401 | ||
3402 | wxPyEndAllowThreads(__tstate); | |
3403 | if (PyErr_Occurred()) SWIG_fail; | |
3404 | } | |
3405 | Py_INCREF(Py_None); resultobj = Py_None; | |
3406 | return resultobj; | |
3407 | fail: | |
3408 | return NULL; | |
3409 | } | |
3410 | ||
3411 | ||
3412 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3413 | PyObject *resultobj; | |
3414 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3415 | wxHtmlSelection *result; | |
3416 | PyObject * obj0 = 0 ; | |
3417 | char *kwnames[] = { | |
3418 | (char *) "self", NULL | |
3419 | }; | |
3420 | ||
3421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3422 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3423 | { | |
3424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3425 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3426 | ||
3427 | wxPyEndAllowThreads(__tstate); | |
3428 | if (PyErr_Occurred()) SWIG_fail; | |
3429 | } | |
3430 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0); | |
3431 | return resultobj; | |
3432 | fail: | |
3433 | return NULL; | |
3434 | } | |
3435 | ||
3436 | ||
3437 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3438 | PyObject *resultobj; | |
3439 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3440 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3441 | PyObject * obj0 = 0 ; | |
3442 | PyObject * obj1 = 0 ; | |
3443 | char *kwnames[] = { | |
3444 | (char *) "self",(char *) "style", NULL | |
3445 | }; | |
3446 | ||
3447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3448 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3449 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3450 | { | |
3451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3452 | (arg1)->SetStyle(arg2); | |
3453 | ||
3454 | wxPyEndAllowThreads(__tstate); | |
3455 | if (PyErr_Occurred()) SWIG_fail; | |
3456 | } | |
3457 | Py_INCREF(Py_None); resultobj = Py_None; | |
3458 | return resultobj; | |
3459 | fail: | |
3460 | return NULL; | |
3461 | } | |
3462 | ||
3463 | ||
3464 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3465 | PyObject *resultobj; | |
3466 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3467 | wxHtmlRenderingStyle *result; | |
3468 | PyObject * obj0 = 0 ; | |
3469 | char *kwnames[] = { | |
3470 | (char *) "self", NULL | |
3471 | }; | |
3472 | ||
3473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3474 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3475 | { | |
3476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3477 | { | |
3478 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3479 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3480 | } | |
3481 | ||
3482 | wxPyEndAllowThreads(__tstate); | |
3483 | if (PyErr_Occurred()) SWIG_fail; | |
3484 | } | |
3485 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3486 | return resultobj; | |
3487 | fail: | |
3488 | return NULL; | |
3489 | } | |
3490 | ||
3491 | ||
3492 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3493 | PyObject *resultobj; | |
3494 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3495 | wxHtmlRenderingState *result; | |
3496 | PyObject * obj0 = 0 ; | |
3497 | char *kwnames[] = { | |
3498 | (char *) "self", NULL | |
3499 | }; | |
3500 | ||
3501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3502 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3503 | { | |
3504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3505 | { | |
3506 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3507 | result = (wxHtmlRenderingState *) &_result_ref; | |
3508 | } | |
3509 | ||
3510 | wxPyEndAllowThreads(__tstate); | |
3511 | if (PyErr_Occurred()) SWIG_fail; | |
3512 | } | |
3513 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3514 | return resultobj; | |
3515 | fail: | |
3516 | return NULL; | |
3517 | } | |
3518 | ||
3519 | ||
3520 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3521 | PyObject *obj; | |
3522 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3523 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3524 | Py_INCREF(obj); | |
3525 | return Py_BuildValue((char *)""); | |
3526 | } | |
3527 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3528 | PyObject *resultobj; | |
3529 | wxHtmlCell *result; | |
3530 | char *kwnames[] = { | |
3531 | NULL | |
3532 | }; | |
3533 | ||
3534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
3535 | { | |
3536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3537 | result = (wxHtmlCell *)new wxHtmlCell(); | |
3538 | ||
3539 | wxPyEndAllowThreads(__tstate); | |
3540 | if (PyErr_Occurred()) SWIG_fail; | |
3541 | } | |
3542 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1); | |
3543 | return resultobj; | |
3544 | fail: | |
3545 | return NULL; | |
3546 | } | |
3547 | ||
3548 | ||
3549 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3550 | PyObject *resultobj; | |
3551 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3552 | int result; | |
3553 | PyObject * obj0 = 0 ; | |
3554 | char *kwnames[] = { | |
3555 | (char *) "self", NULL | |
3556 | }; | |
3557 | ||
3558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
3559 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3560 | { | |
3561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3562 | result = (int)(arg1)->GetPosX(); | |
3563 | ||
3564 | wxPyEndAllowThreads(__tstate); | |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
3566 | } | |
3567 | resultobj = PyInt_FromLong((long)result); | |
3568 | return resultobj; | |
3569 | fail: | |
3570 | return NULL; | |
3571 | } | |
3572 | ||
3573 | ||
3574 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3575 | PyObject *resultobj; | |
3576 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3577 | int result; | |
3578 | PyObject * obj0 = 0 ; | |
3579 | char *kwnames[] = { | |
3580 | (char *) "self", NULL | |
3581 | }; | |
3582 | ||
3583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
3584 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3585 | { | |
3586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3587 | result = (int)(arg1)->GetPosY(); | |
3588 | ||
3589 | wxPyEndAllowThreads(__tstate); | |
3590 | if (PyErr_Occurred()) SWIG_fail; | |
3591 | } | |
3592 | resultobj = PyInt_FromLong((long)result); | |
3593 | return resultobj; | |
3594 | fail: | |
3595 | return NULL; | |
3596 | } | |
3597 | ||
3598 | ||
3599 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3600 | PyObject *resultobj; | |
3601 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3602 | int result; | |
3603 | PyObject * obj0 = 0 ; | |
3604 | char *kwnames[] = { | |
3605 | (char *) "self", NULL | |
3606 | }; | |
3607 | ||
3608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
3609 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3610 | { | |
3611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3612 | result = (int)(arg1)->GetWidth(); | |
3613 | ||
3614 | wxPyEndAllowThreads(__tstate); | |
3615 | if (PyErr_Occurred()) SWIG_fail; | |
3616 | } | |
3617 | resultobj = PyInt_FromLong((long)result); | |
3618 | return resultobj; | |
3619 | fail: | |
3620 | return NULL; | |
3621 | } | |
3622 | ||
3623 | ||
3624 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3625 | PyObject *resultobj; | |
3626 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3627 | int result; | |
3628 | PyObject * obj0 = 0 ; | |
3629 | char *kwnames[] = { | |
3630 | (char *) "self", NULL | |
3631 | }; | |
3632 | ||
3633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
3634 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3635 | { | |
3636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3637 | result = (int)(arg1)->GetHeight(); | |
3638 | ||
3639 | wxPyEndAllowThreads(__tstate); | |
3640 | if (PyErr_Occurred()) SWIG_fail; | |
3641 | } | |
3642 | resultobj = PyInt_FromLong((long)result); | |
3643 | return resultobj; | |
3644 | fail: | |
3645 | return NULL; | |
3646 | } | |
3647 | ||
3648 | ||
3649 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3650 | PyObject *resultobj; | |
3651 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3652 | int result; | |
3653 | PyObject * obj0 = 0 ; | |
3654 | char *kwnames[] = { | |
3655 | (char *) "self", NULL | |
3656 | }; | |
3657 | ||
3658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
3659 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3660 | { | |
3661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3662 | result = (int)(arg1)->GetDescent(); | |
3663 | ||
3664 | wxPyEndAllowThreads(__tstate); | |
3665 | if (PyErr_Occurred()) SWIG_fail; | |
3666 | } | |
3667 | resultobj = PyInt_FromLong((long)result); | |
3668 | return resultobj; | |
3669 | fail: | |
3670 | return NULL; | |
3671 | } | |
3672 | ||
3673 | ||
3674 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3675 | PyObject *resultobj; | |
3676 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3677 | int arg2 = (int) 0 ; | |
3678 | int arg3 = (int) 0 ; | |
3679 | wxHtmlLinkInfo *result; | |
3680 | PyObject * obj0 = 0 ; | |
3681 | char *kwnames[] = { | |
3682 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3683 | }; | |
3684 | ||
3685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:HtmlCell_GetLink",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3686 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3687 | { | |
3688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3689 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
3690 | ||
3691 | wxPyEndAllowThreads(__tstate); | |
3692 | if (PyErr_Occurred()) SWIG_fail; | |
3693 | } | |
3694 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
3695 | return resultobj; | |
3696 | fail: | |
3697 | return NULL; | |
3698 | } | |
3699 | ||
3700 | ||
3701 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3702 | PyObject *resultobj; | |
3703 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3704 | wxHtmlCell *result; | |
3705 | PyObject * obj0 = 0 ; | |
3706 | char *kwnames[] = { | |
3707 | (char *) "self", NULL | |
3708 | }; | |
3709 | ||
3710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
3711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3712 | { | |
3713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3714 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
3715 | ||
3716 | wxPyEndAllowThreads(__tstate); | |
3717 | if (PyErr_Occurred()) SWIG_fail; | |
3718 | } | |
3719 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3720 | return resultobj; | |
3721 | fail: | |
3722 | return NULL; | |
3723 | } | |
3724 | ||
3725 | ||
3726 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3727 | PyObject *resultobj; | |
3728 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3729 | wxHtmlContainerCell *result; | |
3730 | PyObject * obj0 = 0 ; | |
3731 | char *kwnames[] = { | |
3732 | (char *) "self", NULL | |
3733 | }; | |
3734 | ||
3735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
3736 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3737 | { | |
3738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3739 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
3740 | ||
3741 | wxPyEndAllowThreads(__tstate); | |
3742 | if (PyErr_Occurred()) SWIG_fail; | |
3743 | } | |
3744 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
3745 | return resultobj; | |
3746 | fail: | |
3747 | return NULL; | |
3748 | } | |
3749 | ||
3750 | ||
3751 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3752 | PyObject *resultobj; | |
3753 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3754 | wxHtmlCell *result; | |
3755 | PyObject * obj0 = 0 ; | |
3756 | char *kwnames[] = { | |
3757 | (char *) "self", NULL | |
3758 | }; | |
3759 | ||
3760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
3761 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3762 | { | |
3763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3764 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
3765 | ||
3766 | wxPyEndAllowThreads(__tstate); | |
3767 | if (PyErr_Occurred()) SWIG_fail; | |
3768 | } | |
3769 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3770 | return resultobj; | |
3771 | fail: | |
3772 | return NULL; | |
3773 | } | |
3774 | ||
3775 | ||
3776 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3777 | PyObject *resultobj; | |
3778 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3779 | wxCursor result; | |
3780 | PyObject * obj0 = 0 ; | |
3781 | char *kwnames[] = { | |
3782 | (char *) "self", NULL | |
3783 | }; | |
3784 | ||
3785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
3786 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3787 | { | |
3788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3789 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
3790 | ||
3791 | wxPyEndAllowThreads(__tstate); | |
3792 | if (PyErr_Occurred()) SWIG_fail; | |
3793 | } | |
3794 | { | |
3795 | wxCursor * resultptr; | |
3796 | resultptr = new wxCursor((wxCursor &) result); | |
3797 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1); | |
3798 | } | |
3799 | return resultobj; | |
3800 | fail: | |
3801 | return NULL; | |
3802 | } | |
3803 | ||
3804 | ||
3805 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3806 | PyObject *resultobj; | |
3807 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3808 | bool result; | |
3809 | PyObject * obj0 = 0 ; | |
3810 | char *kwnames[] = { | |
3811 | (char *) "self", NULL | |
3812 | }; | |
3813 | ||
3814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
3815 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3816 | { | |
3817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3818 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
3819 | ||
3820 | wxPyEndAllowThreads(__tstate); | |
3821 | if (PyErr_Occurred()) SWIG_fail; | |
3822 | } | |
3823 | resultobj = PyInt_FromLong((long)result); | |
3824 | return resultobj; | |
3825 | fail: | |
3826 | return NULL; | |
3827 | } | |
3828 | ||
3829 | ||
3830 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3831 | PyObject *resultobj; | |
3832 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3833 | wxHtmlLinkInfo *arg2 = 0 ; | |
3834 | PyObject * obj0 = 0 ; | |
3835 | PyObject * obj1 = 0 ; | |
3836 | char *kwnames[] = { | |
3837 | (char *) "self",(char *) "link", NULL | |
3838 | }; | |
3839 | ||
3840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
3841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3842 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3843 | if (arg2 == NULL) { | |
3844 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3845 | } | |
3846 | { | |
3847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3848 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
3849 | ||
3850 | wxPyEndAllowThreads(__tstate); | |
3851 | if (PyErr_Occurred()) SWIG_fail; | |
3852 | } | |
3853 | Py_INCREF(Py_None); resultobj = Py_None; | |
3854 | return resultobj; | |
3855 | fail: | |
3856 | return NULL; | |
3857 | } | |
3858 | ||
3859 | ||
3860 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3861 | PyObject *resultobj; | |
3862 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3863 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3864 | PyObject * obj0 = 0 ; | |
3865 | PyObject * obj1 = 0 ; | |
3866 | char *kwnames[] = { | |
3867 | (char *) "self",(char *) "cell", NULL | |
3868 | }; | |
3869 | ||
3870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
3871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3872 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3873 | { | |
3874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3875 | (arg1)->SetNext(arg2); | |
3876 | ||
3877 | wxPyEndAllowThreads(__tstate); | |
3878 | if (PyErr_Occurred()) SWIG_fail; | |
3879 | } | |
3880 | Py_INCREF(Py_None); resultobj = Py_None; | |
3881 | return resultobj; | |
3882 | fail: | |
3883 | return NULL; | |
3884 | } | |
3885 | ||
3886 | ||
3887 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3888 | PyObject *resultobj; | |
3889 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3890 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
3891 | PyObject * obj0 = 0 ; | |
3892 | PyObject * obj1 = 0 ; | |
3893 | char *kwnames[] = { | |
3894 | (char *) "self",(char *) "p", NULL | |
3895 | }; | |
3896 | ||
3897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
3898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3899 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3900 | { | |
3901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3902 | (arg1)->SetParent(arg2); | |
3903 | ||
3904 | wxPyEndAllowThreads(__tstate); | |
3905 | if (PyErr_Occurred()) SWIG_fail; | |
3906 | } | |
3907 | Py_INCREF(Py_None); resultobj = Py_None; | |
3908 | return resultobj; | |
3909 | fail: | |
3910 | return NULL; | |
3911 | } | |
3912 | ||
3913 | ||
3914 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3915 | PyObject *resultobj; | |
3916 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3917 | int arg2 ; | |
3918 | int arg3 ; | |
3919 | PyObject * obj0 = 0 ; | |
3920 | char *kwnames[] = { | |
3921 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3922 | }; | |
3923 | ||
3924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlCell_SetPos",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3926 | { | |
3927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3928 | (arg1)->SetPos(arg2,arg3); | |
3929 | ||
3930 | wxPyEndAllowThreads(__tstate); | |
3931 | if (PyErr_Occurred()) SWIG_fail; | |
3932 | } | |
3933 | Py_INCREF(Py_None); resultobj = Py_None; | |
3934 | return resultobj; | |
3935 | fail: | |
3936 | return NULL; | |
3937 | } | |
3938 | ||
3939 | ||
3940 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3941 | PyObject *resultobj; | |
3942 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3943 | int arg2 ; | |
3944 | PyObject * obj0 = 0 ; | |
3945 | char *kwnames[] = { | |
3946 | (char *) "self",(char *) "w", NULL | |
3947 | }; | |
3948 | ||
3949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlCell_Layout",kwnames,&obj0,&arg2)) goto fail; | |
3950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3951 | { | |
3952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3953 | (arg1)->Layout(arg2); | |
3954 | ||
3955 | wxPyEndAllowThreads(__tstate); | |
3956 | if (PyErr_Occurred()) SWIG_fail; | |
3957 | } | |
3958 | Py_INCREF(Py_None); resultobj = Py_None; | |
3959 | return resultobj; | |
3960 | fail: | |
3961 | return NULL; | |
3962 | } | |
3963 | ||
3964 | ||
3965 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3966 | PyObject *resultobj; | |
3967 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3968 | wxDC *arg2 = 0 ; | |
3969 | int arg3 ; | |
3970 | int arg4 ; | |
3971 | int arg5 ; | |
3972 | int arg6 ; | |
3973 | wxHtmlRenderingInfo *arg7 = 0 ; | |
3974 | PyObject * obj0 = 0 ; | |
3975 | PyObject * obj1 = 0 ; | |
3976 | PyObject * obj6 = 0 ; | |
3977 | char *kwnames[] = { | |
3978 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
3979 | }; | |
3980 | ||
3981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiiiO:HtmlCell_Draw",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail; | |
3982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3983 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3984 | if (arg2 == NULL) { | |
3985 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3986 | } | |
3987 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3988 | if (arg7 == NULL) { | |
3989 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3990 | } | |
3991 | { | |
3992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3993 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
3994 | ||
3995 | wxPyEndAllowThreads(__tstate); | |
3996 | if (PyErr_Occurred()) SWIG_fail; | |
3997 | } | |
3998 | Py_INCREF(Py_None); resultobj = Py_None; | |
3999 | return resultobj; | |
4000 | fail: | |
4001 | return NULL; | |
4002 | } | |
4003 | ||
4004 | ||
4005 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4006 | PyObject *resultobj; | |
4007 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4008 | wxDC *arg2 = 0 ; | |
4009 | int arg3 ; | |
4010 | int arg4 ; | |
4011 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4012 | PyObject * obj0 = 0 ; | |
4013 | PyObject * obj1 = 0 ; | |
4014 | PyObject * obj4 = 0 ; | |
4015 | char *kwnames[] = { | |
4016 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4017 | }; | |
4018 | ||
4019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4020 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4021 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4022 | if (arg2 == NULL) { | |
4023 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4024 | } | |
4025 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4026 | if (arg5 == NULL) { | |
4027 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4028 | } | |
4029 | { | |
4030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4031 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4032 | ||
4033 | wxPyEndAllowThreads(__tstate); | |
4034 | if (PyErr_Occurred()) SWIG_fail; | |
4035 | } | |
4036 | Py_INCREF(Py_None); resultobj = Py_None; | |
4037 | return resultobj; | |
4038 | fail: | |
4039 | return NULL; | |
4040 | } | |
4041 | ||
4042 | ||
4043 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4044 | PyObject *resultobj; | |
4045 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4046 | int arg2 ; | |
4047 | void *arg3 = (void *) 0 ; | |
4048 | wxHtmlCell *result; | |
4049 | PyObject * obj0 = 0 ; | |
4050 | PyObject * obj2 = 0 ; | |
4051 | char *kwnames[] = { | |
4052 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4053 | }; | |
4054 | ||
4055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HtmlCell_Find",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
4056 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4057 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4058 | { | |
4059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4060 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4061 | ||
4062 | wxPyEndAllowThreads(__tstate); | |
4063 | if (PyErr_Occurred()) SWIG_fail; | |
4064 | } | |
4065 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4066 | return resultobj; | |
4067 | fail: | |
4068 | return NULL; | |
4069 | } | |
4070 | ||
4071 | ||
4072 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4073 | PyObject *resultobj; | |
4074 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4075 | int *arg2 = (int *) 0 ; | |
4076 | bool result; | |
4077 | int temp2 ; | |
4078 | PyObject * obj0 = 0 ; | |
4079 | PyObject * obj1 = 0 ; | |
4080 | char *kwnames[] = { | |
4081 | (char *) "self",(char *) "INOUT", NULL | |
4082 | }; | |
4083 | ||
4084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4085 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4086 | { | |
4087 | temp2 = PyInt_AsLong(obj1); | |
4088 | if (PyErr_Occurred()) SWIG_fail; | |
4089 | arg2 = &temp2; | |
4090 | } | |
4091 | { | |
4092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4093 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4094 | ||
4095 | wxPyEndAllowThreads(__tstate); | |
4096 | if (PyErr_Occurred()) SWIG_fail; | |
4097 | } | |
4098 | resultobj = PyInt_FromLong((long)result); | |
4099 | { | |
4100 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4101 | resultobj = t_output_helper(resultobj,o); | |
4102 | } | |
4103 | return resultobj; | |
4104 | fail: | |
4105 | return NULL; | |
4106 | } | |
4107 | ||
4108 | ||
4109 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4110 | PyObject *resultobj; | |
4111 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4112 | bool arg2 ; | |
4113 | PyObject * obj0 = 0 ; | |
4114 | PyObject * obj1 = 0 ; | |
4115 | char *kwnames[] = { | |
4116 | (char *) "self",(char *) "can", NULL | |
4117 | }; | |
4118 | ||
4119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4120 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4121 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4122 | if (PyErr_Occurred()) SWIG_fail; | |
4123 | { | |
4124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4125 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4126 | ||
4127 | wxPyEndAllowThreads(__tstate); | |
4128 | if (PyErr_Occurred()) SWIG_fail; | |
4129 | } | |
4130 | Py_INCREF(Py_None); resultobj = Py_None; | |
4131 | return resultobj; | |
4132 | fail: | |
4133 | return NULL; | |
4134 | } | |
4135 | ||
4136 | ||
4137 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4138 | PyObject *resultobj; | |
4139 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4140 | bool result; | |
4141 | PyObject * obj0 = 0 ; | |
4142 | char *kwnames[] = { | |
4143 | (char *) "self", NULL | |
4144 | }; | |
4145 | ||
4146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4148 | { | |
4149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4150 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4151 | ||
4152 | wxPyEndAllowThreads(__tstate); | |
4153 | if (PyErr_Occurred()) SWIG_fail; | |
4154 | } | |
4155 | resultobj = PyInt_FromLong((long)result); | |
4156 | return resultobj; | |
4157 | fail: | |
4158 | return NULL; | |
4159 | } | |
4160 | ||
4161 | ||
4162 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4163 | PyObject *resultobj; | |
4164 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4165 | bool result; | |
4166 | PyObject * obj0 = 0 ; | |
4167 | char *kwnames[] = { | |
4168 | (char *) "self", NULL | |
4169 | }; | |
4170 | ||
4171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4172 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4173 | { | |
4174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4175 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4176 | ||
4177 | wxPyEndAllowThreads(__tstate); | |
4178 | if (PyErr_Occurred()) SWIG_fail; | |
4179 | } | |
4180 | resultobj = PyInt_FromLong((long)result); | |
4181 | return resultobj; | |
4182 | fail: | |
4183 | return NULL; | |
4184 | } | |
4185 | ||
4186 | ||
4187 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4188 | PyObject *resultobj; | |
4189 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4190 | wxCoord arg2 ; | |
4191 | wxCoord arg3 ; | |
4192 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; | |
4193 | wxHtmlCell *result; | |
4194 | PyObject * obj0 = 0 ; | |
4195 | PyObject * obj3 = 0 ; | |
4196 | char *kwnames[] = { | |
4197 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4198 | }; | |
4199 | ||
4200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4201 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4202 | if (obj3) { | |
4203 | arg4 = (unsigned int) PyInt_AsLong(obj3); | |
4204 | if (PyErr_Occurred()) SWIG_fail; | |
4205 | } | |
4206 | { | |
4207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4208 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4209 | ||
4210 | wxPyEndAllowThreads(__tstate); | |
4211 | if (PyErr_Occurred()) SWIG_fail; | |
4212 | } | |
4213 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4214 | return resultobj; | |
4215 | fail: | |
4216 | return NULL; | |
4217 | } | |
4218 | ||
4219 | ||
4220 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4221 | PyObject *resultobj; | |
4222 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4223 | wxPoint result; | |
4224 | PyObject * obj0 = 0 ; | |
4225 | char *kwnames[] = { | |
4226 | (char *) "self", NULL | |
4227 | }; | |
4228 | ||
4229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4231 | { | |
4232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4233 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4234 | ||
4235 | wxPyEndAllowThreads(__tstate); | |
4236 | if (PyErr_Occurred()) SWIG_fail; | |
4237 | } | |
4238 | { | |
4239 | wxPoint * resultptr; | |
4240 | resultptr = new wxPoint((wxPoint &) result); | |
4241 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
4242 | } | |
4243 | return resultobj; | |
4244 | fail: | |
4245 | return NULL; | |
4246 | } | |
4247 | ||
4248 | ||
4249 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4250 | PyObject *resultobj; | |
4251 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4252 | wxHtmlCell *result; | |
4253 | PyObject * obj0 = 0 ; | |
4254 | char *kwnames[] = { | |
4255 | (char *) "self", NULL | |
4256 | }; | |
4257 | ||
4258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4259 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4260 | { | |
4261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4262 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4263 | ||
4264 | wxPyEndAllowThreads(__tstate); | |
4265 | if (PyErr_Occurred()) SWIG_fail; | |
4266 | } | |
4267 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4268 | return resultobj; | |
4269 | fail: | |
4270 | return NULL; | |
4271 | } | |
4272 | ||
4273 | ||
4274 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4275 | PyObject *resultobj; | |
4276 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4277 | wxHtmlCell *result; | |
4278 | PyObject * obj0 = 0 ; | |
4279 | char *kwnames[] = { | |
4280 | (char *) "self", NULL | |
4281 | }; | |
4282 | ||
4283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4285 | { | |
4286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4287 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4288 | ||
4289 | wxPyEndAllowThreads(__tstate); | |
4290 | if (PyErr_Occurred()) SWIG_fail; | |
4291 | } | |
4292 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4293 | return resultobj; | |
4294 | fail: | |
4295 | return NULL; | |
4296 | } | |
4297 | ||
4298 | ||
4299 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4300 | PyObject *resultobj; | |
4301 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4302 | unsigned int result; | |
4303 | PyObject * obj0 = 0 ; | |
4304 | char *kwnames[] = { | |
4305 | (char *) "self", NULL | |
4306 | }; | |
4307 | ||
4308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4310 | { | |
4311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4312 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4313 | ||
4314 | wxPyEndAllowThreads(__tstate); | |
4315 | if (PyErr_Occurred()) SWIG_fail; | |
4316 | } | |
4317 | resultobj = PyInt_FromLong((long)result); | |
4318 | return resultobj; | |
4319 | fail: | |
4320 | return NULL; | |
4321 | } | |
4322 | ||
4323 | ||
4324 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4325 | PyObject *resultobj; | |
4326 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4327 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4328 | bool result; | |
4329 | PyObject * obj0 = 0 ; | |
4330 | PyObject * obj1 = 0 ; | |
4331 | char *kwnames[] = { | |
4332 | (char *) "self",(char *) "cell", NULL | |
4333 | }; | |
4334 | ||
4335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
4336 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4337 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4338 | { | |
4339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4340 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
4341 | ||
4342 | wxPyEndAllowThreads(__tstate); | |
4343 | if (PyErr_Occurred()) SWIG_fail; | |
4344 | } | |
4345 | resultobj = PyInt_FromLong((long)result); | |
4346 | return resultobj; | |
4347 | fail: | |
4348 | return NULL; | |
4349 | } | |
4350 | ||
4351 | ||
4352 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4353 | PyObject *resultobj; | |
4354 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4355 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4356 | wxString result; | |
4357 | PyObject * obj0 = 0 ; | |
4358 | PyObject * obj1 = 0 ; | |
4359 | char *kwnames[] = { | |
4360 | (char *) "self",(char *) "sel", NULL | |
4361 | }; | |
4362 | ||
4363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
4364 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4365 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4366 | { | |
4367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4368 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
4369 | ||
4370 | wxPyEndAllowThreads(__tstate); | |
4371 | if (PyErr_Occurred()) SWIG_fail; | |
4372 | } | |
4373 | { | |
4374 | #if wxUSE_UNICODE | |
4375 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4376 | #else | |
4377 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4378 | #endif | |
4379 | } | |
4380 | return resultobj; | |
4381 | fail: | |
4382 | return NULL; | |
4383 | } | |
4384 | ||
4385 | ||
4386 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
4387 | PyObject *obj; | |
4388 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4389 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
4390 | Py_INCREF(obj); | |
4391 | return Py_BuildValue((char *)""); | |
4392 | } | |
4393 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4394 | PyObject *resultobj; | |
4395 | wxString *arg1 = 0 ; | |
4396 | wxDC *arg2 = 0 ; | |
4397 | wxHtmlWordCell *result; | |
4398 | bool temp1 = false ; | |
4399 | PyObject * obj0 = 0 ; | |
4400 | PyObject * obj1 = 0 ; | |
4401 | char *kwnames[] = { | |
4402 | (char *) "word",(char *) "dc", NULL | |
4403 | }; | |
4404 | ||
4405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
4406 | { | |
4407 | arg1 = wxString_in_helper(obj0); | |
4408 | if (arg1 == NULL) SWIG_fail; | |
4409 | temp1 = true; | |
4410 | } | |
4411 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4412 | if (arg2 == NULL) { | |
4413 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4414 | } | |
4415 | { | |
4416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4417 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
4418 | ||
4419 | wxPyEndAllowThreads(__tstate); | |
4420 | if (PyErr_Occurred()) SWIG_fail; | |
4421 | } | |
4422 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1); | |
4423 | { | |
4424 | if (temp1) | |
4425 | delete arg1; | |
4426 | } | |
4427 | return resultobj; | |
4428 | fail: | |
4429 | { | |
4430 | if (temp1) | |
4431 | delete arg1; | |
4432 | } | |
4433 | return NULL; | |
4434 | } | |
4435 | ||
4436 | ||
4437 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
4438 | PyObject *obj; | |
4439 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4440 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
4441 | Py_INCREF(obj); | |
4442 | return Py_BuildValue((char *)""); | |
4443 | } | |
4444 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4445 | PyObject *resultobj; | |
4446 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4447 | wxHtmlContainerCell *result; | |
4448 | PyObject * obj0 = 0 ; | |
4449 | char *kwnames[] = { | |
4450 | (char *) "parent", NULL | |
4451 | }; | |
4452 | ||
4453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
4454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4455 | { | |
4456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4457 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
4458 | ||
4459 | wxPyEndAllowThreads(__tstate); | |
4460 | if (PyErr_Occurred()) SWIG_fail; | |
4461 | } | |
4462 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1); | |
4463 | return resultobj; | |
4464 | fail: | |
4465 | return NULL; | |
4466 | } | |
4467 | ||
4468 | ||
4469 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4470 | PyObject *resultobj; | |
4471 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4472 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4473 | PyObject * obj0 = 0 ; | |
4474 | PyObject * obj1 = 0 ; | |
4475 | char *kwnames[] = { | |
4476 | (char *) "self",(char *) "cell", NULL | |
4477 | }; | |
4478 | ||
4479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
4480 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4481 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4482 | { | |
4483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4484 | (arg1)->InsertCell(arg2); | |
4485 | ||
4486 | wxPyEndAllowThreads(__tstate); | |
4487 | if (PyErr_Occurred()) SWIG_fail; | |
4488 | } | |
4489 | Py_INCREF(Py_None); resultobj = Py_None; | |
4490 | return resultobj; | |
4491 | fail: | |
4492 | return NULL; | |
4493 | } | |
4494 | ||
4495 | ||
4496 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4497 | PyObject *resultobj; | |
4498 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4499 | int arg2 ; | |
4500 | PyObject * obj0 = 0 ; | |
4501 | char *kwnames[] = { | |
4502 | (char *) "self",(char *) "al", NULL | |
4503 | }; | |
4504 | ||
4505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&arg2)) goto fail; | |
4506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4507 | { | |
4508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4509 | (arg1)->SetAlignHor(arg2); | |
4510 | ||
4511 | wxPyEndAllowThreads(__tstate); | |
4512 | if (PyErr_Occurred()) SWIG_fail; | |
4513 | } | |
4514 | Py_INCREF(Py_None); resultobj = Py_None; | |
4515 | return resultobj; | |
4516 | fail: | |
4517 | return NULL; | |
4518 | } | |
4519 | ||
4520 | ||
4521 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4522 | PyObject *resultobj; | |
4523 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4524 | int result; | |
4525 | PyObject * obj0 = 0 ; | |
4526 | char *kwnames[] = { | |
4527 | (char *) "self", NULL | |
4528 | }; | |
4529 | ||
4530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
4531 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4532 | { | |
4533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4534 | result = (int)(arg1)->GetAlignHor(); | |
4535 | ||
4536 | wxPyEndAllowThreads(__tstate); | |
4537 | if (PyErr_Occurred()) SWIG_fail; | |
4538 | } | |
4539 | resultobj = PyInt_FromLong((long)result); | |
4540 | return resultobj; | |
4541 | fail: | |
4542 | return NULL; | |
4543 | } | |
4544 | ||
4545 | ||
4546 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4547 | PyObject *resultobj; | |
4548 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4549 | int arg2 ; | |
4550 | PyObject * obj0 = 0 ; | |
4551 | char *kwnames[] = { | |
4552 | (char *) "self",(char *) "al", NULL | |
4553 | }; | |
4554 | ||
4555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&arg2)) goto fail; | |
4556 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4557 | { | |
4558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4559 | (arg1)->SetAlignVer(arg2); | |
4560 | ||
4561 | wxPyEndAllowThreads(__tstate); | |
4562 | if (PyErr_Occurred()) SWIG_fail; | |
4563 | } | |
4564 | Py_INCREF(Py_None); resultobj = Py_None; | |
4565 | return resultobj; | |
4566 | fail: | |
4567 | return NULL; | |
4568 | } | |
4569 | ||
4570 | ||
4571 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4572 | PyObject *resultobj; | |
4573 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4574 | int result; | |
4575 | PyObject * obj0 = 0 ; | |
4576 | char *kwnames[] = { | |
4577 | (char *) "self", NULL | |
4578 | }; | |
4579 | ||
4580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
4581 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4582 | { | |
4583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4584 | result = (int)(arg1)->GetAlignVer(); | |
4585 | ||
4586 | wxPyEndAllowThreads(__tstate); | |
4587 | if (PyErr_Occurred()) SWIG_fail; | |
4588 | } | |
4589 | resultobj = PyInt_FromLong((long)result); | |
4590 | return resultobj; | |
4591 | fail: | |
4592 | return NULL; | |
4593 | } | |
4594 | ||
4595 | ||
4596 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4597 | PyObject *resultobj; | |
4598 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4599 | int arg2 ; | |
4600 | int arg3 ; | |
4601 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
4602 | PyObject * obj0 = 0 ; | |
4603 | char *kwnames[] = { | |
4604 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
4605 | }; | |
4606 | ||
4607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
4608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4609 | { | |
4610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4611 | (arg1)->SetIndent(arg2,arg3,arg4); | |
4612 | ||
4613 | wxPyEndAllowThreads(__tstate); | |
4614 | if (PyErr_Occurred()) SWIG_fail; | |
4615 | } | |
4616 | Py_INCREF(Py_None); resultobj = Py_None; | |
4617 | return resultobj; | |
4618 | fail: | |
4619 | return NULL; | |
4620 | } | |
4621 | ||
4622 | ||
4623 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4624 | PyObject *resultobj; | |
4625 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4626 | int arg2 ; | |
4627 | int result; | |
4628 | PyObject * obj0 = 0 ; | |
4629 | char *kwnames[] = { | |
4630 | (char *) "self",(char *) "ind", NULL | |
4631 | }; | |
4632 | ||
4633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames,&obj0,&arg2)) goto fail; | |
4634 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4635 | { | |
4636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4637 | result = (int)(arg1)->GetIndent(arg2); | |
4638 | ||
4639 | wxPyEndAllowThreads(__tstate); | |
4640 | if (PyErr_Occurred()) SWIG_fail; | |
4641 | } | |
4642 | resultobj = PyInt_FromLong((long)result); | |
4643 | return resultobj; | |
4644 | fail: | |
4645 | return NULL; | |
4646 | } | |
4647 | ||
4648 | ||
4649 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4650 | PyObject *resultobj; | |
4651 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4652 | int arg2 ; | |
4653 | int result; | |
4654 | PyObject * obj0 = 0 ; | |
4655 | char *kwnames[] = { | |
4656 | (char *) "self",(char *) "ind", NULL | |
4657 | }; | |
4658 | ||
4659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&arg2)) goto fail; | |
4660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4661 | { | |
4662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4663 | result = (int)(arg1)->GetIndentUnits(arg2); | |
4664 | ||
4665 | wxPyEndAllowThreads(__tstate); | |
4666 | if (PyErr_Occurred()) SWIG_fail; | |
4667 | } | |
4668 | resultobj = PyInt_FromLong((long)result); | |
4669 | return resultobj; | |
4670 | fail: | |
4671 | return NULL; | |
4672 | } | |
4673 | ||
4674 | ||
4675 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4676 | PyObject *resultobj; | |
4677 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4678 | wxHtmlTag *arg2 = 0 ; | |
4679 | PyObject * obj0 = 0 ; | |
4680 | PyObject * obj1 = 0 ; | |
4681 | char *kwnames[] = { | |
4682 | (char *) "self",(char *) "tag", NULL | |
4683 | }; | |
4684 | ||
4685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
4686 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4687 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4688 | if (arg2 == NULL) { | |
4689 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4690 | } | |
4691 | { | |
4692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4693 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
4694 | ||
4695 | wxPyEndAllowThreads(__tstate); | |
4696 | if (PyErr_Occurred()) SWIG_fail; | |
4697 | } | |
4698 | Py_INCREF(Py_None); resultobj = Py_None; | |
4699 | return resultobj; | |
4700 | fail: | |
4701 | return NULL; | |
4702 | } | |
4703 | ||
4704 | ||
4705 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4706 | PyObject *resultobj; | |
4707 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4708 | int arg2 ; | |
4709 | int arg3 ; | |
4710 | PyObject * obj0 = 0 ; | |
4711 | char *kwnames[] = { | |
4712 | (char *) "self",(char *) "w",(char *) "units", NULL | |
4713 | }; | |
4714 | ||
4715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4717 | { | |
4718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4719 | (arg1)->SetWidthFloat(arg2,arg3); | |
4720 | ||
4721 | wxPyEndAllowThreads(__tstate); | |
4722 | if (PyErr_Occurred()) SWIG_fail; | |
4723 | } | |
4724 | Py_INCREF(Py_None); resultobj = Py_None; | |
4725 | return resultobj; | |
4726 | fail: | |
4727 | return NULL; | |
4728 | } | |
4729 | ||
4730 | ||
4731 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4732 | PyObject *resultobj; | |
4733 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4734 | wxHtmlTag *arg2 = 0 ; | |
4735 | PyObject * obj0 = 0 ; | |
4736 | PyObject * obj1 = 0 ; | |
4737 | char *kwnames[] = { | |
4738 | (char *) "self",(char *) "tag", NULL | |
4739 | }; | |
4740 | ||
4741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
4742 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4743 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4744 | if (arg2 == NULL) { | |
4745 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4746 | } | |
4747 | { | |
4748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4749 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
4750 | ||
4751 | wxPyEndAllowThreads(__tstate); | |
4752 | if (PyErr_Occurred()) SWIG_fail; | |
4753 | } | |
4754 | Py_INCREF(Py_None); resultobj = Py_None; | |
4755 | return resultobj; | |
4756 | fail: | |
4757 | return NULL; | |
4758 | } | |
4759 | ||
4760 | ||
4761 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4762 | PyObject *resultobj; | |
4763 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4764 | int arg2 ; | |
4765 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
4766 | PyObject * obj0 = 0 ; | |
4767 | char *kwnames[] = { | |
4768 | (char *) "self",(char *) "h",(char *) "align", NULL | |
4769 | }; | |
4770 | ||
4771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4772 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4773 | { | |
4774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4775 | (arg1)->SetMinHeight(arg2,arg3); | |
4776 | ||
4777 | wxPyEndAllowThreads(__tstate); | |
4778 | if (PyErr_Occurred()) SWIG_fail; | |
4779 | } | |
4780 | Py_INCREF(Py_None); resultobj = Py_None; | |
4781 | return resultobj; | |
4782 | fail: | |
4783 | return NULL; | |
4784 | } | |
4785 | ||
4786 | ||
4787 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4788 | PyObject *resultobj; | |
4789 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4790 | wxColour *arg2 = 0 ; | |
4791 | wxColour temp2 ; | |
4792 | PyObject * obj0 = 0 ; | |
4793 | PyObject * obj1 = 0 ; | |
4794 | char *kwnames[] = { | |
4795 | (char *) "self",(char *) "clr", NULL | |
4796 | }; | |
4797 | ||
4798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
4799 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4800 | { | |
4801 | arg2 = &temp2; | |
4802 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4803 | } | |
4804 | { | |
4805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4806 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
4807 | ||
4808 | wxPyEndAllowThreads(__tstate); | |
4809 | if (PyErr_Occurred()) SWIG_fail; | |
4810 | } | |
4811 | Py_INCREF(Py_None); resultobj = Py_None; | |
4812 | return resultobj; | |
4813 | fail: | |
4814 | return NULL; | |
4815 | } | |
4816 | ||
4817 | ||
4818 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4819 | PyObject *resultobj; | |
4820 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4821 | wxColour result; | |
4822 | PyObject * obj0 = 0 ; | |
4823 | char *kwnames[] = { | |
4824 | (char *) "self", NULL | |
4825 | }; | |
4826 | ||
4827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
4828 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4829 | { | |
4830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4831 | result = (arg1)->GetBackgroundColour(); | |
4832 | ||
4833 | wxPyEndAllowThreads(__tstate); | |
4834 | if (PyErr_Occurred()) SWIG_fail; | |
4835 | } | |
4836 | { | |
4837 | wxColour * resultptr; | |
4838 | resultptr = new wxColour((wxColour &) result); | |
4839 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
4840 | } | |
4841 | return resultobj; | |
4842 | fail: | |
4843 | return NULL; | |
4844 | } | |
4845 | ||
4846 | ||
4847 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4848 | PyObject *resultobj; | |
4849 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4850 | wxColour *arg2 = 0 ; | |
4851 | wxColour *arg3 = 0 ; | |
4852 | wxColour temp2 ; | |
4853 | wxColour temp3 ; | |
4854 | PyObject * obj0 = 0 ; | |
4855 | PyObject * obj1 = 0 ; | |
4856 | PyObject * obj2 = 0 ; | |
4857 | char *kwnames[] = { | |
4858 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
4859 | }; | |
4860 | ||
4861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4862 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4863 | { | |
4864 | arg2 = &temp2; | |
4865 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4866 | } | |
4867 | { | |
4868 | arg3 = &temp3; | |
4869 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4870 | } | |
4871 | { | |
4872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4873 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
4874 | ||
4875 | wxPyEndAllowThreads(__tstate); | |
4876 | if (PyErr_Occurred()) SWIG_fail; | |
4877 | } | |
4878 | Py_INCREF(Py_None); resultobj = Py_None; | |
4879 | return resultobj; | |
4880 | fail: | |
4881 | return NULL; | |
4882 | } | |
4883 | ||
4884 | ||
4885 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4886 | PyObject *resultobj; | |
4887 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4888 | wxHtmlCell *result; | |
4889 | PyObject * obj0 = 0 ; | |
4890 | char *kwnames[] = { | |
4891 | (char *) "self", NULL | |
4892 | }; | |
4893 | ||
4894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4896 | { | |
4897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4898 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
4899 | ||
4900 | wxPyEndAllowThreads(__tstate); | |
4901 | if (PyErr_Occurred()) SWIG_fail; | |
4902 | } | |
4903 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4904 | return resultobj; | |
4905 | fail: | |
4906 | return NULL; | |
4907 | } | |
4908 | ||
4909 | ||
4910 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
4911 | PyObject *obj; | |
4912 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4913 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
4914 | Py_INCREF(obj); | |
4915 | return Py_BuildValue((char *)""); | |
4916 | } | |
4917 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4918 | PyObject *resultobj; | |
4919 | wxColour arg1 ; | |
4920 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
4921 | wxHtmlColourCell *result; | |
4922 | wxColour *argp1 ; | |
4923 | PyObject * obj0 = 0 ; | |
4924 | char *kwnames[] = { | |
4925 | (char *) "clr",(char *) "flags", NULL | |
4926 | }; | |
4927 | ||
4928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlColourCell",kwnames,&obj0,&arg2)) goto fail; | |
4929 | if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4930 | arg1 = *argp1; | |
4931 | { | |
4932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4933 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
4934 | ||
4935 | wxPyEndAllowThreads(__tstate); | |
4936 | if (PyErr_Occurred()) SWIG_fail; | |
4937 | } | |
4938 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1); | |
4939 | return resultobj; | |
4940 | fail: | |
4941 | return NULL; | |
4942 | } | |
4943 | ||
4944 | ||
4945 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
4946 | PyObject *obj; | |
4947 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4948 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
4949 | Py_INCREF(obj); | |
4950 | return Py_BuildValue((char *)""); | |
4951 | } | |
4952 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4953 | PyObject *resultobj; | |
4954 | wxFont *arg1 = (wxFont *) 0 ; | |
4955 | wxHtmlFontCell *result; | |
4956 | PyObject * obj0 = 0 ; | |
4957 | char *kwnames[] = { | |
4958 | (char *) "font", NULL | |
4959 | }; | |
4960 | ||
4961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
4962 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4963 | { | |
4964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4965 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
4966 | ||
4967 | wxPyEndAllowThreads(__tstate); | |
4968 | if (PyErr_Occurred()) SWIG_fail; | |
4969 | } | |
4970 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1); | |
4971 | return resultobj; | |
4972 | fail: | |
4973 | return NULL; | |
4974 | } | |
4975 | ||
4976 | ||
4977 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
4978 | PyObject *obj; | |
4979 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4980 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
4981 | Py_INCREF(obj); | |
4982 | return Py_BuildValue((char *)""); | |
4983 | } | |
4984 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4985 | PyObject *resultobj; | |
4986 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4987 | int arg2 = (int) 0 ; | |
4988 | wxHtmlWidgetCell *result; | |
4989 | PyObject * obj0 = 0 ; | |
4990 | char *kwnames[] = { | |
4991 | (char *) "wnd",(char *) "w", NULL | |
4992 | }; | |
4993 | ||
4994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlWidgetCell",kwnames,&obj0,&arg2)) goto fail; | |
4995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4996 | { | |
4997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4998 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
4999 | ||
5000 | wxPyEndAllowThreads(__tstate); | |
5001 | if (PyErr_Occurred()) SWIG_fail; | |
5002 | } | |
5003 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5004 | return resultobj; | |
5005 | fail: | |
5006 | return NULL; | |
5007 | } | |
5008 | ||
5009 | ||
5010 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5011 | PyObject *obj; | |
5012 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5013 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5014 | Py_INCREF(obj); | |
5015 | return Py_BuildValue((char *)""); | |
5016 | } | |
5017 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5018 | PyObject *resultobj; | |
5019 | wxPyHtmlFilter *result; | |
5020 | char *kwnames[] = { | |
5021 | NULL | |
5022 | }; | |
5023 | ||
5024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5025 | { | |
5026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5027 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5028 | ||
5029 | wxPyEndAllowThreads(__tstate); | |
5030 | if (PyErr_Occurred()) SWIG_fail; | |
5031 | } | |
5032 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5033 | return resultobj; | |
5034 | fail: | |
5035 | return NULL; | |
5036 | } | |
5037 | ||
5038 | ||
5039 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5040 | PyObject *resultobj; | |
5041 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5042 | PyObject *arg2 = (PyObject *) 0 ; | |
5043 | PyObject *arg3 = (PyObject *) 0 ; | |
5044 | PyObject * obj0 = 0 ; | |
5045 | PyObject * obj1 = 0 ; | |
5046 | PyObject * obj2 = 0 ; | |
5047 | char *kwnames[] = { | |
5048 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5049 | }; | |
5050 | ||
5051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5053 | arg2 = obj1; | |
5054 | arg3 = obj2; | |
5055 | { | |
5056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5057 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5058 | ||
5059 | wxPyEndAllowThreads(__tstate); | |
5060 | if (PyErr_Occurred()) SWIG_fail; | |
5061 | } | |
5062 | Py_INCREF(Py_None); resultobj = Py_None; | |
5063 | return resultobj; | |
5064 | fail: | |
5065 | return NULL; | |
5066 | } | |
5067 | ||
5068 | ||
5069 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5070 | PyObject *obj; | |
5071 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5072 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5073 | Py_INCREF(obj); | |
5074 | return Py_BuildValue((char *)""); | |
5075 | } | |
5076 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5077 | PyObject *resultobj; | |
5078 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5079 | int arg2 = (int) -1 ; | |
5080 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5081 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5082 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5083 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5084 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5085 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5086 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5087 | wxPyHtmlWindow *result; | |
5088 | wxPoint temp3 ; | |
5089 | wxSize temp4 ; | |
5090 | bool temp6 = false ; | |
5091 | PyObject * obj0 = 0 ; | |
5092 | PyObject * obj2 = 0 ; | |
5093 | PyObject * obj3 = 0 ; | |
5094 | PyObject * obj5 = 0 ; | |
5095 | char *kwnames[] = { | |
5096 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5097 | }; | |
5098 | ||
5099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOiO:new_HtmlWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5100 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5101 | if (obj2) { | |
5102 | { | |
5103 | arg3 = &temp3; | |
5104 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5105 | } | |
5106 | } | |
5107 | if (obj3) { | |
5108 | { | |
5109 | arg4 = &temp4; | |
5110 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5111 | } | |
5112 | } | |
5113 | if (obj5) { | |
5114 | { | |
5115 | arg6 = wxString_in_helper(obj5); | |
5116 | if (arg6 == NULL) SWIG_fail; | |
5117 | temp6 = true; | |
5118 | } | |
5119 | } | |
5120 | { | |
5121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5122 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5123 | ||
5124 | wxPyEndAllowThreads(__tstate); | |
5125 | if (PyErr_Occurred()) SWIG_fail; | |
5126 | } | |
5127 | { | |
5128 | resultobj = wxPyMake_wxObject(result); | |
5129 | } | |
5130 | { | |
5131 | if (temp6) | |
5132 | delete arg6; | |
5133 | } | |
5134 | return resultobj; | |
5135 | fail: | |
5136 | { | |
5137 | if (temp6) | |
5138 | delete arg6; | |
5139 | } | |
5140 | return NULL; | |
5141 | } | |
5142 | ||
5143 | ||
5144 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5145 | PyObject *resultobj; | |
5146 | wxPyHtmlWindow *result; | |
5147 | char *kwnames[] = { | |
5148 | NULL | |
5149 | }; | |
5150 | ||
5151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5152 | { | |
5153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5154 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5155 | ||
5156 | wxPyEndAllowThreads(__tstate); | |
5157 | if (PyErr_Occurred()) SWIG_fail; | |
5158 | } | |
5159 | { | |
5160 | resultobj = wxPyMake_wxObject(result); | |
5161 | } | |
5162 | return resultobj; | |
5163 | fail: | |
5164 | return NULL; | |
5165 | } | |
5166 | ||
5167 | ||
5168 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5169 | PyObject *resultobj; | |
5170 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5171 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5172 | int arg3 = (int) -1 ; | |
5173 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5174 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5175 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5176 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5177 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5178 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5179 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5180 | bool result; | |
5181 | wxPoint temp4 ; | |
5182 | wxSize temp5 ; | |
5183 | bool temp7 = false ; | |
5184 | PyObject * obj0 = 0 ; | |
5185 | PyObject * obj1 = 0 ; | |
5186 | PyObject * obj3 = 0 ; | |
5187 | PyObject * obj4 = 0 ; | |
5188 | PyObject * obj6 = 0 ; | |
5189 | char *kwnames[] = { | |
5190 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5191 | }; | |
5192 | ||
5193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5194 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5195 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5196 | if (obj3) { | |
5197 | { | |
5198 | arg4 = &temp4; | |
5199 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5200 | } | |
5201 | } | |
5202 | if (obj4) { | |
5203 | { | |
5204 | arg5 = &temp5; | |
5205 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5206 | } | |
5207 | } | |
5208 | if (obj6) { | |
5209 | { | |
5210 | arg7 = wxString_in_helper(obj6); | |
5211 | if (arg7 == NULL) SWIG_fail; | |
5212 | temp7 = true; | |
5213 | } | |
5214 | } | |
5215 | { | |
5216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5217 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5218 | ||
5219 | wxPyEndAllowThreads(__tstate); | |
5220 | if (PyErr_Occurred()) SWIG_fail; | |
5221 | } | |
5222 | resultobj = PyInt_FromLong((long)result); | |
5223 | { | |
5224 | if (temp7) | |
5225 | delete arg7; | |
5226 | } | |
5227 | return resultobj; | |
5228 | fail: | |
5229 | { | |
5230 | if (temp7) | |
5231 | delete arg7; | |
5232 | } | |
5233 | return NULL; | |
5234 | } | |
5235 | ||
5236 | ||
5237 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5238 | PyObject *resultobj; | |
5239 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5240 | PyObject *arg2 = (PyObject *) 0 ; | |
5241 | PyObject *arg3 = (PyObject *) 0 ; | |
5242 | PyObject * obj0 = 0 ; | |
5243 | PyObject * obj1 = 0 ; | |
5244 | PyObject * obj2 = 0 ; | |
5245 | char *kwnames[] = { | |
5246 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5247 | }; | |
5248 | ||
5249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5250 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5251 | arg2 = obj1; | |
5252 | arg3 = obj2; | |
5253 | { | |
5254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5255 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5256 | ||
5257 | wxPyEndAllowThreads(__tstate); | |
5258 | if (PyErr_Occurred()) SWIG_fail; | |
5259 | } | |
5260 | Py_INCREF(Py_None); resultobj = Py_None; | |
5261 | return resultobj; | |
5262 | fail: | |
5263 | return NULL; | |
5264 | } | |
5265 | ||
5266 | ||
5267 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5268 | PyObject *resultobj; | |
5269 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5270 | wxString *arg2 = 0 ; | |
5271 | bool result; | |
5272 | bool temp2 = false ; | |
5273 | PyObject * obj0 = 0 ; | |
5274 | PyObject * obj1 = 0 ; | |
5275 | char *kwnames[] = { | |
5276 | (char *) "self",(char *) "source", NULL | |
5277 | }; | |
5278 | ||
5279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
5280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5281 | { | |
5282 | arg2 = wxString_in_helper(obj1); | |
5283 | if (arg2 == NULL) SWIG_fail; | |
5284 | temp2 = true; | |
5285 | } | |
5286 | { | |
5287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5288 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
5289 | ||
5290 | wxPyEndAllowThreads(__tstate); | |
5291 | if (PyErr_Occurred()) SWIG_fail; | |
5292 | } | |
5293 | resultobj = PyInt_FromLong((long)result); | |
5294 | { | |
5295 | if (temp2) | |
5296 | delete arg2; | |
5297 | } | |
5298 | return resultobj; | |
5299 | fail: | |
5300 | { | |
5301 | if (temp2) | |
5302 | delete arg2; | |
5303 | } | |
5304 | return NULL; | |
5305 | } | |
5306 | ||
5307 | ||
5308 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5309 | PyObject *resultobj; | |
5310 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5311 | wxString *arg2 = 0 ; | |
5312 | bool result; | |
5313 | bool temp2 = false ; | |
5314 | PyObject * obj0 = 0 ; | |
5315 | PyObject * obj1 = 0 ; | |
5316 | char *kwnames[] = { | |
5317 | (char *) "self",(char *) "location", NULL | |
5318 | }; | |
5319 | ||
5320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
5321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5322 | { | |
5323 | arg2 = wxString_in_helper(obj1); | |
5324 | if (arg2 == NULL) SWIG_fail; | |
5325 | temp2 = true; | |
5326 | } | |
5327 | { | |
5328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5329 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
5330 | ||
5331 | wxPyEndAllowThreads(__tstate); | |
5332 | if (PyErr_Occurred()) SWIG_fail; | |
5333 | } | |
5334 | resultobj = PyInt_FromLong((long)result); | |
5335 | { | |
5336 | if (temp2) | |
5337 | delete arg2; | |
5338 | } | |
5339 | return resultobj; | |
5340 | fail: | |
5341 | { | |
5342 | if (temp2) | |
5343 | delete arg2; | |
5344 | } | |
5345 | return NULL; | |
5346 | } | |
5347 | ||
5348 | ||
5349 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5350 | PyObject *resultobj; | |
5351 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5352 | wxString *arg2 = 0 ; | |
5353 | bool result; | |
5354 | bool temp2 = false ; | |
5355 | PyObject * obj0 = 0 ; | |
5356 | PyObject * obj1 = 0 ; | |
5357 | char *kwnames[] = { | |
5358 | (char *) "self",(char *) "filename", NULL | |
5359 | }; | |
5360 | ||
5361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
5362 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5363 | { | |
5364 | arg2 = wxString_in_helper(obj1); | |
5365 | if (arg2 == NULL) SWIG_fail; | |
5366 | temp2 = true; | |
5367 | } | |
5368 | { | |
5369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5370 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
5371 | ||
5372 | wxPyEndAllowThreads(__tstate); | |
5373 | if (PyErr_Occurred()) SWIG_fail; | |
5374 | } | |
5375 | resultobj = PyInt_FromLong((long)result); | |
5376 | { | |
5377 | if (temp2) | |
5378 | delete arg2; | |
5379 | } | |
5380 | return resultobj; | |
5381 | fail: | |
5382 | { | |
5383 | if (temp2) | |
5384 | delete arg2; | |
5385 | } | |
5386 | return NULL; | |
5387 | } | |
5388 | ||
5389 | ||
5390 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5391 | PyObject *resultobj; | |
5392 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5393 | wxString *arg2 = 0 ; | |
5394 | bool result; | |
5395 | bool temp2 = false ; | |
5396 | PyObject * obj0 = 0 ; | |
5397 | PyObject * obj1 = 0 ; | |
5398 | char *kwnames[] = { | |
5399 | (char *) "self",(char *) "source", NULL | |
5400 | }; | |
5401 | ||
5402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
5403 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5404 | { | |
5405 | arg2 = wxString_in_helper(obj1); | |
5406 | if (arg2 == NULL) SWIG_fail; | |
5407 | temp2 = true; | |
5408 | } | |
5409 | { | |
5410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5411 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
5412 | ||
5413 | wxPyEndAllowThreads(__tstate); | |
5414 | if (PyErr_Occurred()) SWIG_fail; | |
5415 | } | |
5416 | resultobj = PyInt_FromLong((long)result); | |
5417 | { | |
5418 | if (temp2) | |
5419 | delete arg2; | |
5420 | } | |
5421 | return resultobj; | |
5422 | fail: | |
5423 | { | |
5424 | if (temp2) | |
5425 | delete arg2; | |
5426 | } | |
5427 | return NULL; | |
5428 | } | |
5429 | ||
5430 | ||
5431 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5432 | PyObject *resultobj; | |
5433 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5434 | wxString result; | |
5435 | PyObject * obj0 = 0 ; | |
5436 | char *kwnames[] = { | |
5437 | (char *) "self", NULL | |
5438 | }; | |
5439 | ||
5440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
5441 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5442 | { | |
5443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5444 | result = (arg1)->GetOpenedPage(); | |
5445 | ||
5446 | wxPyEndAllowThreads(__tstate); | |
5447 | if (PyErr_Occurred()) SWIG_fail; | |
5448 | } | |
5449 | { | |
5450 | #if wxUSE_UNICODE | |
5451 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5452 | #else | |
5453 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5454 | #endif | |
5455 | } | |
5456 | return resultobj; | |
5457 | fail: | |
5458 | return NULL; | |
5459 | } | |
5460 | ||
5461 | ||
5462 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5463 | PyObject *resultobj; | |
5464 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5465 | wxString result; | |
5466 | PyObject * obj0 = 0 ; | |
5467 | char *kwnames[] = { | |
5468 | (char *) "self", NULL | |
5469 | }; | |
5470 | ||
5471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
5472 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5473 | { | |
5474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5475 | result = (arg1)->GetOpenedAnchor(); | |
5476 | ||
5477 | wxPyEndAllowThreads(__tstate); | |
5478 | if (PyErr_Occurred()) SWIG_fail; | |
5479 | } | |
5480 | { | |
5481 | #if wxUSE_UNICODE | |
5482 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5483 | #else | |
5484 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5485 | #endif | |
5486 | } | |
5487 | return resultobj; | |
5488 | fail: | |
5489 | return NULL; | |
5490 | } | |
5491 | ||
5492 | ||
5493 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5494 | PyObject *resultobj; | |
5495 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5496 | wxString result; | |
5497 | PyObject * obj0 = 0 ; | |
5498 | char *kwnames[] = { | |
5499 | (char *) "self", NULL | |
5500 | }; | |
5501 | ||
5502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
5503 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5504 | { | |
5505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5506 | result = (arg1)->GetOpenedPageTitle(); | |
5507 | ||
5508 | wxPyEndAllowThreads(__tstate); | |
5509 | if (PyErr_Occurred()) SWIG_fail; | |
5510 | } | |
5511 | { | |
5512 | #if wxUSE_UNICODE | |
5513 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5514 | #else | |
5515 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5516 | #endif | |
5517 | } | |
5518 | return resultobj; | |
5519 | fail: | |
5520 | return NULL; | |
5521 | } | |
5522 | ||
5523 | ||
5524 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5525 | PyObject *resultobj; | |
5526 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5527 | wxFrame *arg2 = (wxFrame *) 0 ; | |
5528 | wxString *arg3 = 0 ; | |
5529 | bool temp3 = false ; | |
5530 | PyObject * obj0 = 0 ; | |
5531 | PyObject * obj1 = 0 ; | |
5532 | PyObject * obj2 = 0 ; | |
5533 | char *kwnames[] = { | |
5534 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
5535 | }; | |
5536 | ||
5537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5539 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5540 | { | |
5541 | arg3 = wxString_in_helper(obj2); | |
5542 | if (arg3 == NULL) SWIG_fail; | |
5543 | temp3 = true; | |
5544 | } | |
5545 | { | |
5546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5547 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
5548 | ||
5549 | wxPyEndAllowThreads(__tstate); | |
5550 | if (PyErr_Occurred()) SWIG_fail; | |
5551 | } | |
5552 | Py_INCREF(Py_None); resultobj = Py_None; | |
5553 | { | |
5554 | if (temp3) | |
5555 | delete arg3; | |
5556 | } | |
5557 | return resultobj; | |
5558 | fail: | |
5559 | { | |
5560 | if (temp3) | |
5561 | delete arg3; | |
5562 | } | |
5563 | return NULL; | |
5564 | } | |
5565 | ||
5566 | ||
5567 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5568 | PyObject *resultobj; | |
5569 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5570 | wxFrame *result; | |
5571 | PyObject * obj0 = 0 ; | |
5572 | char *kwnames[] = { | |
5573 | (char *) "self", NULL | |
5574 | }; | |
5575 | ||
5576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
5577 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5578 | { | |
5579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5580 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
5581 | ||
5582 | wxPyEndAllowThreads(__tstate); | |
5583 | if (PyErr_Occurred()) SWIG_fail; | |
5584 | } | |
5585 | { | |
5586 | resultobj = wxPyMake_wxObject(result); | |
5587 | } | |
5588 | return resultobj; | |
5589 | fail: | |
5590 | return NULL; | |
5591 | } | |
5592 | ||
5593 | ||
5594 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5595 | PyObject *resultobj; | |
5596 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5597 | int arg2 ; | |
5598 | PyObject * obj0 = 0 ; | |
5599 | char *kwnames[] = { | |
5600 | (char *) "self",(char *) "bar", NULL | |
5601 | }; | |
5602 | ||
5603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&arg2)) goto fail; | |
5604 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5605 | { | |
5606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5607 | (arg1)->SetRelatedStatusBar(arg2); | |
5608 | ||
5609 | wxPyEndAllowThreads(__tstate); | |
5610 | if (PyErr_Occurred()) SWIG_fail; | |
5611 | } | |
5612 | Py_INCREF(Py_None); resultobj = Py_None; | |
5613 | return resultobj; | |
5614 | fail: | |
5615 | return NULL; | |
5616 | } | |
5617 | ||
5618 | ||
5619 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5620 | PyObject *resultobj; | |
5621 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5622 | wxString arg2 ; | |
5623 | wxString arg3 ; | |
5624 | PyObject *arg4 = (PyObject *) NULL ; | |
5625 | wxString *argp2 ; | |
5626 | wxString *argp3 ; | |
5627 | PyObject * obj0 = 0 ; | |
5628 | PyObject * obj1 = 0 ; | |
5629 | PyObject * obj2 = 0 ; | |
5630 | PyObject * obj3 = 0 ; | |
5631 | char *kwnames[] = { | |
5632 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
5633 | }; | |
5634 | ||
5635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5637 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5638 | arg2 = *argp2; | |
5639 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5640 | arg3 = *argp3; | |
5641 | if (obj3) { | |
5642 | arg4 = obj3; | |
5643 | } | |
5644 | { | |
5645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5646 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
5647 | ||
5648 | wxPyEndAllowThreads(__tstate); | |
5649 | if (PyErr_Occurred()) SWIG_fail; | |
5650 | } | |
5651 | Py_INCREF(Py_None); resultobj = Py_None; | |
5652 | return resultobj; | |
5653 | fail: | |
5654 | return NULL; | |
5655 | } | |
5656 | ||
5657 | ||
5658 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5659 | PyObject *resultobj; | |
5660 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5661 | wxString *arg2 = 0 ; | |
5662 | bool temp2 = false ; | |
5663 | PyObject * obj0 = 0 ; | |
5664 | PyObject * obj1 = 0 ; | |
5665 | char *kwnames[] = { | |
5666 | (char *) "self",(char *) "title", NULL | |
5667 | }; | |
5668 | ||
5669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
5670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5671 | { | |
5672 | arg2 = wxString_in_helper(obj1); | |
5673 | if (arg2 == NULL) SWIG_fail; | |
5674 | temp2 = true; | |
5675 | } | |
5676 | { | |
5677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5678 | (arg1)->SetTitle((wxString const &)*arg2); | |
5679 | ||
5680 | wxPyEndAllowThreads(__tstate); | |
5681 | if (PyErr_Occurred()) SWIG_fail; | |
5682 | } | |
5683 | Py_INCREF(Py_None); resultobj = Py_None; | |
5684 | { | |
5685 | if (temp2) | |
5686 | delete arg2; | |
5687 | } | |
5688 | return resultobj; | |
5689 | fail: | |
5690 | { | |
5691 | if (temp2) | |
5692 | delete arg2; | |
5693 | } | |
5694 | return NULL; | |
5695 | } | |
5696 | ||
5697 | ||
5698 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5699 | PyObject *resultobj; | |
5700 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5701 | int arg2 ; | |
5702 | PyObject * obj0 = 0 ; | |
5703 | char *kwnames[] = { | |
5704 | (char *) "self",(char *) "b", NULL | |
5705 | }; | |
5706 | ||
5707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetBorders",kwnames,&obj0,&arg2)) goto fail; | |
5708 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5709 | { | |
5710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5711 | (arg1)->SetBorders(arg2); | |
5712 | ||
5713 | wxPyEndAllowThreads(__tstate); | |
5714 | if (PyErr_Occurred()) SWIG_fail; | |
5715 | } | |
5716 | Py_INCREF(Py_None); resultobj = Py_None; | |
5717 | return resultobj; | |
5718 | fail: | |
5719 | return NULL; | |
5720 | } | |
5721 | ||
5722 | ||
5723 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5724 | PyObject *resultobj; | |
5725 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5726 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5727 | wxString arg3 = (wxString) wxPyEmptyString ; | |
5728 | wxString *argp3 ; | |
5729 | PyObject * obj0 = 0 ; | |
5730 | PyObject * obj1 = 0 ; | |
5731 | PyObject * obj2 = 0 ; | |
5732 | char *kwnames[] = { | |
5733 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5734 | }; | |
5735 | ||
5736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5737 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5738 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5739 | if (obj2) { | |
5740 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5741 | arg3 = *argp3; | |
5742 | } | |
5743 | { | |
5744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5745 | (arg1)->ReadCustomization(arg2,arg3); | |
5746 | ||
5747 | wxPyEndAllowThreads(__tstate); | |
5748 | if (PyErr_Occurred()) SWIG_fail; | |
5749 | } | |
5750 | Py_INCREF(Py_None); resultobj = Py_None; | |
5751 | return resultobj; | |
5752 | fail: | |
5753 | return NULL; | |
5754 | } | |
5755 | ||
5756 | ||
5757 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5758 | PyObject *resultobj; | |
5759 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5760 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5761 | wxString arg3 = (wxString) wxPyEmptyString ; | |
5762 | wxString *argp3 ; | |
5763 | PyObject * obj0 = 0 ; | |
5764 | PyObject * obj1 = 0 ; | |
5765 | PyObject * obj2 = 0 ; | |
5766 | char *kwnames[] = { | |
5767 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5768 | }; | |
5769 | ||
5770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5771 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5772 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5773 | if (obj2) { | |
5774 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5775 | arg3 = *argp3; | |
5776 | } | |
5777 | { | |
5778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5779 | (arg1)->WriteCustomization(arg2,arg3); | |
5780 | ||
5781 | wxPyEndAllowThreads(__tstate); | |
5782 | if (PyErr_Occurred()) SWIG_fail; | |
5783 | } | |
5784 | Py_INCREF(Py_None); resultobj = Py_None; | |
5785 | return resultobj; | |
5786 | fail: | |
5787 | return NULL; | |
5788 | } | |
5789 | ||
5790 | ||
5791 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5792 | PyObject *resultobj; | |
5793 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5794 | bool result; | |
5795 | PyObject * obj0 = 0 ; | |
5796 | char *kwnames[] = { | |
5797 | (char *) "self", NULL | |
5798 | }; | |
5799 | ||
5800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
5801 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5802 | { | |
5803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5804 | result = (bool)(arg1)->HistoryBack(); | |
5805 | ||
5806 | wxPyEndAllowThreads(__tstate); | |
5807 | if (PyErr_Occurred()) SWIG_fail; | |
5808 | } | |
5809 | resultobj = PyInt_FromLong((long)result); | |
5810 | return resultobj; | |
5811 | fail: | |
5812 | return NULL; | |
5813 | } | |
5814 | ||
5815 | ||
5816 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5817 | PyObject *resultobj; | |
5818 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5819 | bool result; | |
5820 | PyObject * obj0 = 0 ; | |
5821 | char *kwnames[] = { | |
5822 | (char *) "self", NULL | |
5823 | }; | |
5824 | ||
5825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
5826 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5827 | { | |
5828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5829 | result = (bool)(arg1)->HistoryForward(); | |
5830 | ||
5831 | wxPyEndAllowThreads(__tstate); | |
5832 | if (PyErr_Occurred()) SWIG_fail; | |
5833 | } | |
5834 | resultobj = PyInt_FromLong((long)result); | |
5835 | return resultobj; | |
5836 | fail: | |
5837 | return NULL; | |
5838 | } | |
5839 | ||
5840 | ||
5841 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5842 | PyObject *resultobj; | |
5843 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5844 | bool result; | |
5845 | PyObject * obj0 = 0 ; | |
5846 | char *kwnames[] = { | |
5847 | (char *) "self", NULL | |
5848 | }; | |
5849 | ||
5850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
5851 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5852 | { | |
5853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5854 | result = (bool)(arg1)->HistoryCanBack(); | |
5855 | ||
5856 | wxPyEndAllowThreads(__tstate); | |
5857 | if (PyErr_Occurred()) SWIG_fail; | |
5858 | } | |
5859 | resultobj = PyInt_FromLong((long)result); | |
5860 | return resultobj; | |
5861 | fail: | |
5862 | return NULL; | |
5863 | } | |
5864 | ||
5865 | ||
5866 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5867 | PyObject *resultobj; | |
5868 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5869 | bool result; | |
5870 | PyObject * obj0 = 0 ; | |
5871 | char *kwnames[] = { | |
5872 | (char *) "self", NULL | |
5873 | }; | |
5874 | ||
5875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
5876 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5877 | { | |
5878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5879 | result = (bool)(arg1)->HistoryCanForward(); | |
5880 | ||
5881 | wxPyEndAllowThreads(__tstate); | |
5882 | if (PyErr_Occurred()) SWIG_fail; | |
5883 | } | |
5884 | resultobj = PyInt_FromLong((long)result); | |
5885 | return resultobj; | |
5886 | fail: | |
5887 | return NULL; | |
5888 | } | |
5889 | ||
5890 | ||
5891 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5892 | PyObject *resultobj; | |
5893 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5894 | PyObject * obj0 = 0 ; | |
5895 | char *kwnames[] = { | |
5896 | (char *) "self", NULL | |
5897 | }; | |
5898 | ||
5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
5900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5901 | { | |
5902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5903 | (arg1)->HistoryClear(); | |
5904 | ||
5905 | wxPyEndAllowThreads(__tstate); | |
5906 | if (PyErr_Occurred()) SWIG_fail; | |
5907 | } | |
5908 | Py_INCREF(Py_None); resultobj = Py_None; | |
5909 | return resultobj; | |
5910 | fail: | |
5911 | return NULL; | |
5912 | } | |
5913 | ||
5914 | ||
5915 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5916 | PyObject *resultobj; | |
5917 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5918 | wxHtmlContainerCell *result; | |
5919 | PyObject * obj0 = 0 ; | |
5920 | char *kwnames[] = { | |
5921 | (char *) "self", NULL | |
5922 | }; | |
5923 | ||
5924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
5925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5926 | { | |
5927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5928 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
5929 | ||
5930 | wxPyEndAllowThreads(__tstate); | |
5931 | if (PyErr_Occurred()) SWIG_fail; | |
5932 | } | |
5933 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
5934 | return resultobj; | |
5935 | fail: | |
5936 | return NULL; | |
5937 | } | |
5938 | ||
5939 | ||
5940 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5941 | PyObject *resultobj; | |
5942 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5943 | wxHtmlWinParser *result; | |
5944 | PyObject * obj0 = 0 ; | |
5945 | char *kwnames[] = { | |
5946 | (char *) "self", NULL | |
5947 | }; | |
5948 | ||
5949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
5950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5951 | { | |
5952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5953 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5954 | ||
5955 | wxPyEndAllowThreads(__tstate); | |
5956 | if (PyErr_Occurred()) SWIG_fail; | |
5957 | } | |
5958 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
5959 | return resultobj; | |
5960 | fail: | |
5961 | return NULL; | |
5962 | } | |
5963 | ||
5964 | ||
5965 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5966 | PyObject *resultobj; | |
5967 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5968 | wxString *arg2 = 0 ; | |
5969 | bool result; | |
5970 | bool temp2 = false ; | |
5971 | PyObject * obj0 = 0 ; | |
5972 | PyObject * obj1 = 0 ; | |
5973 | char *kwnames[] = { | |
5974 | (char *) "self",(char *) "anchor", NULL | |
5975 | }; | |
5976 | ||
5977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
5978 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5979 | { | |
5980 | arg2 = wxString_in_helper(obj1); | |
5981 | if (arg2 == NULL) SWIG_fail; | |
5982 | temp2 = true; | |
5983 | } | |
5984 | { | |
5985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5986 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
5987 | ||
5988 | wxPyEndAllowThreads(__tstate); | |
5989 | if (PyErr_Occurred()) SWIG_fail; | |
5990 | } | |
5991 | resultobj = PyInt_FromLong((long)result); | |
5992 | { | |
5993 | if (temp2) | |
5994 | delete arg2; | |
5995 | } | |
5996 | return resultobj; | |
5997 | fail: | |
5998 | { | |
5999 | if (temp2) | |
6000 | delete arg2; | |
6001 | } | |
6002 | return NULL; | |
6003 | } | |
6004 | ||
6005 | ||
6006 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6007 | PyObject *resultobj; | |
6008 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6009 | wxString *arg2 = 0 ; | |
6010 | bool result; | |
6011 | bool temp2 = false ; | |
6012 | PyObject * obj0 = 0 ; | |
6013 | PyObject * obj1 = 0 ; | |
6014 | char *kwnames[] = { | |
6015 | (char *) "self",(char *) "anchor", NULL | |
6016 | }; | |
6017 | ||
6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6020 | { | |
6021 | arg2 = wxString_in_helper(obj1); | |
6022 | if (arg2 == NULL) SWIG_fail; | |
6023 | temp2 = true; | |
6024 | } | |
6025 | { | |
6026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6027 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6028 | ||
6029 | wxPyEndAllowThreads(__tstate); | |
6030 | if (PyErr_Occurred()) SWIG_fail; | |
6031 | } | |
6032 | resultobj = PyInt_FromLong((long)result); | |
6033 | { | |
6034 | if (temp2) | |
6035 | delete arg2; | |
6036 | } | |
6037 | return resultobj; | |
6038 | fail: | |
6039 | { | |
6040 | if (temp2) | |
6041 | delete arg2; | |
6042 | } | |
6043 | return NULL; | |
6044 | } | |
6045 | ||
6046 | ||
6047 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6048 | PyObject *resultobj; | |
6049 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6050 | PyObject * obj0 = 0 ; | |
6051 | char *kwnames[] = { | |
6052 | (char *) "filter", NULL | |
6053 | }; | |
6054 | ||
6055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6056 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6057 | { | |
6058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6059 | wxPyHtmlWindow::AddFilter(arg1); | |
6060 | ||
6061 | wxPyEndAllowThreads(__tstate); | |
6062 | if (PyErr_Occurred()) SWIG_fail; | |
6063 | } | |
6064 | Py_INCREF(Py_None); resultobj = Py_None; | |
6065 | return resultobj; | |
6066 | fail: | |
6067 | return NULL; | |
6068 | } | |
6069 | ||
6070 | ||
6071 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6072 | PyObject *resultobj; | |
6073 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6074 | wxHtmlLinkInfo *arg2 = 0 ; | |
6075 | PyObject * obj0 = 0 ; | |
6076 | PyObject * obj1 = 0 ; | |
6077 | char *kwnames[] = { | |
6078 | (char *) "self",(char *) "link", NULL | |
6079 | }; | |
6080 | ||
6081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
6082 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6083 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6084 | if (arg2 == NULL) { | |
6085 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6086 | } | |
6087 | { | |
6088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6089 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
6090 | ||
6091 | wxPyEndAllowThreads(__tstate); | |
6092 | if (PyErr_Occurred()) SWIG_fail; | |
6093 | } | |
6094 | Py_INCREF(Py_None); resultobj = Py_None; | |
6095 | return resultobj; | |
6096 | fail: | |
6097 | return NULL; | |
6098 | } | |
6099 | ||
6100 | ||
6101 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6102 | PyObject *resultobj; | |
6103 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6104 | wxString *arg2 = 0 ; | |
6105 | bool temp2 = false ; | |
6106 | PyObject * obj0 = 0 ; | |
6107 | PyObject * obj1 = 0 ; | |
6108 | char *kwnames[] = { | |
6109 | (char *) "self",(char *) "title", NULL | |
6110 | }; | |
6111 | ||
6112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6114 | { | |
6115 | arg2 = wxString_in_helper(obj1); | |
6116 | if (arg2 == NULL) SWIG_fail; | |
6117 | temp2 = true; | |
6118 | } | |
6119 | { | |
6120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6121 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
6122 | ||
6123 | wxPyEndAllowThreads(__tstate); | |
6124 | if (PyErr_Occurred()) SWIG_fail; | |
6125 | } | |
6126 | Py_INCREF(Py_None); resultobj = Py_None; | |
6127 | { | |
6128 | if (temp2) | |
6129 | delete arg2; | |
6130 | } | |
6131 | return resultobj; | |
6132 | fail: | |
6133 | { | |
6134 | if (temp2) | |
6135 | delete arg2; | |
6136 | } | |
6137 | return NULL; | |
6138 | } | |
6139 | ||
6140 | ||
6141 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6142 | PyObject *resultobj; | |
6143 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6144 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
6145 | wxCoord arg3 ; | |
6146 | wxCoord arg4 ; | |
6147 | PyObject * obj0 = 0 ; | |
6148 | PyObject * obj1 = 0 ; | |
6149 | char *kwnames[] = { | |
6150 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
6151 | }; | |
6152 | ||
6153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; | |
6154 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6155 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6156 | { | |
6157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6158 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
6159 | ||
6160 | wxPyEndAllowThreads(__tstate); | |
6161 | if (PyErr_Occurred()) SWIG_fail; | |
6162 | } | |
6163 | Py_INCREF(Py_None); resultobj = Py_None; | |
6164 | return resultobj; | |
6165 | fail: | |
6166 | return NULL; | |
6167 | } | |
6168 | ||
6169 | ||
6170 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6171 | PyObject *resultobj; | |
6172 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6173 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
6174 | wxCoord arg3 ; | |
6175 | wxCoord arg4 ; | |
6176 | wxMouseEvent *arg5 = 0 ; | |
6177 | PyObject * obj0 = 0 ; | |
6178 | PyObject * obj1 = 0 ; | |
6179 | PyObject * obj4 = 0 ; | |
6180 | char *kwnames[] = { | |
6181 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
6182 | }; | |
6183 | ||
6184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
6185 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6186 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6187 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6188 | if (arg5 == NULL) { | |
6189 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6190 | } | |
6191 | { | |
6192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6193 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
6194 | ||
6195 | wxPyEndAllowThreads(__tstate); | |
6196 | if (PyErr_Occurred()) SWIG_fail; | |
6197 | } | |
6198 | Py_INCREF(Py_None); resultobj = Py_None; | |
6199 | return resultobj; | |
6200 | fail: | |
6201 | return NULL; | |
6202 | } | |
6203 | ||
6204 | ||
6205 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
6206 | PyObject *obj; | |
6207 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6208 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
6209 | Py_INCREF(obj); | |
6210 | return Py_BuildValue((char *)""); | |
6211 | } | |
6212 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6213 | PyObject *resultobj; | |
6214 | wxHtmlDCRenderer *result; | |
6215 | char *kwnames[] = { | |
6216 | NULL | |
6217 | }; | |
6218 | ||
6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
6220 | { | |
6221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6222 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
6223 | ||
6224 | wxPyEndAllowThreads(__tstate); | |
6225 | if (PyErr_Occurred()) SWIG_fail; | |
6226 | } | |
6227 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
6228 | return resultobj; | |
6229 | fail: | |
6230 | return NULL; | |
6231 | } | |
6232 | ||
6233 | ||
6234 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6235 | PyObject *resultobj; | |
6236 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6237 | PyObject * obj0 = 0 ; | |
6238 | char *kwnames[] = { | |
6239 | (char *) "self", NULL | |
6240 | }; | |
6241 | ||
6242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
6243 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6244 | { | |
6245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6246 | delete arg1; | |
6247 | ||
6248 | wxPyEndAllowThreads(__tstate); | |
6249 | if (PyErr_Occurred()) SWIG_fail; | |
6250 | } | |
6251 | Py_INCREF(Py_None); resultobj = Py_None; | |
6252 | return resultobj; | |
6253 | fail: | |
6254 | return NULL; | |
6255 | } | |
6256 | ||
6257 | ||
6258 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6259 | PyObject *resultobj; | |
6260 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6261 | wxDC *arg2 = (wxDC *) 0 ; | |
6262 | int arg3 ; | |
6263 | PyObject * obj0 = 0 ; | |
6264 | PyObject * obj1 = 0 ; | |
6265 | char *kwnames[] = { | |
6266 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
6267 | }; | |
6268 | ||
6269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6270 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6271 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6272 | { | |
6273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6274 | (arg1)->SetDC(arg2,arg3); | |
6275 | ||
6276 | wxPyEndAllowThreads(__tstate); | |
6277 | if (PyErr_Occurred()) SWIG_fail; | |
6278 | } | |
6279 | Py_INCREF(Py_None); resultobj = Py_None; | |
6280 | return resultobj; | |
6281 | fail: | |
6282 | return NULL; | |
6283 | } | |
6284 | ||
6285 | ||
6286 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6287 | PyObject *resultobj; | |
6288 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6289 | int arg2 ; | |
6290 | int arg3 ; | |
6291 | PyObject * obj0 = 0 ; | |
6292 | char *kwnames[] = { | |
6293 | (char *) "self",(char *) "width",(char *) "height", NULL | |
6294 | }; | |
6295 | ||
6296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6297 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6298 | { | |
6299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6300 | (arg1)->SetSize(arg2,arg3); | |
6301 | ||
6302 | wxPyEndAllowThreads(__tstate); | |
6303 | if (PyErr_Occurred()) SWIG_fail; | |
6304 | } | |
6305 | Py_INCREF(Py_None); resultobj = Py_None; | |
6306 | return resultobj; | |
6307 | fail: | |
6308 | return NULL; | |
6309 | } | |
6310 | ||
6311 | ||
6312 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6313 | PyObject *resultobj; | |
6314 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6315 | wxString *arg2 = 0 ; | |
6316 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6317 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
6318 | bool arg4 = (bool) TRUE ; | |
6319 | bool temp2 = false ; | |
6320 | bool temp3 = false ; | |
6321 | PyObject * obj0 = 0 ; | |
6322 | PyObject * obj1 = 0 ; | |
6323 | PyObject * obj2 = 0 ; | |
6324 | PyObject * obj3 = 0 ; | |
6325 | char *kwnames[] = { | |
6326 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6327 | }; | |
6328 | ||
6329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6331 | { | |
6332 | arg2 = wxString_in_helper(obj1); | |
6333 | if (arg2 == NULL) SWIG_fail; | |
6334 | temp2 = true; | |
6335 | } | |
6336 | if (obj2) { | |
6337 | { | |
6338 | arg3 = wxString_in_helper(obj2); | |
6339 | if (arg3 == NULL) SWIG_fail; | |
6340 | temp3 = true; | |
6341 | } | |
6342 | } | |
6343 | if (obj3) { | |
6344 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6345 | if (PyErr_Occurred()) SWIG_fail; | |
6346 | } | |
6347 | { | |
6348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6349 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6350 | ||
6351 | wxPyEndAllowThreads(__tstate); | |
6352 | if (PyErr_Occurred()) SWIG_fail; | |
6353 | } | |
6354 | Py_INCREF(Py_None); resultobj = Py_None; | |
6355 | { | |
6356 | if (temp2) | |
6357 | delete arg2; | |
6358 | } | |
6359 | { | |
6360 | if (temp3) | |
6361 | delete arg3; | |
6362 | } | |
6363 | return resultobj; | |
6364 | fail: | |
6365 | { | |
6366 | if (temp2) | |
6367 | delete arg2; | |
6368 | } | |
6369 | { | |
6370 | if (temp3) | |
6371 | delete arg3; | |
6372 | } | |
6373 | return NULL; | |
6374 | } | |
6375 | ||
6376 | ||
6377 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6378 | PyObject *resultobj; | |
6379 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6380 | wxString arg2 ; | |
6381 | wxString arg3 ; | |
6382 | PyObject *arg4 = (PyObject *) NULL ; | |
6383 | wxString *argp2 ; | |
6384 | wxString *argp3 ; | |
6385 | PyObject * obj0 = 0 ; | |
6386 | PyObject * obj1 = 0 ; | |
6387 | PyObject * obj2 = 0 ; | |
6388 | PyObject * obj3 = 0 ; | |
6389 | char *kwnames[] = { | |
6390 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6391 | }; | |
6392 | ||
6393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6395 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
6396 | arg2 = *argp2; | |
6397 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
6398 | arg3 = *argp3; | |
6399 | if (obj3) { | |
6400 | arg4 = obj3; | |
6401 | } | |
6402 | { | |
6403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6404 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
6405 | ||
6406 | wxPyEndAllowThreads(__tstate); | |
6407 | if (PyErr_Occurred()) SWIG_fail; | |
6408 | } | |
6409 | Py_INCREF(Py_None); resultobj = Py_None; | |
6410 | return resultobj; | |
6411 | fail: | |
6412 | return NULL; | |
6413 | } | |
6414 | ||
6415 | ||
6416 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6417 | PyObject *resultobj; | |
6418 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6419 | int arg2 ; | |
6420 | int arg3 ; | |
6421 | int arg4 = (int) 0 ; | |
6422 | int arg5 = (int) FALSE ; | |
6423 | int arg6 = (int) INT_MAX ; | |
6424 | int *arg7 = (int *) NULL ; | |
6425 | int arg8 = (int) 0 ; | |
6426 | int result; | |
6427 | PyObject * obj0 = 0 ; | |
6428 | PyObject * obj6 = 0 ; | |
6429 | char *kwnames[] = { | |
6430 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
6431 | }; | |
6432 | ||
6433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&obj6,&arg8)) goto fail; | |
6434 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6435 | if (obj6) { | |
6436 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6437 | } | |
6438 | { | |
6439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6440 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
6441 | ||
6442 | wxPyEndAllowThreads(__tstate); | |
6443 | if (PyErr_Occurred()) SWIG_fail; | |
6444 | } | |
6445 | resultobj = PyInt_FromLong((long)result); | |
6446 | return resultobj; | |
6447 | fail: | |
6448 | return NULL; | |
6449 | } | |
6450 | ||
6451 | ||
6452 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6453 | PyObject *resultobj; | |
6454 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6455 | int result; | |
6456 | PyObject * obj0 = 0 ; | |
6457 | char *kwnames[] = { | |
6458 | (char *) "self", NULL | |
6459 | }; | |
6460 | ||
6461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
6462 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6463 | { | |
6464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6465 | result = (int)(arg1)->GetTotalHeight(); | |
6466 | ||
6467 | wxPyEndAllowThreads(__tstate); | |
6468 | if (PyErr_Occurred()) SWIG_fail; | |
6469 | } | |
6470 | resultobj = PyInt_FromLong((long)result); | |
6471 | return resultobj; | |
6472 | fail: | |
6473 | return NULL; | |
6474 | } | |
6475 | ||
6476 | ||
6477 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
6478 | PyObject *obj; | |
6479 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6480 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
6481 | Py_INCREF(obj); | |
6482 | return Py_BuildValue((char *)""); | |
6483 | } | |
6484 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6485 | PyObject *resultobj; | |
6486 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
6487 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6488 | wxHtmlPrintout *result; | |
6489 | bool temp1 = false ; | |
6490 | PyObject * obj0 = 0 ; | |
6491 | char *kwnames[] = { | |
6492 | (char *) "title", NULL | |
6493 | }; | |
6494 | ||
6495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
6496 | if (obj0) { | |
6497 | { | |
6498 | arg1 = wxString_in_helper(obj0); | |
6499 | if (arg1 == NULL) SWIG_fail; | |
6500 | temp1 = true; | |
6501 | } | |
6502 | } | |
6503 | { | |
6504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6505 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
6506 | ||
6507 | wxPyEndAllowThreads(__tstate); | |
6508 | if (PyErr_Occurred()) SWIG_fail; | |
6509 | } | |
6510 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1); | |
6511 | { | |
6512 | if (temp1) | |
6513 | delete arg1; | |
6514 | } | |
6515 | return resultobj; | |
6516 | fail: | |
6517 | { | |
6518 | if (temp1) | |
6519 | delete arg1; | |
6520 | } | |
6521 | return NULL; | |
6522 | } | |
6523 | ||
6524 | ||
6525 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6526 | PyObject *resultobj; | |
6527 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6528 | wxString *arg2 = 0 ; | |
6529 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6530 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
6531 | bool arg4 = (bool) TRUE ; | |
6532 | bool temp2 = false ; | |
6533 | bool temp3 = false ; | |
6534 | PyObject * obj0 = 0 ; | |
6535 | PyObject * obj1 = 0 ; | |
6536 | PyObject * obj2 = 0 ; | |
6537 | PyObject * obj3 = 0 ; | |
6538 | char *kwnames[] = { | |
6539 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6540 | }; | |
6541 | ||
6542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6543 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6544 | { | |
6545 | arg2 = wxString_in_helper(obj1); | |
6546 | if (arg2 == NULL) SWIG_fail; | |
6547 | temp2 = true; | |
6548 | } | |
6549 | if (obj2) { | |
6550 | { | |
6551 | arg3 = wxString_in_helper(obj2); | |
6552 | if (arg3 == NULL) SWIG_fail; | |
6553 | temp3 = true; | |
6554 | } | |
6555 | } | |
6556 | if (obj3) { | |
6557 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6558 | if (PyErr_Occurred()) SWIG_fail; | |
6559 | } | |
6560 | { | |
6561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6562 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6563 | ||
6564 | wxPyEndAllowThreads(__tstate); | |
6565 | if (PyErr_Occurred()) SWIG_fail; | |
6566 | } | |
6567 | Py_INCREF(Py_None); resultobj = Py_None; | |
6568 | { | |
6569 | if (temp2) | |
6570 | delete arg2; | |
6571 | } | |
6572 | { | |
6573 | if (temp3) | |
6574 | delete arg3; | |
6575 | } | |
6576 | return resultobj; | |
6577 | fail: | |
6578 | { | |
6579 | if (temp2) | |
6580 | delete arg2; | |
6581 | } | |
6582 | { | |
6583 | if (temp3) | |
6584 | delete arg3; | |
6585 | } | |
6586 | return NULL; | |
6587 | } | |
6588 | ||
6589 | ||
6590 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6591 | PyObject *resultobj; | |
6592 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6593 | wxString *arg2 = 0 ; | |
6594 | bool temp2 = false ; | |
6595 | PyObject * obj0 = 0 ; | |
6596 | PyObject * obj1 = 0 ; | |
6597 | char *kwnames[] = { | |
6598 | (char *) "self",(char *) "htmlfile", NULL | |
6599 | }; | |
6600 | ||
6601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
6602 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6603 | { | |
6604 | arg2 = wxString_in_helper(obj1); | |
6605 | if (arg2 == NULL) SWIG_fail; | |
6606 | temp2 = true; | |
6607 | } | |
6608 | { | |
6609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6610 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
6611 | ||
6612 | wxPyEndAllowThreads(__tstate); | |
6613 | if (PyErr_Occurred()) SWIG_fail; | |
6614 | } | |
6615 | Py_INCREF(Py_None); resultobj = Py_None; | |
6616 | { | |
6617 | if (temp2) | |
6618 | delete arg2; | |
6619 | } | |
6620 | return resultobj; | |
6621 | fail: | |
6622 | { | |
6623 | if (temp2) | |
6624 | delete arg2; | |
6625 | } | |
6626 | return NULL; | |
6627 | } | |
6628 | ||
6629 | ||
6630 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6631 | PyObject *resultobj; | |
6632 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6633 | wxString *arg2 = 0 ; | |
6634 | int arg3 = (int) wxPAGE_ALL ; | |
6635 | bool temp2 = false ; | |
6636 | PyObject * obj0 = 0 ; | |
6637 | PyObject * obj1 = 0 ; | |
6638 | char *kwnames[] = { | |
6639 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
6640 | }; | |
6641 | ||
6642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6643 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6644 | { | |
6645 | arg2 = wxString_in_helper(obj1); | |
6646 | if (arg2 == NULL) SWIG_fail; | |
6647 | temp2 = true; | |
6648 | } | |
6649 | { | |
6650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6651 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
6652 | ||
6653 | wxPyEndAllowThreads(__tstate); | |
6654 | if (PyErr_Occurred()) SWIG_fail; | |
6655 | } | |
6656 | Py_INCREF(Py_None); resultobj = Py_None; | |
6657 | { | |
6658 | if (temp2) | |
6659 | delete arg2; | |
6660 | } | |
6661 | return resultobj; | |
6662 | fail: | |
6663 | { | |
6664 | if (temp2) | |
6665 | delete arg2; | |
6666 | } | |
6667 | return NULL; | |
6668 | } | |
6669 | ||
6670 | ||
6671 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6672 | PyObject *resultobj; | |
6673 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6674 | wxString *arg2 = 0 ; | |
6675 | int arg3 = (int) wxPAGE_ALL ; | |
6676 | bool temp2 = false ; | |
6677 | PyObject * obj0 = 0 ; | |
6678 | PyObject * obj1 = 0 ; | |
6679 | char *kwnames[] = { | |
6680 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
6681 | }; | |
6682 | ||
6683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6684 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6685 | { | |
6686 | arg2 = wxString_in_helper(obj1); | |
6687 | if (arg2 == NULL) SWIG_fail; | |
6688 | temp2 = true; | |
6689 | } | |
6690 | { | |
6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6692 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
6693 | ||
6694 | wxPyEndAllowThreads(__tstate); | |
6695 | if (PyErr_Occurred()) SWIG_fail; | |
6696 | } | |
6697 | Py_INCREF(Py_None); resultobj = Py_None; | |
6698 | { | |
6699 | if (temp2) | |
6700 | delete arg2; | |
6701 | } | |
6702 | return resultobj; | |
6703 | fail: | |
6704 | { | |
6705 | if (temp2) | |
6706 | delete arg2; | |
6707 | } | |
6708 | return NULL; | |
6709 | } | |
6710 | ||
6711 | ||
6712 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6713 | PyObject *resultobj; | |
6714 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6715 | wxString arg2 ; | |
6716 | wxString arg3 ; | |
6717 | PyObject *arg4 = (PyObject *) NULL ; | |
6718 | wxString *argp2 ; | |
6719 | wxString *argp3 ; | |
6720 | PyObject * obj0 = 0 ; | |
6721 | PyObject * obj1 = 0 ; | |
6722 | PyObject * obj2 = 0 ; | |
6723 | PyObject * obj3 = 0 ; | |
6724 | char *kwnames[] = { | |
6725 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6726 | }; | |
6727 | ||
6728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6729 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6730 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
6731 | arg2 = *argp2; | |
6732 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
6733 | arg3 = *argp3; | |
6734 | if (obj3) { | |
6735 | arg4 = obj3; | |
6736 | } | |
6737 | { | |
6738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6739 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
6740 | ||
6741 | wxPyEndAllowThreads(__tstate); | |
6742 | if (PyErr_Occurred()) SWIG_fail; | |
6743 | } | |
6744 | Py_INCREF(Py_None); resultobj = Py_None; | |
6745 | return resultobj; | |
6746 | fail: | |
6747 | return NULL; | |
6748 | } | |
6749 | ||
6750 | ||
6751 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6752 | PyObject *resultobj; | |
6753 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6754 | float arg2 = (float) 25.2 ; | |
6755 | float arg3 = (float) 25.2 ; | |
6756 | float arg4 = (float) 25.2 ; | |
6757 | float arg5 = (float) 25.2 ; | |
6758 | float arg6 = (float) 5 ; | |
6759 | PyObject * obj0 = 0 ; | |
6760 | char *kwnames[] = { | |
6761 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
6762 | }; | |
6763 | ||
6764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
6765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6766 | { | |
6767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6768 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
6769 | ||
6770 | wxPyEndAllowThreads(__tstate); | |
6771 | if (PyErr_Occurred()) SWIG_fail; | |
6772 | } | |
6773 | Py_INCREF(Py_None); resultobj = Py_None; | |
6774 | return resultobj; | |
6775 | fail: | |
6776 | return NULL; | |
6777 | } | |
6778 | ||
6779 | ||
6780 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6781 | PyObject *resultobj; | |
6782 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
6783 | PyObject * obj0 = 0 ; | |
6784 | char *kwnames[] = { | |
6785 | (char *) "filter", NULL | |
6786 | }; | |
6787 | ||
6788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
6789 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6790 | { | |
6791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6792 | wxHtmlPrintout::AddFilter(arg1); | |
6793 | ||
6794 | wxPyEndAllowThreads(__tstate); | |
6795 | if (PyErr_Occurred()) SWIG_fail; | |
6796 | } | |
6797 | Py_INCREF(Py_None); resultobj = Py_None; | |
6798 | return resultobj; | |
6799 | fail: | |
6800 | return NULL; | |
6801 | } | |
6802 | ||
6803 | ||
6804 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6805 | PyObject *resultobj; | |
6806 | char *kwnames[] = { | |
6807 | NULL | |
6808 | }; | |
6809 | ||
6810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
6811 | { | |
6812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6813 | wxHtmlPrintout::CleanUpStatics(); | |
6814 | ||
6815 | wxPyEndAllowThreads(__tstate); | |
6816 | if (PyErr_Occurred()) SWIG_fail; | |
6817 | } | |
6818 | Py_INCREF(Py_None); resultobj = Py_None; | |
6819 | return resultobj; | |
6820 | fail: | |
6821 | return NULL; | |
6822 | } | |
6823 | ||
6824 | ||
6825 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
6826 | PyObject *obj; | |
6827 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6828 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
6829 | Py_INCREF(obj); | |
6830 | return Py_BuildValue((char *)""); | |
6831 | } | |
6832 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6833 | PyObject *resultobj; | |
6834 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
6835 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6836 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6837 | wxHtmlEasyPrinting *result; | |
6838 | bool temp1 = false ; | |
6839 | PyObject * obj0 = 0 ; | |
6840 | PyObject * obj1 = 0 ; | |
6841 | char *kwnames[] = { | |
6842 | (char *) "name",(char *) "parentWindow", NULL | |
6843 | }; | |
6844 | ||
6845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
6846 | if (obj0) { | |
6847 | { | |
6848 | arg1 = wxString_in_helper(obj0); | |
6849 | if (arg1 == NULL) SWIG_fail; | |
6850 | temp1 = true; | |
6851 | } | |
6852 | } | |
6853 | if (obj1) { | |
6854 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6855 | } | |
6856 | { | |
6857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6858 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
6859 | ||
6860 | wxPyEndAllowThreads(__tstate); | |
6861 | if (PyErr_Occurred()) SWIG_fail; | |
6862 | } | |
6863 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
6864 | { | |
6865 | if (temp1) | |
6866 | delete arg1; | |
6867 | } | |
6868 | return resultobj; | |
6869 | fail: | |
6870 | { | |
6871 | if (temp1) | |
6872 | delete arg1; | |
6873 | } | |
6874 | return NULL; | |
6875 | } | |
6876 | ||
6877 | ||
6878 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6879 | PyObject *resultobj; | |
6880 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6881 | PyObject * obj0 = 0 ; | |
6882 | char *kwnames[] = { | |
6883 | (char *) "self", NULL | |
6884 | }; | |
6885 | ||
6886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
6887 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6888 | { | |
6889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6890 | delete arg1; | |
6891 | ||
6892 | wxPyEndAllowThreads(__tstate); | |
6893 | if (PyErr_Occurred()) SWIG_fail; | |
6894 | } | |
6895 | Py_INCREF(Py_None); resultobj = Py_None; | |
6896 | return resultobj; | |
6897 | fail: | |
6898 | return NULL; | |
6899 | } | |
6900 | ||
6901 | ||
6902 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6903 | PyObject *resultobj; | |
6904 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6905 | wxString *arg2 = 0 ; | |
6906 | bool temp2 = false ; | |
6907 | PyObject * obj0 = 0 ; | |
6908 | PyObject * obj1 = 0 ; | |
6909 | char *kwnames[] = { | |
6910 | (char *) "self",(char *) "htmlfile", NULL | |
6911 | }; | |
6912 | ||
6913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
6914 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6915 | { | |
6916 | arg2 = wxString_in_helper(obj1); | |
6917 | if (arg2 == NULL) SWIG_fail; | |
6918 | temp2 = true; | |
6919 | } | |
6920 | { | |
6921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6922 | (arg1)->PreviewFile((wxString const &)*arg2); | |
6923 | ||
6924 | wxPyEndAllowThreads(__tstate); | |
6925 | if (PyErr_Occurred()) SWIG_fail; | |
6926 | } | |
6927 | Py_INCREF(Py_None); resultobj = Py_None; | |
6928 | { | |
6929 | if (temp2) | |
6930 | delete arg2; | |
6931 | } | |
6932 | return resultobj; | |
6933 | fail: | |
6934 | { | |
6935 | if (temp2) | |
6936 | delete arg2; | |
6937 | } | |
6938 | return NULL; | |
6939 | } | |
6940 | ||
6941 | ||
6942 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6943 | PyObject *resultobj; | |
6944 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6945 | wxString *arg2 = 0 ; | |
6946 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6947 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
6948 | bool temp2 = false ; | |
6949 | bool temp3 = false ; | |
6950 | PyObject * obj0 = 0 ; | |
6951 | PyObject * obj1 = 0 ; | |
6952 | PyObject * obj2 = 0 ; | |
6953 | char *kwnames[] = { | |
6954 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
6955 | }; | |
6956 | ||
6957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6958 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6959 | { | |
6960 | arg2 = wxString_in_helper(obj1); | |
6961 | if (arg2 == NULL) SWIG_fail; | |
6962 | temp2 = true; | |
6963 | } | |
6964 | if (obj2) { | |
6965 | { | |
6966 | arg3 = wxString_in_helper(obj2); | |
6967 | if (arg3 == NULL) SWIG_fail; | |
6968 | temp3 = true; | |
6969 | } | |
6970 | } | |
6971 | { | |
6972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6973 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
6974 | ||
6975 | wxPyEndAllowThreads(__tstate); | |
6976 | if (PyErr_Occurred()) SWIG_fail; | |
6977 | } | |
6978 | Py_INCREF(Py_None); resultobj = Py_None; | |
6979 | { | |
6980 | if (temp2) | |
6981 | delete arg2; | |
6982 | } | |
6983 | { | |
6984 | if (temp3) | |
6985 | delete arg3; | |
6986 | } | |
6987 | return resultobj; | |
6988 | fail: | |
6989 | { | |
6990 | if (temp2) | |
6991 | delete arg2; | |
6992 | } | |
6993 | { | |
6994 | if (temp3) | |
6995 | delete arg3; | |
6996 | } | |
6997 | return NULL; | |
6998 | } | |
6999 | ||
7000 | ||
7001 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7002 | PyObject *resultobj; | |
7003 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7004 | wxString *arg2 = 0 ; | |
7005 | bool temp2 = false ; | |
7006 | PyObject * obj0 = 0 ; | |
7007 | PyObject * obj1 = 0 ; | |
7008 | char *kwnames[] = { | |
7009 | (char *) "self",(char *) "htmlfile", NULL | |
7010 | }; | |
7011 | ||
7012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
7013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7014 | { | |
7015 | arg2 = wxString_in_helper(obj1); | |
7016 | if (arg2 == NULL) SWIG_fail; | |
7017 | temp2 = true; | |
7018 | } | |
7019 | { | |
7020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7021 | (arg1)->PrintFile((wxString const &)*arg2); | |
7022 | ||
7023 | wxPyEndAllowThreads(__tstate); | |
7024 | if (PyErr_Occurred()) SWIG_fail; | |
7025 | } | |
7026 | Py_INCREF(Py_None); resultobj = Py_None; | |
7027 | { | |
7028 | if (temp2) | |
7029 | delete arg2; | |
7030 | } | |
7031 | return resultobj; | |
7032 | fail: | |
7033 | { | |
7034 | if (temp2) | |
7035 | delete arg2; | |
7036 | } | |
7037 | return NULL; | |
7038 | } | |
7039 | ||
7040 | ||
7041 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7042 | PyObject *resultobj; | |
7043 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7044 | wxString *arg2 = 0 ; | |
7045 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7046 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
7047 | bool temp2 = false ; | |
7048 | bool temp3 = false ; | |
7049 | PyObject * obj0 = 0 ; | |
7050 | PyObject * obj1 = 0 ; | |
7051 | PyObject * obj2 = 0 ; | |
7052 | char *kwnames[] = { | |
7053 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
7054 | }; | |
7055 | ||
7056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7057 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7058 | { | |
7059 | arg2 = wxString_in_helper(obj1); | |
7060 | if (arg2 == NULL) SWIG_fail; | |
7061 | temp2 = true; | |
7062 | } | |
7063 | if (obj2) { | |
7064 | { | |
7065 | arg3 = wxString_in_helper(obj2); | |
7066 | if (arg3 == NULL) SWIG_fail; | |
7067 | temp3 = true; | |
7068 | } | |
7069 | } | |
7070 | { | |
7071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7072 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
7073 | ||
7074 | wxPyEndAllowThreads(__tstate); | |
7075 | if (PyErr_Occurred()) SWIG_fail; | |
7076 | } | |
7077 | Py_INCREF(Py_None); resultobj = Py_None; | |
7078 | { | |
7079 | if (temp2) | |
7080 | delete arg2; | |
7081 | } | |
7082 | { | |
7083 | if (temp3) | |
7084 | delete arg3; | |
7085 | } | |
7086 | return resultobj; | |
7087 | fail: | |
7088 | { | |
7089 | if (temp2) | |
7090 | delete arg2; | |
7091 | } | |
7092 | { | |
7093 | if (temp3) | |
7094 | delete arg3; | |
7095 | } | |
7096 | return NULL; | |
7097 | } | |
7098 | ||
7099 | ||
7100 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7101 | PyObject *resultobj; | |
7102 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7103 | PyObject * obj0 = 0 ; | |
7104 | char *kwnames[] = { | |
7105 | (char *) "self", NULL | |
7106 | }; | |
7107 | ||
7108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
7109 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7110 | { | |
7111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7112 | (arg1)->PrinterSetup(); | |
7113 | ||
7114 | wxPyEndAllowThreads(__tstate); | |
7115 | if (PyErr_Occurred()) SWIG_fail; | |
7116 | } | |
7117 | Py_INCREF(Py_None); resultobj = Py_None; | |
7118 | return resultobj; | |
7119 | fail: | |
7120 | return NULL; | |
7121 | } | |
7122 | ||
7123 | ||
7124 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7125 | PyObject *resultobj; | |
7126 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7127 | PyObject * obj0 = 0 ; | |
7128 | char *kwnames[] = { | |
7129 | (char *) "self", NULL | |
7130 | }; | |
7131 | ||
7132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
7133 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7134 | { | |
7135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7136 | (arg1)->PageSetup(); | |
7137 | ||
7138 | wxPyEndAllowThreads(__tstate); | |
7139 | if (PyErr_Occurred()) SWIG_fail; | |
7140 | } | |
7141 | Py_INCREF(Py_None); resultobj = Py_None; | |
7142 | return resultobj; | |
7143 | fail: | |
7144 | return NULL; | |
7145 | } | |
7146 | ||
7147 | ||
7148 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7149 | PyObject *resultobj; | |
7150 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7151 | wxString *arg2 = 0 ; | |
7152 | int arg3 = (int) wxPAGE_ALL ; | |
7153 | bool temp2 = false ; | |
7154 | PyObject * obj0 = 0 ; | |
7155 | PyObject * obj1 = 0 ; | |
7156 | char *kwnames[] = { | |
7157 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7158 | }; | |
7159 | ||
7160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7161 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7162 | { | |
7163 | arg2 = wxString_in_helper(obj1); | |
7164 | if (arg2 == NULL) SWIG_fail; | |
7165 | temp2 = true; | |
7166 | } | |
7167 | { | |
7168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7169 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7170 | ||
7171 | wxPyEndAllowThreads(__tstate); | |
7172 | if (PyErr_Occurred()) SWIG_fail; | |
7173 | } | |
7174 | Py_INCREF(Py_None); resultobj = Py_None; | |
7175 | { | |
7176 | if (temp2) | |
7177 | delete arg2; | |
7178 | } | |
7179 | return resultobj; | |
7180 | fail: | |
7181 | { | |
7182 | if (temp2) | |
7183 | delete arg2; | |
7184 | } | |
7185 | return NULL; | |
7186 | } | |
7187 | ||
7188 | ||
7189 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7190 | PyObject *resultobj; | |
7191 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7192 | wxString *arg2 = 0 ; | |
7193 | int arg3 = (int) wxPAGE_ALL ; | |
7194 | bool temp2 = false ; | |
7195 | PyObject * obj0 = 0 ; | |
7196 | PyObject * obj1 = 0 ; | |
7197 | char *kwnames[] = { | |
7198 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7199 | }; | |
7200 | ||
7201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7202 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7203 | { | |
7204 | arg2 = wxString_in_helper(obj1); | |
7205 | if (arg2 == NULL) SWIG_fail; | |
7206 | temp2 = true; | |
7207 | } | |
7208 | { | |
7209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7210 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7211 | ||
7212 | wxPyEndAllowThreads(__tstate); | |
7213 | if (PyErr_Occurred()) SWIG_fail; | |
7214 | } | |
7215 | Py_INCREF(Py_None); resultobj = Py_None; | |
7216 | { | |
7217 | if (temp2) | |
7218 | delete arg2; | |
7219 | } | |
7220 | return resultobj; | |
7221 | fail: | |
7222 | { | |
7223 | if (temp2) | |
7224 | delete arg2; | |
7225 | } | |
7226 | return NULL; | |
7227 | } | |
7228 | ||
7229 | ||
7230 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7231 | PyObject *resultobj; | |
7232 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7233 | wxString arg2 ; | |
7234 | wxString arg3 ; | |
7235 | PyObject *arg4 = (PyObject *) NULL ; | |
7236 | wxString *argp2 ; | |
7237 | wxString *argp3 ; | |
7238 | PyObject * obj0 = 0 ; | |
7239 | PyObject * obj1 = 0 ; | |
7240 | PyObject * obj2 = 0 ; | |
7241 | PyObject * obj3 = 0 ; | |
7242 | char *kwnames[] = { | |
7243 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7244 | }; | |
7245 | ||
7246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7247 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7248 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
7249 | arg2 = *argp2; | |
7250 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
7251 | arg3 = *argp3; | |
7252 | if (obj3) { | |
7253 | arg4 = obj3; | |
7254 | } | |
7255 | { | |
7256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7257 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
7258 | ||
7259 | wxPyEndAllowThreads(__tstate); | |
7260 | if (PyErr_Occurred()) SWIG_fail; | |
7261 | } | |
7262 | Py_INCREF(Py_None); resultobj = Py_None; | |
7263 | return resultobj; | |
7264 | fail: | |
7265 | return NULL; | |
7266 | } | |
7267 | ||
7268 | ||
7269 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7270 | PyObject *resultobj; | |
7271 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7272 | wxPrintData *result; | |
7273 | PyObject * obj0 = 0 ; | |
7274 | char *kwnames[] = { | |
7275 | (char *) "self", NULL | |
7276 | }; | |
7277 | ||
7278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
7279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7280 | { | |
7281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7282 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
7283 | ||
7284 | wxPyEndAllowThreads(__tstate); | |
7285 | if (PyErr_Occurred()) SWIG_fail; | |
7286 | } | |
7287 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
7288 | return resultobj; | |
7289 | fail: | |
7290 | return NULL; | |
7291 | } | |
7292 | ||
7293 | ||
7294 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7295 | PyObject *resultobj; | |
7296 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7297 | wxPageSetupDialogData *result; | |
7298 | PyObject * obj0 = 0 ; | |
7299 | char *kwnames[] = { | |
7300 | (char *) "self", NULL | |
7301 | }; | |
7302 | ||
7303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
7304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7305 | { | |
7306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7307 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
7308 | ||
7309 | wxPyEndAllowThreads(__tstate); | |
7310 | if (PyErr_Occurred()) SWIG_fail; | |
7311 | } | |
7312 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
7313 | return resultobj; | |
7314 | fail: | |
7315 | return NULL; | |
7316 | } | |
7317 | ||
7318 | ||
7319 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
7320 | PyObject *obj; | |
7321 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7322 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
7323 | Py_INCREF(obj); | |
7324 | return Py_BuildValue((char *)""); | |
7325 | } | |
7326 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7327 | PyObject *resultobj; | |
7328 | wxString *arg1 = 0 ; | |
7329 | wxString *arg2 = 0 ; | |
7330 | wxString *arg3 = 0 ; | |
7331 | wxString *arg4 = 0 ; | |
7332 | wxHtmlBookRecord *result; | |
7333 | bool temp1 = false ; | |
7334 | bool temp2 = false ; | |
7335 | bool temp3 = false ; | |
7336 | bool temp4 = false ; | |
7337 | PyObject * obj0 = 0 ; | |
7338 | PyObject * obj1 = 0 ; | |
7339 | PyObject * obj2 = 0 ; | |
7340 | PyObject * obj3 = 0 ; | |
7341 | char *kwnames[] = { | |
7342 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
7343 | }; | |
7344 | ||
7345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7346 | { | |
7347 | arg1 = wxString_in_helper(obj0); | |
7348 | if (arg1 == NULL) SWIG_fail; | |
7349 | temp1 = true; | |
7350 | } | |
7351 | { | |
7352 | arg2 = wxString_in_helper(obj1); | |
7353 | if (arg2 == NULL) SWIG_fail; | |
7354 | temp2 = true; | |
7355 | } | |
7356 | { | |
7357 | arg3 = wxString_in_helper(obj2); | |
7358 | if (arg3 == NULL) SWIG_fail; | |
7359 | temp3 = true; | |
7360 | } | |
7361 | { | |
7362 | arg4 = wxString_in_helper(obj3); | |
7363 | if (arg4 == NULL) SWIG_fail; | |
7364 | temp4 = true; | |
7365 | } | |
7366 | { | |
7367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7368 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
7369 | ||
7370 | wxPyEndAllowThreads(__tstate); | |
7371 | if (PyErr_Occurred()) SWIG_fail; | |
7372 | } | |
7373 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1); | |
7374 | { | |
7375 | if (temp1) | |
7376 | delete arg1; | |
7377 | } | |
7378 | { | |
7379 | if (temp2) | |
7380 | delete arg2; | |
7381 | } | |
7382 | { | |
7383 | if (temp3) | |
7384 | delete arg3; | |
7385 | } | |
7386 | { | |
7387 | if (temp4) | |
7388 | delete arg4; | |
7389 | } | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | { | |
7393 | if (temp1) | |
7394 | delete arg1; | |
7395 | } | |
7396 | { | |
7397 | if (temp2) | |
7398 | delete arg2; | |
7399 | } | |
7400 | { | |
7401 | if (temp3) | |
7402 | delete arg3; | |
7403 | } | |
7404 | { | |
7405 | if (temp4) | |
7406 | delete arg4; | |
7407 | } | |
7408 | return NULL; | |
7409 | } | |
7410 | ||
7411 | ||
7412 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7413 | PyObject *resultobj; | |
7414 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7415 | wxString result; | |
7416 | PyObject * obj0 = 0 ; | |
7417 | char *kwnames[] = { | |
7418 | (char *) "self", NULL | |
7419 | }; | |
7420 | ||
7421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
7422 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7423 | { | |
7424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7425 | result = (arg1)->GetBookFile(); | |
7426 | ||
7427 | wxPyEndAllowThreads(__tstate); | |
7428 | if (PyErr_Occurred()) SWIG_fail; | |
7429 | } | |
7430 | { | |
7431 | #if wxUSE_UNICODE | |
7432 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7433 | #else | |
7434 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7435 | #endif | |
7436 | } | |
7437 | return resultobj; | |
7438 | fail: | |
7439 | return NULL; | |
7440 | } | |
7441 | ||
7442 | ||
7443 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7444 | PyObject *resultobj; | |
7445 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7446 | wxString result; | |
7447 | PyObject * obj0 = 0 ; | |
7448 | char *kwnames[] = { | |
7449 | (char *) "self", NULL | |
7450 | }; | |
7451 | ||
7452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
7453 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7454 | { | |
7455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7456 | result = (arg1)->GetTitle(); | |
7457 | ||
7458 | wxPyEndAllowThreads(__tstate); | |
7459 | if (PyErr_Occurred()) SWIG_fail; | |
7460 | } | |
7461 | { | |
7462 | #if wxUSE_UNICODE | |
7463 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7464 | #else | |
7465 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7466 | #endif | |
7467 | } | |
7468 | return resultobj; | |
7469 | fail: | |
7470 | return NULL; | |
7471 | } | |
7472 | ||
7473 | ||
7474 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7475 | PyObject *resultobj; | |
7476 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7477 | wxString result; | |
7478 | PyObject * obj0 = 0 ; | |
7479 | char *kwnames[] = { | |
7480 | (char *) "self", NULL | |
7481 | }; | |
7482 | ||
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
7484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7485 | { | |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | result = (arg1)->GetStart(); | |
7488 | ||
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | { | |
7493 | #if wxUSE_UNICODE | |
7494 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7495 | #else | |
7496 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7497 | #endif | |
7498 | } | |
7499 | return resultobj; | |
7500 | fail: | |
7501 | return NULL; | |
7502 | } | |
7503 | ||
7504 | ||
7505 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7506 | PyObject *resultobj; | |
7507 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7508 | wxString result; | |
7509 | PyObject * obj0 = 0 ; | |
7510 | char *kwnames[] = { | |
7511 | (char *) "self", NULL | |
7512 | }; | |
7513 | ||
7514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
7515 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7516 | { | |
7517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7518 | result = (arg1)->GetBasePath(); | |
7519 | ||
7520 | wxPyEndAllowThreads(__tstate); | |
7521 | if (PyErr_Occurred()) SWIG_fail; | |
7522 | } | |
7523 | { | |
7524 | #if wxUSE_UNICODE | |
7525 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7526 | #else | |
7527 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7528 | #endif | |
7529 | } | |
7530 | return resultobj; | |
7531 | fail: | |
7532 | return NULL; | |
7533 | } | |
7534 | ||
7535 | ||
7536 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7537 | PyObject *resultobj; | |
7538 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7539 | int arg2 ; | |
7540 | int arg3 ; | |
7541 | PyObject * obj0 = 0 ; | |
7542 | char *kwnames[] = { | |
7543 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7544 | }; | |
7545 | ||
7546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7547 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7548 | { | |
7549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7550 | (arg1)->SetContentsRange(arg2,arg3); | |
7551 | ||
7552 | wxPyEndAllowThreads(__tstate); | |
7553 | if (PyErr_Occurred()) SWIG_fail; | |
7554 | } | |
7555 | Py_INCREF(Py_None); resultobj = Py_None; | |
7556 | return resultobj; | |
7557 | fail: | |
7558 | return NULL; | |
7559 | } | |
7560 | ||
7561 | ||
7562 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7563 | PyObject *resultobj; | |
7564 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7565 | int result; | |
7566 | PyObject * obj0 = 0 ; | |
7567 | char *kwnames[] = { | |
7568 | (char *) "self", NULL | |
7569 | }; | |
7570 | ||
7571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
7572 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7573 | { | |
7574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7575 | result = (int)(arg1)->GetContentsStart(); | |
7576 | ||
7577 | wxPyEndAllowThreads(__tstate); | |
7578 | if (PyErr_Occurred()) SWIG_fail; | |
7579 | } | |
7580 | resultobj = PyInt_FromLong((long)result); | |
7581 | return resultobj; | |
7582 | fail: | |
7583 | return NULL; | |
7584 | } | |
7585 | ||
7586 | ||
7587 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7588 | PyObject *resultobj; | |
7589 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7590 | int result; | |
7591 | PyObject * obj0 = 0 ; | |
7592 | char *kwnames[] = { | |
7593 | (char *) "self", NULL | |
7594 | }; | |
7595 | ||
7596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
7597 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7598 | { | |
7599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7600 | result = (int)(arg1)->GetContentsEnd(); | |
7601 | ||
7602 | wxPyEndAllowThreads(__tstate); | |
7603 | if (PyErr_Occurred()) SWIG_fail; | |
7604 | } | |
7605 | resultobj = PyInt_FromLong((long)result); | |
7606 | return resultobj; | |
7607 | fail: | |
7608 | return NULL; | |
7609 | } | |
7610 | ||
7611 | ||
7612 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7613 | PyObject *resultobj; | |
7614 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7615 | wxString *arg2 = 0 ; | |
7616 | bool temp2 = false ; | |
7617 | PyObject * obj0 = 0 ; | |
7618 | PyObject * obj1 = 0 ; | |
7619 | char *kwnames[] = { | |
7620 | (char *) "self",(char *) "title", NULL | |
7621 | }; | |
7622 | ||
7623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7624 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7625 | { | |
7626 | arg2 = wxString_in_helper(obj1); | |
7627 | if (arg2 == NULL) SWIG_fail; | |
7628 | temp2 = true; | |
7629 | } | |
7630 | { | |
7631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7632 | (arg1)->SetTitle((wxString const &)*arg2); | |
7633 | ||
7634 | wxPyEndAllowThreads(__tstate); | |
7635 | if (PyErr_Occurred()) SWIG_fail; | |
7636 | } | |
7637 | Py_INCREF(Py_None); resultobj = Py_None; | |
7638 | { | |
7639 | if (temp2) | |
7640 | delete arg2; | |
7641 | } | |
7642 | return resultobj; | |
7643 | fail: | |
7644 | { | |
7645 | if (temp2) | |
7646 | delete arg2; | |
7647 | } | |
7648 | return NULL; | |
7649 | } | |
7650 | ||
7651 | ||
7652 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7653 | PyObject *resultobj; | |
7654 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7655 | wxString *arg2 = 0 ; | |
7656 | bool temp2 = false ; | |
7657 | PyObject * obj0 = 0 ; | |
7658 | PyObject * obj1 = 0 ; | |
7659 | char *kwnames[] = { | |
7660 | (char *) "self",(char *) "path", NULL | |
7661 | }; | |
7662 | ||
7663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
7664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7665 | { | |
7666 | arg2 = wxString_in_helper(obj1); | |
7667 | if (arg2 == NULL) SWIG_fail; | |
7668 | temp2 = true; | |
7669 | } | |
7670 | { | |
7671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7672 | (arg1)->SetBasePath((wxString const &)*arg2); | |
7673 | ||
7674 | wxPyEndAllowThreads(__tstate); | |
7675 | if (PyErr_Occurred()) SWIG_fail; | |
7676 | } | |
7677 | Py_INCREF(Py_None); resultobj = Py_None; | |
7678 | { | |
7679 | if (temp2) | |
7680 | delete arg2; | |
7681 | } | |
7682 | return resultobj; | |
7683 | fail: | |
7684 | { | |
7685 | if (temp2) | |
7686 | delete arg2; | |
7687 | } | |
7688 | return NULL; | |
7689 | } | |
7690 | ||
7691 | ||
7692 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7693 | PyObject *resultobj; | |
7694 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7695 | wxString *arg2 = 0 ; | |
7696 | bool temp2 = false ; | |
7697 | PyObject * obj0 = 0 ; | |
7698 | PyObject * obj1 = 0 ; | |
7699 | char *kwnames[] = { | |
7700 | (char *) "self",(char *) "start", NULL | |
7701 | }; | |
7702 | ||
7703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
7704 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7705 | { | |
7706 | arg2 = wxString_in_helper(obj1); | |
7707 | if (arg2 == NULL) SWIG_fail; | |
7708 | temp2 = true; | |
7709 | } | |
7710 | { | |
7711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7712 | (arg1)->SetStart((wxString const &)*arg2); | |
7713 | ||
7714 | wxPyEndAllowThreads(__tstate); | |
7715 | if (PyErr_Occurred()) SWIG_fail; | |
7716 | } | |
7717 | Py_INCREF(Py_None); resultobj = Py_None; | |
7718 | { | |
7719 | if (temp2) | |
7720 | delete arg2; | |
7721 | } | |
7722 | return resultobj; | |
7723 | fail: | |
7724 | { | |
7725 | if (temp2) | |
7726 | delete arg2; | |
7727 | } | |
7728 | return NULL; | |
7729 | } | |
7730 | ||
7731 | ||
7732 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7733 | PyObject *resultobj; | |
7734 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7735 | wxString *arg2 = 0 ; | |
7736 | wxString result; | |
7737 | bool temp2 = false ; | |
7738 | PyObject * obj0 = 0 ; | |
7739 | PyObject * obj1 = 0 ; | |
7740 | char *kwnames[] = { | |
7741 | (char *) "self",(char *) "page", NULL | |
7742 | }; | |
7743 | ||
7744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
7745 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7746 | { | |
7747 | arg2 = wxString_in_helper(obj1); | |
7748 | if (arg2 == NULL) SWIG_fail; | |
7749 | temp2 = true; | |
7750 | } | |
7751 | { | |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7753 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
7754 | ||
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
7758 | { | |
7759 | #if wxUSE_UNICODE | |
7760 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7761 | #else | |
7762 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7763 | #endif | |
7764 | } | |
7765 | { | |
7766 | if (temp2) | |
7767 | delete arg2; | |
7768 | } | |
7769 | return resultobj; | |
7770 | fail: | |
7771 | { | |
7772 | if (temp2) | |
7773 | delete arg2; | |
7774 | } | |
7775 | return NULL; | |
7776 | } | |
7777 | ||
7778 | ||
7779 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
7780 | PyObject *obj; | |
7781 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7782 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
7783 | Py_INCREF(obj); | |
7784 | return Py_BuildValue((char *)""); | |
7785 | } | |
7786 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7787 | PyObject *resultobj; | |
7788 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7789 | int result; | |
7790 | PyObject * obj0 = 0 ; | |
7791 | char *kwnames[] = { | |
7792 | (char *) "self", NULL | |
7793 | }; | |
7794 | ||
7795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
7796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7797 | { | |
7798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7799 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
7800 | ||
7801 | wxPyEndAllowThreads(__tstate); | |
7802 | if (PyErr_Occurred()) SWIG_fail; | |
7803 | } | |
7804 | resultobj = PyInt_FromLong((long)result); | |
7805 | return resultobj; | |
7806 | fail: | |
7807 | return NULL; | |
7808 | } | |
7809 | ||
7810 | ||
7811 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7812 | PyObject *resultobj; | |
7813 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7814 | int result; | |
7815 | PyObject * obj0 = 0 ; | |
7816 | char *kwnames[] = { | |
7817 | (char *) "self", NULL | |
7818 | }; | |
7819 | ||
7820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
7821 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7822 | { | |
7823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7824 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
7825 | ||
7826 | wxPyEndAllowThreads(__tstate); | |
7827 | if (PyErr_Occurred()) SWIG_fail; | |
7828 | } | |
7829 | resultobj = PyInt_FromLong((long)result); | |
7830 | return resultobj; | |
7831 | fail: | |
7832 | return NULL; | |
7833 | } | |
7834 | ||
7835 | ||
7836 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7837 | PyObject *resultobj; | |
7838 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7839 | wxString result; | |
7840 | PyObject * obj0 = 0 ; | |
7841 | char *kwnames[] = { | |
7842 | (char *) "self", NULL | |
7843 | }; | |
7844 | ||
7845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
7846 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7847 | { | |
7848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7849 | result = wxHtmlContentsItem_GetName(arg1); | |
7850 | ||
7851 | wxPyEndAllowThreads(__tstate); | |
7852 | if (PyErr_Occurred()) SWIG_fail; | |
7853 | } | |
7854 | { | |
7855 | #if wxUSE_UNICODE | |
7856 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7857 | #else | |
7858 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7859 | #endif | |
7860 | } | |
7861 | return resultobj; | |
7862 | fail: | |
7863 | return NULL; | |
7864 | } | |
7865 | ||
7866 | ||
7867 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7868 | PyObject *resultobj; | |
7869 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7870 | wxString result; | |
7871 | PyObject * obj0 = 0 ; | |
7872 | char *kwnames[] = { | |
7873 | (char *) "self", NULL | |
7874 | }; | |
7875 | ||
7876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
7877 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7878 | { | |
7879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7880 | result = wxHtmlContentsItem_GetPage(arg1); | |
7881 | ||
7882 | wxPyEndAllowThreads(__tstate); | |
7883 | if (PyErr_Occurred()) SWIG_fail; | |
7884 | } | |
7885 | { | |
7886 | #if wxUSE_UNICODE | |
7887 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7888 | #else | |
7889 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7890 | #endif | |
7891 | } | |
7892 | return resultobj; | |
7893 | fail: | |
7894 | return NULL; | |
7895 | } | |
7896 | ||
7897 | ||
7898 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7899 | PyObject *resultobj; | |
7900 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7901 | wxHtmlBookRecord *result; | |
7902 | PyObject * obj0 = 0 ; | |
7903 | char *kwnames[] = { | |
7904 | (char *) "self", NULL | |
7905 | }; | |
7906 | ||
7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
7908 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7909 | { | |
7910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7911 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
7912 | ||
7913 | wxPyEndAllowThreads(__tstate); | |
7914 | if (PyErr_Occurred()) SWIG_fail; | |
7915 | } | |
7916 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0); | |
7917 | return resultobj; | |
7918 | fail: | |
7919 | return NULL; | |
7920 | } | |
7921 | ||
7922 | ||
7923 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
7924 | PyObject *obj; | |
7925 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7926 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
7927 | Py_INCREF(obj); | |
7928 | return Py_BuildValue((char *)""); | |
7929 | } | |
7930 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7931 | PyObject *resultobj; | |
7932 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7933 | bool result; | |
7934 | PyObject * obj0 = 0 ; | |
7935 | char *kwnames[] = { | |
7936 | (char *) "self", NULL | |
7937 | }; | |
7938 | ||
7939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
7940 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7941 | { | |
7942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7943 | result = (bool)(arg1)->Search(); | |
7944 | ||
7945 | wxPyEndAllowThreads(__tstate); | |
7946 | if (PyErr_Occurred()) SWIG_fail; | |
7947 | } | |
7948 | resultobj = PyInt_FromLong((long)result); | |
7949 | return resultobj; | |
7950 | fail: | |
7951 | return NULL; | |
7952 | } | |
7953 | ||
7954 | ||
7955 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7956 | PyObject *resultobj; | |
7957 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7958 | bool result; | |
7959 | PyObject * obj0 = 0 ; | |
7960 | char *kwnames[] = { | |
7961 | (char *) "self", NULL | |
7962 | }; | |
7963 | ||
7964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
7965 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7966 | { | |
7967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7968 | result = (bool)(arg1)->IsActive(); | |
7969 | ||
7970 | wxPyEndAllowThreads(__tstate); | |
7971 | if (PyErr_Occurred()) SWIG_fail; | |
7972 | } | |
7973 | resultobj = PyInt_FromLong((long)result); | |
7974 | return resultobj; | |
7975 | fail: | |
7976 | return NULL; | |
7977 | } | |
7978 | ||
7979 | ||
7980 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7981 | PyObject *resultobj; | |
7982 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7983 | int result; | |
7984 | PyObject * obj0 = 0 ; | |
7985 | char *kwnames[] = { | |
7986 | (char *) "self", NULL | |
7987 | }; | |
7988 | ||
7989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
7990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7991 | { | |
7992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7993 | result = (int)(arg1)->GetCurIndex(); | |
7994 | ||
7995 | wxPyEndAllowThreads(__tstate); | |
7996 | if (PyErr_Occurred()) SWIG_fail; | |
7997 | } | |
7998 | resultobj = PyInt_FromLong((long)result); | |
7999 | return resultobj; | |
8000 | fail: | |
8001 | return NULL; | |
8002 | } | |
8003 | ||
8004 | ||
8005 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8006 | PyObject *resultobj; | |
8007 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8008 | int result; | |
8009 | PyObject * obj0 = 0 ; | |
8010 | char *kwnames[] = { | |
8011 | (char *) "self", NULL | |
8012 | }; | |
8013 | ||
8014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
8015 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8016 | { | |
8017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8018 | result = (int)(arg1)->GetMaxIndex(); | |
8019 | ||
8020 | wxPyEndAllowThreads(__tstate); | |
8021 | if (PyErr_Occurred()) SWIG_fail; | |
8022 | } | |
8023 | resultobj = PyInt_FromLong((long)result); | |
8024 | return resultobj; | |
8025 | fail: | |
8026 | return NULL; | |
8027 | } | |
8028 | ||
8029 | ||
8030 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8031 | PyObject *resultobj; | |
8032 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8033 | wxString *result; | |
8034 | PyObject * obj0 = 0 ; | |
8035 | char *kwnames[] = { | |
8036 | (char *) "self", NULL | |
8037 | }; | |
8038 | ||
8039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
8040 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8041 | { | |
8042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8043 | { | |
8044 | wxString const &_result_ref = (arg1)->GetName(); | |
8045 | result = (wxString *) &_result_ref; | |
8046 | } | |
8047 | ||
8048 | wxPyEndAllowThreads(__tstate); | |
8049 | if (PyErr_Occurred()) SWIG_fail; | |
8050 | } | |
8051 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
8052 | return resultobj; | |
8053 | fail: | |
8054 | return NULL; | |
8055 | } | |
8056 | ||
8057 | ||
8058 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8059 | PyObject *resultobj; | |
8060 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8061 | wxHtmlContentsItem *result; | |
8062 | PyObject * obj0 = 0 ; | |
8063 | char *kwnames[] = { | |
8064 | (char *) "self", NULL | |
8065 | }; | |
8066 | ||
8067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
8068 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8069 | { | |
8070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8071 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
8072 | ||
8073 | wxPyEndAllowThreads(__tstate); | |
8074 | if (PyErr_Occurred()) SWIG_fail; | |
8075 | } | |
8076 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8077 | return resultobj; | |
8078 | fail: | |
8079 | return NULL; | |
8080 | } | |
8081 | ||
8082 | ||
8083 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
8084 | PyObject *obj; | |
8085 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8086 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
8087 | Py_INCREF(obj); | |
8088 | return Py_BuildValue((char *)""); | |
8089 | } | |
8090 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8091 | PyObject *resultobj; | |
8092 | wxHtmlHelpData *result; | |
8093 | char *kwnames[] = { | |
8094 | NULL | |
8095 | }; | |
8096 | ||
8097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
8098 | { | |
8099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8100 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
8101 | ||
8102 | wxPyEndAllowThreads(__tstate); | |
8103 | if (PyErr_Occurred()) SWIG_fail; | |
8104 | } | |
8105 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1); | |
8106 | return resultobj; | |
8107 | fail: | |
8108 | return NULL; | |
8109 | } | |
8110 | ||
8111 | ||
8112 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8113 | PyObject *resultobj; | |
8114 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8115 | PyObject * obj0 = 0 ; | |
8116 | char *kwnames[] = { | |
8117 | (char *) "self", NULL | |
8118 | }; | |
8119 | ||
8120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
8121 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8122 | { | |
8123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8124 | delete arg1; | |
8125 | ||
8126 | wxPyEndAllowThreads(__tstate); | |
8127 | if (PyErr_Occurred()) SWIG_fail; | |
8128 | } | |
8129 | Py_INCREF(Py_None); resultobj = Py_None; | |
8130 | return resultobj; | |
8131 | fail: | |
8132 | return NULL; | |
8133 | } | |
8134 | ||
8135 | ||
8136 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8137 | PyObject *resultobj; | |
8138 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8139 | wxString *arg2 = 0 ; | |
8140 | bool temp2 = false ; | |
8141 | PyObject * obj0 = 0 ; | |
8142 | PyObject * obj1 = 0 ; | |
8143 | char *kwnames[] = { | |
8144 | (char *) "self",(char *) "path", NULL | |
8145 | }; | |
8146 | ||
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8148 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8149 | { | |
8150 | arg2 = wxString_in_helper(obj1); | |
8151 | if (arg2 == NULL) SWIG_fail; | |
8152 | temp2 = true; | |
8153 | } | |
8154 | { | |
8155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8156 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8157 | ||
8158 | wxPyEndAllowThreads(__tstate); | |
8159 | if (PyErr_Occurred()) SWIG_fail; | |
8160 | } | |
8161 | Py_INCREF(Py_None); resultobj = Py_None; | |
8162 | { | |
8163 | if (temp2) | |
8164 | delete arg2; | |
8165 | } | |
8166 | return resultobj; | |
8167 | fail: | |
8168 | { | |
8169 | if (temp2) | |
8170 | delete arg2; | |
8171 | } | |
8172 | return NULL; | |
8173 | } | |
8174 | ||
8175 | ||
8176 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8177 | PyObject *resultobj; | |
8178 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8179 | wxString *arg2 = 0 ; | |
8180 | bool result; | |
8181 | bool temp2 = false ; | |
8182 | PyObject * obj0 = 0 ; | |
8183 | PyObject * obj1 = 0 ; | |
8184 | char *kwnames[] = { | |
8185 | (char *) "self",(char *) "book", NULL | |
8186 | }; | |
8187 | ||
8188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
8189 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8190 | { | |
8191 | arg2 = wxString_in_helper(obj1); | |
8192 | if (arg2 == NULL) SWIG_fail; | |
8193 | temp2 = true; | |
8194 | } | |
8195 | { | |
8196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8197 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
8198 | ||
8199 | wxPyEndAllowThreads(__tstate); | |
8200 | if (PyErr_Occurred()) SWIG_fail; | |
8201 | } | |
8202 | resultobj = PyInt_FromLong((long)result); | |
8203 | { | |
8204 | if (temp2) | |
8205 | delete arg2; | |
8206 | } | |
8207 | return resultobj; | |
8208 | fail: | |
8209 | { | |
8210 | if (temp2) | |
8211 | delete arg2; | |
8212 | } | |
8213 | return NULL; | |
8214 | } | |
8215 | ||
8216 | ||
8217 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8218 | PyObject *resultobj; | |
8219 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8220 | wxString *arg2 = 0 ; | |
8221 | wxString result; | |
8222 | bool temp2 = false ; | |
8223 | PyObject * obj0 = 0 ; | |
8224 | PyObject * obj1 = 0 ; | |
8225 | char *kwnames[] = { | |
8226 | (char *) "self",(char *) "page", NULL | |
8227 | }; | |
8228 | ||
8229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
8230 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,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 | { | |
8237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8238 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
8239 | ||
8240 | wxPyEndAllowThreads(__tstate); | |
8241 | if (PyErr_Occurred()) SWIG_fail; | |
8242 | } | |
8243 | { | |
8244 | #if wxUSE_UNICODE | |
8245 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8246 | #else | |
8247 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8248 | #endif | |
8249 | } | |
8250 | { | |
8251 | if (temp2) | |
8252 | delete arg2; | |
8253 | } | |
8254 | return resultobj; | |
8255 | fail: | |
8256 | { | |
8257 | if (temp2) | |
8258 | delete arg2; | |
8259 | } | |
8260 | return NULL; | |
8261 | } | |
8262 | ||
8263 | ||
8264 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8265 | PyObject *resultobj; | |
8266 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8267 | int arg2 ; | |
8268 | wxString result; | |
8269 | PyObject * obj0 = 0 ; | |
8270 | char *kwnames[] = { | |
8271 | (char *) "self",(char *) "id", NULL | |
8272 | }; | |
8273 | ||
8274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpData_FindPageById",kwnames,&obj0,&arg2)) goto fail; | |
8275 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8276 | { | |
8277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8278 | result = (arg1)->FindPageById(arg2); | |
8279 | ||
8280 | wxPyEndAllowThreads(__tstate); | |
8281 | if (PyErr_Occurred()) SWIG_fail; | |
8282 | } | |
8283 | { | |
8284 | #if wxUSE_UNICODE | |
8285 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8286 | #else | |
8287 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8288 | #endif | |
8289 | } | |
8290 | return resultobj; | |
8291 | fail: | |
8292 | return NULL; | |
8293 | } | |
8294 | ||
8295 | ||
8296 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8297 | PyObject *resultobj; | |
8298 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8299 | wxHtmlBookRecArray *result; | |
8300 | PyObject * obj0 = 0 ; | |
8301 | char *kwnames[] = { | |
8302 | (char *) "self", NULL | |
8303 | }; | |
8304 | ||
8305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
8306 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8307 | { | |
8308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8309 | { | |
8310 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
8311 | result = (wxHtmlBookRecArray *) &_result_ref; | |
8312 | } | |
8313 | ||
8314 | wxPyEndAllowThreads(__tstate); | |
8315 | if (PyErr_Occurred()) SWIG_fail; | |
8316 | } | |
8317 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
8318 | return resultobj; | |
8319 | fail: | |
8320 | return NULL; | |
8321 | } | |
8322 | ||
8323 | ||
8324 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8325 | PyObject *resultobj; | |
8326 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8327 | wxHtmlContentsItem *result; | |
8328 | PyObject * obj0 = 0 ; | |
8329 | char *kwnames[] = { | |
8330 | (char *) "self", NULL | |
8331 | }; | |
8332 | ||
8333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
8334 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8335 | { | |
8336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8337 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
8338 | ||
8339 | wxPyEndAllowThreads(__tstate); | |
8340 | if (PyErr_Occurred()) SWIG_fail; | |
8341 | } | |
8342 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8343 | return resultobj; | |
8344 | fail: | |
8345 | return NULL; | |
8346 | } | |
8347 | ||
8348 | ||
8349 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8350 | PyObject *resultobj; | |
8351 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8352 | int result; | |
8353 | PyObject * obj0 = 0 ; | |
8354 | char *kwnames[] = { | |
8355 | (char *) "self", NULL | |
8356 | }; | |
8357 | ||
8358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
8359 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8360 | { | |
8361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8362 | result = (int)(arg1)->GetContentsCnt(); | |
8363 | ||
8364 | wxPyEndAllowThreads(__tstate); | |
8365 | if (PyErr_Occurred()) SWIG_fail; | |
8366 | } | |
8367 | resultobj = PyInt_FromLong((long)result); | |
8368 | return resultobj; | |
8369 | fail: | |
8370 | return NULL; | |
8371 | } | |
8372 | ||
8373 | ||
8374 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8375 | PyObject *resultobj; | |
8376 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8377 | wxHtmlContentsItem *result; | |
8378 | PyObject * obj0 = 0 ; | |
8379 | char *kwnames[] = { | |
8380 | (char *) "self", NULL | |
8381 | }; | |
8382 | ||
8383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
8384 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8385 | { | |
8386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8387 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
8388 | ||
8389 | wxPyEndAllowThreads(__tstate); | |
8390 | if (PyErr_Occurred()) SWIG_fail; | |
8391 | } | |
8392 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8393 | return resultobj; | |
8394 | fail: | |
8395 | return NULL; | |
8396 | } | |
8397 | ||
8398 | ||
8399 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8400 | PyObject *resultobj; | |
8401 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8402 | int result; | |
8403 | PyObject * obj0 = 0 ; | |
8404 | char *kwnames[] = { | |
8405 | (char *) "self", NULL | |
8406 | }; | |
8407 | ||
8408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
8409 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8410 | { | |
8411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8412 | result = (int)(arg1)->GetIndexCnt(); | |
8413 | ||
8414 | wxPyEndAllowThreads(__tstate); | |
8415 | if (PyErr_Occurred()) SWIG_fail; | |
8416 | } | |
8417 | resultobj = PyInt_FromLong((long)result); | |
8418 | return resultobj; | |
8419 | fail: | |
8420 | return NULL; | |
8421 | } | |
8422 | ||
8423 | ||
8424 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
8425 | PyObject *obj; | |
8426 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8427 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
8428 | Py_INCREF(obj); | |
8429 | return Py_BuildValue((char *)""); | |
8430 | } | |
8431 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8432 | PyObject *resultobj; | |
8433 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8434 | int arg2 ; | |
8435 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8436 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8437 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
8438 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
8439 | wxHtmlHelpFrame *result; | |
8440 | bool temp3 = false ; | |
8441 | PyObject * obj0 = 0 ; | |
8442 | PyObject * obj2 = 0 ; | |
8443 | PyObject * obj4 = 0 ; | |
8444 | char *kwnames[] = { | |
8445 | (char *) "parent",(char *) "wxWindowID",(char *) "title",(char *) "style",(char *) "data", NULL | |
8446 | }; | |
8447 | ||
8448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail; | |
8449 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8450 | if (obj2) { | |
8451 | { | |
8452 | arg3 = wxString_in_helper(obj2); | |
8453 | if (arg3 == NULL) SWIG_fail; | |
8454 | temp3 = true; | |
8455 | } | |
8456 | } | |
8457 | if (obj4) { | |
8458 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8459 | } | |
8460 | { | |
8461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8462 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
8463 | ||
8464 | wxPyEndAllowThreads(__tstate); | |
8465 | if (PyErr_Occurred()) SWIG_fail; | |
8466 | } | |
8467 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
8468 | { | |
8469 | if (temp3) | |
8470 | delete arg3; | |
8471 | } | |
8472 | return resultobj; | |
8473 | fail: | |
8474 | { | |
8475 | if (temp3) | |
8476 | delete arg3; | |
8477 | } | |
8478 | return NULL; | |
8479 | } | |
8480 | ||
8481 | ||
8482 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8483 | PyObject *resultobj; | |
8484 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8485 | wxHtmlHelpData *result; | |
8486 | PyObject * obj0 = 0 ; | |
8487 | char *kwnames[] = { | |
8488 | (char *) "self", NULL | |
8489 | }; | |
8490 | ||
8491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
8492 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8493 | { | |
8494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8495 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
8496 | ||
8497 | wxPyEndAllowThreads(__tstate); | |
8498 | if (PyErr_Occurred()) SWIG_fail; | |
8499 | } | |
8500 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0); | |
8501 | return resultobj; | |
8502 | fail: | |
8503 | return NULL; | |
8504 | } | |
8505 | ||
8506 | ||
8507 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8508 | PyObject *resultobj; | |
8509 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8510 | wxString *arg2 = 0 ; | |
8511 | bool temp2 = false ; | |
8512 | PyObject * obj0 = 0 ; | |
8513 | PyObject * obj1 = 0 ; | |
8514 | char *kwnames[] = { | |
8515 | (char *) "self",(char *) "format", NULL | |
8516 | }; | |
8517 | ||
8518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8520 | { | |
8521 | arg2 = wxString_in_helper(obj1); | |
8522 | if (arg2 == NULL) SWIG_fail; | |
8523 | temp2 = true; | |
8524 | } | |
8525 | { | |
8526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8527 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8528 | ||
8529 | wxPyEndAllowThreads(__tstate); | |
8530 | if (PyErr_Occurred()) SWIG_fail; | |
8531 | } | |
8532 | Py_INCREF(Py_None); resultobj = Py_None; | |
8533 | { | |
8534 | if (temp2) | |
8535 | delete arg2; | |
8536 | } | |
8537 | return resultobj; | |
8538 | fail: | |
8539 | { | |
8540 | if (temp2) | |
8541 | delete arg2; | |
8542 | } | |
8543 | return NULL; | |
8544 | } | |
8545 | ||
8546 | ||
8547 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8548 | PyObject *resultobj; | |
8549 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8550 | wxString *arg2 = 0 ; | |
8551 | bool temp2 = false ; | |
8552 | PyObject * obj0 = 0 ; | |
8553 | PyObject * obj1 = 0 ; | |
8554 | char *kwnames[] = { | |
8555 | (char *) "self",(char *) "x", NULL | |
8556 | }; | |
8557 | ||
8558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
8559 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8560 | { | |
8561 | arg2 = wxString_in_helper(obj1); | |
8562 | if (arg2 == NULL) SWIG_fail; | |
8563 | temp2 = true; | |
8564 | } | |
8565 | { | |
8566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8567 | (arg1)->Display((wxString const &)*arg2); | |
8568 | ||
8569 | wxPyEndAllowThreads(__tstate); | |
8570 | if (PyErr_Occurred()) SWIG_fail; | |
8571 | } | |
8572 | Py_INCREF(Py_None); resultobj = Py_None; | |
8573 | { | |
8574 | if (temp2) | |
8575 | delete arg2; | |
8576 | } | |
8577 | return resultobj; | |
8578 | fail: | |
8579 | { | |
8580 | if (temp2) | |
8581 | delete arg2; | |
8582 | } | |
8583 | return NULL; | |
8584 | } | |
8585 | ||
8586 | ||
8587 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8588 | PyObject *resultobj; | |
8589 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8590 | int arg2 ; | |
8591 | PyObject * obj0 = 0 ; | |
8592 | char *kwnames[] = { | |
8593 | (char *) "self",(char *) "id", NULL | |
8594 | }; | |
8595 | ||
8596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpFrame_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
8597 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8598 | { | |
8599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8600 | (arg1)->Display(arg2); | |
8601 | ||
8602 | wxPyEndAllowThreads(__tstate); | |
8603 | if (PyErr_Occurred()) SWIG_fail; | |
8604 | } | |
8605 | Py_INCREF(Py_None); resultobj = Py_None; | |
8606 | return resultobj; | |
8607 | fail: | |
8608 | return NULL; | |
8609 | } | |
8610 | ||
8611 | ||
8612 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8613 | PyObject *resultobj; | |
8614 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8615 | PyObject * obj0 = 0 ; | |
8616 | char *kwnames[] = { | |
8617 | (char *) "self", NULL | |
8618 | }; | |
8619 | ||
8620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
8621 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8622 | { | |
8623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8624 | (arg1)->DisplayContents(); | |
8625 | ||
8626 | wxPyEndAllowThreads(__tstate); | |
8627 | if (PyErr_Occurred()) SWIG_fail; | |
8628 | } | |
8629 | Py_INCREF(Py_None); resultobj = Py_None; | |
8630 | return resultobj; | |
8631 | fail: | |
8632 | return NULL; | |
8633 | } | |
8634 | ||
8635 | ||
8636 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8637 | PyObject *resultobj; | |
8638 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8639 | PyObject * obj0 = 0 ; | |
8640 | char *kwnames[] = { | |
8641 | (char *) "self", NULL | |
8642 | }; | |
8643 | ||
8644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
8645 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8646 | { | |
8647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8648 | (arg1)->DisplayIndex(); | |
8649 | ||
8650 | wxPyEndAllowThreads(__tstate); | |
8651 | if (PyErr_Occurred()) SWIG_fail; | |
8652 | } | |
8653 | Py_INCREF(Py_None); resultobj = Py_None; | |
8654 | return resultobj; | |
8655 | fail: | |
8656 | return NULL; | |
8657 | } | |
8658 | ||
8659 | ||
8660 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8661 | PyObject *resultobj; | |
8662 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8663 | wxString *arg2 = 0 ; | |
8664 | bool result; | |
8665 | bool temp2 = false ; | |
8666 | PyObject * obj0 = 0 ; | |
8667 | PyObject * obj1 = 0 ; | |
8668 | char *kwnames[] = { | |
8669 | (char *) "self",(char *) "keyword", NULL | |
8670 | }; | |
8671 | ||
8672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
8673 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8674 | { | |
8675 | arg2 = wxString_in_helper(obj1); | |
8676 | if (arg2 == NULL) SWIG_fail; | |
8677 | temp2 = true; | |
8678 | } | |
8679 | { | |
8680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8681 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
8682 | ||
8683 | wxPyEndAllowThreads(__tstate); | |
8684 | if (PyErr_Occurred()) SWIG_fail; | |
8685 | } | |
8686 | resultobj = PyInt_FromLong((long)result); | |
8687 | { | |
8688 | if (temp2) | |
8689 | delete arg2; | |
8690 | } | |
8691 | return resultobj; | |
8692 | fail: | |
8693 | { | |
8694 | if (temp2) | |
8695 | delete arg2; | |
8696 | } | |
8697 | return NULL; | |
8698 | } | |
8699 | ||
8700 | ||
8701 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8702 | PyObject *resultobj; | |
8703 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8704 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8705 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8706 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8707 | bool temp3 = false ; | |
8708 | PyObject * obj0 = 0 ; | |
8709 | PyObject * obj1 = 0 ; | |
8710 | PyObject * obj2 = 0 ; | |
8711 | char *kwnames[] = { | |
8712 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
8713 | }; | |
8714 | ||
8715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8717 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8718 | if (obj2) { | |
8719 | { | |
8720 | arg3 = wxString_in_helper(obj2); | |
8721 | if (arg3 == NULL) SWIG_fail; | |
8722 | temp3 = true; | |
8723 | } | |
8724 | } | |
8725 | { | |
8726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8727 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
8728 | ||
8729 | wxPyEndAllowThreads(__tstate); | |
8730 | if (PyErr_Occurred()) SWIG_fail; | |
8731 | } | |
8732 | Py_INCREF(Py_None); resultobj = Py_None; | |
8733 | { | |
8734 | if (temp3) | |
8735 | delete arg3; | |
8736 | } | |
8737 | return resultobj; | |
8738 | fail: | |
8739 | { | |
8740 | if (temp3) | |
8741 | delete arg3; | |
8742 | } | |
8743 | return NULL; | |
8744 | } | |
8745 | ||
8746 | ||
8747 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8748 | PyObject *resultobj; | |
8749 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8750 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8751 | wxString arg3 = (wxString) wxPyEmptyString ; | |
8752 | wxString *argp3 ; | |
8753 | PyObject * obj0 = 0 ; | |
8754 | PyObject * obj1 = 0 ; | |
8755 | PyObject * obj2 = 0 ; | |
8756 | char *kwnames[] = { | |
8757 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8758 | }; | |
8759 | ||
8760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8761 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8762 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8763 | if (obj2) { | |
8764 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
8765 | arg3 = *argp3; | |
8766 | } | |
8767 | { | |
8768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8769 | (arg1)->ReadCustomization(arg2,arg3); | |
8770 | ||
8771 | wxPyEndAllowThreads(__tstate); | |
8772 | if (PyErr_Occurred()) SWIG_fail; | |
8773 | } | |
8774 | Py_INCREF(Py_None); resultobj = Py_None; | |
8775 | return resultobj; | |
8776 | fail: | |
8777 | return NULL; | |
8778 | } | |
8779 | ||
8780 | ||
8781 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8782 | PyObject *resultobj; | |
8783 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8784 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8785 | wxString arg3 = (wxString) wxPyEmptyString ; | |
8786 | wxString *argp3 ; | |
8787 | PyObject * obj0 = 0 ; | |
8788 | PyObject * obj1 = 0 ; | |
8789 | PyObject * obj2 = 0 ; | |
8790 | char *kwnames[] = { | |
8791 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8792 | }; | |
8793 | ||
8794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8796 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8797 | if (obj2) { | |
8798 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
8799 | arg3 = *argp3; | |
8800 | } | |
8801 | { | |
8802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8803 | (arg1)->WriteCustomization(arg2,arg3); | |
8804 | ||
8805 | wxPyEndAllowThreads(__tstate); | |
8806 | if (PyErr_Occurred()) SWIG_fail; | |
8807 | } | |
8808 | Py_INCREF(Py_None); resultobj = Py_None; | |
8809 | return resultobj; | |
8810 | fail: | |
8811 | return NULL; | |
8812 | } | |
8813 | ||
8814 | ||
8815 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
8816 | PyObject *obj; | |
8817 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8818 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
8819 | Py_INCREF(obj); | |
8820 | return Py_BuildValue((char *)""); | |
8821 | } | |
8822 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8823 | PyObject *resultobj; | |
8824 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
8825 | wxHtmlHelpController *result; | |
8826 | char *kwnames[] = { | |
8827 | (char *) "style", NULL | |
8828 | }; | |
8829 | ||
8830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_HtmlHelpController",kwnames,&arg1)) goto fail; | |
8831 | { | |
8832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8833 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
8834 | ||
8835 | wxPyEndAllowThreads(__tstate); | |
8836 | if (PyErr_Occurred()) SWIG_fail; | |
8837 | } | |
8838 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1); | |
8839 | return resultobj; | |
8840 | fail: | |
8841 | return NULL; | |
8842 | } | |
8843 | ||
8844 | ||
8845 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8846 | PyObject *resultobj; | |
8847 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8848 | PyObject * obj0 = 0 ; | |
8849 | char *kwnames[] = { | |
8850 | (char *) "self", NULL | |
8851 | }; | |
8852 | ||
8853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
8854 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8855 | { | |
8856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8857 | delete arg1; | |
8858 | ||
8859 | wxPyEndAllowThreads(__tstate); | |
8860 | if (PyErr_Occurred()) SWIG_fail; | |
8861 | } | |
8862 | Py_INCREF(Py_None); resultobj = Py_None; | |
8863 | return resultobj; | |
8864 | fail: | |
8865 | return NULL; | |
8866 | } | |
8867 | ||
8868 | ||
8869 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8870 | PyObject *resultobj; | |
8871 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8872 | wxString *arg2 = 0 ; | |
8873 | bool temp2 = false ; | |
8874 | PyObject * obj0 = 0 ; | |
8875 | PyObject * obj1 = 0 ; | |
8876 | char *kwnames[] = { | |
8877 | (char *) "self",(char *) "format", NULL | |
8878 | }; | |
8879 | ||
8880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8881 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8882 | { | |
8883 | arg2 = wxString_in_helper(obj1); | |
8884 | if (arg2 == NULL) SWIG_fail; | |
8885 | temp2 = true; | |
8886 | } | |
8887 | { | |
8888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8889 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8890 | ||
8891 | wxPyEndAllowThreads(__tstate); | |
8892 | if (PyErr_Occurred()) SWIG_fail; | |
8893 | } | |
8894 | Py_INCREF(Py_None); resultobj = Py_None; | |
8895 | { | |
8896 | if (temp2) | |
8897 | delete arg2; | |
8898 | } | |
8899 | return resultobj; | |
8900 | fail: | |
8901 | { | |
8902 | if (temp2) | |
8903 | delete arg2; | |
8904 | } | |
8905 | return NULL; | |
8906 | } | |
8907 | ||
8908 | ||
8909 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8910 | PyObject *resultobj; | |
8911 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8912 | wxString *arg2 = 0 ; | |
8913 | bool temp2 = false ; | |
8914 | PyObject * obj0 = 0 ; | |
8915 | PyObject * obj1 = 0 ; | |
8916 | char *kwnames[] = { | |
8917 | (char *) "self",(char *) "path", NULL | |
8918 | }; | |
8919 | ||
8920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8921 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8922 | { | |
8923 | arg2 = wxString_in_helper(obj1); | |
8924 | if (arg2 == NULL) SWIG_fail; | |
8925 | temp2 = true; | |
8926 | } | |
8927 | { | |
8928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8929 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8930 | ||
8931 | wxPyEndAllowThreads(__tstate); | |
8932 | if (PyErr_Occurred()) SWIG_fail; | |
8933 | } | |
8934 | Py_INCREF(Py_None); resultobj = Py_None; | |
8935 | { | |
8936 | if (temp2) | |
8937 | delete arg2; | |
8938 | } | |
8939 | return resultobj; | |
8940 | fail: | |
8941 | { | |
8942 | if (temp2) | |
8943 | delete arg2; | |
8944 | } | |
8945 | return NULL; | |
8946 | } | |
8947 | ||
8948 | ||
8949 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8950 | PyObject *resultobj; | |
8951 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8952 | wxString *arg2 = 0 ; | |
8953 | int arg3 = (int) FALSE ; | |
8954 | bool result; | |
8955 | bool temp2 = false ; | |
8956 | PyObject * obj0 = 0 ; | |
8957 | PyObject * obj1 = 0 ; | |
8958 | char *kwnames[] = { | |
8959 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
8960 | }; | |
8961 | ||
8962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
8963 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8964 | { | |
8965 | arg2 = wxString_in_helper(obj1); | |
8966 | if (arg2 == NULL) SWIG_fail; | |
8967 | temp2 = true; | |
8968 | } | |
8969 | { | |
8970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8971 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
8972 | ||
8973 | wxPyEndAllowThreads(__tstate); | |
8974 | if (PyErr_Occurred()) SWIG_fail; | |
8975 | } | |
8976 | resultobj = PyInt_FromLong((long)result); | |
8977 | { | |
8978 | if (temp2) | |
8979 | delete arg2; | |
8980 | } | |
8981 | return resultobj; | |
8982 | fail: | |
8983 | { | |
8984 | if (temp2) | |
8985 | delete arg2; | |
8986 | } | |
8987 | return NULL; | |
8988 | } | |
8989 | ||
8990 | ||
8991 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8992 | PyObject *resultobj; | |
8993 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8994 | wxString *arg2 = 0 ; | |
8995 | bool temp2 = false ; | |
8996 | PyObject * obj0 = 0 ; | |
8997 | PyObject * obj1 = 0 ; | |
8998 | char *kwnames[] = { | |
8999 | (char *) "self",(char *) "x", NULL | |
9000 | }; | |
9001 | ||
9002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
9003 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9004 | { | |
9005 | arg2 = wxString_in_helper(obj1); | |
9006 | if (arg2 == NULL) SWIG_fail; | |
9007 | temp2 = true; | |
9008 | } | |
9009 | { | |
9010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9011 | (arg1)->Display((wxString const &)*arg2); | |
9012 | ||
9013 | wxPyEndAllowThreads(__tstate); | |
9014 | if (PyErr_Occurred()) SWIG_fail; | |
9015 | } | |
9016 | Py_INCREF(Py_None); resultobj = Py_None; | |
9017 | { | |
9018 | if (temp2) | |
9019 | delete arg2; | |
9020 | } | |
9021 | return resultobj; | |
9022 | fail: | |
9023 | { | |
9024 | if (temp2) | |
9025 | delete arg2; | |
9026 | } | |
9027 | return NULL; | |
9028 | } | |
9029 | ||
9030 | ||
9031 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9032 | PyObject *resultobj; | |
9033 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9034 | int arg2 ; | |
9035 | PyObject * obj0 = 0 ; | |
9036 | char *kwnames[] = { | |
9037 | (char *) "self",(char *) "id", NULL | |
9038 | }; | |
9039 | ||
9040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpController_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
9041 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9042 | { | |
9043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9044 | (arg1)->Display(arg2); | |
9045 | ||
9046 | wxPyEndAllowThreads(__tstate); | |
9047 | if (PyErr_Occurred()) SWIG_fail; | |
9048 | } | |
9049 | Py_INCREF(Py_None); resultobj = Py_None; | |
9050 | return resultobj; | |
9051 | fail: | |
9052 | return NULL; | |
9053 | } | |
9054 | ||
9055 | ||
9056 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9057 | PyObject *resultobj; | |
9058 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9059 | PyObject * obj0 = 0 ; | |
9060 | char *kwnames[] = { | |
9061 | (char *) "self", NULL | |
9062 | }; | |
9063 | ||
9064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
9065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9066 | { | |
9067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9068 | (arg1)->DisplayContents(); | |
9069 | ||
9070 | wxPyEndAllowThreads(__tstate); | |
9071 | if (PyErr_Occurred()) SWIG_fail; | |
9072 | } | |
9073 | Py_INCREF(Py_None); resultobj = Py_None; | |
9074 | return resultobj; | |
9075 | fail: | |
9076 | return NULL; | |
9077 | } | |
9078 | ||
9079 | ||
9080 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9081 | PyObject *resultobj; | |
9082 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9083 | PyObject * obj0 = 0 ; | |
9084 | char *kwnames[] = { | |
9085 | (char *) "self", NULL | |
9086 | }; | |
9087 | ||
9088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
9089 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9090 | { | |
9091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9092 | (arg1)->DisplayIndex(); | |
9093 | ||
9094 | wxPyEndAllowThreads(__tstate); | |
9095 | if (PyErr_Occurred()) SWIG_fail; | |
9096 | } | |
9097 | Py_INCREF(Py_None); resultobj = Py_None; | |
9098 | return resultobj; | |
9099 | fail: | |
9100 | return NULL; | |
9101 | } | |
9102 | ||
9103 | ||
9104 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9105 | PyObject *resultobj; | |
9106 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9107 | wxString *arg2 = 0 ; | |
9108 | bool result; | |
9109 | bool temp2 = false ; | |
9110 | PyObject * obj0 = 0 ; | |
9111 | PyObject * obj1 = 0 ; | |
9112 | char *kwnames[] = { | |
9113 | (char *) "self",(char *) "keyword", NULL | |
9114 | }; | |
9115 | ||
9116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
9117 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9118 | { | |
9119 | arg2 = wxString_in_helper(obj1); | |
9120 | if (arg2 == NULL) SWIG_fail; | |
9121 | temp2 = true; | |
9122 | } | |
9123 | { | |
9124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9125 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
9126 | ||
9127 | wxPyEndAllowThreads(__tstate); | |
9128 | if (PyErr_Occurred()) SWIG_fail; | |
9129 | } | |
9130 | resultobj = PyInt_FromLong((long)result); | |
9131 | { | |
9132 | if (temp2) | |
9133 | delete arg2; | |
9134 | } | |
9135 | return resultobj; | |
9136 | fail: | |
9137 | { | |
9138 | if (temp2) | |
9139 | delete arg2; | |
9140 | } | |
9141 | return NULL; | |
9142 | } | |
9143 | ||
9144 | ||
9145 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9146 | PyObject *resultobj; | |
9147 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9148 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9149 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9150 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9151 | bool temp3 = false ; | |
9152 | PyObject * obj0 = 0 ; | |
9153 | PyObject * obj1 = 0 ; | |
9154 | PyObject * obj2 = 0 ; | |
9155 | char *kwnames[] = { | |
9156 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
9157 | }; | |
9158 | ||
9159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9160 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9161 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9162 | if (obj2) { | |
9163 | { | |
9164 | arg3 = wxString_in_helper(obj2); | |
9165 | if (arg3 == NULL) SWIG_fail; | |
9166 | temp3 = true; | |
9167 | } | |
9168 | } | |
9169 | { | |
9170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9171 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
9172 | ||
9173 | wxPyEndAllowThreads(__tstate); | |
9174 | if (PyErr_Occurred()) SWIG_fail; | |
9175 | } | |
9176 | Py_INCREF(Py_None); resultobj = Py_None; | |
9177 | { | |
9178 | if (temp3) | |
9179 | delete arg3; | |
9180 | } | |
9181 | return resultobj; | |
9182 | fail: | |
9183 | { | |
9184 | if (temp3) | |
9185 | delete arg3; | |
9186 | } | |
9187 | return NULL; | |
9188 | } | |
9189 | ||
9190 | ||
9191 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9192 | PyObject *resultobj; | |
9193 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9194 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9195 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9196 | wxString *argp3 ; | |
9197 | PyObject * obj0 = 0 ; | |
9198 | PyObject * obj1 = 0 ; | |
9199 | PyObject * obj2 = 0 ; | |
9200 | char *kwnames[] = { | |
9201 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9202 | }; | |
9203 | ||
9204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9205 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9206 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9207 | if (obj2) { | |
9208 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
9209 | arg3 = *argp3; | |
9210 | } | |
9211 | { | |
9212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9213 | (arg1)->ReadCustomization(arg2,arg3); | |
9214 | ||
9215 | wxPyEndAllowThreads(__tstate); | |
9216 | if (PyErr_Occurred()) SWIG_fail; | |
9217 | } | |
9218 | Py_INCREF(Py_None); resultobj = Py_None; | |
9219 | return resultobj; | |
9220 | fail: | |
9221 | return NULL; | |
9222 | } | |
9223 | ||
9224 | ||
9225 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9226 | PyObject *resultobj; | |
9227 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9228 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9229 | wxString arg3 = (wxString) wxPyEmptyString ; | |
9230 | wxString *argp3 ; | |
9231 | PyObject * obj0 = 0 ; | |
9232 | PyObject * obj1 = 0 ; | |
9233 | PyObject * obj2 = 0 ; | |
9234 | char *kwnames[] = { | |
9235 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9236 | }; | |
9237 | ||
9238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9239 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9240 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9241 | if (obj2) { | |
9242 | if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
9243 | arg3 = *argp3; | |
9244 | } | |
9245 | { | |
9246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9247 | (arg1)->WriteCustomization(arg2,arg3); | |
9248 | ||
9249 | wxPyEndAllowThreads(__tstate); | |
9250 | if (PyErr_Occurred()) SWIG_fail; | |
9251 | } | |
9252 | Py_INCREF(Py_None); resultobj = Py_None; | |
9253 | return resultobj; | |
9254 | fail: | |
9255 | return NULL; | |
9256 | } | |
9257 | ||
9258 | ||
9259 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9260 | PyObject *resultobj; | |
9261 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9262 | wxHtmlHelpFrame *result; | |
9263 | PyObject * obj0 = 0 ; | |
9264 | char *kwnames[] = { | |
9265 | (char *) "self", NULL | |
9266 | }; | |
9267 | ||
9268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
9269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9270 | { | |
9271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9272 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
9273 | ||
9274 | wxPyEndAllowThreads(__tstate); | |
9275 | if (PyErr_Occurred()) SWIG_fail; | |
9276 | } | |
9277 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
9278 | return resultobj; | |
9279 | fail: | |
9280 | return NULL; | |
9281 | } | |
9282 | ||
9283 | ||
9284 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
9285 | PyObject *obj; | |
9286 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9287 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
9288 | Py_INCREF(obj); | |
9289 | return Py_BuildValue((char *)""); | |
9290 | } | |
9291 | static PyMethodDef SwigMethods[] = { | |
9292 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
9293 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
9294 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
9295 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9296 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9297 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9298 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9299 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
9300 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9301 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
9302 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
9303 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
9304 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
9305 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
9306 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
9307 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
9308 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
9309 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
9310 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
9311 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
9312 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
9313 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
9314 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
9315 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
9316 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9317 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
9318 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9319 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9320 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
9321 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
9322 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9323 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
9324 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
9325 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
9326 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
9327 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9328 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9329 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
9330 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9331 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
9332 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9333 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9334 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9335 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9336 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9337 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9338 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9339 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9340 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9341 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9342 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9343 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9344 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9345 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9346 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9347 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9348 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9349 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
9350 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9351 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
9352 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9353 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9354 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9355 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9356 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9357 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
9358 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9359 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9360 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9361 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9362 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9363 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
9364 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9365 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9366 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9367 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
9368 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
9369 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
9370 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
9371 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
9372 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
9373 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9374 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9375 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9376 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9377 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9378 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
9379 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
9380 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9381 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9382 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9383 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9384 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9385 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9386 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9387 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9388 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
9389 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9390 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9391 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9392 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9393 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9394 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9395 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9396 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9397 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9398 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9399 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9400 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9401 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
9402 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
9403 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9404 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
9405 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
9406 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
9407 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
9408 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
9409 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9410 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
9411 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
9412 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9413 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
9414 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
9415 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9416 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
9417 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
9418 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
9419 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
9420 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
9421 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
9422 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
9423 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9424 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9425 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
9426 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
9427 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
9428 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
9429 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9430 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9431 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
9432 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
9433 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
9434 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
9435 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
9436 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
9437 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
9438 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
9439 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9440 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9441 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9442 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9443 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9444 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9445 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
9446 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9447 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
9448 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
9449 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
9450 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9451 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9452 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
9453 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9454 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
9455 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
9456 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
9457 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
9458 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
9459 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
9460 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
9461 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
9462 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9463 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
9464 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9465 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9466 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
9467 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9468 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
9469 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
9470 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
9471 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
9472 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
9473 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9474 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
9475 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9476 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9477 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
9478 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9479 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9480 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
9481 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9482 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9483 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
9484 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
9485 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
9486 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
9487 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
9488 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
9489 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9490 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9491 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9492 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9493 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
9494 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9495 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
9496 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
9497 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
9498 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9499 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9500 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9501 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
9502 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9503 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9504 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
9505 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
9506 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
9507 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
9508 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9509 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
9510 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9511 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9512 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9513 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
9514 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9515 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
9516 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
9517 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9518 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9519 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
9520 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
9521 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
9522 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
9523 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
9524 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
9525 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9526 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9527 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9528 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
9529 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
9530 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
9531 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
9532 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
9533 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9534 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
9535 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9536 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
9537 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
9538 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
9539 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9540 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9541 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
9542 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
9543 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
9544 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
9545 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
9546 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9547 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
9548 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
9549 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
9550 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
9551 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
9552 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
9553 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
9554 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9555 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
9556 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
9557 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9558 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9559 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9560 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9561 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
9562 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
9563 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
9564 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
9565 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
9566 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
9567 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
9568 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
9569 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
9570 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
9571 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9572 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
9573 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9574 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9575 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9576 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9577 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9578 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9579 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9580 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
9581 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9582 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9583 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9584 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9585 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9586 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
9587 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9588 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9589 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9590 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9591 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9592 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9593 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9594 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
9595 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
9596 | { NULL, NULL } | |
9597 | }; | |
9598 | ||
9599 | ||
9600 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
9601 | ||
9602 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
9603 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
9604 | } | |
9605 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
9606 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
9607 | } | |
9608 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
9609 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
9610 | } | |
9611 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
9612 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9613 | } | |
9614 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
9615 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9616 | } | |
9617 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
9618 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9619 | } | |
9620 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
9621 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9622 | } | |
9623 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
9624 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
9625 | } | |
9626 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
9627 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9628 | } | |
9629 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
9630 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
9631 | } | |
9632 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
9633 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9634 | } | |
9635 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
9636 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9637 | } | |
9638 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
9639 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9640 | } | |
9641 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
9642 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9643 | } | |
9644 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
9645 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9646 | } | |
9647 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
9648 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
9649 | } | |
9650 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
9651 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
9652 | } | |
9653 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
9654 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9655 | } | |
9656 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
9657 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9658 | } | |
9659 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
9660 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9661 | } | |
9662 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
9663 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9664 | } | |
9665 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
9666 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9667 | } | |
9668 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
9669 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9670 | } | |
9671 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
9672 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9673 | } | |
9674 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
9675 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
9676 | } | |
9677 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
9678 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
9679 | } | |
9680 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
9681 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
9682 | } | |
9683 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
9684 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9685 | } | |
9686 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
9687 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9688 | } | |
9689 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
9690 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9691 | } | |
9692 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
9693 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
9694 | } | |
9695 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
9696 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9697 | } | |
9698 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
9699 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
9700 | } | |
9701 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
9702 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
9703 | } | |
9704 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
9705 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
9706 | } | |
9707 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
9708 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
9709 | } | |
9710 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
9711 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
9712 | } | |
9713 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
9714 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9715 | } | |
9716 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
9717 | return (void *)((wxWindow *) ((wxControl *) x)); | |
9718 | } | |
9719 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
9720 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9721 | } | |
9722 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
9723 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9724 | } | |
9725 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
9726 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9727 | } | |
9728 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
9729 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
9730 | } | |
9731 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
9732 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
9733 | } | |
9734 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
9735 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9736 | } | |
9737 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
9738 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9739 | } | |
9740 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
9741 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9742 | } | |
9743 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
9744 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
9745 | } | |
9746 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
9747 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9748 | } | |
9749 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
9750 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9751 | } | |
9752 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
9753 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
9754 | } | |
9755 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
9756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9757 | } | |
9758 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
9759 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9760 | } | |
9761 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
9762 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9763 | } | |
9764 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
9765 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
9766 | } | |
9767 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
9768 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
9769 | } | |
9770 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
9771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
9772 | } | |
9773 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
9774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
9775 | } | |
9776 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
9777 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
9778 | } | |
9779 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
9780 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
9781 | } | |
9782 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
9783 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
9784 | } | |
9785 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
9786 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
9787 | } | |
9788 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
9789 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
9790 | } | |
9791 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
9792 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
9793 | } | |
9794 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
9795 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
9796 | } | |
9797 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
9798 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
9799 | } | |
9800 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
9801 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
9802 | } | |
9803 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
9804 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
9805 | } | |
9806 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
9807 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
9808 | } | |
9809 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
9810 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
9811 | } | |
9812 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
9813 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
9814 | } | |
9815 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
9816 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
9817 | } | |
9818 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
9819 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
9820 | } | |
9821 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9822 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9823 | } | |
9824 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9825 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9826 | } | |
9827 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
9828 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
9829 | } | |
9830 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
9831 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9832 | } | |
9833 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9834 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
9835 | } | |
9836 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9837 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9838 | } | |
9839 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
9840 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
9841 | } | |
9842 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
9843 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9844 | } | |
9845 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
9846 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9847 | } | |
9848 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
9849 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9850 | } | |
9851 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
9852 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
9853 | } | |
9854 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
9855 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
9856 | } | |
9857 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
9858 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
9859 | } | |
9860 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
9861 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
9862 | } | |
9863 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
9864 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
9865 | } | |
9866 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
9867 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
9868 | } | |
9869 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
9870 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
9871 | } | |
9872 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
9873 | return (void *)((wxObject *) ((wxSizer *) x)); | |
9874 | } | |
9875 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
9876 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
9877 | } | |
9878 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
9879 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
9880 | } | |
9881 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
9882 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9883 | } | |
9884 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
9885 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
9886 | } | |
9887 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
9888 | return (void *)((wxObject *) ((wxEvent *) x)); | |
9889 | } | |
9890 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
9891 | return (void *)((wxObject *) ((wxFontData *) x)); | |
9892 | } | |
9893 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
9894 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
9895 | } | |
9896 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
9897 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
9898 | } | |
9899 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
9900 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
9901 | } | |
9902 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
9903 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
9904 | } | |
9905 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
9906 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
9907 | } | |
9908 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
9909 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
9910 | } | |
9911 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
9912 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
9913 | } | |
9914 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
9915 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9916 | } | |
9917 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
9918 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9919 | } | |
9920 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
9921 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
9922 | } | |
9923 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
9924 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
9925 | } | |
9926 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
9927 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
9928 | } | |
9929 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
9930 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
9931 | } | |
9932 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
9933 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
9934 | } | |
9935 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
9936 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
9937 | } | |
9938 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
9939 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
9940 | } | |
9941 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
9942 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9943 | } | |
9944 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
9945 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
9946 | } | |
9947 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
9948 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
9949 | } | |
9950 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
9951 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
9952 | } | |
9953 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
9954 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
9955 | } | |
9956 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
9957 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
9958 | } | |
9959 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
9960 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
9961 | } | |
9962 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
9963 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
9964 | } | |
9965 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
9966 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
9967 | } | |
9968 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
9969 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9970 | } | |
9971 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
9972 | return (void *)((wxObject *) ((wxColourData *) x)); | |
9973 | } | |
9974 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
9975 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
9976 | } | |
9977 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
9978 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
9979 | } | |
9980 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
9981 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
9982 | } | |
9983 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
9984 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9985 | } | |
9986 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
9987 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9988 | } | |
9989 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
9990 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9991 | } | |
9992 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
9993 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9994 | } | |
9995 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
9996 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9997 | } | |
9998 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
9999 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10000 | } | |
10001 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
10002 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10003 | } | |
10004 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
10005 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10006 | } | |
10007 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
10008 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
10009 | } | |
10010 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
10011 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
10012 | } | |
10013 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
10014 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
10015 | } | |
10016 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
10017 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
10018 | } | |
10019 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
10020 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
10021 | } | |
10022 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
10023 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
10024 | } | |
10025 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
10026 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
10027 | } | |
10028 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
10029 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
10030 | } | |
10031 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
10032 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
10033 | } | |
10034 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
10035 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
10036 | } | |
10037 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
10038 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
10039 | } | |
10040 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
10041 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
10042 | } | |
10043 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
10044 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
10045 | } | |
10046 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
10047 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
10048 | } | |
10049 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
10050 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
10051 | } | |
10052 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
10053 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
10054 | } | |
10055 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
10056 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
10057 | } | |
10058 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
10059 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
10060 | } | |
10061 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
10062 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
10063 | } | |
10064 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
10065 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
10066 | } | |
10067 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
10068 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
10069 | } | |
10070 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
10071 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
10072 | } | |
10073 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
10074 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
10075 | } | |
10076 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
10077 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
10078 | } | |
10079 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
10080 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
10081 | } | |
10082 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
10083 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
10084 | } | |
10085 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
10086 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
10087 | } | |
10088 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
10089 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10090 | } | |
10091 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
10092 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10093 | } | |
10094 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
10095 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10096 | } | |
10097 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
10098 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
10099 | } | |
10100 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
10101 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10102 | } | |
10103 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
10104 | return (void *)((wxObject *) ((wxImage *) x)); | |
10105 | } | |
10106 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
10107 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10108 | } | |
10109 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
10110 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
10111 | } | |
10112 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
10113 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10114 | } | |
10115 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
10116 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
10117 | } | |
10118 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
10119 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
10120 | } | |
10121 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
10122 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
10123 | } | |
10124 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
10125 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
10126 | } | |
10127 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
10128 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10129 | } | |
10130 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
10131 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10132 | } | |
10133 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
10134 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
10135 | } | |
10136 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
10137 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
10138 | } | |
10139 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
10140 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
10141 | } | |
10142 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
10143 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10144 | } | |
10145 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
10146 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
10147 | } | |
10148 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
10149 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
10150 | } | |
10151 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10152 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10153 | } | |
10154 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
10155 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
10156 | } | |
10157 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
10158 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
10159 | } | |
10160 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
10161 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
10162 | } | |
10163 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
10164 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
10165 | } | |
10166 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
10167 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10168 | } | |
10169 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
10170 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
10171 | } | |
10172 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
10173 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10174 | } | |
10175 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
10176 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10177 | } | |
10178 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
10179 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10180 | } | |
10181 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
10182 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
10183 | } | |
10184 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
10185 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10186 | } | |
10187 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
10188 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
10189 | } | |
10190 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
10191 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
10192 | } | |
10193 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
10194 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
10195 | } | |
10196 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
10197 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
10198 | } | |
10199 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
10200 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10201 | } | |
10202 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
10203 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10204 | } | |
10205 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
10206 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10207 | } | |
10208 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
10209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10210 | } | |
10211 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
10212 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10213 | } | |
10214 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
10215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10216 | } | |
10217 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
10218 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
10219 | } | |
10220 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
10221 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
10222 | } | |
10223 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
10224 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
10225 | } | |
10226 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
10227 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10228 | } | |
10229 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
10230 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
10231 | } | |
10232 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
10233 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10234 | } | |
10235 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
10236 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
10237 | } | |
10238 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
10239 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
10240 | } | |
10241 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
10242 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
10243 | } | |
10244 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
10245 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
10246 | } | |
10247 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
10248 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10249 | } | |
10250 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
10251 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
10252 | } | |
10253 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
10254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10255 | } | |
10256 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
10257 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10258 | } | |
10259 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
10260 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
10261 | } | |
10262 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
10263 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
10264 | } | |
10265 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
10266 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
10267 | } | |
10268 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
10269 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10270 | } | |
10271 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
10272 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10273 | } | |
10274 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
10275 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10276 | } | |
10277 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
10278 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
10279 | } | |
10280 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
10281 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
10282 | } | |
10283 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
10284 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
10285 | } | |
10286 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
10287 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
10288 | } | |
10289 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
10290 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10291 | } | |
10292 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
10293 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10294 | } | |
10295 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
10296 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10297 | } | |
10298 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
10299 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10300 | } | |
10301 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
10302 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
10303 | } | |
10304 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
10305 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
10306 | } | |
10307 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
10308 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
10309 | } | |
10310 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
10311 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
10312 | } | |
10313 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
10314 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10315 | } | |
10316 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10317 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10318 | } | |
10319 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10320 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10321 | } | |
10322 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
10323 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10324 | } | |
10325 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
10326 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10327 | } | |
10328 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
10329 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10330 | } | |
10331 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
10332 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10333 | } | |
10334 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
10335 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
10336 | } | |
10337 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
10338 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
10339 | } | |
10340 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10341 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10342 | } | |
10343 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
10344 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10345 | } | |
10346 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
10347 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10348 | } | |
10349 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
10350 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
10351 | } | |
10352 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
10353 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10354 | } | |
10355 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
10356 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
10357 | } | |
10358 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10359 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
10360 | } | |
10361 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
10362 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
10363 | } | |
10364 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
10365 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
10366 | } | |
10367 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10368 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10369 | } | |
10370 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
10371 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
10372 | } | |
10373 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
10374 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
10375 | } | |
10376 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
10377 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10378 | } | |
10379 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
10380 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
10381 | } | |
10382 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10383 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10384 | } | |
10385 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10386 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10387 | } | |
10388 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
10389 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10390 | } | |
10391 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
10392 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
10393 | } | |
10394 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
10395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10396 | } | |
10397 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
10398 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
10399 | } | |
10400 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
10401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10402 | } | |
10403 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
10404 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10405 | } | |
10406 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
10407 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10408 | } | |
10409 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
10410 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10411 | } | |
10412 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10413 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10414 | } | |
10415 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10416 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10417 | } | |
10418 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
10419 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
10420 | } | |
10421 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
10422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10423 | } | |
10424 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
10425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10426 | } | |
10427 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
10428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10429 | } | |
10430 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
10431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10432 | } | |
10433 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
10434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10435 | } | |
10436 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
10437 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10438 | } | |
10439 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
10440 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10441 | } | |
10442 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
10443 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10444 | } | |
10445 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
10446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10447 | } | |
10448 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
10449 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10450 | } | |
10451 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
10452 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
10453 | } | |
10454 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
10455 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
10456 | } | |
10457 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
10458 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
10459 | } | |
10460 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
10461 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10462 | } | |
10463 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
10464 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
10465 | } | |
10466 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
10467 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10468 | } | |
10469 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
10470 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
10471 | } | |
10472 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
10473 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
10474 | } | |
10475 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
10476 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10477 | } | |
10478 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
10479 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10480 | } | |
10481 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
10482 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10483 | } | |
10484 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
10485 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10486 | } | |
10487 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
10488 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
10489 | } | |
10490 | static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}}; | |
10491 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
10492 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; | |
10493 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
10494 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}}; | |
10495 | static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}}; | |
10496 | static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}}; | |
10497 | static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}}; | |
10498 | static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}}; | |
10499 | static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}}; | |
10500 | static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}}; | |
10501 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; | |
10502 | static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}}; | |
10503 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
10504 | static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}}; | |
10505 | static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}}; | |
10506 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxScrolledWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; | |
10507 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}}; | |
10508 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}}; | |
10509 | static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}}; | |
10510 | static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}}; | |
10511 | static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}}; | |
10512 | static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}}; | |
10513 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; | |
10514 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
10515 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}}; | |
10516 | static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}}; | |
10517 | static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}}; | |
10518 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}}; | |
10519 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
10520 | static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}}; | |
10521 | static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; | |
10522 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}}; | |
10523 | static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}}; | |
10524 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}}; | |
10525 | static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}}; | |
10526 | static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}}; | |
10527 | static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}}; | |
10528 | static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}}; | |
10529 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
10530 | static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}}; | |
10531 | static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}}; | |
10532 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}}; | |
10533 | static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}}; | |
10534 | static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}}; | |
10535 | static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0},{"_p_wxHtmlCell"},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell},{0}}; | |
10536 | static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}}; | |
10537 | static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}}; | |
10538 | static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}}; | |
10539 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
10540 | static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}}; | |
10541 | ||
10542 | static swig_type_info *swig_types_initial[] = { | |
10543 | _swigt__p_wxHtmlDCRenderer, | |
10544 | _swigt__p_wxColour, | |
10545 | _swigt__p_wxPageSetupDialogData, | |
10546 | _swigt__p_wxDC, | |
10547 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
10548 | _swigt__p_wxHtmlRenderingStyle, | |
10549 | _swigt__p_wxMouseEvent, | |
10550 | _swigt__p_wxHtmlWordCell, | |
10551 | _swigt__p_wxHtmlHelpData, | |
10552 | _swigt__p_wxHtmlWinParser, | |
10553 | _swigt__p_wxHtmlParser, | |
10554 | _swigt__p_wxPanel, | |
10555 | _swigt__p_wxHtmlFontCell, | |
10556 | _swigt__p_wxFont, | |
10557 | _swigt__p_wxHtmlColourCell, | |
10558 | _swigt__p_wxPyHtmlWindow, | |
10559 | _swigt__p_wxScrolledWindow, | |
10560 | _swigt__p_wxWindow, | |
10561 | _swigt__p_wxTopLevelWindow, | |
10562 | _swigt__p_wxHtmlEasyPrinting, | |
10563 | _swigt__p_wxHtmlSelection, | |
10564 | _swigt__p_wxHtmlRenderingInfo, | |
10565 | _swigt__p_wxHtmlWidgetCell, | |
10566 | _swigt__p_wxObject, | |
10567 | _swigt__p_wxString, | |
10568 | _swigt__p_wxPyHtmlWinTagHandler, | |
10569 | _swigt__p_wxHtmlTagHandler, | |
10570 | _swigt__p_wxPyHtmlTagHandler, | |
10571 | _swigt__p_wxEvtHandler, | |
10572 | _swigt__p_wxPoint, | |
10573 | _swigt__p_wxHtmlHelpController, | |
10574 | _swigt__p_wxCursor, | |
10575 | _swigt__p_wxFileSystem, | |
10576 | _swigt__p_wxHtmlBookRecArray, | |
10577 | _swigt__p_wxPyPrintout, | |
10578 | _swigt__p_wxHtmlPrintout, | |
10579 | _swigt__p_wxHtmlSearchStatus, | |
10580 | _swigt__p_wxHtmlContentsItem, | |
10581 | _swigt__p_wxConfigBase, | |
10582 | _swigt__p_wxPrintData, | |
10583 | _swigt__p_wxHtmlHelpFrame, | |
10584 | _swigt__p_wxHtmlRenderingState, | |
10585 | _swigt__p_wxFrame, | |
10586 | _swigt__p_wxPyHtmlFilter, | |
10587 | _swigt__p_wxHtmlFilter, | |
10588 | _swigt__p_wxHtmlCell, | |
10589 | _swigt__p_wxHtmlContainerCell, | |
10590 | _swigt__p_wxHtmlTag, | |
10591 | _swigt__p_wxHtmlLinkInfo, | |
10592 | _swigt__p_int, | |
10593 | _swigt__p_wxHtmlBookRecord, | |
10594 | 0 | |
10595 | }; | |
10596 | ||
10597 | ||
10598 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
10599 | ||
10600 | static swig_const_info swig_const_table[] = { | |
10601 | { SWIG_PY_INT, (char *)"HTML_ALIGN_LEFT", (long) wxHTML_ALIGN_LEFT, 0, 0, 0}, | |
10602 | { SWIG_PY_INT, (char *)"HTML_ALIGN_CENTER", (long) wxHTML_ALIGN_CENTER, 0, 0, 0}, | |
10603 | { SWIG_PY_INT, (char *)"HTML_ALIGN_RIGHT", (long) wxHTML_ALIGN_RIGHT, 0, 0, 0}, | |
10604 | { SWIG_PY_INT, (char *)"HTML_ALIGN_BOTTOM", (long) wxHTML_ALIGN_BOTTOM, 0, 0, 0}, | |
10605 | { SWIG_PY_INT, (char *)"HTML_ALIGN_TOP", (long) wxHTML_ALIGN_TOP, 0, 0, 0}, | |
10606 | { SWIG_PY_INT, (char *)"HTML_CLR_FOREGROUND", (long) wxHTML_CLR_FOREGROUND, 0, 0, 0}, | |
10607 | { SWIG_PY_INT, (char *)"HTML_CLR_BACKGROUND", (long) wxHTML_CLR_BACKGROUND, 0, 0, 0}, | |
10608 | { SWIG_PY_INT, (char *)"HTML_UNITS_PIXELS", (long) wxHTML_UNITS_PIXELS, 0, 0, 0}, | |
10609 | { SWIG_PY_INT, (char *)"HTML_UNITS_PERCENT", (long) wxHTML_UNITS_PERCENT, 0, 0, 0}, | |
10610 | { SWIG_PY_INT, (char *)"HTML_INDENT_LEFT", (long) wxHTML_INDENT_LEFT, 0, 0, 0}, | |
10611 | { SWIG_PY_INT, (char *)"HTML_INDENT_RIGHT", (long) wxHTML_INDENT_RIGHT, 0, 0, 0}, | |
10612 | { SWIG_PY_INT, (char *)"HTML_INDENT_TOP", (long) wxHTML_INDENT_TOP, 0, 0, 0}, | |
10613 | { SWIG_PY_INT, (char *)"HTML_INDENT_BOTTOM", (long) wxHTML_INDENT_BOTTOM, 0, 0, 0}, | |
10614 | { SWIG_PY_INT, (char *)"HTML_INDENT_HORIZONTAL", (long) wxHTML_INDENT_HORIZONTAL, 0, 0, 0}, | |
10615 | { SWIG_PY_INT, (char *)"HTML_INDENT_VERTICAL", (long) wxHTML_INDENT_VERTICAL, 0, 0, 0}, | |
10616 | { SWIG_PY_INT, (char *)"HTML_INDENT_ALL", (long) wxHTML_INDENT_ALL, 0, 0, 0}, | |
10617 | { SWIG_PY_INT, (char *)"HTML_COND_ISANCHOR", (long) wxHTML_COND_ISANCHOR, 0, 0, 0}, | |
10618 | { SWIG_PY_INT, (char *)"HTML_COND_ISIMAGEMAP", (long) wxHTML_COND_ISIMAGEMAP, 0, 0, 0}, | |
10619 | { SWIG_PY_INT, (char *)"HTML_COND_USER", (long) wxHTML_COND_USER, 0, 0, 0}, | |
10620 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_NEVER", (long) wxHW_SCROLLBAR_NEVER, 0, 0, 0}, | |
10621 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_AUTO", (long) wxHW_SCROLLBAR_AUTO, 0, 0, 0}, | |
10622 | { SWIG_PY_INT, (char *)"HW_NO_SELECTION", (long) wxHW_NO_SELECTION, 0, 0, 0}, | |
10623 | { SWIG_PY_INT, (char *)"HW_DEFAULT_STYLE", (long) wxHW_DEFAULT_STYLE, 0, 0, 0}, | |
10624 | { SWIG_PY_INT, (char *)"HTML_OPEN", (long) wxHTML_OPEN, 0, 0, 0}, | |
10625 | { SWIG_PY_INT, (char *)"HTML_BLOCK", (long) wxHTML_BLOCK, 0, 0, 0}, | |
10626 | { SWIG_PY_INT, (char *)"HTML_REDIRECT", (long) wxHTML_REDIRECT, 0, 0, 0}, | |
10627 | { SWIG_PY_INT, (char *)"HTML_URL_PAGE", (long) wxHTML_URL_PAGE, 0, 0, 0}, | |
10628 | { SWIG_PY_INT, (char *)"HTML_URL_IMAGE", (long) wxHTML_URL_IMAGE, 0, 0, 0}, | |
10629 | { SWIG_PY_INT, (char *)"HTML_URL_OTHER", (long) wxHTML_URL_OTHER, 0, 0, 0}, | |
10630 | { SWIG_PY_INT, (char *)"HTML_SEL_OUT", (long) wxHTML_SEL_OUT, 0, 0, 0}, | |
10631 | { SWIG_PY_INT, (char *)"HTML_SEL_IN", (long) wxHTML_SEL_IN, 0, 0, 0}, | |
10632 | { SWIG_PY_INT, (char *)"HTML_SEL_CHANGING", (long) wxHTML_SEL_CHANGING, 0, 0, 0}, | |
10633 | { SWIG_PY_INT, (char *)"HTML_FIND_EXACT", (long) wxHTML_FIND_EXACT, 0, 0, 0}, | |
10634 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_BEFORE", (long) wxHTML_FIND_NEAREST_BEFORE, 0, 0, 0}, | |
10635 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_AFTER", (long) wxHTML_FIND_NEAREST_AFTER, 0, 0, 0}, | |
10636 | { SWIG_PY_INT, (char *)"PAGE_ODD", (long) wxPAGE_ODD, 0, 0, 0}, | |
10637 | { SWIG_PY_INT, (char *)"PAGE_EVEN", (long) wxPAGE_EVEN, 0, 0, 0}, | |
10638 | { SWIG_PY_INT, (char *)"PAGE_ALL", (long) wxPAGE_ALL, 0, 0, 0}, | |
10639 | { SWIG_PY_INT, (char *)"HF_TOOLBAR", (long) wxHF_TOOLBAR, 0, 0, 0}, | |
10640 | { SWIG_PY_INT, (char *)"HF_FLATTOOLBAR", (long) wxHF_FLATTOOLBAR, 0, 0, 0}, | |
10641 | { SWIG_PY_INT, (char *)"HF_CONTENTS", (long) wxHF_CONTENTS, 0, 0, 0}, | |
10642 | { SWIG_PY_INT, (char *)"HF_INDEX", (long) wxHF_INDEX, 0, 0, 0}, | |
10643 | { SWIG_PY_INT, (char *)"HF_SEARCH", (long) wxHF_SEARCH, 0, 0, 0}, | |
10644 | { SWIG_PY_INT, (char *)"HF_BOOKMARKS", (long) wxHF_BOOKMARKS, 0, 0, 0}, | |
10645 | { SWIG_PY_INT, (char *)"HF_OPENFILES", (long) wxHF_OPENFILES, 0, 0, 0}, | |
10646 | { SWIG_PY_INT, (char *)"HF_PRINT", (long) wxHF_PRINT, 0, 0, 0}, | |
10647 | { SWIG_PY_INT, (char *)"HF_DEFAULTSTYLE", (long) wxHF_DEFAULTSTYLE, 0, 0, 0}, | |
10648 | {0}}; | |
10649 | ||
10650 | #ifdef __cplusplus | |
10651 | } | |
10652 | #endif | |
10653 | ||
10654 | #ifdef __cplusplus | |
10655 | extern "C" | |
10656 | #endif | |
10657 | SWIGEXPORT(void) SWIG_init(void) { | |
10658 | static PyObject *SWIG_globals = 0; | |
10659 | static int typeinit = 0; | |
10660 | PyObject *m, *d; | |
10661 | int i; | |
10662 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
10663 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
10664 | d = PyModule_GetDict(m); | |
10665 | ||
10666 | if (!typeinit) { | |
10667 | for (i = 0; swig_types_initial[i]; i++) { | |
10668 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
10669 | } | |
10670 | typeinit = 1; | |
10671 | } | |
10672 | SWIG_InstallConstants(d,swig_const_table); | |
10673 | ||
10674 | ||
10675 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
10676 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
10677 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
10678 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
10679 | ||
10680 | } | |
10681 |