]>
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 | ||
e811c8ce | 444 | // returns True if this filter is able to open&read given file |
d14a1e28 | 445 | virtual bool CanRead(const wxFSFile& file) const { |
e811c8ce | 446 | bool rval = False; |
d14a1e28 RD |
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; | |
e811c8ce RD |
617 | bool temp1 = False ; |
618 | bool temp2 = False ; | |
d14a1e28 RD |
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; | |
e811c8ce | 629 | temp1 = True; |
d14a1e28 RD |
630 | } |
631 | if (obj1) { | |
632 | { | |
633 | arg2 = wxString_in_helper(obj1); | |
634 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 635 | temp2 = True; |
d14a1e28 RD |
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; | |
e811c8ce | 879 | bool temp2 = False ; |
d14a1e28 RD |
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; | |
e811c8ce | 891 | temp2 = True; |
d14a1e28 RD |
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 ; | |
e811c8ce | 919 | int arg3 = (int) False ; |
d14a1e28 | 920 | wxString result; |
e811c8ce | 921 | bool temp2 = False ; |
d14a1e28 RD |
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; | |
e811c8ce | 933 | temp2 = True; |
d14a1e28 RD |
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; | |
e811c8ce | 1160 | bool temp2 = False ; |
d14a1e28 RD |
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; | |
e811c8ce | 1172 | temp2 = True; |
d14a1e28 RD |
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 ; | |
e811c8ce | 1202 | bool temp2 = False ; |
d14a1e28 RD |
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; | |
e811c8ce | 1214 | temp2 = True; |
d14a1e28 RD |
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 ; | |
d14a1e28 RD |
1375 | PyObject * obj0 = 0 ; |
1376 | PyObject * obj1 = 0 ; | |
1377 | PyObject * obj2 = 0 ; | |
1378 | char *kwnames[] = { | |
1379 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1380 | }; | |
1381 | ||
1382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1383 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1384 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
1385 | { |
1386 | wxString* sptr = wxString_in_helper(obj2); | |
1387 | if (sptr == NULL) SWIG_fail; | |
1388 | arg3 = *sptr; | |
1389 | delete sptr; | |
1390 | } | |
d14a1e28 RD |
1391 | { |
1392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1393 | (arg1)->PushTagHandler(arg2,arg3); | |
1394 | ||
1395 | wxPyEndAllowThreads(__tstate); | |
1396 | if (PyErr_Occurred()) SWIG_fail; | |
1397 | } | |
1398 | Py_INCREF(Py_None); resultobj = Py_None; | |
1399 | return resultobj; | |
1400 | fail: | |
1401 | return NULL; | |
1402 | } | |
1403 | ||
1404 | ||
1405 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1406 | PyObject *resultobj; | |
1407 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1408 | PyObject * obj0 = 0 ; | |
1409 | char *kwnames[] = { | |
1410 | (char *) "self", NULL | |
1411 | }; | |
1412 | ||
1413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1414 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1415 | { | |
1416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1417 | (arg1)->PopTagHandler(); | |
1418 | ||
1419 | wxPyEndAllowThreads(__tstate); | |
1420 | if (PyErr_Occurred()) SWIG_fail; | |
1421 | } | |
1422 | Py_INCREF(Py_None); resultobj = Py_None; | |
1423 | return resultobj; | |
1424 | fail: | |
1425 | return NULL; | |
1426 | } | |
1427 | ||
1428 | ||
1429 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1430 | PyObject *obj; | |
1431 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1432 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1433 | Py_INCREF(obj); | |
1434 | return Py_BuildValue((char *)""); | |
1435 | } | |
1436 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1437 | PyObject *resultobj; | |
1438 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1439 | wxHtmlWinParser *result; | |
1440 | PyObject * obj0 = 0 ; | |
1441 | char *kwnames[] = { | |
1442 | (char *) "wnd", NULL | |
1443 | }; | |
1444 | ||
1445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1446 | if (obj0) { | |
1447 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1448 | } | |
1449 | { | |
1450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1451 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1452 | ||
1453 | wxPyEndAllowThreads(__tstate); | |
1454 | if (PyErr_Occurred()) SWIG_fail; | |
1455 | } | |
1456 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1); | |
1457 | return resultobj; | |
1458 | fail: | |
1459 | return NULL; | |
1460 | } | |
1461 | ||
1462 | ||
1463 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1464 | PyObject *resultobj; | |
1465 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1466 | wxDC *arg2 = (wxDC *) 0 ; | |
1467 | PyObject * obj0 = 0 ; | |
1468 | PyObject * obj1 = 0 ; | |
1469 | char *kwnames[] = { | |
1470 | (char *) "self",(char *) "dc", NULL | |
1471 | }; | |
1472 | ||
1473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1474 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1475 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1476 | { | |
1477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1478 | (arg1)->SetDC(arg2); | |
1479 | ||
1480 | wxPyEndAllowThreads(__tstate); | |
1481 | if (PyErr_Occurred()) SWIG_fail; | |
1482 | } | |
1483 | Py_INCREF(Py_None); resultobj = Py_None; | |
1484 | return resultobj; | |
1485 | fail: | |
1486 | return NULL; | |
1487 | } | |
1488 | ||
1489 | ||
1490 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1491 | PyObject *resultobj; | |
1492 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1493 | wxDC *result; | |
1494 | PyObject * obj0 = 0 ; | |
1495 | char *kwnames[] = { | |
1496 | (char *) "self", NULL | |
1497 | }; | |
1498 | ||
1499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1500 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1501 | { | |
1502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1503 | result = (wxDC *)(arg1)->GetDC(); | |
1504 | ||
1505 | wxPyEndAllowThreads(__tstate); | |
1506 | if (PyErr_Occurred()) SWIG_fail; | |
1507 | } | |
1508 | { | |
1509 | resultobj = wxPyMake_wxObject(result); | |
1510 | } | |
1511 | return resultobj; | |
1512 | fail: | |
1513 | return NULL; | |
1514 | } | |
1515 | ||
1516 | ||
1517 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1518 | PyObject *resultobj; | |
1519 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1520 | int result; | |
1521 | PyObject * obj0 = 0 ; | |
1522 | char *kwnames[] = { | |
1523 | (char *) "self", NULL | |
1524 | }; | |
1525 | ||
1526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1527 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1528 | { | |
1529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1530 | result = (int)(arg1)->GetCharHeight(); | |
1531 | ||
1532 | wxPyEndAllowThreads(__tstate); | |
1533 | if (PyErr_Occurred()) SWIG_fail; | |
1534 | } | |
1535 | resultobj = PyInt_FromLong((long)result); | |
1536 | return resultobj; | |
1537 | fail: | |
1538 | return NULL; | |
1539 | } | |
1540 | ||
1541 | ||
1542 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1543 | PyObject *resultobj; | |
1544 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1545 | int result; | |
1546 | PyObject * obj0 = 0 ; | |
1547 | char *kwnames[] = { | |
1548 | (char *) "self", NULL | |
1549 | }; | |
1550 | ||
1551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1552 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1553 | { | |
1554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1555 | result = (int)(arg1)->GetCharWidth(); | |
1556 | ||
1557 | wxPyEndAllowThreads(__tstate); | |
1558 | if (PyErr_Occurred()) SWIG_fail; | |
1559 | } | |
1560 | resultobj = PyInt_FromLong((long)result); | |
1561 | return resultobj; | |
1562 | fail: | |
1563 | return NULL; | |
1564 | } | |
1565 | ||
1566 | ||
1567 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1568 | PyObject *resultobj; | |
1569 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1570 | wxPyHtmlWindow *result; | |
1571 | PyObject * obj0 = 0 ; | |
1572 | char *kwnames[] = { | |
1573 | (char *) "self", NULL | |
1574 | }; | |
1575 | ||
1576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1577 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1578 | { | |
1579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1580 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1581 | ||
1582 | wxPyEndAllowThreads(__tstate); | |
1583 | if (PyErr_Occurred()) SWIG_fail; | |
1584 | } | |
1585 | { | |
1586 | resultobj = wxPyMake_wxObject(result); | |
1587 | } | |
1588 | return resultobj; | |
1589 | fail: | |
1590 | return NULL; | |
1591 | } | |
1592 | ||
1593 | ||
1594 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1595 | PyObject *resultobj; | |
1596 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1597 | wxString arg2 ; | |
1598 | wxString arg3 ; | |
1599 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
1600 | PyObject * obj0 = 0 ; |
1601 | PyObject * obj1 = 0 ; | |
1602 | PyObject * obj2 = 0 ; | |
1603 | PyObject * obj3 = 0 ; | |
1604 | char *kwnames[] = { | |
1605 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1606 | }; | |
1607 | ||
1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1609 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
1610 | { |
1611 | wxString* sptr = wxString_in_helper(obj1); | |
1612 | if (sptr == NULL) SWIG_fail; | |
1613 | arg2 = *sptr; | |
1614 | delete sptr; | |
1615 | } | |
1616 | { | |
1617 | wxString* sptr = wxString_in_helper(obj2); | |
1618 | if (sptr == NULL) SWIG_fail; | |
1619 | arg3 = *sptr; | |
1620 | delete sptr; | |
1621 | } | |
d14a1e28 RD |
1622 | if (obj3) { |
1623 | arg4 = obj3; | |
1624 | } | |
1625 | { | |
1626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1627 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1628 | ||
1629 | wxPyEndAllowThreads(__tstate); | |
1630 | if (PyErr_Occurred()) SWIG_fail; | |
1631 | } | |
1632 | Py_INCREF(Py_None); resultobj = Py_None; | |
1633 | return resultobj; | |
1634 | fail: | |
1635 | return NULL; | |
1636 | } | |
1637 | ||
1638 | ||
1639 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1640 | PyObject *resultobj; | |
1641 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1642 | wxHtmlContainerCell *result; | |
1643 | PyObject * obj0 = 0 ; | |
1644 | char *kwnames[] = { | |
1645 | (char *) "self", NULL | |
1646 | }; | |
1647 | ||
1648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
1649 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1650 | { | |
1651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1652 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
1653 | ||
1654 | wxPyEndAllowThreads(__tstate); | |
1655 | if (PyErr_Occurred()) SWIG_fail; | |
1656 | } | |
1657 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1658 | return resultobj; | |
1659 | fail: | |
1660 | return NULL; | |
1661 | } | |
1662 | ||
1663 | ||
1664 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1665 | PyObject *resultobj; | |
1666 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1667 | wxHtmlContainerCell *result; | |
1668 | PyObject * obj0 = 0 ; | |
1669 | char *kwnames[] = { | |
1670 | (char *) "self", NULL | |
1671 | }; | |
1672 | ||
1673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
1674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1675 | { | |
1676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1677 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
1678 | ||
1679 | wxPyEndAllowThreads(__tstate); | |
1680 | if (PyErr_Occurred()) SWIG_fail; | |
1681 | } | |
1682 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1683 | return resultobj; | |
1684 | fail: | |
1685 | return NULL; | |
1686 | } | |
1687 | ||
1688 | ||
1689 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1690 | PyObject *resultobj; | |
1691 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1692 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
1693 | wxHtmlContainerCell *result; | |
1694 | PyObject * obj0 = 0 ; | |
1695 | PyObject * obj1 = 0 ; | |
1696 | char *kwnames[] = { | |
1697 | (char *) "self",(char *) "c", NULL | |
1698 | }; | |
1699 | ||
1700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
1701 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1702 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1703 | { | |
1704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1705 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
1706 | ||
1707 | wxPyEndAllowThreads(__tstate); | |
1708 | if (PyErr_Occurred()) SWIG_fail; | |
1709 | } | |
1710 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1711 | return resultobj; | |
1712 | fail: | |
1713 | return NULL; | |
1714 | } | |
1715 | ||
1716 | ||
1717 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1718 | PyObject *resultobj; | |
1719 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1720 | wxHtmlContainerCell *result; | |
1721 | PyObject * obj0 = 0 ; | |
1722 | char *kwnames[] = { | |
1723 | (char *) "self", NULL | |
1724 | }; | |
1725 | ||
1726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
1727 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1728 | { | |
1729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1730 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
1731 | ||
1732 | wxPyEndAllowThreads(__tstate); | |
1733 | if (PyErr_Occurred()) SWIG_fail; | |
1734 | } | |
1735 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1736 | return resultobj; | |
1737 | fail: | |
1738 | return NULL; | |
1739 | } | |
1740 | ||
1741 | ||
1742 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1743 | PyObject *resultobj; | |
1744 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1745 | int result; | |
1746 | PyObject * obj0 = 0 ; | |
1747 | char *kwnames[] = { | |
1748 | (char *) "self", NULL | |
1749 | }; | |
1750 | ||
1751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
1752 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1753 | { | |
1754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1755 | result = (int)(arg1)->GetFontSize(); | |
1756 | ||
1757 | wxPyEndAllowThreads(__tstate); | |
1758 | if (PyErr_Occurred()) SWIG_fail; | |
1759 | } | |
1760 | resultobj = PyInt_FromLong((long)result); | |
1761 | return resultobj; | |
1762 | fail: | |
1763 | return NULL; | |
1764 | } | |
1765 | ||
1766 | ||
1767 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1768 | PyObject *resultobj; | |
1769 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1770 | int arg2 ; | |
1771 | PyObject * obj0 = 0 ; | |
1772 | char *kwnames[] = { | |
1773 | (char *) "self",(char *) "s", NULL | |
1774 | }; | |
1775 | ||
1776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames,&obj0,&arg2)) goto fail; | |
1777 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1778 | { | |
1779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1780 | (arg1)->SetFontSize(arg2); | |
1781 | ||
1782 | wxPyEndAllowThreads(__tstate); | |
1783 | if (PyErr_Occurred()) SWIG_fail; | |
1784 | } | |
1785 | Py_INCREF(Py_None); resultobj = Py_None; | |
1786 | return resultobj; | |
1787 | fail: | |
1788 | return NULL; | |
1789 | } | |
1790 | ||
1791 | ||
1792 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1793 | PyObject *resultobj; | |
1794 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1795 | int result; | |
1796 | PyObject * obj0 = 0 ; | |
1797 | char *kwnames[] = { | |
1798 | (char *) "self", NULL | |
1799 | }; | |
1800 | ||
1801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
1802 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1803 | { | |
1804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1805 | result = (int)(arg1)->GetFontBold(); | |
1806 | ||
1807 | wxPyEndAllowThreads(__tstate); | |
1808 | if (PyErr_Occurred()) SWIG_fail; | |
1809 | } | |
1810 | resultobj = PyInt_FromLong((long)result); | |
1811 | return resultobj; | |
1812 | fail: | |
1813 | return NULL; | |
1814 | } | |
1815 | ||
1816 | ||
1817 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1818 | PyObject *resultobj; | |
1819 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1820 | int arg2 ; | |
1821 | PyObject * obj0 = 0 ; | |
1822 | char *kwnames[] = { | |
1823 | (char *) "self",(char *) "x", NULL | |
1824 | }; | |
1825 | ||
1826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames,&obj0,&arg2)) goto fail; | |
1827 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1828 | { | |
1829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1830 | (arg1)->SetFontBold(arg2); | |
1831 | ||
1832 | wxPyEndAllowThreads(__tstate); | |
1833 | if (PyErr_Occurred()) SWIG_fail; | |
1834 | } | |
1835 | Py_INCREF(Py_None); resultobj = Py_None; | |
1836 | return resultobj; | |
1837 | fail: | |
1838 | return NULL; | |
1839 | } | |
1840 | ||
1841 | ||
1842 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1843 | PyObject *resultobj; | |
1844 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1845 | int result; | |
1846 | PyObject * obj0 = 0 ; | |
1847 | char *kwnames[] = { | |
1848 | (char *) "self", NULL | |
1849 | }; | |
1850 | ||
1851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
1852 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1853 | { | |
1854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1855 | result = (int)(arg1)->GetFontItalic(); | |
1856 | ||
1857 | wxPyEndAllowThreads(__tstate); | |
1858 | if (PyErr_Occurred()) SWIG_fail; | |
1859 | } | |
1860 | resultobj = PyInt_FromLong((long)result); | |
1861 | return resultobj; | |
1862 | fail: | |
1863 | return NULL; | |
1864 | } | |
1865 | ||
1866 | ||
1867 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1868 | PyObject *resultobj; | |
1869 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1870 | int arg2 ; | |
1871 | PyObject * obj0 = 0 ; | |
1872 | char *kwnames[] = { | |
1873 | (char *) "self",(char *) "x", NULL | |
1874 | }; | |
1875 | ||
1876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames,&obj0,&arg2)) goto fail; | |
1877 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1878 | { | |
1879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1880 | (arg1)->SetFontItalic(arg2); | |
1881 | ||
1882 | wxPyEndAllowThreads(__tstate); | |
1883 | if (PyErr_Occurred()) SWIG_fail; | |
1884 | } | |
1885 | Py_INCREF(Py_None); resultobj = Py_None; | |
1886 | return resultobj; | |
1887 | fail: | |
1888 | return NULL; | |
1889 | } | |
1890 | ||
1891 | ||
1892 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1893 | PyObject *resultobj; | |
1894 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1895 | int result; | |
1896 | PyObject * obj0 = 0 ; | |
1897 | char *kwnames[] = { | |
1898 | (char *) "self", NULL | |
1899 | }; | |
1900 | ||
1901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
1902 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1903 | { | |
1904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1905 | result = (int)(arg1)->GetFontUnderlined(); | |
1906 | ||
1907 | wxPyEndAllowThreads(__tstate); | |
1908 | if (PyErr_Occurred()) SWIG_fail; | |
1909 | } | |
1910 | resultobj = PyInt_FromLong((long)result); | |
1911 | return resultobj; | |
1912 | fail: | |
1913 | return NULL; | |
1914 | } | |
1915 | ||
1916 | ||
1917 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1918 | PyObject *resultobj; | |
1919 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1920 | int arg2 ; | |
1921 | PyObject * obj0 = 0 ; | |
1922 | char *kwnames[] = { | |
1923 | (char *) "self",(char *) "x", NULL | |
1924 | }; | |
1925 | ||
1926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&arg2)) goto fail; | |
1927 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1928 | { | |
1929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1930 | (arg1)->SetFontUnderlined(arg2); | |
1931 | ||
1932 | wxPyEndAllowThreads(__tstate); | |
1933 | if (PyErr_Occurred()) SWIG_fail; | |
1934 | } | |
1935 | Py_INCREF(Py_None); resultobj = Py_None; | |
1936 | return resultobj; | |
1937 | fail: | |
1938 | return NULL; | |
1939 | } | |
1940 | ||
1941 | ||
1942 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1943 | PyObject *resultobj; | |
1944 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1945 | int result; | |
1946 | PyObject * obj0 = 0 ; | |
1947 | char *kwnames[] = { | |
1948 | (char *) "self", NULL | |
1949 | }; | |
1950 | ||
1951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
1952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1953 | { | |
1954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1955 | result = (int)(arg1)->GetFontFixed(); | |
1956 | ||
1957 | wxPyEndAllowThreads(__tstate); | |
1958 | if (PyErr_Occurred()) SWIG_fail; | |
1959 | } | |
1960 | resultobj = PyInt_FromLong((long)result); | |
1961 | return resultobj; | |
1962 | fail: | |
1963 | return NULL; | |
1964 | } | |
1965 | ||
1966 | ||
1967 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1968 | PyObject *resultobj; | |
1969 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1970 | int arg2 ; | |
1971 | PyObject * obj0 = 0 ; | |
1972 | char *kwnames[] = { | |
1973 | (char *) "self",(char *) "x", NULL | |
1974 | }; | |
1975 | ||
1976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames,&obj0,&arg2)) goto fail; | |
1977 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1978 | { | |
1979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1980 | (arg1)->SetFontFixed(arg2); | |
1981 | ||
1982 | wxPyEndAllowThreads(__tstate); | |
1983 | if (PyErr_Occurred()) SWIG_fail; | |
1984 | } | |
1985 | Py_INCREF(Py_None); resultobj = Py_None; | |
1986 | return resultobj; | |
1987 | fail: | |
1988 | return NULL; | |
1989 | } | |
1990 | ||
1991 | ||
1992 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1993 | PyObject *resultobj; | |
1994 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1995 | int result; | |
1996 | PyObject * obj0 = 0 ; | |
1997 | char *kwnames[] = { | |
1998 | (char *) "self", NULL | |
1999 | }; | |
2000 | ||
2001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2002 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2003 | { | |
2004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2005 | result = (int)(arg1)->GetAlign(); | |
2006 | ||
2007 | wxPyEndAllowThreads(__tstate); | |
2008 | if (PyErr_Occurred()) SWIG_fail; | |
2009 | } | |
2010 | resultobj = PyInt_FromLong((long)result); | |
2011 | return resultobj; | |
2012 | fail: | |
2013 | return NULL; | |
2014 | } | |
2015 | ||
2016 | ||
2017 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2018 | PyObject *resultobj; | |
2019 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2020 | int arg2 ; | |
2021 | PyObject * obj0 = 0 ; | |
2022 | char *kwnames[] = { | |
2023 | (char *) "self",(char *) "a", NULL | |
2024 | }; | |
2025 | ||
2026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetAlign",kwnames,&obj0,&arg2)) goto fail; | |
2027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2028 | { | |
2029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2030 | (arg1)->SetAlign(arg2); | |
2031 | ||
2032 | wxPyEndAllowThreads(__tstate); | |
2033 | if (PyErr_Occurred()) SWIG_fail; | |
2034 | } | |
2035 | Py_INCREF(Py_None); resultobj = Py_None; | |
2036 | return resultobj; | |
2037 | fail: | |
2038 | return NULL; | |
2039 | } | |
2040 | ||
2041 | ||
2042 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2043 | PyObject *resultobj; | |
2044 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2045 | wxColour result; | |
2046 | PyObject * obj0 = 0 ; | |
2047 | char *kwnames[] = { | |
2048 | (char *) "self", NULL | |
2049 | }; | |
2050 | ||
2051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2053 | { | |
2054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2055 | result = (arg1)->GetLinkColor(); | |
2056 | ||
2057 | wxPyEndAllowThreads(__tstate); | |
2058 | if (PyErr_Occurred()) SWIG_fail; | |
2059 | } | |
2060 | { | |
2061 | wxColour * resultptr; | |
2062 | resultptr = new wxColour((wxColour &) result); | |
2063 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2064 | } | |
2065 | return resultobj; | |
2066 | fail: | |
2067 | return NULL; | |
2068 | } | |
2069 | ||
2070 | ||
2071 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2072 | PyObject *resultobj; | |
2073 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2074 | wxColour *arg2 = 0 ; | |
2075 | wxColour temp2 ; | |
2076 | PyObject * obj0 = 0 ; | |
2077 | PyObject * obj1 = 0 ; | |
2078 | char *kwnames[] = { | |
2079 | (char *) "self",(char *) "clr", NULL | |
2080 | }; | |
2081 | ||
2082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2083 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2084 | { | |
2085 | arg2 = &temp2; | |
2086 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2087 | } | |
2088 | { | |
2089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2090 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2091 | ||
2092 | wxPyEndAllowThreads(__tstate); | |
2093 | if (PyErr_Occurred()) SWIG_fail; | |
2094 | } | |
2095 | Py_INCREF(Py_None); resultobj = Py_None; | |
2096 | return resultobj; | |
2097 | fail: | |
2098 | return NULL; | |
2099 | } | |
2100 | ||
2101 | ||
2102 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2103 | PyObject *resultobj; | |
2104 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2105 | wxColour result; | |
2106 | PyObject * obj0 = 0 ; | |
2107 | char *kwnames[] = { | |
2108 | (char *) "self", NULL | |
2109 | }; | |
2110 | ||
2111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2112 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2113 | { | |
2114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2115 | result = (arg1)->GetActualColor(); | |
2116 | ||
2117 | wxPyEndAllowThreads(__tstate); | |
2118 | if (PyErr_Occurred()) SWIG_fail; | |
2119 | } | |
2120 | { | |
2121 | wxColour * resultptr; | |
2122 | resultptr = new wxColour((wxColour &) result); | |
2123 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2124 | } | |
2125 | return resultobj; | |
2126 | fail: | |
2127 | return NULL; | |
2128 | } | |
2129 | ||
2130 | ||
2131 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2132 | PyObject *resultobj; | |
2133 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2134 | wxColour *arg2 = 0 ; | |
2135 | wxColour temp2 ; | |
2136 | PyObject * obj0 = 0 ; | |
2137 | PyObject * obj1 = 0 ; | |
2138 | char *kwnames[] = { | |
2139 | (char *) "self",(char *) "clr", NULL | |
2140 | }; | |
2141 | ||
2142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2143 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2144 | { | |
2145 | arg2 = &temp2; | |
2146 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2147 | } | |
2148 | { | |
2149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2150 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2151 | ||
2152 | wxPyEndAllowThreads(__tstate); | |
2153 | if (PyErr_Occurred()) SWIG_fail; | |
2154 | } | |
2155 | Py_INCREF(Py_None); resultobj = Py_None; | |
2156 | return resultobj; | |
2157 | fail: | |
2158 | return NULL; | |
2159 | } | |
2160 | ||
2161 | ||
2162 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2163 | PyObject *resultobj; | |
2164 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2165 | wxString *arg2 = 0 ; | |
e811c8ce | 2166 | bool temp2 = False ; |
d14a1e28 RD |
2167 | PyObject * obj0 = 0 ; |
2168 | PyObject * obj1 = 0 ; | |
2169 | char *kwnames[] = { | |
2170 | (char *) "self",(char *) "link", NULL | |
2171 | }; | |
2172 | ||
2173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2174 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2175 | { | |
2176 | arg2 = wxString_in_helper(obj1); | |
2177 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2178 | temp2 = True; |
d14a1e28 RD |
2179 | } |
2180 | { | |
2181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2182 | (arg1)->SetLink((wxString const &)*arg2); | |
2183 | ||
2184 | wxPyEndAllowThreads(__tstate); | |
2185 | if (PyErr_Occurred()) SWIG_fail; | |
2186 | } | |
2187 | Py_INCREF(Py_None); resultobj = Py_None; | |
2188 | { | |
2189 | if (temp2) | |
2190 | delete arg2; | |
2191 | } | |
2192 | return resultobj; | |
2193 | fail: | |
2194 | { | |
2195 | if (temp2) | |
2196 | delete arg2; | |
2197 | } | |
2198 | return NULL; | |
2199 | } | |
2200 | ||
2201 | ||
2202 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2203 | PyObject *resultobj; | |
2204 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2205 | wxFont *result; | |
2206 | PyObject * obj0 = 0 ; | |
2207 | char *kwnames[] = { | |
2208 | (char *) "self", NULL | |
2209 | }; | |
2210 | ||
2211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2212 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2213 | { | |
2214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2215 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2216 | ||
2217 | wxPyEndAllowThreads(__tstate); | |
2218 | if (PyErr_Occurred()) SWIG_fail; | |
2219 | } | |
2220 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0); | |
2221 | return resultobj; | |
2222 | fail: | |
2223 | return NULL; | |
2224 | } | |
2225 | ||
2226 | ||
2227 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2228 | PyObject *resultobj; | |
2229 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2230 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2231 | PyObject * obj0 = 0 ; | |
2232 | char *kwnames[] = { | |
2233 | (char *) "self", NULL | |
2234 | }; | |
2235 | ||
2236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2237 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2238 | { | |
2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2240 | result = (arg1)->GetLink(); | |
2241 | ||
2242 | wxPyEndAllowThreads(__tstate); | |
2243 | if (PyErr_Occurred()) SWIG_fail; | |
2244 | } | |
2245 | { | |
2246 | wxHtmlLinkInfo * resultptr; | |
2247 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2248 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2249 | } | |
2250 | return resultobj; | |
2251 | fail: | |
2252 | return NULL; | |
2253 | } | |
2254 | ||
2255 | ||
2256 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2257 | PyObject *obj; | |
2258 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2259 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2260 | Py_INCREF(obj); | |
2261 | return Py_BuildValue((char *)""); | |
2262 | } | |
2263 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2264 | PyObject *resultobj; | |
2265 | wxPyHtmlTagHandler *result; | |
2266 | char *kwnames[] = { | |
2267 | NULL | |
2268 | }; | |
2269 | ||
2270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2271 | { | |
2272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2273 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2274 | ||
2275 | wxPyEndAllowThreads(__tstate); | |
2276 | if (PyErr_Occurred()) SWIG_fail; | |
2277 | } | |
2278 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2279 | return resultobj; | |
2280 | fail: | |
2281 | return NULL; | |
2282 | } | |
2283 | ||
2284 | ||
2285 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2286 | PyObject *resultobj; | |
2287 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2288 | PyObject *arg2 = (PyObject *) 0 ; | |
2289 | PyObject *arg3 = (PyObject *) 0 ; | |
2290 | PyObject * obj0 = 0 ; | |
2291 | PyObject * obj1 = 0 ; | |
2292 | PyObject * obj2 = 0 ; | |
2293 | char *kwnames[] = { | |
2294 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2295 | }; | |
2296 | ||
2297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2298 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2299 | arg2 = obj1; | |
2300 | arg3 = obj2; | |
2301 | { | |
2302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2303 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2304 | ||
2305 | wxPyEndAllowThreads(__tstate); | |
2306 | if (PyErr_Occurred()) SWIG_fail; | |
2307 | } | |
2308 | Py_INCREF(Py_None); resultobj = Py_None; | |
2309 | return resultobj; | |
2310 | fail: | |
2311 | return NULL; | |
2312 | } | |
2313 | ||
2314 | ||
2315 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2316 | PyObject *resultobj; | |
2317 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2318 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2319 | PyObject * obj0 = 0 ; | |
2320 | PyObject * obj1 = 0 ; | |
2321 | char *kwnames[] = { | |
2322 | (char *) "self",(char *) "parser", NULL | |
2323 | }; | |
2324 | ||
2325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2326 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2327 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2328 | { | |
2329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2330 | (arg1)->SetParser(arg2); | |
2331 | ||
2332 | wxPyEndAllowThreads(__tstate); | |
2333 | if (PyErr_Occurred()) SWIG_fail; | |
2334 | } | |
2335 | Py_INCREF(Py_None); resultobj = Py_None; | |
2336 | return resultobj; | |
2337 | fail: | |
2338 | return NULL; | |
2339 | } | |
2340 | ||
2341 | ||
2342 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2343 | PyObject *resultobj; | |
2344 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2345 | wxHtmlParser *result; | |
2346 | PyObject * obj0 = 0 ; | |
2347 | char *kwnames[] = { | |
2348 | (char *) "self", NULL | |
2349 | }; | |
2350 | ||
2351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2352 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2353 | { | |
2354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2355 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2356 | ||
2357 | wxPyEndAllowThreads(__tstate); | |
2358 | if (PyErr_Occurred()) SWIG_fail; | |
2359 | } | |
2360 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0); | |
2361 | return resultobj; | |
2362 | fail: | |
2363 | return NULL; | |
2364 | } | |
2365 | ||
2366 | ||
2367 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2368 | PyObject *resultobj; | |
2369 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2370 | wxHtmlTag *arg2 = 0 ; | |
2371 | PyObject * obj0 = 0 ; | |
2372 | PyObject * obj1 = 0 ; | |
2373 | char *kwnames[] = { | |
2374 | (char *) "self",(char *) "tag", NULL | |
2375 | }; | |
2376 | ||
2377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2378 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2379 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2380 | if (arg2 == NULL) { | |
2381 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2382 | } | |
2383 | { | |
2384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2385 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2386 | ||
2387 | wxPyEndAllowThreads(__tstate); | |
2388 | if (PyErr_Occurred()) SWIG_fail; | |
2389 | } | |
2390 | Py_INCREF(Py_None); resultobj = Py_None; | |
2391 | return resultobj; | |
2392 | fail: | |
2393 | return NULL; | |
2394 | } | |
2395 | ||
2396 | ||
2397 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2398 | PyObject *obj; | |
2399 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2400 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2401 | Py_INCREF(obj); | |
2402 | return Py_BuildValue((char *)""); | |
2403 | } | |
2404 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2405 | PyObject *resultobj; | |
2406 | wxPyHtmlWinTagHandler *result; | |
2407 | char *kwnames[] = { | |
2408 | NULL | |
2409 | }; | |
2410 | ||
2411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2412 | { | |
2413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2414 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2415 | ||
2416 | wxPyEndAllowThreads(__tstate); | |
2417 | if (PyErr_Occurred()) SWIG_fail; | |
2418 | } | |
2419 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2420 | return resultobj; | |
2421 | fail: | |
2422 | return NULL; | |
2423 | } | |
2424 | ||
2425 | ||
2426 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2427 | PyObject *resultobj; | |
2428 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2429 | PyObject *arg2 = (PyObject *) 0 ; | |
2430 | PyObject *arg3 = (PyObject *) 0 ; | |
2431 | PyObject * obj0 = 0 ; | |
2432 | PyObject * obj1 = 0 ; | |
2433 | PyObject * obj2 = 0 ; | |
2434 | char *kwnames[] = { | |
2435 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2436 | }; | |
2437 | ||
2438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2439 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2440 | arg2 = obj1; | |
2441 | arg3 = obj2; | |
2442 | { | |
2443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2444 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2445 | ||
2446 | wxPyEndAllowThreads(__tstate); | |
2447 | if (PyErr_Occurred()) SWIG_fail; | |
2448 | } | |
2449 | Py_INCREF(Py_None); resultobj = Py_None; | |
2450 | return resultobj; | |
2451 | fail: | |
2452 | return NULL; | |
2453 | } | |
2454 | ||
2455 | ||
2456 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2457 | PyObject *resultobj; | |
2458 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2459 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2460 | PyObject * obj0 = 0 ; | |
2461 | PyObject * obj1 = 0 ; | |
2462 | char *kwnames[] = { | |
2463 | (char *) "self",(char *) "parser", NULL | |
2464 | }; | |
2465 | ||
2466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2467 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2468 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2469 | { | |
2470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2471 | (arg1)->SetParser(arg2); | |
2472 | ||
2473 | wxPyEndAllowThreads(__tstate); | |
2474 | if (PyErr_Occurred()) SWIG_fail; | |
2475 | } | |
2476 | Py_INCREF(Py_None); resultobj = Py_None; | |
2477 | return resultobj; | |
2478 | fail: | |
2479 | return NULL; | |
2480 | } | |
2481 | ||
2482 | ||
2483 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2484 | PyObject *resultobj; | |
2485 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2486 | wxHtmlWinParser *result; | |
2487 | PyObject * obj0 = 0 ; | |
2488 | char *kwnames[] = { | |
2489 | (char *) "self", NULL | |
2490 | }; | |
2491 | ||
2492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2493 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2494 | { | |
2495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2496 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2497 | ||
2498 | wxPyEndAllowThreads(__tstate); | |
2499 | if (PyErr_Occurred()) SWIG_fail; | |
2500 | } | |
2501 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
2502 | return resultobj; | |
2503 | fail: | |
2504 | return NULL; | |
2505 | } | |
2506 | ||
2507 | ||
2508 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2509 | PyObject *resultobj; | |
2510 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2511 | wxHtmlTag *arg2 = 0 ; | |
2512 | PyObject * obj0 = 0 ; | |
2513 | PyObject * obj1 = 0 ; | |
2514 | char *kwnames[] = { | |
2515 | (char *) "self",(char *) "tag", NULL | |
2516 | }; | |
2517 | ||
2518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2520 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2521 | if (arg2 == NULL) { | |
2522 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2523 | } | |
2524 | { | |
2525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2526 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2527 | ||
2528 | wxPyEndAllowThreads(__tstate); | |
2529 | if (PyErr_Occurred()) SWIG_fail; | |
2530 | } | |
2531 | Py_INCREF(Py_None); resultobj = Py_None; | |
2532 | return resultobj; | |
2533 | fail: | |
2534 | return NULL; | |
2535 | } | |
2536 | ||
2537 | ||
2538 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2539 | PyObject *obj; | |
2540 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2541 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2542 | Py_INCREF(obj); | |
2543 | return Py_BuildValue((char *)""); | |
2544 | } | |
2545 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2546 | PyObject *resultobj; | |
2547 | PyObject *arg1 = (PyObject *) 0 ; | |
2548 | PyObject * obj0 = 0 ; | |
2549 | char *kwnames[] = { | |
2550 | (char *) "tagHandlerClass", NULL | |
2551 | }; | |
2552 | ||
2553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2554 | arg1 = obj0; | |
2555 | { | |
2556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2557 | wxHtmlWinParser_AddTagHandler(arg1); | |
2558 | ||
2559 | wxPyEndAllowThreads(__tstate); | |
2560 | if (PyErr_Occurred()) SWIG_fail; | |
2561 | } | |
2562 | Py_INCREF(Py_None); resultobj = Py_None; | |
2563 | return resultobj; | |
2564 | fail: | |
2565 | return NULL; | |
2566 | } | |
2567 | ||
2568 | ||
2569 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2570 | PyObject *resultobj; | |
2571 | wxHtmlSelection *result; | |
2572 | char *kwnames[] = { | |
2573 | NULL | |
2574 | }; | |
2575 | ||
2576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2577 | { | |
2578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2579 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
2580 | ||
2581 | wxPyEndAllowThreads(__tstate); | |
2582 | if (PyErr_Occurred()) SWIG_fail; | |
2583 | } | |
2584 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1); | |
2585 | return resultobj; | |
2586 | fail: | |
2587 | return NULL; | |
2588 | } | |
2589 | ||
2590 | ||
2591 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2592 | PyObject *resultobj; | |
2593 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2594 | PyObject * obj0 = 0 ; | |
2595 | char *kwnames[] = { | |
2596 | (char *) "self", NULL | |
2597 | }; | |
2598 | ||
2599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2600 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2601 | { | |
2602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2603 | delete arg1; | |
2604 | ||
2605 | wxPyEndAllowThreads(__tstate); | |
2606 | if (PyErr_Occurred()) SWIG_fail; | |
2607 | } | |
2608 | Py_INCREF(Py_None); resultobj = Py_None; | |
2609 | return resultobj; | |
2610 | fail: | |
2611 | return NULL; | |
2612 | } | |
2613 | ||
2614 | ||
2615 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2616 | PyObject *resultobj; | |
2617 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2618 | wxPoint *arg2 = 0 ; | |
2619 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2620 | wxPoint *arg4 = 0 ; | |
2621 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
2622 | wxPoint temp2 ; | |
2623 | wxPoint temp4 ; | |
2624 | PyObject * obj0 = 0 ; | |
2625 | PyObject * obj1 = 0 ; | |
2626 | PyObject * obj2 = 0 ; | |
2627 | PyObject * obj3 = 0 ; | |
2628 | PyObject * obj4 = 0 ; | |
2629 | char *kwnames[] = { | |
2630 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
2631 | }; | |
2632 | ||
2633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2634 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2635 | { | |
2636 | arg2 = &temp2; | |
2637 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2638 | } | |
2639 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2640 | { | |
2641 | arg4 = &temp4; | |
2642 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2643 | } | |
2644 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2645 | { | |
2646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2647 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
2648 | ||
2649 | wxPyEndAllowThreads(__tstate); | |
2650 | if (PyErr_Occurred()) SWIG_fail; | |
2651 | } | |
2652 | Py_INCREF(Py_None); resultobj = Py_None; | |
2653 | return resultobj; | |
2654 | fail: | |
2655 | return NULL; | |
2656 | } | |
2657 | ||
2658 | ||
2659 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2660 | PyObject *resultobj; | |
2661 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2662 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
2663 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2664 | PyObject * obj0 = 0 ; | |
2665 | PyObject * obj1 = 0 ; | |
2666 | PyObject * obj2 = 0 ; | |
2667 | char *kwnames[] = { | |
2668 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
2669 | }; | |
2670 | ||
2671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2672 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2673 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2674 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2675 | { | |
2676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2677 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
2678 | ||
2679 | wxPyEndAllowThreads(__tstate); | |
2680 | if (PyErr_Occurred()) SWIG_fail; | |
2681 | } | |
2682 | Py_INCREF(Py_None); resultobj = Py_None; | |
2683 | return resultobj; | |
2684 | fail: | |
2685 | return NULL; | |
2686 | } | |
2687 | ||
2688 | ||
2689 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2690 | PyObject *resultobj; | |
2691 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2692 | wxHtmlCell *result; | |
2693 | PyObject * obj0 = 0 ; | |
2694 | char *kwnames[] = { | |
2695 | (char *) "self", NULL | |
2696 | }; | |
2697 | ||
2698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2699 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2700 | { | |
2701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2702 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
2703 | ||
2704 | wxPyEndAllowThreads(__tstate); | |
2705 | if (PyErr_Occurred()) SWIG_fail; | |
2706 | } | |
2707 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2708 | return resultobj; | |
2709 | fail: | |
2710 | return NULL; | |
2711 | } | |
2712 | ||
2713 | ||
2714 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2715 | PyObject *resultobj; | |
2716 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2717 | wxHtmlCell *result; | |
2718 | PyObject * obj0 = 0 ; | |
2719 | char *kwnames[] = { | |
2720 | (char *) "self", NULL | |
2721 | }; | |
2722 | ||
2723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2724 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2725 | { | |
2726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2727 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
2728 | ||
2729 | wxPyEndAllowThreads(__tstate); | |
2730 | if (PyErr_Occurred()) SWIG_fail; | |
2731 | } | |
2732 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2733 | return resultobj; | |
2734 | fail: | |
2735 | return NULL; | |
2736 | } | |
2737 | ||
2738 | ||
2739 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2740 | PyObject *resultobj; | |
2741 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2742 | wxPoint *result; | |
2743 | PyObject * obj0 = 0 ; | |
2744 | char *kwnames[] = { | |
2745 | (char *) "self", NULL | |
2746 | }; | |
2747 | ||
2748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2749 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2750 | { | |
2751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2752 | { | |
2753 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
2754 | result = (wxPoint *) &_result_ref; | |
2755 | } | |
2756 | ||
2757 | wxPyEndAllowThreads(__tstate); | |
2758 | if (PyErr_Occurred()) SWIG_fail; | |
2759 | } | |
2760 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2761 | return resultobj; | |
2762 | fail: | |
2763 | return NULL; | |
2764 | } | |
2765 | ||
2766 | ||
2767 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2768 | PyObject *resultobj; | |
2769 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2770 | wxPoint *result; | |
2771 | PyObject * obj0 = 0 ; | |
2772 | char *kwnames[] = { | |
2773 | (char *) "self", NULL | |
2774 | }; | |
2775 | ||
2776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2777 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2778 | { | |
2779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2780 | { | |
2781 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
2782 | result = (wxPoint *) &_result_ref; | |
2783 | } | |
2784 | ||
2785 | wxPyEndAllowThreads(__tstate); | |
2786 | if (PyErr_Occurred()) SWIG_fail; | |
2787 | } | |
2788 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2789 | return resultobj; | |
2790 | fail: | |
2791 | return NULL; | |
2792 | } | |
2793 | ||
2794 | ||
2795 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2796 | PyObject *resultobj; | |
2797 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2798 | wxPoint *result; | |
2799 | PyObject * obj0 = 0 ; | |
2800 | char *kwnames[] = { | |
2801 | (char *) "self", NULL | |
2802 | }; | |
2803 | ||
2804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2805 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2806 | { | |
2807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2808 | { | |
2809 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
2810 | result = (wxPoint *) &_result_ref; | |
2811 | } | |
2812 | ||
2813 | wxPyEndAllowThreads(__tstate); | |
2814 | if (PyErr_Occurred()) SWIG_fail; | |
2815 | } | |
2816 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2817 | return resultobj; | |
2818 | fail: | |
2819 | return NULL; | |
2820 | } | |
2821 | ||
2822 | ||
2823 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2824 | PyObject *resultobj; | |
2825 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2826 | wxPoint *result; | |
2827 | PyObject * obj0 = 0 ; | |
2828 | char *kwnames[] = { | |
2829 | (char *) "self", NULL | |
2830 | }; | |
2831 | ||
2832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2833 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2834 | { | |
2835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2836 | { | |
2837 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
2838 | result = (wxPoint *) &_result_ref; | |
2839 | } | |
2840 | ||
2841 | wxPyEndAllowThreads(__tstate); | |
2842 | if (PyErr_Occurred()) SWIG_fail; | |
2843 | } | |
2844 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2845 | return resultobj; | |
2846 | fail: | |
2847 | return NULL; | |
2848 | } | |
2849 | ||
2850 | ||
2851 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2852 | PyObject *resultobj; | |
2853 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2854 | wxPoint *arg2 = 0 ; | |
2855 | wxPoint temp2 ; | |
2856 | PyObject * obj0 = 0 ; | |
2857 | PyObject * obj1 = 0 ; | |
2858 | char *kwnames[] = { | |
2859 | (char *) "self",(char *) "pos", NULL | |
2860 | }; | |
2861 | ||
2862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2863 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2864 | { | |
2865 | arg2 = &temp2; | |
2866 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2867 | } | |
2868 | { | |
2869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2870 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
2871 | ||
2872 | wxPyEndAllowThreads(__tstate); | |
2873 | if (PyErr_Occurred()) SWIG_fail; | |
2874 | } | |
2875 | Py_INCREF(Py_None); resultobj = Py_None; | |
2876 | return resultobj; | |
2877 | fail: | |
2878 | return NULL; | |
2879 | } | |
2880 | ||
2881 | ||
2882 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2883 | PyObject *resultobj; | |
2884 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2885 | wxPoint *arg2 = 0 ; | |
2886 | wxPoint temp2 ; | |
2887 | PyObject * obj0 = 0 ; | |
2888 | PyObject * obj1 = 0 ; | |
2889 | char *kwnames[] = { | |
2890 | (char *) "self",(char *) "pos", NULL | |
2891 | }; | |
2892 | ||
2893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2895 | { | |
2896 | arg2 = &temp2; | |
2897 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2898 | } | |
2899 | { | |
2900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2901 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
2902 | ||
2903 | wxPyEndAllowThreads(__tstate); | |
2904 | if (PyErr_Occurred()) SWIG_fail; | |
2905 | } | |
2906 | Py_INCREF(Py_None); resultobj = Py_None; | |
2907 | return resultobj; | |
2908 | fail: | |
2909 | return NULL; | |
2910 | } | |
2911 | ||
2912 | ||
2913 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2914 | PyObject *resultobj; | |
2915 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2916 | PyObject * obj0 = 0 ; | |
2917 | char *kwnames[] = { | |
2918 | (char *) "self", NULL | |
2919 | }; | |
2920 | ||
2921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2923 | { | |
2924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2925 | (arg1)->ClearPrivPos(); | |
2926 | ||
2927 | wxPyEndAllowThreads(__tstate); | |
2928 | if (PyErr_Occurred()) SWIG_fail; | |
2929 | } | |
2930 | Py_INCREF(Py_None); resultobj = Py_None; | |
2931 | return resultobj; | |
2932 | fail: | |
2933 | return NULL; | |
2934 | } | |
2935 | ||
2936 | ||
2937 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2938 | PyObject *resultobj; | |
2939 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2940 | bool result; | |
2941 | PyObject * obj0 = 0 ; | |
2942 | char *kwnames[] = { | |
2943 | (char *) "self", NULL | |
2944 | }; | |
2945 | ||
2946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2947 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2948 | { | |
2949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2950 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
2951 | ||
2952 | wxPyEndAllowThreads(__tstate); | |
2953 | if (PyErr_Occurred()) SWIG_fail; | |
2954 | } | |
2955 | resultobj = PyInt_FromLong((long)result); | |
2956 | return resultobj; | |
2957 | fail: | |
2958 | return NULL; | |
2959 | } | |
2960 | ||
2961 | ||
2962 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
2963 | PyObject *obj; | |
2964 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2965 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
2966 | Py_INCREF(obj); | |
2967 | return Py_BuildValue((char *)""); | |
2968 | } | |
2969 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2970 | PyObject *resultobj; | |
2971 | wxHtmlRenderingState *result; | |
2972 | char *kwnames[] = { | |
2973 | NULL | |
2974 | }; | |
2975 | ||
2976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
2977 | { | |
2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2979 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
2980 | ||
2981 | wxPyEndAllowThreads(__tstate); | |
2982 | if (PyErr_Occurred()) SWIG_fail; | |
2983 | } | |
2984 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1); | |
2985 | return resultobj; | |
2986 | fail: | |
2987 | return NULL; | |
2988 | } | |
2989 | ||
2990 | ||
2991 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2992 | PyObject *resultobj; | |
2993 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
2994 | PyObject * obj0 = 0 ; | |
2995 | char *kwnames[] = { | |
2996 | (char *) "self", NULL | |
2997 | }; | |
2998 | ||
2999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
3000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3001 | { | |
3002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3003 | delete arg1; | |
3004 | ||
3005 | wxPyEndAllowThreads(__tstate); | |
3006 | if (PyErr_Occurred()) SWIG_fail; | |
3007 | } | |
3008 | Py_INCREF(Py_None); resultobj = Py_None; | |
3009 | return resultobj; | |
3010 | fail: | |
3011 | return NULL; | |
3012 | } | |
3013 | ||
3014 | ||
3015 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3016 | PyObject *resultobj; | |
3017 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3018 | int arg2 ; | |
3019 | PyObject * obj0 = 0 ; | |
3020 | char *kwnames[] = { | |
3021 | (char *) "self",(char *) "s", NULL | |
3022 | }; | |
3023 | ||
3024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&arg2)) goto fail; | |
3025 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3026 | { | |
3027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3028 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3029 | ||
3030 | wxPyEndAllowThreads(__tstate); | |
3031 | if (PyErr_Occurred()) SWIG_fail; | |
3032 | } | |
3033 | Py_INCREF(Py_None); resultobj = Py_None; | |
3034 | return resultobj; | |
3035 | fail: | |
3036 | return NULL; | |
3037 | } | |
3038 | ||
3039 | ||
3040 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3041 | PyObject *resultobj; | |
3042 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3043 | int result; | |
3044 | PyObject * obj0 = 0 ; | |
3045 | char *kwnames[] = { | |
3046 | (char *) "self", NULL | |
3047 | }; | |
3048 | ||
3049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3050 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3051 | { | |
3052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3053 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3054 | ||
3055 | wxPyEndAllowThreads(__tstate); | |
3056 | if (PyErr_Occurred()) SWIG_fail; | |
3057 | } | |
3058 | resultobj = PyInt_FromLong((long)result); | |
3059 | return resultobj; | |
3060 | fail: | |
3061 | return NULL; | |
3062 | } | |
3063 | ||
3064 | ||
3065 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3066 | PyObject *resultobj; | |
3067 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3068 | wxColour *arg2 = 0 ; | |
3069 | wxColour temp2 ; | |
3070 | PyObject * obj0 = 0 ; | |
3071 | PyObject * obj1 = 0 ; | |
3072 | char *kwnames[] = { | |
3073 | (char *) "self",(char *) "c", NULL | |
3074 | }; | |
3075 | ||
3076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3077 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3078 | { | |
3079 | arg2 = &temp2; | |
3080 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3081 | } | |
3082 | { | |
3083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3084 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3085 | ||
3086 | wxPyEndAllowThreads(__tstate); | |
3087 | if (PyErr_Occurred()) SWIG_fail; | |
3088 | } | |
3089 | Py_INCREF(Py_None); resultobj = Py_None; | |
3090 | return resultobj; | |
3091 | fail: | |
3092 | return NULL; | |
3093 | } | |
3094 | ||
3095 | ||
3096 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3097 | PyObject *resultobj; | |
3098 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3099 | wxColour *result; | |
3100 | PyObject * obj0 = 0 ; | |
3101 | char *kwnames[] = { | |
3102 | (char *) "self", NULL | |
3103 | }; | |
3104 | ||
3105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3106 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3107 | { | |
3108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3109 | { | |
3110 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3111 | result = (wxColour *) &_result_ref; | |
3112 | } | |
3113 | ||
3114 | wxPyEndAllowThreads(__tstate); | |
3115 | if (PyErr_Occurred()) SWIG_fail; | |
3116 | } | |
3117 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3118 | return resultobj; | |
3119 | fail: | |
3120 | return NULL; | |
3121 | } | |
3122 | ||
3123 | ||
3124 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3125 | PyObject *resultobj; | |
3126 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3127 | wxColour *arg2 = 0 ; | |
3128 | wxColour temp2 ; | |
3129 | PyObject * obj0 = 0 ; | |
3130 | PyObject * obj1 = 0 ; | |
3131 | char *kwnames[] = { | |
3132 | (char *) "self",(char *) "c", NULL | |
3133 | }; | |
3134 | ||
3135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3136 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3137 | { | |
3138 | arg2 = &temp2; | |
3139 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3140 | } | |
3141 | { | |
3142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3143 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3144 | ||
3145 | wxPyEndAllowThreads(__tstate); | |
3146 | if (PyErr_Occurred()) SWIG_fail; | |
3147 | } | |
3148 | Py_INCREF(Py_None); resultobj = Py_None; | |
3149 | return resultobj; | |
3150 | fail: | |
3151 | return NULL; | |
3152 | } | |
3153 | ||
3154 | ||
3155 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3156 | PyObject *resultobj; | |
3157 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3158 | wxColour *result; | |
3159 | PyObject * obj0 = 0 ; | |
3160 | char *kwnames[] = { | |
3161 | (char *) "self", NULL | |
3162 | }; | |
3163 | ||
3164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3165 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3166 | { | |
3167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3168 | { | |
3169 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3170 | result = (wxColour *) &_result_ref; | |
3171 | } | |
3172 | ||
3173 | wxPyEndAllowThreads(__tstate); | |
3174 | if (PyErr_Occurred()) SWIG_fail; | |
3175 | } | |
3176 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3177 | return resultobj; | |
3178 | fail: | |
3179 | return NULL; | |
3180 | } | |
3181 | ||
3182 | ||
3183 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3184 | PyObject *obj; | |
3185 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3186 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3187 | Py_INCREF(obj); | |
3188 | return Py_BuildValue((char *)""); | |
3189 | } | |
3190 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3191 | PyObject *resultobj; | |
3192 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3193 | wxColour *arg2 = 0 ; | |
3194 | wxColour result; | |
3195 | wxColour temp2 ; | |
3196 | PyObject * obj0 = 0 ; | |
3197 | PyObject * obj1 = 0 ; | |
3198 | char *kwnames[] = { | |
3199 | (char *) "self",(char *) "clr", NULL | |
3200 | }; | |
3201 | ||
3202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3204 | { | |
3205 | arg2 = &temp2; | |
3206 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3207 | } | |
3208 | { | |
3209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3210 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3211 | ||
3212 | wxPyEndAllowThreads(__tstate); | |
3213 | if (PyErr_Occurred()) SWIG_fail; | |
3214 | } | |
3215 | { | |
3216 | wxColour * resultptr; | |
3217 | resultptr = new wxColour((wxColour &) result); | |
3218 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3219 | } | |
3220 | return resultobj; | |
3221 | fail: | |
3222 | return NULL; | |
3223 | } | |
3224 | ||
3225 | ||
3226 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3227 | PyObject *resultobj; | |
3228 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3229 | wxColour *arg2 = 0 ; | |
3230 | wxColour result; | |
3231 | wxColour temp2 ; | |
3232 | PyObject * obj0 = 0 ; | |
3233 | PyObject * obj1 = 0 ; | |
3234 | char *kwnames[] = { | |
3235 | (char *) "self",(char *) "clr", NULL | |
3236 | }; | |
3237 | ||
3238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3239 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3240 | { | |
3241 | arg2 = &temp2; | |
3242 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3243 | } | |
3244 | { | |
3245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3246 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3247 | ||
3248 | wxPyEndAllowThreads(__tstate); | |
3249 | if (PyErr_Occurred()) SWIG_fail; | |
3250 | } | |
3251 | { | |
3252 | wxColour * resultptr; | |
3253 | resultptr = new wxColour((wxColour &) result); | |
3254 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3255 | } | |
3256 | return resultobj; | |
3257 | fail: | |
3258 | return NULL; | |
3259 | } | |
3260 | ||
3261 | ||
3262 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3263 | PyObject *obj; | |
3264 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3265 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3266 | Py_INCREF(obj); | |
3267 | return Py_BuildValue((char *)""); | |
3268 | } | |
3269 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3270 | PyObject *resultobj; | |
3271 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3272 | wxColour *arg2 = 0 ; | |
3273 | wxColour result; | |
3274 | wxColour temp2 ; | |
3275 | PyObject * obj0 = 0 ; | |
3276 | PyObject * obj1 = 0 ; | |
3277 | char *kwnames[] = { | |
3278 | (char *) "self",(char *) "clr", NULL | |
3279 | }; | |
3280 | ||
3281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3282 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3283 | { | |
3284 | arg2 = &temp2; | |
3285 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3286 | } | |
3287 | { | |
3288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3289 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3290 | ||
3291 | wxPyEndAllowThreads(__tstate); | |
3292 | if (PyErr_Occurred()) SWIG_fail; | |
3293 | } | |
3294 | { | |
3295 | wxColour * resultptr; | |
3296 | resultptr = new wxColour((wxColour &) result); | |
3297 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3298 | } | |
3299 | return resultobj; | |
3300 | fail: | |
3301 | return NULL; | |
3302 | } | |
3303 | ||
3304 | ||
3305 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3306 | PyObject *resultobj; | |
3307 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3308 | wxColour *arg2 = 0 ; | |
3309 | wxColour result; | |
3310 | wxColour temp2 ; | |
3311 | PyObject * obj0 = 0 ; | |
3312 | PyObject * obj1 = 0 ; | |
3313 | char *kwnames[] = { | |
3314 | (char *) "self",(char *) "clr", NULL | |
3315 | }; | |
3316 | ||
3317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3319 | { | |
3320 | arg2 = &temp2; | |
3321 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3322 | } | |
3323 | { | |
3324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3325 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3326 | ||
3327 | wxPyEndAllowThreads(__tstate); | |
3328 | if (PyErr_Occurred()) SWIG_fail; | |
3329 | } | |
3330 | { | |
3331 | wxColour * resultptr; | |
3332 | resultptr = new wxColour((wxColour &) result); | |
3333 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3334 | } | |
3335 | return resultobj; | |
3336 | fail: | |
3337 | return NULL; | |
3338 | } | |
3339 | ||
3340 | ||
3341 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3342 | PyObject *obj; | |
3343 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3344 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3345 | Py_INCREF(obj); | |
3346 | return Py_BuildValue((char *)""); | |
3347 | } | |
3348 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3349 | PyObject *resultobj; | |
3350 | wxHtmlRenderingInfo *result; | |
3351 | char *kwnames[] = { | |
3352 | NULL | |
3353 | }; | |
3354 | ||
3355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3356 | { | |
3357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3358 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3359 | ||
3360 | wxPyEndAllowThreads(__tstate); | |
3361 | if (PyErr_Occurred()) SWIG_fail; | |
3362 | } | |
3363 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3364 | return resultobj; | |
3365 | fail: | |
3366 | return NULL; | |
3367 | } | |
3368 | ||
3369 | ||
3370 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3371 | PyObject *resultobj; | |
3372 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3373 | PyObject * obj0 = 0 ; | |
3374 | char *kwnames[] = { | |
3375 | (char *) "self", NULL | |
3376 | }; | |
3377 | ||
3378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3379 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3380 | { | |
3381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3382 | delete arg1; | |
3383 | ||
3384 | wxPyEndAllowThreads(__tstate); | |
3385 | if (PyErr_Occurred()) SWIG_fail; | |
3386 | } | |
3387 | Py_INCREF(Py_None); resultobj = Py_None; | |
3388 | return resultobj; | |
3389 | fail: | |
3390 | return NULL; | |
3391 | } | |
3392 | ||
3393 | ||
3394 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3395 | PyObject *resultobj; | |
3396 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3397 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3398 | PyObject * obj0 = 0 ; | |
3399 | PyObject * obj1 = 0 ; | |
3400 | char *kwnames[] = { | |
3401 | (char *) "self",(char *) "s", NULL | |
3402 | }; | |
3403 | ||
3404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3405 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3406 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3407 | { | |
3408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3409 | (arg1)->SetSelection(arg2); | |
3410 | ||
3411 | wxPyEndAllowThreads(__tstate); | |
3412 | if (PyErr_Occurred()) SWIG_fail; | |
3413 | } | |
3414 | Py_INCREF(Py_None); resultobj = Py_None; | |
3415 | return resultobj; | |
3416 | fail: | |
3417 | return NULL; | |
3418 | } | |
3419 | ||
3420 | ||
3421 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3422 | PyObject *resultobj; | |
3423 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3424 | wxHtmlSelection *result; | |
3425 | PyObject * obj0 = 0 ; | |
3426 | char *kwnames[] = { | |
3427 | (char *) "self", NULL | |
3428 | }; | |
3429 | ||
3430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3431 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3432 | { | |
3433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3434 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3435 | ||
3436 | wxPyEndAllowThreads(__tstate); | |
3437 | if (PyErr_Occurred()) SWIG_fail; | |
3438 | } | |
3439 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0); | |
3440 | return resultobj; | |
3441 | fail: | |
3442 | return NULL; | |
3443 | } | |
3444 | ||
3445 | ||
3446 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3447 | PyObject *resultobj; | |
3448 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3449 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3450 | PyObject * obj0 = 0 ; | |
3451 | PyObject * obj1 = 0 ; | |
3452 | char *kwnames[] = { | |
3453 | (char *) "self",(char *) "style", NULL | |
3454 | }; | |
3455 | ||
3456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3458 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3459 | { | |
3460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3461 | (arg1)->SetStyle(arg2); | |
3462 | ||
3463 | wxPyEndAllowThreads(__tstate); | |
3464 | if (PyErr_Occurred()) SWIG_fail; | |
3465 | } | |
3466 | Py_INCREF(Py_None); resultobj = Py_None; | |
3467 | return resultobj; | |
3468 | fail: | |
3469 | return NULL; | |
3470 | } | |
3471 | ||
3472 | ||
3473 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3474 | PyObject *resultobj; | |
3475 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3476 | wxHtmlRenderingStyle *result; | |
3477 | PyObject * obj0 = 0 ; | |
3478 | char *kwnames[] = { | |
3479 | (char *) "self", NULL | |
3480 | }; | |
3481 | ||
3482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3483 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3484 | { | |
3485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3486 | { | |
3487 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3488 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3489 | } | |
3490 | ||
3491 | wxPyEndAllowThreads(__tstate); | |
3492 | if (PyErr_Occurred()) SWIG_fail; | |
3493 | } | |
3494 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3495 | return resultobj; | |
3496 | fail: | |
3497 | return NULL; | |
3498 | } | |
3499 | ||
3500 | ||
3501 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3502 | PyObject *resultobj; | |
3503 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3504 | wxHtmlRenderingState *result; | |
3505 | PyObject * obj0 = 0 ; | |
3506 | char *kwnames[] = { | |
3507 | (char *) "self", NULL | |
3508 | }; | |
3509 | ||
3510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3511 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3512 | { | |
3513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3514 | { | |
3515 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3516 | result = (wxHtmlRenderingState *) &_result_ref; | |
3517 | } | |
3518 | ||
3519 | wxPyEndAllowThreads(__tstate); | |
3520 | if (PyErr_Occurred()) SWIG_fail; | |
3521 | } | |
3522 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3523 | return resultobj; | |
3524 | fail: | |
3525 | return NULL; | |
3526 | } | |
3527 | ||
3528 | ||
3529 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3530 | PyObject *obj; | |
3531 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3532 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3533 | Py_INCREF(obj); | |
3534 | return Py_BuildValue((char *)""); | |
3535 | } | |
3536 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3537 | PyObject *resultobj; | |
3538 | wxHtmlCell *result; | |
3539 | char *kwnames[] = { | |
3540 | NULL | |
3541 | }; | |
3542 | ||
3543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
3544 | { | |
3545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3546 | result = (wxHtmlCell *)new wxHtmlCell(); | |
3547 | ||
3548 | wxPyEndAllowThreads(__tstate); | |
3549 | if (PyErr_Occurred()) SWIG_fail; | |
3550 | } | |
3551 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1); | |
3552 | return resultobj; | |
3553 | fail: | |
3554 | return NULL; | |
3555 | } | |
3556 | ||
3557 | ||
3558 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3559 | PyObject *resultobj; | |
3560 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3561 | int result; | |
3562 | PyObject * obj0 = 0 ; | |
3563 | char *kwnames[] = { | |
3564 | (char *) "self", NULL | |
3565 | }; | |
3566 | ||
3567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
3568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3569 | { | |
3570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3571 | result = (int)(arg1)->GetPosX(); | |
3572 | ||
3573 | wxPyEndAllowThreads(__tstate); | |
3574 | if (PyErr_Occurred()) SWIG_fail; | |
3575 | } | |
3576 | resultobj = PyInt_FromLong((long)result); | |
3577 | return resultobj; | |
3578 | fail: | |
3579 | return NULL; | |
3580 | } | |
3581 | ||
3582 | ||
3583 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3584 | PyObject *resultobj; | |
3585 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3586 | int result; | |
3587 | PyObject * obj0 = 0 ; | |
3588 | char *kwnames[] = { | |
3589 | (char *) "self", NULL | |
3590 | }; | |
3591 | ||
3592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
3593 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3594 | { | |
3595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3596 | result = (int)(arg1)->GetPosY(); | |
3597 | ||
3598 | wxPyEndAllowThreads(__tstate); | |
3599 | if (PyErr_Occurred()) SWIG_fail; | |
3600 | } | |
3601 | resultobj = PyInt_FromLong((long)result); | |
3602 | return resultobj; | |
3603 | fail: | |
3604 | return NULL; | |
3605 | } | |
3606 | ||
3607 | ||
3608 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3609 | PyObject *resultobj; | |
3610 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3611 | int result; | |
3612 | PyObject * obj0 = 0 ; | |
3613 | char *kwnames[] = { | |
3614 | (char *) "self", NULL | |
3615 | }; | |
3616 | ||
3617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
3618 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3619 | { | |
3620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3621 | result = (int)(arg1)->GetWidth(); | |
3622 | ||
3623 | wxPyEndAllowThreads(__tstate); | |
3624 | if (PyErr_Occurred()) SWIG_fail; | |
3625 | } | |
3626 | resultobj = PyInt_FromLong((long)result); | |
3627 | return resultobj; | |
3628 | fail: | |
3629 | return NULL; | |
3630 | } | |
3631 | ||
3632 | ||
3633 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3634 | PyObject *resultobj; | |
3635 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3636 | int result; | |
3637 | PyObject * obj0 = 0 ; | |
3638 | char *kwnames[] = { | |
3639 | (char *) "self", NULL | |
3640 | }; | |
3641 | ||
3642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
3643 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3644 | { | |
3645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3646 | result = (int)(arg1)->GetHeight(); | |
3647 | ||
3648 | wxPyEndAllowThreads(__tstate); | |
3649 | if (PyErr_Occurred()) SWIG_fail; | |
3650 | } | |
3651 | resultobj = PyInt_FromLong((long)result); | |
3652 | return resultobj; | |
3653 | fail: | |
3654 | return NULL; | |
3655 | } | |
3656 | ||
3657 | ||
3658 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3659 | PyObject *resultobj; | |
3660 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3661 | int result; | |
3662 | PyObject * obj0 = 0 ; | |
3663 | char *kwnames[] = { | |
3664 | (char *) "self", NULL | |
3665 | }; | |
3666 | ||
3667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
3668 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3669 | { | |
3670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3671 | result = (int)(arg1)->GetDescent(); | |
3672 | ||
3673 | wxPyEndAllowThreads(__tstate); | |
3674 | if (PyErr_Occurred()) SWIG_fail; | |
3675 | } | |
3676 | resultobj = PyInt_FromLong((long)result); | |
3677 | return resultobj; | |
3678 | fail: | |
3679 | return NULL; | |
3680 | } | |
3681 | ||
3682 | ||
3683 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3684 | PyObject *resultobj; | |
3685 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3686 | int arg2 = (int) 0 ; | |
3687 | int arg3 = (int) 0 ; | |
3688 | wxHtmlLinkInfo *result; | |
3689 | PyObject * obj0 = 0 ; | |
3690 | char *kwnames[] = { | |
3691 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3692 | }; | |
3693 | ||
3694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:HtmlCell_GetLink",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3695 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3696 | { | |
3697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3698 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
3699 | ||
3700 | wxPyEndAllowThreads(__tstate); | |
3701 | if (PyErr_Occurred()) SWIG_fail; | |
3702 | } | |
3703 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
3704 | return resultobj; | |
3705 | fail: | |
3706 | return NULL; | |
3707 | } | |
3708 | ||
3709 | ||
3710 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3711 | PyObject *resultobj; | |
3712 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3713 | wxHtmlCell *result; | |
3714 | PyObject * obj0 = 0 ; | |
3715 | char *kwnames[] = { | |
3716 | (char *) "self", NULL | |
3717 | }; | |
3718 | ||
3719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
3720 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3721 | { | |
3722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3723 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
3724 | ||
3725 | wxPyEndAllowThreads(__tstate); | |
3726 | if (PyErr_Occurred()) SWIG_fail; | |
3727 | } | |
3728 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3729 | return resultobj; | |
3730 | fail: | |
3731 | return NULL; | |
3732 | } | |
3733 | ||
3734 | ||
3735 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3736 | PyObject *resultobj; | |
3737 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3738 | wxHtmlContainerCell *result; | |
3739 | PyObject * obj0 = 0 ; | |
3740 | char *kwnames[] = { | |
3741 | (char *) "self", NULL | |
3742 | }; | |
3743 | ||
3744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
3745 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3746 | { | |
3747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3748 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
3749 | ||
3750 | wxPyEndAllowThreads(__tstate); | |
3751 | if (PyErr_Occurred()) SWIG_fail; | |
3752 | } | |
3753 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
3754 | return resultobj; | |
3755 | fail: | |
3756 | return NULL; | |
3757 | } | |
3758 | ||
3759 | ||
3760 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3761 | PyObject *resultobj; | |
3762 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3763 | wxHtmlCell *result; | |
3764 | PyObject * obj0 = 0 ; | |
3765 | char *kwnames[] = { | |
3766 | (char *) "self", NULL | |
3767 | }; | |
3768 | ||
3769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
3770 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3771 | { | |
3772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3773 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
3774 | ||
3775 | wxPyEndAllowThreads(__tstate); | |
3776 | if (PyErr_Occurred()) SWIG_fail; | |
3777 | } | |
3778 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3779 | return resultobj; | |
3780 | fail: | |
3781 | return NULL; | |
3782 | } | |
3783 | ||
3784 | ||
3785 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3786 | PyObject *resultobj; | |
3787 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3788 | wxCursor result; | |
3789 | PyObject * obj0 = 0 ; | |
3790 | char *kwnames[] = { | |
3791 | (char *) "self", NULL | |
3792 | }; | |
3793 | ||
3794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
3795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3796 | { | |
3797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3798 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
3799 | ||
3800 | wxPyEndAllowThreads(__tstate); | |
3801 | if (PyErr_Occurred()) SWIG_fail; | |
3802 | } | |
3803 | { | |
3804 | wxCursor * resultptr; | |
3805 | resultptr = new wxCursor((wxCursor &) result); | |
3806 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1); | |
3807 | } | |
3808 | return resultobj; | |
3809 | fail: | |
3810 | return NULL; | |
3811 | } | |
3812 | ||
3813 | ||
3814 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3815 | PyObject *resultobj; | |
3816 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3817 | bool result; | |
3818 | PyObject * obj0 = 0 ; | |
3819 | char *kwnames[] = { | |
3820 | (char *) "self", NULL | |
3821 | }; | |
3822 | ||
3823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
3824 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3825 | { | |
3826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3827 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
3828 | ||
3829 | wxPyEndAllowThreads(__tstate); | |
3830 | if (PyErr_Occurred()) SWIG_fail; | |
3831 | } | |
3832 | resultobj = PyInt_FromLong((long)result); | |
3833 | return resultobj; | |
3834 | fail: | |
3835 | return NULL; | |
3836 | } | |
3837 | ||
3838 | ||
3839 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3840 | PyObject *resultobj; | |
3841 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3842 | wxHtmlLinkInfo *arg2 = 0 ; | |
3843 | PyObject * obj0 = 0 ; | |
3844 | PyObject * obj1 = 0 ; | |
3845 | char *kwnames[] = { | |
3846 | (char *) "self",(char *) "link", NULL | |
3847 | }; | |
3848 | ||
3849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
3850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3851 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3852 | if (arg2 == NULL) { | |
3853 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3854 | } | |
3855 | { | |
3856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3857 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
3858 | ||
3859 | wxPyEndAllowThreads(__tstate); | |
3860 | if (PyErr_Occurred()) SWIG_fail; | |
3861 | } | |
3862 | Py_INCREF(Py_None); resultobj = Py_None; | |
3863 | return resultobj; | |
3864 | fail: | |
3865 | return NULL; | |
3866 | } | |
3867 | ||
3868 | ||
3869 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3870 | PyObject *resultobj; | |
3871 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3872 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3873 | PyObject * obj0 = 0 ; | |
3874 | PyObject * obj1 = 0 ; | |
3875 | char *kwnames[] = { | |
3876 | (char *) "self",(char *) "cell", NULL | |
3877 | }; | |
3878 | ||
3879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
3880 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3881 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3882 | { | |
3883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3884 | (arg1)->SetNext(arg2); | |
3885 | ||
3886 | wxPyEndAllowThreads(__tstate); | |
3887 | if (PyErr_Occurred()) SWIG_fail; | |
3888 | } | |
3889 | Py_INCREF(Py_None); resultobj = Py_None; | |
3890 | return resultobj; | |
3891 | fail: | |
3892 | return NULL; | |
3893 | } | |
3894 | ||
3895 | ||
3896 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3897 | PyObject *resultobj; | |
3898 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3899 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
3900 | PyObject * obj0 = 0 ; | |
3901 | PyObject * obj1 = 0 ; | |
3902 | char *kwnames[] = { | |
3903 | (char *) "self",(char *) "p", NULL | |
3904 | }; | |
3905 | ||
3906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
3907 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3908 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3909 | { | |
3910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3911 | (arg1)->SetParent(arg2); | |
3912 | ||
3913 | wxPyEndAllowThreads(__tstate); | |
3914 | if (PyErr_Occurred()) SWIG_fail; | |
3915 | } | |
3916 | Py_INCREF(Py_None); resultobj = Py_None; | |
3917 | return resultobj; | |
3918 | fail: | |
3919 | return NULL; | |
3920 | } | |
3921 | ||
3922 | ||
3923 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3924 | PyObject *resultobj; | |
3925 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3926 | int arg2 ; | |
3927 | int arg3 ; | |
3928 | PyObject * obj0 = 0 ; | |
3929 | char *kwnames[] = { | |
3930 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3931 | }; | |
3932 | ||
3933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlCell_SetPos",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3934 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3935 | { | |
3936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3937 | (arg1)->SetPos(arg2,arg3); | |
3938 | ||
3939 | wxPyEndAllowThreads(__tstate); | |
3940 | if (PyErr_Occurred()) SWIG_fail; | |
3941 | } | |
3942 | Py_INCREF(Py_None); resultobj = Py_None; | |
3943 | return resultobj; | |
3944 | fail: | |
3945 | return NULL; | |
3946 | } | |
3947 | ||
3948 | ||
3949 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3950 | PyObject *resultobj; | |
3951 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3952 | int arg2 ; | |
3953 | PyObject * obj0 = 0 ; | |
3954 | char *kwnames[] = { | |
3955 | (char *) "self",(char *) "w", NULL | |
3956 | }; | |
3957 | ||
3958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlCell_Layout",kwnames,&obj0,&arg2)) goto fail; | |
3959 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3960 | { | |
3961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3962 | (arg1)->Layout(arg2); | |
3963 | ||
3964 | wxPyEndAllowThreads(__tstate); | |
3965 | if (PyErr_Occurred()) SWIG_fail; | |
3966 | } | |
3967 | Py_INCREF(Py_None); resultobj = Py_None; | |
3968 | return resultobj; | |
3969 | fail: | |
3970 | return NULL; | |
3971 | } | |
3972 | ||
3973 | ||
3974 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3975 | PyObject *resultobj; | |
3976 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3977 | wxDC *arg2 = 0 ; | |
3978 | int arg3 ; | |
3979 | int arg4 ; | |
3980 | int arg5 ; | |
3981 | int arg6 ; | |
3982 | wxHtmlRenderingInfo *arg7 = 0 ; | |
3983 | PyObject * obj0 = 0 ; | |
3984 | PyObject * obj1 = 0 ; | |
3985 | PyObject * obj6 = 0 ; | |
3986 | char *kwnames[] = { | |
3987 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
3988 | }; | |
3989 | ||
3990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiiiO:HtmlCell_Draw",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail; | |
3991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3992 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3993 | if (arg2 == NULL) { | |
3994 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3995 | } | |
3996 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3997 | if (arg7 == NULL) { | |
3998 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3999 | } | |
4000 | { | |
4001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4002 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4003 | ||
4004 | wxPyEndAllowThreads(__tstate); | |
4005 | if (PyErr_Occurred()) SWIG_fail; | |
4006 | } | |
4007 | Py_INCREF(Py_None); resultobj = Py_None; | |
4008 | return resultobj; | |
4009 | fail: | |
4010 | return NULL; | |
4011 | } | |
4012 | ||
4013 | ||
4014 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4015 | PyObject *resultobj; | |
4016 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4017 | wxDC *arg2 = 0 ; | |
4018 | int arg3 ; | |
4019 | int arg4 ; | |
4020 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4021 | PyObject * obj0 = 0 ; | |
4022 | PyObject * obj1 = 0 ; | |
4023 | PyObject * obj4 = 0 ; | |
4024 | char *kwnames[] = { | |
4025 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4026 | }; | |
4027 | ||
4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4029 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4030 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4031 | if (arg2 == NULL) { | |
4032 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4033 | } | |
4034 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4035 | if (arg5 == NULL) { | |
4036 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4037 | } | |
4038 | { | |
4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4040 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4041 | ||
4042 | wxPyEndAllowThreads(__tstate); | |
4043 | if (PyErr_Occurred()) SWIG_fail; | |
4044 | } | |
4045 | Py_INCREF(Py_None); resultobj = Py_None; | |
4046 | return resultobj; | |
4047 | fail: | |
4048 | return NULL; | |
4049 | } | |
4050 | ||
4051 | ||
4052 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4053 | PyObject *resultobj; | |
4054 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4055 | int arg2 ; | |
4056 | void *arg3 = (void *) 0 ; | |
4057 | wxHtmlCell *result; | |
4058 | PyObject * obj0 = 0 ; | |
4059 | PyObject * obj2 = 0 ; | |
4060 | char *kwnames[] = { | |
4061 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4062 | }; | |
4063 | ||
4064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HtmlCell_Find",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
4065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4066 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4067 | { | |
4068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4069 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4070 | ||
4071 | wxPyEndAllowThreads(__tstate); | |
4072 | if (PyErr_Occurred()) SWIG_fail; | |
4073 | } | |
4074 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4075 | return resultobj; | |
4076 | fail: | |
4077 | return NULL; | |
4078 | } | |
4079 | ||
4080 | ||
4081 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4082 | PyObject *resultobj; | |
4083 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4084 | int *arg2 = (int *) 0 ; | |
4085 | bool result; | |
4086 | int temp2 ; | |
4087 | PyObject * obj0 = 0 ; | |
4088 | PyObject * obj1 = 0 ; | |
4089 | char *kwnames[] = { | |
4090 | (char *) "self",(char *) "INOUT", NULL | |
4091 | }; | |
4092 | ||
4093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4094 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4095 | { | |
4096 | temp2 = PyInt_AsLong(obj1); | |
4097 | if (PyErr_Occurred()) SWIG_fail; | |
4098 | arg2 = &temp2; | |
4099 | } | |
4100 | { | |
4101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4102 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4103 | ||
4104 | wxPyEndAllowThreads(__tstate); | |
4105 | if (PyErr_Occurred()) SWIG_fail; | |
4106 | } | |
4107 | resultobj = PyInt_FromLong((long)result); | |
4108 | { | |
4109 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4110 | resultobj = t_output_helper(resultobj,o); | |
4111 | } | |
4112 | return resultobj; | |
4113 | fail: | |
4114 | return NULL; | |
4115 | } | |
4116 | ||
4117 | ||
4118 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4119 | PyObject *resultobj; | |
4120 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4121 | bool arg2 ; | |
4122 | PyObject * obj0 = 0 ; | |
4123 | PyObject * obj1 = 0 ; | |
4124 | char *kwnames[] = { | |
4125 | (char *) "self",(char *) "can", NULL | |
4126 | }; | |
4127 | ||
4128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4129 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4130 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4131 | if (PyErr_Occurred()) SWIG_fail; | |
4132 | { | |
4133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4134 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4135 | ||
4136 | wxPyEndAllowThreads(__tstate); | |
4137 | if (PyErr_Occurred()) SWIG_fail; | |
4138 | } | |
4139 | Py_INCREF(Py_None); resultobj = Py_None; | |
4140 | return resultobj; | |
4141 | fail: | |
4142 | return NULL; | |
4143 | } | |
4144 | ||
4145 | ||
4146 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4147 | PyObject *resultobj; | |
4148 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4149 | bool result; | |
4150 | PyObject * obj0 = 0 ; | |
4151 | char *kwnames[] = { | |
4152 | (char *) "self", NULL | |
4153 | }; | |
4154 | ||
4155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4157 | { | |
4158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4159 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4160 | ||
4161 | wxPyEndAllowThreads(__tstate); | |
4162 | if (PyErr_Occurred()) SWIG_fail; | |
4163 | } | |
4164 | resultobj = PyInt_FromLong((long)result); | |
4165 | return resultobj; | |
4166 | fail: | |
4167 | return NULL; | |
4168 | } | |
4169 | ||
4170 | ||
4171 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4172 | PyObject *resultobj; | |
4173 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4174 | bool result; | |
4175 | PyObject * obj0 = 0 ; | |
4176 | char *kwnames[] = { | |
4177 | (char *) "self", NULL | |
4178 | }; | |
4179 | ||
4180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4181 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4182 | { | |
4183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4184 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4185 | ||
4186 | wxPyEndAllowThreads(__tstate); | |
4187 | if (PyErr_Occurred()) SWIG_fail; | |
4188 | } | |
4189 | resultobj = PyInt_FromLong((long)result); | |
4190 | return resultobj; | |
4191 | fail: | |
4192 | return NULL; | |
4193 | } | |
4194 | ||
4195 | ||
4196 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4197 | PyObject *resultobj; | |
4198 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
4199 | int arg2 ; |
4200 | int arg3 ; | |
d14a1e28 RD |
4201 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
4202 | wxHtmlCell *result; | |
4203 | PyObject * obj0 = 0 ; | |
4204 | PyObject * obj3 = 0 ; | |
4205 | char *kwnames[] = { | |
4206 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4207 | }; | |
4208 | ||
4209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4210 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4211 | if (obj3) { | |
4212 | arg4 = (unsigned int) PyInt_AsLong(obj3); | |
4213 | if (PyErr_Occurred()) SWIG_fail; | |
4214 | } | |
4215 | { | |
4216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4217 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4218 | ||
4219 | wxPyEndAllowThreads(__tstate); | |
4220 | if (PyErr_Occurred()) SWIG_fail; | |
4221 | } | |
4222 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4223 | return resultobj; | |
4224 | fail: | |
4225 | return NULL; | |
4226 | } | |
4227 | ||
4228 | ||
4229 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4230 | PyObject *resultobj; | |
4231 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4232 | wxPoint result; | |
4233 | PyObject * obj0 = 0 ; | |
4234 | char *kwnames[] = { | |
4235 | (char *) "self", NULL | |
4236 | }; | |
4237 | ||
4238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4239 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4240 | { | |
4241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4242 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4243 | ||
4244 | wxPyEndAllowThreads(__tstate); | |
4245 | if (PyErr_Occurred()) SWIG_fail; | |
4246 | } | |
4247 | { | |
4248 | wxPoint * resultptr; | |
4249 | resultptr = new wxPoint((wxPoint &) result); | |
4250 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
4251 | } | |
4252 | return resultobj; | |
4253 | fail: | |
4254 | return NULL; | |
4255 | } | |
4256 | ||
4257 | ||
4258 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4259 | PyObject *resultobj; | |
4260 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4261 | wxHtmlCell *result; | |
4262 | PyObject * obj0 = 0 ; | |
4263 | char *kwnames[] = { | |
4264 | (char *) "self", NULL | |
4265 | }; | |
4266 | ||
4267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4268 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4269 | { | |
4270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4271 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4272 | ||
4273 | wxPyEndAllowThreads(__tstate); | |
4274 | if (PyErr_Occurred()) SWIG_fail; | |
4275 | } | |
4276 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4277 | return resultobj; | |
4278 | fail: | |
4279 | return NULL; | |
4280 | } | |
4281 | ||
4282 | ||
4283 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4284 | PyObject *resultobj; | |
4285 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4286 | wxHtmlCell *result; | |
4287 | PyObject * obj0 = 0 ; | |
4288 | char *kwnames[] = { | |
4289 | (char *) "self", NULL | |
4290 | }; | |
4291 | ||
4292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4294 | { | |
4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4296 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4297 | ||
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
4301 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4302 | return resultobj; | |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
4308 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj; | |
4310 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4311 | unsigned int result; | |
4312 | PyObject * obj0 = 0 ; | |
4313 | char *kwnames[] = { | |
4314 | (char *) "self", NULL | |
4315 | }; | |
4316 | ||
4317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4319 | { | |
4320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4321 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4322 | ||
4323 | wxPyEndAllowThreads(__tstate); | |
4324 | if (PyErr_Occurred()) SWIG_fail; | |
4325 | } | |
4326 | resultobj = PyInt_FromLong((long)result); | |
4327 | return resultobj; | |
4328 | fail: | |
4329 | return NULL; | |
4330 | } | |
4331 | ||
4332 | ||
4333 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4334 | PyObject *resultobj; | |
4335 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4336 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4337 | bool result; | |
4338 | PyObject * obj0 = 0 ; | |
4339 | PyObject * obj1 = 0 ; | |
4340 | char *kwnames[] = { | |
4341 | (char *) "self",(char *) "cell", NULL | |
4342 | }; | |
4343 | ||
4344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
4345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4346 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4347 | { | |
4348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4349 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
4350 | ||
4351 | wxPyEndAllowThreads(__tstate); | |
4352 | if (PyErr_Occurred()) SWIG_fail; | |
4353 | } | |
4354 | resultobj = PyInt_FromLong((long)result); | |
4355 | return resultobj; | |
4356 | fail: | |
4357 | return NULL; | |
4358 | } | |
4359 | ||
4360 | ||
4361 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4362 | PyObject *resultobj; | |
4363 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4364 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4365 | wxString result; | |
4366 | PyObject * obj0 = 0 ; | |
4367 | PyObject * obj1 = 0 ; | |
4368 | char *kwnames[] = { | |
4369 | (char *) "self",(char *) "sel", NULL | |
4370 | }; | |
4371 | ||
4372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
4373 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4374 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4375 | { | |
4376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4377 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
4378 | ||
4379 | wxPyEndAllowThreads(__tstate); | |
4380 | if (PyErr_Occurred()) SWIG_fail; | |
4381 | } | |
4382 | { | |
4383 | #if wxUSE_UNICODE | |
4384 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4385 | #else | |
4386 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4387 | #endif | |
4388 | } | |
4389 | return resultobj; | |
4390 | fail: | |
4391 | return NULL; | |
4392 | } | |
4393 | ||
4394 | ||
4395 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
4396 | PyObject *obj; | |
4397 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4398 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
4399 | Py_INCREF(obj); | |
4400 | return Py_BuildValue((char *)""); | |
4401 | } | |
4402 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4403 | PyObject *resultobj; | |
4404 | wxString *arg1 = 0 ; | |
4405 | wxDC *arg2 = 0 ; | |
4406 | wxHtmlWordCell *result; | |
e811c8ce | 4407 | bool temp1 = False ; |
d14a1e28 RD |
4408 | PyObject * obj0 = 0 ; |
4409 | PyObject * obj1 = 0 ; | |
4410 | char *kwnames[] = { | |
4411 | (char *) "word",(char *) "dc", NULL | |
4412 | }; | |
4413 | ||
4414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
4415 | { | |
4416 | arg1 = wxString_in_helper(obj0); | |
4417 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 4418 | temp1 = True; |
d14a1e28 RD |
4419 | } |
4420 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4421 | if (arg2 == NULL) { | |
4422 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4423 | } | |
4424 | { | |
4425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4426 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
4427 | ||
4428 | wxPyEndAllowThreads(__tstate); | |
4429 | if (PyErr_Occurred()) SWIG_fail; | |
4430 | } | |
4431 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1); | |
4432 | { | |
4433 | if (temp1) | |
4434 | delete arg1; | |
4435 | } | |
4436 | return resultobj; | |
4437 | fail: | |
4438 | { | |
4439 | if (temp1) | |
4440 | delete arg1; | |
4441 | } | |
4442 | return NULL; | |
4443 | } | |
4444 | ||
4445 | ||
4446 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
4447 | PyObject *obj; | |
4448 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4449 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
4450 | Py_INCREF(obj); | |
4451 | return Py_BuildValue((char *)""); | |
4452 | } | |
4453 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4454 | PyObject *resultobj; | |
4455 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4456 | wxHtmlContainerCell *result; | |
4457 | PyObject * obj0 = 0 ; | |
4458 | char *kwnames[] = { | |
4459 | (char *) "parent", NULL | |
4460 | }; | |
4461 | ||
4462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
4463 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4464 | { | |
4465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4466 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
4467 | ||
4468 | wxPyEndAllowThreads(__tstate); | |
4469 | if (PyErr_Occurred()) SWIG_fail; | |
4470 | } | |
4471 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1); | |
4472 | return resultobj; | |
4473 | fail: | |
4474 | return NULL; | |
4475 | } | |
4476 | ||
4477 | ||
4478 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4479 | PyObject *resultobj; | |
4480 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4481 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4482 | PyObject * obj0 = 0 ; | |
4483 | PyObject * obj1 = 0 ; | |
4484 | char *kwnames[] = { | |
4485 | (char *) "self",(char *) "cell", NULL | |
4486 | }; | |
4487 | ||
4488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
4489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4490 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4491 | { | |
4492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4493 | (arg1)->InsertCell(arg2); | |
4494 | ||
4495 | wxPyEndAllowThreads(__tstate); | |
4496 | if (PyErr_Occurred()) SWIG_fail; | |
4497 | } | |
4498 | Py_INCREF(Py_None); resultobj = Py_None; | |
4499 | return resultobj; | |
4500 | fail: | |
4501 | return NULL; | |
4502 | } | |
4503 | ||
4504 | ||
4505 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4506 | PyObject *resultobj; | |
4507 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4508 | int arg2 ; | |
4509 | PyObject * obj0 = 0 ; | |
4510 | char *kwnames[] = { | |
4511 | (char *) "self",(char *) "al", NULL | |
4512 | }; | |
4513 | ||
4514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&arg2)) goto fail; | |
4515 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4516 | { | |
4517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4518 | (arg1)->SetAlignHor(arg2); | |
4519 | ||
4520 | wxPyEndAllowThreads(__tstate); | |
4521 | if (PyErr_Occurred()) SWIG_fail; | |
4522 | } | |
4523 | Py_INCREF(Py_None); resultobj = Py_None; | |
4524 | return resultobj; | |
4525 | fail: | |
4526 | return NULL; | |
4527 | } | |
4528 | ||
4529 | ||
4530 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4531 | PyObject *resultobj; | |
4532 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4533 | int result; | |
4534 | PyObject * obj0 = 0 ; | |
4535 | char *kwnames[] = { | |
4536 | (char *) "self", NULL | |
4537 | }; | |
4538 | ||
4539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
4540 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4541 | { | |
4542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4543 | result = (int)(arg1)->GetAlignHor(); | |
4544 | ||
4545 | wxPyEndAllowThreads(__tstate); | |
4546 | if (PyErr_Occurred()) SWIG_fail; | |
4547 | } | |
4548 | resultobj = PyInt_FromLong((long)result); | |
4549 | return resultobj; | |
4550 | fail: | |
4551 | return NULL; | |
4552 | } | |
4553 | ||
4554 | ||
4555 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4556 | PyObject *resultobj; | |
4557 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4558 | int arg2 ; | |
4559 | PyObject * obj0 = 0 ; | |
4560 | char *kwnames[] = { | |
4561 | (char *) "self",(char *) "al", NULL | |
4562 | }; | |
4563 | ||
4564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&arg2)) goto fail; | |
4565 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4566 | { | |
4567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4568 | (arg1)->SetAlignVer(arg2); | |
4569 | ||
4570 | wxPyEndAllowThreads(__tstate); | |
4571 | if (PyErr_Occurred()) SWIG_fail; | |
4572 | } | |
4573 | Py_INCREF(Py_None); resultobj = Py_None; | |
4574 | return resultobj; | |
4575 | fail: | |
4576 | return NULL; | |
4577 | } | |
4578 | ||
4579 | ||
4580 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4581 | PyObject *resultobj; | |
4582 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4583 | int result; | |
4584 | PyObject * obj0 = 0 ; | |
4585 | char *kwnames[] = { | |
4586 | (char *) "self", NULL | |
4587 | }; | |
4588 | ||
4589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
4590 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4591 | { | |
4592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4593 | result = (int)(arg1)->GetAlignVer(); | |
4594 | ||
4595 | wxPyEndAllowThreads(__tstate); | |
4596 | if (PyErr_Occurred()) SWIG_fail; | |
4597 | } | |
4598 | resultobj = PyInt_FromLong((long)result); | |
4599 | return resultobj; | |
4600 | fail: | |
4601 | return NULL; | |
4602 | } | |
4603 | ||
4604 | ||
4605 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4606 | PyObject *resultobj; | |
4607 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4608 | int arg2 ; | |
4609 | int arg3 ; | |
4610 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
4611 | PyObject * obj0 = 0 ; | |
4612 | char *kwnames[] = { | |
4613 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
4614 | }; | |
4615 | ||
4616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
4617 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4618 | { | |
4619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4620 | (arg1)->SetIndent(arg2,arg3,arg4); | |
4621 | ||
4622 | wxPyEndAllowThreads(__tstate); | |
4623 | if (PyErr_Occurred()) SWIG_fail; | |
4624 | } | |
4625 | Py_INCREF(Py_None); resultobj = Py_None; | |
4626 | return resultobj; | |
4627 | fail: | |
4628 | return NULL; | |
4629 | } | |
4630 | ||
4631 | ||
4632 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4633 | PyObject *resultobj; | |
4634 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4635 | int arg2 ; | |
4636 | int result; | |
4637 | PyObject * obj0 = 0 ; | |
4638 | char *kwnames[] = { | |
4639 | (char *) "self",(char *) "ind", NULL | |
4640 | }; | |
4641 | ||
4642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames,&obj0,&arg2)) goto fail; | |
4643 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4644 | { | |
4645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4646 | result = (int)(arg1)->GetIndent(arg2); | |
4647 | ||
4648 | wxPyEndAllowThreads(__tstate); | |
4649 | if (PyErr_Occurred()) SWIG_fail; | |
4650 | } | |
4651 | resultobj = PyInt_FromLong((long)result); | |
4652 | return resultobj; | |
4653 | fail: | |
4654 | return NULL; | |
4655 | } | |
4656 | ||
4657 | ||
4658 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4659 | PyObject *resultobj; | |
4660 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4661 | int arg2 ; | |
4662 | int result; | |
4663 | PyObject * obj0 = 0 ; | |
4664 | char *kwnames[] = { | |
4665 | (char *) "self",(char *) "ind", NULL | |
4666 | }; | |
4667 | ||
4668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&arg2)) goto fail; | |
4669 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4670 | { | |
4671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4672 | result = (int)(arg1)->GetIndentUnits(arg2); | |
4673 | ||
4674 | wxPyEndAllowThreads(__tstate); | |
4675 | if (PyErr_Occurred()) SWIG_fail; | |
4676 | } | |
4677 | resultobj = PyInt_FromLong((long)result); | |
4678 | return resultobj; | |
4679 | fail: | |
4680 | return NULL; | |
4681 | } | |
4682 | ||
4683 | ||
4684 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4685 | PyObject *resultobj; | |
4686 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4687 | wxHtmlTag *arg2 = 0 ; | |
4688 | PyObject * obj0 = 0 ; | |
4689 | PyObject * obj1 = 0 ; | |
4690 | char *kwnames[] = { | |
4691 | (char *) "self",(char *) "tag", NULL | |
4692 | }; | |
4693 | ||
4694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
4695 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4696 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4697 | if (arg2 == NULL) { | |
4698 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4699 | } | |
4700 | { | |
4701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4702 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
4703 | ||
4704 | wxPyEndAllowThreads(__tstate); | |
4705 | if (PyErr_Occurred()) SWIG_fail; | |
4706 | } | |
4707 | Py_INCREF(Py_None); resultobj = Py_None; | |
4708 | return resultobj; | |
4709 | fail: | |
4710 | return NULL; | |
4711 | } | |
4712 | ||
4713 | ||
4714 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4715 | PyObject *resultobj; | |
4716 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4717 | int arg2 ; | |
4718 | int arg3 ; | |
4719 | PyObject * obj0 = 0 ; | |
4720 | char *kwnames[] = { | |
4721 | (char *) "self",(char *) "w",(char *) "units", NULL | |
4722 | }; | |
4723 | ||
4724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4726 | { | |
4727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4728 | (arg1)->SetWidthFloat(arg2,arg3); | |
4729 | ||
4730 | wxPyEndAllowThreads(__tstate); | |
4731 | if (PyErr_Occurred()) SWIG_fail; | |
4732 | } | |
4733 | Py_INCREF(Py_None); resultobj = Py_None; | |
4734 | return resultobj; | |
4735 | fail: | |
4736 | return NULL; | |
4737 | } | |
4738 | ||
4739 | ||
4740 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4741 | PyObject *resultobj; | |
4742 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4743 | wxHtmlTag *arg2 = 0 ; | |
4744 | PyObject * obj0 = 0 ; | |
4745 | PyObject * obj1 = 0 ; | |
4746 | char *kwnames[] = { | |
4747 | (char *) "self",(char *) "tag", NULL | |
4748 | }; | |
4749 | ||
4750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
4751 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4752 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4753 | if (arg2 == NULL) { | |
4754 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4755 | } | |
4756 | { | |
4757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4758 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
4759 | ||
4760 | wxPyEndAllowThreads(__tstate); | |
4761 | if (PyErr_Occurred()) SWIG_fail; | |
4762 | } | |
4763 | Py_INCREF(Py_None); resultobj = Py_None; | |
4764 | return resultobj; | |
4765 | fail: | |
4766 | return NULL; | |
4767 | } | |
4768 | ||
4769 | ||
4770 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4771 | PyObject *resultobj; | |
4772 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4773 | int arg2 ; | |
4774 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
4775 | PyObject * obj0 = 0 ; | |
4776 | char *kwnames[] = { | |
4777 | (char *) "self",(char *) "h",(char *) "align", NULL | |
4778 | }; | |
4779 | ||
4780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4781 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4782 | { | |
4783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4784 | (arg1)->SetMinHeight(arg2,arg3); | |
4785 | ||
4786 | wxPyEndAllowThreads(__tstate); | |
4787 | if (PyErr_Occurred()) SWIG_fail; | |
4788 | } | |
4789 | Py_INCREF(Py_None); resultobj = Py_None; | |
4790 | return resultobj; | |
4791 | fail: | |
4792 | return NULL; | |
4793 | } | |
4794 | ||
4795 | ||
4796 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4797 | PyObject *resultobj; | |
4798 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4799 | wxColour *arg2 = 0 ; | |
4800 | wxColour temp2 ; | |
4801 | PyObject * obj0 = 0 ; | |
4802 | PyObject * obj1 = 0 ; | |
4803 | char *kwnames[] = { | |
4804 | (char *) "self",(char *) "clr", NULL | |
4805 | }; | |
4806 | ||
4807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
4808 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4809 | { | |
4810 | arg2 = &temp2; | |
4811 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4812 | } | |
4813 | { | |
4814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4815 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
4816 | ||
4817 | wxPyEndAllowThreads(__tstate); | |
4818 | if (PyErr_Occurred()) SWIG_fail; | |
4819 | } | |
4820 | Py_INCREF(Py_None); resultobj = Py_None; | |
4821 | return resultobj; | |
4822 | fail: | |
4823 | return NULL; | |
4824 | } | |
4825 | ||
4826 | ||
4827 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4828 | PyObject *resultobj; | |
4829 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4830 | wxColour result; | |
4831 | PyObject * obj0 = 0 ; | |
4832 | char *kwnames[] = { | |
4833 | (char *) "self", NULL | |
4834 | }; | |
4835 | ||
4836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
4837 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4838 | { | |
4839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4840 | result = (arg1)->GetBackgroundColour(); | |
4841 | ||
4842 | wxPyEndAllowThreads(__tstate); | |
4843 | if (PyErr_Occurred()) SWIG_fail; | |
4844 | } | |
4845 | { | |
4846 | wxColour * resultptr; | |
4847 | resultptr = new wxColour((wxColour &) result); | |
4848 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
4849 | } | |
4850 | return resultobj; | |
4851 | fail: | |
4852 | return NULL; | |
4853 | } | |
4854 | ||
4855 | ||
4856 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4857 | PyObject *resultobj; | |
4858 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4859 | wxColour *arg2 = 0 ; | |
4860 | wxColour *arg3 = 0 ; | |
4861 | wxColour temp2 ; | |
4862 | wxColour temp3 ; | |
4863 | PyObject * obj0 = 0 ; | |
4864 | PyObject * obj1 = 0 ; | |
4865 | PyObject * obj2 = 0 ; | |
4866 | char *kwnames[] = { | |
4867 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
4868 | }; | |
4869 | ||
4870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4872 | { | |
4873 | arg2 = &temp2; | |
4874 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4875 | } | |
4876 | { | |
4877 | arg3 = &temp3; | |
4878 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4879 | } | |
4880 | { | |
4881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4882 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
4883 | ||
4884 | wxPyEndAllowThreads(__tstate); | |
4885 | if (PyErr_Occurred()) SWIG_fail; | |
4886 | } | |
4887 | Py_INCREF(Py_None); resultobj = Py_None; | |
4888 | return resultobj; | |
4889 | fail: | |
4890 | return NULL; | |
4891 | } | |
4892 | ||
4893 | ||
4894 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4895 | PyObject *resultobj; | |
4896 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4897 | wxHtmlCell *result; | |
4898 | PyObject * obj0 = 0 ; | |
4899 | char *kwnames[] = { | |
4900 | (char *) "self", NULL | |
4901 | }; | |
4902 | ||
4903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4904 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4905 | { | |
4906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4907 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
4908 | ||
4909 | wxPyEndAllowThreads(__tstate); | |
4910 | if (PyErr_Occurred()) SWIG_fail; | |
4911 | } | |
4912 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4913 | return resultobj; | |
4914 | fail: | |
4915 | return NULL; | |
4916 | } | |
4917 | ||
4918 | ||
4919 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
4920 | PyObject *obj; | |
4921 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4922 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
4923 | Py_INCREF(obj); | |
4924 | return Py_BuildValue((char *)""); | |
4925 | } | |
4926 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4927 | PyObject *resultobj; | |
4928 | wxColour arg1 ; | |
4929 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
4930 | wxHtmlColourCell *result; | |
4931 | wxColour *argp1 ; | |
4932 | PyObject * obj0 = 0 ; | |
4933 | char *kwnames[] = { | |
4934 | (char *) "clr",(char *) "flags", NULL | |
4935 | }; | |
4936 | ||
4937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlColourCell",kwnames,&obj0,&arg2)) goto fail; | |
4938 | if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4939 | arg1 = *argp1; | |
4940 | { | |
4941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4942 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
4943 | ||
4944 | wxPyEndAllowThreads(__tstate); | |
4945 | if (PyErr_Occurred()) SWIG_fail; | |
4946 | } | |
4947 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1); | |
4948 | return resultobj; | |
4949 | fail: | |
4950 | return NULL; | |
4951 | } | |
4952 | ||
4953 | ||
4954 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
4955 | PyObject *obj; | |
4956 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4957 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
4958 | Py_INCREF(obj); | |
4959 | return Py_BuildValue((char *)""); | |
4960 | } | |
4961 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4962 | PyObject *resultobj; | |
4963 | wxFont *arg1 = (wxFont *) 0 ; | |
4964 | wxHtmlFontCell *result; | |
4965 | PyObject * obj0 = 0 ; | |
4966 | char *kwnames[] = { | |
4967 | (char *) "font", NULL | |
4968 | }; | |
4969 | ||
4970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
4971 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4972 | { | |
4973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4974 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
4975 | ||
4976 | wxPyEndAllowThreads(__tstate); | |
4977 | if (PyErr_Occurred()) SWIG_fail; | |
4978 | } | |
4979 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1); | |
4980 | return resultobj; | |
4981 | fail: | |
4982 | return NULL; | |
4983 | } | |
4984 | ||
4985 | ||
4986 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
4987 | PyObject *obj; | |
4988 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4989 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
4990 | Py_INCREF(obj); | |
4991 | return Py_BuildValue((char *)""); | |
4992 | } | |
4993 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4994 | PyObject *resultobj; | |
4995 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4996 | int arg2 = (int) 0 ; | |
4997 | wxHtmlWidgetCell *result; | |
4998 | PyObject * obj0 = 0 ; | |
4999 | char *kwnames[] = { | |
5000 | (char *) "wnd",(char *) "w", NULL | |
5001 | }; | |
5002 | ||
5003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlWidgetCell",kwnames,&obj0,&arg2)) goto fail; | |
5004 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5005 | { | |
5006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5007 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5008 | ||
5009 | wxPyEndAllowThreads(__tstate); | |
5010 | if (PyErr_Occurred()) SWIG_fail; | |
5011 | } | |
5012 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5013 | return resultobj; | |
5014 | fail: | |
5015 | return NULL; | |
5016 | } | |
5017 | ||
5018 | ||
5019 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5020 | PyObject *obj; | |
5021 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5022 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5023 | Py_INCREF(obj); | |
5024 | return Py_BuildValue((char *)""); | |
5025 | } | |
5026 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5027 | PyObject *resultobj; | |
5028 | wxPyHtmlFilter *result; | |
5029 | char *kwnames[] = { | |
5030 | NULL | |
5031 | }; | |
5032 | ||
5033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5034 | { | |
5035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5036 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5037 | ||
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
5041 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5042 | return resultobj; | |
5043 | fail: | |
5044 | return NULL; | |
5045 | } | |
5046 | ||
5047 | ||
5048 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5049 | PyObject *resultobj; | |
5050 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5051 | PyObject *arg2 = (PyObject *) 0 ; | |
5052 | PyObject *arg3 = (PyObject *) 0 ; | |
5053 | PyObject * obj0 = 0 ; | |
5054 | PyObject * obj1 = 0 ; | |
5055 | PyObject * obj2 = 0 ; | |
5056 | char *kwnames[] = { | |
5057 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5058 | }; | |
5059 | ||
5060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5061 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5062 | arg2 = obj1; | |
5063 | arg3 = obj2; | |
5064 | { | |
5065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5066 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5067 | ||
5068 | wxPyEndAllowThreads(__tstate); | |
5069 | if (PyErr_Occurred()) SWIG_fail; | |
5070 | } | |
5071 | Py_INCREF(Py_None); resultobj = Py_None; | |
5072 | return resultobj; | |
5073 | fail: | |
5074 | return NULL; | |
5075 | } | |
5076 | ||
5077 | ||
5078 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5079 | PyObject *obj; | |
5080 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5081 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5082 | Py_INCREF(obj); | |
5083 | return Py_BuildValue((char *)""); | |
5084 | } | |
5085 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5086 | PyObject *resultobj; | |
5087 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5088 | int arg2 = (int) -1 ; | |
5089 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5090 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5091 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5092 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5093 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5094 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5095 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5096 | wxPyHtmlWindow *result; | |
5097 | wxPoint temp3 ; | |
5098 | wxSize temp4 ; | |
e811c8ce | 5099 | bool temp6 = False ; |
d14a1e28 RD |
5100 | PyObject * obj0 = 0 ; |
5101 | PyObject * obj2 = 0 ; | |
5102 | PyObject * obj3 = 0 ; | |
5103 | PyObject * obj5 = 0 ; | |
5104 | char *kwnames[] = { | |
5105 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5106 | }; | |
5107 | ||
5108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOiO:new_HtmlWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5109 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5110 | if (obj2) { | |
5111 | { | |
5112 | arg3 = &temp3; | |
5113 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5114 | } | |
5115 | } | |
5116 | if (obj3) { | |
5117 | { | |
5118 | arg4 = &temp4; | |
5119 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5120 | } | |
5121 | } | |
5122 | if (obj5) { | |
5123 | { | |
5124 | arg6 = wxString_in_helper(obj5); | |
5125 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5126 | temp6 = True; |
d14a1e28 RD |
5127 | } |
5128 | } | |
5129 | { | |
5130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5131 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5132 | ||
5133 | wxPyEndAllowThreads(__tstate); | |
5134 | if (PyErr_Occurred()) SWIG_fail; | |
5135 | } | |
5136 | { | |
5137 | resultobj = wxPyMake_wxObject(result); | |
5138 | } | |
5139 | { | |
5140 | if (temp6) | |
5141 | delete arg6; | |
5142 | } | |
5143 | return resultobj; | |
5144 | fail: | |
5145 | { | |
5146 | if (temp6) | |
5147 | delete arg6; | |
5148 | } | |
5149 | return NULL; | |
5150 | } | |
5151 | ||
5152 | ||
5153 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5154 | PyObject *resultobj; | |
5155 | wxPyHtmlWindow *result; | |
5156 | char *kwnames[] = { | |
5157 | NULL | |
5158 | }; | |
5159 | ||
5160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5161 | { | |
5162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5163 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5164 | ||
5165 | wxPyEndAllowThreads(__tstate); | |
5166 | if (PyErr_Occurred()) SWIG_fail; | |
5167 | } | |
5168 | { | |
5169 | resultobj = wxPyMake_wxObject(result); | |
5170 | } | |
5171 | return resultobj; | |
5172 | fail: | |
5173 | return NULL; | |
5174 | } | |
5175 | ||
5176 | ||
5177 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5178 | PyObject *resultobj; | |
5179 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5180 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5181 | int arg3 = (int) -1 ; | |
5182 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5183 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5184 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5185 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5186 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5187 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5188 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5189 | bool result; | |
5190 | wxPoint temp4 ; | |
5191 | wxSize temp5 ; | |
e811c8ce | 5192 | bool temp7 = False ; |
d14a1e28 RD |
5193 | PyObject * obj0 = 0 ; |
5194 | PyObject * obj1 = 0 ; | |
5195 | PyObject * obj3 = 0 ; | |
5196 | PyObject * obj4 = 0 ; | |
5197 | PyObject * obj6 = 0 ; | |
5198 | char *kwnames[] = { | |
5199 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5200 | }; | |
5201 | ||
5202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5203 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5204 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5205 | if (obj3) { | |
5206 | { | |
5207 | arg4 = &temp4; | |
5208 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5209 | } | |
5210 | } | |
5211 | if (obj4) { | |
5212 | { | |
5213 | arg5 = &temp5; | |
5214 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5215 | } | |
5216 | } | |
5217 | if (obj6) { | |
5218 | { | |
5219 | arg7 = wxString_in_helper(obj6); | |
5220 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5221 | temp7 = True; |
d14a1e28 RD |
5222 | } |
5223 | } | |
5224 | { | |
5225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5226 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5227 | ||
5228 | wxPyEndAllowThreads(__tstate); | |
5229 | if (PyErr_Occurred()) SWIG_fail; | |
5230 | } | |
5231 | resultobj = PyInt_FromLong((long)result); | |
5232 | { | |
5233 | if (temp7) | |
5234 | delete arg7; | |
5235 | } | |
5236 | return resultobj; | |
5237 | fail: | |
5238 | { | |
5239 | if (temp7) | |
5240 | delete arg7; | |
5241 | } | |
5242 | return NULL; | |
5243 | } | |
5244 | ||
5245 | ||
5246 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5247 | PyObject *resultobj; | |
5248 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5249 | PyObject *arg2 = (PyObject *) 0 ; | |
5250 | PyObject *arg3 = (PyObject *) 0 ; | |
5251 | PyObject * obj0 = 0 ; | |
5252 | PyObject * obj1 = 0 ; | |
5253 | PyObject * obj2 = 0 ; | |
5254 | char *kwnames[] = { | |
5255 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5256 | }; | |
5257 | ||
5258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5259 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5260 | arg2 = obj1; | |
5261 | arg3 = obj2; | |
5262 | { | |
5263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5264 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5265 | ||
5266 | wxPyEndAllowThreads(__tstate); | |
5267 | if (PyErr_Occurred()) SWIG_fail; | |
5268 | } | |
5269 | Py_INCREF(Py_None); resultobj = Py_None; | |
5270 | return resultobj; | |
5271 | fail: | |
5272 | return NULL; | |
5273 | } | |
5274 | ||
5275 | ||
5276 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5277 | PyObject *resultobj; | |
5278 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5279 | wxString *arg2 = 0 ; | |
5280 | bool result; | |
e811c8ce | 5281 | bool temp2 = False ; |
d14a1e28 RD |
5282 | PyObject * obj0 = 0 ; |
5283 | PyObject * obj1 = 0 ; | |
5284 | char *kwnames[] = { | |
5285 | (char *) "self",(char *) "source", NULL | |
5286 | }; | |
5287 | ||
5288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
5289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5290 | { | |
5291 | arg2 = wxString_in_helper(obj1); | |
5292 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5293 | temp2 = True; |
d14a1e28 RD |
5294 | } |
5295 | { | |
5296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5297 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
5298 | ||
5299 | wxPyEndAllowThreads(__tstate); | |
5300 | if (PyErr_Occurred()) SWIG_fail; | |
5301 | } | |
5302 | resultobj = PyInt_FromLong((long)result); | |
5303 | { | |
5304 | if (temp2) | |
5305 | delete arg2; | |
5306 | } | |
5307 | return resultobj; | |
5308 | fail: | |
5309 | { | |
5310 | if (temp2) | |
5311 | delete arg2; | |
5312 | } | |
5313 | return NULL; | |
5314 | } | |
5315 | ||
5316 | ||
5317 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5318 | PyObject *resultobj; | |
5319 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5320 | wxString *arg2 = 0 ; | |
5321 | bool result; | |
e811c8ce | 5322 | bool temp2 = False ; |
d14a1e28 RD |
5323 | PyObject * obj0 = 0 ; |
5324 | PyObject * obj1 = 0 ; | |
5325 | char *kwnames[] = { | |
5326 | (char *) "self",(char *) "location", NULL | |
5327 | }; | |
5328 | ||
5329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
5330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5331 | { | |
5332 | arg2 = wxString_in_helper(obj1); | |
5333 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5334 | temp2 = True; |
d14a1e28 RD |
5335 | } |
5336 | { | |
5337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5338 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
5339 | ||
5340 | wxPyEndAllowThreads(__tstate); | |
5341 | if (PyErr_Occurred()) SWIG_fail; | |
5342 | } | |
5343 | resultobj = PyInt_FromLong((long)result); | |
5344 | { | |
5345 | if (temp2) | |
5346 | delete arg2; | |
5347 | } | |
5348 | return resultobj; | |
5349 | fail: | |
5350 | { | |
5351 | if (temp2) | |
5352 | delete arg2; | |
5353 | } | |
5354 | return NULL; | |
5355 | } | |
5356 | ||
5357 | ||
5358 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5359 | PyObject *resultobj; | |
5360 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5361 | wxString *arg2 = 0 ; | |
5362 | bool result; | |
e811c8ce | 5363 | bool temp2 = False ; |
d14a1e28 RD |
5364 | PyObject * obj0 = 0 ; |
5365 | PyObject * obj1 = 0 ; | |
5366 | char *kwnames[] = { | |
5367 | (char *) "self",(char *) "filename", NULL | |
5368 | }; | |
5369 | ||
5370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
5371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5372 | { | |
5373 | arg2 = wxString_in_helper(obj1); | |
5374 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5375 | temp2 = True; |
d14a1e28 RD |
5376 | } |
5377 | { | |
5378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5379 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
5380 | ||
5381 | wxPyEndAllowThreads(__tstate); | |
5382 | if (PyErr_Occurred()) SWIG_fail; | |
5383 | } | |
5384 | resultobj = PyInt_FromLong((long)result); | |
5385 | { | |
5386 | if (temp2) | |
5387 | delete arg2; | |
5388 | } | |
5389 | return resultobj; | |
5390 | fail: | |
5391 | { | |
5392 | if (temp2) | |
5393 | delete arg2; | |
5394 | } | |
5395 | return NULL; | |
5396 | } | |
5397 | ||
5398 | ||
5399 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5400 | PyObject *resultobj; | |
5401 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5402 | wxString *arg2 = 0 ; | |
5403 | bool result; | |
e811c8ce | 5404 | bool temp2 = False ; |
d14a1e28 RD |
5405 | PyObject * obj0 = 0 ; |
5406 | PyObject * obj1 = 0 ; | |
5407 | char *kwnames[] = { | |
5408 | (char *) "self",(char *) "source", NULL | |
5409 | }; | |
5410 | ||
5411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
5412 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5413 | { | |
5414 | arg2 = wxString_in_helper(obj1); | |
5415 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5416 | temp2 = True; |
d14a1e28 RD |
5417 | } |
5418 | { | |
5419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5420 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
5421 | ||
5422 | wxPyEndAllowThreads(__tstate); | |
5423 | if (PyErr_Occurred()) SWIG_fail; | |
5424 | } | |
5425 | resultobj = PyInt_FromLong((long)result); | |
5426 | { | |
5427 | if (temp2) | |
5428 | delete arg2; | |
5429 | } | |
5430 | return resultobj; | |
5431 | fail: | |
5432 | { | |
5433 | if (temp2) | |
5434 | delete arg2; | |
5435 | } | |
5436 | return NULL; | |
5437 | } | |
5438 | ||
5439 | ||
5440 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5441 | PyObject *resultobj; | |
5442 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5443 | wxString result; | |
5444 | PyObject * obj0 = 0 ; | |
5445 | char *kwnames[] = { | |
5446 | (char *) "self", NULL | |
5447 | }; | |
5448 | ||
5449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
5450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5451 | { | |
5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5453 | result = (arg1)->GetOpenedPage(); | |
5454 | ||
5455 | wxPyEndAllowThreads(__tstate); | |
5456 | if (PyErr_Occurred()) SWIG_fail; | |
5457 | } | |
5458 | { | |
5459 | #if wxUSE_UNICODE | |
5460 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5461 | #else | |
5462 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5463 | #endif | |
5464 | } | |
5465 | return resultobj; | |
5466 | fail: | |
5467 | return NULL; | |
5468 | } | |
5469 | ||
5470 | ||
5471 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5472 | PyObject *resultobj; | |
5473 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5474 | wxString result; | |
5475 | PyObject * obj0 = 0 ; | |
5476 | char *kwnames[] = { | |
5477 | (char *) "self", NULL | |
5478 | }; | |
5479 | ||
5480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
5481 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5482 | { | |
5483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5484 | result = (arg1)->GetOpenedAnchor(); | |
5485 | ||
5486 | wxPyEndAllowThreads(__tstate); | |
5487 | if (PyErr_Occurred()) SWIG_fail; | |
5488 | } | |
5489 | { | |
5490 | #if wxUSE_UNICODE | |
5491 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5492 | #else | |
5493 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5494 | #endif | |
5495 | } | |
5496 | return resultobj; | |
5497 | fail: | |
5498 | return NULL; | |
5499 | } | |
5500 | ||
5501 | ||
5502 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5503 | PyObject *resultobj; | |
5504 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5505 | wxString result; | |
5506 | PyObject * obj0 = 0 ; | |
5507 | char *kwnames[] = { | |
5508 | (char *) "self", NULL | |
5509 | }; | |
5510 | ||
5511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
5512 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5513 | { | |
5514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5515 | result = (arg1)->GetOpenedPageTitle(); | |
5516 | ||
5517 | wxPyEndAllowThreads(__tstate); | |
5518 | if (PyErr_Occurred()) SWIG_fail; | |
5519 | } | |
5520 | { | |
5521 | #if wxUSE_UNICODE | |
5522 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5523 | #else | |
5524 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5525 | #endif | |
5526 | } | |
5527 | return resultobj; | |
5528 | fail: | |
5529 | return NULL; | |
5530 | } | |
5531 | ||
5532 | ||
5533 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5534 | PyObject *resultobj; | |
5535 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5536 | wxFrame *arg2 = (wxFrame *) 0 ; | |
5537 | wxString *arg3 = 0 ; | |
e811c8ce | 5538 | bool temp3 = False ; |
d14a1e28 RD |
5539 | PyObject * obj0 = 0 ; |
5540 | PyObject * obj1 = 0 ; | |
5541 | PyObject * obj2 = 0 ; | |
5542 | char *kwnames[] = { | |
5543 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
5544 | }; | |
5545 | ||
5546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5547 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5548 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5549 | { | |
5550 | arg3 = wxString_in_helper(obj2); | |
5551 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 5552 | temp3 = True; |
d14a1e28 RD |
5553 | } |
5554 | { | |
5555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5556 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
5557 | ||
5558 | wxPyEndAllowThreads(__tstate); | |
5559 | if (PyErr_Occurred()) SWIG_fail; | |
5560 | } | |
5561 | Py_INCREF(Py_None); resultobj = Py_None; | |
5562 | { | |
5563 | if (temp3) | |
5564 | delete arg3; | |
5565 | } | |
5566 | return resultobj; | |
5567 | fail: | |
5568 | { | |
5569 | if (temp3) | |
5570 | delete arg3; | |
5571 | } | |
5572 | return NULL; | |
5573 | } | |
5574 | ||
5575 | ||
5576 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5577 | PyObject *resultobj; | |
5578 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5579 | wxFrame *result; | |
5580 | PyObject * obj0 = 0 ; | |
5581 | char *kwnames[] = { | |
5582 | (char *) "self", NULL | |
5583 | }; | |
5584 | ||
5585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
5586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5587 | { | |
5588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5589 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
5590 | ||
5591 | wxPyEndAllowThreads(__tstate); | |
5592 | if (PyErr_Occurred()) SWIG_fail; | |
5593 | } | |
5594 | { | |
5595 | resultobj = wxPyMake_wxObject(result); | |
5596 | } | |
5597 | return resultobj; | |
5598 | fail: | |
5599 | return NULL; | |
5600 | } | |
5601 | ||
5602 | ||
5603 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5604 | PyObject *resultobj; | |
5605 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5606 | int arg2 ; | |
5607 | PyObject * obj0 = 0 ; | |
5608 | char *kwnames[] = { | |
5609 | (char *) "self",(char *) "bar", NULL | |
5610 | }; | |
5611 | ||
5612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&arg2)) goto fail; | |
5613 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5614 | { | |
5615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5616 | (arg1)->SetRelatedStatusBar(arg2); | |
5617 | ||
5618 | wxPyEndAllowThreads(__tstate); | |
5619 | if (PyErr_Occurred()) SWIG_fail; | |
5620 | } | |
5621 | Py_INCREF(Py_None); resultobj = Py_None; | |
5622 | return resultobj; | |
5623 | fail: | |
5624 | return NULL; | |
5625 | } | |
5626 | ||
5627 | ||
5628 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5629 | PyObject *resultobj; | |
5630 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5631 | wxString arg2 ; | |
5632 | wxString arg3 ; | |
5633 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
5634 | PyObject * obj0 = 0 ; |
5635 | PyObject * obj1 = 0 ; | |
5636 | PyObject * obj2 = 0 ; | |
5637 | PyObject * obj3 = 0 ; | |
5638 | char *kwnames[] = { | |
5639 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
5640 | }; | |
5641 | ||
5642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5643 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
5644 | { |
5645 | wxString* sptr = wxString_in_helper(obj1); | |
5646 | if (sptr == NULL) SWIG_fail; | |
5647 | arg2 = *sptr; | |
5648 | delete sptr; | |
5649 | } | |
5650 | { | |
5651 | wxString* sptr = wxString_in_helper(obj2); | |
5652 | if (sptr == NULL) SWIG_fail; | |
5653 | arg3 = *sptr; | |
5654 | delete sptr; | |
5655 | } | |
d14a1e28 RD |
5656 | if (obj3) { |
5657 | arg4 = obj3; | |
5658 | } | |
5659 | { | |
5660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5661 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
5662 | ||
5663 | wxPyEndAllowThreads(__tstate); | |
5664 | if (PyErr_Occurred()) SWIG_fail; | |
5665 | } | |
5666 | Py_INCREF(Py_None); resultobj = Py_None; | |
5667 | return resultobj; | |
5668 | fail: | |
5669 | return NULL; | |
5670 | } | |
5671 | ||
5672 | ||
5673 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5674 | PyObject *resultobj; | |
5675 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5676 | wxString *arg2 = 0 ; | |
e811c8ce | 5677 | bool temp2 = False ; |
d14a1e28 RD |
5678 | PyObject * obj0 = 0 ; |
5679 | PyObject * obj1 = 0 ; | |
5680 | char *kwnames[] = { | |
5681 | (char *) "self",(char *) "title", NULL | |
5682 | }; | |
5683 | ||
5684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
5685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5686 | { | |
5687 | arg2 = wxString_in_helper(obj1); | |
5688 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5689 | temp2 = True; |
d14a1e28 RD |
5690 | } |
5691 | { | |
5692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5693 | (arg1)->SetTitle((wxString const &)*arg2); | |
5694 | ||
5695 | wxPyEndAllowThreads(__tstate); | |
5696 | if (PyErr_Occurred()) SWIG_fail; | |
5697 | } | |
5698 | Py_INCREF(Py_None); resultobj = Py_None; | |
5699 | { | |
5700 | if (temp2) | |
5701 | delete arg2; | |
5702 | } | |
5703 | return resultobj; | |
5704 | fail: | |
5705 | { | |
5706 | if (temp2) | |
5707 | delete arg2; | |
5708 | } | |
5709 | return NULL; | |
5710 | } | |
5711 | ||
5712 | ||
5713 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5714 | PyObject *resultobj; | |
5715 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5716 | int arg2 ; | |
5717 | PyObject * obj0 = 0 ; | |
5718 | char *kwnames[] = { | |
5719 | (char *) "self",(char *) "b", NULL | |
5720 | }; | |
5721 | ||
5722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetBorders",kwnames,&obj0,&arg2)) goto fail; | |
5723 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5724 | { | |
5725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5726 | (arg1)->SetBorders(arg2); | |
5727 | ||
5728 | wxPyEndAllowThreads(__tstate); | |
5729 | if (PyErr_Occurred()) SWIG_fail; | |
5730 | } | |
5731 | Py_INCREF(Py_None); resultobj = Py_None; | |
5732 | return resultobj; | |
5733 | fail: | |
5734 | return NULL; | |
5735 | } | |
5736 | ||
5737 | ||
5738 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5739 | PyObject *resultobj; | |
5740 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5741 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5742 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5743 | PyObject * obj0 = 0 ; |
5744 | PyObject * obj1 = 0 ; | |
5745 | PyObject * obj2 = 0 ; | |
5746 | char *kwnames[] = { | |
5747 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5748 | }; | |
5749 | ||
5750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5751 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5752 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5753 | if (obj2) { | |
e811c8ce RD |
5754 | { |
5755 | wxString* sptr = wxString_in_helper(obj2); | |
5756 | if (sptr == NULL) SWIG_fail; | |
5757 | arg3 = *sptr; | |
5758 | delete sptr; | |
5759 | } | |
d14a1e28 RD |
5760 | } |
5761 | { | |
5762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5763 | (arg1)->ReadCustomization(arg2,arg3); | |
5764 | ||
5765 | wxPyEndAllowThreads(__tstate); | |
5766 | if (PyErr_Occurred()) SWIG_fail; | |
5767 | } | |
5768 | Py_INCREF(Py_None); resultobj = Py_None; | |
5769 | return resultobj; | |
5770 | fail: | |
5771 | return NULL; | |
5772 | } | |
5773 | ||
5774 | ||
5775 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5776 | PyObject *resultobj; | |
5777 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5778 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5779 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5780 | PyObject * obj0 = 0 ; |
5781 | PyObject * obj1 = 0 ; | |
5782 | PyObject * obj2 = 0 ; | |
5783 | char *kwnames[] = { | |
5784 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5785 | }; | |
5786 | ||
5787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5788 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5789 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5790 | if (obj2) { | |
e811c8ce RD |
5791 | { |
5792 | wxString* sptr = wxString_in_helper(obj2); | |
5793 | if (sptr == NULL) SWIG_fail; | |
5794 | arg3 = *sptr; | |
5795 | delete sptr; | |
5796 | } | |
d14a1e28 RD |
5797 | } |
5798 | { | |
5799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5800 | (arg1)->WriteCustomization(arg2,arg3); | |
5801 | ||
5802 | wxPyEndAllowThreads(__tstate); | |
5803 | if (PyErr_Occurred()) SWIG_fail; | |
5804 | } | |
5805 | Py_INCREF(Py_None); resultobj = Py_None; | |
5806 | return resultobj; | |
5807 | fail: | |
5808 | return NULL; | |
5809 | } | |
5810 | ||
5811 | ||
5812 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5813 | PyObject *resultobj; | |
5814 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5815 | bool result; | |
5816 | PyObject * obj0 = 0 ; | |
5817 | char *kwnames[] = { | |
5818 | (char *) "self", NULL | |
5819 | }; | |
5820 | ||
5821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
5822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5823 | { | |
5824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5825 | result = (bool)(arg1)->HistoryBack(); | |
5826 | ||
5827 | wxPyEndAllowThreads(__tstate); | |
5828 | if (PyErr_Occurred()) SWIG_fail; | |
5829 | } | |
5830 | resultobj = PyInt_FromLong((long)result); | |
5831 | return resultobj; | |
5832 | fail: | |
5833 | return NULL; | |
5834 | } | |
5835 | ||
5836 | ||
5837 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5838 | PyObject *resultobj; | |
5839 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5840 | bool result; | |
5841 | PyObject * obj0 = 0 ; | |
5842 | char *kwnames[] = { | |
5843 | (char *) "self", NULL | |
5844 | }; | |
5845 | ||
5846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
5847 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5848 | { | |
5849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5850 | result = (bool)(arg1)->HistoryForward(); | |
5851 | ||
5852 | wxPyEndAllowThreads(__tstate); | |
5853 | if (PyErr_Occurred()) SWIG_fail; | |
5854 | } | |
5855 | resultobj = PyInt_FromLong((long)result); | |
5856 | return resultobj; | |
5857 | fail: | |
5858 | return NULL; | |
5859 | } | |
5860 | ||
5861 | ||
5862 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5863 | PyObject *resultobj; | |
5864 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5865 | bool result; | |
5866 | PyObject * obj0 = 0 ; | |
5867 | char *kwnames[] = { | |
5868 | (char *) "self", NULL | |
5869 | }; | |
5870 | ||
5871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
5872 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5873 | { | |
5874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5875 | result = (bool)(arg1)->HistoryCanBack(); | |
5876 | ||
5877 | wxPyEndAllowThreads(__tstate); | |
5878 | if (PyErr_Occurred()) SWIG_fail; | |
5879 | } | |
5880 | resultobj = PyInt_FromLong((long)result); | |
5881 | return resultobj; | |
5882 | fail: | |
5883 | return NULL; | |
5884 | } | |
5885 | ||
5886 | ||
5887 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5888 | PyObject *resultobj; | |
5889 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5890 | bool result; | |
5891 | PyObject * obj0 = 0 ; | |
5892 | char *kwnames[] = { | |
5893 | (char *) "self", NULL | |
5894 | }; | |
5895 | ||
5896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
5897 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5898 | { | |
5899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5900 | result = (bool)(arg1)->HistoryCanForward(); | |
5901 | ||
5902 | wxPyEndAllowThreads(__tstate); | |
5903 | if (PyErr_Occurred()) SWIG_fail; | |
5904 | } | |
5905 | resultobj = PyInt_FromLong((long)result); | |
5906 | return resultobj; | |
5907 | fail: | |
5908 | return NULL; | |
5909 | } | |
5910 | ||
5911 | ||
5912 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5913 | PyObject *resultobj; | |
5914 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5915 | PyObject * obj0 = 0 ; | |
5916 | char *kwnames[] = { | |
5917 | (char *) "self", NULL | |
5918 | }; | |
5919 | ||
5920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
5921 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5922 | { | |
5923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5924 | (arg1)->HistoryClear(); | |
5925 | ||
5926 | wxPyEndAllowThreads(__tstate); | |
5927 | if (PyErr_Occurred()) SWIG_fail; | |
5928 | } | |
5929 | Py_INCREF(Py_None); resultobj = Py_None; | |
5930 | return resultobj; | |
5931 | fail: | |
5932 | return NULL; | |
5933 | } | |
5934 | ||
5935 | ||
5936 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5937 | PyObject *resultobj; | |
5938 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5939 | wxHtmlContainerCell *result; | |
5940 | PyObject * obj0 = 0 ; | |
5941 | char *kwnames[] = { | |
5942 | (char *) "self", NULL | |
5943 | }; | |
5944 | ||
5945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
5946 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5947 | { | |
5948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5949 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
5950 | ||
5951 | wxPyEndAllowThreads(__tstate); | |
5952 | if (PyErr_Occurred()) SWIG_fail; | |
5953 | } | |
5954 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
5955 | return resultobj; | |
5956 | fail: | |
5957 | return NULL; | |
5958 | } | |
5959 | ||
5960 | ||
5961 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5962 | PyObject *resultobj; | |
5963 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5964 | wxHtmlWinParser *result; | |
5965 | PyObject * obj0 = 0 ; | |
5966 | char *kwnames[] = { | |
5967 | (char *) "self", NULL | |
5968 | }; | |
5969 | ||
5970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
5971 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5972 | { | |
5973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5974 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5975 | ||
5976 | wxPyEndAllowThreads(__tstate); | |
5977 | if (PyErr_Occurred()) SWIG_fail; | |
5978 | } | |
5979 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
5980 | return resultobj; | |
5981 | fail: | |
5982 | return NULL; | |
5983 | } | |
5984 | ||
5985 | ||
5986 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5987 | PyObject *resultobj; | |
5988 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5989 | wxString *arg2 = 0 ; | |
5990 | bool result; | |
e811c8ce | 5991 | bool temp2 = False ; |
d14a1e28 RD |
5992 | PyObject * obj0 = 0 ; |
5993 | PyObject * obj1 = 0 ; | |
5994 | char *kwnames[] = { | |
5995 | (char *) "self",(char *) "anchor", NULL | |
5996 | }; | |
5997 | ||
5998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
5999 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6000 | { | |
6001 | arg2 = wxString_in_helper(obj1); | |
6002 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6003 | temp2 = True; |
d14a1e28 RD |
6004 | } |
6005 | { | |
6006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6007 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
6008 | ||
6009 | wxPyEndAllowThreads(__tstate); | |
6010 | if (PyErr_Occurred()) SWIG_fail; | |
6011 | } | |
6012 | resultobj = PyInt_FromLong((long)result); | |
6013 | { | |
6014 | if (temp2) | |
6015 | delete arg2; | |
6016 | } | |
6017 | return resultobj; | |
6018 | fail: | |
6019 | { | |
6020 | if (temp2) | |
6021 | delete arg2; | |
6022 | } | |
6023 | return NULL; | |
6024 | } | |
6025 | ||
6026 | ||
6027 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6028 | PyObject *resultobj; | |
6029 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6030 | wxString *arg2 = 0 ; | |
6031 | bool result; | |
e811c8ce | 6032 | bool temp2 = False ; |
d14a1e28 RD |
6033 | PyObject * obj0 = 0 ; |
6034 | PyObject * obj1 = 0 ; | |
6035 | char *kwnames[] = { | |
6036 | (char *) "self",(char *) "anchor", NULL | |
6037 | }; | |
6038 | ||
6039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6040 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6041 | { | |
6042 | arg2 = wxString_in_helper(obj1); | |
6043 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6044 | temp2 = True; |
d14a1e28 RD |
6045 | } |
6046 | { | |
6047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6048 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6049 | ||
6050 | wxPyEndAllowThreads(__tstate); | |
6051 | if (PyErr_Occurred()) SWIG_fail; | |
6052 | } | |
6053 | resultobj = PyInt_FromLong((long)result); | |
6054 | { | |
6055 | if (temp2) | |
6056 | delete arg2; | |
6057 | } | |
6058 | return resultobj; | |
6059 | fail: | |
6060 | { | |
6061 | if (temp2) | |
6062 | delete arg2; | |
6063 | } | |
6064 | return NULL; | |
6065 | } | |
6066 | ||
6067 | ||
6068 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6069 | PyObject *resultobj; | |
6070 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6071 | PyObject * obj0 = 0 ; | |
6072 | char *kwnames[] = { | |
6073 | (char *) "filter", NULL | |
6074 | }; | |
6075 | ||
6076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6077 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6078 | { | |
6079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6080 | wxPyHtmlWindow::AddFilter(arg1); | |
6081 | ||
6082 | wxPyEndAllowThreads(__tstate); | |
6083 | if (PyErr_Occurred()) SWIG_fail; | |
6084 | } | |
6085 | Py_INCREF(Py_None); resultobj = Py_None; | |
6086 | return resultobj; | |
6087 | fail: | |
6088 | return NULL; | |
6089 | } | |
6090 | ||
6091 | ||
6092 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6093 | PyObject *resultobj; | |
6094 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6095 | wxHtmlLinkInfo *arg2 = 0 ; | |
6096 | PyObject * obj0 = 0 ; | |
6097 | PyObject * obj1 = 0 ; | |
6098 | char *kwnames[] = { | |
6099 | (char *) "self",(char *) "link", NULL | |
6100 | }; | |
6101 | ||
6102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
6103 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6104 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6105 | if (arg2 == NULL) { | |
6106 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6107 | } | |
6108 | { | |
6109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6110 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
6111 | ||
6112 | wxPyEndAllowThreads(__tstate); | |
6113 | if (PyErr_Occurred()) SWIG_fail; | |
6114 | } | |
6115 | Py_INCREF(Py_None); resultobj = Py_None; | |
6116 | return resultobj; | |
6117 | fail: | |
6118 | return NULL; | |
6119 | } | |
6120 | ||
6121 | ||
6122 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6123 | PyObject *resultobj; | |
6124 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6125 | wxString *arg2 = 0 ; | |
e811c8ce | 6126 | bool temp2 = False ; |
d14a1e28 RD |
6127 | PyObject * obj0 = 0 ; |
6128 | PyObject * obj1 = 0 ; | |
6129 | char *kwnames[] = { | |
6130 | (char *) "self",(char *) "title", NULL | |
6131 | }; | |
6132 | ||
6133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6134 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6135 | { | |
6136 | arg2 = wxString_in_helper(obj1); | |
6137 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6138 | temp2 = True; |
d14a1e28 RD |
6139 | } |
6140 | { | |
6141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6142 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
6143 | ||
6144 | wxPyEndAllowThreads(__tstate); | |
6145 | if (PyErr_Occurred()) SWIG_fail; | |
6146 | } | |
6147 | Py_INCREF(Py_None); resultobj = Py_None; | |
6148 | { | |
6149 | if (temp2) | |
6150 | delete arg2; | |
6151 | } | |
6152 | return resultobj; | |
6153 | fail: | |
6154 | { | |
6155 | if (temp2) | |
6156 | delete arg2; | |
6157 | } | |
6158 | return NULL; | |
6159 | } | |
6160 | ||
6161 | ||
6162 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6163 | PyObject *resultobj; | |
6164 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6165 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6166 | int arg3 ; |
6167 | int arg4 ; | |
d14a1e28 RD |
6168 | PyObject * obj0 = 0 ; |
6169 | PyObject * obj1 = 0 ; | |
6170 | char *kwnames[] = { | |
6171 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
6172 | }; | |
6173 | ||
6174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; | |
6175 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6176 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6177 | { | |
6178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6179 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
6180 | ||
6181 | wxPyEndAllowThreads(__tstate); | |
6182 | if (PyErr_Occurred()) SWIG_fail; | |
6183 | } | |
6184 | Py_INCREF(Py_None); resultobj = Py_None; | |
6185 | return resultobj; | |
6186 | fail: | |
6187 | return NULL; | |
6188 | } | |
6189 | ||
6190 | ||
6191 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6192 | PyObject *resultobj; | |
6193 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6194 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6195 | int arg3 ; |
6196 | int arg4 ; | |
d14a1e28 RD |
6197 | wxMouseEvent *arg5 = 0 ; |
6198 | PyObject * obj0 = 0 ; | |
6199 | PyObject * obj1 = 0 ; | |
6200 | PyObject * obj4 = 0 ; | |
6201 | char *kwnames[] = { | |
6202 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
6203 | }; | |
6204 | ||
6205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
6206 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6207 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6208 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6209 | if (arg5 == NULL) { | |
6210 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6211 | } | |
6212 | { | |
6213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6214 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
6215 | ||
6216 | wxPyEndAllowThreads(__tstate); | |
6217 | if (PyErr_Occurred()) SWIG_fail; | |
6218 | } | |
6219 | Py_INCREF(Py_None); resultobj = Py_None; | |
6220 | return resultobj; | |
6221 | fail: | |
6222 | return NULL; | |
6223 | } | |
6224 | ||
6225 | ||
6226 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
6227 | PyObject *obj; | |
6228 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6229 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
6230 | Py_INCREF(obj); | |
6231 | return Py_BuildValue((char *)""); | |
6232 | } | |
6233 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6234 | PyObject *resultobj; | |
6235 | wxHtmlDCRenderer *result; | |
6236 | char *kwnames[] = { | |
6237 | NULL | |
6238 | }; | |
6239 | ||
6240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
6241 | { | |
6242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6243 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
6244 | ||
6245 | wxPyEndAllowThreads(__tstate); | |
6246 | if (PyErr_Occurred()) SWIG_fail; | |
6247 | } | |
6248 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
6249 | return resultobj; | |
6250 | fail: | |
6251 | return NULL; | |
6252 | } | |
6253 | ||
6254 | ||
6255 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6256 | PyObject *resultobj; | |
6257 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6258 | PyObject * obj0 = 0 ; | |
6259 | char *kwnames[] = { | |
6260 | (char *) "self", NULL | |
6261 | }; | |
6262 | ||
6263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
6264 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6265 | { | |
6266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6267 | delete arg1; | |
6268 | ||
6269 | wxPyEndAllowThreads(__tstate); | |
6270 | if (PyErr_Occurred()) SWIG_fail; | |
6271 | } | |
6272 | Py_INCREF(Py_None); resultobj = Py_None; | |
6273 | return resultobj; | |
6274 | fail: | |
6275 | return NULL; | |
6276 | } | |
6277 | ||
6278 | ||
6279 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6280 | PyObject *resultobj; | |
6281 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6282 | wxDC *arg2 = (wxDC *) 0 ; | |
6283 | int arg3 ; | |
6284 | PyObject * obj0 = 0 ; | |
6285 | PyObject * obj1 = 0 ; | |
6286 | char *kwnames[] = { | |
6287 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
6288 | }; | |
6289 | ||
6290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6291 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6292 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6293 | { | |
6294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6295 | (arg1)->SetDC(arg2,arg3); | |
6296 | ||
6297 | wxPyEndAllowThreads(__tstate); | |
6298 | if (PyErr_Occurred()) SWIG_fail; | |
6299 | } | |
6300 | Py_INCREF(Py_None); resultobj = Py_None; | |
6301 | return resultobj; | |
6302 | fail: | |
6303 | return NULL; | |
6304 | } | |
6305 | ||
6306 | ||
6307 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6308 | PyObject *resultobj; | |
6309 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6310 | int arg2 ; | |
6311 | int arg3 ; | |
6312 | PyObject * obj0 = 0 ; | |
6313 | char *kwnames[] = { | |
6314 | (char *) "self",(char *) "width",(char *) "height", NULL | |
6315 | }; | |
6316 | ||
6317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6319 | { | |
6320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6321 | (arg1)->SetSize(arg2,arg3); | |
6322 | ||
6323 | wxPyEndAllowThreads(__tstate); | |
6324 | if (PyErr_Occurred()) SWIG_fail; | |
6325 | } | |
6326 | Py_INCREF(Py_None); resultobj = Py_None; | |
6327 | return resultobj; | |
6328 | fail: | |
6329 | return NULL; | |
6330 | } | |
6331 | ||
6332 | ||
6333 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6334 | PyObject *resultobj; | |
6335 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6336 | wxString *arg2 = 0 ; | |
6337 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6338 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6339 | bool arg4 = (bool) True ; |
6340 | bool temp2 = False ; | |
6341 | bool temp3 = False ; | |
d14a1e28 RD |
6342 | PyObject * obj0 = 0 ; |
6343 | PyObject * obj1 = 0 ; | |
6344 | PyObject * obj2 = 0 ; | |
6345 | PyObject * obj3 = 0 ; | |
6346 | char *kwnames[] = { | |
6347 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6348 | }; | |
6349 | ||
6350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6351 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6352 | { | |
6353 | arg2 = wxString_in_helper(obj1); | |
6354 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6355 | temp2 = True; |
d14a1e28 RD |
6356 | } |
6357 | if (obj2) { | |
6358 | { | |
6359 | arg3 = wxString_in_helper(obj2); | |
6360 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6361 | temp3 = True; |
d14a1e28 RD |
6362 | } |
6363 | } | |
6364 | if (obj3) { | |
6365 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6366 | if (PyErr_Occurred()) SWIG_fail; | |
6367 | } | |
6368 | { | |
6369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6370 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6371 | ||
6372 | wxPyEndAllowThreads(__tstate); | |
6373 | if (PyErr_Occurred()) SWIG_fail; | |
6374 | } | |
6375 | Py_INCREF(Py_None); resultobj = Py_None; | |
6376 | { | |
6377 | if (temp2) | |
6378 | delete arg2; | |
6379 | } | |
6380 | { | |
6381 | if (temp3) | |
6382 | delete arg3; | |
6383 | } | |
6384 | return resultobj; | |
6385 | fail: | |
6386 | { | |
6387 | if (temp2) | |
6388 | delete arg2; | |
6389 | } | |
6390 | { | |
6391 | if (temp3) | |
6392 | delete arg3; | |
6393 | } | |
6394 | return NULL; | |
6395 | } | |
6396 | ||
6397 | ||
6398 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6399 | PyObject *resultobj; | |
6400 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6401 | wxString arg2 ; | |
6402 | wxString arg3 ; | |
6403 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6404 | PyObject * obj0 = 0 ; |
6405 | PyObject * obj1 = 0 ; | |
6406 | PyObject * obj2 = 0 ; | |
6407 | PyObject * obj3 = 0 ; | |
6408 | char *kwnames[] = { | |
6409 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6410 | }; | |
6411 | ||
6412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
6414 | { |
6415 | wxString* sptr = wxString_in_helper(obj1); | |
6416 | if (sptr == NULL) SWIG_fail; | |
6417 | arg2 = *sptr; | |
6418 | delete sptr; | |
6419 | } | |
6420 | { | |
6421 | wxString* sptr = wxString_in_helper(obj2); | |
6422 | if (sptr == NULL) SWIG_fail; | |
6423 | arg3 = *sptr; | |
6424 | delete sptr; | |
6425 | } | |
d14a1e28 RD |
6426 | if (obj3) { |
6427 | arg4 = obj3; | |
6428 | } | |
6429 | { | |
6430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6431 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
6432 | ||
6433 | wxPyEndAllowThreads(__tstate); | |
6434 | if (PyErr_Occurred()) SWIG_fail; | |
6435 | } | |
6436 | Py_INCREF(Py_None); resultobj = Py_None; | |
6437 | return resultobj; | |
6438 | fail: | |
6439 | return NULL; | |
6440 | } | |
6441 | ||
6442 | ||
6443 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6444 | PyObject *resultobj; | |
6445 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6446 | int arg2 ; | |
6447 | int arg3 ; | |
6448 | int arg4 = (int) 0 ; | |
e811c8ce | 6449 | int arg5 = (int) False ; |
d14a1e28 RD |
6450 | int arg6 = (int) INT_MAX ; |
6451 | int *arg7 = (int *) NULL ; | |
6452 | int arg8 = (int) 0 ; | |
6453 | int result; | |
6454 | PyObject * obj0 = 0 ; | |
6455 | PyObject * obj6 = 0 ; | |
6456 | char *kwnames[] = { | |
6457 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
6458 | }; | |
6459 | ||
6460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&obj6,&arg8)) goto fail; | |
6461 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6462 | if (obj6) { | |
6463 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6464 | } | |
6465 | { | |
6466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6467 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
6468 | ||
6469 | wxPyEndAllowThreads(__tstate); | |
6470 | if (PyErr_Occurred()) SWIG_fail; | |
6471 | } | |
6472 | resultobj = PyInt_FromLong((long)result); | |
6473 | return resultobj; | |
6474 | fail: | |
6475 | return NULL; | |
6476 | } | |
6477 | ||
6478 | ||
6479 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6480 | PyObject *resultobj; | |
6481 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6482 | int result; | |
6483 | PyObject * obj0 = 0 ; | |
6484 | char *kwnames[] = { | |
6485 | (char *) "self", NULL | |
6486 | }; | |
6487 | ||
6488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
6489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6490 | { | |
6491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6492 | result = (int)(arg1)->GetTotalHeight(); | |
6493 | ||
6494 | wxPyEndAllowThreads(__tstate); | |
6495 | if (PyErr_Occurred()) SWIG_fail; | |
6496 | } | |
6497 | resultobj = PyInt_FromLong((long)result); | |
6498 | return resultobj; | |
6499 | fail: | |
6500 | return NULL; | |
6501 | } | |
6502 | ||
6503 | ||
6504 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
6505 | PyObject *obj; | |
6506 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6507 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
6508 | Py_INCREF(obj); | |
6509 | return Py_BuildValue((char *)""); | |
6510 | } | |
6511 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6512 | PyObject *resultobj; | |
6513 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
6514 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6515 | wxHtmlPrintout *result; | |
e811c8ce | 6516 | bool temp1 = False ; |
d14a1e28 RD |
6517 | PyObject * obj0 = 0 ; |
6518 | char *kwnames[] = { | |
6519 | (char *) "title", NULL | |
6520 | }; | |
6521 | ||
6522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
6523 | if (obj0) { | |
6524 | { | |
6525 | arg1 = wxString_in_helper(obj0); | |
6526 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 6527 | temp1 = True; |
d14a1e28 RD |
6528 | } |
6529 | } | |
6530 | { | |
6531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6532 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
6533 | ||
6534 | wxPyEndAllowThreads(__tstate); | |
6535 | if (PyErr_Occurred()) SWIG_fail; | |
6536 | } | |
6537 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1); | |
6538 | { | |
6539 | if (temp1) | |
6540 | delete arg1; | |
6541 | } | |
6542 | return resultobj; | |
6543 | fail: | |
6544 | { | |
6545 | if (temp1) | |
6546 | delete arg1; | |
6547 | } | |
6548 | return NULL; | |
6549 | } | |
6550 | ||
6551 | ||
6552 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6553 | PyObject *resultobj; | |
6554 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6555 | wxString *arg2 = 0 ; | |
6556 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6557 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6558 | bool arg4 = (bool) True ; |
6559 | bool temp2 = False ; | |
6560 | bool temp3 = False ; | |
d14a1e28 RD |
6561 | PyObject * obj0 = 0 ; |
6562 | PyObject * obj1 = 0 ; | |
6563 | PyObject * obj2 = 0 ; | |
6564 | PyObject * obj3 = 0 ; | |
6565 | char *kwnames[] = { | |
6566 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6567 | }; | |
6568 | ||
6569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6570 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6571 | { | |
6572 | arg2 = wxString_in_helper(obj1); | |
6573 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6574 | temp2 = True; |
d14a1e28 RD |
6575 | } |
6576 | if (obj2) { | |
6577 | { | |
6578 | arg3 = wxString_in_helper(obj2); | |
6579 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6580 | temp3 = True; |
d14a1e28 RD |
6581 | } |
6582 | } | |
6583 | if (obj3) { | |
6584 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6585 | if (PyErr_Occurred()) SWIG_fail; | |
6586 | } | |
6587 | { | |
6588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6589 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6590 | ||
6591 | wxPyEndAllowThreads(__tstate); | |
6592 | if (PyErr_Occurred()) SWIG_fail; | |
6593 | } | |
6594 | Py_INCREF(Py_None); resultobj = Py_None; | |
6595 | { | |
6596 | if (temp2) | |
6597 | delete arg2; | |
6598 | } | |
6599 | { | |
6600 | if (temp3) | |
6601 | delete arg3; | |
6602 | } | |
6603 | return resultobj; | |
6604 | fail: | |
6605 | { | |
6606 | if (temp2) | |
6607 | delete arg2; | |
6608 | } | |
6609 | { | |
6610 | if (temp3) | |
6611 | delete arg3; | |
6612 | } | |
6613 | return NULL; | |
6614 | } | |
6615 | ||
6616 | ||
6617 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6618 | PyObject *resultobj; | |
6619 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6620 | wxString *arg2 = 0 ; | |
e811c8ce | 6621 | bool temp2 = False ; |
d14a1e28 RD |
6622 | PyObject * obj0 = 0 ; |
6623 | PyObject * obj1 = 0 ; | |
6624 | char *kwnames[] = { | |
6625 | (char *) "self",(char *) "htmlfile", NULL | |
6626 | }; | |
6627 | ||
6628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
6629 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6630 | { | |
6631 | arg2 = wxString_in_helper(obj1); | |
6632 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6633 | temp2 = True; |
d14a1e28 RD |
6634 | } |
6635 | { | |
6636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6637 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
6638 | ||
6639 | wxPyEndAllowThreads(__tstate); | |
6640 | if (PyErr_Occurred()) SWIG_fail; | |
6641 | } | |
6642 | Py_INCREF(Py_None); resultobj = Py_None; | |
6643 | { | |
6644 | if (temp2) | |
6645 | delete arg2; | |
6646 | } | |
6647 | return resultobj; | |
6648 | fail: | |
6649 | { | |
6650 | if (temp2) | |
6651 | delete arg2; | |
6652 | } | |
6653 | return NULL; | |
6654 | } | |
6655 | ||
6656 | ||
6657 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6658 | PyObject *resultobj; | |
6659 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6660 | wxString *arg2 = 0 ; | |
6661 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 6662 | bool temp2 = False ; |
d14a1e28 RD |
6663 | PyObject * obj0 = 0 ; |
6664 | PyObject * obj1 = 0 ; | |
6665 | char *kwnames[] = { | |
6666 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
6667 | }; | |
6668 | ||
6669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6671 | { | |
6672 | arg2 = wxString_in_helper(obj1); | |
6673 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6674 | temp2 = True; |
d14a1e28 RD |
6675 | } |
6676 | { | |
6677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6678 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
6679 | ||
6680 | wxPyEndAllowThreads(__tstate); | |
6681 | if (PyErr_Occurred()) SWIG_fail; | |
6682 | } | |
6683 | Py_INCREF(Py_None); resultobj = Py_None; | |
6684 | { | |
6685 | if (temp2) | |
6686 | delete arg2; | |
6687 | } | |
6688 | return resultobj; | |
6689 | fail: | |
6690 | { | |
6691 | if (temp2) | |
6692 | delete arg2; | |
6693 | } | |
6694 | return NULL; | |
6695 | } | |
6696 | ||
6697 | ||
6698 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6699 | PyObject *resultobj; | |
6700 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6701 | wxString *arg2 = 0 ; | |
6702 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 6703 | bool temp2 = False ; |
d14a1e28 RD |
6704 | PyObject * obj0 = 0 ; |
6705 | PyObject * obj1 = 0 ; | |
6706 | char *kwnames[] = { | |
6707 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
6708 | }; | |
6709 | ||
6710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6712 | { | |
6713 | arg2 = wxString_in_helper(obj1); | |
6714 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6715 | temp2 = True; |
d14a1e28 RD |
6716 | } |
6717 | { | |
6718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6719 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
6720 | ||
6721 | wxPyEndAllowThreads(__tstate); | |
6722 | if (PyErr_Occurred()) SWIG_fail; | |
6723 | } | |
6724 | Py_INCREF(Py_None); resultobj = Py_None; | |
6725 | { | |
6726 | if (temp2) | |
6727 | delete arg2; | |
6728 | } | |
6729 | return resultobj; | |
6730 | fail: | |
6731 | { | |
6732 | if (temp2) | |
6733 | delete arg2; | |
6734 | } | |
6735 | return NULL; | |
6736 | } | |
6737 | ||
6738 | ||
6739 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6740 | PyObject *resultobj; | |
6741 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6742 | wxString arg2 ; | |
6743 | wxString arg3 ; | |
6744 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6745 | PyObject * obj0 = 0 ; |
6746 | PyObject * obj1 = 0 ; | |
6747 | PyObject * obj2 = 0 ; | |
6748 | PyObject * obj3 = 0 ; | |
6749 | char *kwnames[] = { | |
6750 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6751 | }; | |
6752 | ||
6753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6754 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
6755 | { |
6756 | wxString* sptr = wxString_in_helper(obj1); | |
6757 | if (sptr == NULL) SWIG_fail; | |
6758 | arg2 = *sptr; | |
6759 | delete sptr; | |
6760 | } | |
6761 | { | |
6762 | wxString* sptr = wxString_in_helper(obj2); | |
6763 | if (sptr == NULL) SWIG_fail; | |
6764 | arg3 = *sptr; | |
6765 | delete sptr; | |
6766 | } | |
d14a1e28 RD |
6767 | if (obj3) { |
6768 | arg4 = obj3; | |
6769 | } | |
6770 | { | |
6771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6772 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
6773 | ||
6774 | wxPyEndAllowThreads(__tstate); | |
6775 | if (PyErr_Occurred()) SWIG_fail; | |
6776 | } | |
6777 | Py_INCREF(Py_None); resultobj = Py_None; | |
6778 | return resultobj; | |
6779 | fail: | |
6780 | return NULL; | |
6781 | } | |
6782 | ||
6783 | ||
6784 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6785 | PyObject *resultobj; | |
6786 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6787 | float arg2 = (float) 25.2 ; | |
6788 | float arg3 = (float) 25.2 ; | |
6789 | float arg4 = (float) 25.2 ; | |
6790 | float arg5 = (float) 25.2 ; | |
6791 | float arg6 = (float) 5 ; | |
6792 | PyObject * obj0 = 0 ; | |
6793 | char *kwnames[] = { | |
6794 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
6795 | }; | |
6796 | ||
6797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
6798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6799 | { | |
6800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6801 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
6802 | ||
6803 | wxPyEndAllowThreads(__tstate); | |
6804 | if (PyErr_Occurred()) SWIG_fail; | |
6805 | } | |
6806 | Py_INCREF(Py_None); resultobj = Py_None; | |
6807 | return resultobj; | |
6808 | fail: | |
6809 | return NULL; | |
6810 | } | |
6811 | ||
6812 | ||
6813 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6814 | PyObject *resultobj; | |
6815 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
6816 | PyObject * obj0 = 0 ; | |
6817 | char *kwnames[] = { | |
6818 | (char *) "filter", NULL | |
6819 | }; | |
6820 | ||
6821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
6822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6823 | { | |
6824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6825 | wxHtmlPrintout::AddFilter(arg1); | |
6826 | ||
6827 | wxPyEndAllowThreads(__tstate); | |
6828 | if (PyErr_Occurred()) SWIG_fail; | |
6829 | } | |
6830 | Py_INCREF(Py_None); resultobj = Py_None; | |
6831 | return resultobj; | |
6832 | fail: | |
6833 | return NULL; | |
6834 | } | |
6835 | ||
6836 | ||
6837 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6838 | PyObject *resultobj; | |
6839 | char *kwnames[] = { | |
6840 | NULL | |
6841 | }; | |
6842 | ||
6843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
6844 | { | |
6845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6846 | wxHtmlPrintout::CleanUpStatics(); | |
6847 | ||
6848 | wxPyEndAllowThreads(__tstate); | |
6849 | if (PyErr_Occurred()) SWIG_fail; | |
6850 | } | |
6851 | Py_INCREF(Py_None); resultobj = Py_None; | |
6852 | return resultobj; | |
6853 | fail: | |
6854 | return NULL; | |
6855 | } | |
6856 | ||
6857 | ||
6858 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
6859 | PyObject *obj; | |
6860 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6861 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
6862 | Py_INCREF(obj); | |
6863 | return Py_BuildValue((char *)""); | |
6864 | } | |
6865 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6866 | PyObject *resultobj; | |
6867 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
6868 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6869 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6870 | wxHtmlEasyPrinting *result; | |
e811c8ce | 6871 | bool temp1 = False ; |
d14a1e28 RD |
6872 | PyObject * obj0 = 0 ; |
6873 | PyObject * obj1 = 0 ; | |
6874 | char *kwnames[] = { | |
6875 | (char *) "name",(char *) "parentWindow", NULL | |
6876 | }; | |
6877 | ||
6878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
6879 | if (obj0) { | |
6880 | { | |
6881 | arg1 = wxString_in_helper(obj0); | |
6882 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 6883 | temp1 = True; |
d14a1e28 RD |
6884 | } |
6885 | } | |
6886 | if (obj1) { | |
6887 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6888 | } | |
6889 | { | |
6890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6891 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
6892 | ||
6893 | wxPyEndAllowThreads(__tstate); | |
6894 | if (PyErr_Occurred()) SWIG_fail; | |
6895 | } | |
6896 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
6897 | { | |
6898 | if (temp1) | |
6899 | delete arg1; | |
6900 | } | |
6901 | return resultobj; | |
6902 | fail: | |
6903 | { | |
6904 | if (temp1) | |
6905 | delete arg1; | |
6906 | } | |
6907 | return NULL; | |
6908 | } | |
6909 | ||
6910 | ||
6911 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6912 | PyObject *resultobj; | |
6913 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6914 | PyObject * obj0 = 0 ; | |
6915 | char *kwnames[] = { | |
6916 | (char *) "self", NULL | |
6917 | }; | |
6918 | ||
6919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
6920 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6921 | { | |
6922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6923 | delete arg1; | |
6924 | ||
6925 | wxPyEndAllowThreads(__tstate); | |
6926 | if (PyErr_Occurred()) SWIG_fail; | |
6927 | } | |
6928 | Py_INCREF(Py_None); resultobj = Py_None; | |
6929 | return resultobj; | |
6930 | fail: | |
6931 | return NULL; | |
6932 | } | |
6933 | ||
6934 | ||
6935 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6936 | PyObject *resultobj; | |
6937 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6938 | wxString *arg2 = 0 ; | |
e811c8ce | 6939 | bool temp2 = False ; |
d14a1e28 RD |
6940 | PyObject * obj0 = 0 ; |
6941 | PyObject * obj1 = 0 ; | |
6942 | char *kwnames[] = { | |
6943 | (char *) "self",(char *) "htmlfile", NULL | |
6944 | }; | |
6945 | ||
6946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
6947 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6948 | { | |
6949 | arg2 = wxString_in_helper(obj1); | |
6950 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6951 | temp2 = True; |
d14a1e28 RD |
6952 | } |
6953 | { | |
6954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6955 | (arg1)->PreviewFile((wxString const &)*arg2); | |
6956 | ||
6957 | wxPyEndAllowThreads(__tstate); | |
6958 | if (PyErr_Occurred()) SWIG_fail; | |
6959 | } | |
6960 | Py_INCREF(Py_None); resultobj = Py_None; | |
6961 | { | |
6962 | if (temp2) | |
6963 | delete arg2; | |
6964 | } | |
6965 | return resultobj; | |
6966 | fail: | |
6967 | { | |
6968 | if (temp2) | |
6969 | delete arg2; | |
6970 | } | |
6971 | return NULL; | |
6972 | } | |
6973 | ||
6974 | ||
6975 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6976 | PyObject *resultobj; | |
6977 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6978 | wxString *arg2 = 0 ; | |
6979 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6980 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6981 | bool temp2 = False ; |
6982 | bool temp3 = False ; | |
d14a1e28 RD |
6983 | PyObject * obj0 = 0 ; |
6984 | PyObject * obj1 = 0 ; | |
6985 | PyObject * obj2 = 0 ; | |
6986 | char *kwnames[] = { | |
6987 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
6988 | }; | |
6989 | ||
6990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6992 | { | |
6993 | arg2 = wxString_in_helper(obj1); | |
6994 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6995 | temp2 = True; |
d14a1e28 RD |
6996 | } |
6997 | if (obj2) { | |
6998 | { | |
6999 | arg3 = wxString_in_helper(obj2); | |
7000 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7001 | temp3 = True; |
d14a1e28 RD |
7002 | } |
7003 | } | |
7004 | { | |
7005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7006 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
7007 | ||
7008 | wxPyEndAllowThreads(__tstate); | |
7009 | if (PyErr_Occurred()) SWIG_fail; | |
7010 | } | |
7011 | Py_INCREF(Py_None); resultobj = Py_None; | |
7012 | { | |
7013 | if (temp2) | |
7014 | delete arg2; | |
7015 | } | |
7016 | { | |
7017 | if (temp3) | |
7018 | delete arg3; | |
7019 | } | |
7020 | return resultobj; | |
7021 | fail: | |
7022 | { | |
7023 | if (temp2) | |
7024 | delete arg2; | |
7025 | } | |
7026 | { | |
7027 | if (temp3) | |
7028 | delete arg3; | |
7029 | } | |
7030 | return NULL; | |
7031 | } | |
7032 | ||
7033 | ||
7034 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7035 | PyObject *resultobj; | |
7036 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7037 | wxString *arg2 = 0 ; | |
e811c8ce | 7038 | bool temp2 = False ; |
d14a1e28 RD |
7039 | PyObject * obj0 = 0 ; |
7040 | PyObject * obj1 = 0 ; | |
7041 | char *kwnames[] = { | |
7042 | (char *) "self",(char *) "htmlfile", NULL | |
7043 | }; | |
7044 | ||
7045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
7046 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7047 | { | |
7048 | arg2 = wxString_in_helper(obj1); | |
7049 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7050 | temp2 = True; |
d14a1e28 RD |
7051 | } |
7052 | { | |
7053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7054 | (arg1)->PrintFile((wxString const &)*arg2); | |
7055 | ||
7056 | wxPyEndAllowThreads(__tstate); | |
7057 | if (PyErr_Occurred()) SWIG_fail; | |
7058 | } | |
7059 | Py_INCREF(Py_None); resultobj = Py_None; | |
7060 | { | |
7061 | if (temp2) | |
7062 | delete arg2; | |
7063 | } | |
7064 | return resultobj; | |
7065 | fail: | |
7066 | { | |
7067 | if (temp2) | |
7068 | delete arg2; | |
7069 | } | |
7070 | return NULL; | |
7071 | } | |
7072 | ||
7073 | ||
7074 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7075 | PyObject *resultobj; | |
7076 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7077 | wxString *arg2 = 0 ; | |
7078 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7079 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
7080 | bool temp2 = False ; |
7081 | bool temp3 = False ; | |
d14a1e28 RD |
7082 | PyObject * obj0 = 0 ; |
7083 | PyObject * obj1 = 0 ; | |
7084 | PyObject * obj2 = 0 ; | |
7085 | char *kwnames[] = { | |
7086 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
7087 | }; | |
7088 | ||
7089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7091 | { | |
7092 | arg2 = wxString_in_helper(obj1); | |
7093 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7094 | temp2 = True; |
d14a1e28 RD |
7095 | } |
7096 | if (obj2) { | |
7097 | { | |
7098 | arg3 = wxString_in_helper(obj2); | |
7099 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7100 | temp3 = True; |
d14a1e28 RD |
7101 | } |
7102 | } | |
7103 | { | |
7104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7105 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
7106 | ||
7107 | wxPyEndAllowThreads(__tstate); | |
7108 | if (PyErr_Occurred()) SWIG_fail; | |
7109 | } | |
7110 | Py_INCREF(Py_None); resultobj = Py_None; | |
7111 | { | |
7112 | if (temp2) | |
7113 | delete arg2; | |
7114 | } | |
7115 | { | |
7116 | if (temp3) | |
7117 | delete arg3; | |
7118 | } | |
7119 | return resultobj; | |
7120 | fail: | |
7121 | { | |
7122 | if (temp2) | |
7123 | delete arg2; | |
7124 | } | |
7125 | { | |
7126 | if (temp3) | |
7127 | delete arg3; | |
7128 | } | |
7129 | return NULL; | |
7130 | } | |
7131 | ||
7132 | ||
7133 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7134 | PyObject *resultobj; | |
7135 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7136 | PyObject * obj0 = 0 ; | |
7137 | char *kwnames[] = { | |
7138 | (char *) "self", NULL | |
7139 | }; | |
7140 | ||
7141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
7142 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7143 | { | |
7144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7145 | (arg1)->PrinterSetup(); | |
7146 | ||
7147 | wxPyEndAllowThreads(__tstate); | |
7148 | if (PyErr_Occurred()) SWIG_fail; | |
7149 | } | |
7150 | Py_INCREF(Py_None); resultobj = Py_None; | |
7151 | return resultobj; | |
7152 | fail: | |
7153 | return NULL; | |
7154 | } | |
7155 | ||
7156 | ||
7157 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7158 | PyObject *resultobj; | |
7159 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7160 | PyObject * obj0 = 0 ; | |
7161 | char *kwnames[] = { | |
7162 | (char *) "self", NULL | |
7163 | }; | |
7164 | ||
7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
7166 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7167 | { | |
7168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7169 | (arg1)->PageSetup(); | |
7170 | ||
7171 | wxPyEndAllowThreads(__tstate); | |
7172 | if (PyErr_Occurred()) SWIG_fail; | |
7173 | } | |
7174 | Py_INCREF(Py_None); resultobj = Py_None; | |
7175 | return resultobj; | |
7176 | fail: | |
7177 | return NULL; | |
7178 | } | |
7179 | ||
7180 | ||
7181 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7182 | PyObject *resultobj; | |
7183 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7184 | wxString *arg2 = 0 ; | |
7185 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 7186 | bool temp2 = False ; |
d14a1e28 RD |
7187 | PyObject * obj0 = 0 ; |
7188 | PyObject * obj1 = 0 ; | |
7189 | char *kwnames[] = { | |
7190 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7191 | }; | |
7192 | ||
7193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7194 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7195 | { | |
7196 | arg2 = wxString_in_helper(obj1); | |
7197 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7198 | temp2 = True; |
d14a1e28 RD |
7199 | } |
7200 | { | |
7201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7202 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7203 | ||
7204 | wxPyEndAllowThreads(__tstate); | |
7205 | if (PyErr_Occurred()) SWIG_fail; | |
7206 | } | |
7207 | Py_INCREF(Py_None); resultobj = Py_None; | |
7208 | { | |
7209 | if (temp2) | |
7210 | delete arg2; | |
7211 | } | |
7212 | return resultobj; | |
7213 | fail: | |
7214 | { | |
7215 | if (temp2) | |
7216 | delete arg2; | |
7217 | } | |
7218 | return NULL; | |
7219 | } | |
7220 | ||
7221 | ||
7222 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7223 | PyObject *resultobj; | |
7224 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7225 | wxString *arg2 = 0 ; | |
7226 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 7227 | bool temp2 = False ; |
d14a1e28 RD |
7228 | PyObject * obj0 = 0 ; |
7229 | PyObject * obj1 = 0 ; | |
7230 | char *kwnames[] = { | |
7231 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7232 | }; | |
7233 | ||
7234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7235 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7236 | { | |
7237 | arg2 = wxString_in_helper(obj1); | |
7238 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7239 | temp2 = True; |
d14a1e28 RD |
7240 | } |
7241 | { | |
7242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7243 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7244 | ||
7245 | wxPyEndAllowThreads(__tstate); | |
7246 | if (PyErr_Occurred()) SWIG_fail; | |
7247 | } | |
7248 | Py_INCREF(Py_None); resultobj = Py_None; | |
7249 | { | |
7250 | if (temp2) | |
7251 | delete arg2; | |
7252 | } | |
7253 | return resultobj; | |
7254 | fail: | |
7255 | { | |
7256 | if (temp2) | |
7257 | delete arg2; | |
7258 | } | |
7259 | return NULL; | |
7260 | } | |
7261 | ||
7262 | ||
7263 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7264 | PyObject *resultobj; | |
7265 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7266 | wxString arg2 ; | |
7267 | wxString arg3 ; | |
7268 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7269 | PyObject * obj0 = 0 ; |
7270 | PyObject * obj1 = 0 ; | |
7271 | PyObject * obj2 = 0 ; | |
7272 | PyObject * obj3 = 0 ; | |
7273 | char *kwnames[] = { | |
7274 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7275 | }; | |
7276 | ||
7277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
7279 | { |
7280 | wxString* sptr = wxString_in_helper(obj1); | |
7281 | if (sptr == NULL) SWIG_fail; | |
7282 | arg2 = *sptr; | |
7283 | delete sptr; | |
7284 | } | |
7285 | { | |
7286 | wxString* sptr = wxString_in_helper(obj2); | |
7287 | if (sptr == NULL) SWIG_fail; | |
7288 | arg3 = *sptr; | |
7289 | delete sptr; | |
7290 | } | |
d14a1e28 RD |
7291 | if (obj3) { |
7292 | arg4 = obj3; | |
7293 | } | |
7294 | { | |
7295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7296 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
7297 | ||
7298 | wxPyEndAllowThreads(__tstate); | |
7299 | if (PyErr_Occurred()) SWIG_fail; | |
7300 | } | |
7301 | Py_INCREF(Py_None); resultobj = Py_None; | |
7302 | return resultobj; | |
7303 | fail: | |
7304 | return NULL; | |
7305 | } | |
7306 | ||
7307 | ||
7308 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7309 | PyObject *resultobj; | |
7310 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7311 | wxPrintData *result; | |
7312 | PyObject * obj0 = 0 ; | |
7313 | char *kwnames[] = { | |
7314 | (char *) "self", NULL | |
7315 | }; | |
7316 | ||
7317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
7318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7319 | { | |
7320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7321 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
7322 | ||
7323 | wxPyEndAllowThreads(__tstate); | |
7324 | if (PyErr_Occurred()) SWIG_fail; | |
7325 | } | |
7326 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
7327 | return resultobj; | |
7328 | fail: | |
7329 | return NULL; | |
7330 | } | |
7331 | ||
7332 | ||
7333 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7334 | PyObject *resultobj; | |
7335 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7336 | wxPageSetupDialogData *result; | |
7337 | PyObject * obj0 = 0 ; | |
7338 | char *kwnames[] = { | |
7339 | (char *) "self", NULL | |
7340 | }; | |
7341 | ||
7342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
7343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7344 | { | |
7345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7346 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
7347 | ||
7348 | wxPyEndAllowThreads(__tstate); | |
7349 | if (PyErr_Occurred()) SWIG_fail; | |
7350 | } | |
7351 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
7352 | return resultobj; | |
7353 | fail: | |
7354 | return NULL; | |
7355 | } | |
7356 | ||
7357 | ||
7358 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
7359 | PyObject *obj; | |
7360 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7361 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
7362 | Py_INCREF(obj); | |
7363 | return Py_BuildValue((char *)""); | |
7364 | } | |
7365 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7366 | PyObject *resultobj; | |
7367 | wxString *arg1 = 0 ; | |
7368 | wxString *arg2 = 0 ; | |
7369 | wxString *arg3 = 0 ; | |
7370 | wxString *arg4 = 0 ; | |
7371 | wxHtmlBookRecord *result; | |
e811c8ce RD |
7372 | bool temp1 = False ; |
7373 | bool temp2 = False ; | |
7374 | bool temp3 = False ; | |
7375 | bool temp4 = False ; | |
d14a1e28 RD |
7376 | PyObject * obj0 = 0 ; |
7377 | PyObject * obj1 = 0 ; | |
7378 | PyObject * obj2 = 0 ; | |
7379 | PyObject * obj3 = 0 ; | |
7380 | char *kwnames[] = { | |
7381 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
7382 | }; | |
7383 | ||
7384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7385 | { | |
7386 | arg1 = wxString_in_helper(obj0); | |
7387 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 7388 | temp1 = True; |
d14a1e28 RD |
7389 | } |
7390 | { | |
7391 | arg2 = wxString_in_helper(obj1); | |
7392 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7393 | temp2 = True; |
d14a1e28 RD |
7394 | } |
7395 | { | |
7396 | arg3 = wxString_in_helper(obj2); | |
7397 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7398 | temp3 = True; |
d14a1e28 RD |
7399 | } |
7400 | { | |
7401 | arg4 = wxString_in_helper(obj3); | |
7402 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 7403 | temp4 = True; |
d14a1e28 RD |
7404 | } |
7405 | { | |
7406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7407 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
7408 | ||
7409 | wxPyEndAllowThreads(__tstate); | |
7410 | if (PyErr_Occurred()) SWIG_fail; | |
7411 | } | |
7412 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1); | |
7413 | { | |
7414 | if (temp1) | |
7415 | delete arg1; | |
7416 | } | |
7417 | { | |
7418 | if (temp2) | |
7419 | delete arg2; | |
7420 | } | |
7421 | { | |
7422 | if (temp3) | |
7423 | delete arg3; | |
7424 | } | |
7425 | { | |
7426 | if (temp4) | |
7427 | delete arg4; | |
7428 | } | |
7429 | return resultobj; | |
7430 | fail: | |
7431 | { | |
7432 | if (temp1) | |
7433 | delete arg1; | |
7434 | } | |
7435 | { | |
7436 | if (temp2) | |
7437 | delete arg2; | |
7438 | } | |
7439 | { | |
7440 | if (temp3) | |
7441 | delete arg3; | |
7442 | } | |
7443 | { | |
7444 | if (temp4) | |
7445 | delete arg4; | |
7446 | } | |
7447 | return NULL; | |
7448 | } | |
7449 | ||
7450 | ||
7451 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7452 | PyObject *resultobj; | |
7453 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7454 | wxString result; | |
7455 | PyObject * obj0 = 0 ; | |
7456 | char *kwnames[] = { | |
7457 | (char *) "self", NULL | |
7458 | }; | |
7459 | ||
7460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
7461 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7462 | { | |
7463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7464 | result = (arg1)->GetBookFile(); | |
7465 | ||
7466 | wxPyEndAllowThreads(__tstate); | |
7467 | if (PyErr_Occurred()) SWIG_fail; | |
7468 | } | |
7469 | { | |
7470 | #if wxUSE_UNICODE | |
7471 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7472 | #else | |
7473 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7474 | #endif | |
7475 | } | |
7476 | return resultobj; | |
7477 | fail: | |
7478 | return NULL; | |
7479 | } | |
7480 | ||
7481 | ||
7482 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7483 | PyObject *resultobj; | |
7484 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7485 | wxString result; | |
7486 | PyObject * obj0 = 0 ; | |
7487 | char *kwnames[] = { | |
7488 | (char *) "self", NULL | |
7489 | }; | |
7490 | ||
7491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
7492 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7493 | { | |
7494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7495 | result = (arg1)->GetTitle(); | |
7496 | ||
7497 | wxPyEndAllowThreads(__tstate); | |
7498 | if (PyErr_Occurred()) SWIG_fail; | |
7499 | } | |
7500 | { | |
7501 | #if wxUSE_UNICODE | |
7502 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7503 | #else | |
7504 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7505 | #endif | |
7506 | } | |
7507 | return resultobj; | |
7508 | fail: | |
7509 | return NULL; | |
7510 | } | |
7511 | ||
7512 | ||
7513 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7514 | PyObject *resultobj; | |
7515 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7516 | wxString result; | |
7517 | PyObject * obj0 = 0 ; | |
7518 | char *kwnames[] = { | |
7519 | (char *) "self", NULL | |
7520 | }; | |
7521 | ||
7522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
7523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7524 | { | |
7525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7526 | result = (arg1)->GetStart(); | |
7527 | ||
7528 | wxPyEndAllowThreads(__tstate); | |
7529 | if (PyErr_Occurred()) SWIG_fail; | |
7530 | } | |
7531 | { | |
7532 | #if wxUSE_UNICODE | |
7533 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7534 | #else | |
7535 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7536 | #endif | |
7537 | } | |
7538 | return resultobj; | |
7539 | fail: | |
7540 | return NULL; | |
7541 | } | |
7542 | ||
7543 | ||
7544 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7545 | PyObject *resultobj; | |
7546 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7547 | wxString result; | |
7548 | PyObject * obj0 = 0 ; | |
7549 | char *kwnames[] = { | |
7550 | (char *) "self", NULL | |
7551 | }; | |
7552 | ||
7553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
7554 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7555 | { | |
7556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7557 | result = (arg1)->GetBasePath(); | |
7558 | ||
7559 | wxPyEndAllowThreads(__tstate); | |
7560 | if (PyErr_Occurred()) SWIG_fail; | |
7561 | } | |
7562 | { | |
7563 | #if wxUSE_UNICODE | |
7564 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7565 | #else | |
7566 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7567 | #endif | |
7568 | } | |
7569 | return resultobj; | |
7570 | fail: | |
7571 | return NULL; | |
7572 | } | |
7573 | ||
7574 | ||
7575 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7576 | PyObject *resultobj; | |
7577 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7578 | int arg2 ; | |
7579 | int arg3 ; | |
7580 | PyObject * obj0 = 0 ; | |
7581 | char *kwnames[] = { | |
7582 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7583 | }; | |
7584 | ||
7585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7587 | { | |
7588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7589 | (arg1)->SetContentsRange(arg2,arg3); | |
7590 | ||
7591 | wxPyEndAllowThreads(__tstate); | |
7592 | if (PyErr_Occurred()) SWIG_fail; | |
7593 | } | |
7594 | Py_INCREF(Py_None); resultobj = Py_None; | |
7595 | return resultobj; | |
7596 | fail: | |
7597 | return NULL; | |
7598 | } | |
7599 | ||
7600 | ||
7601 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7602 | PyObject *resultobj; | |
7603 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7604 | int result; | |
7605 | PyObject * obj0 = 0 ; | |
7606 | char *kwnames[] = { | |
7607 | (char *) "self", NULL | |
7608 | }; | |
7609 | ||
7610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
7611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7612 | { | |
7613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7614 | result = (int)(arg1)->GetContentsStart(); | |
7615 | ||
7616 | wxPyEndAllowThreads(__tstate); | |
7617 | if (PyErr_Occurred()) SWIG_fail; | |
7618 | } | |
7619 | resultobj = PyInt_FromLong((long)result); | |
7620 | return resultobj; | |
7621 | fail: | |
7622 | return NULL; | |
7623 | } | |
7624 | ||
7625 | ||
7626 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7627 | PyObject *resultobj; | |
7628 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7629 | int result; | |
7630 | PyObject * obj0 = 0 ; | |
7631 | char *kwnames[] = { | |
7632 | (char *) "self", NULL | |
7633 | }; | |
7634 | ||
7635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
7636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7637 | { | |
7638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7639 | result = (int)(arg1)->GetContentsEnd(); | |
7640 | ||
7641 | wxPyEndAllowThreads(__tstate); | |
7642 | if (PyErr_Occurred()) SWIG_fail; | |
7643 | } | |
7644 | resultobj = PyInt_FromLong((long)result); | |
7645 | return resultobj; | |
7646 | fail: | |
7647 | return NULL; | |
7648 | } | |
7649 | ||
7650 | ||
7651 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7652 | PyObject *resultobj; | |
7653 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7654 | wxString *arg2 = 0 ; | |
e811c8ce | 7655 | bool temp2 = False ; |
d14a1e28 RD |
7656 | PyObject * obj0 = 0 ; |
7657 | PyObject * obj1 = 0 ; | |
7658 | char *kwnames[] = { | |
7659 | (char *) "self",(char *) "title", NULL | |
7660 | }; | |
7661 | ||
7662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7663 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7664 | { | |
7665 | arg2 = wxString_in_helper(obj1); | |
7666 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7667 | temp2 = True; |
d14a1e28 RD |
7668 | } |
7669 | { | |
7670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7671 | (arg1)->SetTitle((wxString const &)*arg2); | |
7672 | ||
7673 | wxPyEndAllowThreads(__tstate); | |
7674 | if (PyErr_Occurred()) SWIG_fail; | |
7675 | } | |
7676 | Py_INCREF(Py_None); resultobj = Py_None; | |
7677 | { | |
7678 | if (temp2) | |
7679 | delete arg2; | |
7680 | } | |
7681 | return resultobj; | |
7682 | fail: | |
7683 | { | |
7684 | if (temp2) | |
7685 | delete arg2; | |
7686 | } | |
7687 | return NULL; | |
7688 | } | |
7689 | ||
7690 | ||
7691 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7692 | PyObject *resultobj; | |
7693 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7694 | wxString *arg2 = 0 ; | |
e811c8ce | 7695 | bool temp2 = False ; |
d14a1e28 RD |
7696 | PyObject * obj0 = 0 ; |
7697 | PyObject * obj1 = 0 ; | |
7698 | char *kwnames[] = { | |
7699 | (char *) "self",(char *) "path", NULL | |
7700 | }; | |
7701 | ||
7702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
7703 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7704 | { | |
7705 | arg2 = wxString_in_helper(obj1); | |
7706 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7707 | temp2 = True; |
d14a1e28 RD |
7708 | } |
7709 | { | |
7710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7711 | (arg1)->SetBasePath((wxString const &)*arg2); | |
7712 | ||
7713 | wxPyEndAllowThreads(__tstate); | |
7714 | if (PyErr_Occurred()) SWIG_fail; | |
7715 | } | |
7716 | Py_INCREF(Py_None); resultobj = Py_None; | |
7717 | { | |
7718 | if (temp2) | |
7719 | delete arg2; | |
7720 | } | |
7721 | return resultobj; | |
7722 | fail: | |
7723 | { | |
7724 | if (temp2) | |
7725 | delete arg2; | |
7726 | } | |
7727 | return NULL; | |
7728 | } | |
7729 | ||
7730 | ||
7731 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7732 | PyObject *resultobj; | |
7733 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7734 | wxString *arg2 = 0 ; | |
e811c8ce | 7735 | bool temp2 = False ; |
d14a1e28 RD |
7736 | PyObject * obj0 = 0 ; |
7737 | PyObject * obj1 = 0 ; | |
7738 | char *kwnames[] = { | |
7739 | (char *) "self",(char *) "start", NULL | |
7740 | }; | |
7741 | ||
7742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
7743 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7744 | { | |
7745 | arg2 = wxString_in_helper(obj1); | |
7746 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7747 | temp2 = True; |
d14a1e28 RD |
7748 | } |
7749 | { | |
7750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7751 | (arg1)->SetStart((wxString const &)*arg2); | |
7752 | ||
7753 | wxPyEndAllowThreads(__tstate); | |
7754 | if (PyErr_Occurred()) SWIG_fail; | |
7755 | } | |
7756 | Py_INCREF(Py_None); resultobj = Py_None; | |
7757 | { | |
7758 | if (temp2) | |
7759 | delete arg2; | |
7760 | } | |
7761 | return resultobj; | |
7762 | fail: | |
7763 | { | |
7764 | if (temp2) | |
7765 | delete arg2; | |
7766 | } | |
7767 | return NULL; | |
7768 | } | |
7769 | ||
7770 | ||
7771 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7772 | PyObject *resultobj; | |
7773 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7774 | wxString *arg2 = 0 ; | |
7775 | wxString result; | |
e811c8ce | 7776 | bool temp2 = False ; |
d14a1e28 RD |
7777 | PyObject * obj0 = 0 ; |
7778 | PyObject * obj1 = 0 ; | |
7779 | char *kwnames[] = { | |
7780 | (char *) "self",(char *) "page", NULL | |
7781 | }; | |
7782 | ||
7783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
7784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7785 | { | |
7786 | arg2 = wxString_in_helper(obj1); | |
7787 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7788 | temp2 = True; |
d14a1e28 RD |
7789 | } |
7790 | { | |
7791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7792 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
7793 | ||
7794 | wxPyEndAllowThreads(__tstate); | |
7795 | if (PyErr_Occurred()) SWIG_fail; | |
7796 | } | |
7797 | { | |
7798 | #if wxUSE_UNICODE | |
7799 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7800 | #else | |
7801 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7802 | #endif | |
7803 | } | |
7804 | { | |
7805 | if (temp2) | |
7806 | delete arg2; | |
7807 | } | |
7808 | return resultobj; | |
7809 | fail: | |
7810 | { | |
7811 | if (temp2) | |
7812 | delete arg2; | |
7813 | } | |
7814 | return NULL; | |
7815 | } | |
7816 | ||
7817 | ||
7818 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
7819 | PyObject *obj; | |
7820 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7821 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
7822 | Py_INCREF(obj); | |
7823 | return Py_BuildValue((char *)""); | |
7824 | } | |
7825 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7826 | PyObject *resultobj; | |
7827 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7828 | int result; | |
7829 | PyObject * obj0 = 0 ; | |
7830 | char *kwnames[] = { | |
7831 | (char *) "self", NULL | |
7832 | }; | |
7833 | ||
7834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
7835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7836 | { | |
7837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7838 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
7839 | ||
7840 | wxPyEndAllowThreads(__tstate); | |
7841 | if (PyErr_Occurred()) SWIG_fail; | |
7842 | } | |
7843 | resultobj = PyInt_FromLong((long)result); | |
7844 | return resultobj; | |
7845 | fail: | |
7846 | return NULL; | |
7847 | } | |
7848 | ||
7849 | ||
7850 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7851 | PyObject *resultobj; | |
7852 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7853 | int result; | |
7854 | PyObject * obj0 = 0 ; | |
7855 | char *kwnames[] = { | |
7856 | (char *) "self", NULL | |
7857 | }; | |
7858 | ||
7859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
7860 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7861 | { | |
7862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7863 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
7864 | ||
7865 | wxPyEndAllowThreads(__tstate); | |
7866 | if (PyErr_Occurred()) SWIG_fail; | |
7867 | } | |
7868 | resultobj = PyInt_FromLong((long)result); | |
7869 | return resultobj; | |
7870 | fail: | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
7875 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7876 | PyObject *resultobj; | |
7877 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7878 | wxString result; | |
7879 | PyObject * obj0 = 0 ; | |
7880 | char *kwnames[] = { | |
7881 | (char *) "self", NULL | |
7882 | }; | |
7883 | ||
7884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
7885 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7886 | { | |
7887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7888 | result = wxHtmlContentsItem_GetName(arg1); | |
7889 | ||
7890 | wxPyEndAllowThreads(__tstate); | |
7891 | if (PyErr_Occurred()) SWIG_fail; | |
7892 | } | |
7893 | { | |
7894 | #if wxUSE_UNICODE | |
7895 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7896 | #else | |
7897 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7898 | #endif | |
7899 | } | |
7900 | return resultobj; | |
7901 | fail: | |
7902 | return NULL; | |
7903 | } | |
7904 | ||
7905 | ||
7906 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7907 | PyObject *resultobj; | |
7908 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7909 | wxString result; | |
7910 | PyObject * obj0 = 0 ; | |
7911 | char *kwnames[] = { | |
7912 | (char *) "self", NULL | |
7913 | }; | |
7914 | ||
7915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
7916 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7917 | { | |
7918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7919 | result = wxHtmlContentsItem_GetPage(arg1); | |
7920 | ||
7921 | wxPyEndAllowThreads(__tstate); | |
7922 | if (PyErr_Occurred()) SWIG_fail; | |
7923 | } | |
7924 | { | |
7925 | #if wxUSE_UNICODE | |
7926 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7927 | #else | |
7928 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7929 | #endif | |
7930 | } | |
7931 | return resultobj; | |
7932 | fail: | |
7933 | return NULL; | |
7934 | } | |
7935 | ||
7936 | ||
7937 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7938 | PyObject *resultobj; | |
7939 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7940 | wxHtmlBookRecord *result; | |
7941 | PyObject * obj0 = 0 ; | |
7942 | char *kwnames[] = { | |
7943 | (char *) "self", NULL | |
7944 | }; | |
7945 | ||
7946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
7947 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7948 | { | |
7949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7950 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
7951 | ||
7952 | wxPyEndAllowThreads(__tstate); | |
7953 | if (PyErr_Occurred()) SWIG_fail; | |
7954 | } | |
7955 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0); | |
7956 | return resultobj; | |
7957 | fail: | |
7958 | return NULL; | |
7959 | } | |
7960 | ||
7961 | ||
7962 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
7963 | PyObject *obj; | |
7964 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7965 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
7966 | Py_INCREF(obj); | |
7967 | return Py_BuildValue((char *)""); | |
7968 | } | |
7969 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7970 | PyObject *resultobj; | |
7971 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7972 | bool result; | |
7973 | PyObject * obj0 = 0 ; | |
7974 | char *kwnames[] = { | |
7975 | (char *) "self", NULL | |
7976 | }; | |
7977 | ||
7978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
7979 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7980 | { | |
7981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7982 | result = (bool)(arg1)->Search(); | |
7983 | ||
7984 | wxPyEndAllowThreads(__tstate); | |
7985 | if (PyErr_Occurred()) SWIG_fail; | |
7986 | } | |
7987 | resultobj = PyInt_FromLong((long)result); | |
7988 | return resultobj; | |
7989 | fail: | |
7990 | return NULL; | |
7991 | } | |
7992 | ||
7993 | ||
7994 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7995 | PyObject *resultobj; | |
7996 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7997 | bool result; | |
7998 | PyObject * obj0 = 0 ; | |
7999 | char *kwnames[] = { | |
8000 | (char *) "self", NULL | |
8001 | }; | |
8002 | ||
8003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
8004 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8005 | { | |
8006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8007 | result = (bool)(arg1)->IsActive(); | |
8008 | ||
8009 | wxPyEndAllowThreads(__tstate); | |
8010 | if (PyErr_Occurred()) SWIG_fail; | |
8011 | } | |
8012 | resultobj = PyInt_FromLong((long)result); | |
8013 | return resultobj; | |
8014 | fail: | |
8015 | return NULL; | |
8016 | } | |
8017 | ||
8018 | ||
8019 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8020 | PyObject *resultobj; | |
8021 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8022 | int result; | |
8023 | PyObject * obj0 = 0 ; | |
8024 | char *kwnames[] = { | |
8025 | (char *) "self", NULL | |
8026 | }; | |
8027 | ||
8028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
8029 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8030 | { | |
8031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8032 | result = (int)(arg1)->GetCurIndex(); | |
8033 | ||
8034 | wxPyEndAllowThreads(__tstate); | |
8035 | if (PyErr_Occurred()) SWIG_fail; | |
8036 | } | |
8037 | resultobj = PyInt_FromLong((long)result); | |
8038 | return resultobj; | |
8039 | fail: | |
8040 | return NULL; | |
8041 | } | |
8042 | ||
8043 | ||
8044 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8045 | PyObject *resultobj; | |
8046 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8047 | int result; | |
8048 | PyObject * obj0 = 0 ; | |
8049 | char *kwnames[] = { | |
8050 | (char *) "self", NULL | |
8051 | }; | |
8052 | ||
8053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
8054 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8055 | { | |
8056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8057 | result = (int)(arg1)->GetMaxIndex(); | |
8058 | ||
8059 | wxPyEndAllowThreads(__tstate); | |
8060 | if (PyErr_Occurred()) SWIG_fail; | |
8061 | } | |
8062 | resultobj = PyInt_FromLong((long)result); | |
8063 | return resultobj; | |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
8069 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8070 | PyObject *resultobj; | |
8071 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8072 | wxString *result; | |
8073 | PyObject * obj0 = 0 ; | |
8074 | char *kwnames[] = { | |
8075 | (char *) "self", NULL | |
8076 | }; | |
8077 | ||
8078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
8079 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8080 | { | |
8081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8082 | { | |
8083 | wxString const &_result_ref = (arg1)->GetName(); | |
8084 | result = (wxString *) &_result_ref; | |
8085 | } | |
8086 | ||
8087 | wxPyEndAllowThreads(__tstate); | |
8088 | if (PyErr_Occurred()) SWIG_fail; | |
8089 | } | |
8090 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
8091 | return resultobj; | |
8092 | fail: | |
8093 | return NULL; | |
8094 | } | |
8095 | ||
8096 | ||
8097 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8098 | PyObject *resultobj; | |
8099 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8100 | wxHtmlContentsItem *result; | |
8101 | PyObject * obj0 = 0 ; | |
8102 | char *kwnames[] = { | |
8103 | (char *) "self", NULL | |
8104 | }; | |
8105 | ||
8106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
8107 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8108 | { | |
8109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8110 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
8111 | ||
8112 | wxPyEndAllowThreads(__tstate); | |
8113 | if (PyErr_Occurred()) SWIG_fail; | |
8114 | } | |
8115 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8116 | return resultobj; | |
8117 | fail: | |
8118 | return NULL; | |
8119 | } | |
8120 | ||
8121 | ||
8122 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
8123 | PyObject *obj; | |
8124 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8125 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
8126 | Py_INCREF(obj); | |
8127 | return Py_BuildValue((char *)""); | |
8128 | } | |
8129 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8130 | PyObject *resultobj; | |
8131 | wxHtmlHelpData *result; | |
8132 | char *kwnames[] = { | |
8133 | NULL | |
8134 | }; | |
8135 | ||
8136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
8137 | { | |
8138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8139 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
8140 | ||
8141 | wxPyEndAllowThreads(__tstate); | |
8142 | if (PyErr_Occurred()) SWIG_fail; | |
8143 | } | |
8144 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1); | |
8145 | return resultobj; | |
8146 | fail: | |
8147 | return NULL; | |
8148 | } | |
8149 | ||
8150 | ||
8151 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8152 | PyObject *resultobj; | |
8153 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8154 | PyObject * obj0 = 0 ; | |
8155 | char *kwnames[] = { | |
8156 | (char *) "self", NULL | |
8157 | }; | |
8158 | ||
8159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
8160 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8161 | { | |
8162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8163 | delete arg1; | |
8164 | ||
8165 | wxPyEndAllowThreads(__tstate); | |
8166 | if (PyErr_Occurred()) SWIG_fail; | |
8167 | } | |
8168 | Py_INCREF(Py_None); resultobj = Py_None; | |
8169 | return resultobj; | |
8170 | fail: | |
8171 | return NULL; | |
8172 | } | |
8173 | ||
8174 | ||
8175 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8176 | PyObject *resultobj; | |
8177 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8178 | wxString *arg2 = 0 ; | |
e811c8ce | 8179 | bool temp2 = False ; |
d14a1e28 RD |
8180 | PyObject * obj0 = 0 ; |
8181 | PyObject * obj1 = 0 ; | |
8182 | char *kwnames[] = { | |
8183 | (char *) "self",(char *) "path", NULL | |
8184 | }; | |
8185 | ||
8186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8187 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8188 | { | |
8189 | arg2 = wxString_in_helper(obj1); | |
8190 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8191 | temp2 = True; |
d14a1e28 RD |
8192 | } |
8193 | { | |
8194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8195 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8196 | ||
8197 | wxPyEndAllowThreads(__tstate); | |
8198 | if (PyErr_Occurred()) SWIG_fail; | |
8199 | } | |
8200 | Py_INCREF(Py_None); resultobj = Py_None; | |
8201 | { | |
8202 | if (temp2) | |
8203 | delete arg2; | |
8204 | } | |
8205 | return resultobj; | |
8206 | fail: | |
8207 | { | |
8208 | if (temp2) | |
8209 | delete arg2; | |
8210 | } | |
8211 | return NULL; | |
8212 | } | |
8213 | ||
8214 | ||
8215 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8216 | PyObject *resultobj; | |
8217 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8218 | wxString *arg2 = 0 ; | |
8219 | bool result; | |
e811c8ce | 8220 | bool temp2 = False ; |
d14a1e28 RD |
8221 | PyObject * obj0 = 0 ; |
8222 | PyObject * obj1 = 0 ; | |
8223 | char *kwnames[] = { | |
8224 | (char *) "self",(char *) "book", NULL | |
8225 | }; | |
8226 | ||
8227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
8228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8229 | { | |
8230 | arg2 = wxString_in_helper(obj1); | |
8231 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8232 | temp2 = True; |
d14a1e28 RD |
8233 | } |
8234 | { | |
8235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8236 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
8237 | ||
8238 | wxPyEndAllowThreads(__tstate); | |
8239 | if (PyErr_Occurred()) SWIG_fail; | |
8240 | } | |
8241 | resultobj = PyInt_FromLong((long)result); | |
8242 | { | |
8243 | if (temp2) | |
8244 | delete arg2; | |
8245 | } | |
8246 | return resultobj; | |
8247 | fail: | |
8248 | { | |
8249 | if (temp2) | |
8250 | delete arg2; | |
8251 | } | |
8252 | return NULL; | |
8253 | } | |
8254 | ||
8255 | ||
8256 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8257 | PyObject *resultobj; | |
8258 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8259 | wxString *arg2 = 0 ; | |
8260 | wxString result; | |
e811c8ce | 8261 | bool temp2 = False ; |
d14a1e28 RD |
8262 | PyObject * obj0 = 0 ; |
8263 | PyObject * obj1 = 0 ; | |
8264 | char *kwnames[] = { | |
8265 | (char *) "self",(char *) "page", NULL | |
8266 | }; | |
8267 | ||
8268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
8269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8270 | { | |
8271 | arg2 = wxString_in_helper(obj1); | |
8272 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8273 | temp2 = True; |
d14a1e28 RD |
8274 | } |
8275 | { | |
8276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8277 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
8278 | ||
8279 | wxPyEndAllowThreads(__tstate); | |
8280 | if (PyErr_Occurred()) SWIG_fail; | |
8281 | } | |
8282 | { | |
8283 | #if wxUSE_UNICODE | |
8284 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8285 | #else | |
8286 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8287 | #endif | |
8288 | } | |
8289 | { | |
8290 | if (temp2) | |
8291 | delete arg2; | |
8292 | } | |
8293 | return resultobj; | |
8294 | fail: | |
8295 | { | |
8296 | if (temp2) | |
8297 | delete arg2; | |
8298 | } | |
8299 | return NULL; | |
8300 | } | |
8301 | ||
8302 | ||
8303 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8304 | PyObject *resultobj; | |
8305 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8306 | int arg2 ; | |
8307 | wxString result; | |
8308 | PyObject * obj0 = 0 ; | |
8309 | char *kwnames[] = { | |
8310 | (char *) "self",(char *) "id", NULL | |
8311 | }; | |
8312 | ||
8313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpData_FindPageById",kwnames,&obj0,&arg2)) goto fail; | |
8314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8315 | { | |
8316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8317 | result = (arg1)->FindPageById(arg2); | |
8318 | ||
8319 | wxPyEndAllowThreads(__tstate); | |
8320 | if (PyErr_Occurred()) SWIG_fail; | |
8321 | } | |
8322 | { | |
8323 | #if wxUSE_UNICODE | |
8324 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8325 | #else | |
8326 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8327 | #endif | |
8328 | } | |
8329 | return resultobj; | |
8330 | fail: | |
8331 | return NULL; | |
8332 | } | |
8333 | ||
8334 | ||
8335 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8336 | PyObject *resultobj; | |
8337 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8338 | wxHtmlBookRecArray *result; | |
8339 | PyObject * obj0 = 0 ; | |
8340 | char *kwnames[] = { | |
8341 | (char *) "self", NULL | |
8342 | }; | |
8343 | ||
8344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
8345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8346 | { | |
8347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8348 | { | |
8349 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
8350 | result = (wxHtmlBookRecArray *) &_result_ref; | |
8351 | } | |
8352 | ||
8353 | wxPyEndAllowThreads(__tstate); | |
8354 | if (PyErr_Occurred()) SWIG_fail; | |
8355 | } | |
8356 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
8357 | return resultobj; | |
8358 | fail: | |
8359 | return NULL; | |
8360 | } | |
8361 | ||
8362 | ||
8363 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8364 | PyObject *resultobj; | |
8365 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8366 | wxHtmlContentsItem *result; | |
8367 | PyObject * obj0 = 0 ; | |
8368 | char *kwnames[] = { | |
8369 | (char *) "self", NULL | |
8370 | }; | |
8371 | ||
8372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
8373 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8374 | { | |
8375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8376 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
8377 | ||
8378 | wxPyEndAllowThreads(__tstate); | |
8379 | if (PyErr_Occurred()) SWIG_fail; | |
8380 | } | |
8381 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8382 | return resultobj; | |
8383 | fail: | |
8384 | return NULL; | |
8385 | } | |
8386 | ||
8387 | ||
8388 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8389 | PyObject *resultobj; | |
8390 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8391 | int result; | |
8392 | PyObject * obj0 = 0 ; | |
8393 | char *kwnames[] = { | |
8394 | (char *) "self", NULL | |
8395 | }; | |
8396 | ||
8397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
8398 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8399 | { | |
8400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8401 | result = (int)(arg1)->GetContentsCnt(); | |
8402 | ||
8403 | wxPyEndAllowThreads(__tstate); | |
8404 | if (PyErr_Occurred()) SWIG_fail; | |
8405 | } | |
8406 | resultobj = PyInt_FromLong((long)result); | |
8407 | return resultobj; | |
8408 | fail: | |
8409 | return NULL; | |
8410 | } | |
8411 | ||
8412 | ||
8413 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8414 | PyObject *resultobj; | |
8415 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8416 | wxHtmlContentsItem *result; | |
8417 | PyObject * obj0 = 0 ; | |
8418 | char *kwnames[] = { | |
8419 | (char *) "self", NULL | |
8420 | }; | |
8421 | ||
8422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
8423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8424 | { | |
8425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8426 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
8427 | ||
8428 | wxPyEndAllowThreads(__tstate); | |
8429 | if (PyErr_Occurred()) SWIG_fail; | |
8430 | } | |
8431 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8432 | return resultobj; | |
8433 | fail: | |
8434 | return NULL; | |
8435 | } | |
8436 | ||
8437 | ||
8438 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8439 | PyObject *resultobj; | |
8440 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8441 | int result; | |
8442 | PyObject * obj0 = 0 ; | |
8443 | char *kwnames[] = { | |
8444 | (char *) "self", NULL | |
8445 | }; | |
8446 | ||
8447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
8448 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8449 | { | |
8450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8451 | result = (int)(arg1)->GetIndexCnt(); | |
8452 | ||
8453 | wxPyEndAllowThreads(__tstate); | |
8454 | if (PyErr_Occurred()) SWIG_fail; | |
8455 | } | |
8456 | resultobj = PyInt_FromLong((long)result); | |
8457 | return resultobj; | |
8458 | fail: | |
8459 | return NULL; | |
8460 | } | |
8461 | ||
8462 | ||
8463 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
8464 | PyObject *obj; | |
8465 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8466 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
8467 | Py_INCREF(obj); | |
8468 | return Py_BuildValue((char *)""); | |
8469 | } | |
8470 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8471 | PyObject *resultobj; | |
8472 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8473 | int arg2 ; | |
8474 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8475 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8476 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
8477 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
8478 | wxHtmlHelpFrame *result; | |
e811c8ce | 8479 | bool temp3 = False ; |
d14a1e28 RD |
8480 | PyObject * obj0 = 0 ; |
8481 | PyObject * obj2 = 0 ; | |
8482 | PyObject * obj4 = 0 ; | |
8483 | char *kwnames[] = { | |
e811c8ce | 8484 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL |
d14a1e28 RD |
8485 | }; |
8486 | ||
8487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail; | |
8488 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8489 | if (obj2) { | |
8490 | { | |
8491 | arg3 = wxString_in_helper(obj2); | |
8492 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8493 | temp3 = True; |
d14a1e28 RD |
8494 | } |
8495 | } | |
8496 | if (obj4) { | |
8497 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8498 | } | |
8499 | { | |
8500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8501 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
8502 | ||
8503 | wxPyEndAllowThreads(__tstate); | |
8504 | if (PyErr_Occurred()) SWIG_fail; | |
8505 | } | |
8506 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
8507 | { | |
8508 | if (temp3) | |
8509 | delete arg3; | |
8510 | } | |
8511 | return resultobj; | |
8512 | fail: | |
8513 | { | |
8514 | if (temp3) | |
8515 | delete arg3; | |
8516 | } | |
8517 | return NULL; | |
8518 | } | |
8519 | ||
8520 | ||
8521 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8522 | PyObject *resultobj; | |
8523 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8524 | wxHtmlHelpData *result; | |
8525 | PyObject * obj0 = 0 ; | |
8526 | char *kwnames[] = { | |
8527 | (char *) "self", NULL | |
8528 | }; | |
8529 | ||
8530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
8531 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8532 | { | |
8533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8534 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
8535 | ||
8536 | wxPyEndAllowThreads(__tstate); | |
8537 | if (PyErr_Occurred()) SWIG_fail; | |
8538 | } | |
8539 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0); | |
8540 | return resultobj; | |
8541 | fail: | |
8542 | return NULL; | |
8543 | } | |
8544 | ||
8545 | ||
8546 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8547 | PyObject *resultobj; | |
8548 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8549 | wxString *arg2 = 0 ; | |
e811c8ce | 8550 | bool temp2 = False ; |
d14a1e28 RD |
8551 | PyObject * obj0 = 0 ; |
8552 | PyObject * obj1 = 0 ; | |
8553 | char *kwnames[] = { | |
8554 | (char *) "self",(char *) "format", NULL | |
8555 | }; | |
8556 | ||
8557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8558 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8559 | { | |
8560 | arg2 = wxString_in_helper(obj1); | |
8561 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8562 | temp2 = True; |
d14a1e28 RD |
8563 | } |
8564 | { | |
8565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8566 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8567 | ||
8568 | wxPyEndAllowThreads(__tstate); | |
8569 | if (PyErr_Occurred()) SWIG_fail; | |
8570 | } | |
8571 | Py_INCREF(Py_None); resultobj = Py_None; | |
8572 | { | |
8573 | if (temp2) | |
8574 | delete arg2; | |
8575 | } | |
8576 | return resultobj; | |
8577 | fail: | |
8578 | { | |
8579 | if (temp2) | |
8580 | delete arg2; | |
8581 | } | |
8582 | return NULL; | |
8583 | } | |
8584 | ||
8585 | ||
8586 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8587 | PyObject *resultobj; | |
8588 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8589 | wxString *arg2 = 0 ; | |
e811c8ce | 8590 | bool temp2 = False ; |
d14a1e28 RD |
8591 | PyObject * obj0 = 0 ; |
8592 | PyObject * obj1 = 0 ; | |
8593 | char *kwnames[] = { | |
8594 | (char *) "self",(char *) "x", NULL | |
8595 | }; | |
8596 | ||
8597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
8598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8599 | { | |
8600 | arg2 = wxString_in_helper(obj1); | |
8601 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8602 | temp2 = True; |
d14a1e28 RD |
8603 | } |
8604 | { | |
8605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8606 | (arg1)->Display((wxString const &)*arg2); | |
8607 | ||
8608 | wxPyEndAllowThreads(__tstate); | |
8609 | if (PyErr_Occurred()) SWIG_fail; | |
8610 | } | |
8611 | Py_INCREF(Py_None); resultobj = Py_None; | |
8612 | { | |
8613 | if (temp2) | |
8614 | delete arg2; | |
8615 | } | |
8616 | return resultobj; | |
8617 | fail: | |
8618 | { | |
8619 | if (temp2) | |
8620 | delete arg2; | |
8621 | } | |
8622 | return NULL; | |
8623 | } | |
8624 | ||
8625 | ||
8626 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8627 | PyObject *resultobj; | |
8628 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8629 | int arg2 ; | |
8630 | PyObject * obj0 = 0 ; | |
8631 | char *kwnames[] = { | |
8632 | (char *) "self",(char *) "id", NULL | |
8633 | }; | |
8634 | ||
8635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpFrame_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
8636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8637 | { | |
8638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8639 | (arg1)->Display(arg2); | |
8640 | ||
8641 | wxPyEndAllowThreads(__tstate); | |
8642 | if (PyErr_Occurred()) SWIG_fail; | |
8643 | } | |
8644 | Py_INCREF(Py_None); resultobj = Py_None; | |
8645 | return resultobj; | |
8646 | fail: | |
8647 | return NULL; | |
8648 | } | |
8649 | ||
8650 | ||
8651 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8652 | PyObject *resultobj; | |
8653 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8654 | PyObject * obj0 = 0 ; | |
8655 | char *kwnames[] = { | |
8656 | (char *) "self", NULL | |
8657 | }; | |
8658 | ||
8659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
8660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8661 | { | |
8662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8663 | (arg1)->DisplayContents(); | |
8664 | ||
8665 | wxPyEndAllowThreads(__tstate); | |
8666 | if (PyErr_Occurred()) SWIG_fail; | |
8667 | } | |
8668 | Py_INCREF(Py_None); resultobj = Py_None; | |
8669 | return resultobj; | |
8670 | fail: | |
8671 | return NULL; | |
8672 | } | |
8673 | ||
8674 | ||
8675 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8676 | PyObject *resultobj; | |
8677 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8678 | PyObject * obj0 = 0 ; | |
8679 | char *kwnames[] = { | |
8680 | (char *) "self", NULL | |
8681 | }; | |
8682 | ||
8683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
8684 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8685 | { | |
8686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8687 | (arg1)->DisplayIndex(); | |
8688 | ||
8689 | wxPyEndAllowThreads(__tstate); | |
8690 | if (PyErr_Occurred()) SWIG_fail; | |
8691 | } | |
8692 | Py_INCREF(Py_None); resultobj = Py_None; | |
8693 | return resultobj; | |
8694 | fail: | |
8695 | return NULL; | |
8696 | } | |
8697 | ||
8698 | ||
8699 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8700 | PyObject *resultobj; | |
8701 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8702 | wxString *arg2 = 0 ; | |
8703 | bool result; | |
e811c8ce | 8704 | bool temp2 = False ; |
d14a1e28 RD |
8705 | PyObject * obj0 = 0 ; |
8706 | PyObject * obj1 = 0 ; | |
8707 | char *kwnames[] = { | |
8708 | (char *) "self",(char *) "keyword", NULL | |
8709 | }; | |
8710 | ||
8711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
8712 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8713 | { | |
8714 | arg2 = wxString_in_helper(obj1); | |
8715 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8716 | temp2 = True; |
d14a1e28 RD |
8717 | } |
8718 | { | |
8719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8720 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
8721 | ||
8722 | wxPyEndAllowThreads(__tstate); | |
8723 | if (PyErr_Occurred()) SWIG_fail; | |
8724 | } | |
8725 | resultobj = PyInt_FromLong((long)result); | |
8726 | { | |
8727 | if (temp2) | |
8728 | delete arg2; | |
8729 | } | |
8730 | return resultobj; | |
8731 | fail: | |
8732 | { | |
8733 | if (temp2) | |
8734 | delete arg2; | |
8735 | } | |
8736 | return NULL; | |
8737 | } | |
8738 | ||
8739 | ||
8740 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8741 | PyObject *resultobj; | |
8742 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8743 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8744 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8745 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce | 8746 | bool temp3 = False ; |
d14a1e28 RD |
8747 | PyObject * obj0 = 0 ; |
8748 | PyObject * obj1 = 0 ; | |
8749 | PyObject * obj2 = 0 ; | |
8750 | char *kwnames[] = { | |
8751 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
8752 | }; | |
8753 | ||
8754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8756 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8757 | if (obj2) { | |
8758 | { | |
8759 | arg3 = wxString_in_helper(obj2); | |
8760 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8761 | temp3 = True; |
d14a1e28 RD |
8762 | } |
8763 | } | |
8764 | { | |
8765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8766 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
8767 | ||
8768 | wxPyEndAllowThreads(__tstate); | |
8769 | if (PyErr_Occurred()) SWIG_fail; | |
8770 | } | |
8771 | Py_INCREF(Py_None); resultobj = Py_None; | |
8772 | { | |
8773 | if (temp3) | |
8774 | delete arg3; | |
8775 | } | |
8776 | return resultobj; | |
8777 | fail: | |
8778 | { | |
8779 | if (temp3) | |
8780 | delete arg3; | |
8781 | } | |
8782 | return NULL; | |
8783 | } | |
8784 | ||
8785 | ||
8786 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8787 | PyObject *resultobj; | |
8788 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8789 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8790 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8791 | PyObject * obj0 = 0 ; |
8792 | PyObject * obj1 = 0 ; | |
8793 | PyObject * obj2 = 0 ; | |
8794 | char *kwnames[] = { | |
8795 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8796 | }; | |
8797 | ||
8798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8799 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8800 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8801 | if (obj2) { | |
e811c8ce RD |
8802 | { |
8803 | wxString* sptr = wxString_in_helper(obj2); | |
8804 | if (sptr == NULL) SWIG_fail; | |
8805 | arg3 = *sptr; | |
8806 | delete sptr; | |
8807 | } | |
d14a1e28 RD |
8808 | } |
8809 | { | |
8810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8811 | (arg1)->ReadCustomization(arg2,arg3); | |
8812 | ||
8813 | wxPyEndAllowThreads(__tstate); | |
8814 | if (PyErr_Occurred()) SWIG_fail; | |
8815 | } | |
8816 | Py_INCREF(Py_None); resultobj = Py_None; | |
8817 | return resultobj; | |
8818 | fail: | |
8819 | return NULL; | |
8820 | } | |
8821 | ||
8822 | ||
8823 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8824 | PyObject *resultobj; | |
8825 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8826 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8827 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8828 | PyObject * obj0 = 0 ; |
8829 | PyObject * obj1 = 0 ; | |
8830 | PyObject * obj2 = 0 ; | |
8831 | char *kwnames[] = { | |
8832 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8833 | }; | |
8834 | ||
8835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8836 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8837 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8838 | if (obj2) { | |
e811c8ce RD |
8839 | { |
8840 | wxString* sptr = wxString_in_helper(obj2); | |
8841 | if (sptr == NULL) SWIG_fail; | |
8842 | arg3 = *sptr; | |
8843 | delete sptr; | |
8844 | } | |
d14a1e28 RD |
8845 | } |
8846 | { | |
8847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8848 | (arg1)->WriteCustomization(arg2,arg3); | |
8849 | ||
8850 | wxPyEndAllowThreads(__tstate); | |
8851 | if (PyErr_Occurred()) SWIG_fail; | |
8852 | } | |
8853 | Py_INCREF(Py_None); resultobj = Py_None; | |
8854 | return resultobj; | |
8855 | fail: | |
8856 | return NULL; | |
8857 | } | |
8858 | ||
8859 | ||
8860 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
8861 | PyObject *obj; | |
8862 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8863 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
8864 | Py_INCREF(obj); | |
8865 | return Py_BuildValue((char *)""); | |
8866 | } | |
8867 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8868 | PyObject *resultobj; | |
8869 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
8870 | wxHtmlHelpController *result; | |
8871 | char *kwnames[] = { | |
8872 | (char *) "style", NULL | |
8873 | }; | |
8874 | ||
8875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_HtmlHelpController",kwnames,&arg1)) goto fail; | |
8876 | { | |
8877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8878 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
8879 | ||
8880 | wxPyEndAllowThreads(__tstate); | |
8881 | if (PyErr_Occurred()) SWIG_fail; | |
8882 | } | |
8883 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1); | |
8884 | return resultobj; | |
8885 | fail: | |
8886 | return NULL; | |
8887 | } | |
8888 | ||
8889 | ||
8890 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8891 | PyObject *resultobj; | |
8892 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8893 | PyObject * obj0 = 0 ; | |
8894 | char *kwnames[] = { | |
8895 | (char *) "self", NULL | |
8896 | }; | |
8897 | ||
8898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
8899 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8900 | { | |
8901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8902 | delete arg1; | |
8903 | ||
8904 | wxPyEndAllowThreads(__tstate); | |
8905 | if (PyErr_Occurred()) SWIG_fail; | |
8906 | } | |
8907 | Py_INCREF(Py_None); resultobj = Py_None; | |
8908 | return resultobj; | |
8909 | fail: | |
8910 | return NULL; | |
8911 | } | |
8912 | ||
8913 | ||
8914 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8915 | PyObject *resultobj; | |
8916 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8917 | wxString *arg2 = 0 ; | |
e811c8ce | 8918 | bool temp2 = False ; |
d14a1e28 RD |
8919 | PyObject * obj0 = 0 ; |
8920 | PyObject * obj1 = 0 ; | |
8921 | char *kwnames[] = { | |
8922 | (char *) "self",(char *) "format", NULL | |
8923 | }; | |
8924 | ||
8925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8926 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8927 | { | |
8928 | arg2 = wxString_in_helper(obj1); | |
8929 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8930 | temp2 = True; |
d14a1e28 RD |
8931 | } |
8932 | { | |
8933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8934 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8935 | ||
8936 | wxPyEndAllowThreads(__tstate); | |
8937 | if (PyErr_Occurred()) SWIG_fail; | |
8938 | } | |
8939 | Py_INCREF(Py_None); resultobj = Py_None; | |
8940 | { | |
8941 | if (temp2) | |
8942 | delete arg2; | |
8943 | } | |
8944 | return resultobj; | |
8945 | fail: | |
8946 | { | |
8947 | if (temp2) | |
8948 | delete arg2; | |
8949 | } | |
8950 | return NULL; | |
8951 | } | |
8952 | ||
8953 | ||
8954 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8955 | PyObject *resultobj; | |
8956 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8957 | wxString *arg2 = 0 ; | |
e811c8ce | 8958 | bool temp2 = False ; |
d14a1e28 RD |
8959 | PyObject * obj0 = 0 ; |
8960 | PyObject * obj1 = 0 ; | |
8961 | char *kwnames[] = { | |
8962 | (char *) "self",(char *) "path", NULL | |
8963 | }; | |
8964 | ||
8965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8966 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8967 | { | |
8968 | arg2 = wxString_in_helper(obj1); | |
8969 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8970 | temp2 = True; |
d14a1e28 RD |
8971 | } |
8972 | { | |
8973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8974 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8975 | ||
8976 | wxPyEndAllowThreads(__tstate); | |
8977 | if (PyErr_Occurred()) SWIG_fail; | |
8978 | } | |
8979 | Py_INCREF(Py_None); resultobj = Py_None; | |
8980 | { | |
8981 | if (temp2) | |
8982 | delete arg2; | |
8983 | } | |
8984 | return resultobj; | |
8985 | fail: | |
8986 | { | |
8987 | if (temp2) | |
8988 | delete arg2; | |
8989 | } | |
8990 | return NULL; | |
8991 | } | |
8992 | ||
8993 | ||
8994 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8995 | PyObject *resultobj; | |
8996 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8997 | wxString *arg2 = 0 ; | |
e811c8ce | 8998 | int arg3 = (int) False ; |
d14a1e28 | 8999 | bool result; |
e811c8ce | 9000 | bool temp2 = False ; |
d14a1e28 RD |
9001 | PyObject * obj0 = 0 ; |
9002 | PyObject * obj1 = 0 ; | |
9003 | char *kwnames[] = { | |
9004 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
9005 | }; | |
9006 | ||
9007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
9008 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9009 | { | |
9010 | arg2 = wxString_in_helper(obj1); | |
9011 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9012 | temp2 = True; |
d14a1e28 RD |
9013 | } |
9014 | { | |
9015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9016 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
9017 | ||
9018 | wxPyEndAllowThreads(__tstate); | |
9019 | if (PyErr_Occurred()) SWIG_fail; | |
9020 | } | |
9021 | resultobj = PyInt_FromLong((long)result); | |
9022 | { | |
9023 | if (temp2) | |
9024 | delete arg2; | |
9025 | } | |
9026 | return resultobj; | |
9027 | fail: | |
9028 | { | |
9029 | if (temp2) | |
9030 | delete arg2; | |
9031 | } | |
9032 | return NULL; | |
9033 | } | |
9034 | ||
9035 | ||
9036 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9037 | PyObject *resultobj; | |
9038 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9039 | wxString *arg2 = 0 ; | |
e811c8ce | 9040 | bool temp2 = False ; |
d14a1e28 RD |
9041 | PyObject * obj0 = 0 ; |
9042 | PyObject * obj1 = 0 ; | |
9043 | char *kwnames[] = { | |
9044 | (char *) "self",(char *) "x", NULL | |
9045 | }; | |
9046 | ||
9047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
9048 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9049 | { | |
9050 | arg2 = wxString_in_helper(obj1); | |
9051 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9052 | temp2 = True; |
d14a1e28 RD |
9053 | } |
9054 | { | |
9055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9056 | (arg1)->Display((wxString const &)*arg2); | |
9057 | ||
9058 | wxPyEndAllowThreads(__tstate); | |
9059 | if (PyErr_Occurred()) SWIG_fail; | |
9060 | } | |
9061 | Py_INCREF(Py_None); resultobj = Py_None; | |
9062 | { | |
9063 | if (temp2) | |
9064 | delete arg2; | |
9065 | } | |
9066 | return resultobj; | |
9067 | fail: | |
9068 | { | |
9069 | if (temp2) | |
9070 | delete arg2; | |
9071 | } | |
9072 | return NULL; | |
9073 | } | |
9074 | ||
9075 | ||
9076 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9077 | PyObject *resultobj; | |
9078 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9079 | int arg2 ; | |
9080 | PyObject * obj0 = 0 ; | |
9081 | char *kwnames[] = { | |
9082 | (char *) "self",(char *) "id", NULL | |
9083 | }; | |
9084 | ||
9085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpController_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
9086 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9087 | { | |
9088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9089 | (arg1)->Display(arg2); | |
9090 | ||
9091 | wxPyEndAllowThreads(__tstate); | |
9092 | if (PyErr_Occurred()) SWIG_fail; | |
9093 | } | |
9094 | Py_INCREF(Py_None); resultobj = Py_None; | |
9095 | return resultobj; | |
9096 | fail: | |
9097 | return NULL; | |
9098 | } | |
9099 | ||
9100 | ||
9101 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9102 | PyObject *resultobj; | |
9103 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9104 | PyObject * obj0 = 0 ; | |
9105 | char *kwnames[] = { | |
9106 | (char *) "self", NULL | |
9107 | }; | |
9108 | ||
9109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
9110 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9111 | { | |
9112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9113 | (arg1)->DisplayContents(); | |
9114 | ||
9115 | wxPyEndAllowThreads(__tstate); | |
9116 | if (PyErr_Occurred()) SWIG_fail; | |
9117 | } | |
9118 | Py_INCREF(Py_None); resultobj = Py_None; | |
9119 | return resultobj; | |
9120 | fail: | |
9121 | return NULL; | |
9122 | } | |
9123 | ||
9124 | ||
9125 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9126 | PyObject *resultobj; | |
9127 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9128 | PyObject * obj0 = 0 ; | |
9129 | char *kwnames[] = { | |
9130 | (char *) "self", NULL | |
9131 | }; | |
9132 | ||
9133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
9134 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9135 | { | |
9136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9137 | (arg1)->DisplayIndex(); | |
9138 | ||
9139 | wxPyEndAllowThreads(__tstate); | |
9140 | if (PyErr_Occurred()) SWIG_fail; | |
9141 | } | |
9142 | Py_INCREF(Py_None); resultobj = Py_None; | |
9143 | return resultobj; | |
9144 | fail: | |
9145 | return NULL; | |
9146 | } | |
9147 | ||
9148 | ||
9149 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9150 | PyObject *resultobj; | |
9151 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9152 | wxString *arg2 = 0 ; | |
9153 | bool result; | |
e811c8ce | 9154 | bool temp2 = False ; |
d14a1e28 RD |
9155 | PyObject * obj0 = 0 ; |
9156 | PyObject * obj1 = 0 ; | |
9157 | char *kwnames[] = { | |
9158 | (char *) "self",(char *) "keyword", NULL | |
9159 | }; | |
9160 | ||
9161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
9162 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9163 | { | |
9164 | arg2 = wxString_in_helper(obj1); | |
9165 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9166 | temp2 = True; |
d14a1e28 RD |
9167 | } |
9168 | { | |
9169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9170 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
9171 | ||
9172 | wxPyEndAllowThreads(__tstate); | |
9173 | if (PyErr_Occurred()) SWIG_fail; | |
9174 | } | |
9175 | resultobj = PyInt_FromLong((long)result); | |
9176 | { | |
9177 | if (temp2) | |
9178 | delete arg2; | |
9179 | } | |
9180 | return resultobj; | |
9181 | fail: | |
9182 | { | |
9183 | if (temp2) | |
9184 | delete arg2; | |
9185 | } | |
9186 | return NULL; | |
9187 | } | |
9188 | ||
9189 | ||
9190 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9191 | PyObject *resultobj; | |
9192 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9193 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9194 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9195 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce | 9196 | bool temp3 = False ; |
d14a1e28 RD |
9197 | PyObject * obj0 = 0 ; |
9198 | PyObject * obj1 = 0 ; | |
9199 | PyObject * obj2 = 0 ; | |
9200 | char *kwnames[] = { | |
9201 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
9202 | }; | |
9203 | ||
9204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",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 | { | |
9209 | arg3 = wxString_in_helper(obj2); | |
9210 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 9211 | temp3 = True; |
d14a1e28 RD |
9212 | } |
9213 | } | |
9214 | { | |
9215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9216 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
9217 | ||
9218 | wxPyEndAllowThreads(__tstate); | |
9219 | if (PyErr_Occurred()) SWIG_fail; | |
9220 | } | |
9221 | Py_INCREF(Py_None); resultobj = Py_None; | |
9222 | { | |
9223 | if (temp3) | |
9224 | delete arg3; | |
9225 | } | |
9226 | return resultobj; | |
9227 | fail: | |
9228 | { | |
9229 | if (temp3) | |
9230 | delete arg3; | |
9231 | } | |
9232 | return NULL; | |
9233 | } | |
9234 | ||
9235 | ||
9236 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9237 | PyObject *resultobj; | |
9238 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9239 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9240 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
9241 | PyObject * obj0 = 0 ; |
9242 | PyObject * obj1 = 0 ; | |
9243 | PyObject * obj2 = 0 ; | |
9244 | char *kwnames[] = { | |
9245 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9246 | }; | |
9247 | ||
9248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9249 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9250 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9251 | if (obj2) { | |
e811c8ce RD |
9252 | { |
9253 | wxString* sptr = wxString_in_helper(obj2); | |
9254 | if (sptr == NULL) SWIG_fail; | |
9255 | arg3 = *sptr; | |
9256 | delete sptr; | |
9257 | } | |
d14a1e28 RD |
9258 | } |
9259 | { | |
9260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9261 | (arg1)->ReadCustomization(arg2,arg3); | |
9262 | ||
9263 | wxPyEndAllowThreads(__tstate); | |
9264 | if (PyErr_Occurred()) SWIG_fail; | |
9265 | } | |
9266 | Py_INCREF(Py_None); resultobj = Py_None; | |
9267 | return resultobj; | |
9268 | fail: | |
9269 | return NULL; | |
9270 | } | |
9271 | ||
9272 | ||
9273 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9274 | PyObject *resultobj; | |
9275 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9276 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9277 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
9278 | PyObject * obj0 = 0 ; |
9279 | PyObject * obj1 = 0 ; | |
9280 | PyObject * obj2 = 0 ; | |
9281 | char *kwnames[] = { | |
9282 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9283 | }; | |
9284 | ||
9285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9286 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9287 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9288 | if (obj2) { | |
e811c8ce RD |
9289 | { |
9290 | wxString* sptr = wxString_in_helper(obj2); | |
9291 | if (sptr == NULL) SWIG_fail; | |
9292 | arg3 = *sptr; | |
9293 | delete sptr; | |
9294 | } | |
d14a1e28 RD |
9295 | } |
9296 | { | |
9297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9298 | (arg1)->WriteCustomization(arg2,arg3); | |
9299 | ||
9300 | wxPyEndAllowThreads(__tstate); | |
9301 | if (PyErr_Occurred()) SWIG_fail; | |
9302 | } | |
9303 | Py_INCREF(Py_None); resultobj = Py_None; | |
9304 | return resultobj; | |
9305 | fail: | |
9306 | return NULL; | |
9307 | } | |
9308 | ||
9309 | ||
9310 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9311 | PyObject *resultobj; | |
9312 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9313 | wxHtmlHelpFrame *result; | |
9314 | PyObject * obj0 = 0 ; | |
9315 | char *kwnames[] = { | |
9316 | (char *) "self", NULL | |
9317 | }; | |
9318 | ||
9319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
9320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9321 | { | |
9322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9323 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
9324 | ||
9325 | wxPyEndAllowThreads(__tstate); | |
9326 | if (PyErr_Occurred()) SWIG_fail; | |
9327 | } | |
9328 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
9329 | return resultobj; | |
9330 | fail: | |
9331 | return NULL; | |
9332 | } | |
9333 | ||
9334 | ||
9335 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
9336 | PyObject *obj; | |
9337 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9338 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
9339 | Py_INCREF(obj); | |
9340 | return Py_BuildValue((char *)""); | |
9341 | } | |
9342 | static PyMethodDef SwigMethods[] = { | |
9343 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
9344 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
9345 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
9346 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9347 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9348 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9349 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9350 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
9351 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9352 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
9353 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
9354 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
9355 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
9356 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
9357 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
9358 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
9359 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
9360 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
9361 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
9362 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
9363 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
9364 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
9365 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
9366 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
9367 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9368 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
9369 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9370 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9371 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
9372 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
9373 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9374 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
9375 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
9376 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
9377 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
9378 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9379 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9380 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
9381 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9382 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
9383 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9384 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9385 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9386 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9387 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9388 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9389 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9390 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9391 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9392 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9393 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9394 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9395 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9396 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9397 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9398 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9399 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9400 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
9401 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9402 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
9403 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9404 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9405 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9406 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9407 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9408 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
9409 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9410 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9411 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9412 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9413 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9414 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
9415 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9416 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9417 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9418 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
9419 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
9420 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
9421 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
9422 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
9423 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
9424 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9425 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9426 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9427 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9428 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9429 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
9430 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
9431 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9432 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9433 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9434 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9435 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9436 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9437 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9438 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9439 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
9440 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9441 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9442 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9443 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9444 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9445 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9446 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9447 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9448 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9449 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9450 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9451 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9452 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
9453 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
9454 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9455 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
9456 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
9457 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
9458 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
9459 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
9460 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9461 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
9462 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
9463 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9464 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
9465 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
9466 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9467 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
9468 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
9469 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
9470 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
9471 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
9472 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
9473 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
9474 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9475 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9476 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
9477 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
9478 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
9479 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
9480 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9481 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9482 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
9483 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
9484 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
9485 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
9486 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
9487 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
9488 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
9489 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
9490 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9491 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9492 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9493 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9494 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9495 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9496 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
9497 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9498 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
9499 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
9500 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
9501 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9502 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9503 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
9504 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9505 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
9506 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
9507 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
9508 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
9509 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
9510 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
9511 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
9512 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
9513 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9514 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
9515 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9516 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9517 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
9518 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9519 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
9520 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
9521 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
9522 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
9523 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
9524 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9525 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
9526 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9527 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9528 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
9529 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9530 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9531 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
9532 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9533 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9534 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
9535 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
9536 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
9537 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
9538 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
9539 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
9540 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9541 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9542 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9543 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9544 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
9545 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9546 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
9547 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
9548 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
9549 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9550 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9551 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9552 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
9553 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9554 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9555 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
9556 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
9557 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
9558 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
9559 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9560 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
9561 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9562 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9563 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9564 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
9565 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9566 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
9567 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
9568 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9569 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9570 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
9571 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
9572 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
9573 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
9574 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
9575 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
9576 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9577 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9578 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9579 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
9580 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
9581 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
9582 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
9583 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
9584 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9585 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
9586 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9587 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
9588 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
9589 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
9590 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9591 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9592 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
9593 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
9594 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
9595 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
9596 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
9597 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9598 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
9599 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
9600 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
9601 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
9602 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
9603 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
9604 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
9605 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9606 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
9607 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
9608 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9609 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9610 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9611 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9612 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
9613 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
9614 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
9615 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
9616 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
9617 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
9618 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
9619 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
9620 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
9621 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
9622 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9623 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
9624 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9625 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9626 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9627 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9628 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9629 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9630 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9631 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
9632 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9633 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9634 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9635 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9636 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9637 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
9638 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9639 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9640 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9641 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9642 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9643 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9644 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9645 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
9646 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
9647 | { NULL, NULL } | |
9648 | }; | |
9649 | ||
9650 | ||
9651 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
9652 | ||
9653 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
9654 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
9655 | } | |
9656 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
9657 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
9658 | } | |
9659 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
9660 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
9661 | } | |
9662 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
9663 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9664 | } | |
9665 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
9666 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9667 | } | |
9668 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
9669 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9670 | } | |
9671 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
9672 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9673 | } | |
9674 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
9675 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
9676 | } | |
9677 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
9678 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9679 | } | |
9680 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
9681 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
9682 | } | |
9683 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
9684 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9685 | } | |
9686 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
9687 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9688 | } | |
9689 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
9690 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9691 | } | |
9692 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
9693 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9694 | } | |
9695 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
9696 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9697 | } | |
9698 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
9699 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
9700 | } | |
9701 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
9702 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
9703 | } | |
9704 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
9705 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9706 | } | |
9707 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
9708 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9709 | } | |
9710 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
9711 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9712 | } | |
9713 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
9714 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9715 | } | |
9716 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
9717 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9718 | } | |
9719 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
9720 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9721 | } | |
9722 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
9723 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9724 | } | |
9725 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
9726 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
9727 | } | |
9728 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
9729 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
9730 | } | |
9731 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
9732 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
9733 | } | |
9734 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
9735 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9736 | } | |
9737 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
9738 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9739 | } | |
9740 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
9741 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9742 | } | |
9743 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
9744 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
9745 | } | |
9746 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
9747 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9748 | } | |
9749 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
9750 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
9751 | } | |
9752 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
9753 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
9754 | } | |
9755 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
9756 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
9757 | } | |
9758 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
9759 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
9760 | } | |
9761 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
9762 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
9763 | } | |
9764 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
9765 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9766 | } | |
9767 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
9768 | return (void *)((wxWindow *) ((wxControl *) x)); | |
9769 | } | |
9770 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
9771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9772 | } | |
9773 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
9774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9775 | } | |
9776 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
9777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9778 | } | |
9779 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
9780 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
9781 | } | |
9782 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
9783 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
9784 | } | |
9785 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
9786 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9787 | } | |
9788 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
9789 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9790 | } | |
9791 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
9792 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9793 | } | |
9794 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
9795 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
9796 | } | |
9797 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
9798 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9799 | } | |
9800 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
9801 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9802 | } | |
9803 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
9804 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
9805 | } | |
9806 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
9807 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9808 | } | |
9809 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
9810 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9811 | } | |
9812 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
9813 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9814 | } | |
9815 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
9816 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
9817 | } | |
9818 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
9819 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
9820 | } | |
9821 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
9822 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
9823 | } | |
9824 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
9825 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
9826 | } | |
9827 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
9828 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
9829 | } | |
9830 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
9831 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
9832 | } | |
9833 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
9834 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
9835 | } | |
9836 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
9837 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
9838 | } | |
9839 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
9840 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
9841 | } | |
9842 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
9843 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
9844 | } | |
9845 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
9846 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
9847 | } | |
9848 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
9849 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
9850 | } | |
9851 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
9852 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
9853 | } | |
9854 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
9855 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
9856 | } | |
9857 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
9858 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
9859 | } | |
9860 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
9861 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
9862 | } | |
9863 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
9864 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
9865 | } | |
9866 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
9867 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
9868 | } | |
9869 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
9870 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
9871 | } | |
9872 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9873 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9874 | } | |
9875 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9876 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9877 | } | |
9878 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
9879 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
9880 | } | |
9881 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
9882 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9883 | } | |
9884 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9885 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
9886 | } | |
9887 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9888 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9889 | } | |
9890 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
9891 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
9892 | } | |
9893 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
9894 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9895 | } | |
9896 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
9897 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9898 | } | |
9899 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
9900 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9901 | } | |
9902 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
9903 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
9904 | } | |
9905 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
9906 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
9907 | } | |
9908 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
9909 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
9910 | } | |
9911 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
9912 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
9913 | } | |
9914 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
9915 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
9916 | } | |
9917 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
9918 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
9919 | } | |
9920 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
9921 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
9922 | } | |
9923 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
9924 | return (void *)((wxObject *) ((wxSizer *) x)); | |
9925 | } | |
9926 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
9927 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
9928 | } | |
9929 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
9930 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
9931 | } | |
9932 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
9933 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9934 | } | |
9935 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
9936 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
9937 | } | |
9938 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
9939 | return (void *)((wxObject *) ((wxEvent *) x)); | |
9940 | } | |
9941 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
9942 | return (void *)((wxObject *) ((wxFontData *) x)); | |
9943 | } | |
9944 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
9945 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
9946 | } | |
9947 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
9948 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
9949 | } | |
9950 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
9951 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
9952 | } | |
9953 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
9954 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
9955 | } | |
9956 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
9957 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
9958 | } | |
9959 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
9960 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
9961 | } | |
9962 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
9963 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
9964 | } | |
9965 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
9966 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9967 | } | |
9968 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
9969 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9970 | } | |
9971 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
9972 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
9973 | } | |
9974 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
9975 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
9976 | } | |
9977 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
9978 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
9979 | } | |
9980 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
9981 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
9982 | } | |
9983 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
9984 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
9985 | } | |
9986 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
9987 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
9988 | } | |
9989 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
9990 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
9991 | } | |
9992 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
9993 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9994 | } | |
9995 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
9996 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
9997 | } | |
9998 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
9999 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
10000 | } | |
10001 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
10002 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
10003 | } | |
10004 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
10005 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
10006 | } | |
10007 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
10008 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10009 | } | |
10010 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
10011 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
10012 | } | |
10013 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
10014 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
10015 | } | |
10016 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
10017 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10018 | } | |
10019 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
10020 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10021 | } | |
10022 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
10023 | return (void *)((wxObject *) ((wxColourData *) x)); | |
10024 | } | |
10025 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
10026 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
10027 | } | |
10028 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
10029 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
10030 | } | |
10031 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
10032 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
10033 | } | |
10034 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
10035 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10036 | } | |
10037 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
10038 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10039 | } | |
10040 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
10041 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10042 | } | |
10043 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
10044 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10045 | } | |
10046 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
10047 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10048 | } | |
10049 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
10050 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10051 | } | |
10052 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
10053 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10054 | } | |
10055 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
10056 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10057 | } | |
10058 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
10059 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
10060 | } | |
10061 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
10062 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
10063 | } | |
10064 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
10065 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
10066 | } | |
10067 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
10068 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
10069 | } | |
10070 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
10071 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
10072 | } | |
10073 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
10074 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
10075 | } | |
10076 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
10077 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
10078 | } | |
10079 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
10080 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
10081 | } | |
10082 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
10083 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
10084 | } | |
10085 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
10086 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
10087 | } | |
10088 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
10089 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
10090 | } | |
10091 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
10092 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
10093 | } | |
10094 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
10095 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
10096 | } | |
10097 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
10098 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
10099 | } | |
10100 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
10101 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
10102 | } | |
10103 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
10104 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
10105 | } | |
10106 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
10107 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
10108 | } | |
10109 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
10110 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
10111 | } | |
10112 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
10113 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
10114 | } | |
10115 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
10116 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
10117 | } | |
10118 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
10119 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
10120 | } | |
10121 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
10122 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
10123 | } | |
10124 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
10125 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
10126 | } | |
10127 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
10128 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
10129 | } | |
10130 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
10131 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
10132 | } | |
10133 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
10134 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
10135 | } | |
10136 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
10137 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
10138 | } | |
10139 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
10140 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10141 | } | |
10142 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
10143 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10144 | } | |
10145 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
10146 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10147 | } | |
10148 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
10149 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
10150 | } | |
10151 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
10152 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10153 | } | |
10154 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
10155 | return (void *)((wxObject *) ((wxImage *) x)); | |
10156 | } | |
10157 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
10158 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10159 | } | |
10160 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
10161 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
10162 | } | |
10163 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
10164 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10165 | } | |
10166 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
10167 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
10168 | } | |
10169 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
10170 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
10171 | } | |
10172 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
10173 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
10174 | } | |
10175 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
10176 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
10177 | } | |
10178 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
10179 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10180 | } | |
10181 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
10182 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10183 | } | |
10184 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
10185 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
10186 | } | |
10187 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
10188 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
10189 | } | |
10190 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
10191 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
10192 | } | |
10193 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
10194 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10195 | } | |
10196 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
10197 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
10198 | } | |
10199 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
10200 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
10201 | } | |
10202 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10203 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10204 | } | |
10205 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
10206 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
10207 | } | |
10208 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
10209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
10210 | } | |
10211 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
10212 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
10213 | } | |
10214 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
10215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
10216 | } | |
10217 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
10218 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10219 | } | |
10220 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
10221 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
10222 | } | |
10223 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
10224 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10225 | } | |
10226 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
10227 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10228 | } | |
10229 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
10230 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10231 | } | |
10232 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
10233 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
10234 | } | |
10235 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
10236 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10237 | } | |
10238 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
10239 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
10240 | } | |
10241 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
10242 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
10243 | } | |
10244 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
10245 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
10246 | } | |
10247 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
10248 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
10249 | } | |
10250 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
10251 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10252 | } | |
10253 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
10254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10255 | } | |
10256 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
10257 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10258 | } | |
10259 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
10260 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10261 | } | |
10262 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
10263 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10264 | } | |
10265 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
10266 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10267 | } | |
10268 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
10269 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
10270 | } | |
10271 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
10272 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
10273 | } | |
10274 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
10275 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
10276 | } | |
10277 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
10278 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10279 | } | |
10280 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
10281 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
10282 | } | |
10283 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
10284 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10285 | } | |
10286 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
10287 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
10288 | } | |
10289 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
10290 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
10291 | } | |
10292 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
10293 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
10294 | } | |
10295 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
10296 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
10297 | } | |
10298 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
10299 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10300 | } | |
10301 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
10302 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
10303 | } | |
10304 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
10305 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10306 | } | |
10307 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
10308 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10309 | } | |
10310 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
10311 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
10312 | } | |
10313 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
10314 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
10315 | } | |
10316 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
10317 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
10318 | } | |
10319 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
10320 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10321 | } | |
10322 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
10323 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10324 | } | |
10325 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
10326 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10327 | } | |
10328 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
10329 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
10330 | } | |
10331 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
10332 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
10333 | } | |
10334 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
10335 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
10336 | } | |
10337 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
10338 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
10339 | } | |
10340 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
10341 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10342 | } | |
10343 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
10344 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10345 | } | |
10346 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
10347 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10348 | } | |
10349 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
10350 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10351 | } | |
10352 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
10353 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
10354 | } | |
10355 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
10356 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
10357 | } | |
10358 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
10359 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
10360 | } | |
10361 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
10362 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
10363 | } | |
10364 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
10365 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10366 | } | |
10367 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10368 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10369 | } | |
10370 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10371 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10372 | } | |
10373 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
10374 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10375 | } | |
10376 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
10377 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10378 | } | |
10379 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
10380 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10381 | } | |
10382 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
10383 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10384 | } | |
10385 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
10386 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
10387 | } | |
10388 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
10389 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
10390 | } | |
10391 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10392 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10393 | } | |
10394 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
10395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10396 | } | |
10397 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
10398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10399 | } | |
10400 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
10401 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
10402 | } | |
10403 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
10404 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10405 | } | |
10406 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
10407 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
10408 | } | |
10409 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10410 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
10411 | } | |
10412 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
10413 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
10414 | } | |
10415 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
10416 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
10417 | } | |
10418 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10419 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10420 | } | |
10421 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
10422 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
10423 | } | |
10424 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
10425 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
10426 | } | |
10427 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
10428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10429 | } | |
10430 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
10431 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
10432 | } | |
10433 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10435 | } | |
10436 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10437 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10438 | } | |
10439 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
10440 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10441 | } | |
10442 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
10443 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
10444 | } | |
10445 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
10446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10447 | } | |
10448 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
10449 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
10450 | } | |
10451 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
10452 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10453 | } | |
10454 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
10455 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10456 | } | |
10457 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
10458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10459 | } | |
10460 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
10461 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10462 | } | |
10463 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10464 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10465 | } | |
10466 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10468 | } | |
10469 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
10470 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
10471 | } | |
10472 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
10473 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10474 | } | |
10475 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
10476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10477 | } | |
10478 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
10479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10480 | } | |
10481 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
10482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10483 | } | |
10484 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
10485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10486 | } | |
10487 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
10488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10489 | } | |
10490 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
10491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10492 | } | |
10493 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
10494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10495 | } | |
10496 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
10497 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10498 | } | |
10499 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
10500 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10501 | } | |
10502 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
10503 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
10504 | } | |
10505 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
10506 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
10507 | } | |
10508 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
10509 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
10510 | } | |
10511 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
10512 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10513 | } | |
10514 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
10515 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
10516 | } | |
10517 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
10518 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10519 | } | |
10520 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
10521 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
10522 | } | |
10523 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
10524 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
10525 | } | |
10526 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
10527 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10528 | } | |
10529 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
10530 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10531 | } | |
10532 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
10533 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10534 | } | |
10535 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
10536 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10537 | } | |
10538 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
10539 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
10540 | } | |
10541 | static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}}; | |
10542 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
10543 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; | |
10544 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
10545 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}}; | |
10546 | static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}}; | |
10547 | static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}}; | |
10548 | static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}}; | |
10549 | static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}}; | |
10550 | static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}}; | |
10551 | static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}}; | |
10552 | 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}}; | |
10553 | static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}}; | |
10554 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
10555 | static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}}; | |
10556 | static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}}; | |
10557 | 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}}; | |
10558 | 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}}; | |
10559 | 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}}; | |
10560 | static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}}; | |
10561 | static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}}; | |
10562 | static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}}; | |
10563 | static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}}; | |
10564 | 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}}; | |
10565 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
10566 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}}; | |
10567 | static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}}; | |
10568 | static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}}; | |
10569 | 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}}; | |
10570 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
10571 | static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}}; | |
10572 | static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; | |
10573 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}}; | |
10574 | static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}}; | |
10575 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}}; | |
10576 | static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}}; | |
10577 | static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}}; | |
10578 | static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}}; | |
10579 | static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}}; | |
10580 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
10581 | static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}}; | |
10582 | static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}}; | |
10583 | 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}}; | |
10584 | static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}}; | |
10585 | static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}}; | |
10586 | 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}}; | |
10587 | static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}}; | |
10588 | static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}}; | |
10589 | static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}}; | |
10590 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
10591 | static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}}; | |
10592 | ||
10593 | static swig_type_info *swig_types_initial[] = { | |
10594 | _swigt__p_wxHtmlDCRenderer, | |
10595 | _swigt__p_wxColour, | |
10596 | _swigt__p_wxPageSetupDialogData, | |
10597 | _swigt__p_wxDC, | |
10598 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
10599 | _swigt__p_wxHtmlRenderingStyle, | |
10600 | _swigt__p_wxMouseEvent, | |
10601 | _swigt__p_wxHtmlWordCell, | |
10602 | _swigt__p_wxHtmlHelpData, | |
10603 | _swigt__p_wxHtmlWinParser, | |
10604 | _swigt__p_wxHtmlParser, | |
10605 | _swigt__p_wxPanel, | |
10606 | _swigt__p_wxHtmlFontCell, | |
10607 | _swigt__p_wxFont, | |
10608 | _swigt__p_wxHtmlColourCell, | |
10609 | _swigt__p_wxPyHtmlWindow, | |
10610 | _swigt__p_wxScrolledWindow, | |
10611 | _swigt__p_wxWindow, | |
10612 | _swigt__p_wxTopLevelWindow, | |
10613 | _swigt__p_wxHtmlEasyPrinting, | |
10614 | _swigt__p_wxHtmlSelection, | |
10615 | _swigt__p_wxHtmlRenderingInfo, | |
10616 | _swigt__p_wxHtmlWidgetCell, | |
10617 | _swigt__p_wxObject, | |
10618 | _swigt__p_wxString, | |
10619 | _swigt__p_wxPyHtmlWinTagHandler, | |
10620 | _swigt__p_wxHtmlTagHandler, | |
10621 | _swigt__p_wxPyHtmlTagHandler, | |
10622 | _swigt__p_wxEvtHandler, | |
10623 | _swigt__p_wxPoint, | |
10624 | _swigt__p_wxHtmlHelpController, | |
10625 | _swigt__p_wxCursor, | |
10626 | _swigt__p_wxFileSystem, | |
10627 | _swigt__p_wxHtmlBookRecArray, | |
10628 | _swigt__p_wxPyPrintout, | |
10629 | _swigt__p_wxHtmlPrintout, | |
10630 | _swigt__p_wxHtmlSearchStatus, | |
10631 | _swigt__p_wxHtmlContentsItem, | |
10632 | _swigt__p_wxConfigBase, | |
10633 | _swigt__p_wxPrintData, | |
10634 | _swigt__p_wxHtmlHelpFrame, | |
10635 | _swigt__p_wxHtmlRenderingState, | |
10636 | _swigt__p_wxFrame, | |
10637 | _swigt__p_wxPyHtmlFilter, | |
10638 | _swigt__p_wxHtmlFilter, | |
10639 | _swigt__p_wxHtmlCell, | |
10640 | _swigt__p_wxHtmlContainerCell, | |
10641 | _swigt__p_wxHtmlTag, | |
10642 | _swigt__p_wxHtmlLinkInfo, | |
10643 | _swigt__p_int, | |
10644 | _swigt__p_wxHtmlBookRecord, | |
10645 | 0 | |
10646 | }; | |
10647 | ||
10648 | ||
10649 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
10650 | ||
10651 | static swig_const_info swig_const_table[] = { | |
10652 | { SWIG_PY_INT, (char *)"HTML_ALIGN_LEFT", (long) wxHTML_ALIGN_LEFT, 0, 0, 0}, | |
10653 | { SWIG_PY_INT, (char *)"HTML_ALIGN_CENTER", (long) wxHTML_ALIGN_CENTER, 0, 0, 0}, | |
10654 | { SWIG_PY_INT, (char *)"HTML_ALIGN_RIGHT", (long) wxHTML_ALIGN_RIGHT, 0, 0, 0}, | |
10655 | { SWIG_PY_INT, (char *)"HTML_ALIGN_BOTTOM", (long) wxHTML_ALIGN_BOTTOM, 0, 0, 0}, | |
10656 | { SWIG_PY_INT, (char *)"HTML_ALIGN_TOP", (long) wxHTML_ALIGN_TOP, 0, 0, 0}, | |
10657 | { SWIG_PY_INT, (char *)"HTML_CLR_FOREGROUND", (long) wxHTML_CLR_FOREGROUND, 0, 0, 0}, | |
10658 | { SWIG_PY_INT, (char *)"HTML_CLR_BACKGROUND", (long) wxHTML_CLR_BACKGROUND, 0, 0, 0}, | |
10659 | { SWIG_PY_INT, (char *)"HTML_UNITS_PIXELS", (long) wxHTML_UNITS_PIXELS, 0, 0, 0}, | |
10660 | { SWIG_PY_INT, (char *)"HTML_UNITS_PERCENT", (long) wxHTML_UNITS_PERCENT, 0, 0, 0}, | |
10661 | { SWIG_PY_INT, (char *)"HTML_INDENT_LEFT", (long) wxHTML_INDENT_LEFT, 0, 0, 0}, | |
10662 | { SWIG_PY_INT, (char *)"HTML_INDENT_RIGHT", (long) wxHTML_INDENT_RIGHT, 0, 0, 0}, | |
10663 | { SWIG_PY_INT, (char *)"HTML_INDENT_TOP", (long) wxHTML_INDENT_TOP, 0, 0, 0}, | |
10664 | { SWIG_PY_INT, (char *)"HTML_INDENT_BOTTOM", (long) wxHTML_INDENT_BOTTOM, 0, 0, 0}, | |
10665 | { SWIG_PY_INT, (char *)"HTML_INDENT_HORIZONTAL", (long) wxHTML_INDENT_HORIZONTAL, 0, 0, 0}, | |
10666 | { SWIG_PY_INT, (char *)"HTML_INDENT_VERTICAL", (long) wxHTML_INDENT_VERTICAL, 0, 0, 0}, | |
10667 | { SWIG_PY_INT, (char *)"HTML_INDENT_ALL", (long) wxHTML_INDENT_ALL, 0, 0, 0}, | |
10668 | { SWIG_PY_INT, (char *)"HTML_COND_ISANCHOR", (long) wxHTML_COND_ISANCHOR, 0, 0, 0}, | |
10669 | { SWIG_PY_INT, (char *)"HTML_COND_ISIMAGEMAP", (long) wxHTML_COND_ISIMAGEMAP, 0, 0, 0}, | |
10670 | { SWIG_PY_INT, (char *)"HTML_COND_USER", (long) wxHTML_COND_USER, 0, 0, 0}, | |
10671 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_NEVER", (long) wxHW_SCROLLBAR_NEVER, 0, 0, 0}, | |
10672 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_AUTO", (long) wxHW_SCROLLBAR_AUTO, 0, 0, 0}, | |
10673 | { SWIG_PY_INT, (char *)"HW_NO_SELECTION", (long) wxHW_NO_SELECTION, 0, 0, 0}, | |
10674 | { SWIG_PY_INT, (char *)"HW_DEFAULT_STYLE", (long) wxHW_DEFAULT_STYLE, 0, 0, 0}, | |
10675 | { SWIG_PY_INT, (char *)"HTML_OPEN", (long) wxHTML_OPEN, 0, 0, 0}, | |
10676 | { SWIG_PY_INT, (char *)"HTML_BLOCK", (long) wxHTML_BLOCK, 0, 0, 0}, | |
10677 | { SWIG_PY_INT, (char *)"HTML_REDIRECT", (long) wxHTML_REDIRECT, 0, 0, 0}, | |
10678 | { SWIG_PY_INT, (char *)"HTML_URL_PAGE", (long) wxHTML_URL_PAGE, 0, 0, 0}, | |
10679 | { SWIG_PY_INT, (char *)"HTML_URL_IMAGE", (long) wxHTML_URL_IMAGE, 0, 0, 0}, | |
10680 | { SWIG_PY_INT, (char *)"HTML_URL_OTHER", (long) wxHTML_URL_OTHER, 0, 0, 0}, | |
10681 | { SWIG_PY_INT, (char *)"HTML_SEL_OUT", (long) wxHTML_SEL_OUT, 0, 0, 0}, | |
10682 | { SWIG_PY_INT, (char *)"HTML_SEL_IN", (long) wxHTML_SEL_IN, 0, 0, 0}, | |
10683 | { SWIG_PY_INT, (char *)"HTML_SEL_CHANGING", (long) wxHTML_SEL_CHANGING, 0, 0, 0}, | |
10684 | { SWIG_PY_INT, (char *)"HTML_FIND_EXACT", (long) wxHTML_FIND_EXACT, 0, 0, 0}, | |
10685 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_BEFORE", (long) wxHTML_FIND_NEAREST_BEFORE, 0, 0, 0}, | |
10686 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_AFTER", (long) wxHTML_FIND_NEAREST_AFTER, 0, 0, 0}, | |
10687 | { SWIG_PY_INT, (char *)"PAGE_ODD", (long) wxPAGE_ODD, 0, 0, 0}, | |
10688 | { SWIG_PY_INT, (char *)"PAGE_EVEN", (long) wxPAGE_EVEN, 0, 0, 0}, | |
10689 | { SWIG_PY_INT, (char *)"PAGE_ALL", (long) wxPAGE_ALL, 0, 0, 0}, | |
10690 | { SWIG_PY_INT, (char *)"HF_TOOLBAR", (long) wxHF_TOOLBAR, 0, 0, 0}, | |
10691 | { SWIG_PY_INT, (char *)"HF_FLATTOOLBAR", (long) wxHF_FLATTOOLBAR, 0, 0, 0}, | |
10692 | { SWIG_PY_INT, (char *)"HF_CONTENTS", (long) wxHF_CONTENTS, 0, 0, 0}, | |
10693 | { SWIG_PY_INT, (char *)"HF_INDEX", (long) wxHF_INDEX, 0, 0, 0}, | |
10694 | { SWIG_PY_INT, (char *)"HF_SEARCH", (long) wxHF_SEARCH, 0, 0, 0}, | |
10695 | { SWIG_PY_INT, (char *)"HF_BOOKMARKS", (long) wxHF_BOOKMARKS, 0, 0, 0}, | |
10696 | { SWIG_PY_INT, (char *)"HF_OPENFILES", (long) wxHF_OPENFILES, 0, 0, 0}, | |
10697 | { SWIG_PY_INT, (char *)"HF_PRINT", (long) wxHF_PRINT, 0, 0, 0}, | |
10698 | { SWIG_PY_INT, (char *)"HF_DEFAULTSTYLE", (long) wxHF_DEFAULTSTYLE, 0, 0, 0}, | |
10699 | {0}}; | |
10700 | ||
10701 | #ifdef __cplusplus | |
10702 | } | |
10703 | #endif | |
10704 | ||
10705 | #ifdef __cplusplus | |
10706 | extern "C" | |
10707 | #endif | |
10708 | SWIGEXPORT(void) SWIG_init(void) { | |
10709 | static PyObject *SWIG_globals = 0; | |
10710 | static int typeinit = 0; | |
10711 | PyObject *m, *d; | |
10712 | int i; | |
10713 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
10714 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
10715 | d = PyModule_GetDict(m); | |
10716 | ||
10717 | if (!typeinit) { | |
10718 | for (i = 0; swig_types_initial[i]; i++) { | |
10719 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
10720 | } | |
10721 | typeinit = 1; | |
10722 | } | |
10723 | SWIG_InstallConstants(d,swig_const_table); | |
10724 | ||
10725 | ||
10726 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
10727 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
10728 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
10729 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
10730 | ||
10731 | } | |
10732 |