]>
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 | ||
285 | DECLARE_DEF_STRING(EmptyString); | |
286 | static const wxChar* wxHtmlWindowNameStr = wxT("htmlWindow"); | |
287 | DECLARE_DEF_STRING(HtmlWindowNameStr); | |
288 | static const wxChar* wxHtmlPrintoutTitleStr = wxT("Printout"); | |
289 | DECLARE_DEF_STRING(HtmlPrintoutTitleStr); | |
290 | static const wxChar* wxHtmlPrintingTitleStr = wxT("Printing"); | |
291 | DECLARE_DEF_STRING(HtmlPrintingTitleStr); | |
292 | ||
293 | ||
294 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
295 | int* temp = NULL; | |
296 | if (sizes) temp = int_LIST_helper(sizes); | |
297 | self->SetFonts(normal_face, fixed_face, temp); | |
298 | if (temp) | |
299 | delete [] temp; | |
300 | } | |
301 | ||
302 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
303 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
304 | public: | |
305 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
306 | ||
307 | wxHtmlParser* GetParser() { return m_Parser; } | |
308 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
309 | ||
310 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
311 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
312 | ||
313 | PYPRIVATE; | |
314 | }; | |
315 | ||
316 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
317 | ||
318 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
319 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
320 | ||
321 | ||
322 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
323 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
324 | public: | |
325 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
326 | ||
327 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
328 | void ParseInner(const wxHtmlTag& tag) | |
329 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
330 | ||
331 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
332 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
333 | ||
334 | PYPRIVATE; | |
335 | }; | |
336 | ||
337 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
338 | ||
339 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
340 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
341 | ||
342 | ||
343 | ||
344 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
345 | public: | |
346 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
347 | m_tagHandlerClass = thc; | |
348 | Py_INCREF(m_tagHandlerClass); | |
349 | RegisterModule(this); | |
350 | wxHtmlWinParser::AddModule(this); | |
351 | } | |
352 | ||
353 | void OnExit() { | |
354 | wxPyBeginBlockThreads(); | |
355 | Py_DECREF(m_tagHandlerClass); | |
356 | m_tagHandlerClass = NULL; | |
357 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
358 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
359 | Py_DECREF(obj); | |
360 | } | |
361 | wxPyEndBlockThreads(); | |
362 | }; | |
363 | ||
364 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
365 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
366 | ||
367 | // First, make a new instance of the tag handler | |
368 | wxPyBeginBlockThreads(); | |
fd3f2efe RD |
369 | PyObject* arg = PyTuple_New(0); |
370 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 371 | Py_DECREF(arg); |
fd3f2efe | 372 | |
d14a1e28 RD |
373 | // now figure out where it's C++ object is... |
374 | wxPyHtmlWinTagHandler* thPtr; | |
fd3f2efe RD |
375 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
376 | wxPyEndBlockThreads(); | |
d14a1e28 | 377 | return; |
fd3f2efe RD |
378 | } |
379 | wxPyEndBlockThreads(); | |
d14a1e28 RD |
380 | |
381 | // add it, | |
382 | parser->AddTagHandler(thPtr); | |
383 | ||
384 | // and track it. | |
385 | m_objArray.Add(obj); | |
386 | } | |
387 | ||
388 | private: | |
389 | PyObject* m_tagHandlerClass; | |
390 | wxArrayPtrVoid m_objArray; | |
391 | ||
392 | }; | |
393 | ||
394 | ||
395 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
396 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
397 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
398 | new wxPyHtmlTagsModule(tagHandlerClass); | |
399 | } | |
400 | ||
401 | ||
402 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
403 | PyObject* o2; | |
404 | PyObject* o3; | |
405 | ||
406 | if (!target) { | |
407 | target = o; | |
408 | } else if (target == Py_None) { | |
409 | Py_DECREF(Py_None); | |
410 | target = o; | |
411 | } else { | |
412 | if (!PyTuple_Check(target)) { | |
413 | o2 = target; | |
414 | target = PyTuple_New(1); | |
415 | PyTuple_SetItem(target, 0, o2); | |
416 | } | |
417 | o3 = PyTuple_New(1); | |
418 | PyTuple_SetItem(o3, 0, o); | |
419 | ||
420 | o2 = target; | |
421 | target = PySequence_Concat(o2, o3); | |
422 | Py_DECREF(o2); | |
423 | Py_DECREF(o3); | |
424 | } | |
425 | return target; | |
426 | } | |
427 | ||
428 | // here's the C++ version | |
429 | class wxPyHtmlFilter : public wxHtmlFilter { | |
430 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
431 | public: | |
432 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
433 | ||
e811c8ce | 434 | // returns True if this filter is able to open&read given file |
d14a1e28 | 435 | virtual bool CanRead(const wxFSFile& file) const { |
e811c8ce | 436 | bool rval = False; |
d14a1e28 RD |
437 | bool found; |
438 | wxPyBeginBlockThreads(); | |
439 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
440 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
441 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
442 | Py_DECREF(obj); | |
443 | } | |
444 | wxPyEndBlockThreads(); | |
445 | return rval; | |
446 | } | |
447 | ||
448 | ||
449 | // Reads given file and returns HTML document. | |
450 | // Returns empty string if opening failed | |
451 | virtual wxString ReadFile(const wxFSFile& file) const { | |
452 | wxString rval; | |
453 | bool found; | |
454 | wxPyBeginBlockThreads(); | |
455 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
456 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
457 | PyObject* ro; | |
458 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
459 | Py_DECREF(obj); | |
460 | if (ro) { | |
461 | rval = Py2wxString(ro); | |
462 | Py_DECREF(ro); | |
463 | } | |
464 | } | |
465 | wxPyEndBlockThreads(); | |
466 | return rval; | |
467 | } | |
468 | ||
469 | PYPRIVATE; | |
470 | }; | |
471 | ||
472 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
473 | ||
474 | ||
475 | class wxPyHtmlWindow : public wxHtmlWindow { | |
476 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
477 | public: | |
478 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
479 | const wxPoint& pos = wxDefaultPosition, | |
480 | const wxSize& size = wxDefaultSize, | |
481 | long style = wxHW_DEFAULT_STYLE, | |
482 | const wxString& name = wxPyHtmlWindowNameStr) | |
483 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
484 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
485 | ||
486 | bool ScrollToAnchor(const wxString& anchor) { | |
487 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
488 | } | |
489 | ||
490 | bool HasAnchor(const wxString& anchor) { | |
491 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
492 | return c!=NULL; | |
493 | } | |
494 | ||
495 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
496 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
497 | ||
498 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
499 | const wxString& url, | |
500 | wxString *redirect) const; | |
501 | ||
502 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
503 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
504 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
505 | PYPRIVATE; | |
506 | }; | |
507 | ||
508 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
509 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
510 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
511 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
512 | ||
513 | ||
514 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
515 | bool found; | |
516 | wxPyBeginBlockThreads(); | |
517 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { | |
518 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
519 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
520 | Py_DECREF(obj); | |
521 | } | |
522 | wxPyEndBlockThreads(); | |
523 | if (! found) | |
524 | wxHtmlWindow::OnLinkClicked(link); | |
525 | } | |
526 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
527 | wxHtmlWindow::OnLinkClicked(link); | |
528 | } | |
529 | ||
530 | ||
531 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
532 | const wxString& url, | |
533 | wxString *redirect) const { | |
534 | bool found; | |
535 | wxHtmlOpeningStatus rval; | |
536 | wxPyBeginBlockThreads(); | |
537 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
538 | PyObject* ro; | |
539 | PyObject* s = wx2PyString(url); | |
540 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
541 | Py_DECREF(s); | |
542 | if (PyString_Check(ro) | |
543 | #if PYTHON_API_VERSION >= 1009 | |
544 | || PyUnicode_Check(ro) | |
545 | #endif | |
546 | ) { | |
547 | *redirect = Py2wxString(ro); | |
548 | rval = wxHTML_REDIRECT; | |
549 | } | |
550 | else { | |
551 | PyObject* num = PyNumber_Int(ro); | |
552 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
553 | Py_DECREF(num); | |
554 | } | |
555 | Py_DECREF(ro); | |
556 | } | |
557 | wxPyEndBlockThreads(); | |
558 | if (! found) | |
559 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
560 | return rval; | |
561 | } | |
562 | ||
563 | ||
564 | ||
565 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
566 | int* temp = NULL; | |
567 | if (sizes) temp = int_LIST_helper(sizes); | |
568 | self->SetFonts(normal_face, fixed_face, temp); | |
569 | if (temp) | |
570 | delete [] temp; | |
571 | } | |
572 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
573 | int* temp = NULL; | |
574 | if (sizes) temp = int_LIST_helper(sizes); | |
575 | self->SetFonts(normal_face, fixed_face, temp); | |
576 | if (temp) | |
577 | delete [] temp; | |
578 | } | |
579 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
580 | int* temp = NULL; | |
581 | if (sizes) temp = int_LIST_helper(sizes); | |
582 | self->SetFonts(normal_face, fixed_face, temp); | |
583 | if (temp) | |
584 | delete [] temp; | |
585 | } | |
586 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
587 | int* temp = NULL; | |
588 | if (sizes) temp = int_LIST_helper(sizes); | |
589 | self->SetFonts(normal_face, fixed_face, temp); | |
590 | if (temp) | |
591 | delete [] temp; | |
592 | } | |
593 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
594 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
595 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
596 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
597 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
598 | #ifdef __cplusplus | |
599 | extern "C" { | |
600 | #endif | |
601 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
602 | PyObject *resultobj; | |
603 | wxString *arg1 = 0 ; | |
604 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
605 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
606 | wxHtmlLinkInfo *result; | |
e811c8ce RD |
607 | bool temp1 = False ; |
608 | bool temp2 = False ; | |
d14a1e28 RD |
609 | PyObject * obj0 = 0 ; |
610 | PyObject * obj1 = 0 ; | |
611 | char *kwnames[] = { | |
612 | (char *) "href",(char *) "target", NULL | |
613 | }; | |
614 | ||
615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
616 | { | |
617 | arg1 = wxString_in_helper(obj0); | |
618 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 619 | temp1 = True; |
d14a1e28 RD |
620 | } |
621 | if (obj1) { | |
622 | { | |
623 | arg2 = wxString_in_helper(obj1); | |
624 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 625 | temp2 = True; |
d14a1e28 RD |
626 | } |
627 | } | |
628 | { | |
629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
630 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
631 | ||
632 | wxPyEndAllowThreads(__tstate); | |
633 | if (PyErr_Occurred()) SWIG_fail; | |
634 | } | |
635 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
636 | { | |
637 | if (temp1) | |
638 | delete arg1; | |
639 | } | |
640 | { | |
641 | if (temp2) | |
642 | delete arg2; | |
643 | } | |
644 | return resultobj; | |
645 | fail: | |
646 | { | |
647 | if (temp1) | |
648 | delete arg1; | |
649 | } | |
650 | { | |
651 | if (temp2) | |
652 | delete arg2; | |
653 | } | |
654 | return NULL; | |
655 | } | |
656 | ||
657 | ||
658 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
659 | PyObject *resultobj; | |
660 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
661 | wxString result; | |
662 | PyObject * obj0 = 0 ; | |
663 | char *kwnames[] = { | |
664 | (char *) "self", NULL | |
665 | }; | |
666 | ||
667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
668 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
669 | { | |
670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
671 | result = (arg1)->GetHref(); | |
672 | ||
673 | wxPyEndAllowThreads(__tstate); | |
674 | if (PyErr_Occurred()) SWIG_fail; | |
675 | } | |
676 | { | |
677 | #if wxUSE_UNICODE | |
678 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
679 | #else | |
680 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
681 | #endif | |
682 | } | |
683 | return resultobj; | |
684 | fail: | |
685 | return NULL; | |
686 | } | |
687 | ||
688 | ||
689 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
690 | PyObject *resultobj; | |
691 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
692 | wxString result; | |
693 | PyObject * obj0 = 0 ; | |
694 | char *kwnames[] = { | |
695 | (char *) "self", NULL | |
696 | }; | |
697 | ||
698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
699 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
700 | { | |
701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
702 | result = (arg1)->GetTarget(); | |
703 | ||
704 | wxPyEndAllowThreads(__tstate); | |
705 | if (PyErr_Occurred()) SWIG_fail; | |
706 | } | |
707 | { | |
708 | #if wxUSE_UNICODE | |
709 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
710 | #else | |
711 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
712 | #endif | |
713 | } | |
714 | return resultobj; | |
715 | fail: | |
716 | return NULL; | |
717 | } | |
718 | ||
719 | ||
720 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
721 | PyObject *resultobj; | |
722 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
723 | wxMouseEvent *result; | |
724 | PyObject * obj0 = 0 ; | |
725 | char *kwnames[] = { | |
726 | (char *) "self", NULL | |
727 | }; | |
728 | ||
729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
730 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
731 | { | |
732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
733 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
734 | ||
735 | wxPyEndAllowThreads(__tstate); | |
736 | if (PyErr_Occurred()) SWIG_fail; | |
737 | } | |
738 | { | |
739 | resultobj = wxPyMake_wxObject(result); | |
740 | } | |
741 | return resultobj; | |
742 | fail: | |
743 | return NULL; | |
744 | } | |
745 | ||
746 | ||
747 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
748 | PyObject *resultobj; | |
749 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
750 | wxHtmlCell *result; | |
751 | PyObject * obj0 = 0 ; | |
752 | char *kwnames[] = { | |
753 | (char *) "self", NULL | |
754 | }; | |
755 | ||
756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
757 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
758 | { | |
759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
760 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
761 | ||
762 | wxPyEndAllowThreads(__tstate); | |
763 | if (PyErr_Occurred()) SWIG_fail; | |
764 | } | |
765 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
766 | return resultobj; | |
767 | fail: | |
768 | return NULL; | |
769 | } | |
770 | ||
771 | ||
772 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
773 | PyObject *resultobj; | |
774 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
775 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
776 | PyObject * obj0 = 0 ; | |
777 | PyObject * obj1 = 0 ; | |
778 | char *kwnames[] = { | |
779 | (char *) "self",(char *) "e", NULL | |
780 | }; | |
781 | ||
782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
783 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
784 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
785 | { | |
786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
787 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
788 | ||
789 | wxPyEndAllowThreads(__tstate); | |
790 | if (PyErr_Occurred()) SWIG_fail; | |
791 | } | |
792 | Py_INCREF(Py_None); resultobj = Py_None; | |
793 | return resultobj; | |
794 | fail: | |
795 | return NULL; | |
796 | } | |
797 | ||
798 | ||
799 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
800 | PyObject *resultobj; | |
801 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
802 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
803 | PyObject * obj0 = 0 ; | |
804 | PyObject * obj1 = 0 ; | |
805 | char *kwnames[] = { | |
806 | (char *) "self",(char *) "e", NULL | |
807 | }; | |
808 | ||
809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
810 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
811 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
812 | { | |
813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
814 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
815 | ||
816 | wxPyEndAllowThreads(__tstate); | |
817 | if (PyErr_Occurred()) SWIG_fail; | |
818 | } | |
819 | Py_INCREF(Py_None); resultobj = Py_None; | |
820 | return resultobj; | |
821 | fail: | |
822 | return NULL; | |
823 | } | |
824 | ||
825 | ||
826 | static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) { | |
827 | PyObject *obj; | |
828 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
829 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
830 | Py_INCREF(obj); | |
831 | return Py_BuildValue((char *)""); | |
832 | } | |
833 | static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
834 | PyObject *resultobj; | |
835 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
836 | wxString result; | |
837 | PyObject * obj0 = 0 ; | |
838 | char *kwnames[] = { | |
839 | (char *) "self", NULL | |
840 | }; | |
841 | ||
842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
844 | { | |
845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
846 | result = (arg1)->GetName(); | |
847 | ||
848 | wxPyEndAllowThreads(__tstate); | |
849 | if (PyErr_Occurred()) SWIG_fail; | |
850 | } | |
851 | { | |
852 | #if wxUSE_UNICODE | |
853 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
854 | #else | |
855 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
856 | #endif | |
857 | } | |
858 | return resultobj; | |
859 | fail: | |
860 | return NULL; | |
861 | } | |
862 | ||
863 | ||
864 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
865 | PyObject *resultobj; | |
866 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
867 | wxString *arg2 = 0 ; | |
868 | bool result; | |
e811c8ce | 869 | bool temp2 = False ; |
d14a1e28 RD |
870 | PyObject * obj0 = 0 ; |
871 | PyObject * obj1 = 0 ; | |
872 | char *kwnames[] = { | |
873 | (char *) "self",(char *) "par", NULL | |
874 | }; | |
875 | ||
876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
877 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
878 | { | |
879 | arg2 = wxString_in_helper(obj1); | |
880 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 881 | temp2 = True; |
d14a1e28 RD |
882 | } |
883 | { | |
884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
885 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
886 | ||
887 | wxPyEndAllowThreads(__tstate); | |
888 | if (PyErr_Occurred()) SWIG_fail; | |
889 | } | |
890 | resultobj = PyInt_FromLong((long)result); | |
891 | { | |
892 | if (temp2) | |
893 | delete arg2; | |
894 | } | |
895 | return resultobj; | |
896 | fail: | |
897 | { | |
898 | if (temp2) | |
899 | delete arg2; | |
900 | } | |
901 | return NULL; | |
902 | } | |
903 | ||
904 | ||
905 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
906 | PyObject *resultobj; | |
907 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
908 | wxString *arg2 = 0 ; | |
e811c8ce | 909 | int arg3 = (int) False ; |
d14a1e28 | 910 | wxString result; |
e811c8ce | 911 | bool temp2 = False ; |
d14a1e28 RD |
912 | PyObject * obj0 = 0 ; |
913 | PyObject * obj1 = 0 ; | |
914 | char *kwnames[] = { | |
915 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
916 | }; | |
917 | ||
918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlTag_GetParam",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
920 | { | |
921 | arg2 = wxString_in_helper(obj1); | |
922 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 923 | temp2 = True; |
d14a1e28 RD |
924 | } |
925 | { | |
926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
927 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
928 | ||
929 | wxPyEndAllowThreads(__tstate); | |
930 | if (PyErr_Occurred()) SWIG_fail; | |
931 | } | |
932 | { | |
933 | #if wxUSE_UNICODE | |
934 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
935 | #else | |
936 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
937 | #endif | |
938 | } | |
939 | { | |
940 | if (temp2) | |
941 | delete arg2; | |
942 | } | |
943 | return resultobj; | |
944 | fail: | |
945 | { | |
946 | if (temp2) | |
947 | delete arg2; | |
948 | } | |
949 | return NULL; | |
950 | } | |
951 | ||
952 | ||
953 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
954 | PyObject *resultobj; | |
955 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
956 | wxString result; | |
957 | PyObject * obj0 = 0 ; | |
958 | char *kwnames[] = { | |
959 | (char *) "self", NULL | |
960 | }; | |
961 | ||
962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
963 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
964 | { | |
965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
966 | result = (arg1)->GetAllParams(); | |
967 | ||
968 | wxPyEndAllowThreads(__tstate); | |
969 | if (PyErr_Occurred()) SWIG_fail; | |
970 | } | |
971 | { | |
972 | #if wxUSE_UNICODE | |
973 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
974 | #else | |
975 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
976 | #endif | |
977 | } | |
978 | return resultobj; | |
979 | fail: | |
980 | return NULL; | |
981 | } | |
982 | ||
983 | ||
984 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
985 | PyObject *resultobj; | |
986 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
987 | bool result; | |
988 | PyObject * obj0 = 0 ; | |
989 | char *kwnames[] = { | |
990 | (char *) "self", NULL | |
991 | }; | |
992 | ||
993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
994 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
995 | { | |
996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
997 | result = (bool)(arg1)->HasEnding(); | |
998 | ||
999 | wxPyEndAllowThreads(__tstate); | |
1000 | if (PyErr_Occurred()) SWIG_fail; | |
1001 | } | |
1002 | resultobj = PyInt_FromLong((long)result); | |
1003 | return resultobj; | |
1004 | fail: | |
1005 | return NULL; | |
1006 | } | |
1007 | ||
1008 | ||
1009 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1010 | PyObject *resultobj; | |
1011 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1012 | int result; | |
1013 | PyObject * obj0 = 0 ; | |
1014 | char *kwnames[] = { | |
1015 | (char *) "self", NULL | |
1016 | }; | |
1017 | ||
1018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
1019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1020 | { | |
1021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1022 | result = (int)(arg1)->GetBeginPos(); | |
1023 | ||
1024 | wxPyEndAllowThreads(__tstate); | |
1025 | if (PyErr_Occurred()) SWIG_fail; | |
1026 | } | |
1027 | resultobj = PyInt_FromLong((long)result); | |
1028 | return resultobj; | |
1029 | fail: | |
1030 | return NULL; | |
1031 | } | |
1032 | ||
1033 | ||
1034 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1035 | PyObject *resultobj; | |
1036 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1037 | int result; | |
1038 | PyObject * obj0 = 0 ; | |
1039 | char *kwnames[] = { | |
1040 | (char *) "self", NULL | |
1041 | }; | |
1042 | ||
1043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
1044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1045 | { | |
1046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1047 | result = (int)(arg1)->GetEndPos1(); | |
1048 | ||
1049 | wxPyEndAllowThreads(__tstate); | |
1050 | if (PyErr_Occurred()) SWIG_fail; | |
1051 | } | |
1052 | resultobj = PyInt_FromLong((long)result); | |
1053 | return resultobj; | |
1054 | fail: | |
1055 | return NULL; | |
1056 | } | |
1057 | ||
1058 | ||
1059 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1060 | PyObject *resultobj; | |
1061 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1062 | int result; | |
1063 | PyObject * obj0 = 0 ; | |
1064 | char *kwnames[] = { | |
1065 | (char *) "self", NULL | |
1066 | }; | |
1067 | ||
1068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
1069 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1070 | { | |
1071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1072 | result = (int)(arg1)->GetEndPos2(); | |
1073 | ||
1074 | wxPyEndAllowThreads(__tstate); | |
1075 | if (PyErr_Occurred()) SWIG_fail; | |
1076 | } | |
1077 | resultobj = PyInt_FromLong((long)result); | |
1078 | return resultobj; | |
1079 | fail: | |
1080 | return NULL; | |
1081 | } | |
1082 | ||
1083 | ||
1084 | static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) { | |
1085 | PyObject *obj; | |
1086 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1087 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1088 | Py_INCREF(obj); | |
1089 | return Py_BuildValue((char *)""); | |
1090 | } | |
1091 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1092 | PyObject *resultobj; | |
1093 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1094 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1095 | PyObject * obj0 = 0 ; | |
1096 | PyObject * obj1 = 0 ; | |
1097 | char *kwnames[] = { | |
1098 | (char *) "self",(char *) "fs", NULL | |
1099 | }; | |
1100 | ||
1101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
1102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1103 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1104 | { | |
1105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1106 | (arg1)->SetFS(arg2); | |
1107 | ||
1108 | wxPyEndAllowThreads(__tstate); | |
1109 | if (PyErr_Occurred()) SWIG_fail; | |
1110 | } | |
1111 | Py_INCREF(Py_None); resultobj = Py_None; | |
1112 | return resultobj; | |
1113 | fail: | |
1114 | return NULL; | |
1115 | } | |
1116 | ||
1117 | ||
1118 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1119 | PyObject *resultobj; | |
1120 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1121 | wxFileSystem *result; | |
1122 | PyObject * obj0 = 0 ; | |
1123 | char *kwnames[] = { | |
1124 | (char *) "self", NULL | |
1125 | }; | |
1126 | ||
1127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
1128 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1129 | { | |
1130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1131 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1132 | ||
1133 | wxPyEndAllowThreads(__tstate); | |
1134 | if (PyErr_Occurred()) SWIG_fail; | |
1135 | } | |
1136 | { | |
1137 | resultobj = wxPyMake_wxObject(result); | |
1138 | } | |
1139 | return resultobj; | |
1140 | fail: | |
1141 | return NULL; | |
1142 | } | |
1143 | ||
1144 | ||
1145 | static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1146 | PyObject *resultobj; | |
1147 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1148 | wxString *arg2 = 0 ; | |
1149 | wxObject *result; | |
e811c8ce | 1150 | bool temp2 = False ; |
d14a1e28 RD |
1151 | PyObject * obj0 = 0 ; |
1152 | PyObject * obj1 = 0 ; | |
1153 | char *kwnames[] = { | |
1154 | (char *) "self",(char *) "source", NULL | |
1155 | }; | |
1156 | ||
1157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
1158 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1159 | { | |
1160 | arg2 = wxString_in_helper(obj1); | |
1161 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 1162 | temp2 = True; |
d14a1e28 RD |
1163 | } |
1164 | { | |
1165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1166 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1167 | ||
1168 | wxPyEndAllowThreads(__tstate); | |
1169 | if (PyErr_Occurred()) SWIG_fail; | |
1170 | } | |
1171 | { | |
1172 | resultobj = wxPyMake_wxObject(result); | |
1173 | } | |
1174 | { | |
1175 | if (temp2) | |
1176 | delete arg2; | |
1177 | } | |
1178 | return resultobj; | |
1179 | fail: | |
1180 | { | |
1181 | if (temp2) | |
1182 | delete arg2; | |
1183 | } | |
1184 | return NULL; | |
1185 | } | |
1186 | ||
1187 | ||
1188 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1189 | PyObject *resultobj; | |
1190 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1191 | wxString *arg2 = 0 ; | |
e811c8ce | 1192 | bool temp2 = False ; |
d14a1e28 RD |
1193 | PyObject * obj0 = 0 ; |
1194 | PyObject * obj1 = 0 ; | |
1195 | char *kwnames[] = { | |
1196 | (char *) "self",(char *) "source", NULL | |
1197 | }; | |
1198 | ||
1199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
1200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1201 | { | |
1202 | arg2 = wxString_in_helper(obj1); | |
1203 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 1204 | temp2 = True; |
d14a1e28 RD |
1205 | } |
1206 | { | |
1207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1208 | (arg1)->InitParser((wxString const &)*arg2); | |
1209 | ||
1210 | wxPyEndAllowThreads(__tstate); | |
1211 | if (PyErr_Occurred()) SWIG_fail; | |
1212 | } | |
1213 | Py_INCREF(Py_None); resultobj = Py_None; | |
1214 | { | |
1215 | if (temp2) | |
1216 | delete arg2; | |
1217 | } | |
1218 | return resultobj; | |
1219 | fail: | |
1220 | { | |
1221 | if (temp2) | |
1222 | delete arg2; | |
1223 | } | |
1224 | return NULL; | |
1225 | } | |
1226 | ||
1227 | ||
1228 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1229 | PyObject *resultobj; | |
1230 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1231 | PyObject * obj0 = 0 ; | |
1232 | char *kwnames[] = { | |
1233 | (char *) "self", NULL | |
1234 | }; | |
1235 | ||
1236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
1237 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1238 | { | |
1239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1240 | (arg1)->DoneParser(); | |
1241 | ||
1242 | wxPyEndAllowThreads(__tstate); | |
1243 | if (PyErr_Occurred()) SWIG_fail; | |
1244 | } | |
1245 | Py_INCREF(Py_None); resultobj = Py_None; | |
1246 | return resultobj; | |
1247 | fail: | |
1248 | return NULL; | |
1249 | } | |
1250 | ||
1251 | ||
1252 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1253 | PyObject *resultobj; | |
1254 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1255 | int arg2 ; | |
1256 | int arg3 ; | |
1257 | PyObject * obj0 = 0 ; | |
1258 | char *kwnames[] = { | |
1259 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1260 | }; | |
1261 | ||
1262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlParser_DoParsing",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1263 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1264 | { | |
1265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1266 | (arg1)->DoParsing(arg2,arg3); | |
1267 | ||
1268 | wxPyEndAllowThreads(__tstate); | |
1269 | if (PyErr_Occurred()) SWIG_fail; | |
1270 | } | |
1271 | Py_INCREF(Py_None); resultobj = Py_None; | |
1272 | return resultobj; | |
1273 | fail: | |
1274 | return NULL; | |
1275 | } | |
1276 | ||
1277 | ||
1278 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1279 | PyObject *resultobj; | |
1280 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1281 | PyObject * obj0 = 0 ; | |
1282 | char *kwnames[] = { | |
1283 | (char *) "self", NULL | |
1284 | }; | |
1285 | ||
1286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
1287 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1288 | { | |
1289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1290 | (arg1)->StopParsing(); | |
1291 | ||
1292 | wxPyEndAllowThreads(__tstate); | |
1293 | if (PyErr_Occurred()) SWIG_fail; | |
1294 | } | |
1295 | Py_INCREF(Py_None); resultobj = Py_None; | |
1296 | return resultobj; | |
1297 | fail: | |
1298 | return NULL; | |
1299 | } | |
1300 | ||
1301 | ||
1302 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1303 | PyObject *resultobj; | |
1304 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1305 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1306 | PyObject * obj0 = 0 ; | |
1307 | PyObject * obj1 = 0 ; | |
1308 | char *kwnames[] = { | |
1309 | (char *) "self",(char *) "handler", NULL | |
1310 | }; | |
1311 | ||
1312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
1313 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1314 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1315 | { | |
1316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1317 | (arg1)->AddTagHandler(arg2); | |
1318 | ||
1319 | wxPyEndAllowThreads(__tstate); | |
1320 | if (PyErr_Occurred()) SWIG_fail; | |
1321 | } | |
1322 | Py_INCREF(Py_None); resultobj = Py_None; | |
1323 | return resultobj; | |
1324 | fail: | |
1325 | return NULL; | |
1326 | } | |
1327 | ||
1328 | ||
1329 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1330 | PyObject *resultobj; | |
1331 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1332 | wxString *result; | |
1333 | PyObject * obj0 = 0 ; | |
1334 | char *kwnames[] = { | |
1335 | (char *) "self", NULL | |
1336 | }; | |
1337 | ||
1338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
1339 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1340 | { | |
1341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1342 | result = (wxString *)(arg1)->GetSource(); | |
1343 | ||
1344 | wxPyEndAllowThreads(__tstate); | |
1345 | if (PyErr_Occurred()) SWIG_fail; | |
1346 | } | |
1347 | { | |
1348 | #if wxUSE_UNICODE | |
1349 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1350 | #else | |
1351 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1352 | #endif | |
1353 | } | |
1354 | return resultobj; | |
1355 | fail: | |
1356 | return NULL; | |
1357 | } | |
1358 | ||
1359 | ||
1360 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1361 | PyObject *resultobj; | |
1362 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1363 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1364 | wxString arg3 ; | |
d14a1e28 RD |
1365 | PyObject * obj0 = 0 ; |
1366 | PyObject * obj1 = 0 ; | |
1367 | PyObject * obj2 = 0 ; | |
1368 | char *kwnames[] = { | |
1369 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1370 | }; | |
1371 | ||
1372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1373 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1374 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
1375 | { |
1376 | wxString* sptr = wxString_in_helper(obj2); | |
1377 | if (sptr == NULL) SWIG_fail; | |
1378 | arg3 = *sptr; | |
1379 | delete sptr; | |
1380 | } | |
d14a1e28 RD |
1381 | { |
1382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1383 | (arg1)->PushTagHandler(arg2,arg3); | |
1384 | ||
1385 | wxPyEndAllowThreads(__tstate); | |
1386 | if (PyErr_Occurred()) SWIG_fail; | |
1387 | } | |
1388 | Py_INCREF(Py_None); resultobj = Py_None; | |
1389 | return resultobj; | |
1390 | fail: | |
1391 | return NULL; | |
1392 | } | |
1393 | ||
1394 | ||
1395 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1396 | PyObject *resultobj; | |
1397 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1398 | PyObject * obj0 = 0 ; | |
1399 | char *kwnames[] = { | |
1400 | (char *) "self", NULL | |
1401 | }; | |
1402 | ||
1403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1404 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1405 | { | |
1406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1407 | (arg1)->PopTagHandler(); | |
1408 | ||
1409 | wxPyEndAllowThreads(__tstate); | |
1410 | if (PyErr_Occurred()) SWIG_fail; | |
1411 | } | |
1412 | Py_INCREF(Py_None); resultobj = Py_None; | |
1413 | return resultobj; | |
1414 | fail: | |
1415 | return NULL; | |
1416 | } | |
1417 | ||
1418 | ||
1419 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1420 | PyObject *obj; | |
1421 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1422 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1423 | Py_INCREF(obj); | |
1424 | return Py_BuildValue((char *)""); | |
1425 | } | |
1426 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1427 | PyObject *resultobj; | |
1428 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1429 | wxHtmlWinParser *result; | |
1430 | PyObject * obj0 = 0 ; | |
1431 | char *kwnames[] = { | |
1432 | (char *) "wnd", NULL | |
1433 | }; | |
1434 | ||
1435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1436 | if (obj0) { | |
1437 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1438 | } | |
1439 | { | |
1440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1441 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1442 | ||
1443 | wxPyEndAllowThreads(__tstate); | |
1444 | if (PyErr_Occurred()) SWIG_fail; | |
1445 | } | |
1446 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1); | |
1447 | return resultobj; | |
1448 | fail: | |
1449 | return NULL; | |
1450 | } | |
1451 | ||
1452 | ||
1453 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1454 | PyObject *resultobj; | |
1455 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1456 | wxDC *arg2 = (wxDC *) 0 ; | |
1457 | PyObject * obj0 = 0 ; | |
1458 | PyObject * obj1 = 0 ; | |
1459 | char *kwnames[] = { | |
1460 | (char *) "self",(char *) "dc", NULL | |
1461 | }; | |
1462 | ||
1463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1464 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1465 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1466 | { | |
1467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1468 | (arg1)->SetDC(arg2); | |
1469 | ||
1470 | wxPyEndAllowThreads(__tstate); | |
1471 | if (PyErr_Occurred()) SWIG_fail; | |
1472 | } | |
1473 | Py_INCREF(Py_None); resultobj = Py_None; | |
1474 | return resultobj; | |
1475 | fail: | |
1476 | return NULL; | |
1477 | } | |
1478 | ||
1479 | ||
1480 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1481 | PyObject *resultobj; | |
1482 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1483 | wxDC *result; | |
1484 | PyObject * obj0 = 0 ; | |
1485 | char *kwnames[] = { | |
1486 | (char *) "self", NULL | |
1487 | }; | |
1488 | ||
1489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1490 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1491 | { | |
1492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1493 | result = (wxDC *)(arg1)->GetDC(); | |
1494 | ||
1495 | wxPyEndAllowThreads(__tstate); | |
1496 | if (PyErr_Occurred()) SWIG_fail; | |
1497 | } | |
1498 | { | |
1499 | resultobj = wxPyMake_wxObject(result); | |
1500 | } | |
1501 | return resultobj; | |
1502 | fail: | |
1503 | return NULL; | |
1504 | } | |
1505 | ||
1506 | ||
1507 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1508 | PyObject *resultobj; | |
1509 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1510 | int result; | |
1511 | PyObject * obj0 = 0 ; | |
1512 | char *kwnames[] = { | |
1513 | (char *) "self", NULL | |
1514 | }; | |
1515 | ||
1516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1518 | { | |
1519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1520 | result = (int)(arg1)->GetCharHeight(); | |
1521 | ||
1522 | wxPyEndAllowThreads(__tstate); | |
1523 | if (PyErr_Occurred()) SWIG_fail; | |
1524 | } | |
1525 | resultobj = PyInt_FromLong((long)result); | |
1526 | return resultobj; | |
1527 | fail: | |
1528 | return NULL; | |
1529 | } | |
1530 | ||
1531 | ||
1532 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1533 | PyObject *resultobj; | |
1534 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1535 | int result; | |
1536 | PyObject * obj0 = 0 ; | |
1537 | char *kwnames[] = { | |
1538 | (char *) "self", NULL | |
1539 | }; | |
1540 | ||
1541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1542 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1543 | { | |
1544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1545 | result = (int)(arg1)->GetCharWidth(); | |
1546 | ||
1547 | wxPyEndAllowThreads(__tstate); | |
1548 | if (PyErr_Occurred()) SWIG_fail; | |
1549 | } | |
1550 | resultobj = PyInt_FromLong((long)result); | |
1551 | return resultobj; | |
1552 | fail: | |
1553 | return NULL; | |
1554 | } | |
1555 | ||
1556 | ||
1557 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1558 | PyObject *resultobj; | |
1559 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1560 | wxPyHtmlWindow *result; | |
1561 | PyObject * obj0 = 0 ; | |
1562 | char *kwnames[] = { | |
1563 | (char *) "self", NULL | |
1564 | }; | |
1565 | ||
1566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1567 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1568 | { | |
1569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1570 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1571 | ||
1572 | wxPyEndAllowThreads(__tstate); | |
1573 | if (PyErr_Occurred()) SWIG_fail; | |
1574 | } | |
1575 | { | |
1576 | resultobj = wxPyMake_wxObject(result); | |
1577 | } | |
1578 | return resultobj; | |
1579 | fail: | |
1580 | return NULL; | |
1581 | } | |
1582 | ||
1583 | ||
1584 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1585 | PyObject *resultobj; | |
1586 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1587 | wxString arg2 ; | |
1588 | wxString arg3 ; | |
1589 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
1590 | PyObject * obj0 = 0 ; |
1591 | PyObject * obj1 = 0 ; | |
1592 | PyObject * obj2 = 0 ; | |
1593 | PyObject * obj3 = 0 ; | |
1594 | char *kwnames[] = { | |
1595 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1596 | }; | |
1597 | ||
1598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1599 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
1600 | { |
1601 | wxString* sptr = wxString_in_helper(obj1); | |
1602 | if (sptr == NULL) SWIG_fail; | |
1603 | arg2 = *sptr; | |
1604 | delete sptr; | |
1605 | } | |
1606 | { | |
1607 | wxString* sptr = wxString_in_helper(obj2); | |
1608 | if (sptr == NULL) SWIG_fail; | |
1609 | arg3 = *sptr; | |
1610 | delete sptr; | |
1611 | } | |
d14a1e28 RD |
1612 | if (obj3) { |
1613 | arg4 = obj3; | |
1614 | } | |
1615 | { | |
1616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1617 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1618 | ||
1619 | wxPyEndAllowThreads(__tstate); | |
1620 | if (PyErr_Occurred()) SWIG_fail; | |
1621 | } | |
1622 | Py_INCREF(Py_None); resultobj = Py_None; | |
1623 | return resultobj; | |
1624 | fail: | |
1625 | return NULL; | |
1626 | } | |
1627 | ||
1628 | ||
1629 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1630 | PyObject *resultobj; | |
1631 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1632 | wxHtmlContainerCell *result; | |
1633 | PyObject * obj0 = 0 ; | |
1634 | char *kwnames[] = { | |
1635 | (char *) "self", NULL | |
1636 | }; | |
1637 | ||
1638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
1639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1640 | { | |
1641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1642 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
1643 | ||
1644 | wxPyEndAllowThreads(__tstate); | |
1645 | if (PyErr_Occurred()) SWIG_fail; | |
1646 | } | |
1647 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1648 | return resultobj; | |
1649 | fail: | |
1650 | return NULL; | |
1651 | } | |
1652 | ||
1653 | ||
1654 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1655 | PyObject *resultobj; | |
1656 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1657 | wxHtmlContainerCell *result; | |
1658 | PyObject * obj0 = 0 ; | |
1659 | char *kwnames[] = { | |
1660 | (char *) "self", NULL | |
1661 | }; | |
1662 | ||
1663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
1664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1665 | { | |
1666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1667 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
1668 | ||
1669 | wxPyEndAllowThreads(__tstate); | |
1670 | if (PyErr_Occurred()) SWIG_fail; | |
1671 | } | |
1672 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1673 | return resultobj; | |
1674 | fail: | |
1675 | return NULL; | |
1676 | } | |
1677 | ||
1678 | ||
1679 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1680 | PyObject *resultobj; | |
1681 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1682 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
1683 | wxHtmlContainerCell *result; | |
1684 | PyObject * obj0 = 0 ; | |
1685 | PyObject * obj1 = 0 ; | |
1686 | char *kwnames[] = { | |
1687 | (char *) "self",(char *) "c", NULL | |
1688 | }; | |
1689 | ||
1690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
1691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1692 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1693 | { | |
1694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1695 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
1696 | ||
1697 | wxPyEndAllowThreads(__tstate); | |
1698 | if (PyErr_Occurred()) SWIG_fail; | |
1699 | } | |
1700 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1701 | return resultobj; | |
1702 | fail: | |
1703 | return NULL; | |
1704 | } | |
1705 | ||
1706 | ||
1707 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1708 | PyObject *resultobj; | |
1709 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1710 | wxHtmlContainerCell *result; | |
1711 | PyObject * obj0 = 0 ; | |
1712 | char *kwnames[] = { | |
1713 | (char *) "self", NULL | |
1714 | }; | |
1715 | ||
1716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
1717 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1718 | { | |
1719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1720 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
1721 | ||
1722 | wxPyEndAllowThreads(__tstate); | |
1723 | if (PyErr_Occurred()) SWIG_fail; | |
1724 | } | |
1725 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1726 | return resultobj; | |
1727 | fail: | |
1728 | return NULL; | |
1729 | } | |
1730 | ||
1731 | ||
1732 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1733 | PyObject *resultobj; | |
1734 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1735 | int result; | |
1736 | PyObject * obj0 = 0 ; | |
1737 | char *kwnames[] = { | |
1738 | (char *) "self", NULL | |
1739 | }; | |
1740 | ||
1741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
1742 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1743 | { | |
1744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1745 | result = (int)(arg1)->GetFontSize(); | |
1746 | ||
1747 | wxPyEndAllowThreads(__tstate); | |
1748 | if (PyErr_Occurred()) SWIG_fail; | |
1749 | } | |
1750 | resultobj = PyInt_FromLong((long)result); | |
1751 | return resultobj; | |
1752 | fail: | |
1753 | return NULL; | |
1754 | } | |
1755 | ||
1756 | ||
1757 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1758 | PyObject *resultobj; | |
1759 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1760 | int arg2 ; | |
1761 | PyObject * obj0 = 0 ; | |
1762 | char *kwnames[] = { | |
1763 | (char *) "self",(char *) "s", NULL | |
1764 | }; | |
1765 | ||
1766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames,&obj0,&arg2)) goto fail; | |
1767 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1768 | { | |
1769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1770 | (arg1)->SetFontSize(arg2); | |
1771 | ||
1772 | wxPyEndAllowThreads(__tstate); | |
1773 | if (PyErr_Occurred()) SWIG_fail; | |
1774 | } | |
1775 | Py_INCREF(Py_None); resultobj = Py_None; | |
1776 | return resultobj; | |
1777 | fail: | |
1778 | return NULL; | |
1779 | } | |
1780 | ||
1781 | ||
1782 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1783 | PyObject *resultobj; | |
1784 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1785 | int result; | |
1786 | PyObject * obj0 = 0 ; | |
1787 | char *kwnames[] = { | |
1788 | (char *) "self", NULL | |
1789 | }; | |
1790 | ||
1791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
1792 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1793 | { | |
1794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1795 | result = (int)(arg1)->GetFontBold(); | |
1796 | ||
1797 | wxPyEndAllowThreads(__tstate); | |
1798 | if (PyErr_Occurred()) SWIG_fail; | |
1799 | } | |
1800 | resultobj = PyInt_FromLong((long)result); | |
1801 | return resultobj; | |
1802 | fail: | |
1803 | return NULL; | |
1804 | } | |
1805 | ||
1806 | ||
1807 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1808 | PyObject *resultobj; | |
1809 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1810 | int arg2 ; | |
1811 | PyObject * obj0 = 0 ; | |
1812 | char *kwnames[] = { | |
1813 | (char *) "self",(char *) "x", NULL | |
1814 | }; | |
1815 | ||
1816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames,&obj0,&arg2)) goto fail; | |
1817 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1818 | { | |
1819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1820 | (arg1)->SetFontBold(arg2); | |
1821 | ||
1822 | wxPyEndAllowThreads(__tstate); | |
1823 | if (PyErr_Occurred()) SWIG_fail; | |
1824 | } | |
1825 | Py_INCREF(Py_None); resultobj = Py_None; | |
1826 | return resultobj; | |
1827 | fail: | |
1828 | return NULL; | |
1829 | } | |
1830 | ||
1831 | ||
1832 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1833 | PyObject *resultobj; | |
1834 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1835 | int result; | |
1836 | PyObject * obj0 = 0 ; | |
1837 | char *kwnames[] = { | |
1838 | (char *) "self", NULL | |
1839 | }; | |
1840 | ||
1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
1842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1843 | { | |
1844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1845 | result = (int)(arg1)->GetFontItalic(); | |
1846 | ||
1847 | wxPyEndAllowThreads(__tstate); | |
1848 | if (PyErr_Occurred()) SWIG_fail; | |
1849 | } | |
1850 | resultobj = PyInt_FromLong((long)result); | |
1851 | return resultobj; | |
1852 | fail: | |
1853 | return NULL; | |
1854 | } | |
1855 | ||
1856 | ||
1857 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1858 | PyObject *resultobj; | |
1859 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1860 | int arg2 ; | |
1861 | PyObject * obj0 = 0 ; | |
1862 | char *kwnames[] = { | |
1863 | (char *) "self",(char *) "x", NULL | |
1864 | }; | |
1865 | ||
1866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames,&obj0,&arg2)) goto fail; | |
1867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1868 | { | |
1869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1870 | (arg1)->SetFontItalic(arg2); | |
1871 | ||
1872 | wxPyEndAllowThreads(__tstate); | |
1873 | if (PyErr_Occurred()) SWIG_fail; | |
1874 | } | |
1875 | Py_INCREF(Py_None); resultobj = Py_None; | |
1876 | return resultobj; | |
1877 | fail: | |
1878 | return NULL; | |
1879 | } | |
1880 | ||
1881 | ||
1882 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1883 | PyObject *resultobj; | |
1884 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1885 | int result; | |
1886 | PyObject * obj0 = 0 ; | |
1887 | char *kwnames[] = { | |
1888 | (char *) "self", NULL | |
1889 | }; | |
1890 | ||
1891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
1892 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1893 | { | |
1894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1895 | result = (int)(arg1)->GetFontUnderlined(); | |
1896 | ||
1897 | wxPyEndAllowThreads(__tstate); | |
1898 | if (PyErr_Occurred()) SWIG_fail; | |
1899 | } | |
1900 | resultobj = PyInt_FromLong((long)result); | |
1901 | return resultobj; | |
1902 | fail: | |
1903 | return NULL; | |
1904 | } | |
1905 | ||
1906 | ||
1907 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1908 | PyObject *resultobj; | |
1909 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1910 | int arg2 ; | |
1911 | PyObject * obj0 = 0 ; | |
1912 | char *kwnames[] = { | |
1913 | (char *) "self",(char *) "x", NULL | |
1914 | }; | |
1915 | ||
1916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&arg2)) goto fail; | |
1917 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1918 | { | |
1919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1920 | (arg1)->SetFontUnderlined(arg2); | |
1921 | ||
1922 | wxPyEndAllowThreads(__tstate); | |
1923 | if (PyErr_Occurred()) SWIG_fail; | |
1924 | } | |
1925 | Py_INCREF(Py_None); resultobj = Py_None; | |
1926 | return resultobj; | |
1927 | fail: | |
1928 | return NULL; | |
1929 | } | |
1930 | ||
1931 | ||
1932 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1933 | PyObject *resultobj; | |
1934 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1935 | int result; | |
1936 | PyObject * obj0 = 0 ; | |
1937 | char *kwnames[] = { | |
1938 | (char *) "self", NULL | |
1939 | }; | |
1940 | ||
1941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
1942 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1943 | { | |
1944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1945 | result = (int)(arg1)->GetFontFixed(); | |
1946 | ||
1947 | wxPyEndAllowThreads(__tstate); | |
1948 | if (PyErr_Occurred()) SWIG_fail; | |
1949 | } | |
1950 | resultobj = PyInt_FromLong((long)result); | |
1951 | return resultobj; | |
1952 | fail: | |
1953 | return NULL; | |
1954 | } | |
1955 | ||
1956 | ||
1957 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1958 | PyObject *resultobj; | |
1959 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1960 | int arg2 ; | |
1961 | PyObject * obj0 = 0 ; | |
1962 | char *kwnames[] = { | |
1963 | (char *) "self",(char *) "x", NULL | |
1964 | }; | |
1965 | ||
1966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames,&obj0,&arg2)) goto fail; | |
1967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1968 | { | |
1969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1970 | (arg1)->SetFontFixed(arg2); | |
1971 | ||
1972 | wxPyEndAllowThreads(__tstate); | |
1973 | if (PyErr_Occurred()) SWIG_fail; | |
1974 | } | |
1975 | Py_INCREF(Py_None); resultobj = Py_None; | |
1976 | return resultobj; | |
1977 | fail: | |
1978 | return NULL; | |
1979 | } | |
1980 | ||
1981 | ||
1982 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1983 | PyObject *resultobj; | |
1984 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1985 | int result; | |
1986 | PyObject * obj0 = 0 ; | |
1987 | char *kwnames[] = { | |
1988 | (char *) "self", NULL | |
1989 | }; | |
1990 | ||
1991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
1992 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1993 | { | |
1994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1995 | result = (int)(arg1)->GetAlign(); | |
1996 | ||
1997 | wxPyEndAllowThreads(__tstate); | |
1998 | if (PyErr_Occurred()) SWIG_fail; | |
1999 | } | |
2000 | resultobj = PyInt_FromLong((long)result); | |
2001 | return resultobj; | |
2002 | fail: | |
2003 | return NULL; | |
2004 | } | |
2005 | ||
2006 | ||
2007 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2008 | PyObject *resultobj; | |
2009 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2010 | int arg2 ; | |
2011 | PyObject * obj0 = 0 ; | |
2012 | char *kwnames[] = { | |
2013 | (char *) "self",(char *) "a", NULL | |
2014 | }; | |
2015 | ||
2016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetAlign",kwnames,&obj0,&arg2)) goto fail; | |
2017 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2018 | { | |
2019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2020 | (arg1)->SetAlign(arg2); | |
2021 | ||
2022 | wxPyEndAllowThreads(__tstate); | |
2023 | if (PyErr_Occurred()) SWIG_fail; | |
2024 | } | |
2025 | Py_INCREF(Py_None); resultobj = Py_None; | |
2026 | return resultobj; | |
2027 | fail: | |
2028 | return NULL; | |
2029 | } | |
2030 | ||
2031 | ||
2032 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2033 | PyObject *resultobj; | |
2034 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2035 | wxColour result; | |
2036 | PyObject * obj0 = 0 ; | |
2037 | char *kwnames[] = { | |
2038 | (char *) "self", NULL | |
2039 | }; | |
2040 | ||
2041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2042 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2043 | { | |
2044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2045 | result = (arg1)->GetLinkColor(); | |
2046 | ||
2047 | wxPyEndAllowThreads(__tstate); | |
2048 | if (PyErr_Occurred()) SWIG_fail; | |
2049 | } | |
2050 | { | |
2051 | wxColour * resultptr; | |
2052 | resultptr = new wxColour((wxColour &) result); | |
2053 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2054 | } | |
2055 | return resultobj; | |
2056 | fail: | |
2057 | return NULL; | |
2058 | } | |
2059 | ||
2060 | ||
2061 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2062 | PyObject *resultobj; | |
2063 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2064 | wxColour *arg2 = 0 ; | |
2065 | wxColour temp2 ; | |
2066 | PyObject * obj0 = 0 ; | |
2067 | PyObject * obj1 = 0 ; | |
2068 | char *kwnames[] = { | |
2069 | (char *) "self",(char *) "clr", NULL | |
2070 | }; | |
2071 | ||
2072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2073 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2074 | { | |
2075 | arg2 = &temp2; | |
2076 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2077 | } | |
2078 | { | |
2079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2080 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2081 | ||
2082 | wxPyEndAllowThreads(__tstate); | |
2083 | if (PyErr_Occurred()) SWIG_fail; | |
2084 | } | |
2085 | Py_INCREF(Py_None); resultobj = Py_None; | |
2086 | return resultobj; | |
2087 | fail: | |
2088 | return NULL; | |
2089 | } | |
2090 | ||
2091 | ||
2092 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2093 | PyObject *resultobj; | |
2094 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2095 | wxColour result; | |
2096 | PyObject * obj0 = 0 ; | |
2097 | char *kwnames[] = { | |
2098 | (char *) "self", NULL | |
2099 | }; | |
2100 | ||
2101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2103 | { | |
2104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2105 | result = (arg1)->GetActualColor(); | |
2106 | ||
2107 | wxPyEndAllowThreads(__tstate); | |
2108 | if (PyErr_Occurred()) SWIG_fail; | |
2109 | } | |
2110 | { | |
2111 | wxColour * resultptr; | |
2112 | resultptr = new wxColour((wxColour &) result); | |
2113 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2114 | } | |
2115 | return resultobj; | |
2116 | fail: | |
2117 | return NULL; | |
2118 | } | |
2119 | ||
2120 | ||
2121 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2122 | PyObject *resultobj; | |
2123 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2124 | wxColour *arg2 = 0 ; | |
2125 | wxColour temp2 ; | |
2126 | PyObject * obj0 = 0 ; | |
2127 | PyObject * obj1 = 0 ; | |
2128 | char *kwnames[] = { | |
2129 | (char *) "self",(char *) "clr", NULL | |
2130 | }; | |
2131 | ||
2132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2133 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2134 | { | |
2135 | arg2 = &temp2; | |
2136 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2137 | } | |
2138 | { | |
2139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2140 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2141 | ||
2142 | wxPyEndAllowThreads(__tstate); | |
2143 | if (PyErr_Occurred()) SWIG_fail; | |
2144 | } | |
2145 | Py_INCREF(Py_None); resultobj = Py_None; | |
2146 | return resultobj; | |
2147 | fail: | |
2148 | return NULL; | |
2149 | } | |
2150 | ||
2151 | ||
2152 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2153 | PyObject *resultobj; | |
2154 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2155 | wxString *arg2 = 0 ; | |
e811c8ce | 2156 | bool temp2 = False ; |
d14a1e28 RD |
2157 | PyObject * obj0 = 0 ; |
2158 | PyObject * obj1 = 0 ; | |
2159 | char *kwnames[] = { | |
2160 | (char *) "self",(char *) "link", NULL | |
2161 | }; | |
2162 | ||
2163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2164 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2165 | { | |
2166 | arg2 = wxString_in_helper(obj1); | |
2167 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2168 | temp2 = True; |
d14a1e28 RD |
2169 | } |
2170 | { | |
2171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2172 | (arg1)->SetLink((wxString const &)*arg2); | |
2173 | ||
2174 | wxPyEndAllowThreads(__tstate); | |
2175 | if (PyErr_Occurred()) SWIG_fail; | |
2176 | } | |
2177 | Py_INCREF(Py_None); resultobj = Py_None; | |
2178 | { | |
2179 | if (temp2) | |
2180 | delete arg2; | |
2181 | } | |
2182 | return resultobj; | |
2183 | fail: | |
2184 | { | |
2185 | if (temp2) | |
2186 | delete arg2; | |
2187 | } | |
2188 | return NULL; | |
2189 | } | |
2190 | ||
2191 | ||
2192 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2193 | PyObject *resultobj; | |
2194 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2195 | wxFont *result; | |
2196 | PyObject * obj0 = 0 ; | |
2197 | char *kwnames[] = { | |
2198 | (char *) "self", NULL | |
2199 | }; | |
2200 | ||
2201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2202 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2203 | { | |
2204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2205 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2206 | ||
2207 | wxPyEndAllowThreads(__tstate); | |
2208 | if (PyErr_Occurred()) SWIG_fail; | |
2209 | } | |
2210 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0); | |
2211 | return resultobj; | |
2212 | fail: | |
2213 | return NULL; | |
2214 | } | |
2215 | ||
2216 | ||
2217 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2218 | PyObject *resultobj; | |
2219 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2220 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2221 | PyObject * obj0 = 0 ; | |
2222 | char *kwnames[] = { | |
2223 | (char *) "self", NULL | |
2224 | }; | |
2225 | ||
2226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2227 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2228 | { | |
2229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2230 | result = (arg1)->GetLink(); | |
2231 | ||
2232 | wxPyEndAllowThreads(__tstate); | |
2233 | if (PyErr_Occurred()) SWIG_fail; | |
2234 | } | |
2235 | { | |
2236 | wxHtmlLinkInfo * resultptr; | |
2237 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2238 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2239 | } | |
2240 | return resultobj; | |
2241 | fail: | |
2242 | return NULL; | |
2243 | } | |
2244 | ||
2245 | ||
2246 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2247 | PyObject *obj; | |
2248 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2249 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2250 | Py_INCREF(obj); | |
2251 | return Py_BuildValue((char *)""); | |
2252 | } | |
2253 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2254 | PyObject *resultobj; | |
2255 | wxPyHtmlTagHandler *result; | |
2256 | char *kwnames[] = { | |
2257 | NULL | |
2258 | }; | |
2259 | ||
2260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2261 | { | |
2262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2263 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2264 | ||
2265 | wxPyEndAllowThreads(__tstate); | |
2266 | if (PyErr_Occurred()) SWIG_fail; | |
2267 | } | |
2268 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2269 | return resultobj; | |
2270 | fail: | |
2271 | return NULL; | |
2272 | } | |
2273 | ||
2274 | ||
2275 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2276 | PyObject *resultobj; | |
2277 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2278 | PyObject *arg2 = (PyObject *) 0 ; | |
2279 | PyObject *arg3 = (PyObject *) 0 ; | |
2280 | PyObject * obj0 = 0 ; | |
2281 | PyObject * obj1 = 0 ; | |
2282 | PyObject * obj2 = 0 ; | |
2283 | char *kwnames[] = { | |
2284 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2285 | }; | |
2286 | ||
2287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2288 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2289 | arg2 = obj1; | |
2290 | arg3 = obj2; | |
2291 | { | |
2292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2293 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2294 | ||
2295 | wxPyEndAllowThreads(__tstate); | |
2296 | if (PyErr_Occurred()) SWIG_fail; | |
2297 | } | |
2298 | Py_INCREF(Py_None); resultobj = Py_None; | |
2299 | return resultobj; | |
2300 | fail: | |
2301 | return NULL; | |
2302 | } | |
2303 | ||
2304 | ||
2305 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2306 | PyObject *resultobj; | |
2307 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2308 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2309 | PyObject * obj0 = 0 ; | |
2310 | PyObject * obj1 = 0 ; | |
2311 | char *kwnames[] = { | |
2312 | (char *) "self",(char *) "parser", NULL | |
2313 | }; | |
2314 | ||
2315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2317 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2318 | { | |
2319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2320 | (arg1)->SetParser(arg2); | |
2321 | ||
2322 | wxPyEndAllowThreads(__tstate); | |
2323 | if (PyErr_Occurred()) SWIG_fail; | |
2324 | } | |
2325 | Py_INCREF(Py_None); resultobj = Py_None; | |
2326 | return resultobj; | |
2327 | fail: | |
2328 | return NULL; | |
2329 | } | |
2330 | ||
2331 | ||
2332 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2333 | PyObject *resultobj; | |
2334 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2335 | wxHtmlParser *result; | |
2336 | PyObject * obj0 = 0 ; | |
2337 | char *kwnames[] = { | |
2338 | (char *) "self", NULL | |
2339 | }; | |
2340 | ||
2341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2343 | { | |
2344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2345 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2346 | ||
2347 | wxPyEndAllowThreads(__tstate); | |
2348 | if (PyErr_Occurred()) SWIG_fail; | |
2349 | } | |
2350 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0); | |
2351 | return resultobj; | |
2352 | fail: | |
2353 | return NULL; | |
2354 | } | |
2355 | ||
2356 | ||
2357 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2358 | PyObject *resultobj; | |
2359 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2360 | wxHtmlTag *arg2 = 0 ; | |
2361 | PyObject * obj0 = 0 ; | |
2362 | PyObject * obj1 = 0 ; | |
2363 | char *kwnames[] = { | |
2364 | (char *) "self",(char *) "tag", NULL | |
2365 | }; | |
2366 | ||
2367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2369 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2370 | if (arg2 == NULL) { | |
2371 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2372 | } | |
2373 | { | |
2374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2375 | (arg1)->ParseInner((wxHtmlTag const &)*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 * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2388 | PyObject *obj; | |
2389 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2390 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2391 | Py_INCREF(obj); | |
2392 | return Py_BuildValue((char *)""); | |
2393 | } | |
2394 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2395 | PyObject *resultobj; | |
2396 | wxPyHtmlWinTagHandler *result; | |
2397 | char *kwnames[] = { | |
2398 | NULL | |
2399 | }; | |
2400 | ||
2401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2402 | { | |
2403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2404 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2405 | ||
2406 | wxPyEndAllowThreads(__tstate); | |
2407 | if (PyErr_Occurred()) SWIG_fail; | |
2408 | } | |
2409 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2410 | return resultobj; | |
2411 | fail: | |
2412 | return NULL; | |
2413 | } | |
2414 | ||
2415 | ||
2416 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2417 | PyObject *resultobj; | |
2418 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2419 | PyObject *arg2 = (PyObject *) 0 ; | |
2420 | PyObject *arg3 = (PyObject *) 0 ; | |
2421 | PyObject * obj0 = 0 ; | |
2422 | PyObject * obj1 = 0 ; | |
2423 | PyObject * obj2 = 0 ; | |
2424 | char *kwnames[] = { | |
2425 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2426 | }; | |
2427 | ||
2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2429 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2430 | arg2 = obj1; | |
2431 | arg3 = obj2; | |
2432 | { | |
2433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2434 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2435 | ||
2436 | wxPyEndAllowThreads(__tstate); | |
2437 | if (PyErr_Occurred()) SWIG_fail; | |
2438 | } | |
2439 | Py_INCREF(Py_None); resultobj = Py_None; | |
2440 | return resultobj; | |
2441 | fail: | |
2442 | return NULL; | |
2443 | } | |
2444 | ||
2445 | ||
2446 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2447 | PyObject *resultobj; | |
2448 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2449 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2450 | PyObject * obj0 = 0 ; | |
2451 | PyObject * obj1 = 0 ; | |
2452 | char *kwnames[] = { | |
2453 | (char *) "self",(char *) "parser", NULL | |
2454 | }; | |
2455 | ||
2456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2458 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2459 | { | |
2460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2461 | (arg1)->SetParser(arg2); | |
2462 | ||
2463 | wxPyEndAllowThreads(__tstate); | |
2464 | if (PyErr_Occurred()) SWIG_fail; | |
2465 | } | |
2466 | Py_INCREF(Py_None); resultobj = Py_None; | |
2467 | return resultobj; | |
2468 | fail: | |
2469 | return NULL; | |
2470 | } | |
2471 | ||
2472 | ||
2473 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2474 | PyObject *resultobj; | |
2475 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2476 | wxHtmlWinParser *result; | |
2477 | PyObject * obj0 = 0 ; | |
2478 | char *kwnames[] = { | |
2479 | (char *) "self", NULL | |
2480 | }; | |
2481 | ||
2482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2483 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2484 | { | |
2485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2486 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2487 | ||
2488 | wxPyEndAllowThreads(__tstate); | |
2489 | if (PyErr_Occurred()) SWIG_fail; | |
2490 | } | |
2491 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
2492 | return resultobj; | |
2493 | fail: | |
2494 | return NULL; | |
2495 | } | |
2496 | ||
2497 | ||
2498 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2499 | PyObject *resultobj; | |
2500 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2501 | wxHtmlTag *arg2 = 0 ; | |
2502 | PyObject * obj0 = 0 ; | |
2503 | PyObject * obj1 = 0 ; | |
2504 | char *kwnames[] = { | |
2505 | (char *) "self",(char *) "tag", NULL | |
2506 | }; | |
2507 | ||
2508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2509 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2510 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2511 | if (arg2 == NULL) { | |
2512 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2513 | } | |
2514 | { | |
2515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2516 | (arg1)->ParseInner((wxHtmlTag const &)*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 * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2529 | PyObject *obj; | |
2530 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2531 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2532 | Py_INCREF(obj); | |
2533 | return Py_BuildValue((char *)""); | |
2534 | } | |
2535 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2536 | PyObject *resultobj; | |
2537 | PyObject *arg1 = (PyObject *) 0 ; | |
2538 | PyObject * obj0 = 0 ; | |
2539 | char *kwnames[] = { | |
2540 | (char *) "tagHandlerClass", NULL | |
2541 | }; | |
2542 | ||
2543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2544 | arg1 = obj0; | |
2545 | { | |
2546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2547 | wxHtmlWinParser_AddTagHandler(arg1); | |
2548 | ||
2549 | wxPyEndAllowThreads(__tstate); | |
2550 | if (PyErr_Occurred()) SWIG_fail; | |
2551 | } | |
2552 | Py_INCREF(Py_None); resultobj = Py_None; | |
2553 | return resultobj; | |
2554 | fail: | |
2555 | return NULL; | |
2556 | } | |
2557 | ||
2558 | ||
2559 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2560 | PyObject *resultobj; | |
2561 | wxHtmlSelection *result; | |
2562 | char *kwnames[] = { | |
2563 | NULL | |
2564 | }; | |
2565 | ||
2566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2567 | { | |
2568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2569 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
2570 | ||
2571 | wxPyEndAllowThreads(__tstate); | |
2572 | if (PyErr_Occurred()) SWIG_fail; | |
2573 | } | |
2574 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1); | |
2575 | return resultobj; | |
2576 | fail: | |
2577 | return NULL; | |
2578 | } | |
2579 | ||
2580 | ||
2581 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2582 | PyObject *resultobj; | |
2583 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2584 | PyObject * obj0 = 0 ; | |
2585 | char *kwnames[] = { | |
2586 | (char *) "self", NULL | |
2587 | }; | |
2588 | ||
2589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2590 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2591 | { | |
2592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2593 | delete arg1; | |
2594 | ||
2595 | wxPyEndAllowThreads(__tstate); | |
2596 | if (PyErr_Occurred()) SWIG_fail; | |
2597 | } | |
2598 | Py_INCREF(Py_None); resultobj = Py_None; | |
2599 | return resultobj; | |
2600 | fail: | |
2601 | return NULL; | |
2602 | } | |
2603 | ||
2604 | ||
2605 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2606 | PyObject *resultobj; | |
2607 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2608 | wxPoint *arg2 = 0 ; | |
2609 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2610 | wxPoint *arg4 = 0 ; | |
2611 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
2612 | wxPoint temp2 ; | |
2613 | wxPoint temp4 ; | |
2614 | PyObject * obj0 = 0 ; | |
2615 | PyObject * obj1 = 0 ; | |
2616 | PyObject * obj2 = 0 ; | |
2617 | PyObject * obj3 = 0 ; | |
2618 | PyObject * obj4 = 0 ; | |
2619 | char *kwnames[] = { | |
2620 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
2621 | }; | |
2622 | ||
2623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2624 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2625 | { | |
2626 | arg2 = &temp2; | |
2627 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2628 | } | |
2629 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2630 | { | |
2631 | arg4 = &temp4; | |
2632 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2633 | } | |
2634 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2635 | { | |
2636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2637 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
2638 | ||
2639 | wxPyEndAllowThreads(__tstate); | |
2640 | if (PyErr_Occurred()) SWIG_fail; | |
2641 | } | |
2642 | Py_INCREF(Py_None); resultobj = Py_None; | |
2643 | return resultobj; | |
2644 | fail: | |
2645 | return NULL; | |
2646 | } | |
2647 | ||
2648 | ||
2649 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2650 | PyObject *resultobj; | |
2651 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2652 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
2653 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2654 | PyObject * obj0 = 0 ; | |
2655 | PyObject * obj1 = 0 ; | |
2656 | PyObject * obj2 = 0 ; | |
2657 | char *kwnames[] = { | |
2658 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
2659 | }; | |
2660 | ||
2661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2662 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2663 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2664 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2665 | { | |
2666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2667 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
2668 | ||
2669 | wxPyEndAllowThreads(__tstate); | |
2670 | if (PyErr_Occurred()) SWIG_fail; | |
2671 | } | |
2672 | Py_INCREF(Py_None); resultobj = Py_None; | |
2673 | return resultobj; | |
2674 | fail: | |
2675 | return NULL; | |
2676 | } | |
2677 | ||
2678 | ||
2679 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2680 | PyObject *resultobj; | |
2681 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2682 | wxHtmlCell *result; | |
2683 | PyObject * obj0 = 0 ; | |
2684 | char *kwnames[] = { | |
2685 | (char *) "self", NULL | |
2686 | }; | |
2687 | ||
2688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2689 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2690 | { | |
2691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2692 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
2693 | ||
2694 | wxPyEndAllowThreads(__tstate); | |
2695 | if (PyErr_Occurred()) SWIG_fail; | |
2696 | } | |
2697 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2698 | return resultobj; | |
2699 | fail: | |
2700 | return NULL; | |
2701 | } | |
2702 | ||
2703 | ||
2704 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2705 | PyObject *resultobj; | |
2706 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2707 | wxHtmlCell *result; | |
2708 | PyObject * obj0 = 0 ; | |
2709 | char *kwnames[] = { | |
2710 | (char *) "self", NULL | |
2711 | }; | |
2712 | ||
2713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2714 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2715 | { | |
2716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2717 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
2718 | ||
2719 | wxPyEndAllowThreads(__tstate); | |
2720 | if (PyErr_Occurred()) SWIG_fail; | |
2721 | } | |
2722 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2723 | return resultobj; | |
2724 | fail: | |
2725 | return NULL; | |
2726 | } | |
2727 | ||
2728 | ||
2729 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2730 | PyObject *resultobj; | |
2731 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2732 | wxPoint *result; | |
2733 | PyObject * obj0 = 0 ; | |
2734 | char *kwnames[] = { | |
2735 | (char *) "self", NULL | |
2736 | }; | |
2737 | ||
2738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2740 | { | |
2741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2742 | { | |
2743 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
2744 | result = (wxPoint *) &_result_ref; | |
2745 | } | |
2746 | ||
2747 | wxPyEndAllowThreads(__tstate); | |
2748 | if (PyErr_Occurred()) SWIG_fail; | |
2749 | } | |
2750 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2751 | return resultobj; | |
2752 | fail: | |
2753 | return NULL; | |
2754 | } | |
2755 | ||
2756 | ||
2757 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2758 | PyObject *resultobj; | |
2759 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2760 | wxPoint *result; | |
2761 | PyObject * obj0 = 0 ; | |
2762 | char *kwnames[] = { | |
2763 | (char *) "self", NULL | |
2764 | }; | |
2765 | ||
2766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2767 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2768 | { | |
2769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2770 | { | |
2771 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
2772 | result = (wxPoint *) &_result_ref; | |
2773 | } | |
2774 | ||
2775 | wxPyEndAllowThreads(__tstate); | |
2776 | if (PyErr_Occurred()) SWIG_fail; | |
2777 | } | |
2778 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2779 | return resultobj; | |
2780 | fail: | |
2781 | return NULL; | |
2782 | } | |
2783 | ||
2784 | ||
2785 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2786 | PyObject *resultobj; | |
2787 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2788 | wxPoint *result; | |
2789 | PyObject * obj0 = 0 ; | |
2790 | char *kwnames[] = { | |
2791 | (char *) "self", NULL | |
2792 | }; | |
2793 | ||
2794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2796 | { | |
2797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2798 | { | |
2799 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
2800 | result = (wxPoint *) &_result_ref; | |
2801 | } | |
2802 | ||
2803 | wxPyEndAllowThreads(__tstate); | |
2804 | if (PyErr_Occurred()) SWIG_fail; | |
2805 | } | |
2806 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2807 | return resultobj; | |
2808 | fail: | |
2809 | return NULL; | |
2810 | } | |
2811 | ||
2812 | ||
2813 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2814 | PyObject *resultobj; | |
2815 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2816 | wxPoint *result; | |
2817 | PyObject * obj0 = 0 ; | |
2818 | char *kwnames[] = { | |
2819 | (char *) "self", NULL | |
2820 | }; | |
2821 | ||
2822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2823 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2824 | { | |
2825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2826 | { | |
2827 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
2828 | result = (wxPoint *) &_result_ref; | |
2829 | } | |
2830 | ||
2831 | wxPyEndAllowThreads(__tstate); | |
2832 | if (PyErr_Occurred()) SWIG_fail; | |
2833 | } | |
2834 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2835 | return resultobj; | |
2836 | fail: | |
2837 | return NULL; | |
2838 | } | |
2839 | ||
2840 | ||
2841 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2842 | PyObject *resultobj; | |
2843 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2844 | wxPoint *arg2 = 0 ; | |
2845 | wxPoint temp2 ; | |
2846 | PyObject * obj0 = 0 ; | |
2847 | PyObject * obj1 = 0 ; | |
2848 | char *kwnames[] = { | |
2849 | (char *) "self",(char *) "pos", NULL | |
2850 | }; | |
2851 | ||
2852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2853 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2854 | { | |
2855 | arg2 = &temp2; | |
2856 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2857 | } | |
2858 | { | |
2859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2860 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
2861 | ||
2862 | wxPyEndAllowThreads(__tstate); | |
2863 | if (PyErr_Occurred()) SWIG_fail; | |
2864 | } | |
2865 | Py_INCREF(Py_None); resultobj = Py_None; | |
2866 | return resultobj; | |
2867 | fail: | |
2868 | return NULL; | |
2869 | } | |
2870 | ||
2871 | ||
2872 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2873 | PyObject *resultobj; | |
2874 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2875 | wxPoint *arg2 = 0 ; | |
2876 | wxPoint temp2 ; | |
2877 | PyObject * obj0 = 0 ; | |
2878 | PyObject * obj1 = 0 ; | |
2879 | char *kwnames[] = { | |
2880 | (char *) "self",(char *) "pos", NULL | |
2881 | }; | |
2882 | ||
2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2884 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2885 | { | |
2886 | arg2 = &temp2; | |
2887 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2888 | } | |
2889 | { | |
2890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2891 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
2892 | ||
2893 | wxPyEndAllowThreads(__tstate); | |
2894 | if (PyErr_Occurred()) SWIG_fail; | |
2895 | } | |
2896 | Py_INCREF(Py_None); resultobj = Py_None; | |
2897 | return resultobj; | |
2898 | fail: | |
2899 | return NULL; | |
2900 | } | |
2901 | ||
2902 | ||
2903 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2904 | PyObject *resultobj; | |
2905 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2906 | PyObject * obj0 = 0 ; | |
2907 | char *kwnames[] = { | |
2908 | (char *) "self", NULL | |
2909 | }; | |
2910 | ||
2911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2912 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2913 | { | |
2914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2915 | (arg1)->ClearPrivPos(); | |
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_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2928 | PyObject *resultobj; | |
2929 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2930 | bool result; | |
2931 | PyObject * obj0 = 0 ; | |
2932 | char *kwnames[] = { | |
2933 | (char *) "self", NULL | |
2934 | }; | |
2935 | ||
2936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2937 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2938 | { | |
2939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2940 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
2941 | ||
2942 | wxPyEndAllowThreads(__tstate); | |
2943 | if (PyErr_Occurred()) SWIG_fail; | |
2944 | } | |
2945 | resultobj = PyInt_FromLong((long)result); | |
2946 | return resultobj; | |
2947 | fail: | |
2948 | return NULL; | |
2949 | } | |
2950 | ||
2951 | ||
2952 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
2953 | PyObject *obj; | |
2954 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2955 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
2956 | Py_INCREF(obj); | |
2957 | return Py_BuildValue((char *)""); | |
2958 | } | |
2959 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2960 | PyObject *resultobj; | |
2961 | wxHtmlRenderingState *result; | |
2962 | char *kwnames[] = { | |
2963 | NULL | |
2964 | }; | |
2965 | ||
2966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
2967 | { | |
2968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2969 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
2970 | ||
2971 | wxPyEndAllowThreads(__tstate); | |
2972 | if (PyErr_Occurred()) SWIG_fail; | |
2973 | } | |
2974 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1); | |
2975 | return resultobj; | |
2976 | fail: | |
2977 | return NULL; | |
2978 | } | |
2979 | ||
2980 | ||
2981 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2982 | PyObject *resultobj; | |
2983 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
2984 | PyObject * obj0 = 0 ; | |
2985 | char *kwnames[] = { | |
2986 | (char *) "self", NULL | |
2987 | }; | |
2988 | ||
2989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
2990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2991 | { | |
2992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2993 | delete arg1; | |
2994 | ||
2995 | wxPyEndAllowThreads(__tstate); | |
2996 | if (PyErr_Occurred()) SWIG_fail; | |
2997 | } | |
2998 | Py_INCREF(Py_None); resultobj = Py_None; | |
2999 | return resultobj; | |
3000 | fail: | |
3001 | return NULL; | |
3002 | } | |
3003 | ||
3004 | ||
3005 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3006 | PyObject *resultobj; | |
3007 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3008 | int arg2 ; | |
3009 | PyObject * obj0 = 0 ; | |
3010 | char *kwnames[] = { | |
3011 | (char *) "self",(char *) "s", NULL | |
3012 | }; | |
3013 | ||
3014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&arg2)) goto fail; | |
3015 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3016 | { | |
3017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3018 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3019 | ||
3020 | wxPyEndAllowThreads(__tstate); | |
3021 | if (PyErr_Occurred()) SWIG_fail; | |
3022 | } | |
3023 | Py_INCREF(Py_None); resultobj = Py_None; | |
3024 | return resultobj; | |
3025 | fail: | |
3026 | return NULL; | |
3027 | } | |
3028 | ||
3029 | ||
3030 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3031 | PyObject *resultobj; | |
3032 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3033 | int result; | |
3034 | PyObject * obj0 = 0 ; | |
3035 | char *kwnames[] = { | |
3036 | (char *) "self", NULL | |
3037 | }; | |
3038 | ||
3039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3040 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3041 | { | |
3042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3043 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3044 | ||
3045 | wxPyEndAllowThreads(__tstate); | |
3046 | if (PyErr_Occurred()) SWIG_fail; | |
3047 | } | |
3048 | resultobj = PyInt_FromLong((long)result); | |
3049 | return resultobj; | |
3050 | fail: | |
3051 | return NULL; | |
3052 | } | |
3053 | ||
3054 | ||
3055 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3056 | PyObject *resultobj; | |
3057 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3058 | wxColour *arg2 = 0 ; | |
3059 | wxColour temp2 ; | |
3060 | PyObject * obj0 = 0 ; | |
3061 | PyObject * obj1 = 0 ; | |
3062 | char *kwnames[] = { | |
3063 | (char *) "self",(char *) "c", NULL | |
3064 | }; | |
3065 | ||
3066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3067 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3068 | { | |
3069 | arg2 = &temp2; | |
3070 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3071 | } | |
3072 | { | |
3073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3074 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3075 | ||
3076 | wxPyEndAllowThreads(__tstate); | |
3077 | if (PyErr_Occurred()) SWIG_fail; | |
3078 | } | |
3079 | Py_INCREF(Py_None); resultobj = Py_None; | |
3080 | return resultobj; | |
3081 | fail: | |
3082 | return NULL; | |
3083 | } | |
3084 | ||
3085 | ||
3086 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3087 | PyObject *resultobj; | |
3088 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3089 | wxColour *result; | |
3090 | PyObject * obj0 = 0 ; | |
3091 | char *kwnames[] = { | |
3092 | (char *) "self", NULL | |
3093 | }; | |
3094 | ||
3095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3096 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3097 | { | |
3098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3099 | { | |
3100 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3101 | result = (wxColour *) &_result_ref; | |
3102 | } | |
3103 | ||
3104 | wxPyEndAllowThreads(__tstate); | |
3105 | if (PyErr_Occurred()) SWIG_fail; | |
3106 | } | |
3107 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3108 | return resultobj; | |
3109 | fail: | |
3110 | return NULL; | |
3111 | } | |
3112 | ||
3113 | ||
3114 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3115 | PyObject *resultobj; | |
3116 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3117 | wxColour *arg2 = 0 ; | |
3118 | wxColour temp2 ; | |
3119 | PyObject * obj0 = 0 ; | |
3120 | PyObject * obj1 = 0 ; | |
3121 | char *kwnames[] = { | |
3122 | (char *) "self",(char *) "c", NULL | |
3123 | }; | |
3124 | ||
3125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3126 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3127 | { | |
3128 | arg2 = &temp2; | |
3129 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3130 | } | |
3131 | { | |
3132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3133 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3134 | ||
3135 | wxPyEndAllowThreads(__tstate); | |
3136 | if (PyErr_Occurred()) SWIG_fail; | |
3137 | } | |
3138 | Py_INCREF(Py_None); resultobj = Py_None; | |
3139 | return resultobj; | |
3140 | fail: | |
3141 | return NULL; | |
3142 | } | |
3143 | ||
3144 | ||
3145 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3146 | PyObject *resultobj; | |
3147 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3148 | wxColour *result; | |
3149 | PyObject * obj0 = 0 ; | |
3150 | char *kwnames[] = { | |
3151 | (char *) "self", NULL | |
3152 | }; | |
3153 | ||
3154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3155 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3156 | { | |
3157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3158 | { | |
3159 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3160 | result = (wxColour *) &_result_ref; | |
3161 | } | |
3162 | ||
3163 | wxPyEndAllowThreads(__tstate); | |
3164 | if (PyErr_Occurred()) SWIG_fail; | |
3165 | } | |
3166 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3167 | return resultobj; | |
3168 | fail: | |
3169 | return NULL; | |
3170 | } | |
3171 | ||
3172 | ||
3173 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3174 | PyObject *obj; | |
3175 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3176 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3177 | Py_INCREF(obj); | |
3178 | return Py_BuildValue((char *)""); | |
3179 | } | |
3180 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3181 | PyObject *resultobj; | |
3182 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3183 | wxColour *arg2 = 0 ; | |
3184 | wxColour result; | |
3185 | wxColour temp2 ; | |
3186 | PyObject * obj0 = 0 ; | |
3187 | PyObject * obj1 = 0 ; | |
3188 | char *kwnames[] = { | |
3189 | (char *) "self",(char *) "clr", NULL | |
3190 | }; | |
3191 | ||
3192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3193 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3194 | { | |
3195 | arg2 = &temp2; | |
3196 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3197 | } | |
3198 | { | |
3199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3200 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3201 | ||
3202 | wxPyEndAllowThreads(__tstate); | |
3203 | if (PyErr_Occurred()) SWIG_fail; | |
3204 | } | |
3205 | { | |
3206 | wxColour * resultptr; | |
3207 | resultptr = new wxColour((wxColour &) result); | |
3208 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3209 | } | |
3210 | return resultobj; | |
3211 | fail: | |
3212 | return NULL; | |
3213 | } | |
3214 | ||
3215 | ||
3216 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3217 | PyObject *resultobj; | |
3218 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3219 | wxColour *arg2 = 0 ; | |
3220 | wxColour result; | |
3221 | wxColour temp2 ; | |
3222 | PyObject * obj0 = 0 ; | |
3223 | PyObject * obj1 = 0 ; | |
3224 | char *kwnames[] = { | |
3225 | (char *) "self",(char *) "clr", NULL | |
3226 | }; | |
3227 | ||
3228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3229 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3230 | { | |
3231 | arg2 = &temp2; | |
3232 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3233 | } | |
3234 | { | |
3235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3236 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3237 | ||
3238 | wxPyEndAllowThreads(__tstate); | |
3239 | if (PyErr_Occurred()) SWIG_fail; | |
3240 | } | |
3241 | { | |
3242 | wxColour * resultptr; | |
3243 | resultptr = new wxColour((wxColour &) result); | |
3244 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3245 | } | |
3246 | return resultobj; | |
3247 | fail: | |
3248 | return NULL; | |
3249 | } | |
3250 | ||
3251 | ||
3252 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3253 | PyObject *obj; | |
3254 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3255 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3256 | Py_INCREF(obj); | |
3257 | return Py_BuildValue((char *)""); | |
3258 | } | |
3259 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3260 | PyObject *resultobj; | |
3261 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3262 | wxColour *arg2 = 0 ; | |
3263 | wxColour result; | |
3264 | wxColour temp2 ; | |
3265 | PyObject * obj0 = 0 ; | |
3266 | PyObject * obj1 = 0 ; | |
3267 | char *kwnames[] = { | |
3268 | (char *) "self",(char *) "clr", NULL | |
3269 | }; | |
3270 | ||
3271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3272 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3273 | { | |
3274 | arg2 = &temp2; | |
3275 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3276 | } | |
3277 | { | |
3278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3279 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3280 | ||
3281 | wxPyEndAllowThreads(__tstate); | |
3282 | if (PyErr_Occurred()) SWIG_fail; | |
3283 | } | |
3284 | { | |
3285 | wxColour * resultptr; | |
3286 | resultptr = new wxColour((wxColour &) result); | |
3287 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3288 | } | |
3289 | return resultobj; | |
3290 | fail: | |
3291 | return NULL; | |
3292 | } | |
3293 | ||
3294 | ||
3295 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3296 | PyObject *resultobj; | |
3297 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3298 | wxColour *arg2 = 0 ; | |
3299 | wxColour result; | |
3300 | wxColour temp2 ; | |
3301 | PyObject * obj0 = 0 ; | |
3302 | PyObject * obj1 = 0 ; | |
3303 | char *kwnames[] = { | |
3304 | (char *) "self",(char *) "clr", NULL | |
3305 | }; | |
3306 | ||
3307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3309 | { | |
3310 | arg2 = &temp2; | |
3311 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3312 | } | |
3313 | { | |
3314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3315 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3316 | ||
3317 | wxPyEndAllowThreads(__tstate); | |
3318 | if (PyErr_Occurred()) SWIG_fail; | |
3319 | } | |
3320 | { | |
3321 | wxColour * resultptr; | |
3322 | resultptr = new wxColour((wxColour &) result); | |
3323 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3324 | } | |
3325 | return resultobj; | |
3326 | fail: | |
3327 | return NULL; | |
3328 | } | |
3329 | ||
3330 | ||
3331 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3332 | PyObject *obj; | |
3333 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3334 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3335 | Py_INCREF(obj); | |
3336 | return Py_BuildValue((char *)""); | |
3337 | } | |
3338 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3339 | PyObject *resultobj; | |
3340 | wxHtmlRenderingInfo *result; | |
3341 | char *kwnames[] = { | |
3342 | NULL | |
3343 | }; | |
3344 | ||
3345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3346 | { | |
3347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3348 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3349 | ||
3350 | wxPyEndAllowThreads(__tstate); | |
3351 | if (PyErr_Occurred()) SWIG_fail; | |
3352 | } | |
3353 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3354 | return resultobj; | |
3355 | fail: | |
3356 | return NULL; | |
3357 | } | |
3358 | ||
3359 | ||
3360 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3361 | PyObject *resultobj; | |
3362 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3363 | PyObject * obj0 = 0 ; | |
3364 | char *kwnames[] = { | |
3365 | (char *) "self", NULL | |
3366 | }; | |
3367 | ||
3368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3370 | { | |
3371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3372 | delete arg1; | |
3373 | ||
3374 | wxPyEndAllowThreads(__tstate); | |
3375 | if (PyErr_Occurred()) SWIG_fail; | |
3376 | } | |
3377 | Py_INCREF(Py_None); resultobj = Py_None; | |
3378 | return resultobj; | |
3379 | fail: | |
3380 | return NULL; | |
3381 | } | |
3382 | ||
3383 | ||
3384 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3385 | PyObject *resultobj; | |
3386 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3387 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3388 | PyObject * obj0 = 0 ; | |
3389 | PyObject * obj1 = 0 ; | |
3390 | char *kwnames[] = { | |
3391 | (char *) "self",(char *) "s", NULL | |
3392 | }; | |
3393 | ||
3394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3396 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3397 | { | |
3398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3399 | (arg1)->SetSelection(arg2); | |
3400 | ||
3401 | wxPyEndAllowThreads(__tstate); | |
3402 | if (PyErr_Occurred()) SWIG_fail; | |
3403 | } | |
3404 | Py_INCREF(Py_None); resultobj = Py_None; | |
3405 | return resultobj; | |
3406 | fail: | |
3407 | return NULL; | |
3408 | } | |
3409 | ||
3410 | ||
3411 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3412 | PyObject *resultobj; | |
3413 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3414 | wxHtmlSelection *result; | |
3415 | PyObject * obj0 = 0 ; | |
3416 | char *kwnames[] = { | |
3417 | (char *) "self", NULL | |
3418 | }; | |
3419 | ||
3420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3421 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3422 | { | |
3423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3424 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3425 | ||
3426 | wxPyEndAllowThreads(__tstate); | |
3427 | if (PyErr_Occurred()) SWIG_fail; | |
3428 | } | |
3429 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0); | |
3430 | return resultobj; | |
3431 | fail: | |
3432 | return NULL; | |
3433 | } | |
3434 | ||
3435 | ||
3436 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3437 | PyObject *resultobj; | |
3438 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3439 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3440 | PyObject * obj0 = 0 ; | |
3441 | PyObject * obj1 = 0 ; | |
3442 | char *kwnames[] = { | |
3443 | (char *) "self",(char *) "style", NULL | |
3444 | }; | |
3445 | ||
3446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3447 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3448 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3449 | { | |
3450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3451 | (arg1)->SetStyle(arg2); | |
3452 | ||
3453 | wxPyEndAllowThreads(__tstate); | |
3454 | if (PyErr_Occurred()) SWIG_fail; | |
3455 | } | |
3456 | Py_INCREF(Py_None); resultobj = Py_None; | |
3457 | return resultobj; | |
3458 | fail: | |
3459 | return NULL; | |
3460 | } | |
3461 | ||
3462 | ||
3463 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3464 | PyObject *resultobj; | |
3465 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3466 | wxHtmlRenderingStyle *result; | |
3467 | PyObject * obj0 = 0 ; | |
3468 | char *kwnames[] = { | |
3469 | (char *) "self", NULL | |
3470 | }; | |
3471 | ||
3472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3473 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3474 | { | |
3475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3476 | { | |
3477 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3478 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3479 | } | |
3480 | ||
3481 | wxPyEndAllowThreads(__tstate); | |
3482 | if (PyErr_Occurred()) SWIG_fail; | |
3483 | } | |
3484 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3485 | return resultobj; | |
3486 | fail: | |
3487 | return NULL; | |
3488 | } | |
3489 | ||
3490 | ||
3491 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3492 | PyObject *resultobj; | |
3493 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3494 | wxHtmlRenderingState *result; | |
3495 | PyObject * obj0 = 0 ; | |
3496 | char *kwnames[] = { | |
3497 | (char *) "self", NULL | |
3498 | }; | |
3499 | ||
3500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3501 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3502 | { | |
3503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3504 | { | |
3505 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3506 | result = (wxHtmlRenderingState *) &_result_ref; | |
3507 | } | |
3508 | ||
3509 | wxPyEndAllowThreads(__tstate); | |
3510 | if (PyErr_Occurred()) SWIG_fail; | |
3511 | } | |
3512 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3513 | return resultobj; | |
3514 | fail: | |
3515 | return NULL; | |
3516 | } | |
3517 | ||
3518 | ||
3519 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3520 | PyObject *obj; | |
3521 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3522 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3523 | Py_INCREF(obj); | |
3524 | return Py_BuildValue((char *)""); | |
3525 | } | |
3526 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3527 | PyObject *resultobj; | |
3528 | wxHtmlCell *result; | |
3529 | char *kwnames[] = { | |
3530 | NULL | |
3531 | }; | |
3532 | ||
3533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
3534 | { | |
3535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3536 | result = (wxHtmlCell *)new wxHtmlCell(); | |
3537 | ||
3538 | wxPyEndAllowThreads(__tstate); | |
3539 | if (PyErr_Occurred()) SWIG_fail; | |
3540 | } | |
3541 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1); | |
3542 | return resultobj; | |
3543 | fail: | |
3544 | return NULL; | |
3545 | } | |
3546 | ||
3547 | ||
3548 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3549 | PyObject *resultobj; | |
3550 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3551 | int result; | |
3552 | PyObject * obj0 = 0 ; | |
3553 | char *kwnames[] = { | |
3554 | (char *) "self", NULL | |
3555 | }; | |
3556 | ||
3557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
3558 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3559 | { | |
3560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3561 | result = (int)(arg1)->GetPosX(); | |
3562 | ||
3563 | wxPyEndAllowThreads(__tstate); | |
3564 | if (PyErr_Occurred()) SWIG_fail; | |
3565 | } | |
3566 | resultobj = PyInt_FromLong((long)result); | |
3567 | return resultobj; | |
3568 | fail: | |
3569 | return NULL; | |
3570 | } | |
3571 | ||
3572 | ||
3573 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3574 | PyObject *resultobj; | |
3575 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3576 | int result; | |
3577 | PyObject * obj0 = 0 ; | |
3578 | char *kwnames[] = { | |
3579 | (char *) "self", NULL | |
3580 | }; | |
3581 | ||
3582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
3583 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3584 | { | |
3585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3586 | result = (int)(arg1)->GetPosY(); | |
3587 | ||
3588 | wxPyEndAllowThreads(__tstate); | |
3589 | if (PyErr_Occurred()) SWIG_fail; | |
3590 | } | |
3591 | resultobj = PyInt_FromLong((long)result); | |
3592 | return resultobj; | |
3593 | fail: | |
3594 | return NULL; | |
3595 | } | |
3596 | ||
3597 | ||
3598 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3599 | PyObject *resultobj; | |
3600 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3601 | int result; | |
3602 | PyObject * obj0 = 0 ; | |
3603 | char *kwnames[] = { | |
3604 | (char *) "self", NULL | |
3605 | }; | |
3606 | ||
3607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
3608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3609 | { | |
3610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3611 | result = (int)(arg1)->GetWidth(); | |
3612 | ||
3613 | wxPyEndAllowThreads(__tstate); | |
3614 | if (PyErr_Occurred()) SWIG_fail; | |
3615 | } | |
3616 | resultobj = PyInt_FromLong((long)result); | |
3617 | return resultobj; | |
3618 | fail: | |
3619 | return NULL; | |
3620 | } | |
3621 | ||
3622 | ||
3623 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3624 | PyObject *resultobj; | |
3625 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3626 | int result; | |
3627 | PyObject * obj0 = 0 ; | |
3628 | char *kwnames[] = { | |
3629 | (char *) "self", NULL | |
3630 | }; | |
3631 | ||
3632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
3633 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3634 | { | |
3635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3636 | result = (int)(arg1)->GetHeight(); | |
3637 | ||
3638 | wxPyEndAllowThreads(__tstate); | |
3639 | if (PyErr_Occurred()) SWIG_fail; | |
3640 | } | |
3641 | resultobj = PyInt_FromLong((long)result); | |
3642 | return resultobj; | |
3643 | fail: | |
3644 | return NULL; | |
3645 | } | |
3646 | ||
3647 | ||
3648 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3649 | PyObject *resultobj; | |
3650 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3651 | int result; | |
3652 | PyObject * obj0 = 0 ; | |
3653 | char *kwnames[] = { | |
3654 | (char *) "self", NULL | |
3655 | }; | |
3656 | ||
3657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
3658 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3659 | { | |
3660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3661 | result = (int)(arg1)->GetDescent(); | |
3662 | ||
3663 | wxPyEndAllowThreads(__tstate); | |
3664 | if (PyErr_Occurred()) SWIG_fail; | |
3665 | } | |
3666 | resultobj = PyInt_FromLong((long)result); | |
3667 | return resultobj; | |
3668 | fail: | |
3669 | return NULL; | |
3670 | } | |
3671 | ||
3672 | ||
3673 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3674 | PyObject *resultobj; | |
3675 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3676 | int arg2 = (int) 0 ; | |
3677 | int arg3 = (int) 0 ; | |
3678 | wxHtmlLinkInfo *result; | |
3679 | PyObject * obj0 = 0 ; | |
3680 | char *kwnames[] = { | |
3681 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3682 | }; | |
3683 | ||
3684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:HtmlCell_GetLink",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3686 | { | |
3687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3688 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
3689 | ||
3690 | wxPyEndAllowThreads(__tstate); | |
3691 | if (PyErr_Occurred()) SWIG_fail; | |
3692 | } | |
3693 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
3694 | return resultobj; | |
3695 | fail: | |
3696 | return NULL; | |
3697 | } | |
3698 | ||
3699 | ||
3700 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3701 | PyObject *resultobj; | |
3702 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3703 | wxHtmlCell *result; | |
3704 | PyObject * obj0 = 0 ; | |
3705 | char *kwnames[] = { | |
3706 | (char *) "self", NULL | |
3707 | }; | |
3708 | ||
3709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
3710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3711 | { | |
3712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3713 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
3714 | ||
3715 | wxPyEndAllowThreads(__tstate); | |
3716 | if (PyErr_Occurred()) SWIG_fail; | |
3717 | } | |
3718 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3719 | return resultobj; | |
3720 | fail: | |
3721 | return NULL; | |
3722 | } | |
3723 | ||
3724 | ||
3725 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3726 | PyObject *resultobj; | |
3727 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3728 | wxHtmlContainerCell *result; | |
3729 | PyObject * obj0 = 0 ; | |
3730 | char *kwnames[] = { | |
3731 | (char *) "self", NULL | |
3732 | }; | |
3733 | ||
3734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
3735 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3736 | { | |
3737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3738 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
3739 | ||
3740 | wxPyEndAllowThreads(__tstate); | |
3741 | if (PyErr_Occurred()) SWIG_fail; | |
3742 | } | |
3743 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
3744 | return resultobj; | |
3745 | fail: | |
3746 | return NULL; | |
3747 | } | |
3748 | ||
3749 | ||
3750 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3751 | PyObject *resultobj; | |
3752 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3753 | wxHtmlCell *result; | |
3754 | PyObject * obj0 = 0 ; | |
3755 | char *kwnames[] = { | |
3756 | (char *) "self", NULL | |
3757 | }; | |
3758 | ||
3759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
3760 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3761 | { | |
3762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3763 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
3764 | ||
3765 | wxPyEndAllowThreads(__tstate); | |
3766 | if (PyErr_Occurred()) SWIG_fail; | |
3767 | } | |
3768 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3769 | return resultobj; | |
3770 | fail: | |
3771 | return NULL; | |
3772 | } | |
3773 | ||
3774 | ||
3775 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3776 | PyObject *resultobj; | |
3777 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3778 | wxCursor result; | |
3779 | PyObject * obj0 = 0 ; | |
3780 | char *kwnames[] = { | |
3781 | (char *) "self", NULL | |
3782 | }; | |
3783 | ||
3784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
3785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3786 | { | |
3787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3788 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
3789 | ||
3790 | wxPyEndAllowThreads(__tstate); | |
3791 | if (PyErr_Occurred()) SWIG_fail; | |
3792 | } | |
3793 | { | |
3794 | wxCursor * resultptr; | |
3795 | resultptr = new wxCursor((wxCursor &) result); | |
3796 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1); | |
3797 | } | |
3798 | return resultobj; | |
3799 | fail: | |
3800 | return NULL; | |
3801 | } | |
3802 | ||
3803 | ||
3804 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3805 | PyObject *resultobj; | |
3806 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3807 | bool result; | |
3808 | PyObject * obj0 = 0 ; | |
3809 | char *kwnames[] = { | |
3810 | (char *) "self", NULL | |
3811 | }; | |
3812 | ||
3813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
3814 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3815 | { | |
3816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3817 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
3818 | ||
3819 | wxPyEndAllowThreads(__tstate); | |
3820 | if (PyErr_Occurred()) SWIG_fail; | |
3821 | } | |
3822 | resultobj = PyInt_FromLong((long)result); | |
3823 | return resultobj; | |
3824 | fail: | |
3825 | return NULL; | |
3826 | } | |
3827 | ||
3828 | ||
3829 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3830 | PyObject *resultobj; | |
3831 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3832 | wxHtmlLinkInfo *arg2 = 0 ; | |
3833 | PyObject * obj0 = 0 ; | |
3834 | PyObject * obj1 = 0 ; | |
3835 | char *kwnames[] = { | |
3836 | (char *) "self",(char *) "link", NULL | |
3837 | }; | |
3838 | ||
3839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
3840 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3841 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3842 | if (arg2 == NULL) { | |
3843 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3844 | } | |
3845 | { | |
3846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3847 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
3848 | ||
3849 | wxPyEndAllowThreads(__tstate); | |
3850 | if (PyErr_Occurred()) SWIG_fail; | |
3851 | } | |
3852 | Py_INCREF(Py_None); resultobj = Py_None; | |
3853 | return resultobj; | |
3854 | fail: | |
3855 | return NULL; | |
3856 | } | |
3857 | ||
3858 | ||
3859 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3860 | PyObject *resultobj; | |
3861 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3862 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3863 | PyObject * obj0 = 0 ; | |
3864 | PyObject * obj1 = 0 ; | |
3865 | char *kwnames[] = { | |
3866 | (char *) "self",(char *) "cell", NULL | |
3867 | }; | |
3868 | ||
3869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
3870 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3871 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3872 | { | |
3873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3874 | (arg1)->SetNext(arg2); | |
3875 | ||
3876 | wxPyEndAllowThreads(__tstate); | |
3877 | if (PyErr_Occurred()) SWIG_fail; | |
3878 | } | |
3879 | Py_INCREF(Py_None); resultobj = Py_None; | |
3880 | return resultobj; | |
3881 | fail: | |
3882 | return NULL; | |
3883 | } | |
3884 | ||
3885 | ||
3886 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3887 | PyObject *resultobj; | |
3888 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3889 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
3890 | PyObject * obj0 = 0 ; | |
3891 | PyObject * obj1 = 0 ; | |
3892 | char *kwnames[] = { | |
3893 | (char *) "self",(char *) "p", NULL | |
3894 | }; | |
3895 | ||
3896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
3897 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3898 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3899 | { | |
3900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3901 | (arg1)->SetParent(arg2); | |
3902 | ||
3903 | wxPyEndAllowThreads(__tstate); | |
3904 | if (PyErr_Occurred()) SWIG_fail; | |
3905 | } | |
3906 | Py_INCREF(Py_None); resultobj = Py_None; | |
3907 | return resultobj; | |
3908 | fail: | |
3909 | return NULL; | |
3910 | } | |
3911 | ||
3912 | ||
3913 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3914 | PyObject *resultobj; | |
3915 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3916 | int arg2 ; | |
3917 | int arg3 ; | |
3918 | PyObject * obj0 = 0 ; | |
3919 | char *kwnames[] = { | |
3920 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3921 | }; | |
3922 | ||
3923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlCell_SetPos",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3924 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3925 | { | |
3926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3927 | (arg1)->SetPos(arg2,arg3); | |
3928 | ||
3929 | wxPyEndAllowThreads(__tstate); | |
3930 | if (PyErr_Occurred()) SWIG_fail; | |
3931 | } | |
3932 | Py_INCREF(Py_None); resultobj = Py_None; | |
3933 | return resultobj; | |
3934 | fail: | |
3935 | return NULL; | |
3936 | } | |
3937 | ||
3938 | ||
3939 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3940 | PyObject *resultobj; | |
3941 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3942 | int arg2 ; | |
3943 | PyObject * obj0 = 0 ; | |
3944 | char *kwnames[] = { | |
3945 | (char *) "self",(char *) "w", NULL | |
3946 | }; | |
3947 | ||
3948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlCell_Layout",kwnames,&obj0,&arg2)) goto fail; | |
3949 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3950 | { | |
3951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3952 | (arg1)->Layout(arg2); | |
3953 | ||
3954 | wxPyEndAllowThreads(__tstate); | |
3955 | if (PyErr_Occurred()) SWIG_fail; | |
3956 | } | |
3957 | Py_INCREF(Py_None); resultobj = Py_None; | |
3958 | return resultobj; | |
3959 | fail: | |
3960 | return NULL; | |
3961 | } | |
3962 | ||
3963 | ||
3964 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3965 | PyObject *resultobj; | |
3966 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3967 | wxDC *arg2 = 0 ; | |
3968 | int arg3 ; | |
3969 | int arg4 ; | |
3970 | int arg5 ; | |
3971 | int arg6 ; | |
3972 | wxHtmlRenderingInfo *arg7 = 0 ; | |
3973 | PyObject * obj0 = 0 ; | |
3974 | PyObject * obj1 = 0 ; | |
3975 | PyObject * obj6 = 0 ; | |
3976 | char *kwnames[] = { | |
3977 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
3978 | }; | |
3979 | ||
3980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiiiO:HtmlCell_Draw",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail; | |
3981 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3982 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3983 | if (arg2 == NULL) { | |
3984 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3985 | } | |
3986 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3987 | if (arg7 == NULL) { | |
3988 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3989 | } | |
3990 | { | |
3991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3992 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
3993 | ||
3994 | wxPyEndAllowThreads(__tstate); | |
3995 | if (PyErr_Occurred()) SWIG_fail; | |
3996 | } | |
3997 | Py_INCREF(Py_None); resultobj = Py_None; | |
3998 | return resultobj; | |
3999 | fail: | |
4000 | return NULL; | |
4001 | } | |
4002 | ||
4003 | ||
4004 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4005 | PyObject *resultobj; | |
4006 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4007 | wxDC *arg2 = 0 ; | |
4008 | int arg3 ; | |
4009 | int arg4 ; | |
4010 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4011 | PyObject * obj0 = 0 ; | |
4012 | PyObject * obj1 = 0 ; | |
4013 | PyObject * obj4 = 0 ; | |
4014 | char *kwnames[] = { | |
4015 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4016 | }; | |
4017 | ||
4018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4020 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4021 | if (arg2 == NULL) { | |
4022 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4023 | } | |
4024 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4025 | if (arg5 == NULL) { | |
4026 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4027 | } | |
4028 | { | |
4029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4030 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4031 | ||
4032 | wxPyEndAllowThreads(__tstate); | |
4033 | if (PyErr_Occurred()) SWIG_fail; | |
4034 | } | |
4035 | Py_INCREF(Py_None); resultobj = Py_None; | |
4036 | return resultobj; | |
4037 | fail: | |
4038 | return NULL; | |
4039 | } | |
4040 | ||
4041 | ||
4042 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4043 | PyObject *resultobj; | |
4044 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4045 | int arg2 ; | |
4046 | void *arg3 = (void *) 0 ; | |
4047 | wxHtmlCell *result; | |
4048 | PyObject * obj0 = 0 ; | |
4049 | PyObject * obj2 = 0 ; | |
4050 | char *kwnames[] = { | |
4051 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4052 | }; | |
4053 | ||
4054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HtmlCell_Find",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
4055 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4056 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4057 | { | |
4058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4059 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4060 | ||
4061 | wxPyEndAllowThreads(__tstate); | |
4062 | if (PyErr_Occurred()) SWIG_fail; | |
4063 | } | |
4064 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4065 | return resultobj; | |
4066 | fail: | |
4067 | return NULL; | |
4068 | } | |
4069 | ||
4070 | ||
4071 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4072 | PyObject *resultobj; | |
4073 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4074 | int *arg2 = (int *) 0 ; | |
4075 | bool result; | |
4076 | int temp2 ; | |
4077 | PyObject * obj0 = 0 ; | |
4078 | PyObject * obj1 = 0 ; | |
4079 | char *kwnames[] = { | |
4080 | (char *) "self",(char *) "INOUT", NULL | |
4081 | }; | |
4082 | ||
4083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4084 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4085 | { | |
4086 | temp2 = PyInt_AsLong(obj1); | |
4087 | if (PyErr_Occurred()) SWIG_fail; | |
4088 | arg2 = &temp2; | |
4089 | } | |
4090 | { | |
4091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4092 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4093 | ||
4094 | wxPyEndAllowThreads(__tstate); | |
4095 | if (PyErr_Occurred()) SWIG_fail; | |
4096 | } | |
4097 | resultobj = PyInt_FromLong((long)result); | |
4098 | { | |
4099 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4100 | resultobj = t_output_helper(resultobj,o); | |
4101 | } | |
4102 | return resultobj; | |
4103 | fail: | |
4104 | return NULL; | |
4105 | } | |
4106 | ||
4107 | ||
4108 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4109 | PyObject *resultobj; | |
4110 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4111 | bool arg2 ; | |
4112 | PyObject * obj0 = 0 ; | |
4113 | PyObject * obj1 = 0 ; | |
4114 | char *kwnames[] = { | |
4115 | (char *) "self",(char *) "can", NULL | |
4116 | }; | |
4117 | ||
4118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4120 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4121 | if (PyErr_Occurred()) SWIG_fail; | |
4122 | { | |
4123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4124 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4125 | ||
4126 | wxPyEndAllowThreads(__tstate); | |
4127 | if (PyErr_Occurred()) SWIG_fail; | |
4128 | } | |
4129 | Py_INCREF(Py_None); resultobj = Py_None; | |
4130 | return resultobj; | |
4131 | fail: | |
4132 | return NULL; | |
4133 | } | |
4134 | ||
4135 | ||
4136 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4137 | PyObject *resultobj; | |
4138 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4139 | bool result; | |
4140 | PyObject * obj0 = 0 ; | |
4141 | char *kwnames[] = { | |
4142 | (char *) "self", NULL | |
4143 | }; | |
4144 | ||
4145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4146 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4147 | { | |
4148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4149 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4150 | ||
4151 | wxPyEndAllowThreads(__tstate); | |
4152 | if (PyErr_Occurred()) SWIG_fail; | |
4153 | } | |
4154 | resultobj = PyInt_FromLong((long)result); | |
4155 | return resultobj; | |
4156 | fail: | |
4157 | return NULL; | |
4158 | } | |
4159 | ||
4160 | ||
4161 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4162 | PyObject *resultobj; | |
4163 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4164 | bool result; | |
4165 | PyObject * obj0 = 0 ; | |
4166 | char *kwnames[] = { | |
4167 | (char *) "self", NULL | |
4168 | }; | |
4169 | ||
4170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4172 | { | |
4173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4174 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4175 | ||
4176 | wxPyEndAllowThreads(__tstate); | |
4177 | if (PyErr_Occurred()) SWIG_fail; | |
4178 | } | |
4179 | resultobj = PyInt_FromLong((long)result); | |
4180 | return resultobj; | |
4181 | fail: | |
4182 | return NULL; | |
4183 | } | |
4184 | ||
4185 | ||
4186 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4187 | PyObject *resultobj; | |
4188 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
4189 | int arg2 ; |
4190 | int arg3 ; | |
d14a1e28 RD |
4191 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
4192 | wxHtmlCell *result; | |
4193 | PyObject * obj0 = 0 ; | |
4194 | PyObject * obj3 = 0 ; | |
4195 | char *kwnames[] = { | |
4196 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4197 | }; | |
4198 | ||
4199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4201 | if (obj3) { | |
4202 | arg4 = (unsigned int) PyInt_AsLong(obj3); | |
4203 | if (PyErr_Occurred()) SWIG_fail; | |
4204 | } | |
4205 | { | |
4206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4207 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4208 | ||
4209 | wxPyEndAllowThreads(__tstate); | |
4210 | if (PyErr_Occurred()) SWIG_fail; | |
4211 | } | |
4212 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4213 | return resultobj; | |
4214 | fail: | |
4215 | return NULL; | |
4216 | } | |
4217 | ||
4218 | ||
4219 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4220 | PyObject *resultobj; | |
4221 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4222 | wxPoint result; | |
4223 | PyObject * obj0 = 0 ; | |
4224 | char *kwnames[] = { | |
4225 | (char *) "self", NULL | |
4226 | }; | |
4227 | ||
4228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4229 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4230 | { | |
4231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4232 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4233 | ||
4234 | wxPyEndAllowThreads(__tstate); | |
4235 | if (PyErr_Occurred()) SWIG_fail; | |
4236 | } | |
4237 | { | |
4238 | wxPoint * resultptr; | |
4239 | resultptr = new wxPoint((wxPoint &) result); | |
4240 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
4241 | } | |
4242 | return resultobj; | |
4243 | fail: | |
4244 | return NULL; | |
4245 | } | |
4246 | ||
4247 | ||
4248 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4249 | PyObject *resultobj; | |
4250 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4251 | wxHtmlCell *result; | |
4252 | PyObject * obj0 = 0 ; | |
4253 | char *kwnames[] = { | |
4254 | (char *) "self", NULL | |
4255 | }; | |
4256 | ||
4257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4258 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4259 | { | |
4260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4261 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4262 | ||
4263 | wxPyEndAllowThreads(__tstate); | |
4264 | if (PyErr_Occurred()) SWIG_fail; | |
4265 | } | |
4266 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4267 | return resultobj; | |
4268 | fail: | |
4269 | return NULL; | |
4270 | } | |
4271 | ||
4272 | ||
4273 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4274 | PyObject *resultobj; | |
4275 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4276 | wxHtmlCell *result; | |
4277 | PyObject * obj0 = 0 ; | |
4278 | char *kwnames[] = { | |
4279 | (char *) "self", NULL | |
4280 | }; | |
4281 | ||
4282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4283 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4284 | { | |
4285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4286 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4287 | ||
4288 | wxPyEndAllowThreads(__tstate); | |
4289 | if (PyErr_Occurred()) SWIG_fail; | |
4290 | } | |
4291 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4292 | return resultobj; | |
4293 | fail: | |
4294 | return NULL; | |
4295 | } | |
4296 | ||
4297 | ||
4298 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4299 | PyObject *resultobj; | |
4300 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4301 | unsigned int result; | |
4302 | PyObject * obj0 = 0 ; | |
4303 | char *kwnames[] = { | |
4304 | (char *) "self", NULL | |
4305 | }; | |
4306 | ||
4307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4309 | { | |
4310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4311 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4312 | ||
4313 | wxPyEndAllowThreads(__tstate); | |
4314 | if (PyErr_Occurred()) SWIG_fail; | |
4315 | } | |
4316 | resultobj = PyInt_FromLong((long)result); | |
4317 | return resultobj; | |
4318 | fail: | |
4319 | return NULL; | |
4320 | } | |
4321 | ||
4322 | ||
4323 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4324 | PyObject *resultobj; | |
4325 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4326 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4327 | bool result; | |
4328 | PyObject * obj0 = 0 ; | |
4329 | PyObject * obj1 = 0 ; | |
4330 | char *kwnames[] = { | |
4331 | (char *) "self",(char *) "cell", NULL | |
4332 | }; | |
4333 | ||
4334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
4335 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4336 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4337 | { | |
4338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4339 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
4340 | ||
4341 | wxPyEndAllowThreads(__tstate); | |
4342 | if (PyErr_Occurred()) SWIG_fail; | |
4343 | } | |
4344 | resultobj = PyInt_FromLong((long)result); | |
4345 | return resultobj; | |
4346 | fail: | |
4347 | return NULL; | |
4348 | } | |
4349 | ||
4350 | ||
4351 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4352 | PyObject *resultobj; | |
4353 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4354 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4355 | wxString result; | |
4356 | PyObject * obj0 = 0 ; | |
4357 | PyObject * obj1 = 0 ; | |
4358 | char *kwnames[] = { | |
4359 | (char *) "self",(char *) "sel", NULL | |
4360 | }; | |
4361 | ||
4362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
4363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4364 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4365 | { | |
4366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4367 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
4368 | ||
4369 | wxPyEndAllowThreads(__tstate); | |
4370 | if (PyErr_Occurred()) SWIG_fail; | |
4371 | } | |
4372 | { | |
4373 | #if wxUSE_UNICODE | |
4374 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4375 | #else | |
4376 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4377 | #endif | |
4378 | } | |
4379 | return resultobj; | |
4380 | fail: | |
4381 | return NULL; | |
4382 | } | |
4383 | ||
4384 | ||
4385 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
4386 | PyObject *obj; | |
4387 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4388 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
4389 | Py_INCREF(obj); | |
4390 | return Py_BuildValue((char *)""); | |
4391 | } | |
4392 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4393 | PyObject *resultobj; | |
4394 | wxString *arg1 = 0 ; | |
4395 | wxDC *arg2 = 0 ; | |
4396 | wxHtmlWordCell *result; | |
e811c8ce | 4397 | bool temp1 = False ; |
d14a1e28 RD |
4398 | PyObject * obj0 = 0 ; |
4399 | PyObject * obj1 = 0 ; | |
4400 | char *kwnames[] = { | |
4401 | (char *) "word",(char *) "dc", NULL | |
4402 | }; | |
4403 | ||
4404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
4405 | { | |
4406 | arg1 = wxString_in_helper(obj0); | |
4407 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 4408 | temp1 = True; |
d14a1e28 RD |
4409 | } |
4410 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4411 | if (arg2 == NULL) { | |
4412 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4413 | } | |
4414 | { | |
4415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4416 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
4417 | ||
4418 | wxPyEndAllowThreads(__tstate); | |
4419 | if (PyErr_Occurred()) SWIG_fail; | |
4420 | } | |
4421 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1); | |
4422 | { | |
4423 | if (temp1) | |
4424 | delete arg1; | |
4425 | } | |
4426 | return resultobj; | |
4427 | fail: | |
4428 | { | |
4429 | if (temp1) | |
4430 | delete arg1; | |
4431 | } | |
4432 | return NULL; | |
4433 | } | |
4434 | ||
4435 | ||
4436 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
4437 | PyObject *obj; | |
4438 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4439 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
4440 | Py_INCREF(obj); | |
4441 | return Py_BuildValue((char *)""); | |
4442 | } | |
4443 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4444 | PyObject *resultobj; | |
4445 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4446 | wxHtmlContainerCell *result; | |
4447 | PyObject * obj0 = 0 ; | |
4448 | char *kwnames[] = { | |
4449 | (char *) "parent", NULL | |
4450 | }; | |
4451 | ||
4452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
4453 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4454 | { | |
4455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4456 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
4457 | ||
4458 | wxPyEndAllowThreads(__tstate); | |
4459 | if (PyErr_Occurred()) SWIG_fail; | |
4460 | } | |
4461 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1); | |
4462 | return resultobj; | |
4463 | fail: | |
4464 | return NULL; | |
4465 | } | |
4466 | ||
4467 | ||
4468 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4469 | PyObject *resultobj; | |
4470 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4471 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4472 | PyObject * obj0 = 0 ; | |
4473 | PyObject * obj1 = 0 ; | |
4474 | char *kwnames[] = { | |
4475 | (char *) "self",(char *) "cell", NULL | |
4476 | }; | |
4477 | ||
4478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
4479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4480 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4481 | { | |
4482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4483 | (arg1)->InsertCell(arg2); | |
4484 | ||
4485 | wxPyEndAllowThreads(__tstate); | |
4486 | if (PyErr_Occurred()) SWIG_fail; | |
4487 | } | |
4488 | Py_INCREF(Py_None); resultobj = Py_None; | |
4489 | return resultobj; | |
4490 | fail: | |
4491 | return NULL; | |
4492 | } | |
4493 | ||
4494 | ||
4495 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4496 | PyObject *resultobj; | |
4497 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4498 | int arg2 ; | |
4499 | PyObject * obj0 = 0 ; | |
4500 | char *kwnames[] = { | |
4501 | (char *) "self",(char *) "al", NULL | |
4502 | }; | |
4503 | ||
4504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&arg2)) goto fail; | |
4505 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4506 | { | |
4507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4508 | (arg1)->SetAlignHor(arg2); | |
4509 | ||
4510 | wxPyEndAllowThreads(__tstate); | |
4511 | if (PyErr_Occurred()) SWIG_fail; | |
4512 | } | |
4513 | Py_INCREF(Py_None); resultobj = Py_None; | |
4514 | return resultobj; | |
4515 | fail: | |
4516 | return NULL; | |
4517 | } | |
4518 | ||
4519 | ||
4520 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4521 | PyObject *resultobj; | |
4522 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4523 | int result; | |
4524 | PyObject * obj0 = 0 ; | |
4525 | char *kwnames[] = { | |
4526 | (char *) "self", NULL | |
4527 | }; | |
4528 | ||
4529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
4530 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4531 | { | |
4532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4533 | result = (int)(arg1)->GetAlignHor(); | |
4534 | ||
4535 | wxPyEndAllowThreads(__tstate); | |
4536 | if (PyErr_Occurred()) SWIG_fail; | |
4537 | } | |
4538 | resultobj = PyInt_FromLong((long)result); | |
4539 | return resultobj; | |
4540 | fail: | |
4541 | return NULL; | |
4542 | } | |
4543 | ||
4544 | ||
4545 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4546 | PyObject *resultobj; | |
4547 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4548 | int arg2 ; | |
4549 | PyObject * obj0 = 0 ; | |
4550 | char *kwnames[] = { | |
4551 | (char *) "self",(char *) "al", NULL | |
4552 | }; | |
4553 | ||
4554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&arg2)) goto fail; | |
4555 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4556 | { | |
4557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4558 | (arg1)->SetAlignVer(arg2); | |
4559 | ||
4560 | wxPyEndAllowThreads(__tstate); | |
4561 | if (PyErr_Occurred()) SWIG_fail; | |
4562 | } | |
4563 | Py_INCREF(Py_None); resultobj = Py_None; | |
4564 | return resultobj; | |
4565 | fail: | |
4566 | return NULL; | |
4567 | } | |
4568 | ||
4569 | ||
4570 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4571 | PyObject *resultobj; | |
4572 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4573 | int result; | |
4574 | PyObject * obj0 = 0 ; | |
4575 | char *kwnames[] = { | |
4576 | (char *) "self", NULL | |
4577 | }; | |
4578 | ||
4579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
4580 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4581 | { | |
4582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4583 | result = (int)(arg1)->GetAlignVer(); | |
4584 | ||
4585 | wxPyEndAllowThreads(__tstate); | |
4586 | if (PyErr_Occurred()) SWIG_fail; | |
4587 | } | |
4588 | resultobj = PyInt_FromLong((long)result); | |
4589 | return resultobj; | |
4590 | fail: | |
4591 | return NULL; | |
4592 | } | |
4593 | ||
4594 | ||
4595 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4596 | PyObject *resultobj; | |
4597 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4598 | int arg2 ; | |
4599 | int arg3 ; | |
4600 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
4601 | PyObject * obj0 = 0 ; | |
4602 | char *kwnames[] = { | |
4603 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
4604 | }; | |
4605 | ||
4606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
4607 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4608 | { | |
4609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4610 | (arg1)->SetIndent(arg2,arg3,arg4); | |
4611 | ||
4612 | wxPyEndAllowThreads(__tstate); | |
4613 | if (PyErr_Occurred()) SWIG_fail; | |
4614 | } | |
4615 | Py_INCREF(Py_None); resultobj = Py_None; | |
4616 | return resultobj; | |
4617 | fail: | |
4618 | return NULL; | |
4619 | } | |
4620 | ||
4621 | ||
4622 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4623 | PyObject *resultobj; | |
4624 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4625 | int arg2 ; | |
4626 | int result; | |
4627 | PyObject * obj0 = 0 ; | |
4628 | char *kwnames[] = { | |
4629 | (char *) "self",(char *) "ind", NULL | |
4630 | }; | |
4631 | ||
4632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames,&obj0,&arg2)) goto fail; | |
4633 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4634 | { | |
4635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4636 | result = (int)(arg1)->GetIndent(arg2); | |
4637 | ||
4638 | wxPyEndAllowThreads(__tstate); | |
4639 | if (PyErr_Occurred()) SWIG_fail; | |
4640 | } | |
4641 | resultobj = PyInt_FromLong((long)result); | |
4642 | return resultobj; | |
4643 | fail: | |
4644 | return NULL; | |
4645 | } | |
4646 | ||
4647 | ||
4648 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4649 | PyObject *resultobj; | |
4650 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4651 | int arg2 ; | |
4652 | int result; | |
4653 | PyObject * obj0 = 0 ; | |
4654 | char *kwnames[] = { | |
4655 | (char *) "self",(char *) "ind", NULL | |
4656 | }; | |
4657 | ||
4658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&arg2)) goto fail; | |
4659 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4660 | { | |
4661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4662 | result = (int)(arg1)->GetIndentUnits(arg2); | |
4663 | ||
4664 | wxPyEndAllowThreads(__tstate); | |
4665 | if (PyErr_Occurred()) SWIG_fail; | |
4666 | } | |
4667 | resultobj = PyInt_FromLong((long)result); | |
4668 | return resultobj; | |
4669 | fail: | |
4670 | return NULL; | |
4671 | } | |
4672 | ||
4673 | ||
4674 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4675 | PyObject *resultobj; | |
4676 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4677 | wxHtmlTag *arg2 = 0 ; | |
4678 | PyObject * obj0 = 0 ; | |
4679 | PyObject * obj1 = 0 ; | |
4680 | char *kwnames[] = { | |
4681 | (char *) "self",(char *) "tag", NULL | |
4682 | }; | |
4683 | ||
4684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
4685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4686 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4687 | if (arg2 == NULL) { | |
4688 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4689 | } | |
4690 | { | |
4691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4692 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
4693 | ||
4694 | wxPyEndAllowThreads(__tstate); | |
4695 | if (PyErr_Occurred()) SWIG_fail; | |
4696 | } | |
4697 | Py_INCREF(Py_None); resultobj = Py_None; | |
4698 | return resultobj; | |
4699 | fail: | |
4700 | return NULL; | |
4701 | } | |
4702 | ||
4703 | ||
4704 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4705 | PyObject *resultobj; | |
4706 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4707 | int arg2 ; | |
4708 | int arg3 ; | |
4709 | PyObject * obj0 = 0 ; | |
4710 | char *kwnames[] = { | |
4711 | (char *) "self",(char *) "w",(char *) "units", NULL | |
4712 | }; | |
4713 | ||
4714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4715 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4716 | { | |
4717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4718 | (arg1)->SetWidthFloat(arg2,arg3); | |
4719 | ||
4720 | wxPyEndAllowThreads(__tstate); | |
4721 | if (PyErr_Occurred()) SWIG_fail; | |
4722 | } | |
4723 | Py_INCREF(Py_None); resultobj = Py_None; | |
4724 | return resultobj; | |
4725 | fail: | |
4726 | return NULL; | |
4727 | } | |
4728 | ||
4729 | ||
4730 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4731 | PyObject *resultobj; | |
4732 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4733 | wxHtmlTag *arg2 = 0 ; | |
4734 | PyObject * obj0 = 0 ; | |
4735 | PyObject * obj1 = 0 ; | |
4736 | char *kwnames[] = { | |
4737 | (char *) "self",(char *) "tag", NULL | |
4738 | }; | |
4739 | ||
4740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
4741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4742 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4743 | if (arg2 == NULL) { | |
4744 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4745 | } | |
4746 | { | |
4747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4748 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
4749 | ||
4750 | wxPyEndAllowThreads(__tstate); | |
4751 | if (PyErr_Occurred()) SWIG_fail; | |
4752 | } | |
4753 | Py_INCREF(Py_None); resultobj = Py_None; | |
4754 | return resultobj; | |
4755 | fail: | |
4756 | return NULL; | |
4757 | } | |
4758 | ||
4759 | ||
4760 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4761 | PyObject *resultobj; | |
4762 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4763 | int arg2 ; | |
4764 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
4765 | PyObject * obj0 = 0 ; | |
4766 | char *kwnames[] = { | |
4767 | (char *) "self",(char *) "h",(char *) "align", NULL | |
4768 | }; | |
4769 | ||
4770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4771 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4772 | { | |
4773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4774 | (arg1)->SetMinHeight(arg2,arg3); | |
4775 | ||
4776 | wxPyEndAllowThreads(__tstate); | |
4777 | if (PyErr_Occurred()) SWIG_fail; | |
4778 | } | |
4779 | Py_INCREF(Py_None); resultobj = Py_None; | |
4780 | return resultobj; | |
4781 | fail: | |
4782 | return NULL; | |
4783 | } | |
4784 | ||
4785 | ||
4786 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4787 | PyObject *resultobj; | |
4788 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4789 | wxColour *arg2 = 0 ; | |
4790 | wxColour temp2 ; | |
4791 | PyObject * obj0 = 0 ; | |
4792 | PyObject * obj1 = 0 ; | |
4793 | char *kwnames[] = { | |
4794 | (char *) "self",(char *) "clr", NULL | |
4795 | }; | |
4796 | ||
4797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
4798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4799 | { | |
4800 | arg2 = &temp2; | |
4801 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4802 | } | |
4803 | { | |
4804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4805 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
4806 | ||
4807 | wxPyEndAllowThreads(__tstate); | |
4808 | if (PyErr_Occurred()) SWIG_fail; | |
4809 | } | |
4810 | Py_INCREF(Py_None); resultobj = Py_None; | |
4811 | return resultobj; | |
4812 | fail: | |
4813 | return NULL; | |
4814 | } | |
4815 | ||
4816 | ||
4817 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4818 | PyObject *resultobj; | |
4819 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4820 | wxColour result; | |
4821 | PyObject * obj0 = 0 ; | |
4822 | char *kwnames[] = { | |
4823 | (char *) "self", NULL | |
4824 | }; | |
4825 | ||
4826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
4827 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4828 | { | |
4829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4830 | result = (arg1)->GetBackgroundColour(); | |
4831 | ||
4832 | wxPyEndAllowThreads(__tstate); | |
4833 | if (PyErr_Occurred()) SWIG_fail; | |
4834 | } | |
4835 | { | |
4836 | wxColour * resultptr; | |
4837 | resultptr = new wxColour((wxColour &) result); | |
4838 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
4839 | } | |
4840 | return resultobj; | |
4841 | fail: | |
4842 | return NULL; | |
4843 | } | |
4844 | ||
4845 | ||
4846 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4847 | PyObject *resultobj; | |
4848 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4849 | wxColour *arg2 = 0 ; | |
4850 | wxColour *arg3 = 0 ; | |
4851 | wxColour temp2 ; | |
4852 | wxColour temp3 ; | |
4853 | PyObject * obj0 = 0 ; | |
4854 | PyObject * obj1 = 0 ; | |
4855 | PyObject * obj2 = 0 ; | |
4856 | char *kwnames[] = { | |
4857 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
4858 | }; | |
4859 | ||
4860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4861 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4862 | { | |
4863 | arg2 = &temp2; | |
4864 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4865 | } | |
4866 | { | |
4867 | arg3 = &temp3; | |
4868 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4869 | } | |
4870 | { | |
4871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4872 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
4873 | ||
4874 | wxPyEndAllowThreads(__tstate); | |
4875 | if (PyErr_Occurred()) SWIG_fail; | |
4876 | } | |
4877 | Py_INCREF(Py_None); resultobj = Py_None; | |
4878 | return resultobj; | |
4879 | fail: | |
4880 | return NULL; | |
4881 | } | |
4882 | ||
4883 | ||
4884 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4885 | PyObject *resultobj; | |
4886 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4887 | wxHtmlCell *result; | |
4888 | PyObject * obj0 = 0 ; | |
4889 | char *kwnames[] = { | |
4890 | (char *) "self", NULL | |
4891 | }; | |
4892 | ||
4893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4895 | { | |
4896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4897 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
4898 | ||
4899 | wxPyEndAllowThreads(__tstate); | |
4900 | if (PyErr_Occurred()) SWIG_fail; | |
4901 | } | |
4902 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4903 | return resultobj; | |
4904 | fail: | |
4905 | return NULL; | |
4906 | } | |
4907 | ||
4908 | ||
4909 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
4910 | PyObject *obj; | |
4911 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4912 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
4913 | Py_INCREF(obj); | |
4914 | return Py_BuildValue((char *)""); | |
4915 | } | |
4916 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4917 | PyObject *resultobj; | |
4918 | wxColour arg1 ; | |
4919 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
4920 | wxHtmlColourCell *result; | |
4921 | wxColour *argp1 ; | |
4922 | PyObject * obj0 = 0 ; | |
4923 | char *kwnames[] = { | |
4924 | (char *) "clr",(char *) "flags", NULL | |
4925 | }; | |
4926 | ||
4927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlColourCell",kwnames,&obj0,&arg2)) goto fail; | |
4928 | if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4929 | arg1 = *argp1; | |
4930 | { | |
4931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4932 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
4933 | ||
4934 | wxPyEndAllowThreads(__tstate); | |
4935 | if (PyErr_Occurred()) SWIG_fail; | |
4936 | } | |
4937 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1); | |
4938 | return resultobj; | |
4939 | fail: | |
4940 | return NULL; | |
4941 | } | |
4942 | ||
4943 | ||
4944 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
4945 | PyObject *obj; | |
4946 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4947 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
4948 | Py_INCREF(obj); | |
4949 | return Py_BuildValue((char *)""); | |
4950 | } | |
4951 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4952 | PyObject *resultobj; | |
4953 | wxFont *arg1 = (wxFont *) 0 ; | |
4954 | wxHtmlFontCell *result; | |
4955 | PyObject * obj0 = 0 ; | |
4956 | char *kwnames[] = { | |
4957 | (char *) "font", NULL | |
4958 | }; | |
4959 | ||
4960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
4961 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4962 | { | |
4963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4964 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
4965 | ||
4966 | wxPyEndAllowThreads(__tstate); | |
4967 | if (PyErr_Occurred()) SWIG_fail; | |
4968 | } | |
4969 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1); | |
4970 | return resultobj; | |
4971 | fail: | |
4972 | return NULL; | |
4973 | } | |
4974 | ||
4975 | ||
4976 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
4977 | PyObject *obj; | |
4978 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4979 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
4980 | Py_INCREF(obj); | |
4981 | return Py_BuildValue((char *)""); | |
4982 | } | |
4983 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4984 | PyObject *resultobj; | |
4985 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4986 | int arg2 = (int) 0 ; | |
4987 | wxHtmlWidgetCell *result; | |
4988 | PyObject * obj0 = 0 ; | |
4989 | char *kwnames[] = { | |
4990 | (char *) "wnd",(char *) "w", NULL | |
4991 | }; | |
4992 | ||
4993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlWidgetCell",kwnames,&obj0,&arg2)) goto fail; | |
4994 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4995 | { | |
4996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4997 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
4998 | ||
4999 | wxPyEndAllowThreads(__tstate); | |
5000 | if (PyErr_Occurred()) SWIG_fail; | |
5001 | } | |
5002 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5003 | return resultobj; | |
5004 | fail: | |
5005 | return NULL; | |
5006 | } | |
5007 | ||
5008 | ||
5009 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5010 | PyObject *obj; | |
5011 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5012 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5013 | Py_INCREF(obj); | |
5014 | return Py_BuildValue((char *)""); | |
5015 | } | |
5016 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5017 | PyObject *resultobj; | |
5018 | wxPyHtmlFilter *result; | |
5019 | char *kwnames[] = { | |
5020 | NULL | |
5021 | }; | |
5022 | ||
5023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5024 | { | |
5025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5026 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5027 | ||
5028 | wxPyEndAllowThreads(__tstate); | |
5029 | if (PyErr_Occurred()) SWIG_fail; | |
5030 | } | |
5031 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5032 | return resultobj; | |
5033 | fail: | |
5034 | return NULL; | |
5035 | } | |
5036 | ||
5037 | ||
5038 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5039 | PyObject *resultobj; | |
5040 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5041 | PyObject *arg2 = (PyObject *) 0 ; | |
5042 | PyObject *arg3 = (PyObject *) 0 ; | |
5043 | PyObject * obj0 = 0 ; | |
5044 | PyObject * obj1 = 0 ; | |
5045 | PyObject * obj2 = 0 ; | |
5046 | char *kwnames[] = { | |
5047 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5048 | }; | |
5049 | ||
5050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5051 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5052 | arg2 = obj1; | |
5053 | arg3 = obj2; | |
5054 | { | |
5055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5056 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5057 | ||
5058 | wxPyEndAllowThreads(__tstate); | |
5059 | if (PyErr_Occurred()) SWIG_fail; | |
5060 | } | |
5061 | Py_INCREF(Py_None); resultobj = Py_None; | |
5062 | return resultobj; | |
5063 | fail: | |
5064 | return NULL; | |
5065 | } | |
5066 | ||
5067 | ||
5068 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5069 | PyObject *obj; | |
5070 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5071 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5072 | Py_INCREF(obj); | |
5073 | return Py_BuildValue((char *)""); | |
5074 | } | |
5075 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5076 | PyObject *resultobj; | |
5077 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5078 | int arg2 = (int) -1 ; | |
5079 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5080 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5081 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5082 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5083 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5084 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5085 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5086 | wxPyHtmlWindow *result; | |
5087 | wxPoint temp3 ; | |
5088 | wxSize temp4 ; | |
e811c8ce | 5089 | bool temp6 = False ; |
d14a1e28 RD |
5090 | PyObject * obj0 = 0 ; |
5091 | PyObject * obj2 = 0 ; | |
5092 | PyObject * obj3 = 0 ; | |
5093 | PyObject * obj5 = 0 ; | |
5094 | char *kwnames[] = { | |
5095 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5096 | }; | |
5097 | ||
5098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOiO:new_HtmlWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5100 | if (obj2) { | |
5101 | { | |
5102 | arg3 = &temp3; | |
5103 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5104 | } | |
5105 | } | |
5106 | if (obj3) { | |
5107 | { | |
5108 | arg4 = &temp4; | |
5109 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5110 | } | |
5111 | } | |
5112 | if (obj5) { | |
5113 | { | |
5114 | arg6 = wxString_in_helper(obj5); | |
5115 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5116 | temp6 = True; |
d14a1e28 RD |
5117 | } |
5118 | } | |
5119 | { | |
5120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5121 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5122 | ||
5123 | wxPyEndAllowThreads(__tstate); | |
5124 | if (PyErr_Occurred()) SWIG_fail; | |
5125 | } | |
5126 | { | |
5127 | resultobj = wxPyMake_wxObject(result); | |
5128 | } | |
5129 | { | |
5130 | if (temp6) | |
5131 | delete arg6; | |
5132 | } | |
5133 | return resultobj; | |
5134 | fail: | |
5135 | { | |
5136 | if (temp6) | |
5137 | delete arg6; | |
5138 | } | |
5139 | return NULL; | |
5140 | } | |
5141 | ||
5142 | ||
5143 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5144 | PyObject *resultobj; | |
5145 | wxPyHtmlWindow *result; | |
5146 | char *kwnames[] = { | |
5147 | NULL | |
5148 | }; | |
5149 | ||
5150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5151 | { | |
5152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5153 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5154 | ||
5155 | wxPyEndAllowThreads(__tstate); | |
5156 | if (PyErr_Occurred()) SWIG_fail; | |
5157 | } | |
5158 | { | |
5159 | resultobj = wxPyMake_wxObject(result); | |
5160 | } | |
5161 | return resultobj; | |
5162 | fail: | |
5163 | return NULL; | |
5164 | } | |
5165 | ||
5166 | ||
5167 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5168 | PyObject *resultobj; | |
5169 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5170 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5171 | int arg3 = (int) -1 ; | |
5172 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5173 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5174 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5175 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5176 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5177 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5178 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5179 | bool result; | |
5180 | wxPoint temp4 ; | |
5181 | wxSize temp5 ; | |
e811c8ce | 5182 | bool temp7 = False ; |
d14a1e28 RD |
5183 | PyObject * obj0 = 0 ; |
5184 | PyObject * obj1 = 0 ; | |
5185 | PyObject * obj3 = 0 ; | |
5186 | PyObject * obj4 = 0 ; | |
5187 | PyObject * obj6 = 0 ; | |
5188 | char *kwnames[] = { | |
5189 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5190 | }; | |
5191 | ||
5192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5193 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5194 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5195 | if (obj3) { | |
5196 | { | |
5197 | arg4 = &temp4; | |
5198 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5199 | } | |
5200 | } | |
5201 | if (obj4) { | |
5202 | { | |
5203 | arg5 = &temp5; | |
5204 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5205 | } | |
5206 | } | |
5207 | if (obj6) { | |
5208 | { | |
5209 | arg7 = wxString_in_helper(obj6); | |
5210 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5211 | temp7 = True; |
d14a1e28 RD |
5212 | } |
5213 | } | |
5214 | { | |
5215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5216 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5217 | ||
5218 | wxPyEndAllowThreads(__tstate); | |
5219 | if (PyErr_Occurred()) SWIG_fail; | |
5220 | } | |
5221 | resultobj = PyInt_FromLong((long)result); | |
5222 | { | |
5223 | if (temp7) | |
5224 | delete arg7; | |
5225 | } | |
5226 | return resultobj; | |
5227 | fail: | |
5228 | { | |
5229 | if (temp7) | |
5230 | delete arg7; | |
5231 | } | |
5232 | return NULL; | |
5233 | } | |
5234 | ||
5235 | ||
5236 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5237 | PyObject *resultobj; | |
5238 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5239 | PyObject *arg2 = (PyObject *) 0 ; | |
5240 | PyObject *arg3 = (PyObject *) 0 ; | |
5241 | PyObject * obj0 = 0 ; | |
5242 | PyObject * obj1 = 0 ; | |
5243 | PyObject * obj2 = 0 ; | |
5244 | char *kwnames[] = { | |
5245 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5246 | }; | |
5247 | ||
5248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5249 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5250 | arg2 = obj1; | |
5251 | arg3 = obj2; | |
5252 | { | |
5253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5254 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5255 | ||
5256 | wxPyEndAllowThreads(__tstate); | |
5257 | if (PyErr_Occurred()) SWIG_fail; | |
5258 | } | |
5259 | Py_INCREF(Py_None); resultobj = Py_None; | |
5260 | return resultobj; | |
5261 | fail: | |
5262 | return NULL; | |
5263 | } | |
5264 | ||
5265 | ||
5266 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5267 | PyObject *resultobj; | |
5268 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5269 | wxString *arg2 = 0 ; | |
5270 | bool result; | |
e811c8ce | 5271 | bool temp2 = False ; |
d14a1e28 RD |
5272 | PyObject * obj0 = 0 ; |
5273 | PyObject * obj1 = 0 ; | |
5274 | char *kwnames[] = { | |
5275 | (char *) "self",(char *) "source", NULL | |
5276 | }; | |
5277 | ||
5278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
5279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5280 | { | |
5281 | arg2 = wxString_in_helper(obj1); | |
5282 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5283 | temp2 = True; |
d14a1e28 RD |
5284 | } |
5285 | { | |
5286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5287 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
5288 | ||
5289 | wxPyEndAllowThreads(__tstate); | |
5290 | if (PyErr_Occurred()) SWIG_fail; | |
5291 | } | |
5292 | resultobj = PyInt_FromLong((long)result); | |
5293 | { | |
5294 | if (temp2) | |
5295 | delete arg2; | |
5296 | } | |
5297 | return resultobj; | |
5298 | fail: | |
5299 | { | |
5300 | if (temp2) | |
5301 | delete arg2; | |
5302 | } | |
5303 | return NULL; | |
5304 | } | |
5305 | ||
5306 | ||
5307 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5308 | PyObject *resultobj; | |
5309 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5310 | wxString *arg2 = 0 ; | |
5311 | bool result; | |
e811c8ce | 5312 | bool temp2 = False ; |
d14a1e28 RD |
5313 | PyObject * obj0 = 0 ; |
5314 | PyObject * obj1 = 0 ; | |
5315 | char *kwnames[] = { | |
5316 | (char *) "self",(char *) "location", NULL | |
5317 | }; | |
5318 | ||
5319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
5320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5321 | { | |
5322 | arg2 = wxString_in_helper(obj1); | |
5323 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5324 | temp2 = True; |
d14a1e28 RD |
5325 | } |
5326 | { | |
5327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5328 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
5329 | ||
5330 | wxPyEndAllowThreads(__tstate); | |
5331 | if (PyErr_Occurred()) SWIG_fail; | |
5332 | } | |
5333 | resultobj = PyInt_FromLong((long)result); | |
5334 | { | |
5335 | if (temp2) | |
5336 | delete arg2; | |
5337 | } | |
5338 | return resultobj; | |
5339 | fail: | |
5340 | { | |
5341 | if (temp2) | |
5342 | delete arg2; | |
5343 | } | |
5344 | return NULL; | |
5345 | } | |
5346 | ||
5347 | ||
5348 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5349 | PyObject *resultobj; | |
5350 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5351 | wxString *arg2 = 0 ; | |
5352 | bool result; | |
e811c8ce | 5353 | bool temp2 = False ; |
d14a1e28 RD |
5354 | PyObject * obj0 = 0 ; |
5355 | PyObject * obj1 = 0 ; | |
5356 | char *kwnames[] = { | |
5357 | (char *) "self",(char *) "filename", NULL | |
5358 | }; | |
5359 | ||
5360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
5361 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5362 | { | |
5363 | arg2 = wxString_in_helper(obj1); | |
5364 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5365 | temp2 = True; |
d14a1e28 RD |
5366 | } |
5367 | { | |
5368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5369 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
5370 | ||
5371 | wxPyEndAllowThreads(__tstate); | |
5372 | if (PyErr_Occurred()) SWIG_fail; | |
5373 | } | |
5374 | resultobj = PyInt_FromLong((long)result); | |
5375 | { | |
5376 | if (temp2) | |
5377 | delete arg2; | |
5378 | } | |
5379 | return resultobj; | |
5380 | fail: | |
5381 | { | |
5382 | if (temp2) | |
5383 | delete arg2; | |
5384 | } | |
5385 | return NULL; | |
5386 | } | |
5387 | ||
5388 | ||
5389 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5390 | PyObject *resultobj; | |
5391 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5392 | wxString *arg2 = 0 ; | |
5393 | bool result; | |
e811c8ce | 5394 | bool temp2 = False ; |
d14a1e28 RD |
5395 | PyObject * obj0 = 0 ; |
5396 | PyObject * obj1 = 0 ; | |
5397 | char *kwnames[] = { | |
5398 | (char *) "self",(char *) "source", NULL | |
5399 | }; | |
5400 | ||
5401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
5402 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5403 | { | |
5404 | arg2 = wxString_in_helper(obj1); | |
5405 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5406 | temp2 = True; |
d14a1e28 RD |
5407 | } |
5408 | { | |
5409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5410 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
5411 | ||
5412 | wxPyEndAllowThreads(__tstate); | |
5413 | if (PyErr_Occurred()) SWIG_fail; | |
5414 | } | |
5415 | resultobj = PyInt_FromLong((long)result); | |
5416 | { | |
5417 | if (temp2) | |
5418 | delete arg2; | |
5419 | } | |
5420 | return resultobj; | |
5421 | fail: | |
5422 | { | |
5423 | if (temp2) | |
5424 | delete arg2; | |
5425 | } | |
5426 | return NULL; | |
5427 | } | |
5428 | ||
5429 | ||
5430 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5431 | PyObject *resultobj; | |
5432 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5433 | wxString result; | |
5434 | PyObject * obj0 = 0 ; | |
5435 | char *kwnames[] = { | |
5436 | (char *) "self", NULL | |
5437 | }; | |
5438 | ||
5439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
5440 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5441 | { | |
5442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5443 | result = (arg1)->GetOpenedPage(); | |
5444 | ||
5445 | wxPyEndAllowThreads(__tstate); | |
5446 | if (PyErr_Occurred()) SWIG_fail; | |
5447 | } | |
5448 | { | |
5449 | #if wxUSE_UNICODE | |
5450 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5451 | #else | |
5452 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5453 | #endif | |
5454 | } | |
5455 | return resultobj; | |
5456 | fail: | |
5457 | return NULL; | |
5458 | } | |
5459 | ||
5460 | ||
5461 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5462 | PyObject *resultobj; | |
5463 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5464 | wxString result; | |
5465 | PyObject * obj0 = 0 ; | |
5466 | char *kwnames[] = { | |
5467 | (char *) "self", NULL | |
5468 | }; | |
5469 | ||
5470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
5471 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5472 | { | |
5473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5474 | result = (arg1)->GetOpenedAnchor(); | |
5475 | ||
5476 | wxPyEndAllowThreads(__tstate); | |
5477 | if (PyErr_Occurred()) SWIG_fail; | |
5478 | } | |
5479 | { | |
5480 | #if wxUSE_UNICODE | |
5481 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5482 | #else | |
5483 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5484 | #endif | |
5485 | } | |
5486 | return resultobj; | |
5487 | fail: | |
5488 | return NULL; | |
5489 | } | |
5490 | ||
5491 | ||
5492 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5493 | PyObject *resultobj; | |
5494 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5495 | wxString result; | |
5496 | PyObject * obj0 = 0 ; | |
5497 | char *kwnames[] = { | |
5498 | (char *) "self", NULL | |
5499 | }; | |
5500 | ||
5501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
5502 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5503 | { | |
5504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5505 | result = (arg1)->GetOpenedPageTitle(); | |
5506 | ||
5507 | wxPyEndAllowThreads(__tstate); | |
5508 | if (PyErr_Occurred()) SWIG_fail; | |
5509 | } | |
5510 | { | |
5511 | #if wxUSE_UNICODE | |
5512 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5513 | #else | |
5514 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5515 | #endif | |
5516 | } | |
5517 | return resultobj; | |
5518 | fail: | |
5519 | return NULL; | |
5520 | } | |
5521 | ||
5522 | ||
5523 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5524 | PyObject *resultobj; | |
5525 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5526 | wxFrame *arg2 = (wxFrame *) 0 ; | |
5527 | wxString *arg3 = 0 ; | |
e811c8ce | 5528 | bool temp3 = False ; |
d14a1e28 RD |
5529 | PyObject * obj0 = 0 ; |
5530 | PyObject * obj1 = 0 ; | |
5531 | PyObject * obj2 = 0 ; | |
5532 | char *kwnames[] = { | |
5533 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
5534 | }; | |
5535 | ||
5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5537 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5538 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5539 | { | |
5540 | arg3 = wxString_in_helper(obj2); | |
5541 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 5542 | temp3 = True; |
d14a1e28 RD |
5543 | } |
5544 | { | |
5545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5546 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
5547 | ||
5548 | wxPyEndAllowThreads(__tstate); | |
5549 | if (PyErr_Occurred()) SWIG_fail; | |
5550 | } | |
5551 | Py_INCREF(Py_None); resultobj = Py_None; | |
5552 | { | |
5553 | if (temp3) | |
5554 | delete arg3; | |
5555 | } | |
5556 | return resultobj; | |
5557 | fail: | |
5558 | { | |
5559 | if (temp3) | |
5560 | delete arg3; | |
5561 | } | |
5562 | return NULL; | |
5563 | } | |
5564 | ||
5565 | ||
5566 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5567 | PyObject *resultobj; | |
5568 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5569 | wxFrame *result; | |
5570 | PyObject * obj0 = 0 ; | |
5571 | char *kwnames[] = { | |
5572 | (char *) "self", NULL | |
5573 | }; | |
5574 | ||
5575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
5576 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5577 | { | |
5578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5579 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
5580 | ||
5581 | wxPyEndAllowThreads(__tstate); | |
5582 | if (PyErr_Occurred()) SWIG_fail; | |
5583 | } | |
5584 | { | |
5585 | resultobj = wxPyMake_wxObject(result); | |
5586 | } | |
5587 | return resultobj; | |
5588 | fail: | |
5589 | return NULL; | |
5590 | } | |
5591 | ||
5592 | ||
5593 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5594 | PyObject *resultobj; | |
5595 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5596 | int arg2 ; | |
5597 | PyObject * obj0 = 0 ; | |
5598 | char *kwnames[] = { | |
5599 | (char *) "self",(char *) "bar", NULL | |
5600 | }; | |
5601 | ||
5602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&arg2)) goto fail; | |
5603 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5604 | { | |
5605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5606 | (arg1)->SetRelatedStatusBar(arg2); | |
5607 | ||
5608 | wxPyEndAllowThreads(__tstate); | |
5609 | if (PyErr_Occurred()) SWIG_fail; | |
5610 | } | |
5611 | Py_INCREF(Py_None); resultobj = Py_None; | |
5612 | return resultobj; | |
5613 | fail: | |
5614 | return NULL; | |
5615 | } | |
5616 | ||
5617 | ||
5618 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5619 | PyObject *resultobj; | |
5620 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5621 | wxString arg2 ; | |
5622 | wxString arg3 ; | |
5623 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
5624 | PyObject * obj0 = 0 ; |
5625 | PyObject * obj1 = 0 ; | |
5626 | PyObject * obj2 = 0 ; | |
5627 | PyObject * obj3 = 0 ; | |
5628 | char *kwnames[] = { | |
5629 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
5630 | }; | |
5631 | ||
5632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5633 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
5634 | { |
5635 | wxString* sptr = wxString_in_helper(obj1); | |
5636 | if (sptr == NULL) SWIG_fail; | |
5637 | arg2 = *sptr; | |
5638 | delete sptr; | |
5639 | } | |
5640 | { | |
5641 | wxString* sptr = wxString_in_helper(obj2); | |
5642 | if (sptr == NULL) SWIG_fail; | |
5643 | arg3 = *sptr; | |
5644 | delete sptr; | |
5645 | } | |
d14a1e28 RD |
5646 | if (obj3) { |
5647 | arg4 = obj3; | |
5648 | } | |
5649 | { | |
5650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5651 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
5652 | ||
5653 | wxPyEndAllowThreads(__tstate); | |
5654 | if (PyErr_Occurred()) SWIG_fail; | |
5655 | } | |
5656 | Py_INCREF(Py_None); resultobj = Py_None; | |
5657 | return resultobj; | |
5658 | fail: | |
5659 | return NULL; | |
5660 | } | |
5661 | ||
5662 | ||
5663 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5664 | PyObject *resultobj; | |
5665 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5666 | wxString *arg2 = 0 ; | |
e811c8ce | 5667 | bool temp2 = False ; |
d14a1e28 RD |
5668 | PyObject * obj0 = 0 ; |
5669 | PyObject * obj1 = 0 ; | |
5670 | char *kwnames[] = { | |
5671 | (char *) "self",(char *) "title", NULL | |
5672 | }; | |
5673 | ||
5674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
5675 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5676 | { | |
5677 | arg2 = wxString_in_helper(obj1); | |
5678 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5679 | temp2 = True; |
d14a1e28 RD |
5680 | } |
5681 | { | |
5682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5683 | (arg1)->SetTitle((wxString const &)*arg2); | |
5684 | ||
5685 | wxPyEndAllowThreads(__tstate); | |
5686 | if (PyErr_Occurred()) SWIG_fail; | |
5687 | } | |
5688 | Py_INCREF(Py_None); resultobj = Py_None; | |
5689 | { | |
5690 | if (temp2) | |
5691 | delete arg2; | |
5692 | } | |
5693 | return resultobj; | |
5694 | fail: | |
5695 | { | |
5696 | if (temp2) | |
5697 | delete arg2; | |
5698 | } | |
5699 | return NULL; | |
5700 | } | |
5701 | ||
5702 | ||
5703 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5704 | PyObject *resultobj; | |
5705 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5706 | int arg2 ; | |
5707 | PyObject * obj0 = 0 ; | |
5708 | char *kwnames[] = { | |
5709 | (char *) "self",(char *) "b", NULL | |
5710 | }; | |
5711 | ||
5712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetBorders",kwnames,&obj0,&arg2)) goto fail; | |
5713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5714 | { | |
5715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5716 | (arg1)->SetBorders(arg2); | |
5717 | ||
5718 | wxPyEndAllowThreads(__tstate); | |
5719 | if (PyErr_Occurred()) SWIG_fail; | |
5720 | } | |
5721 | Py_INCREF(Py_None); resultobj = Py_None; | |
5722 | return resultobj; | |
5723 | fail: | |
5724 | return NULL; | |
5725 | } | |
5726 | ||
5727 | ||
5728 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5729 | PyObject *resultobj; | |
5730 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5731 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5732 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5733 | PyObject * obj0 = 0 ; |
5734 | PyObject * obj1 = 0 ; | |
5735 | PyObject * obj2 = 0 ; | |
5736 | char *kwnames[] = { | |
5737 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5738 | }; | |
5739 | ||
5740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5742 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5743 | if (obj2) { | |
e811c8ce RD |
5744 | { |
5745 | wxString* sptr = wxString_in_helper(obj2); | |
5746 | if (sptr == NULL) SWIG_fail; | |
5747 | arg3 = *sptr; | |
5748 | delete sptr; | |
5749 | } | |
d14a1e28 RD |
5750 | } |
5751 | { | |
5752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5753 | (arg1)->ReadCustomization(arg2,arg3); | |
5754 | ||
5755 | wxPyEndAllowThreads(__tstate); | |
5756 | if (PyErr_Occurred()) SWIG_fail; | |
5757 | } | |
5758 | Py_INCREF(Py_None); resultobj = Py_None; | |
5759 | return resultobj; | |
5760 | fail: | |
5761 | return NULL; | |
5762 | } | |
5763 | ||
5764 | ||
5765 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5766 | PyObject *resultobj; | |
5767 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5768 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5769 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5770 | PyObject * obj0 = 0 ; |
5771 | PyObject * obj1 = 0 ; | |
5772 | PyObject * obj2 = 0 ; | |
5773 | char *kwnames[] = { | |
5774 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5775 | }; | |
5776 | ||
5777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5778 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5779 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5780 | if (obj2) { | |
e811c8ce RD |
5781 | { |
5782 | wxString* sptr = wxString_in_helper(obj2); | |
5783 | if (sptr == NULL) SWIG_fail; | |
5784 | arg3 = *sptr; | |
5785 | delete sptr; | |
5786 | } | |
d14a1e28 RD |
5787 | } |
5788 | { | |
5789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5790 | (arg1)->WriteCustomization(arg2,arg3); | |
5791 | ||
5792 | wxPyEndAllowThreads(__tstate); | |
5793 | if (PyErr_Occurred()) SWIG_fail; | |
5794 | } | |
5795 | Py_INCREF(Py_None); resultobj = Py_None; | |
5796 | return resultobj; | |
5797 | fail: | |
5798 | return NULL; | |
5799 | } | |
5800 | ||
5801 | ||
5802 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5803 | PyObject *resultobj; | |
5804 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5805 | bool result; | |
5806 | PyObject * obj0 = 0 ; | |
5807 | char *kwnames[] = { | |
5808 | (char *) "self", NULL | |
5809 | }; | |
5810 | ||
5811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
5812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5813 | { | |
5814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5815 | result = (bool)(arg1)->HistoryBack(); | |
5816 | ||
5817 | wxPyEndAllowThreads(__tstate); | |
5818 | if (PyErr_Occurred()) SWIG_fail; | |
5819 | } | |
5820 | resultobj = PyInt_FromLong((long)result); | |
5821 | return resultobj; | |
5822 | fail: | |
5823 | return NULL; | |
5824 | } | |
5825 | ||
5826 | ||
5827 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5828 | PyObject *resultobj; | |
5829 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5830 | bool result; | |
5831 | PyObject * obj0 = 0 ; | |
5832 | char *kwnames[] = { | |
5833 | (char *) "self", NULL | |
5834 | }; | |
5835 | ||
5836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
5837 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5838 | { | |
5839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5840 | result = (bool)(arg1)->HistoryForward(); | |
5841 | ||
5842 | wxPyEndAllowThreads(__tstate); | |
5843 | if (PyErr_Occurred()) SWIG_fail; | |
5844 | } | |
5845 | resultobj = PyInt_FromLong((long)result); | |
5846 | return resultobj; | |
5847 | fail: | |
5848 | return NULL; | |
5849 | } | |
5850 | ||
5851 | ||
5852 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5853 | PyObject *resultobj; | |
5854 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5855 | bool result; | |
5856 | PyObject * obj0 = 0 ; | |
5857 | char *kwnames[] = { | |
5858 | (char *) "self", NULL | |
5859 | }; | |
5860 | ||
5861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
5862 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5863 | { | |
5864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5865 | result = (bool)(arg1)->HistoryCanBack(); | |
5866 | ||
5867 | wxPyEndAllowThreads(__tstate); | |
5868 | if (PyErr_Occurred()) SWIG_fail; | |
5869 | } | |
5870 | resultobj = PyInt_FromLong((long)result); | |
5871 | return resultobj; | |
5872 | fail: | |
5873 | return NULL; | |
5874 | } | |
5875 | ||
5876 | ||
5877 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5878 | PyObject *resultobj; | |
5879 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5880 | bool result; | |
5881 | PyObject * obj0 = 0 ; | |
5882 | char *kwnames[] = { | |
5883 | (char *) "self", NULL | |
5884 | }; | |
5885 | ||
5886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
5887 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5888 | { | |
5889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5890 | result = (bool)(arg1)->HistoryCanForward(); | |
5891 | ||
5892 | wxPyEndAllowThreads(__tstate); | |
5893 | if (PyErr_Occurred()) SWIG_fail; | |
5894 | } | |
5895 | resultobj = PyInt_FromLong((long)result); | |
5896 | return resultobj; | |
5897 | fail: | |
5898 | return NULL; | |
5899 | } | |
5900 | ||
5901 | ||
5902 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5903 | PyObject *resultobj; | |
5904 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5905 | PyObject * obj0 = 0 ; | |
5906 | char *kwnames[] = { | |
5907 | (char *) "self", NULL | |
5908 | }; | |
5909 | ||
5910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
5911 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5912 | { | |
5913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5914 | (arg1)->HistoryClear(); | |
5915 | ||
5916 | wxPyEndAllowThreads(__tstate); | |
5917 | if (PyErr_Occurred()) SWIG_fail; | |
5918 | } | |
5919 | Py_INCREF(Py_None); resultobj = Py_None; | |
5920 | return resultobj; | |
5921 | fail: | |
5922 | return NULL; | |
5923 | } | |
5924 | ||
5925 | ||
5926 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5927 | PyObject *resultobj; | |
5928 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5929 | wxHtmlContainerCell *result; | |
5930 | PyObject * obj0 = 0 ; | |
5931 | char *kwnames[] = { | |
5932 | (char *) "self", NULL | |
5933 | }; | |
5934 | ||
5935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
5936 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5937 | { | |
5938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5939 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
5940 | ||
5941 | wxPyEndAllowThreads(__tstate); | |
5942 | if (PyErr_Occurred()) SWIG_fail; | |
5943 | } | |
5944 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
5945 | return resultobj; | |
5946 | fail: | |
5947 | return NULL; | |
5948 | } | |
5949 | ||
5950 | ||
5951 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5952 | PyObject *resultobj; | |
5953 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5954 | wxHtmlWinParser *result; | |
5955 | PyObject * obj0 = 0 ; | |
5956 | char *kwnames[] = { | |
5957 | (char *) "self", NULL | |
5958 | }; | |
5959 | ||
5960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
5961 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5962 | { | |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5965 | ||
5966 | wxPyEndAllowThreads(__tstate); | |
5967 | if (PyErr_Occurred()) SWIG_fail; | |
5968 | } | |
5969 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
5970 | return resultobj; | |
5971 | fail: | |
5972 | return NULL; | |
5973 | } | |
5974 | ||
5975 | ||
5976 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5977 | PyObject *resultobj; | |
5978 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5979 | wxString *arg2 = 0 ; | |
5980 | bool result; | |
e811c8ce | 5981 | bool temp2 = False ; |
d14a1e28 RD |
5982 | PyObject * obj0 = 0 ; |
5983 | PyObject * obj1 = 0 ; | |
5984 | char *kwnames[] = { | |
5985 | (char *) "self",(char *) "anchor", NULL | |
5986 | }; | |
5987 | ||
5988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
5989 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5990 | { | |
5991 | arg2 = wxString_in_helper(obj1); | |
5992 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5993 | temp2 = True; |
d14a1e28 RD |
5994 | } |
5995 | { | |
5996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5997 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
5998 | ||
5999 | wxPyEndAllowThreads(__tstate); | |
6000 | if (PyErr_Occurred()) SWIG_fail; | |
6001 | } | |
6002 | resultobj = PyInt_FromLong((long)result); | |
6003 | { | |
6004 | if (temp2) | |
6005 | delete arg2; | |
6006 | } | |
6007 | return resultobj; | |
6008 | fail: | |
6009 | { | |
6010 | if (temp2) | |
6011 | delete arg2; | |
6012 | } | |
6013 | return NULL; | |
6014 | } | |
6015 | ||
6016 | ||
6017 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6018 | PyObject *resultobj; | |
6019 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6020 | wxString *arg2 = 0 ; | |
6021 | bool result; | |
e811c8ce | 6022 | bool temp2 = False ; |
d14a1e28 RD |
6023 | PyObject * obj0 = 0 ; |
6024 | PyObject * obj1 = 0 ; | |
6025 | char *kwnames[] = { | |
6026 | (char *) "self",(char *) "anchor", NULL | |
6027 | }; | |
6028 | ||
6029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6030 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6031 | { | |
6032 | arg2 = wxString_in_helper(obj1); | |
6033 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6034 | temp2 = True; |
d14a1e28 RD |
6035 | } |
6036 | { | |
6037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6038 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6039 | ||
6040 | wxPyEndAllowThreads(__tstate); | |
6041 | if (PyErr_Occurred()) SWIG_fail; | |
6042 | } | |
6043 | resultobj = PyInt_FromLong((long)result); | |
6044 | { | |
6045 | if (temp2) | |
6046 | delete arg2; | |
6047 | } | |
6048 | return resultobj; | |
6049 | fail: | |
6050 | { | |
6051 | if (temp2) | |
6052 | delete arg2; | |
6053 | } | |
6054 | return NULL; | |
6055 | } | |
6056 | ||
6057 | ||
6058 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6059 | PyObject *resultobj; | |
6060 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6061 | PyObject * obj0 = 0 ; | |
6062 | char *kwnames[] = { | |
6063 | (char *) "filter", NULL | |
6064 | }; | |
6065 | ||
6066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6067 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6068 | { | |
6069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6070 | wxPyHtmlWindow::AddFilter(arg1); | |
6071 | ||
6072 | wxPyEndAllowThreads(__tstate); | |
6073 | if (PyErr_Occurred()) SWIG_fail; | |
6074 | } | |
6075 | Py_INCREF(Py_None); resultobj = Py_None; | |
6076 | return resultobj; | |
6077 | fail: | |
6078 | return NULL; | |
6079 | } | |
6080 | ||
6081 | ||
6082 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6083 | PyObject *resultobj; | |
6084 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6085 | wxHtmlLinkInfo *arg2 = 0 ; | |
6086 | PyObject * obj0 = 0 ; | |
6087 | PyObject * obj1 = 0 ; | |
6088 | char *kwnames[] = { | |
6089 | (char *) "self",(char *) "link", NULL | |
6090 | }; | |
6091 | ||
6092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
6093 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6094 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6095 | if (arg2 == NULL) { | |
6096 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6097 | } | |
6098 | { | |
6099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6100 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
6101 | ||
6102 | wxPyEndAllowThreads(__tstate); | |
6103 | if (PyErr_Occurred()) SWIG_fail; | |
6104 | } | |
6105 | Py_INCREF(Py_None); resultobj = Py_None; | |
6106 | return resultobj; | |
6107 | fail: | |
6108 | return NULL; | |
6109 | } | |
6110 | ||
6111 | ||
6112 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6113 | PyObject *resultobj; | |
6114 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6115 | wxString *arg2 = 0 ; | |
e811c8ce | 6116 | bool temp2 = False ; |
d14a1e28 RD |
6117 | PyObject * obj0 = 0 ; |
6118 | PyObject * obj1 = 0 ; | |
6119 | char *kwnames[] = { | |
6120 | (char *) "self",(char *) "title", NULL | |
6121 | }; | |
6122 | ||
6123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6124 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6125 | { | |
6126 | arg2 = wxString_in_helper(obj1); | |
6127 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6128 | temp2 = True; |
d14a1e28 RD |
6129 | } |
6130 | { | |
6131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6132 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
6133 | ||
6134 | wxPyEndAllowThreads(__tstate); | |
6135 | if (PyErr_Occurred()) SWIG_fail; | |
6136 | } | |
6137 | Py_INCREF(Py_None); resultobj = Py_None; | |
6138 | { | |
6139 | if (temp2) | |
6140 | delete arg2; | |
6141 | } | |
6142 | return resultobj; | |
6143 | fail: | |
6144 | { | |
6145 | if (temp2) | |
6146 | delete arg2; | |
6147 | } | |
6148 | return NULL; | |
6149 | } | |
6150 | ||
6151 | ||
6152 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6153 | PyObject *resultobj; | |
6154 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6155 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6156 | int arg3 ; |
6157 | int arg4 ; | |
d14a1e28 RD |
6158 | PyObject * obj0 = 0 ; |
6159 | PyObject * obj1 = 0 ; | |
6160 | char *kwnames[] = { | |
6161 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
6162 | }; | |
6163 | ||
6164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; | |
6165 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6166 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6167 | { | |
6168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6169 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
6170 | ||
6171 | wxPyEndAllowThreads(__tstate); | |
6172 | if (PyErr_Occurred()) SWIG_fail; | |
6173 | } | |
6174 | Py_INCREF(Py_None); resultobj = Py_None; | |
6175 | return resultobj; | |
6176 | fail: | |
6177 | return NULL; | |
6178 | } | |
6179 | ||
6180 | ||
6181 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6182 | PyObject *resultobj; | |
6183 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6184 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
e811c8ce RD |
6185 | int arg3 ; |
6186 | int arg4 ; | |
d14a1e28 RD |
6187 | wxMouseEvent *arg5 = 0 ; |
6188 | PyObject * obj0 = 0 ; | |
6189 | PyObject * obj1 = 0 ; | |
6190 | PyObject * obj4 = 0 ; | |
6191 | char *kwnames[] = { | |
6192 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
6193 | }; | |
6194 | ||
6195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
6196 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6197 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6198 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6199 | if (arg5 == NULL) { | |
6200 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6201 | } | |
6202 | { | |
6203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6204 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
6205 | ||
6206 | wxPyEndAllowThreads(__tstate); | |
6207 | if (PyErr_Occurred()) SWIG_fail; | |
6208 | } | |
6209 | Py_INCREF(Py_None); resultobj = Py_None; | |
6210 | return resultobj; | |
6211 | fail: | |
6212 | return NULL; | |
6213 | } | |
6214 | ||
6215 | ||
6216 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
6217 | PyObject *obj; | |
6218 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6219 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
6220 | Py_INCREF(obj); | |
6221 | return Py_BuildValue((char *)""); | |
6222 | } | |
6223 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6224 | PyObject *resultobj; | |
6225 | wxHtmlDCRenderer *result; | |
6226 | char *kwnames[] = { | |
6227 | NULL | |
6228 | }; | |
6229 | ||
6230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
6231 | { | |
6232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6233 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
6234 | ||
6235 | wxPyEndAllowThreads(__tstate); | |
6236 | if (PyErr_Occurred()) SWIG_fail; | |
6237 | } | |
6238 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
6239 | return resultobj; | |
6240 | fail: | |
6241 | return NULL; | |
6242 | } | |
6243 | ||
6244 | ||
6245 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6246 | PyObject *resultobj; | |
6247 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6248 | PyObject * obj0 = 0 ; | |
6249 | char *kwnames[] = { | |
6250 | (char *) "self", NULL | |
6251 | }; | |
6252 | ||
6253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
6254 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6255 | { | |
6256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6257 | delete arg1; | |
6258 | ||
6259 | wxPyEndAllowThreads(__tstate); | |
6260 | if (PyErr_Occurred()) SWIG_fail; | |
6261 | } | |
6262 | Py_INCREF(Py_None); resultobj = Py_None; | |
6263 | return resultobj; | |
6264 | fail: | |
6265 | return NULL; | |
6266 | } | |
6267 | ||
6268 | ||
6269 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6270 | PyObject *resultobj; | |
6271 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6272 | wxDC *arg2 = (wxDC *) 0 ; | |
6273 | int arg3 ; | |
6274 | PyObject * obj0 = 0 ; | |
6275 | PyObject * obj1 = 0 ; | |
6276 | char *kwnames[] = { | |
6277 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
6278 | }; | |
6279 | ||
6280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6282 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6283 | { | |
6284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6285 | (arg1)->SetDC(arg2,arg3); | |
6286 | ||
6287 | wxPyEndAllowThreads(__tstate); | |
6288 | if (PyErr_Occurred()) SWIG_fail; | |
6289 | } | |
6290 | Py_INCREF(Py_None); resultobj = Py_None; | |
6291 | return resultobj; | |
6292 | fail: | |
6293 | return NULL; | |
6294 | } | |
6295 | ||
6296 | ||
6297 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6298 | PyObject *resultobj; | |
6299 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6300 | int arg2 ; | |
6301 | int arg3 ; | |
6302 | PyObject * obj0 = 0 ; | |
6303 | char *kwnames[] = { | |
6304 | (char *) "self",(char *) "width",(char *) "height", NULL | |
6305 | }; | |
6306 | ||
6307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6309 | { | |
6310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6311 | (arg1)->SetSize(arg2,arg3); | |
6312 | ||
6313 | wxPyEndAllowThreads(__tstate); | |
6314 | if (PyErr_Occurred()) SWIG_fail; | |
6315 | } | |
6316 | Py_INCREF(Py_None); resultobj = Py_None; | |
6317 | return resultobj; | |
6318 | fail: | |
6319 | return NULL; | |
6320 | } | |
6321 | ||
6322 | ||
6323 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6324 | PyObject *resultobj; | |
6325 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6326 | wxString *arg2 = 0 ; | |
6327 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6328 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6329 | bool arg4 = (bool) True ; |
6330 | bool temp2 = False ; | |
6331 | bool temp3 = False ; | |
d14a1e28 RD |
6332 | PyObject * obj0 = 0 ; |
6333 | PyObject * obj1 = 0 ; | |
6334 | PyObject * obj2 = 0 ; | |
6335 | PyObject * obj3 = 0 ; | |
6336 | char *kwnames[] = { | |
6337 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6338 | }; | |
6339 | ||
6340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6342 | { | |
6343 | arg2 = wxString_in_helper(obj1); | |
6344 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6345 | temp2 = True; |
d14a1e28 RD |
6346 | } |
6347 | if (obj2) { | |
6348 | { | |
6349 | arg3 = wxString_in_helper(obj2); | |
6350 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6351 | temp3 = True; |
d14a1e28 RD |
6352 | } |
6353 | } | |
6354 | if (obj3) { | |
6355 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6356 | if (PyErr_Occurred()) SWIG_fail; | |
6357 | } | |
6358 | { | |
6359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6360 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6361 | ||
6362 | wxPyEndAllowThreads(__tstate); | |
6363 | if (PyErr_Occurred()) SWIG_fail; | |
6364 | } | |
6365 | Py_INCREF(Py_None); resultobj = Py_None; | |
6366 | { | |
6367 | if (temp2) | |
6368 | delete arg2; | |
6369 | } | |
6370 | { | |
6371 | if (temp3) | |
6372 | delete arg3; | |
6373 | } | |
6374 | return resultobj; | |
6375 | fail: | |
6376 | { | |
6377 | if (temp2) | |
6378 | delete arg2; | |
6379 | } | |
6380 | { | |
6381 | if (temp3) | |
6382 | delete arg3; | |
6383 | } | |
6384 | return NULL; | |
6385 | } | |
6386 | ||
6387 | ||
6388 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6389 | PyObject *resultobj; | |
6390 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6391 | wxString arg2 ; | |
6392 | wxString arg3 ; | |
6393 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6394 | PyObject * obj0 = 0 ; |
6395 | PyObject * obj1 = 0 ; | |
6396 | PyObject * obj2 = 0 ; | |
6397 | PyObject * obj3 = 0 ; | |
6398 | char *kwnames[] = { | |
6399 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6400 | }; | |
6401 | ||
6402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6403 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
6404 | { |
6405 | wxString* sptr = wxString_in_helper(obj1); | |
6406 | if (sptr == NULL) SWIG_fail; | |
6407 | arg2 = *sptr; | |
6408 | delete sptr; | |
6409 | } | |
6410 | { | |
6411 | wxString* sptr = wxString_in_helper(obj2); | |
6412 | if (sptr == NULL) SWIG_fail; | |
6413 | arg3 = *sptr; | |
6414 | delete sptr; | |
6415 | } | |
d14a1e28 RD |
6416 | if (obj3) { |
6417 | arg4 = obj3; | |
6418 | } | |
6419 | { | |
6420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6421 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
6422 | ||
6423 | wxPyEndAllowThreads(__tstate); | |
6424 | if (PyErr_Occurred()) SWIG_fail; | |
6425 | } | |
6426 | Py_INCREF(Py_None); resultobj = Py_None; | |
6427 | return resultobj; | |
6428 | fail: | |
6429 | return NULL; | |
6430 | } | |
6431 | ||
6432 | ||
6433 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6434 | PyObject *resultobj; | |
6435 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6436 | int arg2 ; | |
6437 | int arg3 ; | |
6438 | int arg4 = (int) 0 ; | |
e811c8ce | 6439 | int arg5 = (int) False ; |
d14a1e28 RD |
6440 | int arg6 = (int) INT_MAX ; |
6441 | int *arg7 = (int *) NULL ; | |
6442 | int arg8 = (int) 0 ; | |
6443 | int result; | |
6444 | PyObject * obj0 = 0 ; | |
6445 | PyObject * obj6 = 0 ; | |
6446 | char *kwnames[] = { | |
6447 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
6448 | }; | |
6449 | ||
6450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&obj6,&arg8)) goto fail; | |
6451 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6452 | if (obj6) { | |
6453 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6454 | } | |
6455 | { | |
6456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6457 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
6458 | ||
6459 | wxPyEndAllowThreads(__tstate); | |
6460 | if (PyErr_Occurred()) SWIG_fail; | |
6461 | } | |
6462 | resultobj = PyInt_FromLong((long)result); | |
6463 | return resultobj; | |
6464 | fail: | |
6465 | return NULL; | |
6466 | } | |
6467 | ||
6468 | ||
6469 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6470 | PyObject *resultobj; | |
6471 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6472 | int result; | |
6473 | PyObject * obj0 = 0 ; | |
6474 | char *kwnames[] = { | |
6475 | (char *) "self", NULL | |
6476 | }; | |
6477 | ||
6478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
6479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6480 | { | |
6481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6482 | result = (int)(arg1)->GetTotalHeight(); | |
6483 | ||
6484 | wxPyEndAllowThreads(__tstate); | |
6485 | if (PyErr_Occurred()) SWIG_fail; | |
6486 | } | |
6487 | resultobj = PyInt_FromLong((long)result); | |
6488 | return resultobj; | |
6489 | fail: | |
6490 | return NULL; | |
6491 | } | |
6492 | ||
6493 | ||
6494 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
6495 | PyObject *obj; | |
6496 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6497 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
6498 | Py_INCREF(obj); | |
6499 | return Py_BuildValue((char *)""); | |
6500 | } | |
6501 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6502 | PyObject *resultobj; | |
6503 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
6504 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6505 | wxHtmlPrintout *result; | |
e811c8ce | 6506 | bool temp1 = False ; |
d14a1e28 RD |
6507 | PyObject * obj0 = 0 ; |
6508 | char *kwnames[] = { | |
6509 | (char *) "title", NULL | |
6510 | }; | |
6511 | ||
6512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
6513 | if (obj0) { | |
6514 | { | |
6515 | arg1 = wxString_in_helper(obj0); | |
6516 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 6517 | temp1 = True; |
d14a1e28 RD |
6518 | } |
6519 | } | |
6520 | { | |
6521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6522 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
6523 | ||
6524 | wxPyEndAllowThreads(__tstate); | |
6525 | if (PyErr_Occurred()) SWIG_fail; | |
6526 | } | |
6527 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1); | |
6528 | { | |
6529 | if (temp1) | |
6530 | delete arg1; | |
6531 | } | |
6532 | return resultobj; | |
6533 | fail: | |
6534 | { | |
6535 | if (temp1) | |
6536 | delete arg1; | |
6537 | } | |
6538 | return NULL; | |
6539 | } | |
6540 | ||
6541 | ||
6542 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6543 | PyObject *resultobj; | |
6544 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6545 | wxString *arg2 = 0 ; | |
6546 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6547 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6548 | bool arg4 = (bool) True ; |
6549 | bool temp2 = False ; | |
6550 | bool temp3 = False ; | |
d14a1e28 RD |
6551 | PyObject * obj0 = 0 ; |
6552 | PyObject * obj1 = 0 ; | |
6553 | PyObject * obj2 = 0 ; | |
6554 | PyObject * obj3 = 0 ; | |
6555 | char *kwnames[] = { | |
6556 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6557 | }; | |
6558 | ||
6559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6560 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6561 | { | |
6562 | arg2 = wxString_in_helper(obj1); | |
6563 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6564 | temp2 = True; |
d14a1e28 RD |
6565 | } |
6566 | if (obj2) { | |
6567 | { | |
6568 | arg3 = wxString_in_helper(obj2); | |
6569 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6570 | temp3 = True; |
d14a1e28 RD |
6571 | } |
6572 | } | |
6573 | if (obj3) { | |
6574 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6575 | if (PyErr_Occurred()) SWIG_fail; | |
6576 | } | |
6577 | { | |
6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6579 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6580 | ||
6581 | wxPyEndAllowThreads(__tstate); | |
6582 | if (PyErr_Occurred()) SWIG_fail; | |
6583 | } | |
6584 | Py_INCREF(Py_None); resultobj = Py_None; | |
6585 | { | |
6586 | if (temp2) | |
6587 | delete arg2; | |
6588 | } | |
6589 | { | |
6590 | if (temp3) | |
6591 | delete arg3; | |
6592 | } | |
6593 | return resultobj; | |
6594 | fail: | |
6595 | { | |
6596 | if (temp2) | |
6597 | delete arg2; | |
6598 | } | |
6599 | { | |
6600 | if (temp3) | |
6601 | delete arg3; | |
6602 | } | |
6603 | return NULL; | |
6604 | } | |
6605 | ||
6606 | ||
6607 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6608 | PyObject *resultobj; | |
6609 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6610 | wxString *arg2 = 0 ; | |
e811c8ce | 6611 | bool temp2 = False ; |
d14a1e28 RD |
6612 | PyObject * obj0 = 0 ; |
6613 | PyObject * obj1 = 0 ; | |
6614 | char *kwnames[] = { | |
6615 | (char *) "self",(char *) "htmlfile", NULL | |
6616 | }; | |
6617 | ||
6618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
6619 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6620 | { | |
6621 | arg2 = wxString_in_helper(obj1); | |
6622 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6623 | temp2 = True; |
d14a1e28 RD |
6624 | } |
6625 | { | |
6626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6627 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
6628 | ||
6629 | wxPyEndAllowThreads(__tstate); | |
6630 | if (PyErr_Occurred()) SWIG_fail; | |
6631 | } | |
6632 | Py_INCREF(Py_None); resultobj = Py_None; | |
6633 | { | |
6634 | if (temp2) | |
6635 | delete arg2; | |
6636 | } | |
6637 | return resultobj; | |
6638 | fail: | |
6639 | { | |
6640 | if (temp2) | |
6641 | delete arg2; | |
6642 | } | |
6643 | return NULL; | |
6644 | } | |
6645 | ||
6646 | ||
6647 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6648 | PyObject *resultobj; | |
6649 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6650 | wxString *arg2 = 0 ; | |
6651 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 6652 | bool temp2 = False ; |
d14a1e28 RD |
6653 | PyObject * obj0 = 0 ; |
6654 | PyObject * obj1 = 0 ; | |
6655 | char *kwnames[] = { | |
6656 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
6657 | }; | |
6658 | ||
6659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6661 | { | |
6662 | arg2 = wxString_in_helper(obj1); | |
6663 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6664 | temp2 = True; |
d14a1e28 RD |
6665 | } |
6666 | { | |
6667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6668 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
6669 | ||
6670 | wxPyEndAllowThreads(__tstate); | |
6671 | if (PyErr_Occurred()) SWIG_fail; | |
6672 | } | |
6673 | Py_INCREF(Py_None); resultobj = Py_None; | |
6674 | { | |
6675 | if (temp2) | |
6676 | delete arg2; | |
6677 | } | |
6678 | return resultobj; | |
6679 | fail: | |
6680 | { | |
6681 | if (temp2) | |
6682 | delete arg2; | |
6683 | } | |
6684 | return NULL; | |
6685 | } | |
6686 | ||
6687 | ||
6688 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6689 | PyObject *resultobj; | |
6690 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6691 | wxString *arg2 = 0 ; | |
6692 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 6693 | bool temp2 = False ; |
d14a1e28 RD |
6694 | PyObject * obj0 = 0 ; |
6695 | PyObject * obj1 = 0 ; | |
6696 | char *kwnames[] = { | |
6697 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
6698 | }; | |
6699 | ||
6700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6701 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6702 | { | |
6703 | arg2 = wxString_in_helper(obj1); | |
6704 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6705 | temp2 = True; |
d14a1e28 RD |
6706 | } |
6707 | { | |
6708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6709 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
6710 | ||
6711 | wxPyEndAllowThreads(__tstate); | |
6712 | if (PyErr_Occurred()) SWIG_fail; | |
6713 | } | |
6714 | Py_INCREF(Py_None); resultobj = Py_None; | |
6715 | { | |
6716 | if (temp2) | |
6717 | delete arg2; | |
6718 | } | |
6719 | return resultobj; | |
6720 | fail: | |
6721 | { | |
6722 | if (temp2) | |
6723 | delete arg2; | |
6724 | } | |
6725 | return NULL; | |
6726 | } | |
6727 | ||
6728 | ||
6729 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6730 | PyObject *resultobj; | |
6731 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6732 | wxString arg2 ; | |
6733 | wxString arg3 ; | |
6734 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6735 | PyObject * obj0 = 0 ; |
6736 | PyObject * obj1 = 0 ; | |
6737 | PyObject * obj2 = 0 ; | |
6738 | PyObject * obj3 = 0 ; | |
6739 | char *kwnames[] = { | |
6740 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6741 | }; | |
6742 | ||
6743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6744 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
6745 | { |
6746 | wxString* sptr = wxString_in_helper(obj1); | |
6747 | if (sptr == NULL) SWIG_fail; | |
6748 | arg2 = *sptr; | |
6749 | delete sptr; | |
6750 | } | |
6751 | { | |
6752 | wxString* sptr = wxString_in_helper(obj2); | |
6753 | if (sptr == NULL) SWIG_fail; | |
6754 | arg3 = *sptr; | |
6755 | delete sptr; | |
6756 | } | |
d14a1e28 RD |
6757 | if (obj3) { |
6758 | arg4 = obj3; | |
6759 | } | |
6760 | { | |
6761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6762 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
6763 | ||
6764 | wxPyEndAllowThreads(__tstate); | |
6765 | if (PyErr_Occurred()) SWIG_fail; | |
6766 | } | |
6767 | Py_INCREF(Py_None); resultobj = Py_None; | |
6768 | return resultobj; | |
6769 | fail: | |
6770 | return NULL; | |
6771 | } | |
6772 | ||
6773 | ||
6774 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6775 | PyObject *resultobj; | |
6776 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6777 | float arg2 = (float) 25.2 ; | |
6778 | float arg3 = (float) 25.2 ; | |
6779 | float arg4 = (float) 25.2 ; | |
6780 | float arg5 = (float) 25.2 ; | |
6781 | float arg6 = (float) 5 ; | |
6782 | PyObject * obj0 = 0 ; | |
6783 | char *kwnames[] = { | |
6784 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
6785 | }; | |
6786 | ||
6787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
6788 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6789 | { | |
6790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6791 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
6792 | ||
6793 | wxPyEndAllowThreads(__tstate); | |
6794 | if (PyErr_Occurred()) SWIG_fail; | |
6795 | } | |
6796 | Py_INCREF(Py_None); resultobj = Py_None; | |
6797 | return resultobj; | |
6798 | fail: | |
6799 | return NULL; | |
6800 | } | |
6801 | ||
6802 | ||
6803 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6804 | PyObject *resultobj; | |
6805 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
6806 | PyObject * obj0 = 0 ; | |
6807 | char *kwnames[] = { | |
6808 | (char *) "filter", NULL | |
6809 | }; | |
6810 | ||
6811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
6812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6813 | { | |
6814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6815 | wxHtmlPrintout::AddFilter(arg1); | |
6816 | ||
6817 | wxPyEndAllowThreads(__tstate); | |
6818 | if (PyErr_Occurred()) SWIG_fail; | |
6819 | } | |
6820 | Py_INCREF(Py_None); resultobj = Py_None; | |
6821 | return resultobj; | |
6822 | fail: | |
6823 | return NULL; | |
6824 | } | |
6825 | ||
6826 | ||
6827 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6828 | PyObject *resultobj; | |
6829 | char *kwnames[] = { | |
6830 | NULL | |
6831 | }; | |
6832 | ||
6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
6834 | { | |
6835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6836 | wxHtmlPrintout::CleanUpStatics(); | |
6837 | ||
6838 | wxPyEndAllowThreads(__tstate); | |
6839 | if (PyErr_Occurred()) SWIG_fail; | |
6840 | } | |
6841 | Py_INCREF(Py_None); resultobj = Py_None; | |
6842 | return resultobj; | |
6843 | fail: | |
6844 | return NULL; | |
6845 | } | |
6846 | ||
6847 | ||
6848 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
6849 | PyObject *obj; | |
6850 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6851 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
6852 | Py_INCREF(obj); | |
6853 | return Py_BuildValue((char *)""); | |
6854 | } | |
6855 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6856 | PyObject *resultobj; | |
6857 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
6858 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6859 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6860 | wxHtmlEasyPrinting *result; | |
e811c8ce | 6861 | bool temp1 = False ; |
d14a1e28 RD |
6862 | PyObject * obj0 = 0 ; |
6863 | PyObject * obj1 = 0 ; | |
6864 | char *kwnames[] = { | |
6865 | (char *) "name",(char *) "parentWindow", NULL | |
6866 | }; | |
6867 | ||
6868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
6869 | if (obj0) { | |
6870 | { | |
6871 | arg1 = wxString_in_helper(obj0); | |
6872 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 6873 | temp1 = True; |
d14a1e28 RD |
6874 | } |
6875 | } | |
6876 | if (obj1) { | |
6877 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6878 | } | |
6879 | { | |
6880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6881 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
6882 | ||
6883 | wxPyEndAllowThreads(__tstate); | |
6884 | if (PyErr_Occurred()) SWIG_fail; | |
6885 | } | |
6886 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
6887 | { | |
6888 | if (temp1) | |
6889 | delete arg1; | |
6890 | } | |
6891 | return resultobj; | |
6892 | fail: | |
6893 | { | |
6894 | if (temp1) | |
6895 | delete arg1; | |
6896 | } | |
6897 | return NULL; | |
6898 | } | |
6899 | ||
6900 | ||
6901 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6902 | PyObject *resultobj; | |
6903 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6904 | PyObject * obj0 = 0 ; | |
6905 | char *kwnames[] = { | |
6906 | (char *) "self", NULL | |
6907 | }; | |
6908 | ||
6909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
6910 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6911 | { | |
6912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6913 | delete arg1; | |
6914 | ||
6915 | wxPyEndAllowThreads(__tstate); | |
6916 | if (PyErr_Occurred()) SWIG_fail; | |
6917 | } | |
6918 | Py_INCREF(Py_None); resultobj = Py_None; | |
6919 | return resultobj; | |
6920 | fail: | |
6921 | return NULL; | |
6922 | } | |
6923 | ||
6924 | ||
6925 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6926 | PyObject *resultobj; | |
6927 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6928 | wxString *arg2 = 0 ; | |
e811c8ce | 6929 | bool temp2 = False ; |
d14a1e28 RD |
6930 | PyObject * obj0 = 0 ; |
6931 | PyObject * obj1 = 0 ; | |
6932 | char *kwnames[] = { | |
6933 | (char *) "self",(char *) "htmlfile", NULL | |
6934 | }; | |
6935 | ||
6936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
6937 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6938 | { | |
6939 | arg2 = wxString_in_helper(obj1); | |
6940 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6941 | temp2 = True; |
d14a1e28 RD |
6942 | } |
6943 | { | |
6944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6945 | (arg1)->PreviewFile((wxString const &)*arg2); | |
6946 | ||
6947 | wxPyEndAllowThreads(__tstate); | |
6948 | if (PyErr_Occurred()) SWIG_fail; | |
6949 | } | |
6950 | Py_INCREF(Py_None); resultobj = Py_None; | |
6951 | { | |
6952 | if (temp2) | |
6953 | delete arg2; | |
6954 | } | |
6955 | return resultobj; | |
6956 | fail: | |
6957 | { | |
6958 | if (temp2) | |
6959 | delete arg2; | |
6960 | } | |
6961 | return NULL; | |
6962 | } | |
6963 | ||
6964 | ||
6965 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6966 | PyObject *resultobj; | |
6967 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6968 | wxString *arg2 = 0 ; | |
6969 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6970 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
6971 | bool temp2 = False ; |
6972 | bool temp3 = False ; | |
d14a1e28 RD |
6973 | PyObject * obj0 = 0 ; |
6974 | PyObject * obj1 = 0 ; | |
6975 | PyObject * obj2 = 0 ; | |
6976 | char *kwnames[] = { | |
6977 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
6978 | }; | |
6979 | ||
6980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6981 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6982 | { | |
6983 | arg2 = wxString_in_helper(obj1); | |
6984 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 6985 | temp2 = True; |
d14a1e28 RD |
6986 | } |
6987 | if (obj2) { | |
6988 | { | |
6989 | arg3 = wxString_in_helper(obj2); | |
6990 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6991 | temp3 = True; |
d14a1e28 RD |
6992 | } |
6993 | } | |
6994 | { | |
6995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6996 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
6997 | ||
6998 | wxPyEndAllowThreads(__tstate); | |
6999 | if (PyErr_Occurred()) SWIG_fail; | |
7000 | } | |
7001 | Py_INCREF(Py_None); resultobj = Py_None; | |
7002 | { | |
7003 | if (temp2) | |
7004 | delete arg2; | |
7005 | } | |
7006 | { | |
7007 | if (temp3) | |
7008 | delete arg3; | |
7009 | } | |
7010 | return resultobj; | |
7011 | fail: | |
7012 | { | |
7013 | if (temp2) | |
7014 | delete arg2; | |
7015 | } | |
7016 | { | |
7017 | if (temp3) | |
7018 | delete arg3; | |
7019 | } | |
7020 | return NULL; | |
7021 | } | |
7022 | ||
7023 | ||
7024 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7025 | PyObject *resultobj; | |
7026 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7027 | wxString *arg2 = 0 ; | |
e811c8ce | 7028 | bool temp2 = False ; |
d14a1e28 RD |
7029 | PyObject * obj0 = 0 ; |
7030 | PyObject * obj1 = 0 ; | |
7031 | char *kwnames[] = { | |
7032 | (char *) "self",(char *) "htmlfile", NULL | |
7033 | }; | |
7034 | ||
7035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) 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 | { | |
7043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7044 | (arg1)->PrintFile((wxString const &)*arg2); | |
7045 | ||
7046 | wxPyEndAllowThreads(__tstate); | |
7047 | if (PyErr_Occurred()) SWIG_fail; | |
7048 | } | |
7049 | Py_INCREF(Py_None); resultobj = Py_None; | |
7050 | { | |
7051 | if (temp2) | |
7052 | delete arg2; | |
7053 | } | |
7054 | return resultobj; | |
7055 | fail: | |
7056 | { | |
7057 | if (temp2) | |
7058 | delete arg2; | |
7059 | } | |
7060 | return NULL; | |
7061 | } | |
7062 | ||
7063 | ||
7064 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7065 | PyObject *resultobj; | |
7066 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7067 | wxString *arg2 = 0 ; | |
7068 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7069 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce RD |
7070 | bool temp2 = False ; |
7071 | bool temp3 = False ; | |
d14a1e28 RD |
7072 | PyObject * obj0 = 0 ; |
7073 | PyObject * obj1 = 0 ; | |
7074 | PyObject * obj2 = 0 ; | |
7075 | char *kwnames[] = { | |
7076 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
7077 | }; | |
7078 | ||
7079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7081 | { | |
7082 | arg2 = wxString_in_helper(obj1); | |
7083 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7084 | temp2 = True; |
d14a1e28 RD |
7085 | } |
7086 | if (obj2) { | |
7087 | { | |
7088 | arg3 = wxString_in_helper(obj2); | |
7089 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7090 | temp3 = True; |
d14a1e28 RD |
7091 | } |
7092 | } | |
7093 | { | |
7094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7095 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
7096 | ||
7097 | wxPyEndAllowThreads(__tstate); | |
7098 | if (PyErr_Occurred()) SWIG_fail; | |
7099 | } | |
7100 | Py_INCREF(Py_None); resultobj = Py_None; | |
7101 | { | |
7102 | if (temp2) | |
7103 | delete arg2; | |
7104 | } | |
7105 | { | |
7106 | if (temp3) | |
7107 | delete arg3; | |
7108 | } | |
7109 | return resultobj; | |
7110 | fail: | |
7111 | { | |
7112 | if (temp2) | |
7113 | delete arg2; | |
7114 | } | |
7115 | { | |
7116 | if (temp3) | |
7117 | delete arg3; | |
7118 | } | |
7119 | return NULL; | |
7120 | } | |
7121 | ||
7122 | ||
7123 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7124 | PyObject *resultobj; | |
7125 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7126 | PyObject * obj0 = 0 ; | |
7127 | char *kwnames[] = { | |
7128 | (char *) "self", NULL | |
7129 | }; | |
7130 | ||
7131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
7132 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7133 | { | |
7134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7135 | (arg1)->PrinterSetup(); | |
7136 | ||
7137 | wxPyEndAllowThreads(__tstate); | |
7138 | if (PyErr_Occurred()) SWIG_fail; | |
7139 | } | |
7140 | Py_INCREF(Py_None); resultobj = Py_None; | |
7141 | return resultobj; | |
7142 | fail: | |
7143 | return NULL; | |
7144 | } | |
7145 | ||
7146 | ||
7147 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7148 | PyObject *resultobj; | |
7149 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7150 | PyObject * obj0 = 0 ; | |
7151 | char *kwnames[] = { | |
7152 | (char *) "self", NULL | |
7153 | }; | |
7154 | ||
7155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
7156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7157 | { | |
7158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7159 | (arg1)->PageSetup(); | |
7160 | ||
7161 | wxPyEndAllowThreads(__tstate); | |
7162 | if (PyErr_Occurred()) SWIG_fail; | |
7163 | } | |
7164 | Py_INCREF(Py_None); resultobj = Py_None; | |
7165 | return resultobj; | |
7166 | fail: | |
7167 | return NULL; | |
7168 | } | |
7169 | ||
7170 | ||
7171 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7172 | PyObject *resultobj; | |
7173 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7174 | wxString *arg2 = 0 ; | |
7175 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 7176 | bool temp2 = False ; |
d14a1e28 RD |
7177 | PyObject * obj0 = 0 ; |
7178 | PyObject * obj1 = 0 ; | |
7179 | char *kwnames[] = { | |
7180 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7181 | }; | |
7182 | ||
7183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7184 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7185 | { | |
7186 | arg2 = wxString_in_helper(obj1); | |
7187 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7188 | temp2 = True; |
d14a1e28 RD |
7189 | } |
7190 | { | |
7191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7192 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7193 | ||
7194 | wxPyEndAllowThreads(__tstate); | |
7195 | if (PyErr_Occurred()) SWIG_fail; | |
7196 | } | |
7197 | Py_INCREF(Py_None); resultobj = Py_None; | |
7198 | { | |
7199 | if (temp2) | |
7200 | delete arg2; | |
7201 | } | |
7202 | return resultobj; | |
7203 | fail: | |
7204 | { | |
7205 | if (temp2) | |
7206 | delete arg2; | |
7207 | } | |
7208 | return NULL; | |
7209 | } | |
7210 | ||
7211 | ||
7212 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7213 | PyObject *resultobj; | |
7214 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7215 | wxString *arg2 = 0 ; | |
7216 | int arg3 = (int) wxPAGE_ALL ; | |
e811c8ce | 7217 | bool temp2 = False ; |
d14a1e28 RD |
7218 | PyObject * obj0 = 0 ; |
7219 | PyObject * obj1 = 0 ; | |
7220 | char *kwnames[] = { | |
7221 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7222 | }; | |
7223 | ||
7224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7225 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7226 | { | |
7227 | arg2 = wxString_in_helper(obj1); | |
7228 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7229 | temp2 = True; |
d14a1e28 RD |
7230 | } |
7231 | { | |
7232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7233 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7234 | ||
7235 | wxPyEndAllowThreads(__tstate); | |
7236 | if (PyErr_Occurred()) SWIG_fail; | |
7237 | } | |
7238 | Py_INCREF(Py_None); resultobj = Py_None; | |
7239 | { | |
7240 | if (temp2) | |
7241 | delete arg2; | |
7242 | } | |
7243 | return resultobj; | |
7244 | fail: | |
7245 | { | |
7246 | if (temp2) | |
7247 | delete arg2; | |
7248 | } | |
7249 | return NULL; | |
7250 | } | |
7251 | ||
7252 | ||
7253 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7254 | PyObject *resultobj; | |
7255 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7256 | wxString arg2 ; | |
7257 | wxString arg3 ; | |
7258 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7259 | PyObject * obj0 = 0 ; |
7260 | PyObject * obj1 = 0 ; | |
7261 | PyObject * obj2 = 0 ; | |
7262 | PyObject * obj3 = 0 ; | |
7263 | char *kwnames[] = { | |
7264 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7265 | }; | |
7266 | ||
7267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7268 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
e811c8ce RD |
7269 | { |
7270 | wxString* sptr = wxString_in_helper(obj1); | |
7271 | if (sptr == NULL) SWIG_fail; | |
7272 | arg2 = *sptr; | |
7273 | delete sptr; | |
7274 | } | |
7275 | { | |
7276 | wxString* sptr = wxString_in_helper(obj2); | |
7277 | if (sptr == NULL) SWIG_fail; | |
7278 | arg3 = *sptr; | |
7279 | delete sptr; | |
7280 | } | |
d14a1e28 RD |
7281 | if (obj3) { |
7282 | arg4 = obj3; | |
7283 | } | |
7284 | { | |
7285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7286 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
7287 | ||
7288 | wxPyEndAllowThreads(__tstate); | |
7289 | if (PyErr_Occurred()) SWIG_fail; | |
7290 | } | |
7291 | Py_INCREF(Py_None); resultobj = Py_None; | |
7292 | return resultobj; | |
7293 | fail: | |
7294 | return NULL; | |
7295 | } | |
7296 | ||
7297 | ||
7298 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7299 | PyObject *resultobj; | |
7300 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7301 | wxPrintData *result; | |
7302 | PyObject * obj0 = 0 ; | |
7303 | char *kwnames[] = { | |
7304 | (char *) "self", NULL | |
7305 | }; | |
7306 | ||
7307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
7308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7309 | { | |
7310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7311 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
7312 | ||
7313 | wxPyEndAllowThreads(__tstate); | |
7314 | if (PyErr_Occurred()) SWIG_fail; | |
7315 | } | |
7316 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
7317 | return resultobj; | |
7318 | fail: | |
7319 | return NULL; | |
7320 | } | |
7321 | ||
7322 | ||
7323 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7324 | PyObject *resultobj; | |
7325 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7326 | wxPageSetupDialogData *result; | |
7327 | PyObject * obj0 = 0 ; | |
7328 | char *kwnames[] = { | |
7329 | (char *) "self", NULL | |
7330 | }; | |
7331 | ||
7332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
7333 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7334 | { | |
7335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7336 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
7337 | ||
7338 | wxPyEndAllowThreads(__tstate); | |
7339 | if (PyErr_Occurred()) SWIG_fail; | |
7340 | } | |
7341 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
7342 | return resultobj; | |
7343 | fail: | |
7344 | return NULL; | |
7345 | } | |
7346 | ||
7347 | ||
7348 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
7349 | PyObject *obj; | |
7350 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7351 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
7352 | Py_INCREF(obj); | |
7353 | return Py_BuildValue((char *)""); | |
7354 | } | |
7355 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7356 | PyObject *resultobj; | |
7357 | wxString *arg1 = 0 ; | |
7358 | wxString *arg2 = 0 ; | |
7359 | wxString *arg3 = 0 ; | |
7360 | wxString *arg4 = 0 ; | |
7361 | wxHtmlBookRecord *result; | |
e811c8ce RD |
7362 | bool temp1 = False ; |
7363 | bool temp2 = False ; | |
7364 | bool temp3 = False ; | |
7365 | bool temp4 = False ; | |
d14a1e28 RD |
7366 | PyObject * obj0 = 0 ; |
7367 | PyObject * obj1 = 0 ; | |
7368 | PyObject * obj2 = 0 ; | |
7369 | PyObject * obj3 = 0 ; | |
7370 | char *kwnames[] = { | |
7371 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
7372 | }; | |
7373 | ||
7374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7375 | { | |
7376 | arg1 = wxString_in_helper(obj0); | |
7377 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 7378 | temp1 = True; |
d14a1e28 RD |
7379 | } |
7380 | { | |
7381 | arg2 = wxString_in_helper(obj1); | |
7382 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7383 | temp2 = True; |
d14a1e28 RD |
7384 | } |
7385 | { | |
7386 | arg3 = wxString_in_helper(obj2); | |
7387 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7388 | temp3 = True; |
d14a1e28 RD |
7389 | } |
7390 | { | |
7391 | arg4 = wxString_in_helper(obj3); | |
7392 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 7393 | temp4 = True; |
d14a1e28 RD |
7394 | } |
7395 | { | |
7396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7397 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
7398 | ||
7399 | wxPyEndAllowThreads(__tstate); | |
7400 | if (PyErr_Occurred()) SWIG_fail; | |
7401 | } | |
7402 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1); | |
7403 | { | |
7404 | if (temp1) | |
7405 | delete arg1; | |
7406 | } | |
7407 | { | |
7408 | if (temp2) | |
7409 | delete arg2; | |
7410 | } | |
7411 | { | |
7412 | if (temp3) | |
7413 | delete arg3; | |
7414 | } | |
7415 | { | |
7416 | if (temp4) | |
7417 | delete arg4; | |
7418 | } | |
7419 | return resultobj; | |
7420 | fail: | |
7421 | { | |
7422 | if (temp1) | |
7423 | delete arg1; | |
7424 | } | |
7425 | { | |
7426 | if (temp2) | |
7427 | delete arg2; | |
7428 | } | |
7429 | { | |
7430 | if (temp3) | |
7431 | delete arg3; | |
7432 | } | |
7433 | { | |
7434 | if (temp4) | |
7435 | delete arg4; | |
7436 | } | |
7437 | return NULL; | |
7438 | } | |
7439 | ||
7440 | ||
7441 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7442 | PyObject *resultobj; | |
7443 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7444 | wxString result; | |
7445 | PyObject * obj0 = 0 ; | |
7446 | char *kwnames[] = { | |
7447 | (char *) "self", NULL | |
7448 | }; | |
7449 | ||
7450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
7451 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7452 | { | |
7453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7454 | result = (arg1)->GetBookFile(); | |
7455 | ||
7456 | wxPyEndAllowThreads(__tstate); | |
7457 | if (PyErr_Occurred()) SWIG_fail; | |
7458 | } | |
7459 | { | |
7460 | #if wxUSE_UNICODE | |
7461 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7462 | #else | |
7463 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7464 | #endif | |
7465 | } | |
7466 | return resultobj; | |
7467 | fail: | |
7468 | return NULL; | |
7469 | } | |
7470 | ||
7471 | ||
7472 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7473 | PyObject *resultobj; | |
7474 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7475 | wxString result; | |
7476 | PyObject * obj0 = 0 ; | |
7477 | char *kwnames[] = { | |
7478 | (char *) "self", NULL | |
7479 | }; | |
7480 | ||
7481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
7482 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7483 | { | |
7484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7485 | result = (arg1)->GetTitle(); | |
7486 | ||
7487 | wxPyEndAllowThreads(__tstate); | |
7488 | if (PyErr_Occurred()) SWIG_fail; | |
7489 | } | |
7490 | { | |
7491 | #if wxUSE_UNICODE | |
7492 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7493 | #else | |
7494 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7495 | #endif | |
7496 | } | |
7497 | return resultobj; | |
7498 | fail: | |
7499 | return NULL; | |
7500 | } | |
7501 | ||
7502 | ||
7503 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7504 | PyObject *resultobj; | |
7505 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7506 | wxString result; | |
7507 | PyObject * obj0 = 0 ; | |
7508 | char *kwnames[] = { | |
7509 | (char *) "self", NULL | |
7510 | }; | |
7511 | ||
7512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
7513 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7514 | { | |
7515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7516 | result = (arg1)->GetStart(); | |
7517 | ||
7518 | wxPyEndAllowThreads(__tstate); | |
7519 | if (PyErr_Occurred()) SWIG_fail; | |
7520 | } | |
7521 | { | |
7522 | #if wxUSE_UNICODE | |
7523 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7524 | #else | |
7525 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7526 | #endif | |
7527 | } | |
7528 | return resultobj; | |
7529 | fail: | |
7530 | return NULL; | |
7531 | } | |
7532 | ||
7533 | ||
7534 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7535 | PyObject *resultobj; | |
7536 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7537 | wxString result; | |
7538 | PyObject * obj0 = 0 ; | |
7539 | char *kwnames[] = { | |
7540 | (char *) "self", NULL | |
7541 | }; | |
7542 | ||
7543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
7544 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7545 | { | |
7546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7547 | result = (arg1)->GetBasePath(); | |
7548 | ||
7549 | wxPyEndAllowThreads(__tstate); | |
7550 | if (PyErr_Occurred()) SWIG_fail; | |
7551 | } | |
7552 | { | |
7553 | #if wxUSE_UNICODE | |
7554 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7555 | #else | |
7556 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7557 | #endif | |
7558 | } | |
7559 | return resultobj; | |
7560 | fail: | |
7561 | return NULL; | |
7562 | } | |
7563 | ||
7564 | ||
7565 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7566 | PyObject *resultobj; | |
7567 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7568 | int arg2 ; | |
7569 | int arg3 ; | |
7570 | PyObject * obj0 = 0 ; | |
7571 | char *kwnames[] = { | |
7572 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7573 | }; | |
7574 | ||
7575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7576 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7577 | { | |
7578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7579 | (arg1)->SetContentsRange(arg2,arg3); | |
7580 | ||
7581 | wxPyEndAllowThreads(__tstate); | |
7582 | if (PyErr_Occurred()) SWIG_fail; | |
7583 | } | |
7584 | Py_INCREF(Py_None); resultobj = Py_None; | |
7585 | return resultobj; | |
7586 | fail: | |
7587 | return NULL; | |
7588 | } | |
7589 | ||
7590 | ||
7591 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7592 | PyObject *resultobj; | |
7593 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7594 | int result; | |
7595 | PyObject * obj0 = 0 ; | |
7596 | char *kwnames[] = { | |
7597 | (char *) "self", NULL | |
7598 | }; | |
7599 | ||
7600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
7601 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7602 | { | |
7603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7604 | result = (int)(arg1)->GetContentsStart(); | |
7605 | ||
7606 | wxPyEndAllowThreads(__tstate); | |
7607 | if (PyErr_Occurred()) SWIG_fail; | |
7608 | } | |
7609 | resultobj = PyInt_FromLong((long)result); | |
7610 | return resultobj; | |
7611 | fail: | |
7612 | return NULL; | |
7613 | } | |
7614 | ||
7615 | ||
7616 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7617 | PyObject *resultobj; | |
7618 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7619 | int result; | |
7620 | PyObject * obj0 = 0 ; | |
7621 | char *kwnames[] = { | |
7622 | (char *) "self", NULL | |
7623 | }; | |
7624 | ||
7625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
7626 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7627 | { | |
7628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7629 | result = (int)(arg1)->GetContentsEnd(); | |
7630 | ||
7631 | wxPyEndAllowThreads(__tstate); | |
7632 | if (PyErr_Occurred()) SWIG_fail; | |
7633 | } | |
7634 | resultobj = PyInt_FromLong((long)result); | |
7635 | return resultobj; | |
7636 | fail: | |
7637 | return NULL; | |
7638 | } | |
7639 | ||
7640 | ||
7641 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7642 | PyObject *resultobj; | |
7643 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7644 | wxString *arg2 = 0 ; | |
e811c8ce | 7645 | bool temp2 = False ; |
d14a1e28 RD |
7646 | PyObject * obj0 = 0 ; |
7647 | PyObject * obj1 = 0 ; | |
7648 | char *kwnames[] = { | |
7649 | (char *) "self",(char *) "title", NULL | |
7650 | }; | |
7651 | ||
7652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7653 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7654 | { | |
7655 | arg2 = wxString_in_helper(obj1); | |
7656 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7657 | temp2 = True; |
d14a1e28 RD |
7658 | } |
7659 | { | |
7660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7661 | (arg1)->SetTitle((wxString const &)*arg2); | |
7662 | ||
7663 | wxPyEndAllowThreads(__tstate); | |
7664 | if (PyErr_Occurred()) SWIG_fail; | |
7665 | } | |
7666 | Py_INCREF(Py_None); resultobj = Py_None; | |
7667 | { | |
7668 | if (temp2) | |
7669 | delete arg2; | |
7670 | } | |
7671 | return resultobj; | |
7672 | fail: | |
7673 | { | |
7674 | if (temp2) | |
7675 | delete arg2; | |
7676 | } | |
7677 | return NULL; | |
7678 | } | |
7679 | ||
7680 | ||
7681 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7682 | PyObject *resultobj; | |
7683 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7684 | wxString *arg2 = 0 ; | |
e811c8ce | 7685 | bool temp2 = False ; |
d14a1e28 RD |
7686 | PyObject * obj0 = 0 ; |
7687 | PyObject * obj1 = 0 ; | |
7688 | char *kwnames[] = { | |
7689 | (char *) "self",(char *) "path", NULL | |
7690 | }; | |
7691 | ||
7692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
7693 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7694 | { | |
7695 | arg2 = wxString_in_helper(obj1); | |
7696 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7697 | temp2 = True; |
d14a1e28 RD |
7698 | } |
7699 | { | |
7700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7701 | (arg1)->SetBasePath((wxString const &)*arg2); | |
7702 | ||
7703 | wxPyEndAllowThreads(__tstate); | |
7704 | if (PyErr_Occurred()) SWIG_fail; | |
7705 | } | |
7706 | Py_INCREF(Py_None); resultobj = Py_None; | |
7707 | { | |
7708 | if (temp2) | |
7709 | delete arg2; | |
7710 | } | |
7711 | return resultobj; | |
7712 | fail: | |
7713 | { | |
7714 | if (temp2) | |
7715 | delete arg2; | |
7716 | } | |
7717 | return NULL; | |
7718 | } | |
7719 | ||
7720 | ||
7721 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7722 | PyObject *resultobj; | |
7723 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7724 | wxString *arg2 = 0 ; | |
e811c8ce | 7725 | bool temp2 = False ; |
d14a1e28 RD |
7726 | PyObject * obj0 = 0 ; |
7727 | PyObject * obj1 = 0 ; | |
7728 | char *kwnames[] = { | |
7729 | (char *) "self",(char *) "start", NULL | |
7730 | }; | |
7731 | ||
7732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
7733 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7734 | { | |
7735 | arg2 = wxString_in_helper(obj1); | |
7736 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7737 | temp2 = True; |
d14a1e28 RD |
7738 | } |
7739 | { | |
7740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7741 | (arg1)->SetStart((wxString const &)*arg2); | |
7742 | ||
7743 | wxPyEndAllowThreads(__tstate); | |
7744 | if (PyErr_Occurred()) SWIG_fail; | |
7745 | } | |
7746 | Py_INCREF(Py_None); resultobj = Py_None; | |
7747 | { | |
7748 | if (temp2) | |
7749 | delete arg2; | |
7750 | } | |
7751 | return resultobj; | |
7752 | fail: | |
7753 | { | |
7754 | if (temp2) | |
7755 | delete arg2; | |
7756 | } | |
7757 | return NULL; | |
7758 | } | |
7759 | ||
7760 | ||
7761 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7762 | PyObject *resultobj; | |
7763 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7764 | wxString *arg2 = 0 ; | |
7765 | wxString result; | |
e811c8ce | 7766 | bool temp2 = False ; |
d14a1e28 RD |
7767 | PyObject * obj0 = 0 ; |
7768 | PyObject * obj1 = 0 ; | |
7769 | char *kwnames[] = { | |
7770 | (char *) "self",(char *) "page", NULL | |
7771 | }; | |
7772 | ||
7773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
7774 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7775 | { | |
7776 | arg2 = wxString_in_helper(obj1); | |
7777 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 7778 | temp2 = True; |
d14a1e28 RD |
7779 | } |
7780 | { | |
7781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7782 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
7783 | ||
7784 | wxPyEndAllowThreads(__tstate); | |
7785 | if (PyErr_Occurred()) SWIG_fail; | |
7786 | } | |
7787 | { | |
7788 | #if wxUSE_UNICODE | |
7789 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7790 | #else | |
7791 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7792 | #endif | |
7793 | } | |
7794 | { | |
7795 | if (temp2) | |
7796 | delete arg2; | |
7797 | } | |
7798 | return resultobj; | |
7799 | fail: | |
7800 | { | |
7801 | if (temp2) | |
7802 | delete arg2; | |
7803 | } | |
7804 | return NULL; | |
7805 | } | |
7806 | ||
7807 | ||
7808 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
7809 | PyObject *obj; | |
7810 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7811 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
7812 | Py_INCREF(obj); | |
7813 | return Py_BuildValue((char *)""); | |
7814 | } | |
7815 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7816 | PyObject *resultobj; | |
7817 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7818 | int result; | |
7819 | PyObject * obj0 = 0 ; | |
7820 | char *kwnames[] = { | |
7821 | (char *) "self", NULL | |
7822 | }; | |
7823 | ||
7824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
7825 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7826 | { | |
7827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7828 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
7829 | ||
7830 | wxPyEndAllowThreads(__tstate); | |
7831 | if (PyErr_Occurred()) SWIG_fail; | |
7832 | } | |
7833 | resultobj = PyInt_FromLong((long)result); | |
7834 | return resultobj; | |
7835 | fail: | |
7836 | return NULL; | |
7837 | } | |
7838 | ||
7839 | ||
7840 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7841 | PyObject *resultobj; | |
7842 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7843 | int result; | |
7844 | PyObject * obj0 = 0 ; | |
7845 | char *kwnames[] = { | |
7846 | (char *) "self", NULL | |
7847 | }; | |
7848 | ||
7849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
7850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7851 | { | |
7852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7853 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
7854 | ||
7855 | wxPyEndAllowThreads(__tstate); | |
7856 | if (PyErr_Occurred()) SWIG_fail; | |
7857 | } | |
7858 | resultobj = PyInt_FromLong((long)result); | |
7859 | return resultobj; | |
7860 | fail: | |
7861 | return NULL; | |
7862 | } | |
7863 | ||
7864 | ||
7865 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7866 | PyObject *resultobj; | |
7867 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7868 | wxString result; | |
7869 | PyObject * obj0 = 0 ; | |
7870 | char *kwnames[] = { | |
7871 | (char *) "self", NULL | |
7872 | }; | |
7873 | ||
7874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
7875 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7876 | { | |
7877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7878 | result = wxHtmlContentsItem_GetName(arg1); | |
7879 | ||
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
7883 | { | |
7884 | #if wxUSE_UNICODE | |
7885 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7886 | #else | |
7887 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7888 | #endif | |
7889 | } | |
7890 | return resultobj; | |
7891 | fail: | |
7892 | return NULL; | |
7893 | } | |
7894 | ||
7895 | ||
7896 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7897 | PyObject *resultobj; | |
7898 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7899 | wxString result; | |
7900 | PyObject * obj0 = 0 ; | |
7901 | char *kwnames[] = { | |
7902 | (char *) "self", NULL | |
7903 | }; | |
7904 | ||
7905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
7906 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7907 | { | |
7908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7909 | result = wxHtmlContentsItem_GetPage(arg1); | |
7910 | ||
7911 | wxPyEndAllowThreads(__tstate); | |
7912 | if (PyErr_Occurred()) SWIG_fail; | |
7913 | } | |
7914 | { | |
7915 | #if wxUSE_UNICODE | |
7916 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7917 | #else | |
7918 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7919 | #endif | |
7920 | } | |
7921 | return resultobj; | |
7922 | fail: | |
7923 | return NULL; | |
7924 | } | |
7925 | ||
7926 | ||
7927 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7928 | PyObject *resultobj; | |
7929 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7930 | wxHtmlBookRecord *result; | |
7931 | PyObject * obj0 = 0 ; | |
7932 | char *kwnames[] = { | |
7933 | (char *) "self", NULL | |
7934 | }; | |
7935 | ||
7936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
7937 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7938 | { | |
7939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7940 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
7941 | ||
7942 | wxPyEndAllowThreads(__tstate); | |
7943 | if (PyErr_Occurred()) SWIG_fail; | |
7944 | } | |
7945 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0); | |
7946 | return resultobj; | |
7947 | fail: | |
7948 | return NULL; | |
7949 | } | |
7950 | ||
7951 | ||
7952 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
7953 | PyObject *obj; | |
7954 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7955 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
7956 | Py_INCREF(obj); | |
7957 | return Py_BuildValue((char *)""); | |
7958 | } | |
7959 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7960 | PyObject *resultobj; | |
7961 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7962 | bool result; | |
7963 | PyObject * obj0 = 0 ; | |
7964 | char *kwnames[] = { | |
7965 | (char *) "self", NULL | |
7966 | }; | |
7967 | ||
7968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
7969 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7970 | { | |
7971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7972 | result = (bool)(arg1)->Search(); | |
7973 | ||
7974 | wxPyEndAllowThreads(__tstate); | |
7975 | if (PyErr_Occurred()) SWIG_fail; | |
7976 | } | |
7977 | resultobj = PyInt_FromLong((long)result); | |
7978 | return resultobj; | |
7979 | fail: | |
7980 | return NULL; | |
7981 | } | |
7982 | ||
7983 | ||
7984 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7985 | PyObject *resultobj; | |
7986 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7987 | bool result; | |
7988 | PyObject * obj0 = 0 ; | |
7989 | char *kwnames[] = { | |
7990 | (char *) "self", NULL | |
7991 | }; | |
7992 | ||
7993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
7994 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7995 | { | |
7996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7997 | result = (bool)(arg1)->IsActive(); | |
7998 | ||
7999 | wxPyEndAllowThreads(__tstate); | |
8000 | if (PyErr_Occurred()) SWIG_fail; | |
8001 | } | |
8002 | resultobj = PyInt_FromLong((long)result); | |
8003 | return resultobj; | |
8004 | fail: | |
8005 | return NULL; | |
8006 | } | |
8007 | ||
8008 | ||
8009 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8010 | PyObject *resultobj; | |
8011 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8012 | int result; | |
8013 | PyObject * obj0 = 0 ; | |
8014 | char *kwnames[] = { | |
8015 | (char *) "self", NULL | |
8016 | }; | |
8017 | ||
8018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
8019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8020 | { | |
8021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8022 | result = (int)(arg1)->GetCurIndex(); | |
8023 | ||
8024 | wxPyEndAllowThreads(__tstate); | |
8025 | if (PyErr_Occurred()) SWIG_fail; | |
8026 | } | |
8027 | resultobj = PyInt_FromLong((long)result); | |
8028 | return resultobj; | |
8029 | fail: | |
8030 | return NULL; | |
8031 | } | |
8032 | ||
8033 | ||
8034 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8035 | PyObject *resultobj; | |
8036 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8037 | int result; | |
8038 | PyObject * obj0 = 0 ; | |
8039 | char *kwnames[] = { | |
8040 | (char *) "self", NULL | |
8041 | }; | |
8042 | ||
8043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
8044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8045 | { | |
8046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8047 | result = (int)(arg1)->GetMaxIndex(); | |
8048 | ||
8049 | wxPyEndAllowThreads(__tstate); | |
8050 | if (PyErr_Occurred()) SWIG_fail; | |
8051 | } | |
8052 | resultobj = PyInt_FromLong((long)result); | |
8053 | return resultobj; | |
8054 | fail: | |
8055 | return NULL; | |
8056 | } | |
8057 | ||
8058 | ||
8059 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8060 | PyObject *resultobj; | |
8061 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8062 | wxString *result; | |
8063 | PyObject * obj0 = 0 ; | |
8064 | char *kwnames[] = { | |
8065 | (char *) "self", NULL | |
8066 | }; | |
8067 | ||
8068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
8069 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8070 | { | |
8071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8072 | { | |
8073 | wxString const &_result_ref = (arg1)->GetName(); | |
8074 | result = (wxString *) &_result_ref; | |
8075 | } | |
8076 | ||
8077 | wxPyEndAllowThreads(__tstate); | |
8078 | if (PyErr_Occurred()) SWIG_fail; | |
8079 | } | |
cc6dd355 RD |
8080 | { |
8081 | #if wxUSE_UNICODE | |
8082 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
8083 | #else | |
8084 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
8085 | #endif | |
8086 | } | |
d14a1e28 RD |
8087 | return resultobj; |
8088 | fail: | |
8089 | return NULL; | |
8090 | } | |
8091 | ||
8092 | ||
8093 | static PyObject *_wrap_HtmlSearchStatus_GetContentsItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8094 | PyObject *resultobj; | |
8095 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8096 | wxHtmlContentsItem *result; | |
8097 | PyObject * obj0 = 0 ; | |
8098 | char *kwnames[] = { | |
8099 | (char *) "self", NULL | |
8100 | }; | |
8101 | ||
8102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetContentsItem",kwnames,&obj0)) goto fail; | |
8103 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8104 | { | |
8105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8106 | result = (wxHtmlContentsItem *)(arg1)->GetContentsItem(); | |
8107 | ||
8108 | wxPyEndAllowThreads(__tstate); | |
8109 | if (PyErr_Occurred()) SWIG_fail; | |
8110 | } | |
8111 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8112 | return resultobj; | |
8113 | fail: | |
8114 | return NULL; | |
8115 | } | |
8116 | ||
8117 | ||
8118 | static PyObject * HtmlSearchStatus_swigregister(PyObject *self, PyObject *args) { | |
8119 | PyObject *obj; | |
8120 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8121 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSearchStatus, obj); | |
8122 | Py_INCREF(obj); | |
8123 | return Py_BuildValue((char *)""); | |
8124 | } | |
8125 | static PyObject *_wrap_new_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8126 | PyObject *resultobj; | |
8127 | wxHtmlHelpData *result; | |
8128 | char *kwnames[] = { | |
8129 | NULL | |
8130 | }; | |
8131 | ||
8132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlHelpData",kwnames)) goto fail; | |
8133 | { | |
8134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8135 | result = (wxHtmlHelpData *)new wxHtmlHelpData(); | |
8136 | ||
8137 | wxPyEndAllowThreads(__tstate); | |
8138 | if (PyErr_Occurred()) SWIG_fail; | |
8139 | } | |
8140 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 1); | |
8141 | return resultobj; | |
8142 | fail: | |
8143 | return NULL; | |
8144 | } | |
8145 | ||
8146 | ||
8147 | static PyObject *_wrap_delete_HtmlHelpData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8148 | PyObject *resultobj; | |
8149 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8150 | PyObject * obj0 = 0 ; | |
8151 | char *kwnames[] = { | |
8152 | (char *) "self", NULL | |
8153 | }; | |
8154 | ||
8155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpData",kwnames,&obj0)) goto fail; | |
8156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8157 | { | |
8158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8159 | delete arg1; | |
8160 | ||
8161 | wxPyEndAllowThreads(__tstate); | |
8162 | if (PyErr_Occurred()) SWIG_fail; | |
8163 | } | |
8164 | Py_INCREF(Py_None); resultobj = Py_None; | |
8165 | return resultobj; | |
8166 | fail: | |
8167 | return NULL; | |
8168 | } | |
8169 | ||
8170 | ||
8171 | static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8172 | PyObject *resultobj; | |
8173 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8174 | wxString *arg2 = 0 ; | |
e811c8ce | 8175 | bool temp2 = False ; |
d14a1e28 RD |
8176 | PyObject * obj0 = 0 ; |
8177 | PyObject * obj1 = 0 ; | |
8178 | char *kwnames[] = { | |
8179 | (char *) "self",(char *) "path", NULL | |
8180 | }; | |
8181 | ||
8182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8184 | { | |
8185 | arg2 = wxString_in_helper(obj1); | |
8186 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8187 | temp2 = True; |
d14a1e28 RD |
8188 | } |
8189 | { | |
8190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8191 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8192 | ||
8193 | wxPyEndAllowThreads(__tstate); | |
8194 | if (PyErr_Occurred()) SWIG_fail; | |
8195 | } | |
8196 | Py_INCREF(Py_None); resultobj = Py_None; | |
8197 | { | |
8198 | if (temp2) | |
8199 | delete arg2; | |
8200 | } | |
8201 | return resultobj; | |
8202 | fail: | |
8203 | { | |
8204 | if (temp2) | |
8205 | delete arg2; | |
8206 | } | |
8207 | return NULL; | |
8208 | } | |
8209 | ||
8210 | ||
8211 | static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8212 | PyObject *resultobj; | |
8213 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8214 | wxString *arg2 = 0 ; | |
8215 | bool result; | |
e811c8ce | 8216 | bool temp2 = False ; |
d14a1e28 RD |
8217 | PyObject * obj0 = 0 ; |
8218 | PyObject * obj1 = 0 ; | |
8219 | char *kwnames[] = { | |
8220 | (char *) "self",(char *) "book", NULL | |
8221 | }; | |
8222 | ||
8223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_AddBook",kwnames,&obj0,&obj1)) goto fail; | |
8224 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8225 | { | |
8226 | arg2 = wxString_in_helper(obj1); | |
8227 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8228 | temp2 = True; |
d14a1e28 RD |
8229 | } |
8230 | { | |
8231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8232 | result = (bool)(arg1)->AddBook((wxString const &)*arg2); | |
8233 | ||
8234 | wxPyEndAllowThreads(__tstate); | |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
8237 | resultobj = PyInt_FromLong((long)result); | |
8238 | { | |
8239 | if (temp2) | |
8240 | delete arg2; | |
8241 | } | |
8242 | return resultobj; | |
8243 | fail: | |
8244 | { | |
8245 | if (temp2) | |
8246 | delete arg2; | |
8247 | } | |
8248 | return NULL; | |
8249 | } | |
8250 | ||
8251 | ||
8252 | static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8253 | PyObject *resultobj; | |
8254 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8255 | wxString *arg2 = 0 ; | |
8256 | wxString result; | |
e811c8ce | 8257 | bool temp2 = False ; |
d14a1e28 RD |
8258 | PyObject * obj0 = 0 ; |
8259 | PyObject * obj1 = 0 ; | |
8260 | char *kwnames[] = { | |
8261 | (char *) "self",(char *) "page", NULL | |
8262 | }; | |
8263 | ||
8264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpData_FindPageByName",kwnames,&obj0,&obj1)) goto fail; | |
8265 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8266 | { | |
8267 | arg2 = wxString_in_helper(obj1); | |
8268 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8269 | temp2 = True; |
d14a1e28 RD |
8270 | } |
8271 | { | |
8272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8273 | result = (arg1)->FindPageByName((wxString const &)*arg2); | |
8274 | ||
8275 | wxPyEndAllowThreads(__tstate); | |
8276 | if (PyErr_Occurred()) SWIG_fail; | |
8277 | } | |
8278 | { | |
8279 | #if wxUSE_UNICODE | |
8280 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8281 | #else | |
8282 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8283 | #endif | |
8284 | } | |
8285 | { | |
8286 | if (temp2) | |
8287 | delete arg2; | |
8288 | } | |
8289 | return resultobj; | |
8290 | fail: | |
8291 | { | |
8292 | if (temp2) | |
8293 | delete arg2; | |
8294 | } | |
8295 | return NULL; | |
8296 | } | |
8297 | ||
8298 | ||
8299 | static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8300 | PyObject *resultobj; | |
8301 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8302 | int arg2 ; | |
8303 | wxString result; | |
8304 | PyObject * obj0 = 0 ; | |
8305 | char *kwnames[] = { | |
8306 | (char *) "self",(char *) "id", NULL | |
8307 | }; | |
8308 | ||
8309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpData_FindPageById",kwnames,&obj0,&arg2)) goto fail; | |
8310 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8311 | { | |
8312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8313 | result = (arg1)->FindPageById(arg2); | |
8314 | ||
8315 | wxPyEndAllowThreads(__tstate); | |
8316 | if (PyErr_Occurred()) SWIG_fail; | |
8317 | } | |
8318 | { | |
8319 | #if wxUSE_UNICODE | |
8320 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8321 | #else | |
8322 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8323 | #endif | |
8324 | } | |
8325 | return resultobj; | |
8326 | fail: | |
8327 | return NULL; | |
8328 | } | |
8329 | ||
8330 | ||
8331 | static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8332 | PyObject *resultobj; | |
8333 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8334 | wxHtmlBookRecArray *result; | |
8335 | PyObject * obj0 = 0 ; | |
8336 | char *kwnames[] = { | |
8337 | (char *) "self", NULL | |
8338 | }; | |
8339 | ||
8340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetBookRecArray",kwnames,&obj0)) goto fail; | |
8341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8342 | { | |
8343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8344 | { | |
8345 | wxHtmlBookRecArray const &_result_ref = (arg1)->GetBookRecArray(); | |
8346 | result = (wxHtmlBookRecArray *) &_result_ref; | |
8347 | } | |
8348 | ||
8349 | wxPyEndAllowThreads(__tstate); | |
8350 | if (PyErr_Occurred()) SWIG_fail; | |
8351 | } | |
8352 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecArray, 0); | |
8353 | return resultobj; | |
8354 | fail: | |
8355 | return NULL; | |
8356 | } | |
8357 | ||
8358 | ||
8359 | static PyObject *_wrap_HtmlHelpData_GetContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8360 | PyObject *resultobj; | |
8361 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8362 | wxHtmlContentsItem *result; | |
8363 | PyObject * obj0 = 0 ; | |
8364 | char *kwnames[] = { | |
8365 | (char *) "self", NULL | |
8366 | }; | |
8367 | ||
8368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContents",kwnames,&obj0)) goto fail; | |
8369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8370 | { | |
8371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8372 | result = (wxHtmlContentsItem *)(arg1)->GetContents(); | |
8373 | ||
8374 | wxPyEndAllowThreads(__tstate); | |
8375 | if (PyErr_Occurred()) SWIG_fail; | |
8376 | } | |
8377 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8378 | return resultobj; | |
8379 | fail: | |
8380 | return NULL; | |
8381 | } | |
8382 | ||
8383 | ||
8384 | static PyObject *_wrap_HtmlHelpData_GetContentsCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8385 | PyObject *resultobj; | |
8386 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8387 | int result; | |
8388 | PyObject * obj0 = 0 ; | |
8389 | char *kwnames[] = { | |
8390 | (char *) "self", NULL | |
8391 | }; | |
8392 | ||
8393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetContentsCnt",kwnames,&obj0)) goto fail; | |
8394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8395 | { | |
8396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8397 | result = (int)(arg1)->GetContentsCnt(); | |
8398 | ||
8399 | wxPyEndAllowThreads(__tstate); | |
8400 | if (PyErr_Occurred()) SWIG_fail; | |
8401 | } | |
8402 | resultobj = PyInt_FromLong((long)result); | |
8403 | return resultobj; | |
8404 | fail: | |
8405 | return NULL; | |
8406 | } | |
8407 | ||
8408 | ||
8409 | static PyObject *_wrap_HtmlHelpData_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8410 | PyObject *resultobj; | |
8411 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8412 | wxHtmlContentsItem *result; | |
8413 | PyObject * obj0 = 0 ; | |
8414 | char *kwnames[] = { | |
8415 | (char *) "self", NULL | |
8416 | }; | |
8417 | ||
8418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndex",kwnames,&obj0)) goto fail; | |
8419 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8420 | { | |
8421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8422 | result = (wxHtmlContentsItem *)(arg1)->GetIndex(); | |
8423 | ||
8424 | wxPyEndAllowThreads(__tstate); | |
8425 | if (PyErr_Occurred()) SWIG_fail; | |
8426 | } | |
8427 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContentsItem, 0); | |
8428 | return resultobj; | |
8429 | fail: | |
8430 | return NULL; | |
8431 | } | |
8432 | ||
8433 | ||
8434 | static PyObject *_wrap_HtmlHelpData_GetIndexCnt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8435 | PyObject *resultobj; | |
8436 | wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; | |
8437 | int result; | |
8438 | PyObject * obj0 = 0 ; | |
8439 | char *kwnames[] = { | |
8440 | (char *) "self", NULL | |
8441 | }; | |
8442 | ||
8443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpData_GetIndexCnt",kwnames,&obj0)) goto fail; | |
8444 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8445 | { | |
8446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8447 | result = (int)(arg1)->GetIndexCnt(); | |
8448 | ||
8449 | wxPyEndAllowThreads(__tstate); | |
8450 | if (PyErr_Occurred()) SWIG_fail; | |
8451 | } | |
8452 | resultobj = PyInt_FromLong((long)result); | |
8453 | return resultobj; | |
8454 | fail: | |
8455 | return NULL; | |
8456 | } | |
8457 | ||
8458 | ||
8459 | static PyObject * HtmlHelpData_swigregister(PyObject *self, PyObject *args) { | |
8460 | PyObject *obj; | |
8461 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8462 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpData, obj); | |
8463 | Py_INCREF(obj); | |
8464 | return Py_BuildValue((char *)""); | |
8465 | } | |
8466 | static PyObject *_wrap_new_HtmlHelpFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8467 | PyObject *resultobj; | |
8468 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8469 | int arg2 ; | |
8470 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8471 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
8472 | int arg4 = (int) wxHF_DEFAULTSTYLE ; | |
8473 | wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; | |
8474 | wxHtmlHelpFrame *result; | |
e811c8ce | 8475 | bool temp3 = False ; |
d14a1e28 RD |
8476 | PyObject * obj0 = 0 ; |
8477 | PyObject * obj2 = 0 ; | |
8478 | PyObject * obj4 = 0 ; | |
8479 | char *kwnames[] = { | |
e811c8ce | 8480 | (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL |
d14a1e28 RD |
8481 | }; |
8482 | ||
8483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OiO:new_HtmlHelpFrame",kwnames,&obj0,&arg2,&obj2,&arg4,&obj4)) goto fail; | |
8484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8485 | if (obj2) { | |
8486 | { | |
8487 | arg3 = wxString_in_helper(obj2); | |
8488 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8489 | temp3 = True; |
d14a1e28 RD |
8490 | } |
8491 | } | |
8492 | if (obj4) { | |
8493 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlHelpData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8494 | } | |
8495 | { | |
8496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8497 | result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); | |
8498 | ||
8499 | wxPyEndAllowThreads(__tstate); | |
8500 | if (PyErr_Occurred()) SWIG_fail; | |
8501 | } | |
8502 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 1); | |
8503 | { | |
8504 | if (temp3) | |
8505 | delete arg3; | |
8506 | } | |
8507 | return resultobj; | |
8508 | fail: | |
8509 | { | |
8510 | if (temp3) | |
8511 | delete arg3; | |
8512 | } | |
8513 | return NULL; | |
8514 | } | |
8515 | ||
8516 | ||
8517 | static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8518 | PyObject *resultobj; | |
8519 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8520 | wxHtmlHelpData *result; | |
8521 | PyObject * obj0 = 0 ; | |
8522 | char *kwnames[] = { | |
8523 | (char *) "self", NULL | |
8524 | }; | |
8525 | ||
8526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; | |
8527 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8528 | { | |
8529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8530 | result = (wxHtmlHelpData *)(arg1)->GetData(); | |
8531 | ||
8532 | wxPyEndAllowThreads(__tstate); | |
8533 | if (PyErr_Occurred()) SWIG_fail; | |
8534 | } | |
8535 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpData, 0); | |
8536 | return resultobj; | |
8537 | fail: | |
8538 | return NULL; | |
8539 | } | |
8540 | ||
8541 | ||
8542 | static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8543 | PyObject *resultobj; | |
8544 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8545 | wxString *arg2 = 0 ; | |
e811c8ce | 8546 | bool temp2 = False ; |
d14a1e28 RD |
8547 | PyObject * obj0 = 0 ; |
8548 | PyObject * obj1 = 0 ; | |
8549 | char *kwnames[] = { | |
8550 | (char *) "self",(char *) "format", NULL | |
8551 | }; | |
8552 | ||
8553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8554 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8555 | { | |
8556 | arg2 = wxString_in_helper(obj1); | |
8557 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8558 | temp2 = True; |
d14a1e28 RD |
8559 | } |
8560 | { | |
8561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8562 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8563 | ||
8564 | wxPyEndAllowThreads(__tstate); | |
8565 | if (PyErr_Occurred()) SWIG_fail; | |
8566 | } | |
8567 | Py_INCREF(Py_None); resultobj = Py_None; | |
8568 | { | |
8569 | if (temp2) | |
8570 | delete arg2; | |
8571 | } | |
8572 | return resultobj; | |
8573 | fail: | |
8574 | { | |
8575 | if (temp2) | |
8576 | delete arg2; | |
8577 | } | |
8578 | return NULL; | |
8579 | } | |
8580 | ||
8581 | ||
8582 | static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8583 | PyObject *resultobj; | |
8584 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8585 | wxString *arg2 = 0 ; | |
e811c8ce | 8586 | bool temp2 = False ; |
d14a1e28 RD |
8587 | PyObject * obj0 = 0 ; |
8588 | PyObject * obj1 = 0 ; | |
8589 | char *kwnames[] = { | |
8590 | (char *) "self",(char *) "x", NULL | |
8591 | }; | |
8592 | ||
8593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; | |
8594 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8595 | { | |
8596 | arg2 = wxString_in_helper(obj1); | |
8597 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8598 | temp2 = True; |
d14a1e28 RD |
8599 | } |
8600 | { | |
8601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8602 | (arg1)->Display((wxString const &)*arg2); | |
8603 | ||
8604 | wxPyEndAllowThreads(__tstate); | |
8605 | if (PyErr_Occurred()) SWIG_fail; | |
8606 | } | |
8607 | Py_INCREF(Py_None); resultobj = Py_None; | |
8608 | { | |
8609 | if (temp2) | |
8610 | delete arg2; | |
8611 | } | |
8612 | return resultobj; | |
8613 | fail: | |
8614 | { | |
8615 | if (temp2) | |
8616 | delete arg2; | |
8617 | } | |
8618 | return NULL; | |
8619 | } | |
8620 | ||
8621 | ||
8622 | static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8623 | PyObject *resultobj; | |
8624 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8625 | int arg2 ; | |
8626 | PyObject * obj0 = 0 ; | |
8627 | char *kwnames[] = { | |
8628 | (char *) "self",(char *) "id", NULL | |
8629 | }; | |
8630 | ||
8631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpFrame_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
8632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8633 | { | |
8634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8635 | (arg1)->Display(arg2); | |
8636 | ||
8637 | wxPyEndAllowThreads(__tstate); | |
8638 | if (PyErr_Occurred()) SWIG_fail; | |
8639 | } | |
8640 | Py_INCREF(Py_None); resultobj = Py_None; | |
8641 | return resultobj; | |
8642 | fail: | |
8643 | return NULL; | |
8644 | } | |
8645 | ||
8646 | ||
8647 | static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8648 | PyObject *resultobj; | |
8649 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8650 | PyObject * obj0 = 0 ; | |
8651 | char *kwnames[] = { | |
8652 | (char *) "self", NULL | |
8653 | }; | |
8654 | ||
8655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; | |
8656 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8657 | { | |
8658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8659 | (arg1)->DisplayContents(); | |
8660 | ||
8661 | wxPyEndAllowThreads(__tstate); | |
8662 | if (PyErr_Occurred()) SWIG_fail; | |
8663 | } | |
8664 | Py_INCREF(Py_None); resultobj = Py_None; | |
8665 | return resultobj; | |
8666 | fail: | |
8667 | return NULL; | |
8668 | } | |
8669 | ||
8670 | ||
8671 | static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8672 | PyObject *resultobj; | |
8673 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8674 | PyObject * obj0 = 0 ; | |
8675 | char *kwnames[] = { | |
8676 | (char *) "self", NULL | |
8677 | }; | |
8678 | ||
8679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; | |
8680 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8681 | { | |
8682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8683 | (arg1)->DisplayIndex(); | |
8684 | ||
8685 | wxPyEndAllowThreads(__tstate); | |
8686 | if (PyErr_Occurred()) SWIG_fail; | |
8687 | } | |
8688 | Py_INCREF(Py_None); resultobj = Py_None; | |
8689 | return resultobj; | |
8690 | fail: | |
8691 | return NULL; | |
8692 | } | |
8693 | ||
8694 | ||
8695 | static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8696 | PyObject *resultobj; | |
8697 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8698 | wxString *arg2 = 0 ; | |
8699 | bool result; | |
e811c8ce | 8700 | bool temp2 = False ; |
d14a1e28 RD |
8701 | PyObject * obj0 = 0 ; |
8702 | PyObject * obj1 = 0 ; | |
8703 | char *kwnames[] = { | |
8704 | (char *) "self",(char *) "keyword", NULL | |
8705 | }; | |
8706 | ||
8707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
8708 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8709 | { | |
8710 | arg2 = wxString_in_helper(obj1); | |
8711 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8712 | temp2 = True; |
d14a1e28 RD |
8713 | } |
8714 | { | |
8715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8716 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
8717 | ||
8718 | wxPyEndAllowThreads(__tstate); | |
8719 | if (PyErr_Occurred()) SWIG_fail; | |
8720 | } | |
8721 | resultobj = PyInt_FromLong((long)result); | |
8722 | { | |
8723 | if (temp2) | |
8724 | delete arg2; | |
8725 | } | |
8726 | return resultobj; | |
8727 | fail: | |
8728 | { | |
8729 | if (temp2) | |
8730 | delete arg2; | |
8731 | } | |
8732 | return NULL; | |
8733 | } | |
8734 | ||
8735 | ||
8736 | static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8737 | PyObject *resultobj; | |
8738 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8739 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8740 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
8741 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce | 8742 | bool temp3 = False ; |
d14a1e28 RD |
8743 | PyObject * obj0 = 0 ; |
8744 | PyObject * obj1 = 0 ; | |
8745 | PyObject * obj2 = 0 ; | |
8746 | char *kwnames[] = { | |
8747 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
8748 | }; | |
8749 | ||
8750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8751 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8752 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8753 | if (obj2) { | |
8754 | { | |
8755 | arg3 = wxString_in_helper(obj2); | |
8756 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8757 | temp3 = True; |
d14a1e28 RD |
8758 | } |
8759 | } | |
8760 | { | |
8761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8762 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
8763 | ||
8764 | wxPyEndAllowThreads(__tstate); | |
8765 | if (PyErr_Occurred()) SWIG_fail; | |
8766 | } | |
8767 | Py_INCREF(Py_None); resultobj = Py_None; | |
8768 | { | |
8769 | if (temp3) | |
8770 | delete arg3; | |
8771 | } | |
8772 | return resultobj; | |
8773 | fail: | |
8774 | { | |
8775 | if (temp3) | |
8776 | delete arg3; | |
8777 | } | |
8778 | return NULL; | |
8779 | } | |
8780 | ||
8781 | ||
8782 | static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8783 | PyObject *resultobj; | |
8784 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8785 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8786 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8787 | PyObject * obj0 = 0 ; |
8788 | PyObject * obj1 = 0 ; | |
8789 | PyObject * obj2 = 0 ; | |
8790 | char *kwnames[] = { | |
8791 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8792 | }; | |
8793 | ||
8794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8796 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8797 | if (obj2) { | |
e811c8ce RD |
8798 | { |
8799 | wxString* sptr = wxString_in_helper(obj2); | |
8800 | if (sptr == NULL) SWIG_fail; | |
8801 | arg3 = *sptr; | |
8802 | delete sptr; | |
8803 | } | |
d14a1e28 RD |
8804 | } |
8805 | { | |
8806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8807 | (arg1)->ReadCustomization(arg2,arg3); | |
8808 | ||
8809 | wxPyEndAllowThreads(__tstate); | |
8810 | if (PyErr_Occurred()) SWIG_fail; | |
8811 | } | |
8812 | Py_INCREF(Py_None); resultobj = Py_None; | |
8813 | return resultobj; | |
8814 | fail: | |
8815 | return NULL; | |
8816 | } | |
8817 | ||
8818 | ||
8819 | static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8820 | PyObject *resultobj; | |
8821 | wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; | |
8822 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
8823 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
8824 | PyObject * obj0 = 0 ; |
8825 | PyObject * obj1 = 0 ; | |
8826 | PyObject * obj2 = 0 ; | |
8827 | char *kwnames[] = { | |
8828 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
8829 | }; | |
8830 | ||
8831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8832 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8833 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8834 | if (obj2) { | |
e811c8ce RD |
8835 | { |
8836 | wxString* sptr = wxString_in_helper(obj2); | |
8837 | if (sptr == NULL) SWIG_fail; | |
8838 | arg3 = *sptr; | |
8839 | delete sptr; | |
8840 | } | |
d14a1e28 RD |
8841 | } |
8842 | { | |
8843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8844 | (arg1)->WriteCustomization(arg2,arg3); | |
8845 | ||
8846 | wxPyEndAllowThreads(__tstate); | |
8847 | if (PyErr_Occurred()) SWIG_fail; | |
8848 | } | |
8849 | Py_INCREF(Py_None); resultobj = Py_None; | |
8850 | return resultobj; | |
8851 | fail: | |
8852 | return NULL; | |
8853 | } | |
8854 | ||
8855 | ||
8856 | static PyObject * HtmlHelpFrame_swigregister(PyObject *self, PyObject *args) { | |
8857 | PyObject *obj; | |
8858 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8859 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); | |
8860 | Py_INCREF(obj); | |
8861 | return Py_BuildValue((char *)""); | |
8862 | } | |
8863 | static PyObject *_wrap_new_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8864 | PyObject *resultobj; | |
8865 | int arg1 = (int) wxHF_DEFAULTSTYLE ; | |
8866 | wxHtmlHelpController *result; | |
8867 | char *kwnames[] = { | |
8868 | (char *) "style", NULL | |
8869 | }; | |
8870 | ||
8871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_HtmlHelpController",kwnames,&arg1)) goto fail; | |
8872 | { | |
8873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8874 | result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); | |
8875 | ||
8876 | wxPyEndAllowThreads(__tstate); | |
8877 | if (PyErr_Occurred()) SWIG_fail; | |
8878 | } | |
8879 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpController, 1); | |
8880 | return resultobj; | |
8881 | fail: | |
8882 | return NULL; | |
8883 | } | |
8884 | ||
8885 | ||
8886 | static PyObject *_wrap_delete_HtmlHelpController(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8887 | PyObject *resultobj; | |
8888 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8889 | PyObject * obj0 = 0 ; | |
8890 | char *kwnames[] = { | |
8891 | (char *) "self", NULL | |
8892 | }; | |
8893 | ||
8894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; | |
8895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8896 | { | |
8897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8898 | delete arg1; | |
8899 | ||
8900 | wxPyEndAllowThreads(__tstate); | |
8901 | if (PyErr_Occurred()) SWIG_fail; | |
8902 | } | |
8903 | Py_INCREF(Py_None); resultobj = Py_None; | |
8904 | return resultobj; | |
8905 | fail: | |
8906 | return NULL; | |
8907 | } | |
8908 | ||
8909 | ||
8910 | static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8911 | PyObject *resultobj; | |
8912 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8913 | wxString *arg2 = 0 ; | |
e811c8ce | 8914 | bool temp2 = False ; |
d14a1e28 RD |
8915 | PyObject * obj0 = 0 ; |
8916 | PyObject * obj1 = 0 ; | |
8917 | char *kwnames[] = { | |
8918 | (char *) "self",(char *) "format", NULL | |
8919 | }; | |
8920 | ||
8921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; | |
8922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8923 | { | |
8924 | arg2 = wxString_in_helper(obj1); | |
8925 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8926 | temp2 = True; |
d14a1e28 RD |
8927 | } |
8928 | { | |
8929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8930 | (arg1)->SetTitleFormat((wxString const &)*arg2); | |
8931 | ||
8932 | wxPyEndAllowThreads(__tstate); | |
8933 | if (PyErr_Occurred()) SWIG_fail; | |
8934 | } | |
8935 | Py_INCREF(Py_None); resultobj = Py_None; | |
8936 | { | |
8937 | if (temp2) | |
8938 | delete arg2; | |
8939 | } | |
8940 | return resultobj; | |
8941 | fail: | |
8942 | { | |
8943 | if (temp2) | |
8944 | delete arg2; | |
8945 | } | |
8946 | return NULL; | |
8947 | } | |
8948 | ||
8949 | ||
8950 | static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8951 | PyObject *resultobj; | |
8952 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8953 | wxString *arg2 = 0 ; | |
e811c8ce | 8954 | bool temp2 = False ; |
d14a1e28 RD |
8955 | PyObject * obj0 = 0 ; |
8956 | PyObject * obj1 = 0 ; | |
8957 | char *kwnames[] = { | |
8958 | (char *) "self",(char *) "path", NULL | |
8959 | }; | |
8960 | ||
8961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; | |
8962 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8963 | { | |
8964 | arg2 = wxString_in_helper(obj1); | |
8965 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 8966 | temp2 = True; |
d14a1e28 RD |
8967 | } |
8968 | { | |
8969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8970 | (arg1)->SetTempDir((wxString const &)*arg2); | |
8971 | ||
8972 | wxPyEndAllowThreads(__tstate); | |
8973 | if (PyErr_Occurred()) SWIG_fail; | |
8974 | } | |
8975 | Py_INCREF(Py_None); resultobj = Py_None; | |
8976 | { | |
8977 | if (temp2) | |
8978 | delete arg2; | |
8979 | } | |
8980 | return resultobj; | |
8981 | fail: | |
8982 | { | |
8983 | if (temp2) | |
8984 | delete arg2; | |
8985 | } | |
8986 | return NULL; | |
8987 | } | |
8988 | ||
8989 | ||
8990 | static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8991 | PyObject *resultobj; | |
8992 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
8993 | wxString *arg2 = 0 ; | |
e811c8ce | 8994 | int arg3 = (int) False ; |
d14a1e28 | 8995 | bool result; |
e811c8ce | 8996 | bool temp2 = False ; |
d14a1e28 RD |
8997 | PyObject * obj0 = 0 ; |
8998 | PyObject * obj1 = 0 ; | |
8999 | char *kwnames[] = { | |
9000 | (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL | |
9001 | }; | |
9002 | ||
9003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
9004 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9005 | { | |
9006 | arg2 = wxString_in_helper(obj1); | |
9007 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9008 | temp2 = True; |
d14a1e28 RD |
9009 | } |
9010 | { | |
9011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9012 | result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); | |
9013 | ||
9014 | wxPyEndAllowThreads(__tstate); | |
9015 | if (PyErr_Occurred()) SWIG_fail; | |
9016 | } | |
9017 | resultobj = PyInt_FromLong((long)result); | |
9018 | { | |
9019 | if (temp2) | |
9020 | delete arg2; | |
9021 | } | |
9022 | return resultobj; | |
9023 | fail: | |
9024 | { | |
9025 | if (temp2) | |
9026 | delete arg2; | |
9027 | } | |
9028 | return NULL; | |
9029 | } | |
9030 | ||
9031 | ||
9032 | static PyObject *_wrap_HtmlHelpController_Display(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9033 | PyObject *resultobj; | |
9034 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9035 | wxString *arg2 = 0 ; | |
e811c8ce | 9036 | bool temp2 = False ; |
d14a1e28 RD |
9037 | PyObject * obj0 = 0 ; |
9038 | PyObject * obj1 = 0 ; | |
9039 | char *kwnames[] = { | |
9040 | (char *) "self",(char *) "x", NULL | |
9041 | }; | |
9042 | ||
9043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; | |
9044 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9045 | { | |
9046 | arg2 = wxString_in_helper(obj1); | |
9047 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9048 | temp2 = True; |
d14a1e28 RD |
9049 | } |
9050 | { | |
9051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9052 | (arg1)->Display((wxString const &)*arg2); | |
9053 | ||
9054 | wxPyEndAllowThreads(__tstate); | |
9055 | if (PyErr_Occurred()) SWIG_fail; | |
9056 | } | |
9057 | Py_INCREF(Py_None); resultobj = Py_None; | |
9058 | { | |
9059 | if (temp2) | |
9060 | delete arg2; | |
9061 | } | |
9062 | return resultobj; | |
9063 | fail: | |
9064 | { | |
9065 | if (temp2) | |
9066 | delete arg2; | |
9067 | } | |
9068 | return NULL; | |
9069 | } | |
9070 | ||
9071 | ||
9072 | static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9073 | PyObject *resultobj; | |
9074 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9075 | int arg2 ; | |
9076 | PyObject * obj0 = 0 ; | |
9077 | char *kwnames[] = { | |
9078 | (char *) "self",(char *) "id", NULL | |
9079 | }; | |
9080 | ||
9081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlHelpController_DisplayID",kwnames,&obj0,&arg2)) goto fail; | |
9082 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9083 | { | |
9084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9085 | (arg1)->Display(arg2); | |
9086 | ||
9087 | wxPyEndAllowThreads(__tstate); | |
9088 | if (PyErr_Occurred()) SWIG_fail; | |
9089 | } | |
9090 | Py_INCREF(Py_None); resultobj = Py_None; | |
9091 | return resultobj; | |
9092 | fail: | |
9093 | return NULL; | |
9094 | } | |
9095 | ||
9096 | ||
9097 | static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9098 | PyObject *resultobj; | |
9099 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9100 | PyObject * obj0 = 0 ; | |
9101 | char *kwnames[] = { | |
9102 | (char *) "self", NULL | |
9103 | }; | |
9104 | ||
9105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; | |
9106 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9107 | { | |
9108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9109 | (arg1)->DisplayContents(); | |
9110 | ||
9111 | wxPyEndAllowThreads(__tstate); | |
9112 | if (PyErr_Occurred()) SWIG_fail; | |
9113 | } | |
9114 | Py_INCREF(Py_None); resultobj = Py_None; | |
9115 | return resultobj; | |
9116 | fail: | |
9117 | return NULL; | |
9118 | } | |
9119 | ||
9120 | ||
9121 | static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9122 | PyObject *resultobj; | |
9123 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9124 | PyObject * obj0 = 0 ; | |
9125 | char *kwnames[] = { | |
9126 | (char *) "self", NULL | |
9127 | }; | |
9128 | ||
9129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; | |
9130 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9131 | { | |
9132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9133 | (arg1)->DisplayIndex(); | |
9134 | ||
9135 | wxPyEndAllowThreads(__tstate); | |
9136 | if (PyErr_Occurred()) SWIG_fail; | |
9137 | } | |
9138 | Py_INCREF(Py_None); resultobj = Py_None; | |
9139 | return resultobj; | |
9140 | fail: | |
9141 | return NULL; | |
9142 | } | |
9143 | ||
9144 | ||
9145 | static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9146 | PyObject *resultobj; | |
9147 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9148 | wxString *arg2 = 0 ; | |
9149 | bool result; | |
e811c8ce | 9150 | bool temp2 = False ; |
d14a1e28 RD |
9151 | PyObject * obj0 = 0 ; |
9152 | PyObject * obj1 = 0 ; | |
9153 | char *kwnames[] = { | |
9154 | (char *) "self",(char *) "keyword", NULL | |
9155 | }; | |
9156 | ||
9157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; | |
9158 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9159 | { | |
9160 | arg2 = wxString_in_helper(obj1); | |
9161 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9162 | temp2 = True; |
d14a1e28 RD |
9163 | } |
9164 | { | |
9165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9166 | result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); | |
9167 | ||
9168 | wxPyEndAllowThreads(__tstate); | |
9169 | if (PyErr_Occurred()) SWIG_fail; | |
9170 | } | |
9171 | resultobj = PyInt_FromLong((long)result); | |
9172 | { | |
9173 | if (temp2) | |
9174 | delete arg2; | |
9175 | } | |
9176 | return resultobj; | |
9177 | fail: | |
9178 | { | |
9179 | if (temp2) | |
9180 | delete arg2; | |
9181 | } | |
9182 | return NULL; | |
9183 | } | |
9184 | ||
9185 | ||
9186 | static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9187 | PyObject *resultobj; | |
9188 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9189 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9190 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9191 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
e811c8ce | 9192 | bool temp3 = False ; |
d14a1e28 RD |
9193 | PyObject * obj0 = 0 ; |
9194 | PyObject * obj1 = 0 ; | |
9195 | PyObject * obj2 = 0 ; | |
9196 | char *kwnames[] = { | |
9197 | (char *) "self",(char *) "config",(char *) "rootpath", NULL | |
9198 | }; | |
9199 | ||
9200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9201 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9202 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9203 | if (obj2) { | |
9204 | { | |
9205 | arg3 = wxString_in_helper(obj2); | |
9206 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 9207 | temp3 = True; |
d14a1e28 RD |
9208 | } |
9209 | } | |
9210 | { | |
9211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9212 | (arg1)->UseConfig(arg2,(wxString const &)*arg3); | |
9213 | ||
9214 | wxPyEndAllowThreads(__tstate); | |
9215 | if (PyErr_Occurred()) SWIG_fail; | |
9216 | } | |
9217 | Py_INCREF(Py_None); resultobj = Py_None; | |
9218 | { | |
9219 | if (temp3) | |
9220 | delete arg3; | |
9221 | } | |
9222 | return resultobj; | |
9223 | fail: | |
9224 | { | |
9225 | if (temp3) | |
9226 | delete arg3; | |
9227 | } | |
9228 | return NULL; | |
9229 | } | |
9230 | ||
9231 | ||
9232 | static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9233 | PyObject *resultobj; | |
9234 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9235 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9236 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
9237 | PyObject * obj0 = 0 ; |
9238 | PyObject * obj1 = 0 ; | |
9239 | PyObject * obj2 = 0 ; | |
9240 | char *kwnames[] = { | |
9241 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9242 | }; | |
9243 | ||
9244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9245 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9246 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9247 | if (obj2) { | |
e811c8ce RD |
9248 | { |
9249 | wxString* sptr = wxString_in_helper(obj2); | |
9250 | if (sptr == NULL) SWIG_fail; | |
9251 | arg3 = *sptr; | |
9252 | delete sptr; | |
9253 | } | |
d14a1e28 RD |
9254 | } |
9255 | { | |
9256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9257 | (arg1)->ReadCustomization(arg2,arg3); | |
9258 | ||
9259 | wxPyEndAllowThreads(__tstate); | |
9260 | if (PyErr_Occurred()) SWIG_fail; | |
9261 | } | |
9262 | Py_INCREF(Py_None); resultobj = Py_None; | |
9263 | return resultobj; | |
9264 | fail: | |
9265 | return NULL; | |
9266 | } | |
9267 | ||
9268 | ||
9269 | static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9270 | PyObject *resultobj; | |
9271 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9272 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
9273 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
9274 | PyObject * obj0 = 0 ; |
9275 | PyObject * obj1 = 0 ; | |
9276 | PyObject * obj2 = 0 ; | |
9277 | char *kwnames[] = { | |
9278 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
9279 | }; | |
9280 | ||
9281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9282 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9283 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9284 | if (obj2) { | |
e811c8ce RD |
9285 | { |
9286 | wxString* sptr = wxString_in_helper(obj2); | |
9287 | if (sptr == NULL) SWIG_fail; | |
9288 | arg3 = *sptr; | |
9289 | delete sptr; | |
9290 | } | |
d14a1e28 RD |
9291 | } |
9292 | { | |
9293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9294 | (arg1)->WriteCustomization(arg2,arg3); | |
9295 | ||
9296 | wxPyEndAllowThreads(__tstate); | |
9297 | if (PyErr_Occurred()) SWIG_fail; | |
9298 | } | |
9299 | Py_INCREF(Py_None); resultobj = Py_None; | |
9300 | return resultobj; | |
9301 | fail: | |
9302 | return NULL; | |
9303 | } | |
9304 | ||
9305 | ||
9306 | static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9307 | PyObject *resultobj; | |
9308 | wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; | |
9309 | wxHtmlHelpFrame *result; | |
9310 | PyObject * obj0 = 0 ; | |
9311 | char *kwnames[] = { | |
9312 | (char *) "self", NULL | |
9313 | }; | |
9314 | ||
9315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; | |
9316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlHelpController,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9317 | { | |
9318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9319 | result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); | |
9320 | ||
9321 | wxPyEndAllowThreads(__tstate); | |
9322 | if (PyErr_Occurred()) SWIG_fail; | |
9323 | } | |
9324 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlHelpFrame, 0); | |
9325 | return resultobj; | |
9326 | fail: | |
9327 | return NULL; | |
9328 | } | |
9329 | ||
9330 | ||
9331 | static PyObject * HtmlHelpController_swigregister(PyObject *self, PyObject *args) { | |
9332 | PyObject *obj; | |
9333 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9334 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpController, obj); | |
9335 | Py_INCREF(obj); | |
9336 | return Py_BuildValue((char *)""); | |
9337 | } | |
9338 | static PyMethodDef SwigMethods[] = { | |
9339 | { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
9340 | { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
9341 | { (char *)"HtmlLinkInfo_GetTarget", (PyCFunction) _wrap_HtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, | |
9342 | { (char *)"HtmlLinkInfo_GetEvent", (PyCFunction) _wrap_HtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9343 | { (char *)"HtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9344 | { (char *)"HtmlLinkInfo_SetEvent", (PyCFunction) _wrap_HtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9345 | { (char *)"HtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_HtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9346 | { (char *)"HtmlLinkInfo_swigregister", HtmlLinkInfo_swigregister, METH_VARARGS }, | |
9347 | { (char *)"HtmlTag_GetName", (PyCFunction) _wrap_HtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9348 | { (char *)"HtmlTag_HasParam", (PyCFunction) _wrap_HtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
9349 | { (char *)"HtmlTag_GetParam", (PyCFunction) _wrap_HtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
9350 | { (char *)"HtmlTag_GetAllParams", (PyCFunction) _wrap_HtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, | |
9351 | { (char *)"HtmlTag_HasEnding", (PyCFunction) _wrap_HtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
9352 | { (char *)"HtmlTag_GetBeginPos", (PyCFunction) _wrap_HtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
9353 | { (char *)"HtmlTag_GetEndPos1", (PyCFunction) _wrap_HtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
9354 | { (char *)"HtmlTag_GetEndPos2", (PyCFunction) _wrap_HtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
9355 | { (char *)"HtmlTag_swigregister", HtmlTag_swigregister, METH_VARARGS }, | |
9356 | { (char *)"HtmlParser_SetFS", (PyCFunction) _wrap_HtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
9357 | { (char *)"HtmlParser_GetFS", (PyCFunction) _wrap_HtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
9358 | { (char *)"HtmlParser_Parse", (PyCFunction) _wrap_HtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
9359 | { (char *)"HtmlParser_InitParser", (PyCFunction) _wrap_HtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
9360 | { (char *)"HtmlParser_DoneParser", (PyCFunction) _wrap_HtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
9361 | { (char *)"HtmlParser_DoParsing", (PyCFunction) _wrap_HtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, | |
9362 | { (char *)"HtmlParser_StopParsing", (PyCFunction) _wrap_HtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, | |
9363 | { (char *)"HtmlParser_AddTagHandler", (PyCFunction) _wrap_HtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9364 | { (char *)"HtmlParser_GetSource", (PyCFunction) _wrap_HtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, | |
9365 | { (char *)"HtmlParser_PushTagHandler", (PyCFunction) _wrap_HtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9366 | { (char *)"HtmlParser_PopTagHandler", (PyCFunction) _wrap_HtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9367 | { (char *)"HtmlParser_swigregister", HtmlParser_swigregister, METH_VARARGS }, | |
9368 | { (char *)"new_HtmlWinParser", (PyCFunction) _wrap_new_HtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
9369 | { (char *)"HtmlWinParser_SetDC", (PyCFunction) _wrap_HtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9370 | { (char *)"HtmlWinParser_GetDC", (PyCFunction) _wrap_HtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
9371 | { (char *)"HtmlWinParser_GetCharHeight", (PyCFunction) _wrap_HtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
9372 | { (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
9373 | { (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
9374 | { (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9375 | { (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9376 | { (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, | |
9377 | { (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, | |
9378 | { (char *)"HtmlWinParser_CloseContainer", (PyCFunction) _wrap_HtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
9379 | { (char *)"HtmlWinParser_GetFontSize", (PyCFunction) _wrap_HtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9380 | { (char *)"HtmlWinParser_SetFontSize", (PyCFunction) _wrap_HtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
9381 | { (char *)"HtmlWinParser_GetFontBold", (PyCFunction) _wrap_HtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9382 | { (char *)"HtmlWinParser_SetFontBold", (PyCFunction) _wrap_HtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
9383 | { (char *)"HtmlWinParser_GetFontItalic", (PyCFunction) _wrap_HtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9384 | { (char *)"HtmlWinParser_SetFontItalic", (PyCFunction) _wrap_HtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
9385 | { (char *)"HtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9386 | { (char *)"HtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_HtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
9387 | { (char *)"HtmlWinParser_GetFontFixed", (PyCFunction) _wrap_HtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9388 | { (char *)"HtmlWinParser_SetFontFixed", (PyCFunction) _wrap_HtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
9389 | { (char *)"HtmlWinParser_GetAlign", (PyCFunction) _wrap_HtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9390 | { (char *)"HtmlWinParser_SetAlign", (PyCFunction) _wrap_HtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9391 | { (char *)"HtmlWinParser_GetLinkColor", (PyCFunction) _wrap_HtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9392 | { (char *)"HtmlWinParser_SetLinkColor", (PyCFunction) _wrap_HtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
9393 | { (char *)"HtmlWinParser_GetActualColor", (PyCFunction) _wrap_HtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9394 | { (char *)"HtmlWinParser_SetActualColor", (PyCFunction) _wrap_HtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
9395 | { (char *)"HtmlWinParser_SetLink", (PyCFunction) _wrap_HtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9396 | { (char *)"HtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_HtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, | |
9397 | { (char *)"HtmlWinParser_GetLink", (PyCFunction) _wrap_HtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9398 | { (char *)"HtmlWinParser_swigregister", HtmlWinParser_swigregister, METH_VARARGS }, | |
9399 | { (char *)"new_HtmlTagHandler", (PyCFunction) _wrap_new_HtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9400 | { (char *)"HtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9401 | { (char *)"HtmlTagHandler_SetParser", (PyCFunction) _wrap_HtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9402 | { (char *)"HtmlTagHandler_GetParser", (PyCFunction) _wrap_HtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9403 | { (char *)"HtmlTagHandler_ParseInner", (PyCFunction) _wrap_HtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9404 | { (char *)"HtmlTagHandler_swigregister", HtmlTagHandler_swigregister, METH_VARARGS }, | |
9405 | { (char *)"new_HtmlWinTagHandler", (PyCFunction) _wrap_new_HtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9406 | { (char *)"HtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_HtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9407 | { (char *)"HtmlWinTagHandler_SetParser", (PyCFunction) _wrap_HtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
9408 | { (char *)"HtmlWinTagHandler_GetParser", (PyCFunction) _wrap_HtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9409 | { (char *)"HtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_HtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
9410 | { (char *)"HtmlWinTagHandler_swigregister", HtmlWinTagHandler_swigregister, METH_VARARGS }, | |
9411 | { (char *)"HtmlWinParser_AddTagHandler", (PyCFunction) _wrap_HtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
9412 | { (char *)"new_HtmlSelection", (PyCFunction) _wrap_new_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9413 | { (char *)"delete_HtmlSelection", (PyCFunction) _wrap_delete_HtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
9414 | { (char *)"HtmlSelection_Set", (PyCFunction) _wrap_HtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
9415 | { (char *)"HtmlSelection_SetCells", (PyCFunction) _wrap_HtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
9416 | { (char *)"HtmlSelection_GetFromCell", (PyCFunction) _wrap_HtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
9417 | { (char *)"HtmlSelection_GetToCell", (PyCFunction) _wrap_HtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
9418 | { (char *)"HtmlSelection_GetFromPos", (PyCFunction) _wrap_HtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
9419 | { (char *)"HtmlSelection_GetToPos", (PyCFunction) _wrap_HtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
9420 | { (char *)"HtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9421 | { (char *)"HtmlSelection_GetToPrivPos", (PyCFunction) _wrap_HtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9422 | { (char *)"HtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_HtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9423 | { (char *)"HtmlSelection_SetToPrivPos", (PyCFunction) _wrap_HtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9424 | { (char *)"HtmlSelection_ClearPrivPos", (PyCFunction) _wrap_HtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
9425 | { (char *)"HtmlSelection_IsEmpty", (PyCFunction) _wrap_HtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
9426 | { (char *)"HtmlSelection_swigregister", HtmlSelection_swigregister, METH_VARARGS }, | |
9427 | { (char *)"new_HtmlRenderingState", (PyCFunction) _wrap_new_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9428 | { (char *)"delete_HtmlRenderingState", (PyCFunction) _wrap_delete_HtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
9429 | { (char *)"HtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9430 | { (char *)"HtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_HtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
9431 | { (char *)"HtmlRenderingState_SetFgColour", (PyCFunction) _wrap_HtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9432 | { (char *)"HtmlRenderingState_GetFgColour", (PyCFunction) _wrap_HtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
9433 | { (char *)"HtmlRenderingState_SetBgColour", (PyCFunction) _wrap_HtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9434 | { (char *)"HtmlRenderingState_GetBgColour", (PyCFunction) _wrap_HtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9435 | { (char *)"HtmlRenderingState_swigregister", HtmlRenderingState_swigregister, METH_VARARGS }, | |
9436 | { (char *)"HtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9437 | { (char *)"HtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_HtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9438 | { (char *)"HtmlRenderingStyle_swigregister", HtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9439 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
9440 | { (char *)"DefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
9441 | { (char *)"DefaultHtmlRenderingStyle_swigregister", DefaultHtmlRenderingStyle_swigregister, METH_VARARGS }, | |
9442 | { (char *)"new_HtmlRenderingInfo", (PyCFunction) _wrap_new_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9443 | { (char *)"delete_HtmlRenderingInfo", (PyCFunction) _wrap_delete_HtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
9444 | { (char *)"HtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9445 | { (char *)"HtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_HtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
9446 | { (char *)"HtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9447 | { (char *)"HtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_HtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
9448 | { (char *)"HtmlRenderingInfo_GetState", (PyCFunction) _wrap_HtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, | |
9449 | { (char *)"HtmlRenderingInfo_swigregister", HtmlRenderingInfo_swigregister, METH_VARARGS }, | |
9450 | { (char *)"new_HtmlCell", (PyCFunction) _wrap_new_HtmlCell, METH_VARARGS | METH_KEYWORDS }, | |
9451 | { (char *)"HtmlCell_GetPosX", (PyCFunction) _wrap_HtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
9452 | { (char *)"HtmlCell_GetPosY", (PyCFunction) _wrap_HtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
9453 | { (char *)"HtmlCell_GetWidth", (PyCFunction) _wrap_HtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
9454 | { (char *)"HtmlCell_GetHeight", (PyCFunction) _wrap_HtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
9455 | { (char *)"HtmlCell_GetDescent", (PyCFunction) _wrap_HtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
9456 | { (char *)"HtmlCell_GetLink", (PyCFunction) _wrap_HtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
9457 | { (char *)"HtmlCell_GetNext", (PyCFunction) _wrap_HtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
9458 | { (char *)"HtmlCell_GetParent", (PyCFunction) _wrap_HtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
9459 | { (char *)"HtmlCell_GetFirstChild", (PyCFunction) _wrap_HtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9460 | { (char *)"HtmlCell_GetCursor", (PyCFunction) _wrap_HtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
9461 | { (char *)"HtmlCell_IsFormattingCell", (PyCFunction) _wrap_HtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, | |
9462 | { (char *)"HtmlCell_SetLink", (PyCFunction) _wrap_HtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9463 | { (char *)"HtmlCell_SetNext", (PyCFunction) _wrap_HtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, | |
9464 | { (char *)"HtmlCell_SetParent", (PyCFunction) _wrap_HtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
9465 | { (char *)"HtmlCell_SetPos", (PyCFunction) _wrap_HtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, | |
9466 | { (char *)"HtmlCell_Layout", (PyCFunction) _wrap_HtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
9467 | { (char *)"HtmlCell_Draw", (PyCFunction) _wrap_HtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
9468 | { (char *)"HtmlCell_DrawInvisible", (PyCFunction) _wrap_HtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
9469 | { (char *)"HtmlCell_Find", (PyCFunction) _wrap_HtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, | |
9470 | { (char *)"HtmlCell_AdjustPagebreak", (PyCFunction) _wrap_HtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9471 | { (char *)"HtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_HtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
9472 | { (char *)"HtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_HtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
9473 | { (char *)"HtmlCell_IsTerminalCell", (PyCFunction) _wrap_HtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
9474 | { (char *)"HtmlCell_FindCellByPos", (PyCFunction) _wrap_HtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
9475 | { (char *)"HtmlCell_GetAbsPos", (PyCFunction) _wrap_HtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
9476 | { (char *)"HtmlCell_GetFirstTerminal", (PyCFunction) _wrap_HtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9477 | { (char *)"HtmlCell_GetLastTerminal", (PyCFunction) _wrap_HtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
9478 | { (char *)"HtmlCell_GetDepth", (PyCFunction) _wrap_HtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
9479 | { (char *)"HtmlCell_IsBefore", (PyCFunction) _wrap_HtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
9480 | { (char *)"HtmlCell_ConvertToText", (PyCFunction) _wrap_HtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, | |
9481 | { (char *)"HtmlCell_swigregister", HtmlCell_swigregister, METH_VARARGS }, | |
9482 | { (char *)"new_HtmlWordCell", (PyCFunction) _wrap_new_HtmlWordCell, METH_VARARGS | METH_KEYWORDS }, | |
9483 | { (char *)"HtmlWordCell_swigregister", HtmlWordCell_swigregister, METH_VARARGS }, | |
9484 | { (char *)"new_HtmlContainerCell", (PyCFunction) _wrap_new_HtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
9485 | { (char *)"HtmlContainerCell_InsertCell", (PyCFunction) _wrap_HtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
9486 | { (char *)"HtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9487 | { (char *)"HtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_HtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
9488 | { (char *)"HtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9489 | { (char *)"HtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_HtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
9490 | { (char *)"HtmlContainerCell_SetIndent", (PyCFunction) _wrap_HtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9491 | { (char *)"HtmlContainerCell_GetIndent", (PyCFunction) _wrap_HtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
9492 | { (char *)"HtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_HtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
9493 | { (char *)"HtmlContainerCell_SetAlign", (PyCFunction) _wrap_HtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
9494 | { (char *)"HtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
9495 | { (char *)"HtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_HtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
9496 | { (char *)"HtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_HtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
9497 | { (char *)"HtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9498 | { (char *)"HtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_HtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
9499 | { (char *)"HtmlContainerCell_SetBorder", (PyCFunction) _wrap_HtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
9500 | { (char *)"HtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_HtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9501 | { (char *)"HtmlContainerCell_swigregister", HtmlContainerCell_swigregister, METH_VARARGS }, | |
9502 | { (char *)"new_HtmlColourCell", (PyCFunction) _wrap_new_HtmlColourCell, METH_VARARGS | METH_KEYWORDS }, | |
9503 | { (char *)"HtmlColourCell_swigregister", HtmlColourCell_swigregister, METH_VARARGS }, | |
9504 | { (char *)"new_HtmlFontCell", (PyCFunction) _wrap_new_HtmlFontCell, METH_VARARGS | METH_KEYWORDS }, | |
9505 | { (char *)"HtmlFontCell_swigregister", HtmlFontCell_swigregister, METH_VARARGS }, | |
9506 | { (char *)"new_HtmlWidgetCell", (PyCFunction) _wrap_new_HtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, | |
9507 | { (char *)"HtmlWidgetCell_swigregister", HtmlWidgetCell_swigregister, METH_VARARGS }, | |
9508 | { (char *)"new_HtmlFilter", (PyCFunction) _wrap_new_HtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
9509 | { (char *)"HtmlFilter__setCallbackInfo", (PyCFunction) _wrap_HtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9510 | { (char *)"HtmlFilter_swigregister", HtmlFilter_swigregister, METH_VARARGS }, | |
9511 | { (char *)"new_HtmlWindow", (PyCFunction) _wrap_new_HtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9512 | { (char *)"new_PreHtmlWindow", (PyCFunction) _wrap_new_PreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
9513 | { (char *)"HtmlWindow_Create", (PyCFunction) _wrap_HtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
9514 | { (char *)"HtmlWindow__setCallbackInfo", (PyCFunction) _wrap_HtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
9515 | { (char *)"HtmlWindow_SetPage", (PyCFunction) _wrap_HtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
9516 | { (char *)"HtmlWindow_LoadPage", (PyCFunction) _wrap_HtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, | |
9517 | { (char *)"HtmlWindow_LoadFile", (PyCFunction) _wrap_HtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
9518 | { (char *)"HtmlWindow_AppendToPage", (PyCFunction) _wrap_HtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, | |
9519 | { (char *)"HtmlWindow_GetOpenedPage", (PyCFunction) _wrap_HtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, | |
9520 | { (char *)"HtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_HtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9521 | { (char *)"HtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_HtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, | |
9522 | { (char *)"HtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9523 | { (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
9524 | { (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
9525 | { (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9526 | { (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9527 | { (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
9528 | { (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9529 | { (char *)"HtmlWindow_WriteCustomization", (PyCFunction) _wrap_HtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9530 | { (char *)"HtmlWindow_HistoryBack", (PyCFunction) _wrap_HtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
9531 | { (char *)"HtmlWindow_HistoryForward", (PyCFunction) _wrap_HtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, | |
9532 | { (char *)"HtmlWindow_HistoryCanBack", (PyCFunction) _wrap_HtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
9533 | { (char *)"HtmlWindow_HistoryCanForward", (PyCFunction) _wrap_HtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, | |
9534 | { (char *)"HtmlWindow_HistoryClear", (PyCFunction) _wrap_HtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, | |
9535 | { (char *)"HtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_HtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, | |
9536 | { (char *)"HtmlWindow_GetParser", (PyCFunction) _wrap_HtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
9537 | { (char *)"HtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_HtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9538 | { (char *)"HtmlWindow_HasAnchor", (PyCFunction) _wrap_HtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, | |
9539 | { (char *)"HtmlWindow_AddFilter", (PyCFunction) _wrap_HtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9540 | { (char *)"HtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_HtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, | |
9541 | { (char *)"HtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_HtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9542 | { (char *)"HtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_HtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
9543 | { (char *)"HtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_HtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, | |
9544 | { (char *)"HtmlWindow_swigregister", HtmlWindow_swigregister, METH_VARARGS }, | |
9545 | { (char *)"new_HtmlDCRenderer", (PyCFunction) _wrap_new_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9546 | { (char *)"delete_HtmlDCRenderer", (PyCFunction) _wrap_delete_HtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
9547 | { (char *)"HtmlDCRenderer_SetDC", (PyCFunction) _wrap_HtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
9548 | { (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
9549 | { (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9550 | { (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9551 | { (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
9552 | { (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
9553 | { (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS }, | |
9554 | { (char *)"new_HtmlPrintout", (PyCFunction) _wrap_new_HtmlPrintout, METH_VARARGS | METH_KEYWORDS }, | |
9555 | { (char *)"HtmlPrintout_SetHtmlText", (PyCFunction) _wrap_HtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
9556 | { (char *)"HtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_HtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
9557 | { (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9558 | { (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9559 | { (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9560 | { (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
9561 | { (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
9562 | { (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, | |
9563 | { (char *)"HtmlPrintout_swigregister", HtmlPrintout_swigregister, METH_VARARGS }, | |
9564 | { (char *)"new_HtmlEasyPrinting", (PyCFunction) _wrap_new_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9565 | { (char *)"delete_HtmlEasyPrinting", (PyCFunction) _wrap_delete_HtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
9566 | { (char *)"HtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
9567 | { (char *)"HtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_HtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
9568 | { (char *)"HtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_HtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
9569 | { (char *)"HtmlEasyPrinting_PrintText", (PyCFunction) _wrap_HtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
9570 | { (char *)"HtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
9571 | { (char *)"HtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_HtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
9572 | { (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
9573 | { (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, | |
9574 | { (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
9575 | { (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
9576 | { (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
9577 | { (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS }, | |
9578 | { (char *)"new_HtmlBookRecord", (PyCFunction) _wrap_new_HtmlBookRecord, METH_VARARGS | METH_KEYWORDS }, | |
9579 | { (char *)"HtmlBookRecord_GetBookFile", (PyCFunction) _wrap_HtmlBookRecord_GetBookFile, METH_VARARGS | METH_KEYWORDS }, | |
9580 | { (char *)"HtmlBookRecord_GetTitle", (PyCFunction) _wrap_HtmlBookRecord_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9581 | { (char *)"HtmlBookRecord_GetStart", (PyCFunction) _wrap_HtmlBookRecord_GetStart, METH_VARARGS | METH_KEYWORDS }, | |
9582 | { (char *)"HtmlBookRecord_GetBasePath", (PyCFunction) _wrap_HtmlBookRecord_GetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9583 | { (char *)"HtmlBookRecord_SetContentsRange", (PyCFunction) _wrap_HtmlBookRecord_SetContentsRange, METH_VARARGS | METH_KEYWORDS }, | |
9584 | { (char *)"HtmlBookRecord_GetContentsStart", (PyCFunction) _wrap_HtmlBookRecord_GetContentsStart, METH_VARARGS | METH_KEYWORDS }, | |
9585 | { (char *)"HtmlBookRecord_GetContentsEnd", (PyCFunction) _wrap_HtmlBookRecord_GetContentsEnd, METH_VARARGS | METH_KEYWORDS }, | |
9586 | { (char *)"HtmlBookRecord_SetTitle", (PyCFunction) _wrap_HtmlBookRecord_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
9587 | { (char *)"HtmlBookRecord_SetBasePath", (PyCFunction) _wrap_HtmlBookRecord_SetBasePath, METH_VARARGS | METH_KEYWORDS }, | |
9588 | { (char *)"HtmlBookRecord_SetStart", (PyCFunction) _wrap_HtmlBookRecord_SetStart, METH_VARARGS | METH_KEYWORDS }, | |
9589 | { (char *)"HtmlBookRecord_GetFullPath", (PyCFunction) _wrap_HtmlBookRecord_GetFullPath, METH_VARARGS | METH_KEYWORDS }, | |
9590 | { (char *)"HtmlBookRecord_swigregister", HtmlBookRecord_swigregister, METH_VARARGS }, | |
9591 | { (char *)"HtmlContentsItem_GetLevel", (PyCFunction) _wrap_HtmlContentsItem_GetLevel, METH_VARARGS | METH_KEYWORDS }, | |
9592 | { (char *)"HtmlContentsItem_GetID", (PyCFunction) _wrap_HtmlContentsItem_GetID, METH_VARARGS | METH_KEYWORDS }, | |
9593 | { (char *)"HtmlContentsItem_GetName", (PyCFunction) _wrap_HtmlContentsItem_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9594 | { (char *)"HtmlContentsItem_GetPage", (PyCFunction) _wrap_HtmlContentsItem_GetPage, METH_VARARGS | METH_KEYWORDS }, | |
9595 | { (char *)"HtmlContentsItem_GetBook", (PyCFunction) _wrap_HtmlContentsItem_GetBook, METH_VARARGS | METH_KEYWORDS }, | |
9596 | { (char *)"HtmlContentsItem_swigregister", HtmlContentsItem_swigregister, METH_VARARGS }, | |
9597 | { (char *)"HtmlSearchStatus_Search", (PyCFunction) _wrap_HtmlSearchStatus_Search, METH_VARARGS | METH_KEYWORDS }, | |
9598 | { (char *)"HtmlSearchStatus_IsActive", (PyCFunction) _wrap_HtmlSearchStatus_IsActive, METH_VARARGS | METH_KEYWORDS }, | |
9599 | { (char *)"HtmlSearchStatus_GetCurIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetCurIndex, METH_VARARGS | METH_KEYWORDS }, | |
9600 | { (char *)"HtmlSearchStatus_GetMaxIndex", (PyCFunction) _wrap_HtmlSearchStatus_GetMaxIndex, METH_VARARGS | METH_KEYWORDS }, | |
9601 | { (char *)"HtmlSearchStatus_GetName", (PyCFunction) _wrap_HtmlSearchStatus_GetName, METH_VARARGS | METH_KEYWORDS }, | |
9602 | { (char *)"HtmlSearchStatus_GetContentsItem", (PyCFunction) _wrap_HtmlSearchStatus_GetContentsItem, METH_VARARGS | METH_KEYWORDS }, | |
9603 | { (char *)"HtmlSearchStatus_swigregister", HtmlSearchStatus_swigregister, METH_VARARGS }, | |
9604 | { (char *)"new_HtmlHelpData", (PyCFunction) _wrap_new_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9605 | { (char *)"delete_HtmlHelpData", (PyCFunction) _wrap_delete_HtmlHelpData, METH_VARARGS | METH_KEYWORDS }, | |
9606 | { (char *)"HtmlHelpData_SetTempDir", (PyCFunction) _wrap_HtmlHelpData_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9607 | { (char *)"HtmlHelpData_AddBook", (PyCFunction) _wrap_HtmlHelpData_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9608 | { (char *)"HtmlHelpData_FindPageByName", (PyCFunction) _wrap_HtmlHelpData_FindPageByName, METH_VARARGS | METH_KEYWORDS }, | |
9609 | { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS }, | |
9610 | { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS }, | |
9611 | { (char *)"HtmlHelpData_GetContents", (PyCFunction) _wrap_HtmlHelpData_GetContents, METH_VARARGS | METH_KEYWORDS }, | |
9612 | { (char *)"HtmlHelpData_GetContentsCnt", (PyCFunction) _wrap_HtmlHelpData_GetContentsCnt, METH_VARARGS | METH_KEYWORDS }, | |
9613 | { (char *)"HtmlHelpData_GetIndex", (PyCFunction) _wrap_HtmlHelpData_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
9614 | { (char *)"HtmlHelpData_GetIndexCnt", (PyCFunction) _wrap_HtmlHelpData_GetIndexCnt, METH_VARARGS | METH_KEYWORDS }, | |
9615 | { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS }, | |
9616 | { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS }, | |
9617 | { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS }, | |
9618 | { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9619 | { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS }, | |
9620 | { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9621 | { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9622 | { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9623 | { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9624 | { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9625 | { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9626 | { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9627 | { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS }, | |
9628 | { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9629 | { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS }, | |
9630 | { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS }, | |
9631 | { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS }, | |
9632 | { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS }, | |
9633 | { (char *)"HtmlHelpController_Display", (PyCFunction) _wrap_HtmlHelpController_Display, METH_VARARGS | METH_KEYWORDS }, | |
9634 | { (char *)"HtmlHelpController_DisplayID", (PyCFunction) _wrap_HtmlHelpController_DisplayID, METH_VARARGS | METH_KEYWORDS }, | |
9635 | { (char *)"HtmlHelpController_DisplayContents", (PyCFunction) _wrap_HtmlHelpController_DisplayContents, METH_VARARGS | METH_KEYWORDS }, | |
9636 | { (char *)"HtmlHelpController_DisplayIndex", (PyCFunction) _wrap_HtmlHelpController_DisplayIndex, METH_VARARGS | METH_KEYWORDS }, | |
9637 | { (char *)"HtmlHelpController_KeywordSearch", (PyCFunction) _wrap_HtmlHelpController_KeywordSearch, METH_VARARGS | METH_KEYWORDS }, | |
9638 | { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS }, | |
9639 | { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9640 | { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
9641 | { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
9642 | { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS }, | |
9643 | { NULL, NULL } | |
9644 | }; | |
9645 | ||
9646 | ||
9647 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
9648 | ||
9649 | static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { | |
9650 | return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); | |
9651 | } | |
9652 | static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { | |
9653 | return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
9654 | } | |
9655 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
9656 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
9657 | } | |
9658 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
9659 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9660 | } | |
9661 | static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { | |
9662 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9663 | } | |
9664 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
9665 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9666 | } | |
9667 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
9668 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9669 | } | |
9670 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
9671 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
9672 | } | |
9673 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
9674 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9675 | } | |
9676 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
9677 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
9678 | } | |
9679 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
9680 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9681 | } | |
9682 | static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { | |
9683 | return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9684 | } | |
9685 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
9686 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9687 | } | |
9688 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
9689 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9690 | } | |
9691 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
9692 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9693 | } | |
9694 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
9695 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
9696 | } | |
9697 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
9698 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
9699 | } | |
9700 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
9701 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9702 | } | |
9703 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
9704 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9705 | } | |
9706 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
9707 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9708 | } | |
9709 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
9710 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9711 | } | |
9712 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
9713 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9714 | } | |
9715 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
9716 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9717 | } | |
9718 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
9719 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9720 | } | |
9721 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
9722 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
9723 | } | |
9724 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
9725 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
9726 | } | |
9727 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
9728 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
9729 | } | |
9730 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
9731 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9732 | } | |
9733 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
9734 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9735 | } | |
9736 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
9737 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9738 | } | |
9739 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
9740 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
9741 | } | |
9742 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
9743 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9744 | } | |
9745 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
9746 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
9747 | } | |
9748 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
9749 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
9750 | } | |
9751 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
9752 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
9753 | } | |
9754 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
9755 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
9756 | } | |
9757 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
9758 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
9759 | } | |
9760 | static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { | |
9761 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
9762 | } | |
9763 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
9764 | return (void *)((wxWindow *) ((wxControl *) x)); | |
9765 | } | |
9766 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
9767 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9768 | } | |
9769 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
9770 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9771 | } | |
9772 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
9773 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9774 | } | |
9775 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
9776 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
9777 | } | |
9778 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
9779 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
9780 | } | |
9781 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
9782 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9783 | } | |
9784 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
9785 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9786 | } | |
9787 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
9788 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9789 | } | |
9790 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
9791 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
9792 | } | |
9793 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
9794 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9795 | } | |
9796 | static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { | |
9797 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9798 | } | |
9799 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
9800 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
9801 | } | |
9802 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
9803 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9804 | } | |
9805 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
9806 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9807 | } | |
9808 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
9809 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9810 | } | |
9811 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
9812 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
9813 | } | |
9814 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
9815 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
9816 | } | |
9817 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
9818 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
9819 | } | |
9820 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
9821 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
9822 | } | |
9823 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
9824 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
9825 | } | |
9826 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
9827 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
9828 | } | |
9829 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
9830 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
9831 | } | |
9832 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
9833 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
9834 | } | |
9835 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
9836 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
9837 | } | |
9838 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
9839 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
9840 | } | |
9841 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
9842 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
9843 | } | |
9844 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
9845 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
9846 | } | |
9847 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
9848 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
9849 | } | |
9850 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
9851 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
9852 | } | |
9853 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
9854 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
9855 | } | |
9856 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
9857 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
9858 | } | |
9859 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
9860 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
9861 | } | |
9862 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
9863 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
9864 | } | |
9865 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
9866 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
9867 | } | |
9868 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9869 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9870 | } | |
9871 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
9872 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9873 | } | |
9874 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
9875 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
9876 | } | |
9877 | static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { | |
9878 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9879 | } | |
9880 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9881 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
9882 | } | |
9883 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
9884 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9885 | } | |
9886 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
9887 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
9888 | } | |
9889 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
9890 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9891 | } | |
9892 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
9893 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9894 | } | |
9895 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
9896 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9897 | } | |
9898 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
9899 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
9900 | } | |
9901 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
9902 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
9903 | } | |
9904 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
9905 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
9906 | } | |
9907 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
9908 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
9909 | } | |
9910 | static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { | |
9911 | return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); | |
9912 | } | |
9913 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
9914 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
9915 | } | |
9916 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
9917 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
9918 | } | |
9919 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
9920 | return (void *)((wxObject *) ((wxSizer *) x)); | |
9921 | } | |
9922 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
9923 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
9924 | } | |
9925 | static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { | |
9926 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
9927 | } | |
9928 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
9929 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9930 | } | |
9931 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
9932 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
9933 | } | |
9934 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
9935 | return (void *)((wxObject *) ((wxEvent *) x)); | |
9936 | } | |
9937 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
9938 | return (void *)((wxObject *) ((wxFontData *) x)); | |
9939 | } | |
9940 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
9941 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
9942 | } | |
9943 | static void *_p_wxHtmlTagTo_p_wxObject(void *x) { | |
9944 | return (void *)((wxObject *) ((wxHtmlTag *) x)); | |
9945 | } | |
9946 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
9947 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
9948 | } | |
9949 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
9950 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
9951 | } | |
9952 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
9953 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
9954 | } | |
9955 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
9956 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
9957 | } | |
9958 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
9959 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
9960 | } | |
9961 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
9962 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9963 | } | |
9964 | static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { | |
9965 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
9966 | } | |
9967 | static void *_p_wxHtmlCellTo_p_wxObject(void *x) { | |
9968 | return (void *)((wxObject *) ((wxHtmlCell *) x)); | |
9969 | } | |
9970 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
9971 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
9972 | } | |
9973 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
9974 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
9975 | } | |
9976 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
9977 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
9978 | } | |
9979 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
9980 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
9981 | } | |
9982 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
9983 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
9984 | } | |
9985 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
9986 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
9987 | } | |
9988 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
9989 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9990 | } | |
9991 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
9992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
9993 | } | |
9994 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
9995 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
9996 | } | |
9997 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
9998 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
9999 | } | |
10000 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
10001 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
10002 | } | |
10003 | static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { | |
10004 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10005 | } | |
10006 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
10007 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
10008 | } | |
10009 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
10010 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
10011 | } | |
10012 | static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { | |
10013 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10014 | } | |
10015 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
10016 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10017 | } | |
10018 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
10019 | return (void *)((wxObject *) ((wxColourData *) x)); | |
10020 | } | |
10021 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
10022 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
10023 | } | |
10024 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
10025 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
10026 | } | |
10027 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
10028 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
10029 | } | |
10030 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
10031 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10032 | } | |
10033 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
10034 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10035 | } | |
10036 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
10037 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10038 | } | |
10039 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
10040 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10041 | } | |
10042 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
10043 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10044 | } | |
10045 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
10046 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10047 | } | |
10048 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
10049 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10050 | } | |
10051 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
10052 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10053 | } | |
10054 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
10055 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
10056 | } | |
10057 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
10058 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
10059 | } | |
10060 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
10061 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
10062 | } | |
10063 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
10064 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
10065 | } | |
10066 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
10067 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
10068 | } | |
10069 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
10070 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
10071 | } | |
10072 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
10073 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
10074 | } | |
10075 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
10076 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
10077 | } | |
10078 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
10079 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
10080 | } | |
10081 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
10082 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
10083 | } | |
10084 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
10085 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
10086 | } | |
10087 | static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { | |
10088 | return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); | |
10089 | } | |
10090 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
10091 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
10092 | } | |
10093 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
10094 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
10095 | } | |
10096 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
10097 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
10098 | } | |
10099 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
10100 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
10101 | } | |
10102 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
10103 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
10104 | } | |
10105 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
10106 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
10107 | } | |
10108 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
10109 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
10110 | } | |
10111 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
10112 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
10113 | } | |
10114 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
10115 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
10116 | } | |
10117 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
10118 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
10119 | } | |
10120 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
10121 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
10122 | } | |
10123 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
10124 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
10125 | } | |
10126 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
10127 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
10128 | } | |
10129 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
10130 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
10131 | } | |
10132 | static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { | |
10133 | return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); | |
10134 | } | |
10135 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { | |
10136 | return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10137 | } | |
10138 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
10139 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10140 | } | |
10141 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
10142 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10143 | } | |
10144 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
10145 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
10146 | } | |
10147 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
10148 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10149 | } | |
10150 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
10151 | return (void *)((wxObject *) ((wxImage *) x)); | |
10152 | } | |
10153 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
10154 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10155 | } | |
10156 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
10157 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
10158 | } | |
10159 | static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { | |
10160 | return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10161 | } | |
10162 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
10163 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
10164 | } | |
10165 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
10166 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
10167 | } | |
10168 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
10169 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
10170 | } | |
10171 | static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { | |
10172 | return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); | |
10173 | } | |
10174 | static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { | |
10175 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10176 | } | |
10177 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
10178 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10179 | } | |
10180 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
10181 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
10182 | } | |
10183 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
10184 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
10185 | } | |
10186 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
10187 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
10188 | } | |
d14a1e28 RD |
10189 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
10190 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
10191 | } | |
10192 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
10193 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
10194 | } | |
10195 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10196 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10197 | } | |
0df68c9f RD |
10198 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
10199 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10200 | } | |
d14a1e28 RD |
10201 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
10202 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
10203 | } | |
10204 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
10205 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
10206 | } | |
10207 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
10208 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
10209 | } | |
10210 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
10211 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
10212 | } | |
10213 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
10214 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10215 | } | |
10216 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
10217 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
10218 | } | |
10219 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
10220 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10221 | } | |
10222 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
10223 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10224 | } | |
10225 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
10226 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10227 | } | |
10228 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
10229 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
10230 | } | |
10231 | static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { | |
10232 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10233 | } | |
10234 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
10235 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
10236 | } | |
10237 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
10238 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
10239 | } | |
10240 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
10241 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
10242 | } | |
10243 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
10244 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
10245 | } | |
10246 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
10247 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10248 | } | |
10249 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
10250 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10251 | } | |
10252 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
10253 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10254 | } | |
10255 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
10256 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10257 | } | |
10258 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
10259 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10260 | } | |
10261 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
10262 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10263 | } | |
10264 | static void *_p_wxHtmlParserTo_p_wxObject(void *x) { | |
10265 | return (void *)((wxObject *) ((wxHtmlParser *) x)); | |
10266 | } | |
10267 | static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { | |
10268 | return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); | |
10269 | } | |
10270 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
10271 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
10272 | } | |
10273 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
10274 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10275 | } | |
10276 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
10277 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
10278 | } | |
10279 | static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { | |
10280 | return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10281 | } | |
10282 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
10283 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
10284 | } | |
10285 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
10286 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
10287 | } | |
10288 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
10289 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
10290 | } | |
10291 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
10292 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
10293 | } | |
10294 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
10295 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10296 | } | |
10297 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
10298 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
10299 | } | |
10300 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
10301 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10302 | } | |
10303 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
10304 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10305 | } | |
10306 | static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { | |
10307 | return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); | |
10308 | } | |
10309 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
10310 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
10311 | } | |
10312 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
10313 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
10314 | } | |
10315 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
10316 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10317 | } | |
10318 | static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { | |
10319 | return (void *)((wxObject *) (wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10320 | } | |
10321 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
10322 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10323 | } | |
10324 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
10325 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
10326 | } | |
10327 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
10328 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
10329 | } | |
10330 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
10331 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
10332 | } | |
10333 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
10334 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
10335 | } | |
10336 | static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { | |
10337 | return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); | |
10338 | } | |
10339 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
10340 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10341 | } | |
10342 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
10343 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10344 | } | |
10345 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
10346 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10347 | } | |
10348 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
10349 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
10350 | } | |
10351 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
10352 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
10353 | } | |
10354 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
10355 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
10356 | } | |
10357 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
10358 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
10359 | } | |
10360 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
10361 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10362 | } | |
10363 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10364 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10365 | } | |
10366 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10367 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10368 | } | |
10369 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
10370 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10371 | } | |
10372 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
10373 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10374 | } | |
10375 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
10376 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10377 | } | |
10378 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
10379 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10380 | } | |
10381 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
10382 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
10383 | } | |
10384 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
10385 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
10386 | } | |
10387 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10388 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10389 | } | |
10390 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
10391 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10392 | } | |
10393 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
10394 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10395 | } | |
10396 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
10397 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
10398 | } | |
10399 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
10400 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10401 | } | |
10402 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
10403 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
10404 | } | |
10405 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10406 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
10407 | } | |
10408 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
10409 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
10410 | } | |
10411 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
10412 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
10413 | } | |
10414 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10415 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10416 | } | |
10417 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
10418 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
10419 | } | |
10420 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
10421 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
10422 | } | |
10423 | static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { | |
10424 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); | |
10425 | } | |
10426 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
10427 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
10428 | } | |
10429 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10430 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10431 | } | |
10432 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10433 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10434 | } | |
10435 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
10436 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10437 | } | |
10438 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
10439 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
10440 | } | |
10441 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
10442 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10443 | } | |
10444 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
10445 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
10446 | } | |
10447 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
10448 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10449 | } | |
10450 | static void *_p_wxHtmlHelpControllerTo_p_wxEvtHandler(void *x) { | |
10451 | return (void *)((wxEvtHandler *) ((wxHtmlHelpController *) x)); | |
10452 | } | |
10453 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
10454 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10455 | } | |
10456 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
10457 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10458 | } | |
10459 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10460 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10461 | } | |
10462 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10463 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10464 | } | |
10465 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
10466 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
10467 | } | |
10468 | static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { | |
10469 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10470 | } | |
10471 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
10472 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10473 | } | |
10474 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
10475 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10476 | } | |
10477 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
10478 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10479 | } | |
10480 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
10481 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10482 | } | |
10483 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
10484 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10485 | } | |
10486 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
10487 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
10488 | } | |
10489 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
10490 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
10491 | } | |
10492 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
10493 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10494 | } | |
10495 | static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { | |
10496 | return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); | |
10497 | } | |
10498 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
10499 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
10500 | } | |
10501 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
10502 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
10503 | } | |
10504 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
10505 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
10506 | } | |
10507 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
10508 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10509 | } | |
10510 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
10511 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
10512 | } | |
10513 | static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { | |
10514 | return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); | |
10515 | } | |
10516 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
10517 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
10518 | } | |
10519 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
10520 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
10521 | } | |
10522 | static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { | |
10523 | return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); | |
10524 | } | |
10525 | static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { | |
10526 | return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); | |
10527 | } | |
10528 | static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { | |
10529 | return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); | |
10530 | } | |
10531 | static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { | |
10532 | return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); | |
10533 | } | |
10534 | static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { | |
10535 | return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); | |
10536 | } | |
10537 | static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0},{"_p_wxHtmlDCRenderer"},{0}}; | |
10538 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
10539 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; | |
10540 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
10541 | static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0},{"_p_wxDefaultHtmlRenderingStyle"},{0}}; | |
10542 | static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0},{"_p_wxHtmlRenderingStyle"},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle},{0}}; | |
10543 | static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}}; | |
10544 | static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0},{"_p_wxHtmlWordCell"},{0}}; | |
10545 | static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0},{"_p_wxHtmlHelpData"},{0}}; | |
10546 | static swig_type_info _swigt__p_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0},{"_p_wxHtmlWinParser"},{0}}; | |
10547 | static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0},{"_p_wxHtmlParser"},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser},{0}}; | |
10548 | 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}}; | |
10549 | static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0},{"_p_wxHtmlFontCell"},{0}}; | |
10550 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
10551 | static swig_type_info _swigt__p_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0},{"_p_wxHtmlColourCell"},{0}}; | |
10552 | static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0},{"_p_wxPyHtmlWindow"},{0}}; | |
10553 | 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}}; | |
10554 | 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}}; | |
10555 | 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}}; | |
10556 | static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0},{"_p_wxHtmlEasyPrinting"},{0}}; | |
10557 | static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0},{"_p_wxHtmlSelection"},{0}}; | |
10558 | static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0},{"_p_wxHtmlRenderingInfo"},{0}}; | |
10559 | static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0},{"_p_wxHtmlWidgetCell"},{0}}; | |
10560 | 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}}; | |
10561 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
10562 | static swig_type_info _swigt__p_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0},{"_p_wxPyHtmlWinTagHandler"},{0}}; | |
10563 | static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0},{"_p_wxHtmlTagHandler"},{0}}; | |
10564 | static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0},{"_p_wxPyHtmlTagHandler"},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler},{0}}; | |
10565 | 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}}; | |
10566 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
10567 | static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0},{"_p_wxHtmlHelpController"},{0}}; | |
10568 | static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}}; | |
10569 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}}; | |
10570 | static swig_type_info _swigt__p_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0},{"_p_wxHtmlBookRecArray"},{0}}; | |
10571 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout},{0}}; | |
10572 | static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0},{"_p_wxHtmlPrintout"},{0}}; | |
10573 | static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0},{"_p_wxHtmlSearchStatus"},{0}}; | |
10574 | static swig_type_info _swigt__p_wxHtmlContentsItem[] = {{"_p_wxHtmlContentsItem", 0, "wxHtmlContentsItem *", 0},{"_p_wxHtmlContentsItem"},{0}}; | |
10575 | static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}}; | |
10576 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
10577 | static swig_type_info _swigt__p_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0},{"_p_wxHtmlHelpFrame"},{0}}; | |
10578 | static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0},{"_p_wxHtmlRenderingState"},{0}}; | |
10579 | 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}}; | |
10580 | static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0},{"_p_wxPyHtmlFilter"},{0}}; | |
10581 | static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0},{"_p_wxHtmlFilter"},{0}}; | |
10582 | 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}}; | |
10583 | static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0},{"_p_wxHtmlContainerCell"},{0}}; | |
10584 | static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0},{"_p_wxHtmlTag"},{0}}; | |
10585 | static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0},{"_p_wxHtmlLinkInfo"},{0}}; | |
10586 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
10587 | static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0},{"_p_wxHtmlBookRecord"},{0}}; | |
10588 | ||
10589 | static swig_type_info *swig_types_initial[] = { | |
10590 | _swigt__p_wxHtmlDCRenderer, | |
10591 | _swigt__p_wxColour, | |
10592 | _swigt__p_wxPageSetupDialogData, | |
10593 | _swigt__p_wxDC, | |
10594 | _swigt__p_wxDefaultHtmlRenderingStyle, | |
10595 | _swigt__p_wxHtmlRenderingStyle, | |
10596 | _swigt__p_wxMouseEvent, | |
10597 | _swigt__p_wxHtmlWordCell, | |
10598 | _swigt__p_wxHtmlHelpData, | |
10599 | _swigt__p_wxHtmlWinParser, | |
10600 | _swigt__p_wxHtmlParser, | |
10601 | _swigt__p_wxPanel, | |
10602 | _swigt__p_wxHtmlFontCell, | |
10603 | _swigt__p_wxFont, | |
10604 | _swigt__p_wxHtmlColourCell, | |
10605 | _swigt__p_wxPyHtmlWindow, | |
10606 | _swigt__p_wxScrolledWindow, | |
10607 | _swigt__p_wxWindow, | |
10608 | _swigt__p_wxTopLevelWindow, | |
10609 | _swigt__p_wxHtmlEasyPrinting, | |
10610 | _swigt__p_wxHtmlSelection, | |
10611 | _swigt__p_wxHtmlRenderingInfo, | |
10612 | _swigt__p_wxHtmlWidgetCell, | |
10613 | _swigt__p_wxObject, | |
10614 | _swigt__p_wxString, | |
10615 | _swigt__p_wxPyHtmlWinTagHandler, | |
10616 | _swigt__p_wxHtmlTagHandler, | |
10617 | _swigt__p_wxPyHtmlTagHandler, | |
10618 | _swigt__p_wxEvtHandler, | |
10619 | _swigt__p_wxPoint, | |
10620 | _swigt__p_wxHtmlHelpController, | |
10621 | _swigt__p_wxCursor, | |
10622 | _swigt__p_wxFileSystem, | |
10623 | _swigt__p_wxHtmlBookRecArray, | |
10624 | _swigt__p_wxPyPrintout, | |
10625 | _swigt__p_wxHtmlPrintout, | |
10626 | _swigt__p_wxHtmlSearchStatus, | |
10627 | _swigt__p_wxHtmlContentsItem, | |
10628 | _swigt__p_wxConfigBase, | |
10629 | _swigt__p_wxPrintData, | |
10630 | _swigt__p_wxHtmlHelpFrame, | |
10631 | _swigt__p_wxHtmlRenderingState, | |
10632 | _swigt__p_wxFrame, | |
10633 | _swigt__p_wxPyHtmlFilter, | |
10634 | _swigt__p_wxHtmlFilter, | |
10635 | _swigt__p_wxHtmlCell, | |
10636 | _swigt__p_wxHtmlContainerCell, | |
10637 | _swigt__p_wxHtmlTag, | |
10638 | _swigt__p_wxHtmlLinkInfo, | |
10639 | _swigt__p_int, | |
10640 | _swigt__p_wxHtmlBookRecord, | |
10641 | 0 | |
10642 | }; | |
10643 | ||
10644 | ||
10645 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
10646 | ||
10647 | static swig_const_info swig_const_table[] = { | |
10648 | { SWIG_PY_INT, (char *)"HTML_ALIGN_LEFT", (long) wxHTML_ALIGN_LEFT, 0, 0, 0}, | |
10649 | { SWIG_PY_INT, (char *)"HTML_ALIGN_CENTER", (long) wxHTML_ALIGN_CENTER, 0, 0, 0}, | |
10650 | { SWIG_PY_INT, (char *)"HTML_ALIGN_RIGHT", (long) wxHTML_ALIGN_RIGHT, 0, 0, 0}, | |
10651 | { SWIG_PY_INT, (char *)"HTML_ALIGN_BOTTOM", (long) wxHTML_ALIGN_BOTTOM, 0, 0, 0}, | |
10652 | { SWIG_PY_INT, (char *)"HTML_ALIGN_TOP", (long) wxHTML_ALIGN_TOP, 0, 0, 0}, | |
10653 | { SWIG_PY_INT, (char *)"HTML_CLR_FOREGROUND", (long) wxHTML_CLR_FOREGROUND, 0, 0, 0}, | |
10654 | { SWIG_PY_INT, (char *)"HTML_CLR_BACKGROUND", (long) wxHTML_CLR_BACKGROUND, 0, 0, 0}, | |
10655 | { SWIG_PY_INT, (char *)"HTML_UNITS_PIXELS", (long) wxHTML_UNITS_PIXELS, 0, 0, 0}, | |
10656 | { SWIG_PY_INT, (char *)"HTML_UNITS_PERCENT", (long) wxHTML_UNITS_PERCENT, 0, 0, 0}, | |
10657 | { SWIG_PY_INT, (char *)"HTML_INDENT_LEFT", (long) wxHTML_INDENT_LEFT, 0, 0, 0}, | |
10658 | { SWIG_PY_INT, (char *)"HTML_INDENT_RIGHT", (long) wxHTML_INDENT_RIGHT, 0, 0, 0}, | |
10659 | { SWIG_PY_INT, (char *)"HTML_INDENT_TOP", (long) wxHTML_INDENT_TOP, 0, 0, 0}, | |
10660 | { SWIG_PY_INT, (char *)"HTML_INDENT_BOTTOM", (long) wxHTML_INDENT_BOTTOM, 0, 0, 0}, | |
10661 | { SWIG_PY_INT, (char *)"HTML_INDENT_HORIZONTAL", (long) wxHTML_INDENT_HORIZONTAL, 0, 0, 0}, | |
10662 | { SWIG_PY_INT, (char *)"HTML_INDENT_VERTICAL", (long) wxHTML_INDENT_VERTICAL, 0, 0, 0}, | |
10663 | { SWIG_PY_INT, (char *)"HTML_INDENT_ALL", (long) wxHTML_INDENT_ALL, 0, 0, 0}, | |
10664 | { SWIG_PY_INT, (char *)"HTML_COND_ISANCHOR", (long) wxHTML_COND_ISANCHOR, 0, 0, 0}, | |
10665 | { SWIG_PY_INT, (char *)"HTML_COND_ISIMAGEMAP", (long) wxHTML_COND_ISIMAGEMAP, 0, 0, 0}, | |
10666 | { SWIG_PY_INT, (char *)"HTML_COND_USER", (long) wxHTML_COND_USER, 0, 0, 0}, | |
4eeb5705 RD |
10667 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_1", (long) wxHTML_FONT_SIZE_1, 0, 0, 0}, |
10668 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_2", (long) wxHTML_FONT_SIZE_2, 0, 0, 0}, | |
10669 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_3", (long) wxHTML_FONT_SIZE_3, 0, 0, 0}, | |
10670 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_4", (long) wxHTML_FONT_SIZE_4, 0, 0, 0}, | |
10671 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_5", (long) wxHTML_FONT_SIZE_5, 0, 0, 0}, | |
10672 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_6", (long) wxHTML_FONT_SIZE_6, 0, 0, 0}, | |
10673 | { SWIG_PY_INT, (char *)"HTML_FONT_SIZE_7", (long) wxHTML_FONT_SIZE_7, 0, 0, 0}, | |
d14a1e28 RD |
10674 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_NEVER", (long) wxHW_SCROLLBAR_NEVER, 0, 0, 0}, |
10675 | { SWIG_PY_INT, (char *)"HW_SCROLLBAR_AUTO", (long) wxHW_SCROLLBAR_AUTO, 0, 0, 0}, | |
10676 | { SWIG_PY_INT, (char *)"HW_NO_SELECTION", (long) wxHW_NO_SELECTION, 0, 0, 0}, | |
10677 | { SWIG_PY_INT, (char *)"HW_DEFAULT_STYLE", (long) wxHW_DEFAULT_STYLE, 0, 0, 0}, | |
10678 | { SWIG_PY_INT, (char *)"HTML_OPEN", (long) wxHTML_OPEN, 0, 0, 0}, | |
10679 | { SWIG_PY_INT, (char *)"HTML_BLOCK", (long) wxHTML_BLOCK, 0, 0, 0}, | |
10680 | { SWIG_PY_INT, (char *)"HTML_REDIRECT", (long) wxHTML_REDIRECT, 0, 0, 0}, | |
10681 | { SWIG_PY_INT, (char *)"HTML_URL_PAGE", (long) wxHTML_URL_PAGE, 0, 0, 0}, | |
10682 | { SWIG_PY_INT, (char *)"HTML_URL_IMAGE", (long) wxHTML_URL_IMAGE, 0, 0, 0}, | |
10683 | { SWIG_PY_INT, (char *)"HTML_URL_OTHER", (long) wxHTML_URL_OTHER, 0, 0, 0}, | |
10684 | { SWIG_PY_INT, (char *)"HTML_SEL_OUT", (long) wxHTML_SEL_OUT, 0, 0, 0}, | |
10685 | { SWIG_PY_INT, (char *)"HTML_SEL_IN", (long) wxHTML_SEL_IN, 0, 0, 0}, | |
10686 | { SWIG_PY_INT, (char *)"HTML_SEL_CHANGING", (long) wxHTML_SEL_CHANGING, 0, 0, 0}, | |
10687 | { SWIG_PY_INT, (char *)"HTML_FIND_EXACT", (long) wxHTML_FIND_EXACT, 0, 0, 0}, | |
10688 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_BEFORE", (long) wxHTML_FIND_NEAREST_BEFORE, 0, 0, 0}, | |
10689 | { SWIG_PY_INT, (char *)"HTML_FIND_NEAREST_AFTER", (long) wxHTML_FIND_NEAREST_AFTER, 0, 0, 0}, | |
10690 | { SWIG_PY_INT, (char *)"PAGE_ODD", (long) wxPAGE_ODD, 0, 0, 0}, | |
10691 | { SWIG_PY_INT, (char *)"PAGE_EVEN", (long) wxPAGE_EVEN, 0, 0, 0}, | |
10692 | { SWIG_PY_INT, (char *)"PAGE_ALL", (long) wxPAGE_ALL, 0, 0, 0}, | |
10693 | { SWIG_PY_INT, (char *)"HF_TOOLBAR", (long) wxHF_TOOLBAR, 0, 0, 0}, | |
10694 | { SWIG_PY_INT, (char *)"HF_FLATTOOLBAR", (long) wxHF_FLATTOOLBAR, 0, 0, 0}, | |
10695 | { SWIG_PY_INT, (char *)"HF_CONTENTS", (long) wxHF_CONTENTS, 0, 0, 0}, | |
10696 | { SWIG_PY_INT, (char *)"HF_INDEX", (long) wxHF_INDEX, 0, 0, 0}, | |
10697 | { SWIG_PY_INT, (char *)"HF_SEARCH", (long) wxHF_SEARCH, 0, 0, 0}, | |
10698 | { SWIG_PY_INT, (char *)"HF_BOOKMARKS", (long) wxHF_BOOKMARKS, 0, 0, 0}, | |
10699 | { SWIG_PY_INT, (char *)"HF_OPENFILES", (long) wxHF_OPENFILES, 0, 0, 0}, | |
10700 | { SWIG_PY_INT, (char *)"HF_PRINT", (long) wxHF_PRINT, 0, 0, 0}, | |
10701 | { SWIG_PY_INT, (char *)"HF_DEFAULTSTYLE", (long) wxHF_DEFAULTSTYLE, 0, 0, 0}, | |
10702 | {0}}; | |
10703 | ||
10704 | #ifdef __cplusplus | |
10705 | } | |
10706 | #endif | |
10707 | ||
10708 | #ifdef __cplusplus | |
10709 | extern "C" | |
10710 | #endif | |
10711 | SWIGEXPORT(void) SWIG_init(void) { | |
10712 | static PyObject *SWIG_globals = 0; | |
10713 | static int typeinit = 0; | |
10714 | PyObject *m, *d; | |
10715 | int i; | |
10716 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
10717 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
10718 | d = PyModule_GetDict(m); | |
10719 | ||
10720 | if (!typeinit) { | |
10721 | for (i = 0; swig_types_initial[i]; i++) { | |
10722 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
10723 | } | |
10724 | typeinit = 1; | |
10725 | } | |
10726 | SWIG_InstallConstants(d,swig_const_table); | |
10727 | ||
10728 | ||
10729 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
10730 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
10731 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
10732 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); | |
10733 | ||
10734 | } | |
10735 |