]>
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 | |
c9c7117a RD |
48 | #define SWIG_PackData SWIG_Python_PackData |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
d14a1e28 RD |
51 | |
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
cc6dd355 RD |
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
d14a1e28 | 82 | #else |
cc6dd355 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
cc6dd355 | 90 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
91 | #endif |
92 | ||
d14a1e28 RD |
93 | #ifdef __cplusplus |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
cc6dd355 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
cc6dd355 | 104 | void *clientdata; |
d14a1e28 RD |
105 | swig_dycast_func dcast; |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
120 | |
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
9d1d5697 | 124 | |
d14a1e28 RD |
125 | #endif |
126 | ||
cc6dd355 | 127 | |
d14a1e28 RD |
128 | /*********************************************************************** |
129 | * pyrun.swg for wxPython | |
130 | * | |
131 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
132 | * but not the runtime functions themselves. This helps keep the | |
133 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
134 | * anyway. | |
135 | * | |
136 | ************************************************************************/ | |
137 | ||
d14a1e28 RD |
138 | #include "Python.h" |
139 | ||
140 | #ifdef __cplusplus | |
141 | extern "C" { | |
142 | #endif | |
143 | ||
144 | #define SWIG_PY_INT 1 | |
145 | #define SWIG_PY_FLOAT 2 | |
146 | #define SWIG_PY_STRING 3 | |
147 | #define SWIG_PY_POINTER 4 | |
148 | #define SWIG_PY_BINARY 5 | |
149 | ||
150 | /* Flags for pointer conversion */ | |
151 | ||
152 | #define SWIG_POINTER_EXCEPTION 0x1 | |
153 | #define SWIG_POINTER_DISOWN 0x2 | |
154 | ||
155 | /* Exception handling in wrappers */ | |
156 | #define SWIG_fail goto fail | |
157 | ||
158 | /* Constant information structure */ | |
159 | typedef struct swig_const_info { | |
160 | int type; | |
161 | char *name; | |
162 | long lvalue; | |
163 | double dvalue; | |
164 | void *pvalue; | |
165 | swig_type_info **ptype; | |
166 | } swig_const_info; | |
167 | ||
d14a1e28 RD |
168 | /* Common SWIG API */ |
169 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
170 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
171 | #define SWIG_NewPointerObj(p, type, flags) \ | |
172 | SWIG_Python_NewPointerObj(p, type, flags) | |
173 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
174 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
175 | ||
176 | /* Python-specific SWIG API */ | |
177 | #define SWIG_newvarlink() \ | |
178 | SWIG_Python_newvarlink() | |
179 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
180 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
181 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
182 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
183 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
184 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
185 | #define SWIG_InstallConstants(d, constants) \ | |
186 | SWIG_Python_InstallConstants(d, constants) | |
187 | ||
188 | ||
cc6dd355 RD |
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 197 | |
d14a1e28 RD |
198 | |
199 | ||
200 | /* Contract support */ | |
201 | ||
9d1d5697 | 202 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 203 | |
d14a1e28 RD |
204 | #ifdef __cplusplus |
205 | } | |
206 | #endif | |
207 | ||
208 | ||
209 | ||
210 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
211 | ||
212 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0] | |
213 | #define SWIGTYPE_p_wxColour swig_types[1] | |
214 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2] | |
215 | #define SWIGTYPE_p_wxDC swig_types[3] | |
216 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4] | |
217 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5] | |
218 | #define SWIGTYPE_p_wxMouseEvent swig_types[6] | |
219 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[7] | |
220 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[8] | |
221 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[9] | |
222 | #define SWIGTYPE_p_wxHtmlParser swig_types[10] | |
223 | #define SWIGTYPE_p_wxPanel swig_types[11] | |
224 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[12] | |
225 | #define SWIGTYPE_p_wxFont swig_types[13] | |
226 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[14] | |
227 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15] | |
228 | #define SWIGTYPE_p_wxScrolledWindow swig_types[16] | |
229 | #define SWIGTYPE_p_wxWindow swig_types[17] | |
230 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[18] | |
231 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[19] | |
232 | #define SWIGTYPE_p_wxHtmlSelection swig_types[20] | |
233 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[21] | |
234 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[22] | |
235 | #define SWIGTYPE_p_wxObject swig_types[23] | |
236 | #define SWIGTYPE_p_wxString swig_types[24] | |
237 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[25] | |
238 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[26] | |
239 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[27] | |
240 | #define SWIGTYPE_p_wxEvtHandler swig_types[28] | |
241 | #define SWIGTYPE_p_wxPoint swig_types[29] | |
242 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[30] | |
243 | #define SWIGTYPE_p_wxCursor swig_types[31] | |
244 | #define SWIGTYPE_p_wxFileSystem swig_types[32] | |
245 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[33] | |
246 | #define SWIGTYPE_p_wxPyPrintout swig_types[34] | |
247 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[35] | |
248 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[36] | |
249 | #define SWIGTYPE_p_wxHtmlContentsItem swig_types[37] | |
250 | #define SWIGTYPE_p_wxConfigBase swig_types[38] | |
251 | #define SWIGTYPE_p_wxPrintData swig_types[39] | |
252 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[40] | |
253 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[41] | |
254 | #define SWIGTYPE_p_wxFrame swig_types[42] | |
255 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[43] | |
256 | #define SWIGTYPE_p_wxHtmlFilter swig_types[44] | |
257 | #define SWIGTYPE_p_wxHtmlCell swig_types[45] | |
258 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[46] | |
259 | #define SWIGTYPE_p_wxHtmlTag swig_types[47] | |
260 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[48] | |
261 | #define SWIGTYPE_p_int swig_types[49] | |
262 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[50] | |
263 | static swig_type_info *swig_types[52]; | |
264 | ||
265 | /* -------- TYPES TABLE (END) -------- */ | |
266 | ||
267 | ||
268 | /*----------------------------------------------- | |
269 | @(target):= _html.so | |
270 | ------------------------------------------------*/ | |
271 | #define SWIG_init init_html | |
272 | ||
273 | #define SWIG_name "_html" | |
274 | ||
275 | #include "wx/wxPython/wxPython.h" | |
276 | #include "wx/wxPython/pyclasses.h" | |
277 | #include "wx/wxPython/pyistream.h" | |
278 | #include "wx/wxPython/printfw.h" | |
279 | ||
280 | #include <wx/html/htmlwin.h> | |
281 | #include <wx/html/htmprint.h> | |
282 | #include <wx/html/helpctrl.h> | |
283 | ||
284 | ||
b2dc1044 RD |
285 | static const wxString wxPyEmptyString(wxEmptyString); |
286 | static const wxString wxPyHtmlWindowNameStr(wxT("htmlWindow")); | |
287 | static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); | |
288 | static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); | |
d14a1e28 RD |
289 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ |
290 | int* temp = NULL; | |
291 | if (sizes) temp = int_LIST_helper(sizes); | |
292 | self->SetFonts(normal_face, fixed_face, temp); | |
293 | if (temp) | |
294 | delete [] temp; | |
295 | } | |
296 | ||
297 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
298 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
299 | public: | |
300 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
301 | ||
302 | wxHtmlParser* GetParser() { return m_Parser; } | |
303 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
304 | ||
305 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
306 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
307 | ||
308 | PYPRIVATE; | |
309 | }; | |
310 | ||
311 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
312 | ||
313 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
314 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
315 | ||
316 | ||
317 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
318 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
319 | public: | |
320 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
321 | ||
322 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
323 | void ParseInner(const wxHtmlTag& tag) | |
324 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
325 | ||
326 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
327 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
328 | ||
329 | PYPRIVATE; | |
330 | }; | |
331 | ||
332 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
333 | ||
334 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
335 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
336 | ||
337 | ||
338 | ||
339 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
340 | public: | |
341 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
342 | m_tagHandlerClass = thc; | |
343 | Py_INCREF(m_tagHandlerClass); | |
344 | RegisterModule(this); | |
345 | wxHtmlWinParser::AddModule(this); | |
346 | } | |
347 | ||
348 | void OnExit() { | |
349 | wxPyBeginBlockThreads(); | |
350 | Py_DECREF(m_tagHandlerClass); | |
351 | m_tagHandlerClass = NULL; | |
352 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
353 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
354 | Py_DECREF(obj); | |
355 | } | |
356 | wxPyEndBlockThreads(); | |
357 | }; | |
358 | ||
359 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
360 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
361 | ||
362 | // First, make a new instance of the tag handler | |
363 | wxPyBeginBlockThreads(); | |
fd3f2efe RD |
364 | PyObject* arg = PyTuple_New(0); |
365 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 366 | Py_DECREF(arg); |
fd3f2efe | 367 | |
d14a1e28 RD |
368 | // now figure out where it's C++ object is... |
369 | wxPyHtmlWinTagHandler* thPtr; | |
fd3f2efe RD |
370 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
371 | wxPyEndBlockThreads(); | |
d14a1e28 | 372 | return; |
fd3f2efe RD |
373 | } |
374 | wxPyEndBlockThreads(); | |
d14a1e28 RD |
375 | |
376 | // add it, | |
377 | parser->AddTagHandler(thPtr); | |
378 | ||
379 | // and track it. | |
380 | m_objArray.Add(obj); | |
381 | } | |
382 | ||
383 | private: | |
384 | PyObject* m_tagHandlerClass; | |
385 | wxArrayPtrVoid m_objArray; | |
386 | ||
387 | }; | |
388 | ||
389 | ||
390 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
391 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
392 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
393 | new wxPyHtmlTagsModule(tagHandlerClass); | |
394 | } | |
395 | ||
396 | ||
397 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
398 | PyObject* o2; | |
399 | PyObject* o3; | |
400 | ||
401 | if (!target) { | |
402 | target = o; | |
403 | } else if (target == Py_None) { | |
404 | Py_DECREF(Py_None); | |
405 | target = o; | |
406 | } else { | |
407 | if (!PyTuple_Check(target)) { | |
408 | o2 = target; | |
409 | target = PyTuple_New(1); | |
410 | PyTuple_SetItem(target, 0, o2); | |
411 | } | |
412 | o3 = PyTuple_New(1); | |
413 | PyTuple_SetItem(o3, 0, o); | |
414 | ||
415 | o2 = target; | |
416 | target = PySequence_Concat(o2, o3); | |
417 | Py_DECREF(o2); | |
418 | Py_DECREF(o3); | |
419 | } | |
420 | return target; | |
421 | } | |
422 | ||
423 | // here's the C++ version | |
424 | class wxPyHtmlFilter : public wxHtmlFilter { | |
425 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
426 | public: | |
427 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
428 | ||
e811c8ce | 429 | // returns True if this filter is able to open&read given file |
d14a1e28 | 430 | virtual bool CanRead(const wxFSFile& file) const { |
e811c8ce | 431 | bool rval = False; |
d14a1e28 RD |
432 | bool found; |
433 | wxPyBeginBlockThreads(); | |
434 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
435 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
436 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
437 | Py_DECREF(obj); | |
438 | } | |
439 | wxPyEndBlockThreads(); | |
440 | return rval; | |
441 | } | |
442 | ||
443 | ||
444 | // Reads given file and returns HTML document. | |
445 | // Returns empty string if opening failed | |
446 | virtual wxString ReadFile(const wxFSFile& file) const { | |
447 | wxString rval; | |
448 | bool found; | |
449 | wxPyBeginBlockThreads(); | |
450 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
451 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
452 | PyObject* ro; | |
453 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
454 | Py_DECREF(obj); | |
455 | if (ro) { | |
456 | rval = Py2wxString(ro); | |
457 | Py_DECREF(ro); | |
458 | } | |
459 | } | |
460 | wxPyEndBlockThreads(); | |
461 | return rval; | |
462 | } | |
463 | ||
464 | PYPRIVATE; | |
465 | }; | |
466 | ||
467 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
468 | ||
469 | ||
470 | class wxPyHtmlWindow : public wxHtmlWindow { | |
471 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
472 | public: | |
473 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
474 | const wxPoint& pos = wxDefaultPosition, | |
475 | const wxSize& size = wxDefaultSize, | |
476 | long style = wxHW_DEFAULT_STYLE, | |
477 | const wxString& name = wxPyHtmlWindowNameStr) | |
478 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
479 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
480 | ||
481 | bool ScrollToAnchor(const wxString& anchor) { | |
482 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
483 | } | |
484 | ||
485 | bool HasAnchor(const wxString& anchor) { | |
486 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
487 | return c!=NULL; | |
488 | } | |
489 | ||
490 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
491 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
492 | ||
493 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
494 | const wxString& url, | |
495 | wxString *redirect) const; | |
496 | ||
497 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
498 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
499 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
500 | PYPRIVATE; | |
501 | }; | |
502 | ||
503 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
504 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
505 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
506 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
507 | ||
508 | ||
509 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
510 | bool found; | |
511 | wxPyBeginBlockThreads(); | |
512 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { | |
513 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
514 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
515 | Py_DECREF(obj); | |
516 | } | |
517 | wxPyEndBlockThreads(); | |
518 | if (! found) | |
519 | wxHtmlWindow::OnLinkClicked(link); | |
520 | } | |
521 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
522 | wxHtmlWindow::OnLinkClicked(link); | |
523 | } | |
524 | ||
525 | ||
526 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
527 | const wxString& url, | |
528 | wxString *redirect) const { | |
529 | bool found; | |
530 | wxHtmlOpeningStatus rval; | |
531 | wxPyBeginBlockThreads(); | |
532 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
533 | PyObject* ro; | |
534 | PyObject* s = wx2PyString(url); | |
535 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
536 | Py_DECREF(s); | |
537 | if (PyString_Check(ro) | |
538 | #if PYTHON_API_VERSION >= 1009 | |
539 | || PyUnicode_Check(ro) | |
540 | #endif | |
541 | ) { | |
542 | *redirect = Py2wxString(ro); | |
543 | rval = wxHTML_REDIRECT; | |
544 | } | |
545 | else { | |
546 | PyObject* num = PyNumber_Int(ro); | |
547 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
548 | Py_DECREF(num); | |
549 | } | |
550 | Py_DECREF(ro); | |
551 | } | |
552 | wxPyEndBlockThreads(); | |
553 | if (! found) | |
554 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
555 | return rval; | |
556 | } | |
557 | ||
558 | ||
559 | ||
560 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
561 | int* temp = NULL; | |
562 | if (sizes) temp = int_LIST_helper(sizes); | |
563 | self->SetFonts(normal_face, fixed_face, temp); | |
564 | if (temp) | |
565 | delete [] temp; | |
566 | } | |
567 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
568 | int* temp = NULL; | |
569 | if (sizes) temp = int_LIST_helper(sizes); | |
570 | self->SetFonts(normal_face, fixed_face, temp); | |
571 | if (temp) | |
572 | delete [] temp; | |
573 | } | |
574 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
575 | int* temp = NULL; | |
576 | if (sizes) temp = int_LIST_helper(sizes); | |
577 | self->SetFonts(normal_face, fixed_face, temp); | |
578 | if (temp) | |
579 | delete [] temp; | |
580 | } | |
581 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
582 | int* temp = NULL; | |
583 | if (sizes) temp = int_LIST_helper(sizes); | |
584 | self->SetFonts(normal_face, fixed_face, temp); | |
585 | if (temp) | |
586 | delete [] temp; | |
587 | } | |
588 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
589 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
590 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
591 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
592 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
593 | #ifdef __cplusplus | |
594 | extern "C" { | |
595 | #endif | |
b2dc1044 RD |
596 | static int _wrap_HtmlWindowNameStr_set(PyObject *_val) { |
597 | PyErr_SetString(PyExc_TypeError,"Variable HtmlWindowNameStr is read-only."); | |
598 | return 1; | |
599 | } | |
600 | ||
601 | ||
602 | static PyObject *_wrap_HtmlWindowNameStr_get() { | |
603 | PyObject *pyobj; | |
604 | ||
605 | { | |
606 | #if wxUSE_UNICODE | |
607 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
608 | #else | |
609 | pyobj = PyString_FromStringAndSize((&wxPyHtmlWindowNameStr)->c_str(), (&wxPyHtmlWindowNameStr)->Len()); | |
610 | #endif | |
611 | } | |
612 | return pyobj; | |
613 | } | |
614 | ||
615 | ||
616 | static int _wrap_HtmlPrintoutTitleStr_set(PyObject *_val) { | |
617 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintoutTitleStr is read-only."); | |
618 | return 1; | |
619 | } | |
620 | ||
621 | ||
622 | static PyObject *_wrap_HtmlPrintoutTitleStr_get() { | |
623 | PyObject *pyobj; | |
624 | ||
625 | { | |
626 | #if wxUSE_UNICODE | |
627 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
628 | #else | |
629 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintoutTitleStr)->c_str(), (&wxPyHtmlPrintoutTitleStr)->Len()); | |
630 | #endif | |
631 | } | |
632 | return pyobj; | |
633 | } | |
634 | ||
635 | ||
636 | static int _wrap_HtmlPrintingTitleStr_set(PyObject *_val) { | |
637 | PyErr_SetString(PyExc_TypeError,"Variable HtmlPrintingTitleStr is read-only."); | |
638 | return 1; | |
639 | } | |
640 | ||
641 | ||
642 | static PyObject *_wrap_HtmlPrintingTitleStr_get() { | |
643 | PyObject *pyobj; | |
644 | ||
645 | { | |
646 | #if wxUSE_UNICODE | |
647 | pyobj = PyUnicode_FromWideChar((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
648 | #else | |
649 | pyobj = PyString_FromStringAndSize((&wxPyHtmlPrintingTitleStr)->c_str(), (&wxPyHtmlPrintingTitleStr)->Len()); | |
650 | #endif | |
651 | } | |
652 | return pyobj; | |
653 | } | |
654 | ||
655 | ||
d14a1e28 RD |
656 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
657 | PyObject *resultobj; | |
658 | wxString *arg1 = 0 ; | |
659 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
660 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
661 | wxHtmlLinkInfo *result; | |
e811c8ce RD |
662 | bool temp1 = False ; |
663 | bool temp2 = False ; | |
d14a1e28 RD |
664 | PyObject * obj0 = 0 ; |
665 | PyObject * obj1 = 0 ; | |
666 | char *kwnames[] = { | |
667 | (char *) "href",(char *) "target", NULL | |
668 | }; | |
669 | ||
670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
671 | { | |
672 | arg1 = wxString_in_helper(obj0); | |
673 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 674 | temp1 = True; |
d14a1e28 RD |
675 | } |
676 | if (obj1) { | |
677 | { | |
678 | arg2 = wxString_in_helper(obj1); | |
679 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 680 | temp2 = True; |
d14a1e28 RD |
681 | } |
682 | } | |
683 | { | |
684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
685 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
686 | ||
687 | wxPyEndAllowThreads(__tstate); | |
688 | if (PyErr_Occurred()) SWIG_fail; | |
689 | } | |
690 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
691 | { | |
692 | if (temp1) | |
693 | delete arg1; | |
694 | } | |
695 | { | |
696 | if (temp2) | |
697 | delete arg2; | |
698 | } | |
699 | return resultobj; | |
700 | fail: | |
701 | { | |
702 | if (temp1) | |
703 | delete arg1; | |
704 | } | |
705 | { | |
706 | if (temp2) | |
707 | delete arg2; | |
708 | } | |
709 | return NULL; | |
710 | } | |
711 | ||
712 | ||
713 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
714 | PyObject *resultobj; | |
715 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
716 | wxString result; | |
717 | PyObject * obj0 = 0 ; | |
718 | char *kwnames[] = { | |
719 | (char *) "self", NULL | |
720 | }; | |
721 | ||
722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
723 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
724 | { | |
725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
726 | result = (arg1)->GetHref(); | |
727 | ||
728 | wxPyEndAllowThreads(__tstate); | |
729 | if (PyErr_Occurred()) SWIG_fail; | |
730 | } | |
731 | { | |
732 | #if wxUSE_UNICODE | |
733 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
734 | #else | |
735 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
736 | #endif | |
737 | } | |
738 | return resultobj; | |
739 | fail: | |
740 | return NULL; | |
741 | } | |
742 | ||
743 | ||
744 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
745 | PyObject *resultobj; | |
746 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
747 | wxString result; | |
748 | PyObject * obj0 = 0 ; | |
749 | char *kwnames[] = { | |
750 | (char *) "self", NULL | |
751 | }; | |
752 | ||
753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
754 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
755 | { | |
756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
757 | result = (arg1)->GetTarget(); | |
758 | ||
759 | wxPyEndAllowThreads(__tstate); | |
760 | if (PyErr_Occurred()) SWIG_fail; | |
761 | } | |
762 | { | |
763 | #if wxUSE_UNICODE | |
764 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
765 | #else | |
766 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
767 | #endif | |
768 | } | |
769 | return resultobj; | |
770 | fail: | |
771 | return NULL; | |
772 | } | |
773 | ||
774 | ||
775 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
776 | PyObject *resultobj; | |
777 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
778 | wxMouseEvent *result; | |
779 | PyObject * obj0 = 0 ; | |
780 | char *kwnames[] = { | |
781 | (char *) "self", NULL | |
782 | }; | |
783 | ||
784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
786 | { | |
787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
788 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
789 | ||
790 | wxPyEndAllowThreads(__tstate); | |
791 | if (PyErr_Occurred()) SWIG_fail; | |
792 | } | |
793 | { | |
794 | resultobj = wxPyMake_wxObject(result); | |
795 | } | |
796 | return resultobj; | |
797 | fail: | |
798 | return NULL; | |
799 | } | |
800 | ||
801 | ||
802 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
803 | PyObject *resultobj; | |
804 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
805 | wxHtmlCell *result; | |
806 | PyObject * obj0 = 0 ; | |
807 | char *kwnames[] = { | |
808 | (char *) "self", NULL | |
809 | }; | |
810 | ||
811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
813 | { | |
814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
815 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
816 | ||
817 | wxPyEndAllowThreads(__tstate); | |
818 | if (PyErr_Occurred()) SWIG_fail; | |
819 | } | |
820 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
821 | return resultobj; | |
822 | fail: | |
823 | return NULL; | |
824 | } | |
825 | ||
826 | ||
827 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
828 | PyObject *resultobj; | |
829 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
830 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
831 | PyObject * obj0 = 0 ; | |
832 | PyObject * obj1 = 0 ; | |
833 | char *kwnames[] = { | |
834 | (char *) "self",(char *) "e", NULL | |
835 | }; | |
836 | ||
837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
838 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
839 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
840 | { | |
841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
842 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
843 | ||
844 | wxPyEndAllowThreads(__tstate); | |
845 | if (PyErr_Occurred()) SWIG_fail; | |
846 | } | |
847 | Py_INCREF(Py_None); resultobj = Py_None; | |
848 | return resultobj; | |
849 | fail: | |
850 | return NULL; | |
851 | } | |
852 | ||
853 | ||
854 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
855 | PyObject *resultobj; | |
856 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
857 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
858 | PyObject * obj0 = 0 ; | |
859 | PyObject * obj1 = 0 ; | |
860 | char *kwnames[] = { | |
861 | (char *) "self",(char *) "e", NULL | |
862 | }; | |
863 | ||
864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
865 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
866 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
867 | { | |
868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
869 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
870 | ||
871 | wxPyEndAllowThreads(__tstate); | |
872 | if (PyErr_Occurred()) SWIG_fail; | |
873 | } | |
874 | Py_INCREF(Py_None); resultobj = Py_None; | |
875 | return resultobj; | |
876 | fail: | |
877 | return NULL; | |
878 | } | |
879 | ||
880 | ||
881 | static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) { | |
882 | PyObject *obj; | |
883 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
884 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
885 | Py_INCREF(obj); | |
886 | return Py_BuildValue((char *)""); | |
887 | } | |
888 | static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
889 | PyObject *resultobj; | |
890 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
891 | wxString result; | |
892 | PyObject * obj0 = 0 ; | |
893 | char *kwnames[] = { | |
894 | (char *) "self", NULL | |
895 | }; | |
896 | ||
897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
899 | { | |
900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
901 | result = (arg1)->GetName(); | |
902 | ||
903 | wxPyEndAllowThreads(__tstate); | |
904 | if (PyErr_Occurred()) SWIG_fail; | |
905 | } | |
906 | { | |
907 | #if wxUSE_UNICODE | |
908 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
909 | #else | |
910 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
911 | #endif | |
912 | } | |
913 | return resultobj; | |
914 | fail: | |
915 | return NULL; | |
916 | } | |
917 | ||
918 | ||
919 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
920 | PyObject *resultobj; | |
921 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
922 | wxString *arg2 = 0 ; | |
923 | bool result; | |
e811c8ce | 924 | bool temp2 = False ; |
d14a1e28 RD |
925 | PyObject * obj0 = 0 ; |
926 | PyObject * obj1 = 0 ; | |
927 | char *kwnames[] = { | |
928 | (char *) "self",(char *) "par", NULL | |
929 | }; | |
930 | ||
931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
932 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
933 | { | |
934 | arg2 = wxString_in_helper(obj1); | |
935 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 936 | temp2 = True; |
d14a1e28 RD |
937 | } |
938 | { | |
939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
940 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
941 | ||
942 | wxPyEndAllowThreads(__tstate); | |
943 | if (PyErr_Occurred()) SWIG_fail; | |
944 | } | |
945 | resultobj = PyInt_FromLong((long)result); | |
946 | { | |
947 | if (temp2) | |
948 | delete arg2; | |
949 | } | |
950 | return resultobj; | |
951 | fail: | |
952 | { | |
953 | if (temp2) | |
954 | delete arg2; | |
955 | } | |
956 | return NULL; | |
957 | } | |
958 | ||
959 | ||
960 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
961 | PyObject *resultobj; | |
962 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
963 | wxString *arg2 = 0 ; | |
e811c8ce | 964 | int arg3 = (int) False ; |
d14a1e28 | 965 | wxString result; |
e811c8ce | 966 | bool temp2 = False ; |
d14a1e28 RD |
967 | PyObject * obj0 = 0 ; |
968 | PyObject * obj1 = 0 ; | |
969 | char *kwnames[] = { | |
970 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
971 | }; | |
972 | ||
973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlTag_GetParam",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
974 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
975 | { | |
976 | arg2 = wxString_in_helper(obj1); | |
977 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 978 | temp2 = True; |
d14a1e28 RD |
979 | } |
980 | { | |
981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
982 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
983 | ||
984 | wxPyEndAllowThreads(__tstate); | |
985 | if (PyErr_Occurred()) SWIG_fail; | |
986 | } | |
987 | { | |
988 | #if wxUSE_UNICODE | |
989 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
990 | #else | |
991 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
992 | #endif | |
993 | } | |
994 | { | |
995 | if (temp2) | |
996 | delete arg2; | |
997 | } | |
998 | return resultobj; | |
999 | fail: | |
1000 | { | |
1001 | if (temp2) | |
1002 | delete arg2; | |
1003 | } | |
1004 | return NULL; | |
1005 | } | |
1006 | ||
1007 | ||
1008 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1009 | PyObject *resultobj; | |
1010 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1011 | wxString result; | |
1012 | PyObject * obj0 = 0 ; | |
1013 | char *kwnames[] = { | |
1014 | (char *) "self", NULL | |
1015 | }; | |
1016 | ||
1017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
1018 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1019 | { | |
1020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1021 | result = (arg1)->GetAllParams(); | |
1022 | ||
1023 | wxPyEndAllowThreads(__tstate); | |
1024 | if (PyErr_Occurred()) SWIG_fail; | |
1025 | } | |
1026 | { | |
1027 | #if wxUSE_UNICODE | |
1028 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1029 | #else | |
1030 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1031 | #endif | |
1032 | } | |
1033 | return resultobj; | |
1034 | fail: | |
1035 | return NULL; | |
1036 | } | |
1037 | ||
1038 | ||
1039 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1040 | PyObject *resultobj; | |
1041 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1042 | bool result; | |
1043 | PyObject * obj0 = 0 ; | |
1044 | char *kwnames[] = { | |
1045 | (char *) "self", NULL | |
1046 | }; | |
1047 | ||
1048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
1049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1050 | { | |
1051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1052 | result = (bool)(arg1)->HasEnding(); | |
1053 | ||
1054 | wxPyEndAllowThreads(__tstate); | |
1055 | if (PyErr_Occurred()) SWIG_fail; | |
1056 | } | |
1057 | resultobj = PyInt_FromLong((long)result); | |
1058 | return resultobj; | |
1059 | fail: | |
1060 | return NULL; | |
1061 | } | |
1062 | ||
1063 | ||
1064 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1065 | PyObject *resultobj; | |
1066 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1067 | int result; | |
1068 | PyObject * obj0 = 0 ; | |
1069 | char *kwnames[] = { | |
1070 | (char *) "self", NULL | |
1071 | }; | |
1072 | ||
1073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
1074 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1075 | { | |
1076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1077 | result = (int)(arg1)->GetBeginPos(); | |
1078 | ||
1079 | wxPyEndAllowThreads(__tstate); | |
1080 | if (PyErr_Occurred()) SWIG_fail; | |
1081 | } | |
1082 | resultobj = PyInt_FromLong((long)result); | |
1083 | return resultobj; | |
1084 | fail: | |
1085 | return NULL; | |
1086 | } | |
1087 | ||
1088 | ||
1089 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1090 | PyObject *resultobj; | |
1091 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1092 | int result; | |
1093 | PyObject * obj0 = 0 ; | |
1094 | char *kwnames[] = { | |
1095 | (char *) "self", NULL | |
1096 | }; | |
1097 | ||
1098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
1099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1100 | { | |
1101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1102 | result = (int)(arg1)->GetEndPos1(); | |
1103 | ||
1104 | wxPyEndAllowThreads(__tstate); | |
1105 | if (PyErr_Occurred()) SWIG_fail; | |
1106 | } | |
1107 | resultobj = PyInt_FromLong((long)result); | |
1108 | return resultobj; | |
1109 | fail: | |
1110 | return NULL; | |
1111 | } | |
1112 | ||
1113 | ||
1114 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1115 | PyObject *resultobj; | |
1116 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1117 | int result; | |
1118 | PyObject * obj0 = 0 ; | |
1119 | char *kwnames[] = { | |
1120 | (char *) "self", NULL | |
1121 | }; | |
1122 | ||
1123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
1124 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1125 | { | |
1126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1127 | result = (int)(arg1)->GetEndPos2(); | |
1128 | ||
1129 | wxPyEndAllowThreads(__tstate); | |
1130 | if (PyErr_Occurred()) SWIG_fail; | |
1131 | } | |
1132 | resultobj = PyInt_FromLong((long)result); | |
1133 | return resultobj; | |
1134 | fail: | |
1135 | return NULL; | |
1136 | } | |
1137 | ||
1138 | ||
1139 | static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) { | |
1140 | PyObject *obj; | |
1141 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1142 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1143 | Py_INCREF(obj); | |
1144 | return Py_BuildValue((char *)""); | |
1145 | } | |
1146 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1147 | PyObject *resultobj; | |
1148 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1149 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1150 | PyObject * obj0 = 0 ; | |
1151 | PyObject * obj1 = 0 ; | |
1152 | char *kwnames[] = { | |
1153 | (char *) "self",(char *) "fs", NULL | |
1154 | }; | |
1155 | ||
1156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
1157 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1158 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1159 | { | |
1160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1161 | (arg1)->SetFS(arg2); | |
1162 | ||
1163 | wxPyEndAllowThreads(__tstate); | |
1164 | if (PyErr_Occurred()) SWIG_fail; | |
1165 | } | |
1166 | Py_INCREF(Py_None); resultobj = Py_None; | |
1167 | return resultobj; | |
1168 | fail: | |
1169 | return NULL; | |
1170 | } | |
1171 | ||
1172 | ||
1173 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1174 | PyObject *resultobj; | |
1175 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1176 | wxFileSystem *result; | |
1177 | PyObject * obj0 = 0 ; | |
1178 | char *kwnames[] = { | |
1179 | (char *) "self", NULL | |
1180 | }; | |
1181 | ||
1182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
1183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1184 | { | |
1185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1186 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1187 | ||
1188 | wxPyEndAllowThreads(__tstate); | |
1189 | if (PyErr_Occurred()) SWIG_fail; | |
1190 | } | |
1191 | { | |
1192 | resultobj = wxPyMake_wxObject(result); | |
1193 | } | |
1194 | return resultobj; | |
1195 | fail: | |
1196 | return NULL; | |
1197 | } | |
1198 | ||
1199 | ||
1200 | static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1201 | PyObject *resultobj; | |
1202 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1203 | wxString *arg2 = 0 ; | |
1204 | wxObject *result; | |
e811c8ce | 1205 | bool temp2 = False ; |
d14a1e28 RD |
1206 | PyObject * obj0 = 0 ; |
1207 | PyObject * obj1 = 0 ; | |
1208 | char *kwnames[] = { | |
1209 | (char *) "self",(char *) "source", NULL | |
1210 | }; | |
1211 | ||
1212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
1213 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1214 | { | |
1215 | arg2 = wxString_in_helper(obj1); | |
1216 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 1217 | temp2 = True; |
d14a1e28 RD |
1218 | } |
1219 | { | |
1220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1221 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1222 | ||
1223 | wxPyEndAllowThreads(__tstate); | |
1224 | if (PyErr_Occurred()) SWIG_fail; | |
1225 | } | |
1226 | { | |
1227 | resultobj = wxPyMake_wxObject(result); | |
1228 | } | |
1229 | { | |
1230 | if (temp2) | |
1231 | delete arg2; | |
1232 | } | |
1233 | return resultobj; | |
1234 | fail: | |
1235 | { | |
1236 | if (temp2) | |
1237 | delete arg2; | |
1238 | } | |
1239 | return NULL; | |
1240 | } | |
1241 | ||
1242 | ||
1243 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1244 | PyObject *resultobj; | |
1245 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1246 | wxString *arg2 = 0 ; | |
e811c8ce | 1247 | bool temp2 = False ; |
d14a1e28 RD |
1248 | PyObject * obj0 = 0 ; |
1249 | PyObject * obj1 = 0 ; | |
1250 | char *kwnames[] = { | |
1251 | (char *) "self",(char *) "source", NULL | |
1252 | }; | |
1253 | ||
1254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
1255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1256 | { | |
1257 | arg2 = wxString_in_helper(obj1); | |
1258 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 1259 | temp2 = True; |
d14a1e28 RD |
1260 | } |
1261 | { | |
1262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1263 | (arg1)->InitParser((wxString const &)*arg2); | |
1264 | ||
1265 | wxPyEndAllowThreads(__tstate); | |
1266 | if (PyErr_Occurred()) SWIG_fail; | |
1267 | } | |
1268 | Py_INCREF(Py_None); resultobj = Py_None; | |
1269 | { | |
1270 | if (temp2) | |
1271 | delete arg2; | |
1272 | } | |
1273 | return resultobj; | |
1274 | fail: | |
1275 | { | |
1276 | if (temp2) | |
1277 | delete arg2; | |
1278 | } | |
1279 | return NULL; | |
1280 | } | |
1281 | ||
1282 | ||
1283 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1284 | PyObject *resultobj; | |
1285 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1286 | PyObject * obj0 = 0 ; | |
1287 | char *kwnames[] = { | |
1288 | (char *) "self", NULL | |
1289 | }; | |
1290 | ||
1291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
1292 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1293 | { | |
1294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1295 | (arg1)->DoneParser(); | |
1296 | ||
1297 | wxPyEndAllowThreads(__tstate); | |
1298 | if (PyErr_Occurred()) SWIG_fail; | |
1299 | } | |
1300 | Py_INCREF(Py_None); resultobj = Py_None; | |
1301 | return resultobj; | |
1302 | fail: | |
1303 | return NULL; | |
1304 | } | |
1305 | ||
1306 | ||
1307 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1308 | PyObject *resultobj; | |
1309 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1310 | int arg2 ; | |
1311 | int arg3 ; | |
1312 | PyObject * obj0 = 0 ; | |
1313 | char *kwnames[] = { | |
1314 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1315 | }; | |
1316 | ||
1317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlParser_DoParsing",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1318 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1319 | { | |
1320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1321 | (arg1)->DoParsing(arg2,arg3); | |
1322 | ||
1323 | wxPyEndAllowThreads(__tstate); | |
1324 | if (PyErr_Occurred()) SWIG_fail; | |
1325 | } | |
1326 | Py_INCREF(Py_None); resultobj = Py_None; | |
1327 | return resultobj; | |
1328 | fail: | |
1329 | return NULL; | |
1330 | } | |
1331 | ||
1332 | ||
1333 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1334 | PyObject *resultobj; | |
1335 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1336 | PyObject * obj0 = 0 ; | |
1337 | char *kwnames[] = { | |
1338 | (char *) "self", NULL | |
1339 | }; | |
1340 | ||
1341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
1342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1343 | { | |
1344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1345 | (arg1)->StopParsing(); | |
1346 | ||
1347 | wxPyEndAllowThreads(__tstate); | |
1348 | if (PyErr_Occurred()) SWIG_fail; | |
1349 | } | |
1350 | Py_INCREF(Py_None); resultobj = Py_None; | |
1351 | return resultobj; | |
1352 | fail: | |
1353 | return NULL; | |
1354 | } | |
1355 | ||
1356 | ||
1357 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1358 | PyObject *resultobj; | |
1359 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1360 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1361 | PyObject * obj0 = 0 ; | |
1362 | PyObject * obj1 = 0 ; | |
1363 | char *kwnames[] = { | |
1364 | (char *) "self",(char *) "handler", NULL | |
1365 | }; | |
1366 | ||
1367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
1368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1369 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1370 | { | |
1371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1372 | (arg1)->AddTagHandler(arg2); | |
1373 | ||
1374 | wxPyEndAllowThreads(__tstate); | |
1375 | if (PyErr_Occurred()) SWIG_fail; | |
1376 | } | |
1377 | Py_INCREF(Py_None); resultobj = Py_None; | |
1378 | return resultobj; | |
1379 | fail: | |
1380 | return NULL; | |
1381 | } | |
1382 | ||
1383 | ||
1384 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1385 | PyObject *resultobj; | |
1386 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1387 | wxString *result; | |
1388 | PyObject * obj0 = 0 ; | |
1389 | char *kwnames[] = { | |
1390 | (char *) "self", NULL | |
1391 | }; | |
1392 | ||
1393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
1394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1395 | { | |
1396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1397 | result = (wxString *)(arg1)->GetSource(); | |
1398 | ||
1399 | wxPyEndAllowThreads(__tstate); | |
1400 | if (PyErr_Occurred()) SWIG_fail; | |
1401 | } | |
1402 | { | |
1403 | #if wxUSE_UNICODE | |
1404 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1405 | #else | |
1406 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1407 | #endif | |
1408 | } | |
1409 | return resultobj; | |
1410 | fail: | |
1411 | return NULL; | |
1412 | } | |
1413 | ||
1414 | ||
1415 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1416 | PyObject *resultobj; | |
1417 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1418 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1419 | wxString arg3 ; | |
d14a1e28 RD |
1420 | PyObject * obj0 = 0 ; |
1421 | PyObject * obj1 = 0 ; | |
1422 | PyObject * obj2 = 0 ; | |
1423 | char *kwnames[] = { | |
1424 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1425 | }; | |
1426 | ||
1427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1428 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1429 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
1430 | { |
1431 | wxString* sptr = wxString_in_helper(obj2); | |
1432 | if (sptr == NULL) SWIG_fail; | |
1433 | arg3 = *sptr; | |
1434 | delete sptr; | |
1435 | } | |
d14a1e28 RD |
1436 | { |
1437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1438 | (arg1)->PushTagHandler(arg2,arg3); | |
1439 | ||
1440 | wxPyEndAllowThreads(__tstate); | |
1441 | if (PyErr_Occurred()) SWIG_fail; | |
1442 | } | |
1443 | Py_INCREF(Py_None); resultobj = Py_None; | |
1444 | return resultobj; | |
1445 | fail: | |
1446 | return NULL; | |
1447 | } | |
1448 | ||
1449 | ||
1450 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1451 | PyObject *resultobj; | |
1452 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1453 | PyObject * obj0 = 0 ; | |
1454 | char *kwnames[] = { | |
1455 | (char *) "self", NULL | |
1456 | }; | |
1457 | ||
1458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1460 | { | |
1461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1462 | (arg1)->PopTagHandler(); | |
1463 | ||
1464 | wxPyEndAllowThreads(__tstate); | |
1465 | if (PyErr_Occurred()) SWIG_fail; | |
1466 | } | |
1467 | Py_INCREF(Py_None); resultobj = Py_None; | |
1468 | return resultobj; | |
1469 | fail: | |
1470 | return NULL; | |
1471 | } | |
1472 | ||
1473 | ||
1474 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1475 | PyObject *obj; | |
1476 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1477 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1478 | Py_INCREF(obj); | |
1479 | return Py_BuildValue((char *)""); | |
1480 | } | |
1481 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1482 | PyObject *resultobj; | |
1483 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1484 | wxHtmlWinParser *result; | |
1485 | PyObject * obj0 = 0 ; | |
1486 | char *kwnames[] = { | |
1487 | (char *) "wnd", NULL | |
1488 | }; | |
1489 | ||
1490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1491 | if (obj0) { | |
1492 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1493 | } | |
1494 | { | |
1495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1496 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1497 | ||
1498 | wxPyEndAllowThreads(__tstate); | |
1499 | if (PyErr_Occurred()) SWIG_fail; | |
1500 | } | |
1501 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1); | |
1502 | return resultobj; | |
1503 | fail: | |
1504 | return NULL; | |
1505 | } | |
1506 | ||
1507 | ||
1508 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1509 | PyObject *resultobj; | |
1510 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1511 | wxDC *arg2 = (wxDC *) 0 ; | |
1512 | PyObject * obj0 = 0 ; | |
1513 | PyObject * obj1 = 0 ; | |
1514 | char *kwnames[] = { | |
1515 | (char *) "self",(char *) "dc", NULL | |
1516 | }; | |
1517 | ||
1518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1520 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1521 | { | |
1522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1523 | (arg1)->SetDC(arg2); | |
1524 | ||
1525 | wxPyEndAllowThreads(__tstate); | |
1526 | if (PyErr_Occurred()) SWIG_fail; | |
1527 | } | |
1528 | Py_INCREF(Py_None); resultobj = Py_None; | |
1529 | return resultobj; | |
1530 | fail: | |
1531 | return NULL; | |
1532 | } | |
1533 | ||
1534 | ||
1535 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1536 | PyObject *resultobj; | |
1537 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1538 | wxDC *result; | |
1539 | PyObject * obj0 = 0 ; | |
1540 | char *kwnames[] = { | |
1541 | (char *) "self", NULL | |
1542 | }; | |
1543 | ||
1544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1545 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1546 | { | |
1547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1548 | result = (wxDC *)(arg1)->GetDC(); | |
1549 | ||
1550 | wxPyEndAllowThreads(__tstate); | |
1551 | if (PyErr_Occurred()) SWIG_fail; | |
1552 | } | |
1553 | { | |
1554 | resultobj = wxPyMake_wxObject(result); | |
1555 | } | |
1556 | return resultobj; | |
1557 | fail: | |
1558 | return NULL; | |
1559 | } | |
1560 | ||
1561 | ||
1562 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1563 | PyObject *resultobj; | |
1564 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1565 | int result; | |
1566 | PyObject * obj0 = 0 ; | |
1567 | char *kwnames[] = { | |
1568 | (char *) "self", NULL | |
1569 | }; | |
1570 | ||
1571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1572 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1573 | { | |
1574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1575 | result = (int)(arg1)->GetCharHeight(); | |
1576 | ||
1577 | wxPyEndAllowThreads(__tstate); | |
1578 | if (PyErr_Occurred()) SWIG_fail; | |
1579 | } | |
1580 | resultobj = PyInt_FromLong((long)result); | |
1581 | return resultobj; | |
1582 | fail: | |
1583 | return NULL; | |
1584 | } | |
1585 | ||
1586 | ||
1587 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1588 | PyObject *resultobj; | |
1589 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1590 | int result; | |
1591 | PyObject * obj0 = 0 ; | |
1592 | char *kwnames[] = { | |
1593 | (char *) "self", NULL | |
1594 | }; | |
1595 | ||
1596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1597 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1598 | { | |
1599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1600 | result = (int)(arg1)->GetCharWidth(); | |
1601 | ||
1602 | wxPyEndAllowThreads(__tstate); | |
1603 | if (PyErr_Occurred()) SWIG_fail; | |
1604 | } | |
1605 | resultobj = PyInt_FromLong((long)result); | |
1606 | return resultobj; | |
1607 | fail: | |
1608 | return NULL; | |
1609 | } | |
1610 | ||
1611 | ||
1612 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1613 | PyObject *resultobj; | |
1614 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1615 | wxPyHtmlWindow *result; | |
1616 | PyObject * obj0 = 0 ; | |
1617 | char *kwnames[] = { | |
1618 | (char *) "self", NULL | |
1619 | }; | |
1620 | ||
1621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1622 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1623 | { | |
1624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1625 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1626 | ||
1627 | wxPyEndAllowThreads(__tstate); | |
1628 | if (PyErr_Occurred()) SWIG_fail; | |
1629 | } | |
1630 | { | |
1631 | resultobj = wxPyMake_wxObject(result); | |
1632 | } | |
1633 | return resultobj; | |
1634 | fail: | |
1635 | return NULL; | |
1636 | } | |
1637 | ||
1638 | ||
1639 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1640 | PyObject *resultobj; | |
1641 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1642 | wxString arg2 ; | |
1643 | wxString arg3 ; | |
1644 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
1645 | PyObject * obj0 = 0 ; |
1646 | PyObject * obj1 = 0 ; | |
1647 | PyObject * obj2 = 0 ; | |
1648 | PyObject * obj3 = 0 ; | |
1649 | char *kwnames[] = { | |
1650 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1651 | }; | |
1652 | ||
1653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1654 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
1655 | { |
1656 | wxString* sptr = wxString_in_helper(obj1); | |
1657 | if (sptr == NULL) SWIG_fail; | |
1658 | arg2 = *sptr; | |
1659 | delete sptr; | |
1660 | } | |
1661 | { | |
1662 | wxString* sptr = wxString_in_helper(obj2); | |
1663 | if (sptr == NULL) SWIG_fail; | |
1664 | arg3 = *sptr; | |
1665 | delete sptr; | |
1666 | } | |
d14a1e28 RD |
1667 | if (obj3) { |
1668 | arg4 = obj3; | |
1669 | } | |
1670 | { | |
1671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1672 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1673 | ||
1674 | wxPyEndAllowThreads(__tstate); | |
1675 | if (PyErr_Occurred()) SWIG_fail; | |
1676 | } | |
1677 | Py_INCREF(Py_None); resultobj = Py_None; | |
1678 | return resultobj; | |
1679 | fail: | |
1680 | return NULL; | |
1681 | } | |
1682 | ||
1683 | ||
1684 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1685 | PyObject *resultobj; | |
1686 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1687 | wxHtmlContainerCell *result; | |
1688 | PyObject * obj0 = 0 ; | |
1689 | char *kwnames[] = { | |
1690 | (char *) "self", NULL | |
1691 | }; | |
1692 | ||
1693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
1694 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1695 | { | |
1696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1697 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
1698 | ||
1699 | wxPyEndAllowThreads(__tstate); | |
1700 | if (PyErr_Occurred()) SWIG_fail; | |
1701 | } | |
1702 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1703 | return resultobj; | |
1704 | fail: | |
1705 | return NULL; | |
1706 | } | |
1707 | ||
1708 | ||
1709 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1710 | PyObject *resultobj; | |
1711 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1712 | wxHtmlContainerCell *result; | |
1713 | PyObject * obj0 = 0 ; | |
1714 | char *kwnames[] = { | |
1715 | (char *) "self", NULL | |
1716 | }; | |
1717 | ||
1718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
1719 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1720 | { | |
1721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1722 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
1723 | ||
1724 | wxPyEndAllowThreads(__tstate); | |
1725 | if (PyErr_Occurred()) SWIG_fail; | |
1726 | } | |
1727 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1728 | return resultobj; | |
1729 | fail: | |
1730 | return NULL; | |
1731 | } | |
1732 | ||
1733 | ||
1734 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1735 | PyObject *resultobj; | |
1736 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1737 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
1738 | wxHtmlContainerCell *result; | |
1739 | PyObject * obj0 = 0 ; | |
1740 | PyObject * obj1 = 0 ; | |
1741 | char *kwnames[] = { | |
1742 | (char *) "self",(char *) "c", NULL | |
1743 | }; | |
1744 | ||
1745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
1746 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1747 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1748 | { | |
1749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1750 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
1751 | ||
1752 | wxPyEndAllowThreads(__tstate); | |
1753 | if (PyErr_Occurred()) SWIG_fail; | |
1754 | } | |
1755 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1756 | return resultobj; | |
1757 | fail: | |
1758 | return NULL; | |
1759 | } | |
1760 | ||
1761 | ||
1762 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1763 | PyObject *resultobj; | |
1764 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1765 | wxHtmlContainerCell *result; | |
1766 | PyObject * obj0 = 0 ; | |
1767 | char *kwnames[] = { | |
1768 | (char *) "self", NULL | |
1769 | }; | |
1770 | ||
1771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
1772 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1773 | { | |
1774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1775 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
1776 | ||
1777 | wxPyEndAllowThreads(__tstate); | |
1778 | if (PyErr_Occurred()) SWIG_fail; | |
1779 | } | |
1780 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1781 | return resultobj; | |
1782 | fail: | |
1783 | return NULL; | |
1784 | } | |
1785 | ||
1786 | ||
1787 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1788 | PyObject *resultobj; | |
1789 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1790 | int result; | |
1791 | PyObject * obj0 = 0 ; | |
1792 | char *kwnames[] = { | |
1793 | (char *) "self", NULL | |
1794 | }; | |
1795 | ||
1796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
1797 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1798 | { | |
1799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1800 | result = (int)(arg1)->GetFontSize(); | |
1801 | ||
1802 | wxPyEndAllowThreads(__tstate); | |
1803 | if (PyErr_Occurred()) SWIG_fail; | |
1804 | } | |
1805 | resultobj = PyInt_FromLong((long)result); | |
1806 | return resultobj; | |
1807 | fail: | |
1808 | return NULL; | |
1809 | } | |
1810 | ||
1811 | ||
1812 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1813 | PyObject *resultobj; | |
1814 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1815 | int arg2 ; | |
1816 | PyObject * obj0 = 0 ; | |
1817 | char *kwnames[] = { | |
1818 | (char *) "self",(char *) "s", NULL | |
1819 | }; | |
1820 | ||
1821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames,&obj0,&arg2)) goto fail; | |
1822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1823 | { | |
1824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1825 | (arg1)->SetFontSize(arg2); | |
1826 | ||
1827 | wxPyEndAllowThreads(__tstate); | |
1828 | if (PyErr_Occurred()) SWIG_fail; | |
1829 | } | |
1830 | Py_INCREF(Py_None); resultobj = Py_None; | |
1831 | return resultobj; | |
1832 | fail: | |
1833 | return NULL; | |
1834 | } | |
1835 | ||
1836 | ||
1837 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1838 | PyObject *resultobj; | |
1839 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1840 | int result; | |
1841 | PyObject * obj0 = 0 ; | |
1842 | char *kwnames[] = { | |
1843 | (char *) "self", NULL | |
1844 | }; | |
1845 | ||
1846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
1847 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1848 | { | |
1849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1850 | result = (int)(arg1)->GetFontBold(); | |
1851 | ||
1852 | wxPyEndAllowThreads(__tstate); | |
1853 | if (PyErr_Occurred()) SWIG_fail; | |
1854 | } | |
1855 | resultobj = PyInt_FromLong((long)result); | |
1856 | return resultobj; | |
1857 | fail: | |
1858 | return NULL; | |
1859 | } | |
1860 | ||
1861 | ||
1862 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1863 | PyObject *resultobj; | |
1864 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1865 | int arg2 ; | |
1866 | PyObject * obj0 = 0 ; | |
1867 | char *kwnames[] = { | |
1868 | (char *) "self",(char *) "x", NULL | |
1869 | }; | |
1870 | ||
1871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames,&obj0,&arg2)) goto fail; | |
1872 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1873 | { | |
1874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1875 | (arg1)->SetFontBold(arg2); | |
1876 | ||
1877 | wxPyEndAllowThreads(__tstate); | |
1878 | if (PyErr_Occurred()) SWIG_fail; | |
1879 | } | |
1880 | Py_INCREF(Py_None); resultobj = Py_None; | |
1881 | return resultobj; | |
1882 | fail: | |
1883 | return NULL; | |
1884 | } | |
1885 | ||
1886 | ||
1887 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1888 | PyObject *resultobj; | |
1889 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1890 | int result; | |
1891 | PyObject * obj0 = 0 ; | |
1892 | char *kwnames[] = { | |
1893 | (char *) "self", NULL | |
1894 | }; | |
1895 | ||
1896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
1897 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1898 | { | |
1899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1900 | result = (int)(arg1)->GetFontItalic(); | |
1901 | ||
1902 | wxPyEndAllowThreads(__tstate); | |
1903 | if (PyErr_Occurred()) SWIG_fail; | |
1904 | } | |
1905 | resultobj = PyInt_FromLong((long)result); | |
1906 | return resultobj; | |
1907 | fail: | |
1908 | return NULL; | |
1909 | } | |
1910 | ||
1911 | ||
1912 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1913 | PyObject *resultobj; | |
1914 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1915 | int arg2 ; | |
1916 | PyObject * obj0 = 0 ; | |
1917 | char *kwnames[] = { | |
1918 | (char *) "self",(char *) "x", NULL | |
1919 | }; | |
1920 | ||
1921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames,&obj0,&arg2)) goto fail; | |
1922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1923 | { | |
1924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1925 | (arg1)->SetFontItalic(arg2); | |
1926 | ||
1927 | wxPyEndAllowThreads(__tstate); | |
1928 | if (PyErr_Occurred()) SWIG_fail; | |
1929 | } | |
1930 | Py_INCREF(Py_None); resultobj = Py_None; | |
1931 | return resultobj; | |
1932 | fail: | |
1933 | return NULL; | |
1934 | } | |
1935 | ||
1936 | ||
1937 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1938 | PyObject *resultobj; | |
1939 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1940 | int result; | |
1941 | PyObject * obj0 = 0 ; | |
1942 | char *kwnames[] = { | |
1943 | (char *) "self", NULL | |
1944 | }; | |
1945 | ||
1946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
1947 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1948 | { | |
1949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1950 | result = (int)(arg1)->GetFontUnderlined(); | |
1951 | ||
1952 | wxPyEndAllowThreads(__tstate); | |
1953 | if (PyErr_Occurred()) SWIG_fail; | |
1954 | } | |
1955 | resultobj = PyInt_FromLong((long)result); | |
1956 | return resultobj; | |
1957 | fail: | |
1958 | return NULL; | |
1959 | } | |
1960 | ||
1961 | ||
1962 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1963 | PyObject *resultobj; | |
1964 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1965 | int arg2 ; | |
1966 | PyObject * obj0 = 0 ; | |
1967 | char *kwnames[] = { | |
1968 | (char *) "self",(char *) "x", NULL | |
1969 | }; | |
1970 | ||
1971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&arg2)) goto fail; | |
1972 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1973 | { | |
1974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1975 | (arg1)->SetFontUnderlined(arg2); | |
1976 | ||
1977 | wxPyEndAllowThreads(__tstate); | |
1978 | if (PyErr_Occurred()) SWIG_fail; | |
1979 | } | |
1980 | Py_INCREF(Py_None); resultobj = Py_None; | |
1981 | return resultobj; | |
1982 | fail: | |
1983 | return NULL; | |
1984 | } | |
1985 | ||
1986 | ||
1987 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1988 | PyObject *resultobj; | |
1989 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1990 | int result; | |
1991 | PyObject * obj0 = 0 ; | |
1992 | char *kwnames[] = { | |
1993 | (char *) "self", NULL | |
1994 | }; | |
1995 | ||
1996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
1997 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1998 | { | |
1999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2000 | result = (int)(arg1)->GetFontFixed(); | |
2001 | ||
2002 | wxPyEndAllowThreads(__tstate); | |
2003 | if (PyErr_Occurred()) SWIG_fail; | |
2004 | } | |
2005 | resultobj = PyInt_FromLong((long)result); | |
2006 | return resultobj; | |
2007 | fail: | |
2008 | return NULL; | |
2009 | } | |
2010 | ||
2011 | ||
2012 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2013 | PyObject *resultobj; | |
2014 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2015 | int arg2 ; | |
2016 | PyObject * obj0 = 0 ; | |
2017 | char *kwnames[] = { | |
2018 | (char *) "self",(char *) "x", NULL | |
2019 | }; | |
2020 | ||
2021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames,&obj0,&arg2)) goto fail; | |
2022 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2023 | { | |
2024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2025 | (arg1)->SetFontFixed(arg2); | |
2026 | ||
2027 | wxPyEndAllowThreads(__tstate); | |
2028 | if (PyErr_Occurred()) SWIG_fail; | |
2029 | } | |
2030 | Py_INCREF(Py_None); resultobj = Py_None; | |
2031 | return resultobj; | |
2032 | fail: | |
2033 | return NULL; | |
2034 | } | |
2035 | ||
2036 | ||
2037 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2038 | PyObject *resultobj; | |
2039 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2040 | int result; | |
2041 | PyObject * obj0 = 0 ; | |
2042 | char *kwnames[] = { | |
2043 | (char *) "self", NULL | |
2044 | }; | |
2045 | ||
2046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
2047 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2048 | { | |
2049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2050 | result = (int)(arg1)->GetAlign(); | |
2051 | ||
2052 | wxPyEndAllowThreads(__tstate); | |
2053 | if (PyErr_Occurred()) SWIG_fail; | |
2054 | } | |
2055 | resultobj = PyInt_FromLong((long)result); | |
2056 | return resultobj; | |
2057 | fail: | |
2058 | return NULL; | |
2059 | } | |
2060 | ||
2061 | ||
2062 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2063 | PyObject *resultobj; | |
2064 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2065 | int arg2 ; | |
2066 | PyObject * obj0 = 0 ; | |
2067 | char *kwnames[] = { | |
2068 | (char *) "self",(char *) "a", NULL | |
2069 | }; | |
2070 | ||
2071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetAlign",kwnames,&obj0,&arg2)) goto fail; | |
2072 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2073 | { | |
2074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2075 | (arg1)->SetAlign(arg2); | |
2076 | ||
2077 | wxPyEndAllowThreads(__tstate); | |
2078 | if (PyErr_Occurred()) SWIG_fail; | |
2079 | } | |
2080 | Py_INCREF(Py_None); resultobj = Py_None; | |
2081 | return resultobj; | |
2082 | fail: | |
2083 | return NULL; | |
2084 | } | |
2085 | ||
2086 | ||
2087 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2088 | PyObject *resultobj; | |
2089 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2090 | wxColour result; | |
2091 | PyObject * obj0 = 0 ; | |
2092 | char *kwnames[] = { | |
2093 | (char *) "self", NULL | |
2094 | }; | |
2095 | ||
2096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2097 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2098 | { | |
2099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2100 | result = (arg1)->GetLinkColor(); | |
2101 | ||
2102 | wxPyEndAllowThreads(__tstate); | |
2103 | if (PyErr_Occurred()) SWIG_fail; | |
2104 | } | |
2105 | { | |
2106 | wxColour * resultptr; | |
2107 | resultptr = new wxColour((wxColour &) result); | |
2108 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2109 | } | |
2110 | return resultobj; | |
2111 | fail: | |
2112 | return NULL; | |
2113 | } | |
2114 | ||
2115 | ||
2116 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2117 | PyObject *resultobj; | |
2118 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2119 | wxColour *arg2 = 0 ; | |
2120 | wxColour temp2 ; | |
2121 | PyObject * obj0 = 0 ; | |
2122 | PyObject * obj1 = 0 ; | |
2123 | char *kwnames[] = { | |
2124 | (char *) "self",(char *) "clr", NULL | |
2125 | }; | |
2126 | ||
2127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2128 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2129 | { | |
2130 | arg2 = &temp2; | |
2131 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2132 | } | |
2133 | { | |
2134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2135 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2136 | ||
2137 | wxPyEndAllowThreads(__tstate); | |
2138 | if (PyErr_Occurred()) SWIG_fail; | |
2139 | } | |
2140 | Py_INCREF(Py_None); resultobj = Py_None; | |
2141 | return resultobj; | |
2142 | fail: | |
2143 | return NULL; | |
2144 | } | |
2145 | ||
2146 | ||
2147 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2148 | PyObject *resultobj; | |
2149 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2150 | wxColour result; | |
2151 | PyObject * obj0 = 0 ; | |
2152 | char *kwnames[] = { | |
2153 | (char *) "self", NULL | |
2154 | }; | |
2155 | ||
2156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2157 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2158 | { | |
2159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2160 | result = (arg1)->GetActualColor(); | |
2161 | ||
2162 | wxPyEndAllowThreads(__tstate); | |
2163 | if (PyErr_Occurred()) SWIG_fail; | |
2164 | } | |
2165 | { | |
2166 | wxColour * resultptr; | |
2167 | resultptr = new wxColour((wxColour &) result); | |
2168 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2169 | } | |
2170 | return resultobj; | |
2171 | fail: | |
2172 | return NULL; | |
2173 | } | |
2174 | ||
2175 | ||
2176 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2177 | PyObject *resultobj; | |
2178 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2179 | wxColour *arg2 = 0 ; | |
2180 | wxColour temp2 ; | |
2181 | PyObject * obj0 = 0 ; | |
2182 | PyObject * obj1 = 0 ; | |
2183 | char *kwnames[] = { | |
2184 | (char *) "self",(char *) "clr", NULL | |
2185 | }; | |
2186 | ||
2187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2189 | { | |
2190 | arg2 = &temp2; | |
2191 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2192 | } | |
2193 | { | |
2194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2195 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2196 | ||
2197 | wxPyEndAllowThreads(__tstate); | |
2198 | if (PyErr_Occurred()) SWIG_fail; | |
2199 | } | |
2200 | Py_INCREF(Py_None); resultobj = Py_None; | |
2201 | return resultobj; | |
2202 | fail: | |
2203 | return NULL; | |
2204 | } | |
2205 | ||
2206 | ||
2207 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2208 | PyObject *resultobj; | |
2209 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2210 | wxString *arg2 = 0 ; | |
e811c8ce | 2211 | bool temp2 = False ; |
d14a1e28 RD |
2212 | PyObject * obj0 = 0 ; |
2213 | PyObject * obj1 = 0 ; | |
2214 | char *kwnames[] = { | |
2215 | (char *) "self",(char *) "link", NULL | |
2216 | }; | |
2217 | ||
2218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2219 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2220 | { | |
2221 | arg2 = wxString_in_helper(obj1); | |
2222 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2223 | temp2 = True; |
d14a1e28 RD |
2224 | } |
2225 | { | |
2226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2227 | (arg1)->SetLink((wxString const &)*arg2); | |
2228 | ||
2229 | wxPyEndAllowThreads(__tstate); | |
2230 | if (PyErr_Occurred()) SWIG_fail; | |
2231 | } | |
2232 | Py_INCREF(Py_None); resultobj = Py_None; | |
2233 | { | |
2234 | if (temp2) | |
2235 | delete arg2; | |
2236 | } | |
2237 | return resultobj; | |
2238 | fail: | |
2239 | { | |
2240 | if (temp2) | |
2241 | delete arg2; | |
2242 | } | |
2243 | return NULL; | |
2244 | } | |
2245 | ||
2246 | ||
2247 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2248 | PyObject *resultobj; | |
2249 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2250 | wxFont *result; | |
2251 | PyObject * obj0 = 0 ; | |
2252 | char *kwnames[] = { | |
2253 | (char *) "self", NULL | |
2254 | }; | |
2255 | ||
2256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2257 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2258 | { | |
2259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2260 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2261 | ||
2262 | wxPyEndAllowThreads(__tstate); | |
2263 | if (PyErr_Occurred()) SWIG_fail; | |
2264 | } | |
2265 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0); | |
2266 | return resultobj; | |
2267 | fail: | |
2268 | return NULL; | |
2269 | } | |
2270 | ||
2271 | ||
2272 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2273 | PyObject *resultobj; | |
2274 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2275 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2276 | PyObject * obj0 = 0 ; | |
2277 | char *kwnames[] = { | |
2278 | (char *) "self", NULL | |
2279 | }; | |
2280 | ||
2281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2282 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2283 | { | |
2284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2285 | result = (arg1)->GetLink(); | |
2286 | ||
2287 | wxPyEndAllowThreads(__tstate); | |
2288 | if (PyErr_Occurred()) SWIG_fail; | |
2289 | } | |
2290 | { | |
2291 | wxHtmlLinkInfo * resultptr; | |
2292 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2293 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2294 | } | |
2295 | return resultobj; | |
2296 | fail: | |
2297 | return NULL; | |
2298 | } | |
2299 | ||
2300 | ||
2301 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2302 | PyObject *obj; | |
2303 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2304 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2305 | Py_INCREF(obj); | |
2306 | return Py_BuildValue((char *)""); | |
2307 | } | |
2308 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2309 | PyObject *resultobj; | |
2310 | wxPyHtmlTagHandler *result; | |
2311 | char *kwnames[] = { | |
2312 | NULL | |
2313 | }; | |
2314 | ||
2315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2316 | { | |
2317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2318 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2319 | ||
2320 | wxPyEndAllowThreads(__tstate); | |
2321 | if (PyErr_Occurred()) SWIG_fail; | |
2322 | } | |
2323 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2324 | return resultobj; | |
2325 | fail: | |
2326 | return NULL; | |
2327 | } | |
2328 | ||
2329 | ||
2330 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2331 | PyObject *resultobj; | |
2332 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2333 | PyObject *arg2 = (PyObject *) 0 ; | |
2334 | PyObject *arg3 = (PyObject *) 0 ; | |
2335 | PyObject * obj0 = 0 ; | |
2336 | PyObject * obj1 = 0 ; | |
2337 | PyObject * obj2 = 0 ; | |
2338 | char *kwnames[] = { | |
2339 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2340 | }; | |
2341 | ||
2342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2344 | arg2 = obj1; | |
2345 | arg3 = obj2; | |
2346 | { | |
2347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2348 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2349 | ||
2350 | wxPyEndAllowThreads(__tstate); | |
2351 | if (PyErr_Occurred()) SWIG_fail; | |
2352 | } | |
2353 | Py_INCREF(Py_None); resultobj = Py_None; | |
2354 | return resultobj; | |
2355 | fail: | |
2356 | return NULL; | |
2357 | } | |
2358 | ||
2359 | ||
2360 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2361 | PyObject *resultobj; | |
2362 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2363 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2364 | PyObject * obj0 = 0 ; | |
2365 | PyObject * obj1 = 0 ; | |
2366 | char *kwnames[] = { | |
2367 | (char *) "self",(char *) "parser", NULL | |
2368 | }; | |
2369 | ||
2370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2372 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2373 | { | |
2374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2375 | (arg1)->SetParser(arg2); | |
2376 | ||
2377 | wxPyEndAllowThreads(__tstate); | |
2378 | if (PyErr_Occurred()) SWIG_fail; | |
2379 | } | |
2380 | Py_INCREF(Py_None); resultobj = Py_None; | |
2381 | return resultobj; | |
2382 | fail: | |
2383 | return NULL; | |
2384 | } | |
2385 | ||
2386 | ||
2387 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2388 | PyObject *resultobj; | |
2389 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2390 | wxHtmlParser *result; | |
2391 | PyObject * obj0 = 0 ; | |
2392 | char *kwnames[] = { | |
2393 | (char *) "self", NULL | |
2394 | }; | |
2395 | ||
2396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2397 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2398 | { | |
2399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2400 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2401 | ||
2402 | wxPyEndAllowThreads(__tstate); | |
2403 | if (PyErr_Occurred()) SWIG_fail; | |
2404 | } | |
2405 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0); | |
2406 | return resultobj; | |
2407 | fail: | |
2408 | return NULL; | |
2409 | } | |
2410 | ||
2411 | ||
2412 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2413 | PyObject *resultobj; | |
2414 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2415 | wxHtmlTag *arg2 = 0 ; | |
2416 | PyObject * obj0 = 0 ; | |
2417 | PyObject * obj1 = 0 ; | |
2418 | char *kwnames[] = { | |
2419 | (char *) "self",(char *) "tag", NULL | |
2420 | }; | |
2421 | ||
2422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2424 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2425 | if (arg2 == NULL) { | |
2426 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2427 | } | |
2428 | { | |
2429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2430 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2431 | ||
2432 | wxPyEndAllowThreads(__tstate); | |
2433 | if (PyErr_Occurred()) SWIG_fail; | |
2434 | } | |
2435 | Py_INCREF(Py_None); resultobj = Py_None; | |
2436 | return resultobj; | |
2437 | fail: | |
2438 | return NULL; | |
2439 | } | |
2440 | ||
2441 | ||
2442 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2443 | PyObject *obj; | |
2444 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2445 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2446 | Py_INCREF(obj); | |
2447 | return Py_BuildValue((char *)""); | |
2448 | } | |
2449 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2450 | PyObject *resultobj; | |
2451 | wxPyHtmlWinTagHandler *result; | |
2452 | char *kwnames[] = { | |
2453 | NULL | |
2454 | }; | |
2455 | ||
2456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2457 | { | |
2458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2459 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2460 | ||
2461 | wxPyEndAllowThreads(__tstate); | |
2462 | if (PyErr_Occurred()) SWIG_fail; | |
2463 | } | |
2464 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2465 | return resultobj; | |
2466 | fail: | |
2467 | return NULL; | |
2468 | } | |
2469 | ||
2470 | ||
2471 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2472 | PyObject *resultobj; | |
2473 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2474 | PyObject *arg2 = (PyObject *) 0 ; | |
2475 | PyObject *arg3 = (PyObject *) 0 ; | |
2476 | PyObject * obj0 = 0 ; | |
2477 | PyObject * obj1 = 0 ; | |
2478 | PyObject * obj2 = 0 ; | |
2479 | char *kwnames[] = { | |
2480 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2481 | }; | |
2482 | ||
2483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2485 | arg2 = obj1; | |
2486 | arg3 = obj2; | |
2487 | { | |
2488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2489 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2490 | ||
2491 | wxPyEndAllowThreads(__tstate); | |
2492 | if (PyErr_Occurred()) SWIG_fail; | |
2493 | } | |
2494 | Py_INCREF(Py_None); resultobj = Py_None; | |
2495 | return resultobj; | |
2496 | fail: | |
2497 | return NULL; | |
2498 | } | |
2499 | ||
2500 | ||
2501 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2502 | PyObject *resultobj; | |
2503 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2504 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2505 | PyObject * obj0 = 0 ; | |
2506 | PyObject * obj1 = 0 ; | |
2507 | char *kwnames[] = { | |
2508 | (char *) "self",(char *) "parser", NULL | |
2509 | }; | |
2510 | ||
2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2512 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2513 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2514 | { | |
2515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2516 | (arg1)->SetParser(arg2); | |
2517 | ||
2518 | wxPyEndAllowThreads(__tstate); | |
2519 | if (PyErr_Occurred()) SWIG_fail; | |
2520 | } | |
2521 | Py_INCREF(Py_None); resultobj = Py_None; | |
2522 | return resultobj; | |
2523 | fail: | |
2524 | return NULL; | |
2525 | } | |
2526 | ||
2527 | ||
2528 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2529 | PyObject *resultobj; | |
2530 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2531 | wxHtmlWinParser *result; | |
2532 | PyObject * obj0 = 0 ; | |
2533 | char *kwnames[] = { | |
2534 | (char *) "self", NULL | |
2535 | }; | |
2536 | ||
2537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2539 | { | |
2540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2541 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2542 | ||
2543 | wxPyEndAllowThreads(__tstate); | |
2544 | if (PyErr_Occurred()) SWIG_fail; | |
2545 | } | |
2546 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
2547 | return resultobj; | |
2548 | fail: | |
2549 | return NULL; | |
2550 | } | |
2551 | ||
2552 | ||
2553 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2554 | PyObject *resultobj; | |
2555 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2556 | wxHtmlTag *arg2 = 0 ; | |
2557 | PyObject * obj0 = 0 ; | |
2558 | PyObject * obj1 = 0 ; | |
2559 | char *kwnames[] = { | |
2560 | (char *) "self",(char *) "tag", NULL | |
2561 | }; | |
2562 | ||
2563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2565 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2566 | if (arg2 == NULL) { | |
2567 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2568 | } | |
2569 | { | |
2570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2571 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2572 | ||
2573 | wxPyEndAllowThreads(__tstate); | |
2574 | if (PyErr_Occurred()) SWIG_fail; | |
2575 | } | |
2576 | Py_INCREF(Py_None); resultobj = Py_None; | |
2577 | return resultobj; | |
2578 | fail: | |
2579 | return NULL; | |
2580 | } | |
2581 | ||
2582 | ||
2583 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2584 | PyObject *obj; | |
2585 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2586 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2587 | Py_INCREF(obj); | |
2588 | return Py_BuildValue((char *)""); | |
2589 | } | |
2590 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2591 | PyObject *resultobj; | |
2592 | PyObject *arg1 = (PyObject *) 0 ; | |
2593 | PyObject * obj0 = 0 ; | |
2594 | char *kwnames[] = { | |
2595 | (char *) "tagHandlerClass", NULL | |
2596 | }; | |
2597 | ||
2598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2599 | arg1 = obj0; | |
2600 | { | |
2601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2602 | wxHtmlWinParser_AddTagHandler(arg1); | |
2603 | ||
2604 | wxPyEndAllowThreads(__tstate); | |
2605 | if (PyErr_Occurred()) SWIG_fail; | |
2606 | } | |
2607 | Py_INCREF(Py_None); resultobj = Py_None; | |
2608 | return resultobj; | |
2609 | fail: | |
2610 | return NULL; | |
2611 | } | |
2612 | ||
2613 | ||
2614 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2615 | PyObject *resultobj; | |
2616 | wxHtmlSelection *result; | |
2617 | char *kwnames[] = { | |
2618 | NULL | |
2619 | }; | |
2620 | ||
2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2622 | { | |
2623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2624 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
2625 | ||
2626 | wxPyEndAllowThreads(__tstate); | |
2627 | if (PyErr_Occurred()) SWIG_fail; | |
2628 | } | |
2629 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1); | |
2630 | return resultobj; | |
2631 | fail: | |
2632 | return NULL; | |
2633 | } | |
2634 | ||
2635 | ||
2636 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2637 | PyObject *resultobj; | |
2638 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2639 | PyObject * obj0 = 0 ; | |
2640 | char *kwnames[] = { | |
2641 | (char *) "self", NULL | |
2642 | }; | |
2643 | ||
2644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2645 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2646 | { | |
2647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2648 | delete arg1; | |
2649 | ||
2650 | wxPyEndAllowThreads(__tstate); | |
2651 | if (PyErr_Occurred()) SWIG_fail; | |
2652 | } | |
2653 | Py_INCREF(Py_None); resultobj = Py_None; | |
2654 | return resultobj; | |
2655 | fail: | |
2656 | return NULL; | |
2657 | } | |
2658 | ||
2659 | ||
2660 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2661 | PyObject *resultobj; | |
2662 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2663 | wxPoint *arg2 = 0 ; | |
2664 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2665 | wxPoint *arg4 = 0 ; | |
2666 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
2667 | wxPoint temp2 ; | |
2668 | wxPoint temp4 ; | |
2669 | PyObject * obj0 = 0 ; | |
2670 | PyObject * obj1 = 0 ; | |
2671 | PyObject * obj2 = 0 ; | |
2672 | PyObject * obj3 = 0 ; | |
2673 | PyObject * obj4 = 0 ; | |
2674 | char *kwnames[] = { | |
2675 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
2676 | }; | |
2677 | ||
2678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2679 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2680 | { | |
2681 | arg2 = &temp2; | |
2682 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2683 | } | |
2684 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2685 | { | |
2686 | arg4 = &temp4; | |
2687 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2688 | } | |
2689 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2690 | { | |
2691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2692 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
2693 | ||
2694 | wxPyEndAllowThreads(__tstate); | |
2695 | if (PyErr_Occurred()) SWIG_fail; | |
2696 | } | |
2697 | Py_INCREF(Py_None); resultobj = Py_None; | |
2698 | return resultobj; | |
2699 | fail: | |
2700 | return NULL; | |
2701 | } | |
2702 | ||
2703 | ||
2704 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2705 | PyObject *resultobj; | |
2706 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2707 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
2708 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2709 | PyObject * obj0 = 0 ; | |
2710 | PyObject * obj1 = 0 ; | |
2711 | PyObject * obj2 = 0 ; | |
2712 | char *kwnames[] = { | |
2713 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
2714 | }; | |
2715 | ||
2716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2717 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2718 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2719 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2720 | { | |
2721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2722 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
2723 | ||
2724 | wxPyEndAllowThreads(__tstate); | |
2725 | if (PyErr_Occurred()) SWIG_fail; | |
2726 | } | |
2727 | Py_INCREF(Py_None); resultobj = Py_None; | |
2728 | return resultobj; | |
2729 | fail: | |
2730 | return NULL; | |
2731 | } | |
2732 | ||
2733 | ||
2734 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2735 | PyObject *resultobj; | |
2736 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2737 | wxHtmlCell *result; | |
2738 | PyObject * obj0 = 0 ; | |
2739 | char *kwnames[] = { | |
2740 | (char *) "self", NULL | |
2741 | }; | |
2742 | ||
2743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2744 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2745 | { | |
2746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2747 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
2748 | ||
2749 | wxPyEndAllowThreads(__tstate); | |
2750 | if (PyErr_Occurred()) SWIG_fail; | |
2751 | } | |
2752 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2753 | return resultobj; | |
2754 | fail: | |
2755 | return NULL; | |
2756 | } | |
2757 | ||
2758 | ||
2759 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2760 | PyObject *resultobj; | |
2761 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2762 | wxHtmlCell *result; | |
2763 | PyObject * obj0 = 0 ; | |
2764 | char *kwnames[] = { | |
2765 | (char *) "self", NULL | |
2766 | }; | |
2767 | ||
2768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2769 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2770 | { | |
2771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2772 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
2773 | ||
2774 | wxPyEndAllowThreads(__tstate); | |
2775 | if (PyErr_Occurred()) SWIG_fail; | |
2776 | } | |
2777 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2778 | return resultobj; | |
2779 | fail: | |
2780 | return NULL; | |
2781 | } | |
2782 | ||
2783 | ||
2784 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2785 | PyObject *resultobj; | |
2786 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2787 | wxPoint *result; | |
2788 | PyObject * obj0 = 0 ; | |
2789 | char *kwnames[] = { | |
2790 | (char *) "self", NULL | |
2791 | }; | |
2792 | ||
2793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2794 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2795 | { | |
2796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2797 | { | |
2798 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
2799 | result = (wxPoint *) &_result_ref; | |
2800 | } | |
2801 | ||
2802 | wxPyEndAllowThreads(__tstate); | |
2803 | if (PyErr_Occurred()) SWIG_fail; | |
2804 | } | |
2805 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2806 | return resultobj; | |
2807 | fail: | |
2808 | return NULL; | |
2809 | } | |
2810 | ||
2811 | ||
2812 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2813 | PyObject *resultobj; | |
2814 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2815 | wxPoint *result; | |
2816 | PyObject * obj0 = 0 ; | |
2817 | char *kwnames[] = { | |
2818 | (char *) "self", NULL | |
2819 | }; | |
2820 | ||
2821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2823 | { | |
2824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2825 | { | |
2826 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
2827 | result = (wxPoint *) &_result_ref; | |
2828 | } | |
2829 | ||
2830 | wxPyEndAllowThreads(__tstate); | |
2831 | if (PyErr_Occurred()) SWIG_fail; | |
2832 | } | |
2833 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2834 | return resultobj; | |
2835 | fail: | |
2836 | return NULL; | |
2837 | } | |
2838 | ||
2839 | ||
2840 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2841 | PyObject *resultobj; | |
2842 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2843 | wxPoint *result; | |
2844 | PyObject * obj0 = 0 ; | |
2845 | char *kwnames[] = { | |
2846 | (char *) "self", NULL | |
2847 | }; | |
2848 | ||
2849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2851 | { | |
2852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2853 | { | |
2854 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
2855 | result = (wxPoint *) &_result_ref; | |
2856 | } | |
2857 | ||
2858 | wxPyEndAllowThreads(__tstate); | |
2859 | if (PyErr_Occurred()) SWIG_fail; | |
2860 | } | |
2861 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2862 | return resultobj; | |
2863 | fail: | |
2864 | return NULL; | |
2865 | } | |
2866 | ||
2867 | ||
2868 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2869 | PyObject *resultobj; | |
2870 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2871 | wxPoint *result; | |
2872 | PyObject * obj0 = 0 ; | |
2873 | char *kwnames[] = { | |
2874 | (char *) "self", NULL | |
2875 | }; | |
2876 | ||
2877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2878 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2879 | { | |
2880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2881 | { | |
2882 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
2883 | result = (wxPoint *) &_result_ref; | |
2884 | } | |
2885 | ||
2886 | wxPyEndAllowThreads(__tstate); | |
2887 | if (PyErr_Occurred()) SWIG_fail; | |
2888 | } | |
2889 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2890 | return resultobj; | |
2891 | fail: | |
2892 | return NULL; | |
2893 | } | |
2894 | ||
2895 | ||
2896 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2897 | PyObject *resultobj; | |
2898 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2899 | wxPoint *arg2 = 0 ; | |
2900 | wxPoint temp2 ; | |
2901 | PyObject * obj0 = 0 ; | |
2902 | PyObject * obj1 = 0 ; | |
2903 | char *kwnames[] = { | |
2904 | (char *) "self",(char *) "pos", NULL | |
2905 | }; | |
2906 | ||
2907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2908 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2909 | { | |
2910 | arg2 = &temp2; | |
2911 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2912 | } | |
2913 | { | |
2914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2915 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
2916 | ||
2917 | wxPyEndAllowThreads(__tstate); | |
2918 | if (PyErr_Occurred()) SWIG_fail; | |
2919 | } | |
2920 | Py_INCREF(Py_None); resultobj = Py_None; | |
2921 | return resultobj; | |
2922 | fail: | |
2923 | return NULL; | |
2924 | } | |
2925 | ||
2926 | ||
2927 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2928 | PyObject *resultobj; | |
2929 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2930 | wxPoint *arg2 = 0 ; | |
2931 | wxPoint temp2 ; | |
2932 | PyObject * obj0 = 0 ; | |
2933 | PyObject * obj1 = 0 ; | |
2934 | char *kwnames[] = { | |
2935 | (char *) "self",(char *) "pos", NULL | |
2936 | }; | |
2937 | ||
2938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2940 | { | |
2941 | arg2 = &temp2; | |
2942 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2943 | } | |
2944 | { | |
2945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2946 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
2947 | ||
2948 | wxPyEndAllowThreads(__tstate); | |
2949 | if (PyErr_Occurred()) SWIG_fail; | |
2950 | } | |
2951 | Py_INCREF(Py_None); resultobj = Py_None; | |
2952 | return resultobj; | |
2953 | fail: | |
2954 | return NULL; | |
2955 | } | |
2956 | ||
2957 | ||
2958 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2959 | PyObject *resultobj; | |
2960 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2961 | PyObject * obj0 = 0 ; | |
2962 | char *kwnames[] = { | |
2963 | (char *) "self", NULL | |
2964 | }; | |
2965 | ||
2966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2968 | { | |
2969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2970 | (arg1)->ClearPrivPos(); | |
2971 | ||
2972 | wxPyEndAllowThreads(__tstate); | |
2973 | if (PyErr_Occurred()) SWIG_fail; | |
2974 | } | |
2975 | Py_INCREF(Py_None); resultobj = Py_None; | |
2976 | return resultobj; | |
2977 | fail: | |
2978 | return NULL; | |
2979 | } | |
2980 | ||
2981 | ||
2982 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2983 | PyObject *resultobj; | |
2984 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2985 | bool result; | |
2986 | PyObject * obj0 = 0 ; | |
2987 | char *kwnames[] = { | |
2988 | (char *) "self", NULL | |
2989 | }; | |
2990 | ||
2991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2992 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2993 | { | |
2994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2995 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
2996 | ||
2997 | wxPyEndAllowThreads(__tstate); | |
2998 | if (PyErr_Occurred()) SWIG_fail; | |
2999 | } | |
3000 | resultobj = PyInt_FromLong((long)result); | |
3001 | return resultobj; | |
3002 | fail: | |
3003 | return NULL; | |
3004 | } | |
3005 | ||
3006 | ||
3007 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
3008 | PyObject *obj; | |
3009 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3010 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
3011 | Py_INCREF(obj); | |
3012 | return Py_BuildValue((char *)""); | |
3013 | } | |
3014 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3015 | PyObject *resultobj; | |
3016 | wxHtmlRenderingState *result; | |
3017 | char *kwnames[] = { | |
3018 | NULL | |
3019 | }; | |
3020 | ||
3021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
3022 | { | |
3023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3024 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
3025 | ||
3026 | wxPyEndAllowThreads(__tstate); | |
3027 | if (PyErr_Occurred()) SWIG_fail; | |
3028 | } | |
3029 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1); | |
3030 | return resultobj; | |
3031 | fail: | |
3032 | return NULL; | |
3033 | } | |
3034 | ||
3035 | ||
3036 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3037 | PyObject *resultobj; | |
3038 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3039 | PyObject * obj0 = 0 ; | |
3040 | char *kwnames[] = { | |
3041 | (char *) "self", NULL | |
3042 | }; | |
3043 | ||
3044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
3045 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3046 | { | |
3047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3048 | delete arg1; | |
3049 | ||
3050 | wxPyEndAllowThreads(__tstate); | |
3051 | if (PyErr_Occurred()) SWIG_fail; | |
3052 | } | |
3053 | Py_INCREF(Py_None); resultobj = Py_None; | |
3054 | return resultobj; | |
3055 | fail: | |
3056 | return NULL; | |
3057 | } | |
3058 | ||
3059 | ||
3060 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3061 | PyObject *resultobj; | |
3062 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3063 | int arg2 ; | |
3064 | PyObject * obj0 = 0 ; | |
3065 | char *kwnames[] = { | |
3066 | (char *) "self",(char *) "s", NULL | |
3067 | }; | |
3068 | ||
3069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&arg2)) goto fail; | |
3070 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3071 | { | |
3072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3073 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3074 | ||
3075 | wxPyEndAllowThreads(__tstate); | |
3076 | if (PyErr_Occurred()) SWIG_fail; | |
3077 | } | |
3078 | Py_INCREF(Py_None); resultobj = Py_None; | |
3079 | return resultobj; | |
3080 | fail: | |
3081 | return NULL; | |
3082 | } | |
3083 | ||
3084 | ||
3085 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3086 | PyObject *resultobj; | |
3087 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3088 | int result; | |
3089 | PyObject * obj0 = 0 ; | |
3090 | char *kwnames[] = { | |
3091 | (char *) "self", NULL | |
3092 | }; | |
3093 | ||
3094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3096 | { | |
3097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3098 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3099 | ||
3100 | wxPyEndAllowThreads(__tstate); | |
3101 | if (PyErr_Occurred()) SWIG_fail; | |
3102 | } | |
3103 | resultobj = PyInt_FromLong((long)result); | |
3104 | return resultobj; | |
3105 | fail: | |
3106 | return NULL; | |
3107 | } | |
3108 | ||
3109 | ||
3110 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3111 | PyObject *resultobj; | |
3112 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3113 | wxColour *arg2 = 0 ; | |
3114 | wxColour temp2 ; | |
3115 | PyObject * obj0 = 0 ; | |
3116 | PyObject * obj1 = 0 ; | |
3117 | char *kwnames[] = { | |
3118 | (char *) "self",(char *) "c", NULL | |
3119 | }; | |
3120 | ||
3121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3123 | { | |
3124 | arg2 = &temp2; | |
3125 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3126 | } | |
3127 | { | |
3128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3129 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3130 | ||
3131 | wxPyEndAllowThreads(__tstate); | |
3132 | if (PyErr_Occurred()) SWIG_fail; | |
3133 | } | |
3134 | Py_INCREF(Py_None); resultobj = Py_None; | |
3135 | return resultobj; | |
3136 | fail: | |
3137 | return NULL; | |
3138 | } | |
3139 | ||
3140 | ||
3141 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3142 | PyObject *resultobj; | |
3143 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3144 | wxColour *result; | |
3145 | PyObject * obj0 = 0 ; | |
3146 | char *kwnames[] = { | |
3147 | (char *) "self", NULL | |
3148 | }; | |
3149 | ||
3150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3151 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3152 | { | |
3153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3154 | { | |
3155 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3156 | result = (wxColour *) &_result_ref; | |
3157 | } | |
3158 | ||
3159 | wxPyEndAllowThreads(__tstate); | |
3160 | if (PyErr_Occurred()) SWIG_fail; | |
3161 | } | |
3162 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3163 | return resultobj; | |
3164 | fail: | |
3165 | return NULL; | |
3166 | } | |
3167 | ||
3168 | ||
3169 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3170 | PyObject *resultobj; | |
3171 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3172 | wxColour *arg2 = 0 ; | |
3173 | wxColour temp2 ; | |
3174 | PyObject * obj0 = 0 ; | |
3175 | PyObject * obj1 = 0 ; | |
3176 | char *kwnames[] = { | |
3177 | (char *) "self",(char *) "c", NULL | |
3178 | }; | |
3179 | ||
3180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3181 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3182 | { | |
3183 | arg2 = &temp2; | |
3184 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3185 | } | |
3186 | { | |
3187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3188 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3189 | ||
3190 | wxPyEndAllowThreads(__tstate); | |
3191 | if (PyErr_Occurred()) SWIG_fail; | |
3192 | } | |
3193 | Py_INCREF(Py_None); resultobj = Py_None; | |
3194 | return resultobj; | |
3195 | fail: | |
3196 | return NULL; | |
3197 | } | |
3198 | ||
3199 | ||
3200 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3201 | PyObject *resultobj; | |
3202 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3203 | wxColour *result; | |
3204 | PyObject * obj0 = 0 ; | |
3205 | char *kwnames[] = { | |
3206 | (char *) "self", NULL | |
3207 | }; | |
3208 | ||
3209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3210 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3211 | { | |
3212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3213 | { | |
3214 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3215 | result = (wxColour *) &_result_ref; | |
3216 | } | |
3217 | ||
3218 | wxPyEndAllowThreads(__tstate); | |
3219 | if (PyErr_Occurred()) SWIG_fail; | |
3220 | } | |
3221 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3222 | return resultobj; | |
3223 | fail: | |
3224 | return NULL; | |
3225 | } | |
3226 | ||
3227 | ||
3228 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3229 | PyObject *obj; | |
3230 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3231 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3232 | Py_INCREF(obj); | |
3233 | return Py_BuildValue((char *)""); | |
3234 | } | |
3235 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3236 | PyObject *resultobj; | |
3237 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3238 | wxColour *arg2 = 0 ; | |
3239 | wxColour result; | |
3240 | wxColour temp2 ; | |
3241 | PyObject * obj0 = 0 ; | |
3242 | PyObject * obj1 = 0 ; | |
3243 | char *kwnames[] = { | |
3244 | (char *) "self",(char *) "clr", NULL | |
3245 | }; | |
3246 | ||
3247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3248 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3249 | { | |
3250 | arg2 = &temp2; | |
3251 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3252 | } | |
3253 | { | |
3254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3255 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3256 | ||
3257 | wxPyEndAllowThreads(__tstate); | |
3258 | if (PyErr_Occurred()) SWIG_fail; | |
3259 | } | |
3260 | { | |
3261 | wxColour * resultptr; | |
3262 | resultptr = new wxColour((wxColour &) result); | |
3263 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3264 | } | |
3265 | return resultobj; | |
3266 | fail: | |
3267 | return NULL; | |
3268 | } | |
3269 | ||
3270 | ||
3271 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3272 | PyObject *resultobj; | |
3273 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3274 | wxColour *arg2 = 0 ; | |
3275 | wxColour result; | |
3276 | wxColour temp2 ; | |
3277 | PyObject * obj0 = 0 ; | |
3278 | PyObject * obj1 = 0 ; | |
3279 | char *kwnames[] = { | |
3280 | (char *) "self",(char *) "clr", NULL | |
3281 | }; | |
3282 | ||
3283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3285 | { | |
3286 | arg2 = &temp2; | |
3287 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3288 | } | |
3289 | { | |
3290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3291 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3292 | ||
3293 | wxPyEndAllowThreads(__tstate); | |
3294 | if (PyErr_Occurred()) SWIG_fail; | |
3295 | } | |
3296 | { | |
3297 | wxColour * resultptr; | |
3298 | resultptr = new wxColour((wxColour &) result); | |
3299 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3300 | } | |
3301 | return resultobj; | |
3302 | fail: | |
3303 | return NULL; | |
3304 | } | |
3305 | ||
3306 | ||
3307 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3308 | PyObject *obj; | |
3309 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3310 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3311 | Py_INCREF(obj); | |
3312 | return Py_BuildValue((char *)""); | |
3313 | } | |
3314 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3315 | PyObject *resultobj; | |
3316 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3317 | wxColour *arg2 = 0 ; | |
3318 | wxColour result; | |
3319 | wxColour temp2 ; | |
3320 | PyObject * obj0 = 0 ; | |
3321 | PyObject * obj1 = 0 ; | |
3322 | char *kwnames[] = { | |
3323 | (char *) "self",(char *) "clr", NULL | |
3324 | }; | |
3325 | ||
3326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3327 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3328 | { | |
3329 | arg2 = &temp2; | |
3330 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3331 | } | |
3332 | { | |
3333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3334 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3335 | ||
3336 | wxPyEndAllowThreads(__tstate); | |
3337 | if (PyErr_Occurred()) SWIG_fail; | |
3338 | } | |
3339 | { | |
3340 | wxColour * resultptr; | |
3341 | resultptr = new wxColour((wxColour &) result); | |
3342 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3343 | } | |
3344 | return resultobj; | |
3345 | fail: | |
3346 | return NULL; | |
3347 | } | |
3348 | ||
3349 | ||
3350 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3351 | PyObject *resultobj; | |
3352 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3353 | wxColour *arg2 = 0 ; | |
3354 | wxColour result; | |
3355 | wxColour temp2 ; | |
3356 | PyObject * obj0 = 0 ; | |
3357 | PyObject * obj1 = 0 ; | |
3358 | char *kwnames[] = { | |
3359 | (char *) "self",(char *) "clr", NULL | |
3360 | }; | |
3361 | ||
3362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3364 | { | |
3365 | arg2 = &temp2; | |
3366 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3367 | } | |
3368 | { | |
3369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3370 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3371 | ||
3372 | wxPyEndAllowThreads(__tstate); | |
3373 | if (PyErr_Occurred()) SWIG_fail; | |
3374 | } | |
3375 | { | |
3376 | wxColour * resultptr; | |
3377 | resultptr = new wxColour((wxColour &) result); | |
3378 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3379 | } | |
3380 | return resultobj; | |
3381 | fail: | |
3382 | return NULL; | |
3383 | } | |
3384 | ||
3385 | ||
3386 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3387 | PyObject *obj; | |
3388 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3389 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3390 | Py_INCREF(obj); | |
3391 | return Py_BuildValue((char *)""); | |
3392 | } | |
3393 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3394 | PyObject *resultobj; | |
3395 | wxHtmlRenderingInfo *result; | |
3396 | char *kwnames[] = { | |
3397 | NULL | |
3398 | }; | |
3399 | ||
3400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3401 | { | |
3402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3403 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3404 | ||
3405 | wxPyEndAllowThreads(__tstate); | |
3406 | if (PyErr_Occurred()) SWIG_fail; | |
3407 | } | |
3408 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3409 | return resultobj; | |
3410 | fail: | |
3411 | return NULL; | |
3412 | } | |
3413 | ||
3414 | ||
3415 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3416 | PyObject *resultobj; | |
3417 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3418 | PyObject * obj0 = 0 ; | |
3419 | char *kwnames[] = { | |
3420 | (char *) "self", NULL | |
3421 | }; | |
3422 | ||
3423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3424 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3425 | { | |
3426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3427 | delete arg1; | |
3428 | ||
3429 | wxPyEndAllowThreads(__tstate); | |
3430 | if (PyErr_Occurred()) SWIG_fail; | |
3431 | } | |
3432 | Py_INCREF(Py_None); resultobj = Py_None; | |
3433 | return resultobj; | |
3434 | fail: | |
3435 | return NULL; | |
3436 | } | |
3437 | ||
3438 | ||
3439 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3440 | PyObject *resultobj; | |
3441 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3442 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3443 | PyObject * obj0 = 0 ; | |
3444 | PyObject * obj1 = 0 ; | |
3445 | char *kwnames[] = { | |
3446 | (char *) "self",(char *) "s", NULL | |
3447 | }; | |
3448 | ||
3449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3451 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3452 | { | |
3453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3454 | (arg1)->SetSelection(arg2); | |
3455 | ||
3456 | wxPyEndAllowThreads(__tstate); | |
3457 | if (PyErr_Occurred()) SWIG_fail; | |
3458 | } | |
3459 | Py_INCREF(Py_None); resultobj = Py_None; | |
3460 | return resultobj; | |
3461 | fail: | |
3462 | return NULL; | |
3463 | } | |
3464 | ||
3465 | ||
3466 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3467 | PyObject *resultobj; | |
3468 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3469 | wxHtmlSelection *result; | |
3470 | PyObject * obj0 = 0 ; | |
3471 | char *kwnames[] = { | |
3472 | (char *) "self", NULL | |
3473 | }; | |
3474 | ||
3475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3476 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3477 | { | |
3478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3479 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3480 | ||
3481 | wxPyEndAllowThreads(__tstate); | |
3482 | if (PyErr_Occurred()) SWIG_fail; | |
3483 | } | |
3484 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0); | |
3485 | return resultobj; | |
3486 | fail: | |
3487 | return NULL; | |
3488 | } | |
3489 | ||
3490 | ||
3491 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3492 | PyObject *resultobj; | |
3493 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3494 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3495 | PyObject * obj0 = 0 ; | |
3496 | PyObject * obj1 = 0 ; | |
3497 | char *kwnames[] = { | |
3498 | (char *) "self",(char *) "style", NULL | |
3499 | }; | |
3500 | ||
3501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3502 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3503 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3504 | { | |
3505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3506 | (arg1)->SetStyle(arg2); | |
3507 | ||
3508 | wxPyEndAllowThreads(__tstate); | |
3509 | if (PyErr_Occurred()) SWIG_fail; | |
3510 | } | |
3511 | Py_INCREF(Py_None); resultobj = Py_None; | |
3512 | return resultobj; | |
3513 | fail: | |
3514 | return NULL; | |
3515 | } | |
3516 | ||
3517 | ||
3518 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3519 | PyObject *resultobj; | |
3520 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3521 | wxHtmlRenderingStyle *result; | |
3522 | PyObject * obj0 = 0 ; | |
3523 | char *kwnames[] = { | |
3524 | (char *) "self", NULL | |
3525 | }; | |
3526 | ||
3527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3528 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3529 | { | |
3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3531 | { | |
3532 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3533 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3534 | } | |
3535 | ||
3536 | wxPyEndAllowThreads(__tstate); | |
3537 | if (PyErr_Occurred()) SWIG_fail; | |
3538 | } | |
3539 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3540 | return resultobj; | |
3541 | fail: | |
3542 | return NULL; | |
3543 | } | |
3544 | ||
3545 | ||
3546 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3547 | PyObject *resultobj; | |
3548 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3549 | wxHtmlRenderingState *result; | |
3550 | PyObject * obj0 = 0 ; | |
3551 | char *kwnames[] = { | |
3552 | (char *) "self", NULL | |
3553 | }; | |
3554 | ||
3555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3556 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3557 | { | |
3558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3559 | { | |
3560 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3561 | result = (wxHtmlRenderingState *) &_result_ref; | |
3562 | } | |
3563 | ||
3564 | wxPyEndAllowThreads(__tstate); | |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
3566 | } | |
3567 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3568 | return resultobj; | |
3569 | fail: | |
3570 | return NULL; | |
3571 | } | |
3572 | ||
3573 | ||
3574 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3575 | PyObject *obj; | |
3576 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3577 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3578 | Py_INCREF(obj); | |
3579 | return Py_BuildValue((char *)""); | |
3580 | } | |
3581 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3582 | PyObject *resultobj; | |
3583 | wxHtmlCell *result; | |
3584 | char *kwnames[] = { | |
3585 | NULL | |
3586 | }; | |
3587 | ||
3588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
3589 | { | |
3590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3591 | result = (wxHtmlCell *)new wxHtmlCell(); | |
3592 | ||
3593 | wxPyEndAllowThreads(__tstate); | |
3594 | if (PyErr_Occurred()) SWIG_fail; | |
3595 | } | |
3596 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1); | |
3597 | return resultobj; | |
3598 | fail: | |
3599 | return NULL; | |
3600 | } | |
3601 | ||
3602 | ||
3603 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3604 | PyObject *resultobj; | |
3605 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3606 | int result; | |
3607 | PyObject * obj0 = 0 ; | |
3608 | char *kwnames[] = { | |
3609 | (char *) "self", NULL | |
3610 | }; | |
3611 | ||
3612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
3613 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3614 | { | |
3615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3616 | result = (int)(arg1)->GetPosX(); | |
3617 | ||
3618 | wxPyEndAllowThreads(__tstate); | |
3619 | if (PyErr_Occurred()) SWIG_fail; | |
3620 | } | |
3621 | resultobj = PyInt_FromLong((long)result); | |
3622 | return resultobj; | |
3623 | fail: | |
3624 | return NULL; | |
3625 | } | |
3626 | ||
3627 | ||
3628 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject *resultobj; | |
3630 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3631 | int result; | |
3632 | PyObject * obj0 = 0 ; | |
3633 | char *kwnames[] = { | |
3634 | (char *) "self", NULL | |
3635 | }; | |
3636 | ||
3637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
3638 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3639 | { | |
3640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3641 | result = (int)(arg1)->GetPosY(); | |
3642 | ||
3643 | wxPyEndAllowThreads(__tstate); | |
3644 | if (PyErr_Occurred()) SWIG_fail; | |
3645 | } | |
3646 | resultobj = PyInt_FromLong((long)result); | |
3647 | return resultobj; | |
3648 | fail: | |
3649 | return NULL; | |
3650 | } | |
3651 | ||
3652 | ||
3653 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3654 | PyObject *resultobj; | |
3655 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3656 | int result; | |
3657 | PyObject * obj0 = 0 ; | |
3658 | char *kwnames[] = { | |
3659 | (char *) "self", NULL | |
3660 | }; | |
3661 | ||
3662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
3663 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3664 | { | |
3665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3666 | result = (int)(arg1)->GetWidth(); | |
3667 | ||
3668 | wxPyEndAllowThreads(__tstate); | |
3669 | if (PyErr_Occurred()) SWIG_fail; | |
3670 | } | |
3671 | resultobj = PyInt_FromLong((long)result); | |
3672 | return resultobj; | |
3673 | fail: | |
3674 | return NULL; | |
3675 | } | |
3676 | ||
3677 | ||
3678 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3679 | PyObject *resultobj; | |
3680 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3681 | int result; | |
3682 | PyObject * obj0 = 0 ; | |
3683 | char *kwnames[] = { | |
3684 | (char *) "self", NULL | |
3685 | }; | |
3686 | ||
3687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
3688 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3689 | { | |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3691 | result = (int)(arg1)->GetHeight(); | |
3692 | ||
3693 | wxPyEndAllowThreads(__tstate); | |
3694 | if (PyErr_Occurred()) SWIG_fail; | |
3695 | } | |
3696 | resultobj = PyInt_FromLong((long)result); | |
3697 | return resultobj; | |
3698 | fail: | |
3699 | return NULL; | |
3700 | } | |
3701 | ||
3702 | ||
3703 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3704 | PyObject *resultobj; | |
3705 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3706 | int result; | |
3707 | PyObject * obj0 = 0 ; | |
3708 | char *kwnames[] = { | |
3709 | (char *) "self", NULL | |
3710 | }; | |
3711 | ||
3712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
3713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3714 | { | |
3715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3716 | result = (int)(arg1)->GetDescent(); | |
3717 | ||
3718 | wxPyEndAllowThreads(__tstate); | |
3719 | if (PyErr_Occurred()) SWIG_fail; | |
3720 | } | |
3721 | resultobj = PyInt_FromLong((long)result); | |
3722 | return resultobj; | |
3723 | fail: | |
3724 | return NULL; | |
3725 | } | |
3726 | ||
3727 | ||
3728 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3729 | PyObject *resultobj; | |
3730 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3731 | int arg2 = (int) 0 ; | |
3732 | int arg3 = (int) 0 ; | |
3733 | wxHtmlLinkInfo *result; | |
3734 | PyObject * obj0 = 0 ; | |
3735 | char *kwnames[] = { | |
3736 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3737 | }; | |
3738 | ||
3739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:HtmlCell_GetLink",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3741 | { | |
3742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3743 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
3744 | ||
3745 | wxPyEndAllowThreads(__tstate); | |
3746 | if (PyErr_Occurred()) SWIG_fail; | |
3747 | } | |
3748 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
3749 | return resultobj; | |
3750 | fail: | |
3751 | return NULL; | |
3752 | } | |
3753 | ||
3754 | ||
3755 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3756 | PyObject *resultobj; | |
3757 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3758 | wxHtmlCell *result; | |
3759 | PyObject * obj0 = 0 ; | |
3760 | char *kwnames[] = { | |
3761 | (char *) "self", NULL | |
3762 | }; | |
3763 | ||
3764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
3765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3766 | { | |
3767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3768 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
3769 | ||
3770 | wxPyEndAllowThreads(__tstate); | |
3771 | if (PyErr_Occurred()) SWIG_fail; | |
3772 | } | |
3773 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3774 | return resultobj; | |
3775 | fail: | |
3776 | return NULL; | |
3777 | } | |
3778 | ||
3779 | ||
3780 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3781 | PyObject *resultobj; | |
3782 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3783 | wxHtmlContainerCell *result; | |
3784 | PyObject * obj0 = 0 ; | |
3785 | char *kwnames[] = { | |
3786 | (char *) "self", NULL | |
3787 | }; | |
3788 | ||
3789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
3790 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3791 | { | |
3792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3793 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
3794 | ||
3795 | wxPyEndAllowThreads(__tstate); | |
3796 | if (PyErr_Occurred()) SWIG_fail; | |
3797 | } | |
3798 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
3799 | return resultobj; | |
3800 | fail: | |
3801 | return NULL; | |
3802 | } | |
3803 | ||
3804 | ||
3805 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3806 | PyObject *resultobj; | |
3807 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3808 | wxHtmlCell *result; | |
3809 | PyObject * obj0 = 0 ; | |
3810 | char *kwnames[] = { | |
3811 | (char *) "self", NULL | |
3812 | }; | |
3813 | ||
3814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
3815 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3816 | { | |
3817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3818 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
3819 | ||
3820 | wxPyEndAllowThreads(__tstate); | |
3821 | if (PyErr_Occurred()) SWIG_fail; | |
3822 | } | |
3823 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3824 | return resultobj; | |
3825 | fail: | |
3826 | return NULL; | |
3827 | } | |
3828 | ||
3829 | ||
3830 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3831 | PyObject *resultobj; | |
3832 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3833 | wxCursor result; | |
3834 | PyObject * obj0 = 0 ; | |
3835 | char *kwnames[] = { | |
3836 | (char *) "self", NULL | |
3837 | }; | |
3838 | ||
3839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
3840 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3841 | { | |
3842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3843 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
3844 | ||
3845 | wxPyEndAllowThreads(__tstate); | |
3846 | if (PyErr_Occurred()) SWIG_fail; | |
3847 | } | |
3848 | { | |
3849 | wxCursor * resultptr; | |
3850 | resultptr = new wxCursor((wxCursor &) result); | |
3851 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1); | |
3852 | } | |
3853 | return resultobj; | |
3854 | fail: | |
3855 | return NULL; | |
3856 | } | |
3857 | ||
3858 | ||
3859 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3860 | PyObject *resultobj; | |
3861 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3862 | bool result; | |
3863 | PyObject * obj0 = 0 ; | |
3864 | char *kwnames[] = { | |
3865 | (char *) "self", NULL | |
3866 | }; | |
3867 | ||
3868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
3869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3870 | { | |
3871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3872 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
3873 | ||
3874 | wxPyEndAllowThreads(__tstate); | |
3875 | if (PyErr_Occurred()) SWIG_fail; | |
3876 | } | |
3877 | resultobj = PyInt_FromLong((long)result); | |
3878 | return resultobj; | |
3879 | fail: | |
3880 | return NULL; | |
3881 | } | |
3882 | ||
3883 | ||
3884 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3885 | PyObject *resultobj; | |
3886 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3887 | wxHtmlLinkInfo *arg2 = 0 ; | |
3888 | PyObject * obj0 = 0 ; | |
3889 | PyObject * obj1 = 0 ; | |
3890 | char *kwnames[] = { | |
3891 | (char *) "self",(char *) "link", NULL | |
3892 | }; | |
3893 | ||
3894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
3895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3896 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3897 | if (arg2 == NULL) { | |
3898 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3899 | } | |
3900 | { | |
3901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3902 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
3903 | ||
3904 | wxPyEndAllowThreads(__tstate); | |
3905 | if (PyErr_Occurred()) SWIG_fail; | |
3906 | } | |
3907 | Py_INCREF(Py_None); resultobj = Py_None; | |
3908 | return resultobj; | |
3909 | fail: | |
3910 | return NULL; | |
3911 | } | |
3912 | ||
3913 | ||
3914 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3915 | PyObject *resultobj; | |
3916 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3917 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3918 | PyObject * obj0 = 0 ; | |
3919 | PyObject * obj1 = 0 ; | |
3920 | char *kwnames[] = { | |
3921 | (char *) "self",(char *) "cell", NULL | |
3922 | }; | |
3923 | ||
3924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
3925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3926 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3927 | { | |
3928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3929 | (arg1)->SetNext(arg2); | |
3930 | ||
3931 | wxPyEndAllowThreads(__tstate); | |
3932 | if (PyErr_Occurred()) SWIG_fail; | |
3933 | } | |
3934 | Py_INCREF(Py_None); resultobj = Py_None; | |
3935 | return resultobj; | |
3936 | fail: | |
3937 | return NULL; | |
3938 | } | |
3939 | ||
3940 | ||
3941 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3942 | PyObject *resultobj; | |
3943 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3944 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
3945 | PyObject * obj0 = 0 ; | |
3946 | PyObject * obj1 = 0 ; | |
3947 | char *kwnames[] = { | |
3948 | (char *) "self",(char *) "p", NULL | |
3949 | }; | |
3950 | ||
3951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
3952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3953 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3954 | { | |
3955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3956 | (arg1)->SetParent(arg2); | |
3957 | ||
3958 | wxPyEndAllowThreads(__tstate); | |
3959 | if (PyErr_Occurred()) SWIG_fail; | |
3960 | } | |
3961 | Py_INCREF(Py_None); resultobj = Py_None; | |
3962 | return resultobj; | |
3963 | fail: | |
3964 | return NULL; | |
3965 | } | |
3966 | ||
3967 | ||
3968 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3969 | PyObject *resultobj; | |
3970 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3971 | int arg2 ; | |
3972 | int arg3 ; | |
3973 | PyObject * obj0 = 0 ; | |
3974 | char *kwnames[] = { | |
3975 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3976 | }; | |
3977 | ||
3978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlCell_SetPos",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3979 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3980 | { | |
3981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3982 | (arg1)->SetPos(arg2,arg3); | |
3983 | ||
3984 | wxPyEndAllowThreads(__tstate); | |
3985 | if (PyErr_Occurred()) SWIG_fail; | |
3986 | } | |
3987 | Py_INCREF(Py_None); resultobj = Py_None; | |
3988 | return resultobj; | |
3989 | fail: | |
3990 | return NULL; | |
3991 | } | |
3992 | ||
3993 | ||
3994 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3995 | PyObject *resultobj; | |
3996 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3997 | int arg2 ; | |
3998 | PyObject * obj0 = 0 ; | |
3999 | char *kwnames[] = { | |
4000 | (char *) "self",(char *) "w", NULL | |
4001 | }; | |
4002 | ||
4003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlCell_Layout",kwnames,&obj0,&arg2)) goto fail; | |
4004 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4005 | { | |
4006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4007 | (arg1)->Layout(arg2); | |
4008 | ||
4009 | wxPyEndAllowThreads(__tstate); | |
4010 | if (PyErr_Occurred()) SWIG_fail; | |
4011 | } | |
4012 | Py_INCREF(Py_None); resultobj = Py_None; | |
4013 | return resultobj; | |
4014 | fail: | |
4015 | return NULL; | |
4016 | } | |
4017 | ||
4018 | ||
4019 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4020 | PyObject *resultobj; | |
4021 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4022 | wxDC *arg2 = 0 ; | |
4023 | int arg3 ; | |
4024 | int arg4 ; | |
4025 | int arg5 ; | |
4026 | int arg6 ; | |
4027 | wxHtmlRenderingInfo *arg7 = 0 ; | |
4028 | PyObject * obj0 = 0 ; | |
4029 | PyObject * obj1 = 0 ; | |
4030 | PyObject * obj6 = 0 ; | |
4031 | char *kwnames[] = { | |
4032 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
4033 | }; | |
4034 | ||
4035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiiiO:HtmlCell_Draw",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail; | |
4036 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4037 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4038 | if (arg2 == NULL) { | |
4039 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4040 | } | |
4041 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4042 | if (arg7 == NULL) { | |
4043 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4044 | } | |
4045 | { | |
4046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4047 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
4048 | ||
4049 | wxPyEndAllowThreads(__tstate); | |
4050 | if (PyErr_Occurred()) SWIG_fail; | |
4051 | } | |
4052 | Py_INCREF(Py_None); resultobj = Py_None; | |
4053 | return resultobj; | |
4054 | fail: | |
4055 | return NULL; | |
4056 | } | |
4057 | ||
4058 | ||
4059 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4060 | PyObject *resultobj; | |
4061 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4062 | wxDC *arg2 = 0 ; | |
4063 | int arg3 ; | |
4064 | int arg4 ; | |
4065 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4066 | PyObject * obj0 = 0 ; | |
4067 | PyObject * obj1 = 0 ; | |
4068 | PyObject * obj4 = 0 ; | |
4069 | char *kwnames[] = { | |
4070 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4071 | }; | |
4072 | ||
4073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4074 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4075 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4076 | if (arg2 == NULL) { | |
4077 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4078 | } | |
4079 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4080 | if (arg5 == NULL) { | |
4081 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4082 | } | |
4083 | { | |
4084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4085 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4086 | ||
4087 | wxPyEndAllowThreads(__tstate); | |
4088 | if (PyErr_Occurred()) SWIG_fail; | |
4089 | } | |
4090 | Py_INCREF(Py_None); resultobj = Py_None; | |
4091 | return resultobj; | |
4092 | fail: | |
4093 | return NULL; | |
4094 | } | |
4095 | ||
4096 | ||
4097 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4098 | PyObject *resultobj; | |
4099 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4100 | int arg2 ; | |
4101 | void *arg3 = (void *) 0 ; | |
4102 | wxHtmlCell *result; | |
4103 | PyObject * obj0 = 0 ; | |
4104 | PyObject * obj2 = 0 ; | |
4105 | char *kwnames[] = { | |
4106 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4107 | }; | |
4108 | ||
4109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HtmlCell_Find",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
4110 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4111 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4112 | { | |
4113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4114 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4115 | ||
4116 | wxPyEndAllowThreads(__tstate); | |
4117 | if (PyErr_Occurred()) SWIG_fail; | |
4118 | } | |
4119 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4120 | return resultobj; | |
4121 | fail: | |
4122 | return NULL; | |
4123 | } | |
4124 | ||
4125 | ||
4126 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4127 | PyObject *resultobj; | |
4128 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4129 | int *arg2 = (int *) 0 ; | |
4130 | bool result; | |
4131 | int temp2 ; | |
4132 | PyObject * obj0 = 0 ; | |
4133 | PyObject * obj1 = 0 ; | |
4134 | char *kwnames[] = { | |
4135 | (char *) "self",(char *) "INOUT", NULL | |
4136 | }; | |
4137 | ||
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4139 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4140 | { | |
4141 | temp2 = PyInt_AsLong(obj1); | |
4142 | if (PyErr_Occurred()) SWIG_fail; | |
4143 | arg2 = &temp2; | |
4144 | } | |
4145 | { | |
4146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4147 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4148 | ||
4149 | wxPyEndAllowThreads(__tstate); | |
4150 | if (PyErr_Occurred()) SWIG_fail; | |
4151 | } | |
4152 | resultobj = PyInt_FromLong((long)result); | |
4153 | { | |
4154 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4155 | resultobj = t_output_helper(resultobj,o); | |
4156 | } | |
4157 | return resultobj; | |
4158 | fail: | |
4159 | return NULL; | |
4160 | } | |
4161 | ||
4162 | ||
4163 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4164 | PyObject *resultobj; | |
4165 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4166 | bool arg2 ; | |
4167 | PyObject * obj0 = 0 ; | |
4168 | PyObject * obj1 = 0 ; | |
4169 | char *kwnames[] = { | |
4170 | (char *) "self",(char *) "can", NULL | |
4171 | }; | |
4172 | ||
4173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4174 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4175 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4176 | if (PyErr_Occurred()) SWIG_fail; | |
4177 | { | |
4178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4179 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4180 | ||
4181 | wxPyEndAllowThreads(__tstate); | |
4182 | if (PyErr_Occurred()) SWIG_fail; | |
4183 | } | |
4184 | Py_INCREF(Py_None); resultobj = Py_None; | |
4185 | return resultobj; | |
4186 | fail: | |
4187 | return NULL; | |
4188 | } | |
4189 | ||
4190 | ||
4191 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4192 | PyObject *resultobj; | |
4193 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4194 | bool result; | |
4195 | PyObject * obj0 = 0 ; | |
4196 | char *kwnames[] = { | |
4197 | (char *) "self", NULL | |
4198 | }; | |
4199 | ||
4200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4201 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4202 | { | |
4203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4204 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4205 | ||
4206 | wxPyEndAllowThreads(__tstate); | |
4207 | if (PyErr_Occurred()) SWIG_fail; | |
4208 | } | |
4209 | resultobj = PyInt_FromLong((long)result); | |
4210 | return resultobj; | |
4211 | fail: | |
4212 | return NULL; | |
4213 | } | |
4214 | ||
4215 | ||
4216 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4217 | PyObject *resultobj; | |
4218 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4219 | bool result; | |
4220 | PyObject * obj0 = 0 ; | |
4221 | char *kwnames[] = { | |
4222 | (char *) "self", NULL | |
4223 | }; | |
4224 | ||
4225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4226 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4227 | { | |
4228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4229 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4230 | ||
4231 | wxPyEndAllowThreads(__tstate); | |
4232 | if (PyErr_Occurred()) SWIG_fail; | |
4233 | } | |
4234 | resultobj = PyInt_FromLong((long)result); | |
4235 | return resultobj; | |
4236 | fail: | |
4237 | return NULL; | |
4238 | } | |
4239 | ||
4240 | ||
4241 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4242 | PyObject *resultobj; | |
4243 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
4244 | int arg2 ; |
4245 | int arg3 ; | |
d14a1e28 RD |
4246 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
4247 | wxHtmlCell *result; | |
4248 | PyObject * obj0 = 0 ; | |
4249 | PyObject * obj3 = 0 ; | |
4250 | char *kwnames[] = { | |
4251 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4252 | }; | |
4253 | ||
4254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4256 | if (obj3) { | |
4257 | arg4 = (unsigned int) PyInt_AsLong(obj3); | |
4258 | if (PyErr_Occurred()) SWIG_fail; | |
4259 | } | |
4260 | { | |
4261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4262 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4263 | ||
4264 | wxPyEndAllowThreads(__tstate); | |
4265 | if (PyErr_Occurred()) SWIG_fail; | |
4266 | } | |
4267 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4268 | return resultobj; | |
4269 | fail: | |
4270 | return NULL; | |
4271 | } | |
4272 | ||
4273 | ||
4274 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4275 | PyObject *resultobj; | |
4276 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4277 | wxPoint result; | |
4278 | PyObject * obj0 = 0 ; | |
4279 | char *kwnames[] = { | |
4280 | (char *) "self", NULL | |
4281 | }; | |
4282 | ||
4283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4284 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4285 | { | |
4286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4287 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4288 | ||
4289 | wxPyEndAllowThreads(__tstate); | |
4290 | if (PyErr_Occurred()) SWIG_fail; | |
4291 | } | |
4292 | { | |
4293 | wxPoint * resultptr; | |
4294 | resultptr = new wxPoint((wxPoint &) result); | |
4295 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
4296 | } | |
4297 | return resultobj; | |
4298 | fail: | |
4299 | return NULL; | |
4300 | } | |
4301 | ||
4302 | ||
4303 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4304 | PyObject *resultobj; | |
4305 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4306 | wxHtmlCell *result; | |
4307 | PyObject * obj0 = 0 ; | |
4308 | char *kwnames[] = { | |
4309 | (char *) "self", NULL | |
4310 | }; | |
4311 | ||
4312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4313 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4314 | { | |
4315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4316 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4317 | ||
4318 | wxPyEndAllowThreads(__tstate); | |
4319 | if (PyErr_Occurred()) SWIG_fail; | |
4320 | } | |
4321 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4322 | return resultobj; | |
4323 | fail: | |
4324 | return NULL; | |
4325 | } | |
4326 | ||
4327 | ||
4328 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4329 | PyObject *resultobj; | |
4330 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4331 | wxHtmlCell *result; | |
4332 | PyObject * obj0 = 0 ; | |
4333 | char *kwnames[] = { | |
4334 | (char *) "self", NULL | |
4335 | }; | |
4336 | ||
4337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4338 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4339 | { | |
4340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4341 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4342 | ||
4343 | wxPyEndAllowThreads(__tstate); | |
4344 | if (PyErr_Occurred()) SWIG_fail; | |
4345 | } | |
4346 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4347 | return resultobj; | |
4348 | fail: | |
4349 | return NULL; | |
4350 | } | |
4351 | ||
4352 | ||
4353 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4354 | PyObject *resultobj; | |
4355 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4356 | unsigned int result; | |
4357 | PyObject * obj0 = 0 ; | |
4358 | char *kwnames[] = { | |
4359 | (char *) "self", NULL | |
4360 | }; | |
4361 | ||
4362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4364 | { | |
4365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4366 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4367 | ||
4368 | wxPyEndAllowThreads(__tstate); | |
4369 | if (PyErr_Occurred()) SWIG_fail; | |
4370 | } | |
4371 | resultobj = PyInt_FromLong((long)result); | |
4372 | return resultobj; | |
4373 | fail: | |
4374 | return NULL; | |
4375 | } | |
4376 | ||
4377 | ||
4378 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4379 | PyObject *resultobj; | |
4380 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4381 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4382 | bool result; | |
4383 | PyObject * obj0 = 0 ; | |
4384 | PyObject * obj1 = 0 ; | |
4385 | char *kwnames[] = { | |
4386 | (char *) "self",(char *) "cell", NULL | |
4387 | }; | |
4388 | ||
4389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
4390 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4391 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4392 | { | |
4393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4394 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
4395 | ||
4396 | wxPyEndAllowThreads(__tstate); | |
4397 | if (PyErr_Occurred()) SWIG_fail; | |
4398 | } | |
4399 | resultobj = PyInt_FromLong((long)result); | |
4400 | return resultobj; | |
4401 | fail: | |
4402 | return NULL; | |
4403 | } | |
4404 | ||
4405 | ||
4406 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4407 | PyObject *resultobj; | |
4408 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4409 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4410 | wxString result; | |
4411 | PyObject * obj0 = 0 ; | |
4412 | PyObject * obj1 = 0 ; | |
4413 | char *kwnames[] = { | |
4414 | (char *) "self",(char *) "sel", NULL | |
4415 | }; | |
4416 | ||
4417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
4418 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4419 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4420 | { | |
4421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4422 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
4423 | ||
4424 | wxPyEndAllowThreads(__tstate); | |
4425 | if (PyErr_Occurred()) SWIG_fail; | |
4426 | } | |
4427 | { | |
4428 | #if wxUSE_UNICODE | |
4429 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4430 | #else | |
4431 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4432 | #endif | |
4433 | } | |
4434 | return resultobj; | |
4435 | fail: | |
4436 | return NULL; | |
4437 | } | |
4438 | ||
4439 | ||
4440 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
4441 | PyObject *obj; | |
4442 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4443 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
4444 | Py_INCREF(obj); | |
4445 | return Py_BuildValue((char *)""); | |
4446 | } | |
4447 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4448 | PyObject *resultobj; | |
4449 | wxString *arg1 = 0 ; | |
4450 | wxDC *arg2 = 0 ; | |
4451 | wxHtmlWordCell *result; | |
e811c8ce | 4452 | bool temp1 = False ; |
d14a1e28 RD |
4453 | PyObject * obj0 = 0 ; |
4454 | PyObject * obj1 = 0 ; | |
4455 | char *kwnames[] = { | |
4456 | (char *) "word",(char *) "dc", NULL | |
4457 | }; | |
4458 | ||
4459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
4460 | { | |
4461 | arg1 = wxString_in_helper(obj0); | |
4462 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 4463 | temp1 = True; |
d14a1e28 RD |
4464 | } |
4465 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4466 | if (arg2 == NULL) { | |
4467 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4468 | } | |
4469 | { | |
4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4471 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
4472 | ||
4473 | wxPyEndAllowThreads(__tstate); | |
4474 | if (PyErr_Occurred()) SWIG_fail; | |
4475 | } | |
4476 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1); | |
4477 | { | |
4478 | if (temp1) | |
4479 | delete arg1; | |
4480 | } | |
4481 | return resultobj; | |
4482 | fail: | |
4483 | { | |
4484 | if (temp1) | |
4485 | delete arg1; | |
4486 | } | |
4487 | return NULL; | |
4488 | } | |
4489 | ||
4490 | ||
4491 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
4492 | PyObject *obj; | |
4493 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4494 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
4495 | Py_INCREF(obj); | |
4496 | return Py_BuildValue((char *)""); | |
4497 | } | |
4498 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4499 | PyObject *resultobj; | |
4500 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4501 | wxHtmlContainerCell *result; | |
4502 | PyObject * obj0 = 0 ; | |
4503 | char *kwnames[] = { | |
4504 | (char *) "parent", NULL | |
4505 | }; | |
4506 | ||
4507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
4508 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4509 | { | |
4510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4511 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
4512 | ||
4513 | wxPyEndAllowThreads(__tstate); | |
4514 | if (PyErr_Occurred()) SWIG_fail; | |
4515 | } | |
4516 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1); | |
4517 | return resultobj; | |
4518 | fail: | |
4519 | return NULL; | |
4520 | } | |
4521 | ||
4522 | ||
4523 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4524 | PyObject *resultobj; | |
4525 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4526 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4527 | PyObject * obj0 = 0 ; | |
4528 | PyObject * obj1 = 0 ; | |
4529 | char *kwnames[] = { | |
4530 | (char *) "self",(char *) "cell", NULL | |
4531 | }; | |
4532 | ||
4533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
4534 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4535 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4536 | { | |
4537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4538 | (arg1)->InsertCell(arg2); | |
4539 | ||
4540 | wxPyEndAllowThreads(__tstate); | |
4541 | if (PyErr_Occurred()) SWIG_fail; | |
4542 | } | |
4543 | Py_INCREF(Py_None); resultobj = Py_None; | |
4544 | return resultobj; | |
4545 | fail: | |
4546 | return NULL; | |
4547 | } | |
4548 | ||
4549 | ||
4550 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4551 | PyObject *resultobj; | |
4552 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4553 | int arg2 ; | |
4554 | PyObject * obj0 = 0 ; | |
4555 | char *kwnames[] = { | |
4556 | (char *) "self",(char *) "al", NULL | |
4557 | }; | |
4558 | ||
4559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&arg2)) goto fail; | |
4560 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4561 | { | |
4562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4563 | (arg1)->SetAlignHor(arg2); | |
4564 | ||
4565 | wxPyEndAllowThreads(__tstate); | |
4566 | if (PyErr_Occurred()) SWIG_fail; | |
4567 | } | |
4568 | Py_INCREF(Py_None); resultobj = Py_None; | |
4569 | return resultobj; | |
4570 | fail: | |
4571 | return NULL; | |
4572 | } | |
4573 | ||
4574 | ||
4575 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4576 | PyObject *resultobj; | |
4577 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4578 | int result; | |
4579 | PyObject * obj0 = 0 ; | |
4580 | char *kwnames[] = { | |
4581 | (char *) "self", NULL | |
4582 | }; | |
4583 | ||
4584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
4585 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4586 | { | |
4587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4588 | result = (int)(arg1)->GetAlignHor(); | |
4589 | ||
4590 | wxPyEndAllowThreads(__tstate); | |
4591 | if (PyErr_Occurred()) SWIG_fail; | |
4592 | } | |
4593 | resultobj = PyInt_FromLong((long)result); | |
4594 | return resultobj; | |
4595 | fail: | |
4596 | return NULL; | |
4597 | } | |
4598 | ||
4599 | ||
4600 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4601 | PyObject *resultobj; | |
4602 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4603 | int arg2 ; | |
4604 | PyObject * obj0 = 0 ; | |
4605 | char *kwnames[] = { | |
4606 | (char *) "self",(char *) "al", NULL | |
4607 | }; | |
4608 | ||
4609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&arg2)) goto fail; | |
4610 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4611 | { | |
4612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4613 | (arg1)->SetAlignVer(arg2); | |
4614 | ||
4615 | wxPyEndAllowThreads(__tstate); | |
4616 | if (PyErr_Occurred()) SWIG_fail; | |
4617 | } | |
4618 | Py_INCREF(Py_None); resultobj = Py_None; | |
4619 | return resultobj; | |
4620 | fail: | |
4621 | return NULL; | |
4622 | } | |
4623 | ||
4624 | ||
4625 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4626 | PyObject *resultobj; | |
4627 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4628 | int result; | |
4629 | PyObject * obj0 = 0 ; | |
4630 | char *kwnames[] = { | |
4631 | (char *) "self", NULL | |
4632 | }; | |
4633 | ||
4634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
4635 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4636 | { | |
4637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4638 | result = (int)(arg1)->GetAlignVer(); | |
4639 | ||
4640 | wxPyEndAllowThreads(__tstate); | |
4641 | if (PyErr_Occurred()) SWIG_fail; | |
4642 | } | |
4643 | resultobj = PyInt_FromLong((long)result); | |
4644 | return resultobj; | |
4645 | fail: | |
4646 | return NULL; | |
4647 | } | |
4648 | ||
4649 | ||
4650 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4651 | PyObject *resultobj; | |
4652 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4653 | int arg2 ; | |
4654 | int arg3 ; | |
4655 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
4656 | PyObject * obj0 = 0 ; | |
4657 | char *kwnames[] = { | |
4658 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
4659 | }; | |
4660 | ||
4661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
4662 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4663 | { | |
4664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4665 | (arg1)->SetIndent(arg2,arg3,arg4); | |
4666 | ||
4667 | wxPyEndAllowThreads(__tstate); | |
4668 | if (PyErr_Occurred()) SWIG_fail; | |
4669 | } | |
4670 | Py_INCREF(Py_None); resultobj = Py_None; | |
4671 | return resultobj; | |
4672 | fail: | |
4673 | return NULL; | |
4674 | } | |
4675 | ||
4676 | ||
4677 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4678 | PyObject *resultobj; | |
4679 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4680 | int arg2 ; | |
4681 | int result; | |
4682 | PyObject * obj0 = 0 ; | |
4683 | char *kwnames[] = { | |
4684 | (char *) "self",(char *) "ind", NULL | |
4685 | }; | |
4686 | ||
4687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames,&obj0,&arg2)) goto fail; | |
4688 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4689 | { | |
4690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4691 | result = (int)(arg1)->GetIndent(arg2); | |
4692 | ||
4693 | wxPyEndAllowThreads(__tstate); | |
4694 | if (PyErr_Occurred()) SWIG_fail; | |
4695 | } | |
4696 | resultobj = PyInt_FromLong((long)result); | |
4697 | return resultobj; | |
4698 | fail: | |
4699 | return NULL; | |
4700 | } | |
4701 | ||
4702 | ||
4703 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4704 | PyObject *resultobj; | |
4705 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4706 | int arg2 ; | |
4707 | int result; | |
4708 | PyObject * obj0 = 0 ; | |
4709 | char *kwnames[] = { | |
4710 | (char *) "self",(char *) "ind", NULL | |
4711 | }; | |
4712 | ||
4713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&arg2)) goto fail; | |
4714 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4715 | { | |
4716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4717 | result = (int)(arg1)->GetIndentUnits(arg2); | |
4718 | ||
4719 | wxPyEndAllowThreads(__tstate); | |
4720 | if (PyErr_Occurred()) SWIG_fail; | |
4721 | } | |
4722 | resultobj = PyInt_FromLong((long)result); | |
4723 | return resultobj; | |
4724 | fail: | |
4725 | return NULL; | |
4726 | } | |
4727 | ||
4728 | ||
4729 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4730 | PyObject *resultobj; | |
4731 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4732 | wxHtmlTag *arg2 = 0 ; | |
4733 | PyObject * obj0 = 0 ; | |
4734 | PyObject * obj1 = 0 ; | |
4735 | char *kwnames[] = { | |
4736 | (char *) "self",(char *) "tag", NULL | |
4737 | }; | |
4738 | ||
4739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
4740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4741 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4742 | if (arg2 == NULL) { | |
4743 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4744 | } | |
4745 | { | |
4746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4747 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
4748 | ||
4749 | wxPyEndAllowThreads(__tstate); | |
4750 | if (PyErr_Occurred()) SWIG_fail; | |
4751 | } | |
4752 | Py_INCREF(Py_None); resultobj = Py_None; | |
4753 | return resultobj; | |
4754 | fail: | |
4755 | return NULL; | |
4756 | } | |
4757 | ||
4758 | ||
4759 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4760 | PyObject *resultobj; | |
4761 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4762 | int arg2 ; | |
4763 | int arg3 ; | |
4764 | PyObject * obj0 = 0 ; | |
4765 | char *kwnames[] = { | |
4766 | (char *) "self",(char *) "w",(char *) "units", NULL | |
4767 | }; | |
4768 | ||
4769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4770 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4771 | { | |
4772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4773 | (arg1)->SetWidthFloat(arg2,arg3); | |
4774 | ||
4775 | wxPyEndAllowThreads(__tstate); | |
4776 | if (PyErr_Occurred()) SWIG_fail; | |
4777 | } | |
4778 | Py_INCREF(Py_None); resultobj = Py_None; | |
4779 | return resultobj; | |
4780 | fail: | |
4781 | return NULL; | |
4782 | } | |
4783 | ||
4784 | ||
4785 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4786 | PyObject *resultobj; | |
4787 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4788 | wxHtmlTag *arg2 = 0 ; | |
4789 | PyObject * obj0 = 0 ; | |
4790 | PyObject * obj1 = 0 ; | |
4791 | char *kwnames[] = { | |
4792 | (char *) "self",(char *) "tag", NULL | |
4793 | }; | |
4794 | ||
4795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
4796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4797 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4798 | if (arg2 == NULL) { | |
4799 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4800 | } | |
4801 | { | |
4802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4803 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
4804 | ||
4805 | wxPyEndAllowThreads(__tstate); | |
4806 | if (PyErr_Occurred()) SWIG_fail; | |
4807 | } | |
4808 | Py_INCREF(Py_None); resultobj = Py_None; | |
4809 | return resultobj; | |
4810 | fail: | |
4811 | return NULL; | |
4812 | } | |
4813 | ||
4814 | ||
4815 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4816 | PyObject *resultobj; | |
4817 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4818 | int arg2 ; | |
4819 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
4820 | PyObject * obj0 = 0 ; | |
4821 | char *kwnames[] = { | |
4822 | (char *) "self",(char *) "h",(char *) "align", NULL | |
4823 | }; | |
4824 | ||
4825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4826 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4827 | { | |
4828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4829 | (arg1)->SetMinHeight(arg2,arg3); | |
4830 | ||
4831 | wxPyEndAllowThreads(__tstate); | |
4832 | if (PyErr_Occurred()) SWIG_fail; | |
4833 | } | |
4834 | Py_INCREF(Py_None); resultobj = Py_None; | |
4835 | return resultobj; | |
4836 | fail: | |
4837 | return NULL; | |
4838 | } | |
4839 | ||
4840 | ||
4841 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4842 | PyObject *resultobj; | |
4843 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4844 | wxColour *arg2 = 0 ; | |
4845 | wxColour temp2 ; | |
4846 | PyObject * obj0 = 0 ; | |
4847 | PyObject * obj1 = 0 ; | |
4848 | char *kwnames[] = { | |
4849 | (char *) "self",(char *) "clr", NULL | |
4850 | }; | |
4851 | ||
4852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
4853 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4854 | { | |
4855 | arg2 = &temp2; | |
4856 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4857 | } | |
4858 | { | |
4859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4860 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
4861 | ||
4862 | wxPyEndAllowThreads(__tstate); | |
4863 | if (PyErr_Occurred()) SWIG_fail; | |
4864 | } | |
4865 | Py_INCREF(Py_None); resultobj = Py_None; | |
4866 | return resultobj; | |
4867 | fail: | |
4868 | return NULL; | |
4869 | } | |
4870 | ||
4871 | ||
4872 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4873 | PyObject *resultobj; | |
4874 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4875 | wxColour result; | |
4876 | PyObject * obj0 = 0 ; | |
4877 | char *kwnames[] = { | |
4878 | (char *) "self", NULL | |
4879 | }; | |
4880 | ||
4881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
4882 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4883 | { | |
4884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4885 | result = (arg1)->GetBackgroundColour(); | |
4886 | ||
4887 | wxPyEndAllowThreads(__tstate); | |
4888 | if (PyErr_Occurred()) SWIG_fail; | |
4889 | } | |
4890 | { | |
4891 | wxColour * resultptr; | |
4892 | resultptr = new wxColour((wxColour &) result); | |
4893 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
4894 | } | |
4895 | return resultobj; | |
4896 | fail: | |
4897 | return NULL; | |
4898 | } | |
4899 | ||
4900 | ||
4901 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4902 | PyObject *resultobj; | |
4903 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4904 | wxColour *arg2 = 0 ; | |
4905 | wxColour *arg3 = 0 ; | |
4906 | wxColour temp2 ; | |
4907 | wxColour temp3 ; | |
4908 | PyObject * obj0 = 0 ; | |
4909 | PyObject * obj1 = 0 ; | |
4910 | PyObject * obj2 = 0 ; | |
4911 | char *kwnames[] = { | |
4912 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
4913 | }; | |
4914 | ||
4915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4916 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4917 | { | |
4918 | arg2 = &temp2; | |
4919 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4920 | } | |
4921 | { | |
4922 | arg3 = &temp3; | |
4923 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4924 | } | |
4925 | { | |
4926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4927 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
4928 | ||
4929 | wxPyEndAllowThreads(__tstate); | |
4930 | if (PyErr_Occurred()) SWIG_fail; | |
4931 | } | |
4932 | Py_INCREF(Py_None); resultobj = Py_None; | |
4933 | return resultobj; | |
4934 | fail: | |
4935 | return NULL; | |
4936 | } | |
4937 | ||
4938 | ||
4939 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4940 | PyObject *resultobj; | |
4941 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4942 | wxHtmlCell *result; | |
4943 | PyObject * obj0 = 0 ; | |
4944 | char *kwnames[] = { | |
4945 | (char *) "self", NULL | |
4946 | }; | |
4947 | ||
4948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4949 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4950 | { | |
4951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4952 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
4953 | ||
4954 | wxPyEndAllowThreads(__tstate); | |
4955 | if (PyErr_Occurred()) SWIG_fail; | |
4956 | } | |
4957 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4958 | return resultobj; | |
4959 | fail: | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
4964 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
4965 | PyObject *obj; | |
4966 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4967 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
4968 | Py_INCREF(obj); | |
4969 | return Py_BuildValue((char *)""); | |
4970 | } | |
4971 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4972 | PyObject *resultobj; | |
4973 | wxColour arg1 ; | |
4974 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
4975 | wxHtmlColourCell *result; | |
4976 | wxColour *argp1 ; | |
4977 | PyObject * obj0 = 0 ; | |
4978 | char *kwnames[] = { | |
4979 | (char *) "clr",(char *) "flags", NULL | |
4980 | }; | |
4981 | ||
4982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlColourCell",kwnames,&obj0,&arg2)) goto fail; | |
4983 | if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4984 | arg1 = *argp1; | |
4985 | { | |
4986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4987 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
4988 | ||
4989 | wxPyEndAllowThreads(__tstate); | |
4990 | if (PyErr_Occurred()) SWIG_fail; | |
4991 | } | |
4992 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1); | |
4993 | return resultobj; | |
4994 | fail: | |
4995 | return NULL; | |
4996 | } | |
4997 | ||
4998 | ||
4999 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
5000 | PyObject *obj; | |
5001 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5002 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
5003 | Py_INCREF(obj); | |
5004 | return Py_BuildValue((char *)""); | |
5005 | } | |
5006 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5007 | PyObject *resultobj; | |
5008 | wxFont *arg1 = (wxFont *) 0 ; | |
5009 | wxHtmlFontCell *result; | |
5010 | PyObject * obj0 = 0 ; | |
5011 | char *kwnames[] = { | |
5012 | (char *) "font", NULL | |
5013 | }; | |
5014 | ||
5015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
5016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5017 | { | |
5018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5019 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
5020 | ||
5021 | wxPyEndAllowThreads(__tstate); | |
5022 | if (PyErr_Occurred()) SWIG_fail; | |
5023 | } | |
5024 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1); | |
5025 | return resultobj; | |
5026 | fail: | |
5027 | return NULL; | |
5028 | } | |
5029 | ||
5030 | ||
5031 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
5032 | PyObject *obj; | |
5033 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5034 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
5035 | Py_INCREF(obj); | |
5036 | return Py_BuildValue((char *)""); | |
5037 | } | |
5038 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5039 | PyObject *resultobj; | |
5040 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5041 | int arg2 = (int) 0 ; | |
5042 | wxHtmlWidgetCell *result; | |
5043 | PyObject * obj0 = 0 ; | |
5044 | char *kwnames[] = { | |
5045 | (char *) "wnd",(char *) "w", NULL | |
5046 | }; | |
5047 | ||
5048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlWidgetCell",kwnames,&obj0,&arg2)) goto fail; | |
5049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5050 | { | |
5051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5052 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5053 | ||
5054 | wxPyEndAllowThreads(__tstate); | |
5055 | if (PyErr_Occurred()) SWIG_fail; | |
5056 | } | |
5057 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5058 | return resultobj; | |
5059 | fail: | |
5060 | return NULL; | |
5061 | } | |
5062 | ||
5063 | ||
5064 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5065 | PyObject *obj; | |
5066 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5067 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5068 | Py_INCREF(obj); | |
5069 | return Py_BuildValue((char *)""); | |
5070 | } | |
5071 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5072 | PyObject *resultobj; | |
5073 | wxPyHtmlFilter *result; | |
5074 | char *kwnames[] = { | |
5075 | NULL | |
5076 | }; | |
5077 | ||
5078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5079 | { | |
5080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5081 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5082 | ||
5083 | wxPyEndAllowThreads(__tstate); | |
5084 | if (PyErr_Occurred()) SWIG_fail; | |
5085 | } | |
5086 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5087 | return resultobj; | |
5088 | fail: | |
5089 | return NULL; | |
5090 | } | |
5091 | ||
5092 | ||
5093 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5094 | PyObject *resultobj; | |
5095 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5096 | PyObject *arg2 = (PyObject *) 0 ; | |
5097 | PyObject *arg3 = (PyObject *) 0 ; | |
5098 | PyObject * obj0 = 0 ; | |
5099 | PyObject * obj1 = 0 ; | |
5100 | PyObject * obj2 = 0 ; | |
5101 | char *kwnames[] = { | |
5102 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5103 | }; | |
5104 | ||
5105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5106 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5107 | arg2 = obj1; | |
5108 | arg3 = obj2; | |
5109 | { | |
5110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5111 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5112 | ||
5113 | wxPyEndAllowThreads(__tstate); | |
5114 | if (PyErr_Occurred()) SWIG_fail; | |
5115 | } | |
5116 | Py_INCREF(Py_None); resultobj = Py_None; | |
5117 | return resultobj; | |
5118 | fail: | |
5119 | return NULL; | |
5120 | } | |
5121 | ||
5122 | ||
5123 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5124 | PyObject *obj; | |
5125 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5126 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5127 | Py_INCREF(obj); | |
5128 | return Py_BuildValue((char *)""); | |
5129 | } | |
5130 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5131 | PyObject *resultobj; | |
5132 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5133 | int arg2 = (int) -1 ; | |
5134 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5135 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5136 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5137 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5138 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5139 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5140 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5141 | wxPyHtmlWindow *result; | |
5142 | wxPoint temp3 ; | |
5143 | wxSize temp4 ; | |
e811c8ce | 5144 | bool temp6 = False ; |
d14a1e28 RD |
5145 | PyObject * obj0 = 0 ; |
5146 | PyObject * obj2 = 0 ; | |
5147 | PyObject * obj3 = 0 ; | |
5148 | PyObject * obj5 = 0 ; | |
5149 | char *kwnames[] = { | |
5150 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5151 | }; | |
5152 | ||
5153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOiO:new_HtmlWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5154 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5155 | if (obj2) { | |
5156 | { | |
5157 | arg3 = &temp3; | |
5158 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5159 | } | |
5160 | } | |
5161 | if (obj3) { | |
5162 | { | |
5163 | arg4 = &temp4; | |
5164 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5165 | } | |
5166 | } | |
5167 | if (obj5) { | |
5168 | { | |
5169 | arg6 = wxString_in_helper(obj5); | |
5170 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5171 | temp6 = True; |
d14a1e28 RD |
5172 | } |
5173 | } | |
5174 | { | |
5175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5176 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5177 | ||
5178 | wxPyEndAllowThreads(__tstate); | |
5179 | if (PyErr_Occurred()) SWIG_fail; | |
5180 | } | |
5181 | { | |
5182 | resultobj = wxPyMake_wxObject(result); | |
5183 | } | |
5184 | { | |
5185 | if (temp6) | |
5186 | delete arg6; | |
5187 | } | |
5188 | return resultobj; | |
5189 | fail: | |
5190 | { | |
5191 | if (temp6) | |
5192 | delete arg6; | |
5193 | } | |
5194 | return NULL; | |
5195 | } | |
5196 | ||
5197 | ||
5198 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5199 | PyObject *resultobj; | |
5200 | wxPyHtmlWindow *result; | |
5201 | char *kwnames[] = { | |
5202 | NULL | |
5203 | }; | |
5204 | ||
5205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5206 | { | |
5207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5208 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5209 | ||
5210 | wxPyEndAllowThreads(__tstate); | |
5211 | if (PyErr_Occurred()) SWIG_fail; | |
5212 | } | |
5213 | { | |
5214 | resultobj = wxPyMake_wxObject(result); | |
5215 | } | |
5216 | return resultobj; | |
5217 | fail: | |
5218 | return NULL; | |
5219 | } | |
5220 | ||
5221 | ||
5222 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5223 | PyObject *resultobj; | |
5224 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5225 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5226 | int arg3 = (int) -1 ; | |
5227 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5228 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5229 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5230 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5231 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5232 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5233 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5234 | bool result; | |
5235 | wxPoint temp4 ; | |
5236 | wxSize temp5 ; | |
e811c8ce | 5237 | bool temp7 = False ; |
d14a1e28 RD |
5238 | PyObject * obj0 = 0 ; |
5239 | PyObject * obj1 = 0 ; | |
5240 | PyObject * obj3 = 0 ; | |
5241 | PyObject * obj4 = 0 ; | |
5242 | PyObject * obj6 = 0 ; | |
5243 | char *kwnames[] = { | |
5244 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5245 | }; | |
5246 | ||
5247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5248 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5249 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5250 | if (obj3) { | |
5251 | { | |
5252 | arg4 = &temp4; | |
5253 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5254 | } | |
5255 | } | |
5256 | if (obj4) { | |
5257 | { | |
5258 | arg5 = &temp5; | |
5259 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5260 | } | |
5261 | } | |
5262 | if (obj6) { | |
5263 | { | |
5264 | arg7 = wxString_in_helper(obj6); | |
5265 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5266 | temp7 = True; |
d14a1e28 RD |
5267 | } |
5268 | } | |
5269 | { | |
5270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5271 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5272 | ||
5273 | wxPyEndAllowThreads(__tstate); | |
5274 | if (PyErr_Occurred()) SWIG_fail; | |
5275 | } | |
5276 | resultobj = PyInt_FromLong((long)result); | |
5277 | { | |
5278 | if (temp7) | |
5279 | delete arg7; | |
5280 | } | |
5281 | return resultobj; | |
5282 | fail: | |
5283 | { | |
5284 | if (temp7) | |
5285 | delete arg7; | |
5286 | } | |
5287 | return NULL; | |
5288 | } | |
5289 | ||
5290 | ||
5291 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5292 | PyObject *resultobj; | |
5293 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5294 | PyObject *arg2 = (PyObject *) 0 ; | |
5295 | PyObject *arg3 = (PyObject *) 0 ; | |
5296 | PyObject * obj0 = 0 ; | |
5297 | PyObject * obj1 = 0 ; | |
5298 | PyObject * obj2 = 0 ; | |
5299 | char *kwnames[] = { | |
5300 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5301 | }; | |
5302 | ||
5303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5305 | arg2 = obj1; | |
5306 | arg3 = obj2; | |
5307 | { | |
5308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5309 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5310 | ||
5311 | wxPyEndAllowThreads(__tstate); | |
5312 | if (PyErr_Occurred()) SWIG_fail; | |
5313 | } | |
5314 | Py_INCREF(Py_None); resultobj = Py_None; | |
5315 | return resultobj; | |
5316 | fail: | |
5317 | return NULL; | |
5318 | } | |
5319 | ||
5320 | ||
5321 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5322 | PyObject *resultobj; | |
5323 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5324 | wxString *arg2 = 0 ; | |
5325 | bool result; | |
e811c8ce | 5326 | bool temp2 = False ; |
d14a1e28 RD |
5327 | PyObject * obj0 = 0 ; |
5328 | PyObject * obj1 = 0 ; | |
5329 | char *kwnames[] = { | |
5330 | (char *) "self",(char *) "source", NULL | |
5331 | }; | |
5332 | ||
5333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
5334 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5335 | { | |
5336 | arg2 = wxString_in_helper(obj1); | |
5337 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5338 | temp2 = True; |
d14a1e28 RD |
5339 | } |
5340 | { | |
5341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5342 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
5343 | ||
5344 | wxPyEndAllowThreads(__tstate); | |
5345 | if (PyErr_Occurred()) SWIG_fail; | |
5346 | } | |
5347 | resultobj = PyInt_FromLong((long)result); | |
5348 | { | |
5349 | if (temp2) | |
5350 | delete arg2; | |
5351 | } | |
5352 | return resultobj; | |
5353 | fail: | |
5354 | { | |
5355 | if (temp2) | |
5356 | delete arg2; | |
5357 | } | |
5358 | return NULL; | |
5359 | } | |
5360 | ||
5361 | ||
5362 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5363 | PyObject *resultobj; | |
5364 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5365 | wxString *arg2 = 0 ; | |
5366 | bool result; | |
e811c8ce | 5367 | bool temp2 = False ; |
d14a1e28 RD |
5368 | PyObject * obj0 = 0 ; |
5369 | PyObject * obj1 = 0 ; | |
5370 | char *kwnames[] = { | |
5371 | (char *) "self",(char *) "location", NULL | |
5372 | }; | |
5373 | ||
5374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
5375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5376 | { | |
5377 | arg2 = wxString_in_helper(obj1); | |
5378 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5379 | temp2 = True; |
d14a1e28 RD |
5380 | } |
5381 | { | |
5382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5383 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
5384 | ||
5385 | wxPyEndAllowThreads(__tstate); | |
5386 | if (PyErr_Occurred()) SWIG_fail; | |
5387 | } | |
5388 | resultobj = PyInt_FromLong((long)result); | |
5389 | { | |
5390 | if (temp2) | |
5391 | delete arg2; | |
5392 | } | |
5393 | return resultobj; | |
5394 | fail: | |
5395 | { | |
5396 | if (temp2) | |
5397 | delete arg2; | |
5398 | } | |
5399 | return NULL; | |
5400 | } | |
5401 | ||
5402 | ||
5403 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5404 | PyObject *resultobj; | |
5405 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5406 | wxString *arg2 = 0 ; | |
5407 | bool result; | |
e811c8ce | 5408 | bool temp2 = False ; |
d14a1e28 RD |
5409 | PyObject * obj0 = 0 ; |
5410 | PyObject * obj1 = 0 ; | |
5411 | char *kwnames[] = { | |
5412 | (char *) "self",(char *) "filename", NULL | |
5413 | }; | |
5414 | ||
5415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
5416 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5417 | { | |
5418 | arg2 = wxString_in_helper(obj1); | |
5419 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5420 | temp2 = True; |
d14a1e28 RD |
5421 | } |
5422 | { | |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
5429 | resultobj = PyInt_FromLong((long)result); | |
5430 | { | |
5431 | if (temp2) | |
5432 | delete arg2; | |
5433 | } | |
5434 | return resultobj; | |
5435 | fail: | |
5436 | { | |
5437 | if (temp2) | |
5438 | delete arg2; | |
5439 | } | |
5440 | return NULL; | |
5441 | } | |
5442 | ||
5443 | ||
5444 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5445 | PyObject *resultobj; | |
5446 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5447 | wxString *arg2 = 0 ; | |
5448 | bool result; | |
e811c8ce | 5449 | bool temp2 = False ; |
d14a1e28 RD |
5450 | PyObject * obj0 = 0 ; |
5451 | PyObject * obj1 = 0 ; | |
5452 | char *kwnames[] = { | |
5453 | (char *) "self",(char *) "source", NULL | |
5454 | }; | |
5455 | ||
5456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
5457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5458 | { | |
5459 | arg2 = wxString_in_helper(obj1); | |
5460 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5461 | temp2 = True; |
d14a1e28 RD |
5462 | } |
5463 | { | |
5464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5465 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
5466 | ||
5467 | wxPyEndAllowThreads(__tstate); | |
5468 | if (PyErr_Occurred()) SWIG_fail; | |
5469 | } | |
5470 | resultobj = PyInt_FromLong((long)result); | |
5471 | { | |
5472 | if (temp2) | |
5473 | delete arg2; | |
5474 | } | |
5475 | return resultobj; | |
5476 | fail: | |
5477 | { | |
5478 | if (temp2) | |
5479 | delete arg2; | |
5480 | } | |
5481 | return NULL; | |
5482 | } | |
5483 | ||
5484 | ||
5485 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5486 | PyObject *resultobj; | |
5487 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5488 | wxString result; | |
5489 | PyObject * obj0 = 0 ; | |
5490 | char *kwnames[] = { | |
5491 | (char *) "self", NULL | |
5492 | }; | |
5493 | ||
5494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
5495 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5496 | { | |
5497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5498 | result = (arg1)->GetOpenedPage(); | |
5499 | ||
5500 | wxPyEndAllowThreads(__tstate); | |
5501 | if (PyErr_Occurred()) SWIG_fail; | |
5502 | } | |
5503 | { | |
5504 | #if wxUSE_UNICODE | |
5505 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5506 | #else | |
5507 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5508 | #endif | |
5509 | } | |
5510 | return resultobj; | |
5511 | fail: | |
5512 | return NULL; | |
5513 | } | |
5514 | ||
5515 | ||
5516 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5517 | PyObject *resultobj; | |
5518 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5519 | wxString result; | |
5520 | PyObject * obj0 = 0 ; | |
5521 | char *kwnames[] = { | |
5522 | (char *) "self", NULL | |
5523 | }; | |
5524 | ||
5525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
5526 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5527 | { | |
5528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5529 | result = (arg1)->GetOpenedAnchor(); | |
5530 | ||
5531 | wxPyEndAllowThreads(__tstate); | |
5532 | if (PyErr_Occurred()) SWIG_fail; | |
5533 | } | |
5534 | { | |
5535 | #if wxUSE_UNICODE | |
5536 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5537 | #else | |
5538 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5539 | #endif | |
5540 | } | |
5541 | return resultobj; | |
5542 | fail: | |
5543 | return NULL; | |
5544 | } | |
5545 | ||
5546 | ||
5547 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5548 | PyObject *resultobj; | |
5549 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5550 | wxString result; | |
5551 | PyObject * obj0 = 0 ; | |
5552 | char *kwnames[] = { | |
5553 | (char *) "self", NULL | |
5554 | }; | |
5555 | ||
5556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
5557 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5558 | { | |
5559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5560 | result = (arg1)->GetOpenedPageTitle(); | |
5561 | ||
5562 | wxPyEndAllowThreads(__tstate); | |
5563 | if (PyErr_Occurred()) SWIG_fail; | |
5564 | } | |
5565 | { | |
5566 | #if wxUSE_UNICODE | |
5567 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5568 | #else | |
5569 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5570 | #endif | |
5571 | } | |
5572 | return resultobj; | |
5573 | fail: | |
5574 | return NULL; | |
5575 | } | |
5576 | ||
5577 | ||
5578 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5579 | PyObject *resultobj; | |
5580 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5581 | wxFrame *arg2 = (wxFrame *) 0 ; | |
5582 | wxString *arg3 = 0 ; | |
e811c8ce | 5583 | bool temp3 = False ; |
d14a1e28 RD |
5584 | PyObject * obj0 = 0 ; |
5585 | PyObject * obj1 = 0 ; | |
5586 | PyObject * obj2 = 0 ; | |
5587 | char *kwnames[] = { | |
5588 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
5589 | }; | |
5590 | ||
5591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5592 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5593 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5594 | { | |
5595 | arg3 = wxString_in_helper(obj2); | |
5596 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 5597 | temp3 = True; |
d14a1e28 RD |
5598 | } |
5599 | { | |
5600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5601 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
5602 | ||
5603 | wxPyEndAllowThreads(__tstate); | |
5604 | if (PyErr_Occurred()) SWIG_fail; | |
5605 | } | |
5606 | Py_INCREF(Py_None); resultobj = Py_None; | |
5607 | { | |
5608 | if (temp3) | |
5609 | delete arg3; | |
5610 | } | |
5611 | return resultobj; | |
5612 | fail: | |
5613 | { | |
5614 | if (temp3) | |
5615 | delete arg3; | |
5616 | } | |
5617 | return NULL; | |
5618 | } | |
5619 | ||
5620 | ||
5621 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5622 | PyObject *resultobj; | |
5623 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5624 | wxFrame *result; | |
5625 | PyObject * obj0 = 0 ; | |
5626 | char *kwnames[] = { | |
5627 | (char *) "self", NULL | |
5628 | }; | |
5629 | ||
5630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
5631 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5632 | { | |
5633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5634 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
5635 | ||
5636 | wxPyEndAllowThreads(__tstate); | |
5637 | if (PyErr_Occurred()) SWIG_fail; | |
5638 | } | |
5639 | { | |
5640 | resultobj = wxPyMake_wxObject(result); | |
5641 | } | |
5642 | return resultobj; | |
5643 | fail: | |
5644 | return NULL; | |
5645 | } | |
5646 | ||
5647 | ||
5648 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5649 | PyObject *resultobj; | |
5650 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5651 | int arg2 ; | |
5652 | PyObject * obj0 = 0 ; | |
5653 | char *kwnames[] = { | |
5654 | (char *) "self",(char *) "bar", NULL | |
5655 | }; | |
5656 | ||
5657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&arg2)) goto fail; | |
5658 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5659 | { | |
5660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5661 | (arg1)->SetRelatedStatusBar(arg2); | |
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_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5674 | PyObject *resultobj; | |
5675 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5676 | wxString arg2 ; | |
5677 | wxString arg3 ; | |
5678 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
5679 | PyObject * obj0 = 0 ; |
5680 | PyObject * obj1 = 0 ; | |
5681 | PyObject * obj2 = 0 ; | |
5682 | PyObject * obj3 = 0 ; | |
5683 | char *kwnames[] = { | |
5684 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
5685 | }; | |
5686 | ||
5687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5688 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
5689 | { |
5690 | wxString* sptr = wxString_in_helper(obj1); | |
5691 | if (sptr == NULL) SWIG_fail; | |
5692 | arg2 = *sptr; | |
5693 | delete sptr; | |
5694 | } | |
5695 | { | |
5696 | wxString* sptr = wxString_in_helper(obj2); | |
5697 | if (sptr == NULL) SWIG_fail; | |
5698 | arg3 = *sptr; | |
5699 | delete sptr; | |
5700 | } | |
d14a1e28 RD |
5701 | if (obj3) { |
5702 | arg4 = obj3; | |
5703 | } | |
5704 | { | |
5705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5706 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
5707 | ||
5708 | wxPyEndAllowThreads(__tstate); | |
5709 | if (PyErr_Occurred()) SWIG_fail; | |
5710 | } | |
5711 | Py_INCREF(Py_None); resultobj = Py_None; | |
5712 | return resultobj; | |
5713 | fail: | |
5714 | return NULL; | |
5715 | } | |
5716 | ||
5717 | ||
5718 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5719 | PyObject *resultobj; | |
5720 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5721 | wxString *arg2 = 0 ; | |
e811c8ce | 5722 | bool temp2 = False ; |
d14a1e28 RD |
5723 | PyObject * obj0 = 0 ; |
5724 | PyObject * obj1 = 0 ; | |
5725 | char *kwnames[] = { | |
5726 | (char *) "self",(char *) "title", NULL | |
5727 | }; | |
5728 | ||
5729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
5730 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5731 | { | |
5732 | arg2 = wxString_in_helper(obj1); | |
5733 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5734 | temp2 = True; |
d14a1e28 RD |
5735 | } |
5736 | { | |
5737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5738 | (arg1)->SetTitle((wxString const &)*arg2); | |
5739 | ||
5740 | wxPyEndAllowThreads(__tstate); | |
5741 | if (PyErr_Occurred()) SWIG_fail; | |
5742 | } | |
5743 | Py_INCREF(Py_None); resultobj = Py_None; | |
5744 | { | |
5745 | if (temp2) | |
5746 | delete arg2; | |
5747 | } | |
5748 | return resultobj; | |
5749 | fail: | |
5750 | { | |
5751 | if (temp2) | |
5752 | delete arg2; | |
5753 | } | |
5754 | return NULL; | |
5755 | } | |
5756 | ||
5757 | ||
5758 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5759 | PyObject *resultobj; | |
5760 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5761 | int arg2 ; | |
5762 | PyObject * obj0 = 0 ; | |
5763 | char *kwnames[] = { | |
5764 | (char *) "self",(char *) "b", NULL | |
5765 | }; | |
5766 | ||
5767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetBorders",kwnames,&obj0,&arg2)) goto fail; | |
5768 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5769 | { | |
5770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5771 | (arg1)->SetBorders(arg2); | |
5772 | ||
5773 | wxPyEndAllowThreads(__tstate); | |
5774 | if (PyErr_Occurred()) SWIG_fail; | |
5775 | } | |
5776 | Py_INCREF(Py_None); resultobj = Py_None; | |
5777 | return resultobj; | |
5778 | fail: | |
5779 | return NULL; | |
5780 | } | |
5781 | ||
5782 | ||
5783 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5784 | PyObject *resultobj; | |
5785 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5786 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5787 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5788 | PyObject * obj0 = 0 ; |
5789 | PyObject * obj1 = 0 ; | |
5790 | PyObject * obj2 = 0 ; | |
5791 | char *kwnames[] = { | |
5792 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5793 | }; | |
5794 | ||
5795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5797 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5798 | if (obj2) { | |
e811c8ce RD |
5799 | { |
5800 | wxString* sptr = wxString_in_helper(obj2); | |
5801 | if (sptr == NULL) SWIG_fail; | |
5802 | arg3 = *sptr; | |
5803 | delete sptr; | |
5804 | } | |
d14a1e28 RD |
5805 | } |
5806 | { | |
5807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5808 | (arg1)->ReadCustomization(arg2,arg3); | |
5809 | ||
5810 | wxPyEndAllowThreads(__tstate); | |
5811 | if (PyErr_Occurred()) SWIG_fail; | |
5812 | } | |
5813 | Py_INCREF(Py_None); resultobj = Py_None; | |
5814 | return resultobj; | |
5815 | fail: | |
5816 | return NULL; | |
5817 | } | |
5818 | ||
5819 | ||
5820 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5821 | PyObject *resultobj; | |
5822 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5823 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5824 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5825 | PyObject * obj0 = 0 ; |
5826 | PyObject * obj1 = 0 ; | |
5827 | PyObject * obj2 = 0 ; | |
5828 | char *kwnames[] = { | |
5829 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5830 | }; | |
5831 | ||
5832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5833 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5834 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5835 | if (obj2) { | |
e811c8ce RD |
5836 | { |
5837 | wxString* sptr = wxString_in_helper(obj2); | |
5838 | if (sptr == NULL) SWIG_fail; | |
5839 | arg3 = *sptr; | |
5840 | delete sptr; | |
5841 | } | |
d14a1e28 RD |
5842 | } |
5843 | { | |
5844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5845 | (arg1)->WriteCustomization(arg2,arg3); | |
5846 | ||
5847 | wxPyEndAllowThreads(__tstate); | |
5848 | if (PyErr_Occurred()) SWIG_fail; | |
5849 | } | |
5850 | Py_INCREF(Py_None); resultobj = Py_None; | |
5851 | return resultobj; | |
5852 | fail: | |
5853 | return NULL; | |
5854 | } | |
5855 | ||
5856 | ||
5857 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5858 | PyObject *resultobj; | |
5859 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5860 | bool result; | |
5861 | PyObject * obj0 = 0 ; | |
5862 | char *kwnames[] = { | |
5863 | (char *) "self", NULL | |
5864 | }; | |
5865 | ||
5866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
5867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5868 | { | |
5869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5870 | result = (bool)(arg1)->HistoryBack(); | |
5871 | ||
5872 | wxPyEndAllowThreads(__tstate); | |
5873 | if (PyErr_Occurred()) SWIG_fail; | |
5874 | } | |
5875 | resultobj = PyInt_FromLong((long)result); | |
5876 | return resultobj; | |
5877 | fail: | |
5878 | return NULL; | |
5879 | } | |
5880 | ||
5881 | ||
5882 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5883 | PyObject *resultobj; | |
5884 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5885 | bool result; | |
5886 | PyObject * obj0 = 0 ; | |
5887 | char *kwnames[] = { | |
5888 | (char *) "self", NULL | |
5889 | }; | |
5890 | ||
5891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
5892 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5893 | { | |
5894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5895 | result = (bool)(arg1)->HistoryForward(); | |
5896 | ||
5897 | wxPyEndAllowThreads(__tstate); | |
5898 | if (PyErr_Occurred()) SWIG_fail; | |
5899 | } | |
5900 | resultobj = PyInt_FromLong((long)result); | |
5901 | return resultobj; | |
5902 | fail: | |
5903 | return NULL; | |
5904 | } | |
5905 | ||
5906 | ||
5907 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5908 | PyObject *resultobj; | |
5909 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5910 | bool result; | |
5911 | PyObject * obj0 = 0 ; | |
5912 | char *kwnames[] = { | |
5913 | (char *) "self", NULL | |
5914 | }; | |
5915 | ||
5916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
5917 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5918 | { | |
5919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5920 | result = (bool)(arg1)->HistoryCanBack(); | |
5921 | ||
5922 | wxPyEndAllowThreads(__tstate); | |
5923 | if (PyErr_Occurred()) SWIG_fail; | |
5924 | } | |
5925 | resultobj = PyInt_FromLong((long)result); | |
5926 | return resultobj; | |
5927 | fail: | |
5928 | return NULL; | |
5929 | } | |
5930 | ||
5931 | ||
5932 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5933 | PyObject *resultobj; | |
5934 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5935 | bool result; | |
5936 | PyObject * obj0 = 0 ; | |
5937 | char *kwnames[] = { | |
5938 | (char *) "self", NULL | |
5939 | }; | |
5940 | ||
5941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
5942 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5943 | { | |
5944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5945 | result = (bool)(arg1)->HistoryCanForward(); | |
5946 | ||
5947 | wxPyEndAllowThreads(__tstate); | |
5948 | if (PyErr_Occurred()) SWIG_fail; | |
5949 | } | |
5950 | resultobj = PyInt_FromLong((long)result); | |
5951 | return resultobj; | |
5952 | fail: | |
5953 | return NULL; | |
5954 | } | |
5955 | ||
5956 | ||
5957 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5958 | PyObject *resultobj; | |
5959 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5960 | PyObject * obj0 = 0 ; | |
5961 | char *kwnames[] = { | |
5962 | (char *) "self", NULL | |
5963 | }; | |
5964 | ||
5965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
5966 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5967 | { | |
5968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5969 | (arg1)->HistoryClear(); | |
5970 | ||
5971 | wxPyEndAllowThreads(__tstate); | |
5972 | if (PyErr_Occurred()) SWIG_fail; | |
5973 | } | |
5974 | Py_INCREF(Py_None); resultobj = Py_None; | |
5975 | return resultobj; | |
5976 | fail: | |
5977 | return NULL; | |
5978 | } | |
5979 | ||
5980 | ||
5981 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5982 | PyObject *resultobj; | |
5983 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5984 | wxHtmlContainerCell *result; | |
5985 | PyObject * obj0 = 0 ; | |
5986 | char *kwnames[] = { | |
5987 | (char *) "self", NULL | |
5988 | }; | |
5989 | ||
5990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
5991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5992 | { | |
5993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5994 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
5995 | ||
5996 | wxPyEndAllowThreads(__tstate); | |
5997 | if (PyErr_Occurred()) SWIG_fail; | |
5998 | } | |
5999 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
6000 | return resultobj; | |
6001 | fail: | |
6002 | return NULL; | |
6003 | } | |
6004 | ||
6005 | ||
6006 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6007 | PyObject *resultobj; | |
6008 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6009 | wxHtmlWinParser *result; | |
6010 | PyObject * obj0 = 0 ; | |
6011 | char *kwnames[] = { | |
6012 | (char *) "self", NULL | |
6013 | }; | |
6014 | ||
6015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
6016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6017 | { | |
6018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6019 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
6020 | ||
6021 | wxPyEndAllowThreads(__tstate); | |
6022 | if (PyErr_Occurred()) SWIG_fail; | |
6023 | } | |
6024 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
6025 | return resultobj; | |
6026 | fail: | |
6027 | return NULL; | |
6028 | } | |
6029 | ||
6030 | ||
6031 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6032 | PyObject *resultobj; | |
6033 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6034 | wxString *arg2 = 0 ; | |
6035 | bool result; | |
e811c8ce | 6036 | bool temp2 = False ; |
d14a1e28 RD |
6037 | PyObject * obj0 = 0 ; |
6038 | PyObject * obj1 = 0 ; | |
6039 | char *kwnames[] = { | |
6040 | (char *) "self",(char *) "anchor", NULL | |
6041 | }; | |
6042 | ||
6043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6045 | { | |
6046 | arg2 = wxString_in_helper(obj1); | |
6047 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6048 | temp2 = True; |
d14a1e28 RD |
6049 | } |
6050 | { | |
6051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6052 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
6053 | ||
6054 | wxPyEndAllowThreads(__tstate); | |
6055 | if (PyErr_Occurred()) SWIG_fail; | |
6056 | } | |
6057 | resultobj = PyInt_FromLong((long)result); | |
6058 | { | |
6059 | if (temp2) | |
6060 | delete arg2; | |
6061 | } | |
6062 | return resultobj; | |
6063 | fail: | |
6064 | { | |
6065 | if (temp2) | |
6066 | delete arg2; | |
6067 | } | |
6068 | return NULL; | |
6069 | } | |
6070 | ||
6071 | ||
6072 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6073 | PyObject *resultobj; | |
6074 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6075 | wxString *arg2 = 0 ; | |
6076 | bool result; | |
e811c8ce | 6077 | bool temp2 = False ; |
d14a1e28 RD |
6078 | PyObject * obj0 = 0 ; |
6079 | PyObject * obj1 = 0 ; | |
6080 | char *kwnames[] = { | |
6081 | (char *) "self",(char *) "anchor", NULL | |
6082 | }; | |
6083 | ||
6084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6085 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6086 | { | |
6087 | arg2 = wxString_in_helper(obj1); | |
6088 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6089 | temp2 = True; |
d14a1e28 RD |
6090 | } |
6091 | { | |
6092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6093 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6094 | ||
6095 | wxPyEndAllowThreads(__tstate); | |
6096 | if (PyErr_Occurred()) SWIG_fail; | |
6097 | } | |
6098 | resultobj = PyInt_FromLong((long)result); | |
6099 | { | |
6100 | if (temp2) | |
6101 | delete arg2; | |
6102 | } | |
6103 | return resultobj; | |
6104 | fail: | |
6105 | { | |
6106 | if (temp2) | |
6107 | delete arg2; | |
6108 | } | |
6109 | return NULL; | |
6110 | } | |
6111 | ||
6112 | ||
6113 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6114 | PyObject *resultobj; | |
6115 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6116 | PyObject * obj0 = 0 ; | |
6117 | char *kwnames[] = { | |
6118 | (char *) "filter", NULL | |
6119 | }; | |
6120 | ||
6121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6123 | { | |
6124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6125 | wxPyHtmlWindow::AddFilter(arg1); | |
6126 | ||
6127 | wxPyEndAllowThreads(__tstate); | |
6128 | if (PyErr_Occurred()) SWIG_fail; | |
6129 | } | |
6130 | Py_INCREF(Py_None); resultobj = Py_None; | |
6131 | return resultobj; | |
6132 | fail: | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
6137 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6138 | PyObject *resultobj; | |
6139 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6140 | wxHtmlLinkInfo *arg2 = 0 ; | |
6141 | PyObject * obj0 = 0 ; | |
6142 | PyObject * obj1 = 0 ; | |
6143 | char *kwnames[] = { | |
6144 | (char *) "self",(char *) "link", NULL | |
6145 | }; | |
6146 | ||
6147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
6148 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6149 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6150 | if (arg2 == NULL) { | |
6151 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6152 | } | |
6153 | { | |
6154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6155 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
6156 | ||
6157 | wxPyEndAllowThreads(__tstate); | |
6158 | if (PyErr_Occurred()) SWIG_fail; | |
6159 | } | |
6160 | Py_INCREF(Py_None); resultobj = Py_None; | |
6161 | return resultobj; | |
6162 | fail: | |
6163 | return NULL; | |
6164 | } | |
6165 | ||
6166 | ||
6167 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6168 | PyObject *resultobj; | |
6169 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6170 | wxString *arg2 = 0 ; | |
e811c8ce | 6171 | bool temp2 = False ; |
d14a1e28 RD |
6172 | PyObject * obj0 = 0 ; |
6173 | PyObject * obj1 = 0 ; | |
6174 | char *kwnames[] = { | |
6175 | (char *) "self",(char *) "title", NULL | |
6176 | }; | |
6177 | ||
6178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6179 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6180 | { | |
6181 | arg2 = wxString_in_helper(obj1); | |
6182 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6183 | temp2 = True; |
d14a1e28 RD |
6184 | } |
6185 | { | |
6186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6187 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
6188 | ||
6189 | wxPyEndAllowThreads(__tstate); | |
6190 | if (PyErr_Occurred()) SWIG_fail; | |
6191 | } | |
6192 | Py_INCREF(Py_None); resultobj = Py_None; | |
6193 | { | |
6194 | if (temp2) | |
6195 | delete arg2; | |
6196 | } | |
6197 | return resultobj; | |
6198 | fail: | |
6199 | { | |
6200 | if (temp2) | |
6201 | delete arg2; | |
6202 | } | |
6203 | return NULL; | |
6204 | } | |
6205 | ||
6206 | ||
6207 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6208 | PyObject *resultobj; | |
6209 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6210 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6211 | int arg3 ; |
6212 | int arg4 ; | |
d14a1e28 RD |
6213 | PyObject * obj0 = 0 ; |
6214 | PyObject * obj1 = 0 ; | |
6215 | char *kwnames[] = { | |
6216 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
6217 | }; | |
6218 | ||
6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; | |
6220 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6221 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6222 | { | |
6223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6224 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
6225 | ||
6226 | wxPyEndAllowThreads(__tstate); | |
6227 | if (PyErr_Occurred()) SWIG_fail; | |
6228 | } | |
6229 | Py_INCREF(Py_None); resultobj = Py_None; | |
6230 | return resultobj; | |
6231 | fail: | |
6232 | return NULL; | |
6233 | } | |
6234 | ||
6235 | ||
6236 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6237 | PyObject *resultobj; | |
6238 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6239 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6240 | int arg3 ; |
6241 | int arg4 ; | |
d14a1e28 RD |
6242 | wxMouseEvent *arg5 = 0 ; |
6243 | PyObject * obj0 = 0 ; | |
6244 | PyObject * obj1 = 0 ; | |
6245 | PyObject * obj4 = 0 ; | |
6246 | char *kwnames[] = { | |
6247 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
6248 | }; | |
6249 | ||
6250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
6251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6252 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6253 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6254 | if (arg5 == NULL) { | |
6255 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6256 | } | |
6257 | { | |
6258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6259 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
6260 | ||
6261 | wxPyEndAllowThreads(__tstate); | |
6262 | if (PyErr_Occurred()) SWIG_fail; | |
6263 | } | |
6264 | Py_INCREF(Py_None); resultobj = Py_None; | |
6265 | return resultobj; | |
6266 | fail: | |
6267 | return NULL; | |
6268 | } | |
6269 | ||
6270 | ||
6271 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
6272 | PyObject *obj; | |
6273 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6274 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
6275 | Py_INCREF(obj); | |
6276 | return Py_BuildValue((char *)""); | |
6277 | } | |
6278 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6279 | PyObject *resultobj; | |
6280 | wxHtmlDCRenderer *result; | |
6281 | char *kwnames[] = { | |
6282 | NULL | |
6283 | }; | |
6284 | ||
6285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
6286 | { | |
6287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6288 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
6289 | ||
6290 | wxPyEndAllowThreads(__tstate); | |
6291 | if (PyErr_Occurred()) SWIG_fail; | |
6292 | } | |
6293 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
6294 | return resultobj; | |
6295 | fail: | |
6296 | return NULL; | |
6297 | } | |
6298 | ||
6299 | ||
6300 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6301 | PyObject *resultobj; | |
6302 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6303 | PyObject * obj0 = 0 ; | |
6304 | char *kwnames[] = { | |
6305 | (char *) "self", NULL | |
6306 | }; | |
6307 | ||
6308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
6309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6310 | { | |
6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6312 | delete arg1; | |
6313 | ||
6314 | wxPyEndAllowThreads(__tstate); | |
6315 | if (PyErr_Occurred()) SWIG_fail; | |
6316 | } | |
6317 | Py_INCREF(Py_None); resultobj = Py_None; | |
6318 | return resultobj; | |
6319 | fail: | |
6320 | return NULL; | |
6321 | } | |
6322 | ||
6323 | ||
6324 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6325 | PyObject *resultobj; | |
6326 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6327 | wxDC *arg2 = (wxDC *) 0 ; | |
6328 | int arg3 ; | |
6329 | PyObject * obj0 = 0 ; | |
6330 | PyObject * obj1 = 0 ; | |
6331 | char *kwnames[] = { | |
6332 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
6333 | }; | |
6334 | ||
6335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6336 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6337 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6338 | { | |
6339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6340 | (arg1)->SetDC(arg2,arg3); | |
6341 | ||
6342 | wxPyEndAllowThreads(__tstate); | |
6343 | if (PyErr_Occurred()) SWIG_fail; | |
6344 | } | |
6345 | Py_INCREF(Py_None); resultobj = Py_None; | |
6346 | return resultobj; | |
6347 | fail: | |
6348 | return NULL; | |
6349 | } | |
6350 | ||
6351 | ||
6352 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6353 | PyObject *resultobj; | |
6354 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6355 | int arg2 ; | |
6356 | int arg3 ; | |
6357 | PyObject * obj0 = 0 ; | |
6358 | char *kwnames[] = { | |
6359 | (char *) "self",(char *) "width",(char *) "height", NULL | |
6360 | }; | |
6361 | ||
6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6364 | { | |
6365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6366 | (arg1)->SetSize(arg2,arg3); | |
6367 | ||
6368 | wxPyEndAllowThreads(__tstate); | |
6369 | if (PyErr_Occurred()) SWIG_fail; | |
6370 | } | |
6371 | Py_INCREF(Py_None); resultobj = Py_None; | |
6372 | return resultobj; | |
6373 | fail: | |
6374 | return NULL; | |
6375 | } | |
6376 | ||
6377 | ||
6378 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6379 | PyObject *resultobj; | |
6380 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6381 | wxString *arg2 = 0 ; | |
6382 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6383 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6384 | bool arg4 = (bool) True ; |
6385 | bool temp2 = False ; | |
6386 | bool temp3 = False ; | |
d14a1e28 RD |
6387 | PyObject * obj0 = 0 ; |
6388 | PyObject * obj1 = 0 ; | |
6389 | PyObject * obj2 = 0 ; | |
6390 | PyObject * obj3 = 0 ; | |
6391 | char *kwnames[] = { | |
6392 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6393 | }; | |
6394 | ||
6395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6396 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6397 | { | |
6398 | arg2 = wxString_in_helper(obj1); | |
6399 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6400 | temp2 = True; |
d14a1e28 RD |
6401 | } |
6402 | if (obj2) { | |
6403 | { | |
6404 | arg3 = wxString_in_helper(obj2); | |
6405 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6406 | temp3 = True; |
d14a1e28 RD |
6407 | } |
6408 | } | |
6409 | if (obj3) { | |
6410 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6411 | if (PyErr_Occurred()) SWIG_fail; | |
6412 | } | |
6413 | { | |
6414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6415 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6416 | ||
6417 | wxPyEndAllowThreads(__tstate); | |
6418 | if (PyErr_Occurred()) SWIG_fail; | |
6419 | } | |
6420 | Py_INCREF(Py_None); resultobj = Py_None; | |
6421 | { | |
6422 | if (temp2) | |
6423 | delete arg2; | |
6424 | } | |
6425 | { | |
6426 | if (temp3) | |
6427 | delete arg3; | |
6428 | } | |
6429 | return resultobj; | |
6430 | fail: | |
6431 | { | |
6432 | if (temp2) | |
6433 | delete arg2; | |
6434 | } | |
6435 | { | |
6436 | if (temp3) | |
6437 | delete arg3; | |
6438 | } | |
6439 | return NULL; | |
6440 | } | |
6441 | ||
6442 | ||
6443 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6444 | PyObject *resultobj; | |
6445 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6446 | wxString arg2 ; | |
6447 | wxString arg3 ; | |
6448 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6449 | PyObject * obj0 = 0 ; |
6450 | PyObject * obj1 = 0 ; | |
6451 | PyObject * obj2 = 0 ; | |
6452 | PyObject * obj3 = 0 ; | |
6453 | char *kwnames[] = { | |
6454 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6455 | }; | |
6456 | ||
6457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6458 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
6459 | { |
6460 | wxString* sptr = wxString_in_helper(obj1); | |
6461 | if (sptr == NULL) SWIG_fail; | |
6462 | arg2 = *sptr; | |
6463 | delete sptr; | |
6464 | } | |
6465 | { | |
6466 | wxString* sptr = wxString_in_helper(obj2); | |
6467 | if (sptr == NULL) SWIG_fail; | |
6468 | arg3 = *sptr; | |
6469 | delete sptr; | |
6470 | } | |
d14a1e28 RD |
6471 | if (obj3) { |
6472 | arg4 = obj3; | |
6473 | } | |
6474 | { | |
6475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6476 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
6477 | ||
6478 | wxPyEndAllowThreads(__tstate); | |
6479 | if (PyErr_Occurred()) SWIG_fail; | |
6480 | } | |
6481 | Py_INCREF(Py_None); resultobj = Py_None; | |
6482 | return resultobj; | |
6483 | fail: | |
6484 | return NULL; | |
6485 | } | |
6486 | ||
6487 | ||
6488 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6489 | PyObject *resultobj; | |
6490 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6491 | int arg2 ; | |
6492 | int arg3 ; | |
6493 | int arg4 = (int) 0 ; | |
e811c8ce | 6494 | int arg5 = (int) False ; |
d14a1e28 RD |
6495 | int arg6 = (int) INT_MAX ; |
6496 | int *arg7 = (int *) NULL ; | |
6497 | int arg8 = (int) 0 ; | |
6498 | int result; | |
6499 | PyObject * obj0 = 0 ; | |
6500 | PyObject * obj6 = 0 ; | |
6501 | char *kwnames[] = { | |
6502 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
6503 | }; | |
6504 | ||
6505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&obj6,&arg8)) goto fail; | |
6506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6507 | if (obj6) { | |
6508 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6509 | } | |
6510 | { | |
6511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6512 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
6513 | ||
6514 | wxPyEndAllowThreads(__tstate); | |
6515 | if (PyErr_Occurred()) SWIG_fail; | |
6516 | } | |
6517 | resultobj = PyInt_FromLong((long)result); | |
6518 | return resultobj; | |
6519 | fail: | |
6520 | return NULL; | |
6521 | } | |
6522 | ||
6523 | ||
6524 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6525 | PyObject *resultobj; | |
6526 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6527 | int result; | |
6528 | PyObject * obj0 = 0 ; | |
6529 | char *kwnames[] = { | |
6530 | (char *) "self", NULL | |
6531 | }; | |
6532 | ||
6533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
6534 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6535 | { | |
6536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6537 | result = (int)(arg1)->GetTotalHeight(); | |
6538 | ||
6539 | wxPyEndAllowThreads(__tstate); | |
6540 | if (PyErr_Occurred()) SWIG_fail; | |
6541 | } | |
6542 | resultobj = PyInt_FromLong((long)result); | |
6543 | return resultobj; | |
6544 | fail: | |
6545 | return NULL; | |
6546 | } | |
6547 | ||
6548 | ||
6549 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
6550 | PyObject *obj; | |
6551 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6552 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
6553 | Py_INCREF(obj); | |
6554 | return Py_BuildValue((char *)""); | |
6555 | } | |
6556 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6557 | PyObject *resultobj; | |
6558 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
6559 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6560 | wxHtmlPrintout *result; | |
e811c8ce | 6561 | bool temp1 = False ; |
d14a1e28 RD |
6562 | PyObject * obj0 = 0 ; |
6563 | char *kwnames[] = { | |
6564 | (char *) "title", NULL | |
6565 | }; | |
6566 | ||
6567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
6568 | if (obj0) { | |
6569 | { | |
6570 | arg1 = wxString_in_helper(obj0); | |
6571 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 6572 | temp1 = True; |
d14a1e28 RD |
6573 | } |
6574 | } | |
6575 | { | |
6576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6577 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
6578 | ||
6579 | wxPyEndAllowThreads(__tstate); | |
6580 | if (PyErr_Occurred()) SWIG_fail; | |
6581 | } | |
6582 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1); | |
6583 | { | |
6584 | if (temp1) | |
6585 | delete arg1; | |
6586 | } | |
6587 | return resultobj; | |
6588 | fail: | |
6589 | { | |
6590 | if (temp1) | |
6591 | delete arg1; | |
6592 | } | |
6593 | return NULL; | |
6594 | } | |
6595 | ||
6596 | ||
6597 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6598 | PyObject *resultobj; | |
6599 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6600 | wxString *arg2 = 0 ; | |
6601 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6602 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6603 | bool arg4 = (bool) True ; |
6604 | bool temp2 = False ; | |
6605 | bool temp3 = False ; | |
d14a1e28 RD |
6606 | PyObject * obj0 = 0 ; |
6607 | PyObject * obj1 = 0 ; | |
6608 | PyObject * obj2 = 0 ; | |
6609 | PyObject * obj3 = 0 ; | |
6610 | char *kwnames[] = { | |
6611 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6612 | }; | |
6613 | ||
6614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6615 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6616 | { | |
6617 | arg2 = wxString_in_helper(obj1); | |
6618 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6619 | temp2 = True; |
d14a1e28 RD |
6620 | } |
6621 | if (obj2) { | |
6622 | { | |
6623 | arg3 = wxString_in_helper(obj2); | |
6624 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6625 | temp3 = True; |
d14a1e28 RD |
6626 | } |
6627 | } | |
6628 | if (obj3) { | |
6629 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6630 | if (PyErr_Occurred()) SWIG_fail; | |
6631 | } | |
6632 | { | |
6633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6634 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6635 | ||
6636 | wxPyEndAllowThreads(__tstate); | |
6637 | if (PyErr_Occurred()) SWIG_fail; | |
6638 | } | |
6639 | Py_INCREF(Py_None); resultobj = Py_None; | |
6640 | { | |
6641 | if (temp2) | |
6642 | delete arg2; | |
6643 | } | |
6644 | { | |
6645 | if (temp3) | |
6646 | delete arg3; | |
6647 | } | |
6648 | return resultobj; | |
6649 | fail: | |
6650 | { | |
6651 | if (temp2) | |
6652 | delete arg2; | |
6653 | } | |
6654 | { | |
6655 | if (temp3) | |
6656 | delete arg3; | |
6657 | } | |
6658 | return NULL; | |
6659 | } | |
6660 | ||
6661 | ||
6662 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6663 | PyObject *resultobj; | |
6664 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6665 | wxString *arg2 = 0 ; | |
e811c8ce | 6666 | bool temp2 = False ; |
d14a1e28 RD |
6667 | PyObject * obj0 = 0 ; |
6668 | PyObject * obj1 = 0 ; | |
6669 | char *kwnames[] = { | |
6670 | (char *) "self",(char *) "htmlfile", NULL | |
6671 | }; | |
6672 | ||
6673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
6674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6675 | { | |
6676 | arg2 = wxString_in_helper(obj1); | |
6677 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6678 | temp2 = True; |
d14a1e28 RD |
6679 | } |
6680 | { | |
6681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6682 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
6683 | ||
6684 | wxPyEndAllowThreads(__tstate); | |
6685 | if (PyErr_Occurred()) SWIG_fail; | |
6686 | } | |
6687 | Py_INCREF(Py_None); resultobj = Py_None; | |
6688 | { | |
6689 | if (temp2) | |
6690 | delete arg2; | |
6691 | } | |
6692 | return resultobj; | |
6693 | fail: | |
6694 | { | |
6695 | if (temp2) | |
6696 | delete arg2; | |
6697 | } | |
6698 | return NULL; | |
6699 | } | |
6700 | ||
6701 | ||
6702 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6703 | PyObject *resultobj; | |
6704 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6705 | wxString *arg2 = 0 ; | |
6706 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 6707 | bool temp2 = False ; |
d14a1e28 RD |
6708 | PyObject * obj0 = 0 ; |
6709 | PyObject * obj1 = 0 ; | |
6710 | char *kwnames[] = { | |
6711 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
6712 | }; | |
6713 | ||
6714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6715 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6716 | { | |
6717 | arg2 = wxString_in_helper(obj1); | |
6718 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6719 | temp2 = True; |
d14a1e28 RD |
6720 | } |
6721 | { | |
6722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6723 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
6724 | ||
6725 | wxPyEndAllowThreads(__tstate); | |
6726 | if (PyErr_Occurred()) SWIG_fail; | |
6727 | } | |
6728 | Py_INCREF(Py_None); resultobj = Py_None; | |
6729 | { | |
6730 | if (temp2) | |
6731 | delete arg2; | |
6732 | } | |
6733 | return resultobj; | |
6734 | fail: | |
6735 | { | |
6736 | if (temp2) | |
6737 | delete arg2; | |
6738 | } | |
6739 | return NULL; | |
6740 | } | |
6741 | ||
6742 | ||
6743 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6744 | PyObject *resultobj; | |
6745 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6746 | wxString *arg2 = 0 ; | |
6747 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 6748 | bool temp2 = False ; |
d14a1e28 RD |
6749 | PyObject * obj0 = 0 ; |
6750 | PyObject * obj1 = 0 ; | |
6751 | char *kwnames[] = { | |
6752 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
6753 | }; | |
6754 | ||
6755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6756 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6757 | { | |
6758 | arg2 = wxString_in_helper(obj1); | |
6759 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6760 | temp2 = True; |
d14a1e28 RD |
6761 | } |
6762 | { | |
6763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6764 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
6765 | ||
6766 | wxPyEndAllowThreads(__tstate); | |
6767 | if (PyErr_Occurred()) SWIG_fail; | |
6768 | } | |
6769 | Py_INCREF(Py_None); resultobj = Py_None; | |
6770 | { | |
6771 | if (temp2) | |
6772 | delete arg2; | |
6773 | } | |
6774 | return resultobj; | |
6775 | fail: | |
6776 | { | |
6777 | if (temp2) | |
6778 | delete arg2; | |
6779 | } | |
6780 | return NULL; | |
6781 | } | |
6782 | ||
6783 | ||
6784 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6785 | PyObject *resultobj; | |
6786 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6787 | wxString arg2 ; | |
6788 | wxString arg3 ; | |
6789 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6790 | PyObject * obj0 = 0 ; |
6791 | PyObject * obj1 = 0 ; | |
6792 | PyObject * obj2 = 0 ; | |
6793 | PyObject * obj3 = 0 ; | |
6794 | char *kwnames[] = { | |
6795 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6796 | }; | |
6797 | ||
6798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6799 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
6800 | { |
6801 | wxString* sptr = wxString_in_helper(obj1); | |
6802 | if (sptr == NULL) SWIG_fail; | |
6803 | arg2 = *sptr; | |
6804 | delete sptr; | |
6805 | } | |
6806 | { | |
6807 | wxString* sptr = wxString_in_helper(obj2); | |
6808 | if (sptr == NULL) SWIG_fail; | |
6809 | arg3 = *sptr; | |
6810 | delete sptr; | |
6811 | } | |
d14a1e28 RD |
6812 | if (obj3) { |
6813 | arg4 = obj3; | |
6814 | } | |
6815 | { | |
6816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6817 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
6818 | ||
6819 | wxPyEndAllowThreads(__tstate); | |
6820 | if (PyErr_Occurred()) SWIG_fail; | |
6821 | } | |
6822 | Py_INCREF(Py_None); resultobj = Py_None; | |
6823 | return resultobj; | |
6824 | fail: | |
6825 | return NULL; | |
6826 | } | |
6827 | ||
6828 | ||
6829 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6830 | PyObject *resultobj; | |
6831 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6832 | float arg2 = (float) 25.2 ; | |
6833 | float arg3 = (float) 25.2 ; | |
6834 | float arg4 = (float) 25.2 ; | |
6835 | float arg5 = (float) 25.2 ; | |
6836 | float arg6 = (float) 5 ; | |
6837 | PyObject * obj0 = 0 ; | |
6838 | char *kwnames[] = { | |
6839 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
6840 | }; | |
6841 | ||
6842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
6843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6844 | { | |
6845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6846 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
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 *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6859 | PyObject *resultobj; | |
6860 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
6861 | PyObject * obj0 = 0 ; | |
6862 | char *kwnames[] = { | |
6863 | (char *) "filter", NULL | |
6864 | }; | |
6865 | ||
6866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
6867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6868 | { | |
6869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6870 | wxHtmlPrintout::AddFilter(arg1); | |
6871 | ||
6872 | wxPyEndAllowThreads(__tstate); | |
6873 | if (PyErr_Occurred()) SWIG_fail; | |
6874 | } | |
6875 | Py_INCREF(Py_None); resultobj = Py_None; | |
6876 | return resultobj; | |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
6882 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6883 | PyObject *resultobj; | |
6884 | char *kwnames[] = { | |
6885 | NULL | |
6886 | }; | |
6887 | ||
6888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
6889 | { | |
6890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6891 | wxHtmlPrintout::CleanUpStatics(); | |
6892 | ||
6893 | wxPyEndAllowThreads(__tstate); | |
6894 | if (PyErr_Occurred()) SWIG_fail; | |
6895 | } | |
6896 | Py_INCREF(Py_None); resultobj = Py_None; | |
6897 | return resultobj; | |
6898 | fail: | |
6899 | return NULL; | |
6900 | } | |
6901 | ||
6902 | ||
6903 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
6904 | PyObject *obj; | |
6905 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6906 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
6907 | Py_INCREF(obj); | |
6908 | return Py_BuildValue((char *)""); | |
6909 | } | |
6910 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6911 | PyObject *resultobj; | |
6912 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
6913 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6914 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6915 | wxHtmlEasyPrinting *result; | |
e811c8ce | 6916 | bool temp1 = False ; |
d14a1e28 RD |
6917 | PyObject * obj0 = 0 ; |
6918 | PyObject * obj1 = 0 ; | |
6919 | char *kwnames[] = { | |
6920 | (char *) "name",(char *) "parentWindow", NULL | |
6921 | }; | |
6922 | ||
6923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
6924 | if (obj0) { | |
6925 | { | |
6926 | arg1 = wxString_in_helper(obj0); | |
6927 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 6928 | temp1 = True; |
d14a1e28 RD |
6929 | } |
6930 | } | |
6931 | if (obj1) { | |
6932 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6933 | } | |
6934 | { | |
6935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6936 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
6937 | ||
6938 | wxPyEndAllowThreads(__tstate); | |
6939 | if (PyErr_Occurred()) SWIG_fail; | |
6940 | } | |
6941 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
6942 | { | |
6943 | if (temp1) | |
6944 | delete arg1; | |
6945 | } | |
6946 | return resultobj; | |
6947 | fail: | |
6948 | { | |
6949 | if (temp1) | |
6950 | delete arg1; | |
6951 | } | |
6952 | return NULL; | |
6953 | } | |
6954 | ||
6955 | ||
6956 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6957 | PyObject *resultobj; | |
6958 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6959 | PyObject * obj0 = 0 ; | |
6960 | char *kwnames[] = { | |
6961 | (char *) "self", NULL | |
6962 | }; | |
6963 | ||
6964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
6965 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6966 | { | |
6967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6968 | delete arg1; | |
6969 | ||
6970 | wxPyEndAllowThreads(__tstate); | |
6971 | if (PyErr_Occurred()) SWIG_fail; | |
6972 | } | |
6973 | Py_INCREF(Py_None); resultobj = Py_None; | |
6974 | return resultobj; | |
6975 | fail: | |
6976 | return NULL; | |
6977 | } | |
6978 | ||
6979 | ||
6980 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6981 | PyObject *resultobj; | |
6982 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6983 | wxString *arg2 = 0 ; | |
e811c8ce | 6984 | bool temp2 = False ; |
d14a1e28 RD |
6985 | PyObject * obj0 = 0 ; |
6986 | PyObject * obj1 = 0 ; | |
6987 | char *kwnames[] = { | |
6988 | (char *) "self",(char *) "htmlfile", NULL | |
6989 | }; | |
6990 | ||
6991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
6992 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6993 | { | |
6994 | arg2 = wxString_in_helper(obj1); | |
6995 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6996 | temp2 = True; |
d14a1e28 RD |
6997 | } |
6998 | { | |
6999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7000 | (arg1)->PreviewFile((wxString const &)*arg2); | |
7001 | ||
7002 | wxPyEndAllowThreads(__tstate); | |
7003 | if (PyErr_Occurred()) SWIG_fail; | |
7004 | } | |
7005 | Py_INCREF(Py_None); resultobj = Py_None; | |
7006 | { | |
7007 | if (temp2) | |
7008 | delete arg2; | |
7009 | } | |
7010 | return resultobj; | |
7011 | fail: | |
7012 | { | |
7013 | if (temp2) | |
7014 | delete arg2; | |
7015 | } | |
7016 | return NULL; | |
7017 | } | |
7018 | ||
7019 | ||
7020 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7021 | PyObject *resultobj; | |
7022 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7023 | wxString *arg2 = 0 ; | |
7024 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7025 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
7026 | bool temp2 = False ; |
7027 | bool temp3 = False ; | |
d14a1e28 RD |
7028 | PyObject * obj0 = 0 ; |
7029 | PyObject * obj1 = 0 ; | |
7030 | PyObject * obj2 = 0 ; | |
7031 | char *kwnames[] = { | |
7032 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
7033 | }; | |
7034 | ||
7035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7036 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7037 | { | |
7038 | arg2 = wxString_in_helper(obj1); | |
7039 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7040 | temp2 = True; |
d14a1e28 RD |
7041 | } |
7042 | if (obj2) { | |
7043 | { | |
7044 | arg3 = wxString_in_helper(obj2); | |
7045 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7046 | temp3 = True; |
d14a1e28 RD |
7047 | } |
7048 | } | |
7049 | { | |
7050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7051 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
7052 | ||
7053 | wxPyEndAllowThreads(__tstate); | |
7054 | if (PyErr_Occurred()) SWIG_fail; | |
7055 | } | |
7056 | Py_INCREF(Py_None); resultobj = Py_None; | |
7057 | { | |
7058 | if (temp2) | |
7059 | delete arg2; | |
7060 | } | |
7061 | { | |
7062 | if (temp3) | |
7063 | delete arg3; | |
7064 | } | |
7065 | return resultobj; | |
7066 | fail: | |
7067 | { | |
7068 | if (temp2) | |
7069 | delete arg2; | |
7070 | } | |
7071 | { | |
7072 | if (temp3) | |
7073 | delete arg3; | |
7074 | } | |
7075 | return NULL; | |
7076 | } | |
7077 | ||
7078 | ||
7079 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7080 | PyObject *resultobj; | |
7081 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7082 | wxString *arg2 = 0 ; | |
e811c8ce | 7083 | bool temp2 = False ; |
d14a1e28 RD |
7084 | PyObject * obj0 = 0 ; |
7085 | PyObject * obj1 = 0 ; | |
7086 | char *kwnames[] = { | |
7087 | (char *) "self",(char *) "htmlfile", NULL | |
7088 | }; | |
7089 | ||
7090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
7091 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7092 | { | |
7093 | arg2 = wxString_in_helper(obj1); | |
7094 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7095 | temp2 = True; |
d14a1e28 RD |
7096 | } |
7097 | { | |
7098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7099 | (arg1)->PrintFile((wxString const &)*arg2); | |
7100 | ||
7101 | wxPyEndAllowThreads(__tstate); | |
7102 | if (PyErr_Occurred()) SWIG_fail; | |
7103 | } | |
7104 | Py_INCREF(Py_None); resultobj = Py_None; | |
7105 | { | |
7106 | if (temp2) | |
7107 | delete arg2; | |
7108 | } | |
7109 | return resultobj; | |
7110 | fail: | |
7111 | { | |
7112 | if (temp2) | |
7113 | delete arg2; | |
7114 | } | |
7115 | return NULL; | |
7116 | } | |
7117 | ||
7118 | ||
7119 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7120 | PyObject *resultobj; | |
7121 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7122 | wxString *arg2 = 0 ; | |
7123 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7124 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
7125 | bool temp2 = False ; |
7126 | bool temp3 = False ; | |
d14a1e28 RD |
7127 | PyObject * obj0 = 0 ; |
7128 | PyObject * obj1 = 0 ; | |
7129 | PyObject * obj2 = 0 ; | |
7130 | char *kwnames[] = { | |
7131 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
7132 | }; | |
7133 | ||
7134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7135 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7136 | { | |
7137 | arg2 = wxString_in_helper(obj1); | |
7138 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7139 | temp2 = True; |
d14a1e28 RD |
7140 | } |
7141 | if (obj2) { | |
7142 | { | |
7143 | arg3 = wxString_in_helper(obj2); | |
7144 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7145 | temp3 = True; |
d14a1e28 RD |
7146 | } |
7147 | } | |
7148 | { | |
7149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7150 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
7151 | ||
7152 | wxPyEndAllowThreads(__tstate); | |
7153 | if (PyErr_Occurred()) SWIG_fail; | |
7154 | } | |
7155 | Py_INCREF(Py_None); resultobj = Py_None; | |
7156 | { | |
7157 | if (temp2) | |
7158 | delete arg2; | |
7159 | } | |
7160 | { | |
7161 | if (temp3) | |
7162 | delete arg3; | |
7163 | } | |
7164 | return resultobj; | |
7165 | fail: | |
7166 | { | |
7167 | if (temp2) | |
7168 | delete arg2; | |
7169 | } | |
7170 | { | |
7171 | if (temp3) | |
7172 | delete arg3; | |
7173 | } | |
7174 | return NULL; | |
7175 | } | |
7176 | ||
7177 | ||
7178 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7179 | PyObject *resultobj; | |
7180 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7181 | PyObject * obj0 = 0 ; | |
7182 | char *kwnames[] = { | |
7183 | (char *) "self", NULL | |
7184 | }; | |
7185 | ||
7186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
7187 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7188 | { | |
7189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7190 | (arg1)->PrinterSetup(); | |
7191 | ||
7192 | wxPyEndAllowThreads(__tstate); | |
7193 | if (PyErr_Occurred()) SWIG_fail; | |
7194 | } | |
7195 | Py_INCREF(Py_None); resultobj = Py_None; | |
7196 | return resultobj; | |
7197 | fail: | |
7198 | return NULL; | |
7199 | } | |
7200 | ||
7201 | ||
7202 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7203 | PyObject *resultobj; | |
7204 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7205 | PyObject * obj0 = 0 ; | |
7206 | char *kwnames[] = { | |
7207 | (char *) "self", NULL | |
7208 | }; | |
7209 | ||
7210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
7211 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7212 | { | |
7213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7214 | (arg1)->PageSetup(); | |
7215 | ||
7216 | wxPyEndAllowThreads(__tstate); | |
7217 | if (PyErr_Occurred()) SWIG_fail; | |
7218 | } | |
7219 | Py_INCREF(Py_None); resultobj = Py_None; | |
7220 | return resultobj; | |
7221 | fail: | |
7222 | return NULL; | |
7223 | } | |
7224 | ||
7225 | ||
7226 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7227 | PyObject *resultobj; | |
7228 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7229 | wxString *arg2 = 0 ; | |
7230 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 7231 | bool temp2 = False ; |
d14a1e28 RD |
7232 | PyObject * obj0 = 0 ; |
7233 | PyObject * obj1 = 0 ; | |
7234 | char *kwnames[] = { | |
7235 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7236 | }; | |
7237 | ||
7238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7239 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7240 | { | |
7241 | arg2 = wxString_in_helper(obj1); | |
7242 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7243 | temp2 = True; |
d14a1e28 RD |
7244 | } |
7245 | { | |
7246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7247 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7248 | ||
7249 | wxPyEndAllowThreads(__tstate); | |
7250 | if (PyErr_Occurred()) SWIG_fail; | |
7251 | } | |
7252 | Py_INCREF(Py_None); resultobj = Py_None; | |
7253 | { | |
7254 | if (temp2) | |
7255 | delete arg2; | |
7256 | } | |
7257 | return resultobj; | |
7258 | fail: | |
7259 | { | |
7260 | if (temp2) | |
7261 | delete arg2; | |
7262 | } | |
7263 | return NULL; | |
7264 | } | |
7265 | ||
7266 | ||
7267 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7268 | PyObject *resultobj; | |
7269 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7270 | wxString *arg2 = 0 ; | |
7271 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 7272 | bool temp2 = False ; |
d14a1e28 RD |
7273 | PyObject * obj0 = 0 ; |
7274 | PyObject * obj1 = 0 ; | |
7275 | char *kwnames[] = { | |
7276 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7277 | }; | |
7278 | ||
7279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7281 | { | |
7282 | arg2 = wxString_in_helper(obj1); | |
7283 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7284 | temp2 = True; |
d14a1e28 RD |
7285 | } |
7286 | { | |
7287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7288 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7289 | ||
7290 | wxPyEndAllowThreads(__tstate); | |
7291 | if (PyErr_Occurred()) SWIG_fail; | |
7292 | } | |
7293 | Py_INCREF(Py_None); resultobj = Py_None; | |
7294 | { | |
7295 | if (temp2) | |
7296 | delete arg2; | |
7297 | } | |
7298 | return resultobj; | |
7299 | fail: | |
7300 | { | |
7301 | if (temp2) | |
7302 | delete arg2; | |
7303 | } | |
7304 | return NULL; | |
7305 | } | |
7306 | ||
7307 | ||
7308 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7309 | PyObject *resultobj; | |
7310 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7311 | wxString arg2 ; | |
7312 | wxString arg3 ; | |
7313 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7314 | PyObject * obj0 = 0 ; |
7315 | PyObject * obj1 = 0 ; | |
7316 | PyObject * obj2 = 0 ; | |
7317 | PyObject * obj3 = 0 ; | |
7318 | char *kwnames[] = { | |
7319 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7320 | }; | |
7321 | ||
7322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7323 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
7324 | { |
7325 | wxString* sptr = wxString_in_helper(obj1); | |
7326 | if (sptr == NULL) SWIG_fail; | |
7327 | arg2 = *sptr; | |
7328 | delete sptr; | |
7329 | } | |
7330 | { | |
7331 | wxString* sptr = wxString_in_helper(obj2); | |
7332 | if (sptr == NULL) SWIG_fail; | |
7333 | arg3 = *sptr; | |
7334 | delete sptr; | |
7335 | } | |
d14a1e28 RD |
7336 | if (obj3) { |
7337 | arg4 = obj3; | |
7338 | } | |
7339 | { | |
7340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7341 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
7342 | ||
7343 | wxPyEndAllowThreads(__tstate); | |
7344 | if (PyErr_Occurred()) SWIG_fail; | |
7345 | } | |
7346 | Py_INCREF(Py_None); resultobj = Py_None; | |
7347 | return resultobj; | |
7348 | fail: | |
7349 | return NULL; | |
7350 | } | |
7351 | ||
7352 | ||
7353 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7354 | PyObject *resultobj; | |
7355 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7356 | wxPrintData *result; | |
7357 | PyObject * obj0 = 0 ; | |
7358 | char *kwnames[] = { | |
7359 | (char *) "self", NULL | |
7360 | }; | |
7361 | ||
7362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
7363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7364 | { | |
7365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7366 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
7367 | ||
7368 | wxPyEndAllowThreads(__tstate); | |
7369 | if (PyErr_Occurred()) SWIG_fail; | |
7370 | } | |
7371 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
7372 | return resultobj; | |
7373 | fail: | |
7374 | return NULL; | |
7375 | } | |
7376 | ||
7377 | ||
7378 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7379 | PyObject *resultobj; | |
7380 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7381 | wxPageSetupDialogData *result; | |
7382 | PyObject * obj0 = 0 ; | |
7383 | char *kwnames[] = { | |
7384 | (char *) "self", NULL | |
7385 | }; | |
7386 | ||
7387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
7388 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7389 | { | |
7390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7391 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
7392 | ||
7393 | wxPyEndAllowThreads(__tstate); | |
7394 | if (PyErr_Occurred()) SWIG_fail; | |
7395 | } | |
7396 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
7397 | return resultobj; | |
7398 | fail: | |
7399 | return NULL; | |
7400 | } | |
7401 | ||
7402 | ||
7403 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
7404 | PyObject *obj; | |
7405 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7406 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
7407 | Py_INCREF(obj); | |
7408 | return Py_BuildValue((char *)""); | |
7409 | } | |
7410 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7411 | PyObject *resultobj; | |
7412 | wxString *arg1 = 0 ; | |
7413 | wxString *arg2 = 0 ; | |
7414 | wxString *arg3 = 0 ; | |
7415 | wxString *arg4 = 0 ; | |
7416 | wxHtmlBookRecord *result; | |
e811c8ce RD |
7417 | bool temp1 = False ; |
7418 | bool temp2 = False ; | |
7419 | bool temp3 = False ; | |
7420 | bool temp4 = False ; | |
d14a1e28 RD |
7421 | PyObject * obj0 = 0 ; |
7422 | PyObject * obj1 = 0 ; | |
7423 | PyObject * obj2 = 0 ; | |
7424 | PyObject * obj3 = 0 ; | |
7425 | char *kwnames[] = { | |
7426 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
7427 | }; | |
7428 | ||
7429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7430 | { | |
7431 | arg1 = wxString_in_helper(obj0); | |
7432 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 7433 | temp1 = True; |
d14a1e28 RD |
7434 | } |
7435 | { | |
7436 | arg2 = wxString_in_helper(obj1); | |
7437 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7438 | temp2 = True; |
d14a1e28 RD |
7439 | } |
7440 | { | |
7441 | arg3 = wxString_in_helper(obj2); | |
7442 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7443 | temp3 = True; |
d14a1e28 RD |
7444 | } |
7445 | { | |
7446 | arg4 = wxString_in_helper(obj3); | |
7447 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 7448 | temp4 = True; |
d14a1e28 RD |
7449 | } |
7450 | { | |
7451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7452 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
7453 | ||
7454 | wxPyEndAllowThreads(__tstate); | |
7455 | if (PyErr_Occurred()) SWIG_fail; | |
7456 | } | |
7457 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1); | |
7458 | { | |
7459 | if (temp1) | |
7460 | delete arg1; | |
7461 | } | |
7462 | { | |
7463 | if (temp2) | |
7464 | delete arg2; | |
7465 | } | |
7466 | { | |
7467 | if (temp3) | |
7468 | delete arg3; | |
7469 | } | |
7470 | { | |
7471 | if (temp4) | |
7472 | delete arg4; | |
7473 | } | |
7474 | return resultobj; | |
7475 | fail: | |
7476 | { | |
7477 | if (temp1) | |
7478 | delete arg1; | |
7479 | } | |
7480 | { | |
7481 | if (temp2) | |
7482 | delete arg2; | |
7483 | } | |
7484 | { | |
7485 | if (temp3) | |
7486 | delete arg3; | |
7487 | } | |
7488 | { | |
7489 | if (temp4) | |
7490 | delete arg4; | |
7491 | } | |
7492 | return NULL; | |
7493 | } | |
7494 | ||
7495 | ||
7496 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7497 | PyObject *resultobj; | |
7498 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7499 | wxString result; | |
7500 | PyObject * obj0 = 0 ; | |
7501 | char *kwnames[] = { | |
7502 | (char *) "self", NULL | |
7503 | }; | |
7504 | ||
7505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
7506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7507 | { | |
7508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7509 | result = (arg1)->GetBookFile(); | |
7510 | ||
7511 | wxPyEndAllowThreads(__tstate); | |
7512 | if (PyErr_Occurred()) SWIG_fail; | |
7513 | } | |
7514 | { | |
7515 | #if wxUSE_UNICODE | |
7516 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7517 | #else | |
7518 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7519 | #endif | |
7520 | } | |
7521 | return resultobj; | |
7522 | fail: | |
7523 | return NULL; | |
7524 | } | |
7525 | ||
7526 | ||
7527 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7528 | PyObject *resultobj; | |
7529 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7530 | wxString result; | |
7531 | PyObject * obj0 = 0 ; | |
7532 | char *kwnames[] = { | |
7533 | (char *) "self", NULL | |
7534 | }; | |
7535 | ||
7536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
7537 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7538 | { | |
7539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7540 | result = (arg1)->GetTitle(); | |
7541 | ||
7542 | wxPyEndAllowThreads(__tstate); | |
7543 | if (PyErr_Occurred()) SWIG_fail; | |
7544 | } | |
7545 | { | |
7546 | #if wxUSE_UNICODE | |
7547 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7548 | #else | |
7549 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7550 | #endif | |
7551 | } | |
7552 | return resultobj; | |
7553 | fail: | |
7554 | return NULL; | |
7555 | } | |
7556 | ||
7557 | ||
7558 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7559 | PyObject *resultobj; | |
7560 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7561 | wxString result; | |
7562 | PyObject * obj0 = 0 ; | |
7563 | char *kwnames[] = { | |
7564 | (char *) "self", NULL | |
7565 | }; | |
7566 | ||
7567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
7568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7569 | { | |
7570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7571 | result = (arg1)->GetStart(); | |
7572 | ||
7573 | wxPyEndAllowThreads(__tstate); | |
7574 | if (PyErr_Occurred()) SWIG_fail; | |
7575 | } | |
7576 | { | |
7577 | #if wxUSE_UNICODE | |
7578 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7579 | #else | |
7580 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7581 | #endif | |
7582 | } | |
7583 | return resultobj; | |
7584 | fail: | |
7585 | return NULL; | |
7586 | } | |
7587 | ||
7588 | ||
7589 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7590 | PyObject *resultobj; | |
7591 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7592 | wxString result; | |
7593 | PyObject * obj0 = 0 ; | |
7594 | char *kwnames[] = { | |
7595 | (char *) "self", NULL | |
7596 | }; | |
7597 | ||
7598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
7599 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7600 | { | |
7601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7602 | result = (arg1)->GetBasePath(); | |
7603 | ||
7604 | wxPyEndAllowThreads(__tstate); | |
7605 | if (PyErr_Occurred()) SWIG_fail; | |
7606 | } | |
7607 | { | |
7608 | #if wxUSE_UNICODE | |
7609 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7610 | #else | |
7611 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7612 | #endif | |
7613 | } | |
7614 | return resultobj; | |
7615 | fail: | |
7616 | return NULL; | |
7617 | } | |
7618 | ||
7619 | ||
7620 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7621 | PyObject *resultobj; | |
7622 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7623 | int arg2 ; | |
7624 | int arg3 ; | |
7625 | PyObject * obj0 = 0 ; | |
7626 | char *kwnames[] = { | |
7627 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7628 | }; | |
7629 | ||
7630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7631 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7632 | { | |
7633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7634 | (arg1)->SetContentsRange(arg2,arg3); | |
7635 | ||
7636 | wxPyEndAllowThreads(__tstate); | |
7637 | if (PyErr_Occurred()) SWIG_fail; | |
7638 | } | |
7639 | Py_INCREF(Py_None); resultobj = Py_None; | |
7640 | return resultobj; | |
7641 | fail: | |
7642 | return NULL; | |
7643 | } | |
7644 | ||
7645 | ||
7646 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7647 | PyObject *resultobj; | |
7648 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7649 | int result; | |
7650 | PyObject * obj0 = 0 ; | |
7651 | char *kwnames[] = { | |
7652 | (char *) "self", NULL | |
7653 | }; | |
7654 | ||
7655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
7656 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7657 | { | |
7658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7659 | result = (int)(arg1)->GetContentsStart(); | |
7660 | ||
7661 | wxPyEndAllowThreads(__tstate); | |
7662 | if (PyErr_Occurred()) SWIG_fail; | |
7663 | } | |
7664 | resultobj = PyInt_FromLong((long)result); | |
7665 | return resultobj; | |
7666 | fail: | |
7667 | return NULL; | |
7668 | } | |
7669 | ||
7670 | ||
7671 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7672 | PyObject *resultobj; | |
7673 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7674 | int result; | |
7675 | PyObject * obj0 = 0 ; | |
7676 | char *kwnames[] = { | |
7677 | (char *) "self", NULL | |
7678 | }; | |
7679 | ||
7680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
7681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7682 | { | |
7683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7684 | result = (int)(arg1)->GetContentsEnd(); | |
7685 | ||
7686 | wxPyEndAllowThreads(__tstate); | |
7687 | if (PyErr_Occurred()) SWIG_fail; | |
7688 | } | |
7689 | resultobj = PyInt_FromLong((long)result); | |
7690 | return resultobj; | |
7691 | fail: | |
7692 | return NULL; | |
7693 | } | |
7694 | ||
7695 | ||
7696 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7697 | PyObject *resultobj; | |
7698 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7699 | wxString *arg2 = 0 ; | |
e811c8ce | 7700 | bool temp2 = False ; |
d14a1e28 RD |
7701 | PyObject * obj0 = 0 ; |
7702 | PyObject * obj1 = 0 ; | |
7703 | char *kwnames[] = { | |
7704 | (char *) "self",(char *) "title", NULL | |
7705 | }; | |
7706 | ||
7707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7708 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7709 | { | |
7710 | arg2 = wxString_in_helper(obj1); | |
7711 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7712 | temp2 = True; |
d14a1e28 RD |
7713 | } |
7714 | { | |
7715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7716 | (arg1)->SetTitle((wxString const &)*arg2); | |
7717 | ||
7718 | wxPyEndAllowThreads(__tstate); | |
7719 | if (PyErr_Occurred()) SWIG_fail; | |
7720 | } | |
7721 | Py_INCREF(Py_None); resultobj = Py_None; | |
7722 | { | |
7723 | if (temp2) | |
7724 | delete arg2; | |
7725 | } | |
7726 | return resultobj; | |
7727 | fail: | |
7728 | { | |
7729 | if (temp2) | |
7730 | delete arg2; | |
7731 | } | |
7732 | return NULL; | |
7733 | } | |
7734 | ||
7735 | ||
7736 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7737 | PyObject *resultobj; | |
7738 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7739 | wxString *arg2 = 0 ; | |
e811c8ce | 7740 | bool temp2 = False ; |
d14a1e28 RD |
7741 | PyObject * obj0 = 0 ; |
7742 | PyObject * obj1 = 0 ; | |
7743 | char *kwnames[] = { | |
7744 | (char *) "self",(char *) "path", NULL | |
7745 | }; | |
7746 | ||
7747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
7748 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7749 | { | |
7750 | arg2 = wxString_in_helper(obj1); | |
7751 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7752 | temp2 = True; |
d14a1e28 RD |
7753 | } |
7754 | { | |
7755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7756 | (arg1)->SetBasePath((wxString const &)*arg2); | |
7757 | ||
7758 | wxPyEndAllowThreads(__tstate); | |
7759 | if (PyErr_Occurred()) SWIG_fail; | |
7760 | } | |
7761 | Py_INCREF(Py_None); resultobj = Py_None; | |
7762 | { | |
7763 | if (temp2) | |
7764 | delete arg2; | |
7765 | } | |
7766 | return resultobj; | |
7767 | fail: | |
7768 | { | |
7769 | if (temp2) | |
7770 | delete arg2; | |
7771 | } | |
7772 | return NULL; | |
7773 | } | |
7774 | ||
7775 | ||
7776 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7777 | PyObject *resultobj; | |
7778 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7779 | wxString *arg2 = 0 ; | |
e811c8ce | 7780 | bool temp2 = False ; |
d14a1e28 RD |
7781 | PyObject * obj0 = 0 ; |
7782 | PyObject * obj1 = 0 ; | |
7783 | char *kwnames[] = { | |
7784 | (char *) "self",(char *) "start", NULL | |
7785 | }; | |
7786 | ||
7787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
7788 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7789 | { | |
7790 | arg2 = wxString_in_helper(obj1); | |
7791 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7792 | temp2 = True; |
d14a1e28 RD |
7793 | } |
7794 | { | |
7795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7796 | (arg1)->SetStart((wxString const &)*arg2); | |
7797 | ||
7798 | wxPyEndAllowThreads(__tstate); | |
7799 | if (PyErr_Occurred()) SWIG_fail; | |
7800 | } | |
7801 | Py_INCREF(Py_None); resultobj = Py_None; | |
7802 | { | |
7803 | if (temp2) | |
7804 | delete arg2; | |
7805 | } | |
7806 | return resultobj; | |
7807 | fail: | |
7808 | { | |
7809 | if (temp2) | |
7810 | delete arg2; | |
7811 | } | |
7812 | return NULL; | |
7813 | } | |
7814 | ||
7815 | ||
7816 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7817 | PyObject *resultobj; | |
7818 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7819 | wxString *arg2 = 0 ; | |
7820 | wxString result; | |
e811c8ce | 7821 | bool temp2 = False ; |
d14a1e28 RD |
7822 | PyObject * obj0 = 0 ; |
7823 | PyObject * obj1 = 0 ; | |
7824 | char *kwnames[] = { | |
7825 | (char *) "self",(char *) "page", NULL | |
7826 | }; | |
7827 | ||
7828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
7829 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7830 | { | |
7831 | arg2 = wxString_in_helper(obj1); | |
7832 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7833 | temp2 = True; |
d14a1e28 RD |
7834 | } |
7835 | { | |
7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7837 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
7838 | ||
7839 | wxPyEndAllowThreads(__tstate); | |
7840 | if (PyErr_Occurred()) SWIG_fail; | |
7841 | } | |
7842 | { | |
7843 | #if wxUSE_UNICODE | |
7844 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7845 | #else | |
7846 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7847 | #endif | |
7848 | } | |
7849 | { | |
7850 | if (temp2) | |
7851 | delete arg2; | |
7852 | } | |
7853 | return resultobj; | |
7854 | fail: | |
7855 | { | |
7856 | if (temp2) | |
7857 | delete arg2; | |
7858 | } | |
7859 | return NULL; | |
7860 | } | |
7861 | ||
7862 | ||
7863 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
7864 | PyObject *obj; | |
7865 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7866 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
7867 | Py_INCREF(obj); | |
7868 | return Py_BuildValue((char *)""); | |
7869 | } | |
7870 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7871 | PyObject *resultobj; | |
7872 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7873 | int result; | |
7874 | PyObject * obj0 = 0 ; | |
7875 | char *kwnames[] = { | |
7876 | (char *) "self", NULL | |
7877 | }; | |
7878 | ||
7879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
7880 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7881 | { | |
7882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7883 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
7884 | ||
7885 | wxPyEndAllowThreads(__tstate); | |
7886 | if (PyErr_Occurred()) SWIG_fail; | |
7887 | } | |
7888 | resultobj = PyInt_FromLong((long)result); | |
7889 | return resultobj; | |
7890 | fail: | |
7891 | return NULL; | |
7892 | } | |
7893 | ||
7894 | ||
7895 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7896 | PyObject *resultobj; | |
7897 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7898 | int result; | |
7899 | PyObject * obj0 = 0 ; | |
7900 | char *kwnames[] = { | |
7901 | (char *) "self", NULL | |
7902 | }; | |
7903 | ||
7904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
7905 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7906 | { | |
7907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7908 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
7909 | ||
7910 | wxPyEndAllowThreads(__tstate); | |
7911 | if (PyErr_Occurred()) SWIG_fail; | |
7912 | } | |
7913 | resultobj = PyInt_FromLong((long)result); | |
7914 | return resultobj; | |
7915 | fail: | |
7916 | return NULL; | |
7917 | } | |
7918 | ||
7919 | ||
7920 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7921 | PyObject *resultobj; | |
7922 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7923 | wxString result; | |
7924 | PyObject * obj0 = 0 ; | |
7925 | char *kwnames[] = { | |
7926 | (char *) "self", NULL | |
7927 | }; | |
7928 | ||
7929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
7930 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7931 | { | |
7932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7933 | result = wxHtmlContentsItem_GetName(arg1); | |
7934 | ||
7935 | wxPyEndAllowThreads(__tstate); | |
7936 | if (PyErr_Occurred()) SWIG_fail; | |
7937 | } | |
7938 | { | |
7939 | #if wxUSE_UNICODE | |
7940 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7941 | #else | |
7942 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7943 | #endif | |
7944 | } | |
7945 | return resultobj; | |
7946 | fail: | |
7947 | return NULL; | |
7948 | } | |
7949 | ||
7950 | ||
7951 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7952 | PyObject *resultobj; | |
7953 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7954 | wxString result; | |
7955 | PyObject * obj0 = 0 ; | |
7956 | char *kwnames[] = { | |
7957 | (char *) "self", NULL | |
7958 | }; | |
7959 | ||
7960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
7961 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7962 | { | |
7963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7964 | result = wxHtmlContentsItem_GetPage(arg1); | |
7965 | ||
7966 | wxPyEndAllowThreads(__tstate); | |
7967 | if (PyErr_Occurred()) SWIG_fail; | |
7968 | } | |
7969 | { | |
7970 | #if wxUSE_UNICODE | |
7971 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7972 | #else | |
7973 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7974 | #endif | |
7975 | } | |
7976 | return resultobj; | |
7977 | fail: | |
7978 | return NULL; | |
7979 | } | |
7980 | ||
7981 | ||
7982 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7983 | PyObject *resultobj; | |
7984 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7985 | wxHtmlBookRecord *result; | |
7986 | PyObject * obj0 = 0 ; | |
7987 | char *kwnames[] = { | |
7988 | (char *) "self", NULL | |
7989 | }; | |
7990 | ||
7991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
7992 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7993 | { | |
7994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7995 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
7996 | ||
7997 | wxPyEndAllowThreads(__tstate); | |
7998 | if (PyErr_Occurred()) SWIG_fail; | |
7999 | } | |
8000 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0); | |
8001 | return resultobj; | |
8002 | fail: | |
8003 | return NULL; | |
8004 | } | |
8005 | ||
8006 | ||
8007 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
8008 | PyObject *obj; | |
8009 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8010 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
8011 | Py_INCREF(obj); | |
8012 | return Py_BuildValue((char *)""); | |
8013 | } | |
8014 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8015 | PyObject *resultobj; | |
8016 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8017 | bool result; | |
8018 | PyObject * obj0 = 0 ; | |
8019 | char *kwnames[] = { | |
8020 | (char *) "self", NULL | |
8021 | }; | |
8022 | ||
8023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
8024 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8025 | { | |
8026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8027 | result = (bool)(arg1)->Search(); | |
8028 | ||
8029 | wxPyEndAllowThreads(__tstate); | |
8030 | if (PyErr_Occurred()) SWIG_fail; | |
8031 | } | |
8032 | resultobj = PyInt_FromLong((long)result); | |
8033 | return resultobj; | |
8034 | fail: | |
8035 | return NULL; | |
8036 | } | |
8037 | ||
8038 | ||
8039 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8040 | PyObject *resultobj; | |
8041 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8042 | bool result; | |
8043 | PyObject * obj0 = 0 ; | |
8044 | char *kwnames[] = { | |
8045 | (char *) "self", NULL | |
8046 | }; | |
8047 | ||
8048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
8049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8050 | { | |
8051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8052 | result = (bool)(arg1)->IsActive(); | |
8053 | ||
8054 | wxPyEndAllowThreads(__tstate); | |
8055 | if (PyErr_Occurred()) SWIG_fail; | |
8056 | } | |
8057 | resultobj = PyInt_FromLong((long)result); | |
8058 | return resultobj; | |
8059 | fail: | |
8060 | return NULL; | |
8061 | } | |
8062 | ||
8063 | ||
8064 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8065 | PyObject *resultobj; | |
8066 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8067 | int result; | |
8068 | PyObject * obj0 = 0 ; | |
8069 | char *kwnames[] = { | |
8070 | (char *) "self", NULL | |
8071 | }; | |
8072 | ||
8073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
8074 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8075 | { | |
8076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8077 | result = (int)(arg1)->GetCurIndex(); | |
8078 | ||
8079 | wxPyEndAllowThreads(__tstate); | |
8080 | if (PyErr_Occurred()) SWIG_fail; | |
8081 | } | |
8082 | resultobj = PyInt_FromLong((long)result); | |
8083 | return resultobj; | |
8084 | fail: | |
8085 | return NULL; | |
8086 | } | |
8087 | ||
8088 | ||
8089 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8090 | PyObject *resultobj; | |
8091 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8092 | int result; | |
8093 | PyObject * obj0 = 0 ; | |
8094 | char *kwnames[] = { | |
8095 | (char *) "self", NULL | |
8096 | }; | |
8097 | ||
8098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
8099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8100 | { | |
8101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8102 | result = (int)(arg1)->GetMaxIndex(); | |
8103 | ||
8104 | wxPyEndAllowThreads(__tstate); | |
8105 | if (PyErr_Occurred()) SWIG_fail; | |
8106 | } | |
8107 | resultobj = PyInt_FromLong((long)result); | |
8108 | return resultobj; | |
8109 | fail: | |
8110 | return NULL; | |
8111 | } | |
8112 | ||
8113 | ||
8114 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8115 | PyObject *resultobj; | |
8116 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8117 | wxString *result; | |
8118 | PyObject * obj0 = 0 ; | |
8119 | char *kwnames[] = { | |
8120 | (char *) "self", NULL | |
8121 | }; | |
8122 | ||
8123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
8124 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8125 | { | |
8126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8127 | { | |
8128 | wxString const &_result_ref = (arg1)->GetName(); | |
8129 | result = (wxString *) &_result_ref; | |
8130 | } | |
8131 | ||
8132 | wxPyEndAllowThreads(__tstate); | |
8133 | if (PyErr_Occurred()) SWIG_fail; | |
8134 | } | |
cc6dd355 RD |
8135 | { |
8136 | #if wxUSE_UNICODE | |
8137 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
8138 | #else | |
8139 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
8140 | #endif | |
8141 | } | |
d14a1e28 RD |
8142 | return resultobj; |
8143 | fail: | |
8144 | return NULL; | |
8145 | } | |
8146 | ||
8147 | ||
8148 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8149 | PyObject *resultobj; | |
8150 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8151 | wxHtmlContentsItem *result; | |
8152 | PyObject * obj0 = 0 ; | |
8153 | char *kwnames[] = { | |
8154 | (char *) "self", NULL | |
8155 | }; | |
8156 | ||
8157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
8158 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8159 | { | |
8160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8161 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
8162 | ||
8163 | wxPyEndAllowThreads(__tstate); | |
8164 | if (PyErr_Occurred()) SWIG_fail; | |
8165 | } | |
8166 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8167 | return resultobj; | |
8168 | fail: | |
8169 | return NULL; | |
8170 | } | |
8171 | ||
8172 | ||
8173 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
8174 | PyObject *obj; | |
8175 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8176 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
8177 | Py_INCREF(obj); | |
8178 | return Py_BuildValue((char *)""); | |
8179 | } | |
8180 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8181 | PyObject *resultobj; | |
8182 | wxHtmlHelpData *result; | |
8183 | char *kwnames[] = { | |
8184 | NULL | |
8185 | }; | |
8186 | ||
8187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
8188 | { | |
8189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8190 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
8191 | ||
8192 | wxPyEndAllowThreads(__tstate); | |
8193 | if (PyErr_Occurred()) SWIG_fail; | |
8194 | } | |
8195 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1); | |
8196 | return resultobj; | |
8197 | fail: | |
8198 | return NULL; | |
8199 | } | |
8200 | ||
8201 | ||
8202 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8203 | PyObject *resultobj; | |
8204 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8205 | PyObject * obj0 = 0 ; | |
8206 | char *kwnames[] = { | |
8207 | (char *) "self", NULL | |
8208 | }; | |
8209 | ||
8210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
8211 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8212 | { | |
8213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8214 | delete arg1; | |
8215 | ||
8216 | wxPyEndAllowThreads(__tstate); | |
8217 | if (PyErr_Occurred()) SWIG_fail; | |
8218 | } | |
8219 | Py_INCREF(Py_None); resultobj = Py_None; | |
8220 | return resultobj; | |
8221 | fail: | |
8222 | return NULL; | |
8223 | } | |
8224 | ||
8225 | ||
8226 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8227 | PyObject *resultobj; | |
8228 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8229 | wxString *arg2 = 0 ; | |
e811c8ce | 8230 | bool temp2 = False ; |
d14a1e28 RD |
8231 | PyObject * obj0 = 0 ; |
8232 | PyObject * obj1 = 0 ; | |
8233 | char *kwnames[] = { | |
8234 | (char *) "self",(char *) "path", NULL | |
8235 | }; | |
8236 | ||
8237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8238 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8239 | { | |
8240 | arg2 = wxString_in_helper(obj1); | |
8241 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8242 | temp2 = True; |
d14a1e28 RD |
8243 | } |
8244 | { | |
8245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8246 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8247 | ||
8248 | wxPyEndAllowThreads(__tstate); | |
8249 | if (PyErr_Occurred()) SWIG_fail; | |
8250 | } | |
8251 | Py_INCREF(Py_None); resultobj = Py_None; | |
8252 | { | |
8253 | if (temp2) | |
8254 | delete arg2; | |
8255 | } | |
8256 | return resultobj; | |
8257 | fail: | |
8258 | { | |
8259 | if (temp2) | |
8260 | delete arg2; | |
8261 | } | |
8262 | return NULL; | |
8263 | } | |
8264 | ||
8265 | ||
8266 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8267 | PyObject *resultobj; | |
8268 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8269 | wxString *arg2 = 0 ; | |
8270 | bool result; | |
e811c8ce | 8271 | bool temp2 = False ; |
d14a1e28 RD |
8272 | PyObject * obj0 = 0 ; |
8273 | PyObject * obj1 = 0 ; | |
8274 | char *kwnames[] = { | |
8275 | (char *) "self",(char *) "book", NULL | |
8276 | }; | |
8277 | ||
8278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
8279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8280 | { | |
8281 | arg2 = wxString_in_helper(obj1); | |
8282 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8283 | temp2 = True; |
d14a1e28 RD |
8284 | } |
8285 | { | |
8286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8287 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
8288 | ||
8289 | wxPyEndAllowThreads(__tstate); | |
8290 | if (PyErr_Occurred()) SWIG_fail; | |
8291 | } | |
8292 | resultobj = PyInt_FromLong((long)result); | |
8293 | { | |
8294 | if (temp2) | |
8295 | delete arg2; | |
8296 | } | |
8297 | return resultobj; | |
8298 | fail: | |
8299 | { | |
8300 | if (temp2) | |
8301 | delete arg2; | |
8302 | } | |
8303 | return NULL; | |
8304 | } | |
8305 | ||
8306 | ||
8307 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8308 | PyObject *resultobj; | |
8309 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8310 | wxString *arg2 = 0 ; | |
8311 | wxString result; | |
e811c8ce | 8312 | bool temp2 = False ; |
d14a1e28 RD |
8313 | PyObject * obj0 = 0 ; |
8314 | PyObject * obj1 = 0 ; | |
8315 | char *kwnames[] = { | |
8316 | (char *) "self",(char *) "page", NULL | |
8317 | }; | |
8318 | ||
8319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
8320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8321 | { | |
8322 | arg2 = wxString_in_helper(obj1); | |
8323 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8324 | temp2 = True; |
d14a1e28 RD |
8325 | } |
8326 | { | |
8327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8328 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
8329 | ||
8330 | wxPyEndAllowThreads(__tstate); | |
8331 | if (PyErr_Occurred()) SWIG_fail; | |
8332 | } | |
8333 | { | |
8334 | #if wxUSE_UNICODE | |
8335 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8336 | #else | |
8337 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8338 | #endif | |
8339 | } | |
8340 | { | |
8341 | if (temp2) | |
8342 | delete arg2; | |
8343 | } | |
8344 | return resultobj; | |
8345 | fail: | |
8346 | { | |
8347 | if (temp2) | |
8348 | delete arg2; | |
8349 | } | |
8350 | return NULL; | |
8351 | } | |
8352 | ||
8353 | ||
8354 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8355 | PyObject *resultobj; | |
8356 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8357 | int arg2 ; | |
8358 | wxString result; | |
8359 | PyObject * obj0 = 0 ; | |
8360 | char *kwnames[] = { | |
8361 | (char *) "self",(char *) "id", NULL | |
8362 | }; | |
8363 | ||
8364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpData_FindPageById",kwnames,&obj0,&arg2)) goto fail; | |
8365 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8366 | { | |
8367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8368 | result = (arg1)->FindPageById(arg2); | |
8369 | ||
8370 | wxPyEndAllowThreads(__tstate); | |
8371 | if (PyErr_Occurred()) SWIG_fail; | |
8372 | } | |
8373 | { | |
8374 | #if wxUSE_UNICODE | |
8375 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8376 | #else | |
8377 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8378 | #endif | |
8379 | } | |
8380 | return resultobj; | |
8381 | fail: | |
8382 | return NULL; | |
8383 | } | |
8384 | ||
8385 | ||
8386 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8387 | PyObject *resultobj; | |
8388 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8389 | wxHtmlBookRecArray *result; | |
8390 | PyObject * obj0 = 0 ; | |
8391 | char *kwnames[] = { | |
8392 | (char *) "self", NULL | |
8393 | }; | |
8394 | ||
8395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
8396 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8397 | { | |
8398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8399 | { | |
8400 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
8401 | result = (wxHtmlBookRecArray *) &_result_ref; | |
8402 | } | |
8403 | ||
8404 | wxPyEndAllowThreads(__tstate); | |
8405 | if (PyErr_Occurred()) SWIG_fail; | |
8406 | } | |
8407 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
8408 | return resultobj; | |
8409 | fail: | |
8410 | return NULL; | |
8411 | } | |
8412 | ||
8413 | ||
8414 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8415 | PyObject *resultobj; | |
8416 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8417 | wxHtmlContentsItem *result; | |
8418 | PyObject * obj0 = 0 ; | |
8419 | char *kwnames[] = { | |
8420 | (char *) "self", NULL | |
8421 | }; | |
8422 | ||
8423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
8424 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8425 | { | |
8426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8427 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
8428 | ||
8429 | wxPyEndAllowThreads(__tstate); | |
8430 | if (PyErr_Occurred()) SWIG_fail; | |
8431 | } | |
8432 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8433 | return resultobj; | |
8434 | fail: | |
8435 | return NULL; | |
8436 | } | |
8437 | ||
8438 | ||
8439 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8440 | PyObject *resultobj; | |
8441 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8442 | int result; | |
8443 | PyObject * obj0 = 0 ; | |
8444 | char *kwnames[] = { | |
8445 | (char *) "self", NULL | |
8446 | }; | |
8447 | ||
8448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
8449 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8450 | { | |
8451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8452 | result = (int)(arg1)->GetContentsCnt(); | |
8453 | ||
8454 | wxPyEndAllowThreads(__tstate); | |
8455 | if (PyErr_Occurred()) SWIG_fail; | |
8456 | } | |
8457 | resultobj = PyInt_FromLong((long)result); | |
8458 | return resultobj; | |
8459 | fail: | |
8460 | return NULL; | |
8461 | } | |
8462 | ||
8463 | ||
8464 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8465 | PyObject *resultobj; | |
8466 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8467 | wxHtmlContentsItem *result; | |
8468 | PyObject * obj0 = 0 ; | |
8469 | char *kwnames[] = { | |
8470 | (char *) "self", NULL | |
8471 | }; | |
8472 | ||
8473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
8474 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8475 | { | |
8476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8477 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
8478 | ||
8479 | wxPyEndAllowThreads(__tstate); | |
8480 | if (PyErr_Occurred()) SWIG_fail; | |
8481 | } | |
8482 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8483 | return resultobj; | |
8484 | fail: | |
8485 | return NULL; | |
8486 | } | |
8487 | ||
8488 | ||
8489 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8490 | PyObject *resultobj; | |
8491 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8492 | int result; | |
8493 | PyObject * obj0 = 0 ; | |
8494 | char *kwnames[] = { | |
8495 | (char *) "self", NULL | |
8496 | }; | |
8497 | ||
8498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
8499 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8500 | { | |
8501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8502 | result = (int)(arg1)->GetIndexCnt(); | |
8503 | ||
8504 | wxPyEndAllowThreads(__tstate); | |
8505 | if (PyErr_Occurred()) SWIG_fail; | |
8506 | } | |
8507 | resultobj = PyInt_FromLong((long)result); | |
8508 | return resultobj; | |
8509 | fail: | |
8510 | return NULL; | |
8511 | } | |
8512 | ||
8513 | ||
8514 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
8515 | PyObject *obj; | |
8516 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8517 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
8518 | Py_INCREF(obj); | |
8519 | return Py_BuildValue((char *)""); | |
8520 | } | |
8521 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8522 | PyObject *resultobj; | |
8523 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8524 | int arg2 ; | |
8525 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8526 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8527 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
8528 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
8529 | wxHtmlHelpFrame *result; | |
e811c8ce | 8530 | bool temp3 = False ; |
d14a1e28 RD |
8531 | PyObject * obj0 = 0 ; |
8532 | PyObject * obj2 = 0 ; | |
8533 | PyObject * obj4 = 0 ; | |
8534 | char *kwnames[] = { | |
e811c8ce | 8535 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL |
d14a1e28 RD |
8536 | }; |
8537 | ||
8538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail; | |
8539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8540 | if (obj2) { | |
8541 | { | |
8542 | arg3 = wxString_in_helper(obj2); | |
8543 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8544 | temp3 = True; |
d14a1e28 RD |
8545 | } |
8546 | } | |
8547 | if (obj4) { | |
8548 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8549 | } | |
8550 | { | |
8551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8552 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
8553 | ||
8554 | wxPyEndAllowThreads(__tstate); | |
8555 | if (PyErr_Occurred()) SWIG_fail; | |
8556 | } | |
8557 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
8558 | { | |
8559 | if (temp3) | |
8560 | delete arg3; | |
8561 | } | |
8562 | return resultobj; | |
8563 | fail: | |
8564 | { | |
8565 | if (temp3) | |
8566 | delete arg3; | |
8567 | } | |
8568 | return NULL; | |
8569 | } | |
8570 | ||
8571 | ||
8572 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8573 | PyObject *resultobj; | |
8574 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8575 | wxHtmlHelpData *result; | |
8576 | PyObject * obj0 = 0 ; | |
8577 | char *kwnames[] = { | |
8578 | (char *) "self", NULL | |
8579 | }; | |
8580 | ||
8581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
8582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8583 | { | |
8584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8585 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
8586 | ||
8587 | wxPyEndAllowThreads(__tstate); | |
8588 | if (PyErr_Occurred()) SWIG_fail; | |
8589 | } | |
8590 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0); | |
8591 | return resultobj; | |
8592 | fail: | |
8593 | return NULL; | |
8594 | } | |
8595 | ||
8596 | ||
8597 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8598 | PyObject *resultobj; | |
8599 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8600 | wxString *arg2 = 0 ; | |
e811c8ce | 8601 | bool temp2 = False ; |
d14a1e28 RD |
8602 | PyObject * obj0 = 0 ; |
8603 | PyObject * obj1 = 0 ; | |
8604 | char *kwnames[] = { | |
8605 | (char *) "self",(char *) "format", NULL | |
8606 | }; | |
8607 | ||
8608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8609 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8610 | { | |
8611 | arg2 = wxString_in_helper(obj1); | |
8612 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8613 | temp2 = True; |
d14a1e28 RD |
8614 | } |
8615 | { | |
8616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8617 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8618 | ||
8619 | wxPyEndAllowThreads(__tstate); | |
8620 | if (PyErr_Occurred()) SWIG_fail; | |
8621 | } | |
8622 | Py_INCREF(Py_None); resultobj = Py_None; | |
8623 | { | |
8624 | if (temp2) | |
8625 | delete arg2; | |
8626 | } | |
8627 | return resultobj; | |
8628 | fail: | |
8629 | { | |
8630 | if (temp2) | |
8631 | delete arg2; | |
8632 | } | |
8633 | return NULL; | |
8634 | } | |
8635 | ||
8636 | ||
8637 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8638 | PyObject *resultobj; | |
8639 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8640 | wxString *arg2 = 0 ; | |
e811c8ce | 8641 | bool temp2 = False ; |
d14a1e28 RD |
8642 | PyObject * obj0 = 0 ; |
8643 | PyObject * obj1 = 0 ; | |
8644 | char *kwnames[] = { | |
8645 | (char *) "self",(char *) "x", NULL | |
8646 | }; | |
8647 | ||
8648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
8649 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8650 | { | |
8651 | arg2 = wxString_in_helper(obj1); | |
8652 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8653 | temp2 = True; |
d14a1e28 RD |
8654 | } |
8655 | { | |
8656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8657 | (arg1)->Display((wxString const &)*arg2); | |
8658 | ||
8659 | wxPyEndAllowThreads(__tstate); | |
8660 | if (PyErr_Occurred()) SWIG_fail; | |
8661 | } | |
8662 | Py_INCREF(Py_None); resultobj = Py_None; | |
8663 | { | |
8664 | if (temp2) | |
8665 | delete arg2; | |
8666 | } | |
8667 | return resultobj; | |
8668 | fail: | |
8669 | { | |
8670 | if (temp2) | |
8671 | delete arg2; | |
8672 | } | |
8673 | return NULL; | |
8674 | } | |
8675 | ||
8676 | ||
8677 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8678 | PyObject *resultobj; | |
8679 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8680 | int arg2 ; | |
8681 | PyObject * obj0 = 0 ; | |
8682 | char *kwnames[] = { | |
8683 | (char *) "self",(char *) "id", NULL | |
8684 | }; | |
8685 | ||
8686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpFrame_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
8687 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8688 | { | |
8689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8690 | (arg1)->Display(arg2); | |
8691 | ||
8692 | wxPyEndAllowThreads(__tstate); | |
8693 | if (PyErr_Occurred()) SWIG_fail; | |
8694 | } | |
8695 | Py_INCREF(Py_None); resultobj = Py_None; | |
8696 | return resultobj; | |
8697 | fail: | |
8698 | return NULL; | |
8699 | } | |
8700 | ||
8701 | ||
8702 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8703 | PyObject *resultobj; | |
8704 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8705 | PyObject * obj0 = 0 ; | |
8706 | char *kwnames[] = { | |
8707 | (char *) "self", NULL | |
8708 | }; | |
8709 | ||
8710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
8711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8712 | { | |
8713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8714 | (arg1)->DisplayContents(); | |
8715 | ||
8716 | wxPyEndAllowThreads(__tstate); | |
8717 | if (PyErr_Occurred()) SWIG_fail; | |
8718 | } | |
8719 | Py_INCREF(Py_None); resultobj = Py_None; | |
8720 | return resultobj; | |
8721 | fail: | |
8722 | return NULL; | |
8723 | } | |
8724 | ||
8725 | ||
8726 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8727 | PyObject *resultobj; | |
8728 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8729 | PyObject * obj0 = 0 ; | |
8730 | char *kwnames[] = { | |
8731 | (char *) "self", NULL | |
8732 | }; | |
8733 | ||
8734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
8735 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8736 | { | |
8737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8738 | (arg1)->DisplayIndex(); | |
8739 | ||
8740 | wxPyEndAllowThreads(__tstate); | |
8741 | if (PyErr_Occurred()) SWIG_fail; | |
8742 | } | |
8743 | Py_INCREF(Py_None); resultobj = Py_None; | |
8744 | return resultobj; | |
8745 | fail: | |
8746 | return NULL; | |
8747 | } | |
8748 | ||
8749 | ||
8750 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8751 | PyObject *resultobj; | |
8752 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8753 | wxString *arg2 = 0 ; | |
8754 | bool result; | |
e811c8ce | 8755 | bool temp2 = False ; |
d14a1e28 RD |
8756 | PyObject * obj0 = 0 ; |
8757 | PyObject * obj1 = 0 ; | |
8758 | char *kwnames[] = { | |
8759 | (char *) "self",(char *) "keyword", NULL | |
8760 | }; | |
8761 | ||
8762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
8763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8764 | { | |
8765 | arg2 = wxString_in_helper(obj1); | |
8766 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8767 | temp2 = True; |
d14a1e28 RD |
8768 | } |
8769 | { | |
8770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8771 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
8772 | ||
8773 | wxPyEndAllowThreads(__tstate); | |
8774 | if (PyErr_Occurred()) SWIG_fail; | |
8775 | } | |
8776 | resultobj = PyInt_FromLong((long)result); | |
8777 | { | |
8778 | if (temp2) | |
8779 | delete arg2; | |
8780 | } | |
8781 | return resultobj; | |
8782 | fail: | |
8783 | { | |
8784 | if (temp2) | |
8785 | delete arg2; | |
8786 | } | |
8787 | return NULL; | |
8788 | } | |
8789 | ||
8790 | ||
8791 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8792 | PyObject *resultobj; | |
8793 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8794 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8795 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8796 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce | 8797 | bool temp3 = False ; |
d14a1e28 RD |
8798 | PyObject * obj0 = 0 ; |
8799 | PyObject * obj1 = 0 ; | |
8800 | PyObject * obj2 = 0 ; | |
8801 | char *kwnames[] = { | |
8802 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
8803 | }; | |
8804 | ||
8805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8806 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8807 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8808 | if (obj2) { | |
8809 | { | |
8810 | arg3 = wxString_in_helper(obj2); | |
8811 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8812 | temp3 = True; |
d14a1e28 RD |
8813 | } |
8814 | } | |
8815 | { | |
8816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8817 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
8818 | ||
8819 | wxPyEndAllowThreads(__tstate); | |
8820 | if (PyErr_Occurred()) SWIG_fail; | |
8821 | } | |
8822 | Py_INCREF(Py_None); resultobj = Py_None; | |
8823 | { | |
8824 | if (temp3) | |
8825 | delete arg3; | |
8826 | } | |
8827 | return resultobj; | |
8828 | fail: | |
8829 | { | |
8830 | if (temp3) | |
8831 | delete arg3; | |
8832 | } | |
8833 | return NULL; | |
8834 | } | |
8835 | ||
8836 | ||
8837 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8838 | PyObject *resultobj; | |
8839 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8840 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8841 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8842 | PyObject * obj0 = 0 ; |
8843 | PyObject * obj1 = 0 ; | |
8844 | PyObject * obj2 = 0 ; | |
8845 | char *kwnames[] = { | |
8846 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8847 | }; | |
8848 | ||
8849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8851 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8852 | if (obj2) { | |
e811c8ce RD |
8853 | { |
8854 | wxString* sptr = wxString_in_helper(obj2); | |
8855 | if (sptr == NULL) SWIG_fail; | |
8856 | arg3 = *sptr; | |
8857 | delete sptr; | |
8858 | } | |
d14a1e28 RD |
8859 | } |
8860 | { | |
8861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8862 | (arg1)->ReadCustomization(arg2,arg3); | |
8863 | ||
8864 | wxPyEndAllowThreads(__tstate); | |
8865 | if (PyErr_Occurred()) SWIG_fail; | |
8866 | } | |
8867 | Py_INCREF(Py_None); resultobj = Py_None; | |
8868 | return resultobj; | |
8869 | fail: | |
8870 | return NULL; | |
8871 | } | |
8872 | ||
8873 | ||
8874 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8875 | PyObject *resultobj; | |
8876 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8877 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8878 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8879 | PyObject * obj0 = 0 ; |
8880 | PyObject * obj1 = 0 ; | |
8881 | PyObject * obj2 = 0 ; | |
8882 | char *kwnames[] = { | |
8883 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8884 | }; | |
8885 | ||
8886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8887 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8888 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8889 | if (obj2) { | |
e811c8ce RD |
8890 | { |
8891 | wxString* sptr = wxString_in_helper(obj2); | |
8892 | if (sptr == NULL) SWIG_fail; | |
8893 | arg3 = *sptr; | |
8894 | delete sptr; | |
8895 | } | |
d14a1e28 RD |
8896 | } |
8897 | { | |
8898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8899 | (arg1)->WriteCustomization(arg2,arg3); | |
8900 | ||
8901 | wxPyEndAllowThreads(__tstate); | |
8902 | if (PyErr_Occurred()) SWIG_fail; | |
8903 | } | |
8904 | Py_INCREF(Py_None); resultobj = Py_None; | |
8905 | return resultobj; | |
8906 | fail: | |
8907 | return NULL; | |
8908 | } | |
8909 | ||
8910 | ||
8911 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
8912 | PyObject *obj; | |
8913 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8914 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
8915 | Py_INCREF(obj); | |
8916 | return Py_BuildValue((char *)""); | |
8917 | } | |
8918 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8919 | PyObject *resultobj; | |
8920 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
8921 | wxHtmlHelpController *result; | |
8922 | char *kwnames[] = { | |
8923 | (char *) "style", NULL | |
8924 | }; | |
8925 | ||
8926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_HtmlHelpController",kwnames,&arg1)) goto fail; | |
8927 | { | |
8928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8929 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
8930 | ||
8931 | wxPyEndAllowThreads(__tstate); | |
8932 | if (PyErr_Occurred()) SWIG_fail; | |
8933 | } | |
8934 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1); | |
8935 | return resultobj; | |
8936 | fail: | |
8937 | return NULL; | |
8938 | } | |
8939 | ||
8940 | ||
8941 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8942 | PyObject *resultobj; | |
8943 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8944 | PyObject * obj0 = 0 ; | |
8945 | char *kwnames[] = { | |
8946 | (char *) "self", NULL | |
8947 | }; | |
8948 | ||
8949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
8950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8951 | { | |
8952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8953 | delete arg1; | |
8954 | ||
8955 | wxPyEndAllowThreads(__tstate); | |
8956 | if (PyErr_Occurred()) SWIG_fail; | |
8957 | } | |
8958 | Py_INCREF(Py_None); resultobj = Py_None; | |
8959 | return resultobj; | |
8960 | fail: | |
8961 | return NULL; | |
8962 | } | |
8963 | ||
8964 | ||
8965 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8966 | PyObject *resultobj; | |
8967 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8968 | wxString *arg2 = 0 ; | |
e811c8ce | 8969 | bool temp2 = False ; |
d14a1e28 RD |
8970 | PyObject * obj0 = 0 ; |
8971 | PyObject * obj1 = 0 ; | |
8972 | char *kwnames[] = { | |
8973 | (char *) "self",(char *) "format", NULL | |
8974 | }; | |
8975 | ||
8976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8977 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8978 | { | |
8979 | arg2 = wxString_in_helper(obj1); | |
8980 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8981 | temp2 = True; |
d14a1e28 RD |
8982 | } |
8983 | { | |
8984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8985 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8986 | ||
8987 | wxPyEndAllowThreads(__tstate); | |
8988 | if (PyErr_Occurred()) SWIG_fail; | |
8989 | } | |
8990 | Py_INCREF(Py_None); resultobj = Py_None; | |
8991 | { | |
8992 | if (temp2) | |
8993 | delete arg2; | |
8994 | } | |
8995 | return resultobj; | |
8996 | fail: | |
8997 | { | |
8998 | if (temp2) | |
8999 | delete arg2; | |
9000 | } | |
9001 | return NULL; | |
9002 | } | |
9003 | ||
9004 | ||
9005 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9006 | PyObject *resultobj; | |
9007 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9008 | wxString *arg2 = 0 ; | |
e811c8ce | 9009 | bool temp2 = False ; |
d14a1e28 RD |
9010 | PyObject * obj0 = 0 ; |
9011 | PyObject * obj1 = 0 ; | |
9012 | char *kwnames[] = { | |
9013 | (char *) "self",(char *) "path", NULL | |
9014 | }; | |
9015 | ||
9016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
9017 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9018 | { | |
9019 | arg2 = wxString_in_helper(obj1); | |
9020 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9021 | temp2 = True; |
d14a1e28 RD |
9022 | } |
9023 | { | |
9024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9025 | (arg1)->SetTempDir((wxString const &)*arg2); | |
9026 | ||
9027 | wxPyEndAllowThreads(__tstate); | |
9028 | if (PyErr_Occurred()) SWIG_fail; | |
9029 | } | |
9030 | Py_INCREF(Py_None); resultobj = Py_None; | |
9031 | { | |
9032 | if (temp2) | |
9033 | delete arg2; | |
9034 | } | |
9035 | return resultobj; | |
9036 | fail: | |
9037 | { | |
9038 | if (temp2) | |
9039 | delete arg2; | |
9040 | } | |
9041 | return NULL; | |
9042 | } | |
9043 | ||
9044 | ||
9045 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9046 | PyObject *resultobj; | |
9047 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9048 | wxString *arg2 = 0 ; | |
e811c8ce | 9049 | int arg3 = (int) False ; |
d14a1e28 | 9050 | bool result; |
e811c8ce | 9051 | bool temp2 = False ; |
d14a1e28 RD |
9052 | PyObject * obj0 = 0 ; |
9053 | PyObject * obj1 = 0 ; | |
9054 | char *kwnames[] = { | |
9055 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
9056 | }; | |
9057 | ||
9058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
9059 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9060 | { | |
9061 | arg2 = wxString_in_helper(obj1); | |
9062 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9063 | temp2 = True; |
d14a1e28 RD |
9064 | } |
9065 | { | |
9066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9067 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
9068 | ||
9069 | wxPyEndAllowThreads(__tstate); | |
9070 | if (PyErr_Occurred()) SWIG_fail; | |
9071 | } | |
9072 | resultobj = PyInt_FromLong((long)result); | |
9073 | { | |
9074 | if (temp2) | |
9075 | delete arg2; | |
9076 | } | |
9077 | return resultobj; | |
9078 | fail: | |
9079 | { | |
9080 | if (temp2) | |
9081 | delete arg2; | |
9082 | } | |
9083 | return NULL; | |
9084 | } | |
9085 | ||
9086 | ||
9087 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9088 | PyObject *resultobj; | |
9089 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9090 | wxString *arg2 = 0 ; | |
e811c8ce | 9091 | bool temp2 = False ; |
d14a1e28 RD |
9092 | PyObject * obj0 = 0 ; |
9093 | PyObject * obj1 = 0 ; | |
9094 | char *kwnames[] = { | |
9095 | (char *) "self",(char *) "x", NULL | |
9096 | }; | |
9097 | ||
9098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
9099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9100 | { | |
9101 | arg2 = wxString_in_helper(obj1); | |
9102 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9103 | temp2 = True; |
d14a1e28 RD |
9104 | } |
9105 | { | |
9106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9107 | (arg1)->Display((wxString const &)*arg2); | |
9108 | ||
9109 | wxPyEndAllowThreads(__tstate); | |
9110 | if (PyErr_Occurred()) SWIG_fail; | |
9111 | } | |
9112 | Py_INCREF(Py_None); resultobj = Py_None; | |
9113 | { | |
9114 | if (temp2) | |
9115 | delete arg2; | |
9116 | } | |
9117 | return resultobj; | |
9118 | fail: | |
9119 | { | |
9120 | if (temp2) | |
9121 | delete arg2; | |
9122 | } | |
9123 | return NULL; | |
9124 | } | |
9125 | ||
9126 | ||
9127 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9128 | PyObject *resultobj; | |
9129 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9130 | int arg2 ; | |
9131 | PyObject * obj0 = 0 ; | |
9132 | char *kwnames[] = { | |
9133 | (char *) "self",(char *) "id", NULL | |
9134 | }; | |
9135 | ||
9136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpController_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
9137 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9138 | { | |
9139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9140 | (arg1)->Display(arg2); | |
9141 | ||
9142 | wxPyEndAllowThreads(__tstate); | |
9143 | if (PyErr_Occurred()) SWIG_fail; | |
9144 | } | |
9145 | Py_INCREF(Py_None); resultobj = Py_None; | |
9146 | return resultobj; | |
9147 | fail: | |
9148 | return NULL; | |
9149 | } | |
9150 | ||
9151 | ||
9152 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9153 | PyObject *resultobj; | |
9154 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9155 | PyObject * obj0 = 0 ; | |
9156 | char *kwnames[] = { | |
9157 | (char *) "self", NULL | |
9158 | }; | |
9159 | ||
9160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
9161 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9162 | { | |
9163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9164 | (arg1)->DisplayContents(); | |
9165 | ||
9166 | wxPyEndAllowThreads(__tstate); | |
9167 | if (PyErr_Occurred()) SWIG_fail; | |
9168 | } | |
9169 | Py_INCREF(Py_None); resultobj = Py_None; | |
9170 | return resultobj; | |
9171 | fail: | |
9172 | return NULL; | |
9173 | } | |
9174 | ||
9175 | ||
9176 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9177 | PyObject *resultobj; | |
9178 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9179 | PyObject * obj0 = 0 ; | |
9180 | char *kwnames[] = { | |
9181 | (char *) "self", NULL | |
9182 | }; | |
9183 | ||
9184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
9185 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9186 | { | |
9187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9188 | (arg1)->DisplayIndex(); | |
9189 | ||
9190 | wxPyEndAllowThreads(__tstate); | |
9191 | if (PyErr_Occurred()) SWIG_fail; | |
9192 | } | |
9193 | Py_INCREF(Py_None); resultobj = Py_None; | |
9194 | return resultobj; | |
9195 | fail: | |
9196 | return NULL; | |
9197 | } | |
9198 | ||
9199 | ||
9200 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9201 | PyObject *resultobj; | |
9202 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9203 | wxString *arg2 = 0 ; | |
9204 | bool result; | |
e811c8ce | 9205 | bool temp2 = False ; |
d14a1e28 RD |
9206 | PyObject * obj0 = 0 ; |
9207 | PyObject * obj1 = 0 ; | |
9208 | char *kwnames[] = { | |
9209 | (char *) "self",(char *) "keyword", NULL | |
9210 | }; | |
9211 | ||
9212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
9213 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9214 | { | |
9215 | arg2 = wxString_in_helper(obj1); | |
9216 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9217 | temp2 = True; |
d14a1e28 RD |
9218 | } |
9219 | { | |
9220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9221 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
9222 | ||
9223 | wxPyEndAllowThreads(__tstate); | |
9224 | if (PyErr_Occurred()) SWIG_fail; | |
9225 | } | |
9226 | resultobj = PyInt_FromLong((long)result); | |
9227 | { | |
9228 | if (temp2) | |
9229 | delete arg2; | |
9230 | } | |
9231 | return resultobj; | |
9232 | fail: | |
9233 | { | |
9234 | if (temp2) | |
9235 | delete arg2; | |
9236 | } | |
9237 | return NULL; | |
9238 | } | |
9239 | ||
9240 | ||
9241 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9242 | PyObject *resultobj; | |
9243 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9244 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9245 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9246 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce | 9247 | bool temp3 = False ; |
d14a1e28 RD |
9248 | PyObject * obj0 = 0 ; |
9249 | PyObject * obj1 = 0 ; | |
9250 | PyObject * obj2 = 0 ; | |
9251 | char *kwnames[] = { | |
9252 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
9253 | }; | |
9254 | ||
9255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9256 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9257 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9258 | if (obj2) { | |
9259 | { | |
9260 | arg3 = wxString_in_helper(obj2); | |
9261 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 9262 | temp3 = True; |
d14a1e28 RD |
9263 | } |
9264 | } | |
9265 | { | |
9266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9267 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
9268 | ||
9269 | wxPyEndAllowThreads(__tstate); | |
9270 | if (PyErr_Occurred()) SWIG_fail; | |
9271 | } | |
9272 | Py_INCREF(Py_None); resultobj = Py_None; | |
9273 | { | |
9274 | if (temp3) | |
9275 | delete arg3; | |
9276 | } | |
9277 | return resultobj; | |
9278 | fail: | |
9279 | { | |
9280 | if (temp3) | |
9281 | delete arg3; | |
9282 | } | |
9283 | return NULL; | |
9284 | } | |
9285 | ||
9286 | ||
9287 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9288 | PyObject *resultobj; | |
9289 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9290 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9291 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
9292 | PyObject * obj0 = 0 ; |
9293 | PyObject * obj1 = 0 ; | |
9294 | PyObject * obj2 = 0 ; | |
9295 | char *kwnames[] = { | |
9296 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9297 | }; | |
9298 | ||
9299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9300 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9301 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9302 | if (obj2) { | |
e811c8ce RD |
9303 | { |
9304 | wxString* sptr = wxString_in_helper(obj2); | |
9305 | if (sptr == NULL) SWIG_fail; | |
9306 | arg3 = *sptr; | |
9307 | delete sptr; | |
9308 | } | |
d14a1e28 RD |
9309 | } |
9310 | { | |
9311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9312 | (arg1)->ReadCustomization(arg2,arg3); | |
9313 | ||
9314 | wxPyEndAllowThreads(__tstate); | |
9315 | if (PyErr_Occurred()) SWIG_fail; | |
9316 | } | |
9317 | Py_INCREF(Py_None); resultobj = Py_None; | |
9318 | return resultobj; | |
9319 | fail: | |
9320 | return NULL; | |
9321 | } | |
9322 | ||
9323 | ||
9324 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9325 | PyObject *resultobj; | |
9326 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9327 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9328 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
9329 | PyObject * obj0 = 0 ; |
9330 | PyObject * obj1 = 0 ; | |
9331 | PyObject * obj2 = 0 ; | |
9332 | char *kwnames[] = { | |
9333 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9334 | }; | |
9335 | ||
9336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9337 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9338 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9339 | if (obj2) { | |
e811c8ce RD |
9340 | { |
9341 | wxString* sptr = wxString_in_helper(obj2); | |
9342 | if (sptr == NULL) SWIG_fail; | |
9343 | arg3 = *sptr; | |
9344 | delete sptr; | |
9345 | } | |
d14a1e28 RD |
9346 | } |
9347 | { | |
9348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9349 | (arg1)->WriteCustomization(arg2,arg3); | |
9350 | ||
9351 | wxPyEndAllowThreads(__tstate); | |
9352 | if (PyErr_Occurred()) SWIG_fail; | |
9353 | } | |
9354 | Py_INCREF(Py_None); resultobj = Py_None; | |
9355 | return resultobj; | |
9356 | fail: | |
9357 | return NULL; | |
9358 | } | |
9359 | ||
9360 | ||
9361 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9362 | PyObject *resultobj; | |
9363 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9364 | wxHtmlHelpFrame *result; | |
9365 | PyObject * obj0 = 0 ; | |
9366 | char *kwnames[] = { | |
9367 | (char *) "self", NULL | |
9368 | }; | |
9369 | ||
9370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
9371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9372 | { | |
9373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9374 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
9375 | ||
9376 | wxPyEndAllowThreads(__tstate); | |
9377 | if (PyErr_Occurred()) SWIG_fail; | |
9378 | } | |
9379 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
9380 | return resultobj; | |
9381 | fail: | |
9382 | return NULL; | |
9383 | } | |
9384 | ||
9385 | ||
9386 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
9387 | PyObject *obj; | |
9388 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9389 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
9390 | Py_INCREF(obj); | |
9391 | return Py_BuildValue((char *)""); | |
9392 | } | |
9393 | static PyMethodDef SwigMethods[] = { | |
9394 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
9395 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
9396 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
9397 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9398 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9399 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9400 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9401 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
9402 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9403 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
9404 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
9405 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
9406 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
9407 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
9408 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
9409 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
9410 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
9411 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
9412 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
9413 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
9414 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
9415 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
9416 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
9417 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
9418 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9419 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
9420 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9421 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9422 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
9423 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
9424 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9425 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
9426 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
9427 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
9428 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
9429 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9430 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9431 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
9432 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9433 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
9434 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9435 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9436 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9437 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9438 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9439 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9440 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9441 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9442 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9443 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9444 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9445 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9446 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9447 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9448 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9449 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9450 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9451 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
9452 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9453 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
9454 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9455 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9456 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9457 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9458 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9459 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
9460 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9461 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9462 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9463 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9464 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9465 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
9466 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9467 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9468 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9469 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
9470 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
9471 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
9472 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
9473 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
9474 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
9475 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9476 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9477 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9478 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9479 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9480 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
9481 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
9482 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9483 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9484 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9485 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9486 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9487 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9488 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9489 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9490 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
9491 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9492 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9493 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9494 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9495 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9496 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9497 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9498 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9499 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9500 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9501 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9502 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9503 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
9504 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
9505 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9506 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
9507 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
9508 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
9509 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
9510 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
9511 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9512 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
9513 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
9514 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9515 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
9516 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
9517 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9518 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
9519 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
9520 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
9521 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
9522 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
9523 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
9524 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
9525 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9526 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9527 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
9528 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
9529 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
9530 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
9531 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9532 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9533 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
9534 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
9535 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
9536 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
9537 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
9538 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
9539 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
9540 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
9541 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9542 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9543 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9544 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9545 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9546 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9547 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
9548 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9549 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
9550 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
9551 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
9552 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9553 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9554 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
9555 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9556 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
9557 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
9558 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
9559 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
9560 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
9561 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
9562 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
9563 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
9564 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9565 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
9566 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9567 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9568 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
9569 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9570 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
9571 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
9572 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
9573 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
9574 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
9575 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9576 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
9577 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9578 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9579 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
9580 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9581 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9582 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
9583 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9584 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9585 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
9586 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
9587 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
9588 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
9589 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
9590 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
9591 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9592 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9593 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9594 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9595 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
9596 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9597 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
9598 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
9599 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
9600 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9601 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9602 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9603 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
9604 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9605 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9606 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
9607 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
9608 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
9609 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
9610 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9611 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
9612 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9613 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9614 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9615 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
9616 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9617 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
9618 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
9619 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9620 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9621 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
9622 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
9623 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
9624 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
9625 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
9626 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
9627 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9628 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9629 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9630 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
9631 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
9632 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
9633 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
9634 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
9635 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9636 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
9637 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9638 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
9639 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
9640 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
9641 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9642 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9643 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
9644 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
9645 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
9646 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
9647 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
9648 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9649 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
9650 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
9651 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
9652 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
9653 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
9654 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
9655 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
9656 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9657 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
9658 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
9659 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9660 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9661 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9662 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9663 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
9664 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
9665 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
9666 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
9667 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
9668 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
9669 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
9670 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
9671 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
9672 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
9673 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9674 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
9675 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9676 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9677 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9678 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9679 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9680 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9681 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9682 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
9683 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9684 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9685 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9686 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9687 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9688 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
9689 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9690 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9691 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9692 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9693 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9694 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9695 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9696 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
9697 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
9698 | { NULL, NULL } | |
9699 | }; | |
9700 | ||
9701 | ||
9702 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
9703 | ||
9704 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
9705 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
9706 | } | |
9707 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
9708 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
9709 | } | |
9710 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
9711 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
9712 | } | |
9713 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
9714 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9715 | } | |
9716 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
9717 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9718 | } | |
9719 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
9720 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9721 | } | |
9722 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
9723 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9724 | } | |
9725 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
9726 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
9727 | } | |
9728 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
9729 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9730 | } | |
9731 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
9732 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
9733 | } | |
9734 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
9735 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9736 | } | |
9737 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
9738 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9739 | } | |
9740 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
9741 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9742 | } | |
9743 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
9744 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9745 | } | |
9746 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
9747 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9748 | } | |
9749 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
9750 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
9751 | } | |
9752 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
9753 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
9754 | } | |
9755 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
9756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9757 | } | |
9758 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
9759 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9760 | } | |
9761 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
9762 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9763 | } | |
9764 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
9765 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9766 | } | |
9767 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
9768 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9769 | } | |
9770 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
9771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9772 | } | |
9773 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
9774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9775 | } | |
9776 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
9777 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
9778 | } | |
9779 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
9780 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
9781 | } | |
9782 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
9783 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
9784 | } | |
9785 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
9786 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9787 | } | |
9788 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
9789 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9790 | } | |
9791 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
9792 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9793 | } | |
9794 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
9795 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
9796 | } | |
9797 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
9798 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9799 | } | |
9800 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
9801 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
9802 | } | |
9803 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
9804 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
9805 | } | |
9806 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
9807 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
9808 | } | |
9809 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
9810 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
9811 | } | |
9812 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
9813 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
9814 | } | |
9815 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
9816 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9817 | } | |
9818 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
9819 | return (void *)((wxWindow *) ((wxControl *) x)); | |
9820 | } | |
9821 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
9822 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9823 | } | |
9824 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
9825 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9826 | } | |
9827 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
9828 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9829 | } | |
9830 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
9831 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
9832 | } | |
9833 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
9834 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
9835 | } | |
9836 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
9837 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9838 | } | |
9839 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
9840 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9841 | } | |
9842 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
9843 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9844 | } | |
9845 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
9846 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
9847 | } | |
9848 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
9849 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9850 | } | |
9851 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
9852 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9853 | } | |
9854 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
9855 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
9856 | } | |
9857 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
9858 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9859 | } | |
9860 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
9861 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9862 | } | |
9863 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
9864 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9865 | } | |
9866 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
9867 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
9868 | } | |
9869 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
9870 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
9871 | } | |
9872 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
9873 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
9874 | } | |
9875 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
9876 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
9877 | } | |
9878 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
9879 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
9880 | } | |
9881 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
9882 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
9883 | } | |
9884 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
9885 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
9886 | } | |
9887 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
9888 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
9889 | } | |
9890 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
9891 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
9892 | } | |
9893 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
9894 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
9895 | } | |
9896 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
9897 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
9898 | } | |
9899 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
9900 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
9901 | } | |
9902 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
9903 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
9904 | } | |
9905 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
9906 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
9907 | } | |
9908 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
9909 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
9910 | } | |
9911 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
9912 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
9913 | } | |
9914 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
9915 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
9916 | } | |
9917 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
9918 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
9919 | } | |
9920 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
9921 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
9922 | } | |
9923 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9924 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9925 | } | |
9926 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9927 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9928 | } | |
9929 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
9930 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
9931 | } | |
9932 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
9933 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9934 | } | |
9935 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9936 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
9937 | } | |
9938 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9939 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9940 | } | |
9941 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
9942 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
9943 | } | |
9944 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
9945 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9946 | } | |
9947 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
9948 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9949 | } | |
9950 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
9951 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9952 | } | |
9953 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
9954 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
9955 | } | |
9956 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
9957 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
9958 | } | |
9959 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
9960 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
9961 | } | |
9962 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
9963 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
9964 | } | |
9965 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
9966 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
9967 | } | |
9968 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
9969 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
9970 | } | |
9971 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
9972 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
9973 | } | |
9974 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
9975 | return (void *)((wxObject *) ((wxSizer *) x)); | |
9976 | } | |
9977 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
9978 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
9979 | } | |
9980 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
9981 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
9982 | } | |
9983 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
9984 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9985 | } | |
9986 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
9987 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
9988 | } | |
9989 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
9990 | return (void *)((wxObject *) ((wxEvent *) x)); | |
9991 | } | |
9992 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
9993 | return (void *)((wxObject *) ((wxFontData *) x)); | |
9994 | } | |
9995 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
9996 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
9997 | } | |
9998 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
9999 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
10000 | } | |
10001 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
10002 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
10003 | } | |
10004 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
10005 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
10006 | } | |
10007 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
10008 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
10009 | } | |
10010 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
10011 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
10012 | } | |
10013 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
10014 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
10015 | } | |
10016 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
10017 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
10018 | } | |
10019 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
10020 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10021 | } | |
10022 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
10023 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
10024 | } | |
10025 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
10026 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
10027 | } | |
10028 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
10029 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
10030 | } | |
10031 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
10032 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
10033 | } | |
10034 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
10035 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
10036 | } | |
10037 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
10038 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
10039 | } | |
10040 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
10041 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
10042 | } | |
10043 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
10044 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10045 | } | |
10046 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
10047 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
10048 | } | |
10049 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
10050 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
10051 | } | |
10052 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
10053 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
10054 | } | |
10055 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
10056 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
10057 | } | |
10058 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
10059 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10060 | } | |
10061 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
10062 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
10063 | } | |
10064 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
10065 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
10066 | } | |
10067 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
10068 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10069 | } | |
10070 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
10071 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10072 | } | |
10073 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
10074 | return (void *)((wxObject *) ((wxColourData *) x)); | |
10075 | } | |
10076 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
10077 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
10078 | } | |
10079 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
10080 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
10081 | } | |
10082 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
10083 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
10084 | } | |
10085 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
10086 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10087 | } | |
10088 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
10089 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10090 | } | |
10091 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
10092 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10093 | } | |
10094 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
10095 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10096 | } | |
10097 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
10098 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10099 | } | |
10100 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
10101 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10102 | } | |
10103 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
10104 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10105 | } | |
10106 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
10107 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10108 | } | |
10109 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
10110 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
10111 | } | |
10112 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
10113 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
10114 | } | |
10115 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
10116 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
10117 | } | |
10118 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
10119 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
10120 | } | |
10121 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
10122 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
10123 | } | |
10124 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
10125 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
10126 | } | |
10127 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
10128 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
10129 | } | |
10130 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
10131 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
10132 | } | |
10133 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
10134 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
10135 | } | |
10136 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
10137 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
10138 | } | |
10139 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
10140 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
10141 | } | |
10142 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
10143 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
10144 | } | |
10145 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
10146 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
10147 | } | |
10148 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
10149 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
10150 | } | |
10151 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
10152 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
10153 | } | |
10154 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
10155 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
10156 | } | |
10157 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
10158 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
10159 | } | |
10160 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
10161 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
10162 | } | |
10163 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
10164 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
10165 | } | |
10166 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
10167 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
10168 | } | |
10169 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
10170 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
10171 | } | |
10172 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
10173 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
10174 | } | |
10175 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
10176 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
10177 | } | |
10178 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
10179 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
10180 | } | |
10181 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
10182 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
10183 | } | |
10184 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
10185 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
10186 | } | |
10187 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
10188 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
10189 | } | |
10190 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
10191 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10192 | } | |
10193 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
10194 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10195 | } | |
10196 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
10197 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10198 | } | |
10199 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
10200 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
10201 | } | |
10202 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
10203 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10204 | } | |
10205 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
10206 | return (void *)((wxObject *) ((wxImage *) x)); | |
10207 | } | |
10208 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
10209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10210 | } | |
10211 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
10212 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
10213 | } | |
10214 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
10215 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10216 | } | |
10217 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
10218 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
10219 | } | |
10220 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
10221 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
10222 | } | |
10223 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
10224 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
10225 | } | |
10226 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
10227 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
10228 | } | |
10229 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
10230 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10231 | } | |
10232 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
10233 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10234 | } | |
10235 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
10236 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
10237 | } | |
10238 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
10239 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
10240 | } | |
10241 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
10242 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
10243 | } | |
d14a1e28 RD |
10244 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
10245 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
10246 | } | |
10247 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
10248 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
10249 | } | |
10250 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10251 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10252 | } | |
0df68c9f RD |
10253 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
10254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10255 | } | |
d14a1e28 RD |
10256 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
10257 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
10258 | } | |
10259 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
10260 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
10261 | } | |
10262 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
10263 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
10264 | } | |
10265 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
10266 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
10267 | } | |
10268 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
10269 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10270 | } | |
10271 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
10272 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
10273 | } | |
10274 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
10275 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10276 | } | |
10277 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
10278 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10279 | } | |
10280 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
10281 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10282 | } | |
10283 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
10284 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
10285 | } | |
10286 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
10287 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10288 | } | |
10289 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
10290 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
10291 | } | |
10292 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
10293 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
10294 | } | |
10295 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
10296 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
10297 | } | |
10298 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
10299 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
10300 | } | |
10301 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
10302 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10303 | } | |
10304 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
10305 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10306 | } | |
10307 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
10308 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10309 | } | |
10310 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
10311 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10312 | } | |
10313 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
10314 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10315 | } | |
10316 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
10317 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10318 | } | |
10319 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
10320 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
10321 | } | |
10322 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
10323 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
10324 | } | |
10325 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
10326 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
10327 | } | |
10328 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
10329 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10330 | } | |
10331 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
10332 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
10333 | } | |
10334 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
10335 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10336 | } | |
10337 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
10338 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
10339 | } | |
10340 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
10341 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
10342 | } | |
10343 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
10344 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
10345 | } | |
10346 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
10347 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
10348 | } | |
10349 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
10350 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10351 | } | |
10352 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
10353 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
10354 | } | |
10355 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
10356 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10357 | } | |
10358 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
10359 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10360 | } | |
10361 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
10362 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
10363 | } | |
10364 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
10365 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
10366 | } | |
10367 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
10368 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
10369 | } | |
10370 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
10371 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10372 | } | |
10373 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
10374 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10375 | } | |
10376 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
10377 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10378 | } | |
10379 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
10380 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
10381 | } | |
10382 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
10383 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
10384 | } | |
10385 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
10386 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
10387 | } | |
10388 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
10389 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
10390 | } | |
10391 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
10392 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10393 | } | |
10394 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
10395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10396 | } | |
10397 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
10398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10399 | } | |
10400 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
10401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10402 | } | |
10403 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
10404 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
10405 | } | |
10406 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
10407 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
10408 | } | |
10409 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
10410 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
10411 | } | |
10412 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
10413 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
10414 | } | |
10415 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
10416 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10417 | } | |
10418 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10419 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10420 | } | |
10421 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10423 | } | |
10424 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
10425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10426 | } | |
10427 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
10428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10429 | } | |
10430 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
10431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10432 | } | |
10433 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
10434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10435 | } | |
10436 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
10437 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
10438 | } | |
10439 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
10440 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
10441 | } | |
10442 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10443 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10444 | } | |
10445 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
10446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10447 | } | |
10448 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
10449 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10450 | } | |
10451 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
10452 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
10453 | } | |
10454 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
10455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10456 | } | |
10457 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
10458 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
10459 | } | |
10460 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10461 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
10462 | } | |
10463 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
10464 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
10465 | } | |
10466 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
10467 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
10468 | } | |
10469 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10470 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10471 | } | |
10472 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
10473 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
10474 | } | |
10475 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
10476 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
10477 | } | |
10478 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
10479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10480 | } | |
10481 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
10482 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
10483 | } | |
10484 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10486 | } | |
10487 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10489 | } | |
10490 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
10491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10492 | } | |
10493 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
10494 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
10495 | } | |
10496 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
10497 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10498 | } | |
10499 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
10500 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
10501 | } | |
10502 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
10503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10504 | } | |
10505 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
10506 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10507 | } | |
10508 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
10509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10510 | } | |
10511 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
10512 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10513 | } | |
10514 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10516 | } | |
10517 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10518 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10519 | } | |
10520 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
10521 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
10522 | } | |
10523 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
10524 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10525 | } | |
10526 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
10527 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10528 | } | |
10529 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
10530 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10531 | } | |
10532 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
10533 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10534 | } | |
10535 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
10536 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10537 | } | |
10538 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
10539 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10540 | } | |
10541 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
10542 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10543 | } | |
10544 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
10545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10546 | } | |
10547 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
10548 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10549 | } | |
10550 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
10551 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10552 | } | |
10553 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
10554 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
10555 | } | |
10556 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
10557 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
10558 | } | |
10559 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
10560 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
10561 | } | |
10562 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
10563 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10564 | } | |
10565 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
10566 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
10567 | } | |
10568 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
10569 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10570 | } | |
10571 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
10572 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
10573 | } | |
10574 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
10575 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
10576 | } | |
10577 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
10578 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10579 | } | |
10580 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
10581 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10582 | } | |
10583 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
10584 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10585 | } | |
10586 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
10587 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10588 | } | |
10589 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
10590 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
10591 | } | |
10592 | static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}}; | |
10593 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
10594 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; | |
10595 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
10596 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}}; | |
10597 | static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}}; | |
10598 | static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}}; | |
10599 | static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}}; | |
10600 | static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}}; | |
10601 | static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}}; | |
10602 | static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}}; | |
10603 | 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}}; | |
10604 | static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}}; | |
10605 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
10606 | static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}}; | |
10607 | static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}}; | |
10608 | 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}}; | |
10609 | 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}}; | |
10610 | 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}}; | |
10611 | static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}}; | |
10612 | static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}}; | |
10613 | static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}}; | |
10614 | static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}}; | |
10615 | 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}}; | |
10616 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
10617 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}}; | |
10618 | static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}}; | |
10619 | static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}}; | |
10620 | 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}}; | |
10621 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
10622 | static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}}; | |
10623 | static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; | |
10624 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}}; | |
10625 | static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}}; | |
10626 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}}; | |
10627 | static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}}; | |
10628 | static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}}; | |
10629 | static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}}; | |
10630 | static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}}; | |
10631 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
10632 | static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}}; | |
10633 | static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}}; | |
10634 | 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}}; | |
10635 | static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}}; | |
10636 | static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}}; | |
10637 | 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}}; | |
10638 | static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}}; | |
10639 | static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}}; | |
10640 | static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}}; | |
10641 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
10642 | static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}}; | |
10643 | ||
10644 | static swig_type_info *swig_types_initial[] = { | |
10645 | _swigt__p_wxHtmlDCRenderer, | |
10646 | _swigt__p_wxColour, | |
10647 | _swigt__p_wxPageSetupDialogData, | |
10648 | _swigt__p_wxDC, | |
10649 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
10650 | _swigt__p_wxHtmlRenderingStyle, | |
10651 | _swigt__p_wxMouseEvent, | |
10652 | _swigt__p_wxHtmlWordCell, | |
10653 | _swigt__p_wxHtmlHelpData, | |
10654 | _swigt__p_wxHtmlWinParser, | |
10655 | _swigt__p_wxHtmlParser, | |
10656 | _swigt__p_wxPanel, | |
10657 | _swigt__p_wxHtmlFontCell, | |
10658 | _swigt__p_wxFont, | |
10659 | _swigt__p_wxHtmlColourCell, | |
10660 | _swigt__p_wxPyHtmlWindow, | |
10661 | _swigt__p_wxScrolledWindow, | |
10662 | _swigt__p_wxWindow, | |
10663 | _swigt__p_wxTopLevelWindow, | |
10664 | _swigt__p_wxHtmlEasyPrinting, | |
10665 | _swigt__p_wxHtmlSelection, | |
10666 | _swigt__p_wxHtmlRenderingInfo, | |
10667 | _swigt__p_wxHtmlWidgetCell, | |
10668 | _swigt__p_wxObject, | |
10669 | _swigt__p_wxString, | |
10670 | _swigt__p_wxPyHtmlWinTagHandler, | |
10671 | _swigt__p_wxHtmlTagHandler, | |
10672 | _swigt__p_wxPyHtmlTagHandler, | |
10673 | _swigt__p_wxEvtHandler, | |
10674 | _swigt__p_wxPoint, | |
10675 | _swigt__p_wxHtmlHelpController, | |
10676 | _swigt__p_wxCursor, | |
10677 | _swigt__p_wxFileSystem, | |
10678 | _swigt__p_wxHtmlBookRecArray, | |
10679 | _swigt__p_wxPyPrintout, | |
10680 | _swigt__p_wxHtmlPrintout, | |
10681 | _swigt__p_wxHtmlSearchStatus, | |
10682 | _swigt__p_wxHtmlContentsItem, | |
10683 | _swigt__p_wxConfigBase, | |
10684 | _swigt__p_wxPrintData, | |
10685 | _swigt__p_wxHtmlHelpFrame, | |
10686 | _swigt__p_wxHtmlRenderingState, | |
10687 | _swigt__p_wxFrame, | |
10688 | _swigt__p_wxPyHtmlFilter, | |
10689 | _swigt__p_wxHtmlFilter, | |
10690 | _swigt__p_wxHtmlCell, | |
10691 | _swigt__p_wxHtmlContainerCell, | |
10692 | _swigt__p_wxHtmlTag, | |
10693 | _swigt__p_wxHtmlLinkInfo, | |
10694 | _swigt__p_int, | |
10695 | _swigt__p_wxHtmlBookRecord, | |
10696 | 0 | |
10697 | }; | |
10698 | ||
10699 | ||
10700 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
10701 | ||
10702 | static swig_const_info swig_const_table[] = { | |
10703 | { SWIG_PY_INT, (char *)"HTML_ALIGN_LEFT", (long) wxHTML_ALIGN_LEFT, 0, 0, 0}, | |
10704 | { SWIG_PY_INT, (char *)"HTML_ALIGN_CENTER", (long) wxHTML_ALIGN_CENTER, 0, 0, 0}, | |
10705 | { SWIG_PY_INT, (char *)"HTML_ALIGN_RIGHT", (long) wxHTML_ALIGN_RIGHT, 0, 0, 0}, | |
10706 | { SWIG_PY_INT, (char *)"HTML_ALIGN_BOTTOM", (long) wxHTML_ALIGN_BOTTOM, 0, 0, 0}, | |
10707 | { SWIG_PY_INT, (char *)"HTML_ALIGN_TOP", (long) wxHTML_ALIGN_TOP, 0, 0, 0}, | |
10708 | { SWIG_PY_INT, (char *)"HTML_CLR_FOREGROUND", (long) wxHTML_CLR_FOREGROUND, 0, 0, 0}, | |
10709 | { SWIG_PY_INT, (char *)"HTML_CLR_BACKGROUND", (long) wxHTML_CLR_BACKGROUND, 0, 0, 0}, | |
10710 | { SWIG_PY_INT, (char *)"HTML_UNITS_PIXELS", (long) wxHTML_UNITS_PIXELS, 0, 0, 0}, | |
10711 | { SWIG_PY_INT, (char *)"HTML_UNITS_PERCENT", (long) wxHTML_UNITS_PERCENT, 0, 0, 0}, | |
10712 | { SWIG_PY_INT, (char *)"HTML_INDENT_LEFT", (long) wxHTML_INDENT_LEFT, 0, 0, 0}, | |
10713 | { SWIG_PY_INT, (char *)"HTML_INDENT_RIGHT", (long) wxHTML_INDENT_RIGHT, 0, 0, 0}, | |
10714 | { SWIG_PY_INT, (char *)"HTML_INDENT_TOP", (long) wxHTML_INDENT_TOP, 0, 0, 0}, | |
10715 | { SWIG_PY_INT, (char *)"HTML_INDENT_BOTTOM", (long) wxHTML_INDENT_BOTTOM, 0, 0, 0}, | |
10716 | { SWIG_PY_INT, (char *)"HTML_INDENT_HORIZONTAL", (long) wxHTML_INDENT_HORIZONTAL, 0, 0, 0}, | |
10717 | { SWIG_PY_INT, (char *)"HTML_INDENT_VERTICAL", (long) wxHTML_INDENT_VERTICAL, 0, 0, 0}, | |
10718 | { SWIG_PY_INT, (char *)"HTML_INDENT_ALL", (long) wxHTML_INDENT_ALL, 0, 0, 0}, | |
10719 | { SWIG_PY_INT, (char *)"HTML_COND_ISANCHOR", (long) wxHTML_COND_ISANCHOR, 0, 0, 0}, | |
10720 | { SWIG_PY_INT, (char *)"HTML_COND_ISIMAGEMAP", (long) wxHTML_COND_ISIMAGEMAP, 0, 0, 0}, | |
10721 | { SWIG_PY_INT, (char *)"HTML_COND_USER", (long) wxHTML_COND_USER, 0, 0, 0}, | |
4eeb5705 RD |
10722 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_1", (long) wxHTML_FONT_SIZE_1, 0, 0, 0}, |
10723 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_2", (long) wxHTML_FONT_SIZE_2, 0, 0, 0}, | |
10724 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_3", (long) wxHTML_FONT_SIZE_3, 0, 0, 0}, | |
10725 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_4", (long) wxHTML_FONT_SIZE_4, 0, 0, 0}, | |
10726 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_5", (long) wxHTML_FONT_SIZE_5, 0, 0, 0}, | |
10727 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_6", (long) wxHTML_FONT_SIZE_6, 0, 0, 0}, | |
10728 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_7", (long) wxHTML_FONT_SIZE_7, 0, 0, 0}, | |
d14a1e28 RD |
10729 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_NEVER", (long) wxHW_SCROLLBAR_NEVER, 0, 0, 0}, |
10730 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_AUTO", (long) wxHW_SCROLLBAR_AUTO, 0, 0, 0}, | |
10731 | { SWIG_PY_INT, (char *)"HW_NO_SELECTION", (long) wxHW_NO_SELECTION, 0, 0, 0}, | |
10732 | { SWIG_PY_INT, (char *)"HW_DEFAULT_STYLE", (long) wxHW_DEFAULT_STYLE, 0, 0, 0}, | |
10733 | { SWIG_PY_INT, (char *)"HTML_OPEN", (long) wxHTML_OPEN, 0, 0, 0}, | |
10734 | { SWIG_PY_INT, (char *)"HTML_BLOCK", (long) wxHTML_BLOCK, 0, 0, 0}, | |
10735 | { SWIG_PY_INT, (char *)"HTML_REDIRECT", (long) wxHTML_REDIRECT, 0, 0, 0}, | |
10736 | { SWIG_PY_INT, (char *)"HTML_URL_PAGE", (long) wxHTML_URL_PAGE, 0, 0, 0}, | |
10737 | { SWIG_PY_INT, (char *)"HTML_URL_IMAGE", (long) wxHTML_URL_IMAGE, 0, 0, 0}, | |
10738 | { SWIG_PY_INT, (char *)"HTML_URL_OTHER", (long) wxHTML_URL_OTHER, 0, 0, 0}, | |
10739 | { SWIG_PY_INT, (char *)"HTML_SEL_OUT", (long) wxHTML_SEL_OUT, 0, 0, 0}, | |
10740 | { SWIG_PY_INT, (char *)"HTML_SEL_IN", (long) wxHTML_SEL_IN, 0, 0, 0}, | |
10741 | { SWIG_PY_INT, (char *)"HTML_SEL_CHANGING", (long) wxHTML_SEL_CHANGING, 0, 0, 0}, | |
10742 | { SWIG_PY_INT, (char *)"HTML_FIND_EXACT", (long) wxHTML_FIND_EXACT, 0, 0, 0}, | |
10743 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_BEFORE", (long) wxHTML_FIND_NEAREST_BEFORE, 0, 0, 0}, | |
10744 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_AFTER", (long) wxHTML_FIND_NEAREST_AFTER, 0, 0, 0}, | |
10745 | { SWIG_PY_INT, (char *)"PAGE_ODD", (long) wxPAGE_ODD, 0, 0, 0}, | |
10746 | { SWIG_PY_INT, (char *)"PAGE_EVEN", (long) wxPAGE_EVEN, 0, 0, 0}, | |
10747 | { SWIG_PY_INT, (char *)"PAGE_ALL", (long) wxPAGE_ALL, 0, 0, 0}, | |
10748 | { SWIG_PY_INT, (char *)"HF_TOOLBAR", (long) wxHF_TOOLBAR, 0, 0, 0}, | |
10749 | { SWIG_PY_INT, (char *)"HF_FLATTOOLBAR", (long) wxHF_FLATTOOLBAR, 0, 0, 0}, | |
10750 | { SWIG_PY_INT, (char *)"HF_CONTENTS", (long) wxHF_CONTENTS, 0, 0, 0}, | |
10751 | { SWIG_PY_INT, (char *)"HF_INDEX", (long) wxHF_INDEX, 0, 0, 0}, | |
10752 | { SWIG_PY_INT, (char *)"HF_SEARCH", (long) wxHF_SEARCH, 0, 0, 0}, | |
10753 | { SWIG_PY_INT, (char *)"HF_BOOKMARKS", (long) wxHF_BOOKMARKS, 0, 0, 0}, | |
10754 | { SWIG_PY_INT, (char *)"HF_OPENFILES", (long) wxHF_OPENFILES, 0, 0, 0}, | |
10755 | { SWIG_PY_INT, (char *)"HF_PRINT", (long) wxHF_PRINT, 0, 0, 0}, | |
10756 | { SWIG_PY_INT, (char *)"HF_DEFAULTSTYLE", (long) wxHF_DEFAULTSTYLE, 0, 0, 0}, | |
10757 | {0}}; | |
10758 | ||
10759 | #ifdef __cplusplus | |
10760 | } | |
10761 | #endif | |
10762 | ||
10763 | #ifdef __cplusplus | |
10764 | extern "C" | |
10765 | #endif | |
10766 | SWIGEXPORT(void) SWIG_init(void) { | |
10767 | static PyObject *SWIG_globals = 0; | |
10768 | static int typeinit = 0; | |
10769 | PyObject *m, *d; | |
10770 | int i; | |
10771 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
10772 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
10773 | d = PyModule_GetDict(m); | |
10774 | ||
10775 | if (!typeinit) { | |
10776 | for (i = 0; swig_types_initial[i]; i++) { | |
10777 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
10778 | } | |
10779 | typeinit = 1; | |
10780 | } | |
10781 | SWIG_InstallConstants(d,swig_const_table); | |
10782 | ||
b2dc1044 RD |
10783 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
10784 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlWindowNameStr",_wrap_HtmlWindowNameStr_get, _wrap_HtmlWindowNameStr_set); | |
10785 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); | |
10786 | SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); | |
d14a1e28 RD |
10787 | |
10788 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
10789 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
10790 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
10791 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
10792 | ||
10793 | } | |
10794 |