]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.20 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | ||
49 | ||
50 | /*********************************************************************** | |
51 | * common.swg for wxPython | |
52 | * | |
53 | * Include only the function prototypes and such from SWIG's common.swg, | |
54 | * but not the runtime functions themselves. This helps keep the | |
55 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
56 | * anyway. | |
57 | * | |
58 | ************************************************************************/ | |
59 | ||
60 | #include <string.h> | |
61 | ||
62 | #if defined(_WIN32) || defined(__WIN32__) | |
63 | # if defined(_MSC_VER) | |
64 | # if defined(STATIC_LINKED) | |
65 | # define SWIGEXPORT(a) a | |
66 | # define SWIGIMPORT(a) extern a | |
67 | # else | |
68 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # endif | |
71 | # else | |
72 | # if defined(__BORLANDC__) | |
73 | # define SWIGEXPORT(a) a _export | |
74 | # define SWIGIMPORT(a) a _export | |
75 | # else | |
76 | # define SWIGEXPORT(a) a | |
77 | # define SWIGIMPORT(a) a | |
78 | # endif | |
79 | # endif | |
80 | #else | |
81 | # define SWIGEXPORT(a) a | |
82 | # define SWIGIMPORT(a) a | |
83 | #endif | |
84 | ||
85 | #ifdef SWIG_GLOBAL | |
86 | #define SWIGRUNTIME(a) SWIGEXPORT(a) | |
87 | #else | |
88 | #define SWIGRUNTIME(a) static a | |
89 | #endif | |
90 | ||
91 | ||
92 | #ifdef __cplusplus | |
93 | extern "C" { | |
94 | #endif | |
95 | ||
96 | typedef void *(*swig_converter_func)(void *); | |
97 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
98 | ||
99 | typedef struct swig_type_info { | |
423f194a | 100 | const char *name; |
d14a1e28 RD |
101 | swig_converter_func converter; |
102 | const char *str; | |
423f194a | 103 | void *clientdata; |
d14a1e28 RD |
104 | swig_dycast_func dcast; |
105 | struct swig_type_info *next; | |
106 | struct swig_type_info *prev; | |
107 | } swig_type_info; | |
108 | ||
109 | ||
110 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
112 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
114 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
116 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
117 | ||
118 | ||
119 | #ifdef __cplusplus | |
120 | } | |
423f194a | 121 | |
d14a1e28 RD |
122 | #endif |
123 | ||
124 | /*********************************************************************** | |
125 | * pyrun.swg for wxPython | |
126 | * | |
127 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
128 | * but not the runtime functions themselves. This helps keep the | |
129 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
130 | * anyway. | |
131 | * | |
132 | ************************************************************************/ | |
133 | ||
134 | ||
135 | #include "Python.h" | |
136 | ||
137 | #ifdef __cplusplus | |
138 | extern "C" { | |
139 | #endif | |
140 | ||
141 | #define SWIG_PY_INT 1 | |
142 | #define SWIG_PY_FLOAT 2 | |
143 | #define SWIG_PY_STRING 3 | |
144 | #define SWIG_PY_POINTER 4 | |
145 | #define SWIG_PY_BINARY 5 | |
146 | ||
147 | /* Flags for pointer conversion */ | |
148 | ||
149 | #define SWIG_POINTER_EXCEPTION 0x1 | |
150 | #define SWIG_POINTER_DISOWN 0x2 | |
151 | ||
152 | /* Exception handling in wrappers */ | |
153 | #define SWIG_fail goto fail | |
154 | ||
155 | /* Constant information structure */ | |
156 | typedef struct swig_const_info { | |
157 | int type; | |
158 | char *name; | |
159 | long lvalue; | |
160 | double dvalue; | |
161 | void *pvalue; | |
162 | swig_type_info **ptype; | |
163 | } swig_const_info; | |
164 | ||
165 | ||
166 | ||
167 | /* Common SWIG API */ | |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
174 | ||
175 | /* Python-specific SWIG API */ | |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
182 | #define SWIG_PackData(c, ptr, sz) \ | |
183 | SWIG_Python_PackData(c, ptr, sz) | |
184 | #define SWIG_UnpackData(c, ptr, sz) \ | |
185 | SWIG_Python_UnpackData(c, ptr, sz) | |
186 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
187 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
188 | #define SWIG_InstallConstants(d, constants) \ | |
189 | SWIG_Python_InstallConstants(d, constants) | |
190 | ||
191 | ||
192 | SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
193 | SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
194 | SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
195 | ||
196 | SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void); | |
197 | SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
198 | SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
199 | SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int); | |
200 | SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int); | |
201 | SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
202 | SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
203 | ||
204 | ||
205 | /* Contract support */ | |
206 | ||
423f194a | 207 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 208 | |
d14a1e28 RD |
209 | |
210 | #ifdef __cplusplus | |
211 | } | |
212 | #endif | |
213 | ||
214 | ||
215 | ||
216 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
217 | ||
218 | #define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0] | |
219 | #define SWIGTYPE_p_wxColour swig_types[1] | |
220 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[2] | |
221 | #define SWIGTYPE_p_wxDC swig_types[3] | |
222 | #define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[4] | |
223 | #define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5] | |
224 | #define SWIGTYPE_p_wxMouseEvent swig_types[6] | |
225 | #define SWIGTYPE_p_wxHtmlWordCell swig_types[7] | |
226 | #define SWIGTYPE_p_wxHtmlHelpData swig_types[8] | |
227 | #define SWIGTYPE_p_wxHtmlWinParser swig_types[9] | |
228 | #define SWIGTYPE_p_wxHtmlParser swig_types[10] | |
229 | #define SWIGTYPE_p_wxPanel swig_types[11] | |
230 | #define SWIGTYPE_p_wxHtmlFontCell swig_types[12] | |
231 | #define SWIGTYPE_p_wxFont swig_types[13] | |
232 | #define SWIGTYPE_p_wxHtmlColourCell swig_types[14] | |
233 | #define SWIGTYPE_p_wxPyHtmlWindow swig_types[15] | |
234 | #define SWIGTYPE_p_wxScrolledWindow swig_types[16] | |
235 | #define SWIGTYPE_p_wxWindow swig_types[17] | |
236 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[18] | |
237 | #define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[19] | |
238 | #define SWIGTYPE_p_wxHtmlSelection swig_types[20] | |
239 | #define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[21] | |
240 | #define SWIGTYPE_p_wxHtmlWidgetCell swig_types[22] | |
241 | #define SWIGTYPE_p_wxObject swig_types[23] | |
242 | #define SWIGTYPE_p_wxString swig_types[24] | |
243 | #define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[25] | |
244 | #define SWIGTYPE_p_wxHtmlTagHandler swig_types[26] | |
245 | #define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[27] | |
246 | #define SWIGTYPE_p_wxEvtHandler swig_types[28] | |
247 | #define SWIGTYPE_p_wxPoint swig_types[29] | |
248 | #define SWIGTYPE_p_wxHtmlHelpController swig_types[30] | |
249 | #define SWIGTYPE_p_wxCursor swig_types[31] | |
250 | #define SWIGTYPE_p_wxFileSystem swig_types[32] | |
251 | #define SWIGTYPE_p_wxHtmlBookRecArray swig_types[33] | |
252 | #define SWIGTYPE_p_wxPyPrintout swig_types[34] | |
253 | #define SWIGTYPE_p_wxHtmlPrintout swig_types[35] | |
254 | #define SWIGTYPE_p_wxHtmlSearchStatus swig_types[36] | |
255 | #define SWIGTYPE_p_wxHtmlContentsItem swig_types[37] | |
256 | #define SWIGTYPE_p_wxConfigBase swig_types[38] | |
257 | #define SWIGTYPE_p_wxPrintData swig_types[39] | |
258 | #define SWIGTYPE_p_wxHtmlHelpFrame swig_types[40] | |
259 | #define SWIGTYPE_p_wxHtmlRenderingState swig_types[41] | |
260 | #define SWIGTYPE_p_wxFrame swig_types[42] | |
261 | #define SWIGTYPE_p_wxPyHtmlFilter swig_types[43] | |
262 | #define SWIGTYPE_p_wxHtmlFilter swig_types[44] | |
263 | #define SWIGTYPE_p_wxHtmlCell swig_types[45] | |
264 | #define SWIGTYPE_p_wxHtmlContainerCell swig_types[46] | |
265 | #define SWIGTYPE_p_wxHtmlTag swig_types[47] | |
266 | #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[48] | |
267 | #define SWIGTYPE_p_int swig_types[49] | |
268 | #define SWIGTYPE_p_wxHtmlBookRecord swig_types[50] | |
269 | static swig_type_info *swig_types[52]; | |
270 | ||
271 | /* -------- TYPES TABLE (END) -------- */ | |
272 | ||
273 | ||
274 | /*----------------------------------------------- | |
275 | @(target):= _html.so | |
276 | ------------------------------------------------*/ | |
277 | #define SWIG_init init_html | |
278 | ||
279 | #define SWIG_name "_html" | |
280 | ||
281 | #include "wx/wxPython/wxPython.h" | |
282 | #include "wx/wxPython/pyclasses.h" | |
283 | #include "wx/wxPython/pyistream.h" | |
284 | #include "wx/wxPython/printfw.h" | |
285 | ||
286 | #include <wx/html/htmlwin.h> | |
287 | #include <wx/html/htmprint.h> | |
288 | #include <wx/html/helpctrl.h> | |
289 | ||
290 | ||
291 | DECLARE_DEF_STRING(EmptyString); | |
292 | static const wxChar* wxHtmlWindowNameStr = wxT("htmlWindow"); | |
293 | DECLARE_DEF_STRING(HtmlWindowNameStr); | |
294 | static const wxChar* wxHtmlPrintoutTitleStr = wxT("Printout"); | |
295 | DECLARE_DEF_STRING(HtmlPrintoutTitleStr); | |
296 | static const wxChar* wxHtmlPrintingTitleStr = wxT("Printing"); | |
297 | DECLARE_DEF_STRING(HtmlPrintingTitleStr); | |
298 | ||
299 | ||
300 | void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
301 | int* temp = NULL; | |
302 | if (sizes) temp = int_LIST_helper(sizes); | |
303 | self->SetFonts(normal_face, fixed_face, temp); | |
304 | if (temp) | |
305 | delete [] temp; | |
306 | } | |
307 | ||
308 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { | |
309 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); | |
310 | public: | |
311 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
312 | ||
313 | wxHtmlParser* GetParser() { return m_Parser; } | |
314 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
315 | ||
316 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
317 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
318 | ||
319 | PYPRIVATE; | |
320 | }; | |
321 | ||
322 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); | |
323 | ||
324 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); | |
325 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
326 | ||
327 | ||
328 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { | |
329 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); | |
330 | public: | |
331 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
332 | ||
333 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
334 | void ParseInner(const wxHtmlTag& tag) | |
335 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
336 | ||
337 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
338 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
339 | ||
340 | PYPRIVATE; | |
341 | }; | |
342 | ||
343 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); | |
344 | ||
345 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); | |
346 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
347 | ||
348 | ||
349 | ||
350 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { | |
351 | public: | |
352 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
353 | m_tagHandlerClass = thc; | |
354 | Py_INCREF(m_tagHandlerClass); | |
355 | RegisterModule(this); | |
356 | wxHtmlWinParser::AddModule(this); | |
357 | } | |
358 | ||
359 | void OnExit() { | |
360 | wxPyBeginBlockThreads(); | |
361 | Py_DECREF(m_tagHandlerClass); | |
362 | m_tagHandlerClass = NULL; | |
363 | for (size_t x=0; x < m_objArray.GetCount(); x++) { | |
364 | PyObject* obj = (PyObject*)m_objArray.Item(x); | |
365 | Py_DECREF(obj); | |
366 | } | |
367 | wxPyEndBlockThreads(); | |
368 | }; | |
369 | ||
370 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
371 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
372 | ||
373 | // First, make a new instance of the tag handler | |
374 | wxPyBeginBlockThreads(); | |
fb757066 RD |
375 | PyObject* arg = PyTuple_New(0); |
376 | PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); | |
d14a1e28 | 377 | Py_DECREF(arg); |
fb757066 | 378 | |
d14a1e28 RD |
379 | // now figure out where it's C++ object is... |
380 | wxPyHtmlWinTagHandler* thPtr; | |
fb757066 RD |
381 | if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { |
382 | wxPyEndBlockThreads(); | |
d14a1e28 | 383 | return; |
fb757066 RD |
384 | } |
385 | wxPyEndBlockThreads(); | |
d14a1e28 RD |
386 | |
387 | // add it, | |
388 | parser->AddTagHandler(thPtr); | |
389 | ||
390 | // and track it. | |
391 | m_objArray.Add(obj); | |
392 | } | |
393 | ||
394 | private: | |
395 | PyObject* m_tagHandlerClass; | |
396 | wxArrayPtrVoid m_objArray; | |
397 | ||
398 | }; | |
399 | ||
400 | ||
401 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
402 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
403 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
404 | new wxPyHtmlTagsModule(tagHandlerClass); | |
405 | } | |
406 | ||
407 | ||
408 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
409 | PyObject* o2; | |
410 | PyObject* o3; | |
411 | ||
412 | if (!target) { | |
413 | target = o; | |
414 | } else if (target == Py_None) { | |
415 | Py_DECREF(Py_None); | |
416 | target = o; | |
417 | } else { | |
418 | if (!PyTuple_Check(target)) { | |
419 | o2 = target; | |
420 | target = PyTuple_New(1); | |
421 | PyTuple_SetItem(target, 0, o2); | |
422 | } | |
423 | o3 = PyTuple_New(1); | |
424 | PyTuple_SetItem(o3, 0, o); | |
425 | ||
426 | o2 = target; | |
427 | target = PySequence_Concat(o2, o3); | |
428 | Py_DECREF(o2); | |
429 | Py_DECREF(o3); | |
430 | } | |
431 | return target; | |
432 | } | |
433 | ||
434 | // here's the C++ version | |
435 | class wxPyHtmlFilter : public wxHtmlFilter { | |
436 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
437 | public: | |
438 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
439 | ||
423f194a | 440 | // returns True if this filter is able to open&read given file |
d14a1e28 | 441 | virtual bool CanRead(const wxFSFile& file) const { |
423f194a | 442 | bool rval = False; |
d14a1e28 RD |
443 | bool found; |
444 | wxPyBeginBlockThreads(); | |
445 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
446 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
447 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
448 | Py_DECREF(obj); | |
449 | } | |
450 | wxPyEndBlockThreads(); | |
451 | return rval; | |
452 | } | |
453 | ||
454 | ||
455 | // Reads given file and returns HTML document. | |
456 | // Returns empty string if opening failed | |
457 | virtual wxString ReadFile(const wxFSFile& file) const { | |
458 | wxString rval; | |
459 | bool found; | |
460 | wxPyBeginBlockThreads(); | |
461 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
462 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
463 | PyObject* ro; | |
464 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
465 | Py_DECREF(obj); | |
466 | if (ro) { | |
467 | rval = Py2wxString(ro); | |
468 | Py_DECREF(ro); | |
469 | } | |
470 | } | |
471 | wxPyEndBlockThreads(); | |
472 | return rval; | |
473 | } | |
474 | ||
475 | PYPRIVATE; | |
476 | }; | |
477 | ||
478 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
479 | ||
480 | ||
481 | class wxPyHtmlWindow : public wxHtmlWindow { | |
482 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); | |
483 | public: | |
484 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
485 | const wxPoint& pos = wxDefaultPosition, | |
486 | const wxSize& size = wxDefaultSize, | |
487 | long style = wxHW_DEFAULT_STYLE, | |
488 | const wxString& name = wxPyHtmlWindowNameStr) | |
489 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; | |
490 | wxPyHtmlWindow() : wxHtmlWindow() {}; | |
491 | ||
492 | bool ScrollToAnchor(const wxString& anchor) { | |
493 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
494 | } | |
495 | ||
496 | bool HasAnchor(const wxString& anchor) { | |
497 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
498 | return c!=NULL; | |
499 | } | |
500 | ||
501 | void OnLinkClicked(const wxHtmlLinkInfo& link); | |
502 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
503 | ||
504 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, | |
505 | const wxString& url, | |
506 | wxString *redirect) const; | |
507 | ||
508 | DEC_PYCALLBACK__STRING(OnSetTitle); | |
509 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); | |
510 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
511 | PYPRIVATE; | |
512 | }; | |
513 | ||
514 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); | |
515 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); | |
516 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); | |
517 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
518 | ||
519 | ||
520 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { | |
521 | bool found; | |
522 | wxPyBeginBlockThreads(); | |
523 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { | |
524 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); | |
525 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
526 | Py_DECREF(obj); | |
527 | } | |
528 | wxPyEndBlockThreads(); | |
529 | if (! found) | |
530 | wxHtmlWindow::OnLinkClicked(link); | |
531 | } | |
532 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { | |
533 | wxHtmlWindow::OnLinkClicked(link); | |
534 | } | |
535 | ||
536 | ||
537 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, | |
538 | const wxString& url, | |
539 | wxString *redirect) const { | |
540 | bool found; | |
541 | wxHtmlOpeningStatus rval; | |
542 | wxPyBeginBlockThreads(); | |
543 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
544 | PyObject* ro; | |
545 | PyObject* s = wx2PyString(url); | |
546 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
547 | Py_DECREF(s); | |
548 | if (PyString_Check(ro) | |
549 | #if PYTHON_API_VERSION >= 1009 | |
550 | || PyUnicode_Check(ro) | |
551 | #endif | |
552 | ) { | |
553 | *redirect = Py2wxString(ro); | |
554 | rval = wxHTML_REDIRECT; | |
555 | } | |
556 | else { | |
557 | PyObject* num = PyNumber_Int(ro); | |
558 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
559 | Py_DECREF(num); | |
560 | } | |
561 | Py_DECREF(ro); | |
562 | } | |
563 | wxPyEndBlockThreads(); | |
564 | if (! found) | |
565 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
566 | return rval; | |
567 | } | |
568 | ||
569 | ||
570 | ||
571 | void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
572 | int* temp = NULL; | |
573 | if (sizes) temp = int_LIST_helper(sizes); | |
574 | self->SetFonts(normal_face, fixed_face, temp); | |
575 | if (temp) | |
576 | delete [] temp; | |
577 | } | |
578 | void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
579 | int* temp = NULL; | |
580 | if (sizes) temp = int_LIST_helper(sizes); | |
581 | self->SetFonts(normal_face, fixed_face, temp); | |
582 | if (temp) | |
583 | delete [] temp; | |
584 | } | |
585 | void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
586 | int* temp = NULL; | |
587 | if (sizes) temp = int_LIST_helper(sizes); | |
588 | self->SetFonts(normal_face, fixed_face, temp); | |
589 | if (temp) | |
590 | delete [] temp; | |
591 | } | |
592 | void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject *sizes){ | |
593 | int* temp = NULL; | |
594 | if (sizes) temp = int_LIST_helper(sizes); | |
595 | self->SetFonts(normal_face, fixed_face, temp); | |
596 | if (temp) | |
597 | delete [] temp; | |
598 | } | |
599 | int wxHtmlContentsItem_GetLevel(wxHtmlContentsItem *self){ return self->m_Level; } | |
600 | int wxHtmlContentsItem_GetID(wxHtmlContentsItem *self){ return self->m_ID; } | |
601 | wxString wxHtmlContentsItem_GetName(wxHtmlContentsItem *self){ return self->m_Name; } | |
602 | wxString wxHtmlContentsItem_GetPage(wxHtmlContentsItem *self){ return self->m_Page; } | |
603 | wxHtmlBookRecord *wxHtmlContentsItem_GetBook(wxHtmlContentsItem *self){ return self->m_Book; } | |
604 | #ifdef __cplusplus | |
605 | extern "C" { | |
606 | #endif | |
607 | static PyObject *_wrap_new_HtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
608 | PyObject *resultobj; | |
609 | wxString *arg1 = 0 ; | |
610 | wxString const &arg2_defvalue = wxPyEmptyString ; | |
611 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
612 | wxHtmlLinkInfo *result; | |
423f194a RD |
613 | bool temp1 = False ; |
614 | bool temp2 = False ; | |
d14a1e28 RD |
615 | PyObject * obj0 = 0 ; |
616 | PyObject * obj1 = 0 ; | |
617 | char *kwnames[] = { | |
618 | (char *) "href",(char *) "target", NULL | |
619 | }; | |
620 | ||
621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_HtmlLinkInfo",kwnames,&obj0,&obj1)) goto fail; | |
622 | { | |
623 | arg1 = wxString_in_helper(obj0); | |
624 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 625 | temp1 = True; |
d14a1e28 RD |
626 | } |
627 | if (obj1) { | |
628 | { | |
629 | arg2 = wxString_in_helper(obj1); | |
630 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 631 | temp2 = True; |
d14a1e28 RD |
632 | } |
633 | } | |
634 | { | |
635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
636 | result = (wxHtmlLinkInfo *)new wxHtmlLinkInfo((wxString const &)*arg1,(wxString const &)*arg2); | |
637 | ||
638 | wxPyEndAllowThreads(__tstate); | |
639 | if (PyErr_Occurred()) SWIG_fail; | |
640 | } | |
641 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
642 | { | |
643 | if (temp1) | |
644 | delete arg1; | |
645 | } | |
646 | { | |
647 | if (temp2) | |
648 | delete arg2; | |
649 | } | |
650 | return resultobj; | |
651 | fail: | |
652 | { | |
653 | if (temp1) | |
654 | delete arg1; | |
655 | } | |
656 | { | |
657 | if (temp2) | |
658 | delete arg2; | |
659 | } | |
660 | return NULL; | |
661 | } | |
662 | ||
663 | ||
664 | static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
665 | PyObject *resultobj; | |
666 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
667 | wxString result; | |
668 | PyObject * obj0 = 0 ; | |
669 | char *kwnames[] = { | |
670 | (char *) "self", NULL | |
671 | }; | |
672 | ||
673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHref",kwnames,&obj0)) goto fail; | |
674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
675 | { | |
676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
677 | result = (arg1)->GetHref(); | |
678 | ||
679 | wxPyEndAllowThreads(__tstate); | |
680 | if (PyErr_Occurred()) SWIG_fail; | |
681 | } | |
682 | { | |
683 | #if wxUSE_UNICODE | |
684 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
685 | #else | |
686 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
687 | #endif | |
688 | } | |
689 | return resultobj; | |
690 | fail: | |
691 | return NULL; | |
692 | } | |
693 | ||
694 | ||
695 | static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
696 | PyObject *resultobj; | |
697 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
698 | wxString result; | |
699 | PyObject * obj0 = 0 ; | |
700 | char *kwnames[] = { | |
701 | (char *) "self", NULL | |
702 | }; | |
703 | ||
704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetTarget",kwnames,&obj0)) goto fail; | |
705 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
706 | { | |
707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
708 | result = (arg1)->GetTarget(); | |
709 | ||
710 | wxPyEndAllowThreads(__tstate); | |
711 | if (PyErr_Occurred()) SWIG_fail; | |
712 | } | |
713 | { | |
714 | #if wxUSE_UNICODE | |
715 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
716 | #else | |
717 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
718 | #endif | |
719 | } | |
720 | return resultobj; | |
721 | fail: | |
722 | return NULL; | |
723 | } | |
724 | ||
725 | ||
726 | static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
727 | PyObject *resultobj; | |
728 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
729 | wxMouseEvent *result; | |
730 | PyObject * obj0 = 0 ; | |
731 | char *kwnames[] = { | |
732 | (char *) "self", NULL | |
733 | }; | |
734 | ||
735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetEvent",kwnames,&obj0)) goto fail; | |
736 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
737 | { | |
738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
739 | result = (wxMouseEvent *)(arg1)->GetEvent(); | |
740 | ||
741 | wxPyEndAllowThreads(__tstate); | |
742 | if (PyErr_Occurred()) SWIG_fail; | |
743 | } | |
744 | { | |
745 | resultobj = wxPyMake_wxObject(result); | |
746 | } | |
747 | return resultobj; | |
748 | fail: | |
749 | return NULL; | |
750 | } | |
751 | ||
752 | ||
753 | static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
754 | PyObject *resultobj; | |
755 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
756 | wxHtmlCell *result; | |
757 | PyObject * obj0 = 0 ; | |
758 | char *kwnames[] = { | |
759 | (char *) "self", NULL | |
760 | }; | |
761 | ||
762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlLinkInfo_GetHtmlCell",kwnames,&obj0)) goto fail; | |
763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
764 | { | |
765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
766 | result = (wxHtmlCell *)(arg1)->GetHtmlCell(); | |
767 | ||
768 | wxPyEndAllowThreads(__tstate); | |
769 | if (PyErr_Occurred()) SWIG_fail; | |
770 | } | |
771 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
772 | return resultobj; | |
773 | fail: | |
774 | return NULL; | |
775 | } | |
776 | ||
777 | ||
778 | static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
779 | PyObject *resultobj; | |
780 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
781 | wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; | |
782 | PyObject * obj0 = 0 ; | |
783 | PyObject * obj1 = 0 ; | |
784 | char *kwnames[] = { | |
785 | (char *) "self",(char *) "e", NULL | |
786 | }; | |
787 | ||
788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetEvent",kwnames,&obj0,&obj1)) goto fail; | |
789 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
790 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
791 | { | |
792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
793 | (arg1)->SetEvent((wxMouseEvent const *)arg2); | |
794 | ||
795 | wxPyEndAllowThreads(__tstate); | |
796 | if (PyErr_Occurred()) SWIG_fail; | |
797 | } | |
798 | Py_INCREF(Py_None); resultobj = Py_None; | |
799 | return resultobj; | |
800 | fail: | |
801 | return NULL; | |
802 | } | |
803 | ||
804 | ||
805 | static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
806 | PyObject *resultobj; | |
807 | wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; | |
808 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
809 | PyObject * obj0 = 0 ; | |
810 | PyObject * obj1 = 0 ; | |
811 | char *kwnames[] = { | |
812 | (char *) "self",(char *) "e", NULL | |
813 | }; | |
814 | ||
815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlLinkInfo_SetHtmlCell",kwnames,&obj0,&obj1)) goto fail; | |
816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
817 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
818 | { | |
819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
820 | (arg1)->SetHtmlCell((wxHtmlCell const *)arg2); | |
821 | ||
822 | wxPyEndAllowThreads(__tstate); | |
823 | if (PyErr_Occurred()) SWIG_fail; | |
824 | } | |
825 | Py_INCREF(Py_None); resultobj = Py_None; | |
826 | return resultobj; | |
827 | fail: | |
828 | return NULL; | |
829 | } | |
830 | ||
831 | ||
832 | static PyObject * HtmlLinkInfo_swigregister(PyObject *self, PyObject *args) { | |
833 | PyObject *obj; | |
834 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
835 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlLinkInfo, obj); | |
836 | Py_INCREF(obj); | |
837 | return Py_BuildValue((char *)""); | |
838 | } | |
839 | static PyObject *_wrap_HtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
840 | PyObject *resultobj; | |
841 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
842 | wxString result; | |
843 | PyObject * obj0 = 0 ; | |
844 | char *kwnames[] = { | |
845 | (char *) "self", NULL | |
846 | }; | |
847 | ||
848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetName",kwnames,&obj0)) goto fail; | |
849 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
850 | { | |
851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
852 | result = (arg1)->GetName(); | |
853 | ||
854 | wxPyEndAllowThreads(__tstate); | |
855 | if (PyErr_Occurred()) SWIG_fail; | |
856 | } | |
857 | { | |
858 | #if wxUSE_UNICODE | |
859 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
860 | #else | |
861 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
862 | #endif | |
863 | } | |
864 | return resultobj; | |
865 | fail: | |
866 | return NULL; | |
867 | } | |
868 | ||
869 | ||
870 | static PyObject *_wrap_HtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
871 | PyObject *resultobj; | |
872 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
873 | wxString *arg2 = 0 ; | |
874 | bool result; | |
423f194a | 875 | bool temp2 = False ; |
d14a1e28 RD |
876 | PyObject * obj0 = 0 ; |
877 | PyObject * obj1 = 0 ; | |
878 | char *kwnames[] = { | |
879 | (char *) "self",(char *) "par", NULL | |
880 | }; | |
881 | ||
882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTag_HasParam",kwnames,&obj0,&obj1)) goto fail; | |
883 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
884 | { | |
885 | arg2 = wxString_in_helper(obj1); | |
886 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 887 | temp2 = True; |
d14a1e28 RD |
888 | } |
889 | { | |
890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
891 | result = (bool)(arg1)->HasParam((wxString const &)*arg2); | |
892 | ||
893 | wxPyEndAllowThreads(__tstate); | |
894 | if (PyErr_Occurred()) SWIG_fail; | |
895 | } | |
896 | resultobj = PyInt_FromLong((long)result); | |
897 | { | |
898 | if (temp2) | |
899 | delete arg2; | |
900 | } | |
901 | return resultobj; | |
902 | fail: | |
903 | { | |
904 | if (temp2) | |
905 | delete arg2; | |
906 | } | |
907 | return NULL; | |
908 | } | |
909 | ||
910 | ||
911 | static PyObject *_wrap_HtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
912 | PyObject *resultobj; | |
913 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
914 | wxString *arg2 = 0 ; | |
423f194a | 915 | int arg3 = (int) False ; |
d14a1e28 | 916 | wxString result; |
423f194a | 917 | bool temp2 = False ; |
d14a1e28 RD |
918 | PyObject * obj0 = 0 ; |
919 | PyObject * obj1 = 0 ; | |
920 | char *kwnames[] = { | |
921 | (char *) "self",(char *) "par",(char *) "with_commas", NULL | |
922 | }; | |
923 | ||
924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlTag_GetParam",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
926 | { | |
927 | arg2 = wxString_in_helper(obj1); | |
928 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 929 | temp2 = True; |
d14a1e28 RD |
930 | } |
931 | { | |
932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
933 | result = (arg1)->GetParam((wxString const &)*arg2,arg3); | |
934 | ||
935 | wxPyEndAllowThreads(__tstate); | |
936 | if (PyErr_Occurred()) SWIG_fail; | |
937 | } | |
938 | { | |
939 | #if wxUSE_UNICODE | |
940 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
941 | #else | |
942 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
943 | #endif | |
944 | } | |
945 | { | |
946 | if (temp2) | |
947 | delete arg2; | |
948 | } | |
949 | return resultobj; | |
950 | fail: | |
951 | { | |
952 | if (temp2) | |
953 | delete arg2; | |
954 | } | |
955 | return NULL; | |
956 | } | |
957 | ||
958 | ||
959 | static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
960 | PyObject *resultobj; | |
961 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
962 | wxString result; | |
963 | PyObject * obj0 = 0 ; | |
964 | char *kwnames[] = { | |
965 | (char *) "self", NULL | |
966 | }; | |
967 | ||
968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetAllParams",kwnames,&obj0)) goto fail; | |
969 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
970 | { | |
971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
972 | result = (arg1)->GetAllParams(); | |
973 | ||
974 | wxPyEndAllowThreads(__tstate); | |
975 | if (PyErr_Occurred()) SWIG_fail; | |
976 | } | |
977 | { | |
978 | #if wxUSE_UNICODE | |
979 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
980 | #else | |
981 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
982 | #endif | |
983 | } | |
984 | return resultobj; | |
985 | fail: | |
986 | return NULL; | |
987 | } | |
988 | ||
989 | ||
990 | static PyObject *_wrap_HtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
991 | PyObject *resultobj; | |
992 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
993 | bool result; | |
994 | PyObject * obj0 = 0 ; | |
995 | char *kwnames[] = { | |
996 | (char *) "self", NULL | |
997 | }; | |
998 | ||
999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_HasEnding",kwnames,&obj0)) goto fail; | |
1000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1001 | { | |
1002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1003 | result = (bool)(arg1)->HasEnding(); | |
1004 | ||
1005 | wxPyEndAllowThreads(__tstate); | |
1006 | if (PyErr_Occurred()) SWIG_fail; | |
1007 | } | |
1008 | resultobj = PyInt_FromLong((long)result); | |
1009 | return resultobj; | |
1010 | fail: | |
1011 | return NULL; | |
1012 | } | |
1013 | ||
1014 | ||
1015 | static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1016 | PyObject *resultobj; | |
1017 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1018 | int result; | |
1019 | PyObject * obj0 = 0 ; | |
1020 | char *kwnames[] = { | |
1021 | (char *) "self", NULL | |
1022 | }; | |
1023 | ||
1024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetBeginPos",kwnames,&obj0)) goto fail; | |
1025 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1026 | { | |
1027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1028 | result = (int)(arg1)->GetBeginPos(); | |
1029 | ||
1030 | wxPyEndAllowThreads(__tstate); | |
1031 | if (PyErr_Occurred()) SWIG_fail; | |
1032 | } | |
1033 | resultobj = PyInt_FromLong((long)result); | |
1034 | return resultobj; | |
1035 | fail: | |
1036 | return NULL; | |
1037 | } | |
1038 | ||
1039 | ||
1040 | static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1041 | PyObject *resultobj; | |
1042 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1043 | int result; | |
1044 | PyObject * obj0 = 0 ; | |
1045 | char *kwnames[] = { | |
1046 | (char *) "self", NULL | |
1047 | }; | |
1048 | ||
1049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos1",kwnames,&obj0)) goto fail; | |
1050 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1051 | { | |
1052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1053 | result = (int)(arg1)->GetEndPos1(); | |
1054 | ||
1055 | wxPyEndAllowThreads(__tstate); | |
1056 | if (PyErr_Occurred()) SWIG_fail; | |
1057 | } | |
1058 | resultobj = PyInt_FromLong((long)result); | |
1059 | return resultobj; | |
1060 | fail: | |
1061 | return NULL; | |
1062 | } | |
1063 | ||
1064 | ||
1065 | static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1066 | PyObject *resultobj; | |
1067 | wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; | |
1068 | int result; | |
1069 | PyObject * obj0 = 0 ; | |
1070 | char *kwnames[] = { | |
1071 | (char *) "self", NULL | |
1072 | }; | |
1073 | ||
1074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTag_GetEndPos2",kwnames,&obj0)) goto fail; | |
1075 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1076 | { | |
1077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1078 | result = (int)(arg1)->GetEndPos2(); | |
1079 | ||
1080 | wxPyEndAllowThreads(__tstate); | |
1081 | if (PyErr_Occurred()) SWIG_fail; | |
1082 | } | |
1083 | resultobj = PyInt_FromLong((long)result); | |
1084 | return resultobj; | |
1085 | fail: | |
1086 | return NULL; | |
1087 | } | |
1088 | ||
1089 | ||
1090 | static PyObject * HtmlTag_swigregister(PyObject *self, PyObject *args) { | |
1091 | PyObject *obj; | |
1092 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1093 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlTag, obj); | |
1094 | Py_INCREF(obj); | |
1095 | return Py_BuildValue((char *)""); | |
1096 | } | |
1097 | static PyObject *_wrap_HtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1098 | PyObject *resultobj; | |
1099 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1100 | wxFileSystem *arg2 = (wxFileSystem *) 0 ; | |
1101 | PyObject * obj0 = 0 ; | |
1102 | PyObject * obj1 = 0 ; | |
1103 | char *kwnames[] = { | |
1104 | (char *) "self",(char *) "fs", NULL | |
1105 | }; | |
1106 | ||
1107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_SetFS",kwnames,&obj0,&obj1)) goto fail; | |
1108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1109 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1110 | { | |
1111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1112 | (arg1)->SetFS(arg2); | |
1113 | ||
1114 | wxPyEndAllowThreads(__tstate); | |
1115 | if (PyErr_Occurred()) SWIG_fail; | |
1116 | } | |
1117 | Py_INCREF(Py_None); resultobj = Py_None; | |
1118 | return resultobj; | |
1119 | fail: | |
1120 | return NULL; | |
1121 | } | |
1122 | ||
1123 | ||
1124 | static PyObject *_wrap_HtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1125 | PyObject *resultobj; | |
1126 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1127 | wxFileSystem *result; | |
1128 | PyObject * obj0 = 0 ; | |
1129 | char *kwnames[] = { | |
1130 | (char *) "self", NULL | |
1131 | }; | |
1132 | ||
1133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetFS",kwnames,&obj0)) goto fail; | |
1134 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1135 | { | |
1136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1137 | result = (wxFileSystem *)(arg1)->GetFS(); | |
1138 | ||
1139 | wxPyEndAllowThreads(__tstate); | |
1140 | if (PyErr_Occurred()) SWIG_fail; | |
1141 | } | |
1142 | { | |
1143 | resultobj = wxPyMake_wxObject(result); | |
1144 | } | |
1145 | return resultobj; | |
1146 | fail: | |
1147 | return NULL; | |
1148 | } | |
1149 | ||
1150 | ||
1151 | static PyObject *_wrap_HtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1152 | PyObject *resultobj; | |
1153 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1154 | wxString *arg2 = 0 ; | |
1155 | wxObject *result; | |
423f194a | 1156 | bool temp2 = False ; |
d14a1e28 RD |
1157 | PyObject * obj0 = 0 ; |
1158 | PyObject * obj1 = 0 ; | |
1159 | char *kwnames[] = { | |
1160 | (char *) "self",(char *) "source", NULL | |
1161 | }; | |
1162 | ||
1163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_Parse",kwnames,&obj0,&obj1)) goto fail; | |
1164 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1165 | { | |
1166 | arg2 = wxString_in_helper(obj1); | |
1167 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 1168 | temp2 = True; |
d14a1e28 RD |
1169 | } |
1170 | { | |
1171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1172 | result = (wxObject *)(arg1)->Parse((wxString const &)*arg2); | |
1173 | ||
1174 | wxPyEndAllowThreads(__tstate); | |
1175 | if (PyErr_Occurred()) SWIG_fail; | |
1176 | } | |
1177 | { | |
1178 | resultobj = wxPyMake_wxObject(result); | |
1179 | } | |
1180 | { | |
1181 | if (temp2) | |
1182 | delete arg2; | |
1183 | } | |
1184 | return resultobj; | |
1185 | fail: | |
1186 | { | |
1187 | if (temp2) | |
1188 | delete arg2; | |
1189 | } | |
1190 | return NULL; | |
1191 | } | |
1192 | ||
1193 | ||
1194 | static PyObject *_wrap_HtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1195 | PyObject *resultobj; | |
1196 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1197 | wxString *arg2 = 0 ; | |
423f194a | 1198 | bool temp2 = False ; |
d14a1e28 RD |
1199 | PyObject * obj0 = 0 ; |
1200 | PyObject * obj1 = 0 ; | |
1201 | char *kwnames[] = { | |
1202 | (char *) "self",(char *) "source", NULL | |
1203 | }; | |
1204 | ||
1205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_InitParser",kwnames,&obj0,&obj1)) goto fail; | |
1206 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1207 | { | |
1208 | arg2 = wxString_in_helper(obj1); | |
1209 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 1210 | temp2 = True; |
d14a1e28 RD |
1211 | } |
1212 | { | |
1213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1214 | (arg1)->InitParser((wxString const &)*arg2); | |
1215 | ||
1216 | wxPyEndAllowThreads(__tstate); | |
1217 | if (PyErr_Occurred()) SWIG_fail; | |
1218 | } | |
1219 | Py_INCREF(Py_None); resultobj = Py_None; | |
1220 | { | |
1221 | if (temp2) | |
1222 | delete arg2; | |
1223 | } | |
1224 | return resultobj; | |
1225 | fail: | |
1226 | { | |
1227 | if (temp2) | |
1228 | delete arg2; | |
1229 | } | |
1230 | return NULL; | |
1231 | } | |
1232 | ||
1233 | ||
1234 | static PyObject *_wrap_HtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1235 | PyObject *resultobj; | |
1236 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1237 | PyObject * obj0 = 0 ; | |
1238 | char *kwnames[] = { | |
1239 | (char *) "self", NULL | |
1240 | }; | |
1241 | ||
1242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_DoneParser",kwnames,&obj0)) goto fail; | |
1243 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1244 | { | |
1245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1246 | (arg1)->DoneParser(); | |
1247 | ||
1248 | wxPyEndAllowThreads(__tstate); | |
1249 | if (PyErr_Occurred()) SWIG_fail; | |
1250 | } | |
1251 | Py_INCREF(Py_None); resultobj = Py_None; | |
1252 | return resultobj; | |
1253 | fail: | |
1254 | return NULL; | |
1255 | } | |
1256 | ||
1257 | ||
1258 | static PyObject *_wrap_HtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1259 | PyObject *resultobj; | |
1260 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1261 | int arg2 ; | |
1262 | int arg3 ; | |
1263 | PyObject * obj0 = 0 ; | |
1264 | char *kwnames[] = { | |
1265 | (char *) "self",(char *) "begin_pos",(char *) "end_pos", NULL | |
1266 | }; | |
1267 | ||
1268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlParser_DoParsing",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1270 | { | |
1271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1272 | (arg1)->DoParsing(arg2,arg3); | |
1273 | ||
1274 | wxPyEndAllowThreads(__tstate); | |
1275 | if (PyErr_Occurred()) SWIG_fail; | |
1276 | } | |
1277 | Py_INCREF(Py_None); resultobj = Py_None; | |
1278 | return resultobj; | |
1279 | fail: | |
1280 | return NULL; | |
1281 | } | |
1282 | ||
1283 | ||
1284 | static PyObject *_wrap_HtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1285 | PyObject *resultobj; | |
1286 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1287 | PyObject * obj0 = 0 ; | |
1288 | char *kwnames[] = { | |
1289 | (char *) "self", NULL | |
1290 | }; | |
1291 | ||
1292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_StopParsing",kwnames,&obj0)) goto fail; | |
1293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1294 | { | |
1295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1296 | (arg1)->StopParsing(); | |
1297 | ||
1298 | wxPyEndAllowThreads(__tstate); | |
1299 | if (PyErr_Occurred()) SWIG_fail; | |
1300 | } | |
1301 | Py_INCREF(Py_None); resultobj = Py_None; | |
1302 | return resultobj; | |
1303 | fail: | |
1304 | return NULL; | |
1305 | } | |
1306 | ||
1307 | ||
1308 | static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1309 | PyObject *resultobj; | |
1310 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1311 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1312 | PyObject * obj0 = 0 ; | |
1313 | PyObject * obj1 = 0 ; | |
1314 | char *kwnames[] = { | |
1315 | (char *) "self",(char *) "handler", NULL | |
1316 | }; | |
1317 | ||
1318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlParser_AddTagHandler",kwnames,&obj0,&obj1)) goto fail; | |
1319 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1320 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1321 | { | |
1322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1323 | (arg1)->AddTagHandler(arg2); | |
1324 | ||
1325 | wxPyEndAllowThreads(__tstate); | |
1326 | if (PyErr_Occurred()) SWIG_fail; | |
1327 | } | |
1328 | Py_INCREF(Py_None); resultobj = Py_None; | |
1329 | return resultobj; | |
1330 | fail: | |
1331 | return NULL; | |
1332 | } | |
1333 | ||
1334 | ||
1335 | static PyObject *_wrap_HtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1336 | PyObject *resultobj; | |
1337 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1338 | wxString *result; | |
1339 | PyObject * obj0 = 0 ; | |
1340 | char *kwnames[] = { | |
1341 | (char *) "self", NULL | |
1342 | }; | |
1343 | ||
1344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_GetSource",kwnames,&obj0)) goto fail; | |
1345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1346 | { | |
1347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1348 | result = (wxString *)(arg1)->GetSource(); | |
1349 | ||
1350 | wxPyEndAllowThreads(__tstate); | |
1351 | if (PyErr_Occurred()) SWIG_fail; | |
1352 | } | |
1353 | { | |
1354 | #if wxUSE_UNICODE | |
1355 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
1356 | #else | |
1357 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
1358 | #endif | |
1359 | } | |
1360 | return resultobj; | |
1361 | fail: | |
1362 | return NULL; | |
1363 | } | |
1364 | ||
1365 | ||
1366 | static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1367 | PyObject *resultobj; | |
1368 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1369 | wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; | |
1370 | wxString arg3 ; | |
d14a1e28 RD |
1371 | PyObject * obj0 = 0 ; |
1372 | PyObject * obj1 = 0 ; | |
1373 | PyObject * obj2 = 0 ; | |
1374 | char *kwnames[] = { | |
1375 | (char *) "self",(char *) "handler",(char *) "tags", NULL | |
1376 | }; | |
1377 | ||
1378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlParser_PushTagHandler",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1379 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1380 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
423f194a RD |
1381 | { |
1382 | wxString* sptr = wxString_in_helper(obj2); | |
1383 | if (sptr == NULL) SWIG_fail; | |
1384 | arg3 = *sptr; | |
1385 | delete sptr; | |
1386 | } | |
d14a1e28 RD |
1387 | { |
1388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1389 | (arg1)->PushTagHandler(arg2,arg3); | |
1390 | ||
1391 | wxPyEndAllowThreads(__tstate); | |
1392 | if (PyErr_Occurred()) SWIG_fail; | |
1393 | } | |
1394 | Py_INCREF(Py_None); resultobj = Py_None; | |
1395 | return resultobj; | |
1396 | fail: | |
1397 | return NULL; | |
1398 | } | |
1399 | ||
1400 | ||
1401 | static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1402 | PyObject *resultobj; | |
1403 | wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; | |
1404 | PyObject * obj0 = 0 ; | |
1405 | char *kwnames[] = { | |
1406 | (char *) "self", NULL | |
1407 | }; | |
1408 | ||
1409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlParser_PopTagHandler",kwnames,&obj0)) goto fail; | |
1410 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1411 | { | |
1412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1413 | (arg1)->PopTagHandler(); | |
1414 | ||
1415 | wxPyEndAllowThreads(__tstate); | |
1416 | if (PyErr_Occurred()) SWIG_fail; | |
1417 | } | |
1418 | Py_INCREF(Py_None); resultobj = Py_None; | |
1419 | return resultobj; | |
1420 | fail: | |
1421 | return NULL; | |
1422 | } | |
1423 | ||
1424 | ||
1425 | static PyObject * HtmlParser_swigregister(PyObject *self, PyObject *args) { | |
1426 | PyObject *obj; | |
1427 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1428 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlParser, obj); | |
1429 | Py_INCREF(obj); | |
1430 | return Py_BuildValue((char *)""); | |
1431 | } | |
1432 | static PyObject *_wrap_new_HtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1433 | PyObject *resultobj; | |
1434 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; | |
1435 | wxHtmlWinParser *result; | |
1436 | PyObject * obj0 = 0 ; | |
1437 | char *kwnames[] = { | |
1438 | (char *) "wnd", NULL | |
1439 | }; | |
1440 | ||
1441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlWinParser",kwnames,&obj0)) goto fail; | |
1442 | if (obj0) { | |
1443 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1444 | } | |
1445 | { | |
1446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1447 | result = (wxHtmlWinParser *)new wxHtmlWinParser(arg1); | |
1448 | ||
1449 | wxPyEndAllowThreads(__tstate); | |
1450 | if (PyErr_Occurred()) SWIG_fail; | |
1451 | } | |
1452 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 1); | |
1453 | return resultobj; | |
1454 | fail: | |
1455 | return NULL; | |
1456 | } | |
1457 | ||
1458 | ||
1459 | static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1460 | PyObject *resultobj; | |
1461 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1462 | wxDC *arg2 = (wxDC *) 0 ; | |
1463 | PyObject * obj0 = 0 ; | |
1464 | PyObject * obj1 = 0 ; | |
1465 | char *kwnames[] = { | |
1466 | (char *) "self",(char *) "dc", NULL | |
1467 | }; | |
1468 | ||
1469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
1470 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1471 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1472 | { | |
1473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1474 | (arg1)->SetDC(arg2); | |
1475 | ||
1476 | wxPyEndAllowThreads(__tstate); | |
1477 | if (PyErr_Occurred()) SWIG_fail; | |
1478 | } | |
1479 | Py_INCREF(Py_None); resultobj = Py_None; | |
1480 | return resultobj; | |
1481 | fail: | |
1482 | return NULL; | |
1483 | } | |
1484 | ||
1485 | ||
1486 | static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1487 | PyObject *resultobj; | |
1488 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1489 | wxDC *result; | |
1490 | PyObject * obj0 = 0 ; | |
1491 | char *kwnames[] = { | |
1492 | (char *) "self", NULL | |
1493 | }; | |
1494 | ||
1495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetDC",kwnames,&obj0)) goto fail; | |
1496 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1497 | { | |
1498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1499 | result = (wxDC *)(arg1)->GetDC(); | |
1500 | ||
1501 | wxPyEndAllowThreads(__tstate); | |
1502 | if (PyErr_Occurred()) SWIG_fail; | |
1503 | } | |
1504 | { | |
1505 | resultobj = wxPyMake_wxObject(result); | |
1506 | } | |
1507 | return resultobj; | |
1508 | fail: | |
1509 | return NULL; | |
1510 | } | |
1511 | ||
1512 | ||
1513 | static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1514 | PyObject *resultobj; | |
1515 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1516 | int result; | |
1517 | PyObject * obj0 = 0 ; | |
1518 | char *kwnames[] = { | |
1519 | (char *) "self", NULL | |
1520 | }; | |
1521 | ||
1522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharHeight",kwnames,&obj0)) goto fail; | |
1523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1524 | { | |
1525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1526 | result = (int)(arg1)->GetCharHeight(); | |
1527 | ||
1528 | wxPyEndAllowThreads(__tstate); | |
1529 | if (PyErr_Occurred()) SWIG_fail; | |
1530 | } | |
1531 | resultobj = PyInt_FromLong((long)result); | |
1532 | return resultobj; | |
1533 | fail: | |
1534 | return NULL; | |
1535 | } | |
1536 | ||
1537 | ||
1538 | static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1539 | PyObject *resultobj; | |
1540 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1541 | int result; | |
1542 | PyObject * obj0 = 0 ; | |
1543 | char *kwnames[] = { | |
1544 | (char *) "self", NULL | |
1545 | }; | |
1546 | ||
1547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetCharWidth",kwnames,&obj0)) goto fail; | |
1548 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1549 | { | |
1550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1551 | result = (int)(arg1)->GetCharWidth(); | |
1552 | ||
1553 | wxPyEndAllowThreads(__tstate); | |
1554 | if (PyErr_Occurred()) SWIG_fail; | |
1555 | } | |
1556 | resultobj = PyInt_FromLong((long)result); | |
1557 | return resultobj; | |
1558 | fail: | |
1559 | return NULL; | |
1560 | } | |
1561 | ||
1562 | ||
1563 | static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1564 | PyObject *resultobj; | |
1565 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1566 | wxPyHtmlWindow *result; | |
1567 | PyObject * obj0 = 0 ; | |
1568 | char *kwnames[] = { | |
1569 | (char *) "self", NULL | |
1570 | }; | |
1571 | ||
1572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetWindow",kwnames,&obj0)) goto fail; | |
1573 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1574 | { | |
1575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1576 | result = (wxPyHtmlWindow *)(arg1)->GetWindow(); | |
1577 | ||
1578 | wxPyEndAllowThreads(__tstate); | |
1579 | if (PyErr_Occurred()) SWIG_fail; | |
1580 | } | |
1581 | { | |
1582 | resultobj = wxPyMake_wxObject(result); | |
1583 | } | |
1584 | return resultobj; | |
1585 | fail: | |
1586 | return NULL; | |
1587 | } | |
1588 | ||
1589 | ||
1590 | static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1591 | PyObject *resultobj; | |
1592 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1593 | wxString arg2 ; | |
1594 | wxString arg3 ; | |
1595 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
1596 | PyObject * obj0 = 0 ; |
1597 | PyObject * obj1 = 0 ; | |
1598 | PyObject * obj2 = 0 ; | |
1599 | PyObject * obj3 = 0 ; | |
1600 | char *kwnames[] = { | |
1601 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
1602 | }; | |
1603 | ||
1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWinParser_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
1605 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
423f194a RD |
1606 | { |
1607 | wxString* sptr = wxString_in_helper(obj1); | |
1608 | if (sptr == NULL) SWIG_fail; | |
1609 | arg2 = *sptr; | |
1610 | delete sptr; | |
1611 | } | |
1612 | { | |
1613 | wxString* sptr = wxString_in_helper(obj2); | |
1614 | if (sptr == NULL) SWIG_fail; | |
1615 | arg3 = *sptr; | |
1616 | delete sptr; | |
1617 | } | |
d14a1e28 RD |
1618 | if (obj3) { |
1619 | arg4 = obj3; | |
1620 | } | |
1621 | { | |
1622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1623 | wxHtmlWinParser_SetFonts(arg1,arg2,arg3,arg4); | |
1624 | ||
1625 | wxPyEndAllowThreads(__tstate); | |
1626 | if (PyErr_Occurred()) SWIG_fail; | |
1627 | } | |
1628 | Py_INCREF(Py_None); resultobj = Py_None; | |
1629 | return resultobj; | |
1630 | fail: | |
1631 | return NULL; | |
1632 | } | |
1633 | ||
1634 | ||
1635 | static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1636 | PyObject *resultobj; | |
1637 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1638 | wxHtmlContainerCell *result; | |
1639 | PyObject * obj0 = 0 ; | |
1640 | char *kwnames[] = { | |
1641 | (char *) "self", NULL | |
1642 | }; | |
1643 | ||
1644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetContainer",kwnames,&obj0)) goto fail; | |
1645 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1646 | { | |
1647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1648 | result = (wxHtmlContainerCell *)(arg1)->GetContainer(); | |
1649 | ||
1650 | wxPyEndAllowThreads(__tstate); | |
1651 | if (PyErr_Occurred()) SWIG_fail; | |
1652 | } | |
1653 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1654 | return resultobj; | |
1655 | fail: | |
1656 | return NULL; | |
1657 | } | |
1658 | ||
1659 | ||
1660 | static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1661 | PyObject *resultobj; | |
1662 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1663 | wxHtmlContainerCell *result; | |
1664 | PyObject * obj0 = 0 ; | |
1665 | char *kwnames[] = { | |
1666 | (char *) "self", NULL | |
1667 | }; | |
1668 | ||
1669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_OpenContainer",kwnames,&obj0)) goto fail; | |
1670 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1671 | { | |
1672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1673 | result = (wxHtmlContainerCell *)(arg1)->OpenContainer(); | |
1674 | ||
1675 | wxPyEndAllowThreads(__tstate); | |
1676 | if (PyErr_Occurred()) SWIG_fail; | |
1677 | } | |
1678 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1679 | return resultobj; | |
1680 | fail: | |
1681 | return NULL; | |
1682 | } | |
1683 | ||
1684 | ||
1685 | static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1686 | PyObject *resultobj; | |
1687 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1688 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
1689 | wxHtmlContainerCell *result; | |
1690 | PyObject * obj0 = 0 ; | |
1691 | PyObject * obj1 = 0 ; | |
1692 | char *kwnames[] = { | |
1693 | (char *) "self",(char *) "c", NULL | |
1694 | }; | |
1695 | ||
1696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetContainer",kwnames,&obj0,&obj1)) goto fail; | |
1697 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1698 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1699 | { | |
1700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1701 | result = (wxHtmlContainerCell *)(arg1)->SetContainer(arg2); | |
1702 | ||
1703 | wxPyEndAllowThreads(__tstate); | |
1704 | if (PyErr_Occurred()) SWIG_fail; | |
1705 | } | |
1706 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1707 | return resultobj; | |
1708 | fail: | |
1709 | return NULL; | |
1710 | } | |
1711 | ||
1712 | ||
1713 | static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1714 | PyObject *resultobj; | |
1715 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1716 | wxHtmlContainerCell *result; | |
1717 | PyObject * obj0 = 0 ; | |
1718 | char *kwnames[] = { | |
1719 | (char *) "self", NULL | |
1720 | }; | |
1721 | ||
1722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CloseContainer",kwnames,&obj0)) goto fail; | |
1723 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1724 | { | |
1725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1726 | result = (wxHtmlContainerCell *)(arg1)->CloseContainer(); | |
1727 | ||
1728 | wxPyEndAllowThreads(__tstate); | |
1729 | if (PyErr_Occurred()) SWIG_fail; | |
1730 | } | |
1731 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
1732 | return resultobj; | |
1733 | fail: | |
1734 | return NULL; | |
1735 | } | |
1736 | ||
1737 | ||
1738 | static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1739 | PyObject *resultobj; | |
1740 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1741 | int result; | |
1742 | PyObject * obj0 = 0 ; | |
1743 | char *kwnames[] = { | |
1744 | (char *) "self", NULL | |
1745 | }; | |
1746 | ||
1747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontSize",kwnames,&obj0)) goto fail; | |
1748 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1749 | { | |
1750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1751 | result = (int)(arg1)->GetFontSize(); | |
1752 | ||
1753 | wxPyEndAllowThreads(__tstate); | |
1754 | if (PyErr_Occurred()) SWIG_fail; | |
1755 | } | |
1756 | resultobj = PyInt_FromLong((long)result); | |
1757 | return resultobj; | |
1758 | fail: | |
1759 | return NULL; | |
1760 | } | |
1761 | ||
1762 | ||
1763 | static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1764 | PyObject *resultobj; | |
1765 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1766 | int arg2 ; | |
1767 | PyObject * obj0 = 0 ; | |
1768 | char *kwnames[] = { | |
1769 | (char *) "self",(char *) "s", NULL | |
1770 | }; | |
1771 | ||
1772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontSize",kwnames,&obj0,&arg2)) goto fail; | |
1773 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1774 | { | |
1775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1776 | (arg1)->SetFontSize(arg2); | |
1777 | ||
1778 | wxPyEndAllowThreads(__tstate); | |
1779 | if (PyErr_Occurred()) SWIG_fail; | |
1780 | } | |
1781 | Py_INCREF(Py_None); resultobj = Py_None; | |
1782 | return resultobj; | |
1783 | fail: | |
1784 | return NULL; | |
1785 | } | |
1786 | ||
1787 | ||
1788 | static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1789 | PyObject *resultobj; | |
1790 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1791 | int result; | |
1792 | PyObject * obj0 = 0 ; | |
1793 | char *kwnames[] = { | |
1794 | (char *) "self", NULL | |
1795 | }; | |
1796 | ||
1797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontBold",kwnames,&obj0)) goto fail; | |
1798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1799 | { | |
1800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1801 | result = (int)(arg1)->GetFontBold(); | |
1802 | ||
1803 | wxPyEndAllowThreads(__tstate); | |
1804 | if (PyErr_Occurred()) SWIG_fail; | |
1805 | } | |
1806 | resultobj = PyInt_FromLong((long)result); | |
1807 | return resultobj; | |
1808 | fail: | |
1809 | return NULL; | |
1810 | } | |
1811 | ||
1812 | ||
1813 | static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1814 | PyObject *resultobj; | |
1815 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1816 | int arg2 ; | |
1817 | PyObject * obj0 = 0 ; | |
1818 | char *kwnames[] = { | |
1819 | (char *) "self",(char *) "x", NULL | |
1820 | }; | |
1821 | ||
1822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontBold",kwnames,&obj0,&arg2)) goto fail; | |
1823 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1824 | { | |
1825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1826 | (arg1)->SetFontBold(arg2); | |
1827 | ||
1828 | wxPyEndAllowThreads(__tstate); | |
1829 | if (PyErr_Occurred()) SWIG_fail; | |
1830 | } | |
1831 | Py_INCREF(Py_None); resultobj = Py_None; | |
1832 | return resultobj; | |
1833 | fail: | |
1834 | return NULL; | |
1835 | } | |
1836 | ||
1837 | ||
1838 | static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1839 | PyObject *resultobj; | |
1840 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1841 | int result; | |
1842 | PyObject * obj0 = 0 ; | |
1843 | char *kwnames[] = { | |
1844 | (char *) "self", NULL | |
1845 | }; | |
1846 | ||
1847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontItalic",kwnames,&obj0)) goto fail; | |
1848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1849 | { | |
1850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1851 | result = (int)(arg1)->GetFontItalic(); | |
1852 | ||
1853 | wxPyEndAllowThreads(__tstate); | |
1854 | if (PyErr_Occurred()) SWIG_fail; | |
1855 | } | |
1856 | resultobj = PyInt_FromLong((long)result); | |
1857 | return resultobj; | |
1858 | fail: | |
1859 | return NULL; | |
1860 | } | |
1861 | ||
1862 | ||
1863 | static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1864 | PyObject *resultobj; | |
1865 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1866 | int arg2 ; | |
1867 | PyObject * obj0 = 0 ; | |
1868 | char *kwnames[] = { | |
1869 | (char *) "self",(char *) "x", NULL | |
1870 | }; | |
1871 | ||
1872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontItalic",kwnames,&obj0,&arg2)) goto fail; | |
1873 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1874 | { | |
1875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1876 | (arg1)->SetFontItalic(arg2); | |
1877 | ||
1878 | wxPyEndAllowThreads(__tstate); | |
1879 | if (PyErr_Occurred()) SWIG_fail; | |
1880 | } | |
1881 | Py_INCREF(Py_None); resultobj = Py_None; | |
1882 | return resultobj; | |
1883 | fail: | |
1884 | return NULL; | |
1885 | } | |
1886 | ||
1887 | ||
1888 | static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1889 | PyObject *resultobj; | |
1890 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1891 | int result; | |
1892 | PyObject * obj0 = 0 ; | |
1893 | char *kwnames[] = { | |
1894 | (char *) "self", NULL | |
1895 | }; | |
1896 | ||
1897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontUnderlined",kwnames,&obj0)) goto fail; | |
1898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1899 | { | |
1900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1901 | result = (int)(arg1)->GetFontUnderlined(); | |
1902 | ||
1903 | wxPyEndAllowThreads(__tstate); | |
1904 | if (PyErr_Occurred()) SWIG_fail; | |
1905 | } | |
1906 | resultobj = PyInt_FromLong((long)result); | |
1907 | return resultobj; | |
1908 | fail: | |
1909 | return NULL; | |
1910 | } | |
1911 | ||
1912 | ||
1913 | static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1914 | PyObject *resultobj; | |
1915 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1916 | int arg2 ; | |
1917 | PyObject * obj0 = 0 ; | |
1918 | char *kwnames[] = { | |
1919 | (char *) "self",(char *) "x", NULL | |
1920 | }; | |
1921 | ||
1922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontUnderlined",kwnames,&obj0,&arg2)) goto fail; | |
1923 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1924 | { | |
1925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1926 | (arg1)->SetFontUnderlined(arg2); | |
1927 | ||
1928 | wxPyEndAllowThreads(__tstate); | |
1929 | if (PyErr_Occurred()) SWIG_fail; | |
1930 | } | |
1931 | Py_INCREF(Py_None); resultobj = Py_None; | |
1932 | return resultobj; | |
1933 | fail: | |
1934 | return NULL; | |
1935 | } | |
1936 | ||
1937 | ||
1938 | static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1939 | PyObject *resultobj; | |
1940 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1941 | int result; | |
1942 | PyObject * obj0 = 0 ; | |
1943 | char *kwnames[] = { | |
1944 | (char *) "self", NULL | |
1945 | }; | |
1946 | ||
1947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetFontFixed",kwnames,&obj0)) goto fail; | |
1948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1949 | { | |
1950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1951 | result = (int)(arg1)->GetFontFixed(); | |
1952 | ||
1953 | wxPyEndAllowThreads(__tstate); | |
1954 | if (PyErr_Occurred()) SWIG_fail; | |
1955 | } | |
1956 | resultobj = PyInt_FromLong((long)result); | |
1957 | return resultobj; | |
1958 | fail: | |
1959 | return NULL; | |
1960 | } | |
1961 | ||
1962 | ||
1963 | static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1964 | PyObject *resultobj; | |
1965 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1966 | int arg2 ; | |
1967 | PyObject * obj0 = 0 ; | |
1968 | char *kwnames[] = { | |
1969 | (char *) "self",(char *) "x", NULL | |
1970 | }; | |
1971 | ||
1972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetFontFixed",kwnames,&obj0,&arg2)) goto fail; | |
1973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1974 | { | |
1975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1976 | (arg1)->SetFontFixed(arg2); | |
1977 | ||
1978 | wxPyEndAllowThreads(__tstate); | |
1979 | if (PyErr_Occurred()) SWIG_fail; | |
1980 | } | |
1981 | Py_INCREF(Py_None); resultobj = Py_None; | |
1982 | return resultobj; | |
1983 | fail: | |
1984 | return NULL; | |
1985 | } | |
1986 | ||
1987 | ||
1988 | static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1989 | PyObject *resultobj; | |
1990 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
1991 | int result; | |
1992 | PyObject * obj0 = 0 ; | |
1993 | char *kwnames[] = { | |
1994 | (char *) "self", NULL | |
1995 | }; | |
1996 | ||
1997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetAlign",kwnames,&obj0)) goto fail; | |
1998 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1999 | { | |
2000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2001 | result = (int)(arg1)->GetAlign(); | |
2002 | ||
2003 | wxPyEndAllowThreads(__tstate); | |
2004 | if (PyErr_Occurred()) SWIG_fail; | |
2005 | } | |
2006 | resultobj = PyInt_FromLong((long)result); | |
2007 | return resultobj; | |
2008 | fail: | |
2009 | return NULL; | |
2010 | } | |
2011 | ||
2012 | ||
2013 | static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2014 | PyObject *resultobj; | |
2015 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2016 | int arg2 ; | |
2017 | PyObject * obj0 = 0 ; | |
2018 | char *kwnames[] = { | |
2019 | (char *) "self",(char *) "a", NULL | |
2020 | }; | |
2021 | ||
2022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWinParser_SetAlign",kwnames,&obj0,&arg2)) goto fail; | |
2023 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2024 | { | |
2025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2026 | (arg1)->SetAlign(arg2); | |
2027 | ||
2028 | wxPyEndAllowThreads(__tstate); | |
2029 | if (PyErr_Occurred()) SWIG_fail; | |
2030 | } | |
2031 | Py_INCREF(Py_None); resultobj = Py_None; | |
2032 | return resultobj; | |
2033 | fail: | |
2034 | return NULL; | |
2035 | } | |
2036 | ||
2037 | ||
2038 | static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2039 | PyObject *resultobj; | |
2040 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2041 | wxColour result; | |
2042 | PyObject * obj0 = 0 ; | |
2043 | char *kwnames[] = { | |
2044 | (char *) "self", NULL | |
2045 | }; | |
2046 | ||
2047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLinkColor",kwnames,&obj0)) goto fail; | |
2048 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2049 | { | |
2050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2051 | result = (arg1)->GetLinkColor(); | |
2052 | ||
2053 | wxPyEndAllowThreads(__tstate); | |
2054 | if (PyErr_Occurred()) SWIG_fail; | |
2055 | } | |
2056 | { | |
2057 | wxColour * resultptr; | |
2058 | resultptr = new wxColour((wxColour &) result); | |
2059 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2060 | } | |
2061 | return resultobj; | |
2062 | fail: | |
2063 | return NULL; | |
2064 | } | |
2065 | ||
2066 | ||
2067 | static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2068 | PyObject *resultobj; | |
2069 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2070 | wxColour *arg2 = 0 ; | |
2071 | wxColour temp2 ; | |
2072 | PyObject * obj0 = 0 ; | |
2073 | PyObject * obj1 = 0 ; | |
2074 | char *kwnames[] = { | |
2075 | (char *) "self",(char *) "clr", NULL | |
2076 | }; | |
2077 | ||
2078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLinkColor",kwnames,&obj0,&obj1)) goto fail; | |
2079 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2080 | { | |
2081 | arg2 = &temp2; | |
2082 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2083 | } | |
2084 | { | |
2085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2086 | (arg1)->SetLinkColor((wxColour const &)*arg2); | |
2087 | ||
2088 | wxPyEndAllowThreads(__tstate); | |
2089 | if (PyErr_Occurred()) SWIG_fail; | |
2090 | } | |
2091 | Py_INCREF(Py_None); resultobj = Py_None; | |
2092 | return resultobj; | |
2093 | fail: | |
2094 | return NULL; | |
2095 | } | |
2096 | ||
2097 | ||
2098 | static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2099 | PyObject *resultobj; | |
2100 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2101 | wxColour result; | |
2102 | PyObject * obj0 = 0 ; | |
2103 | char *kwnames[] = { | |
2104 | (char *) "self", NULL | |
2105 | }; | |
2106 | ||
2107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetActualColor",kwnames,&obj0)) goto fail; | |
2108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2109 | { | |
2110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2111 | result = (arg1)->GetActualColor(); | |
2112 | ||
2113 | wxPyEndAllowThreads(__tstate); | |
2114 | if (PyErr_Occurred()) SWIG_fail; | |
2115 | } | |
2116 | { | |
2117 | wxColour * resultptr; | |
2118 | resultptr = new wxColour((wxColour &) result); | |
2119 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2120 | } | |
2121 | return resultobj; | |
2122 | fail: | |
2123 | return NULL; | |
2124 | } | |
2125 | ||
2126 | ||
2127 | static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2128 | PyObject *resultobj; | |
2129 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2130 | wxColour *arg2 = 0 ; | |
2131 | wxColour temp2 ; | |
2132 | PyObject * obj0 = 0 ; | |
2133 | PyObject * obj1 = 0 ; | |
2134 | char *kwnames[] = { | |
2135 | (char *) "self",(char *) "clr", NULL | |
2136 | }; | |
2137 | ||
2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetActualColor",kwnames,&obj0,&obj1)) goto fail; | |
2139 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2140 | { | |
2141 | arg2 = &temp2; | |
2142 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2143 | } | |
2144 | { | |
2145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2146 | (arg1)->SetActualColor((wxColour const &)*arg2); | |
2147 | ||
2148 | wxPyEndAllowThreads(__tstate); | |
2149 | if (PyErr_Occurred()) SWIG_fail; | |
2150 | } | |
2151 | Py_INCREF(Py_None); resultobj = Py_None; | |
2152 | return resultobj; | |
2153 | fail: | |
2154 | return NULL; | |
2155 | } | |
2156 | ||
2157 | ||
2158 | static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2159 | PyObject *resultobj; | |
2160 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2161 | wxString *arg2 = 0 ; | |
423f194a | 2162 | bool temp2 = False ; |
d14a1e28 RD |
2163 | PyObject * obj0 = 0 ; |
2164 | PyObject * obj1 = 0 ; | |
2165 | char *kwnames[] = { | |
2166 | (char *) "self",(char *) "link", NULL | |
2167 | }; | |
2168 | ||
2169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinParser_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
2170 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2171 | { | |
2172 | arg2 = wxString_in_helper(obj1); | |
2173 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 2174 | temp2 = True; |
d14a1e28 RD |
2175 | } |
2176 | { | |
2177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2178 | (arg1)->SetLink((wxString const &)*arg2); | |
2179 | ||
2180 | wxPyEndAllowThreads(__tstate); | |
2181 | if (PyErr_Occurred()) SWIG_fail; | |
2182 | } | |
2183 | Py_INCREF(Py_None); resultobj = Py_None; | |
2184 | { | |
2185 | if (temp2) | |
2186 | delete arg2; | |
2187 | } | |
2188 | return resultobj; | |
2189 | fail: | |
2190 | { | |
2191 | if (temp2) | |
2192 | delete arg2; | |
2193 | } | |
2194 | return NULL; | |
2195 | } | |
2196 | ||
2197 | ||
2198 | static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2199 | PyObject *resultobj; | |
2200 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2201 | wxFont *result; | |
2202 | PyObject * obj0 = 0 ; | |
2203 | char *kwnames[] = { | |
2204 | (char *) "self", NULL | |
2205 | }; | |
2206 | ||
2207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_CreateCurrentFont",kwnames,&obj0)) goto fail; | |
2208 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2209 | { | |
2210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2211 | result = (wxFont *)(arg1)->CreateCurrentFont(); | |
2212 | ||
2213 | wxPyEndAllowThreads(__tstate); | |
2214 | if (PyErr_Occurred()) SWIG_fail; | |
2215 | } | |
2216 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0); | |
2217 | return resultobj; | |
2218 | fail: | |
2219 | return NULL; | |
2220 | } | |
2221 | ||
2222 | ||
2223 | static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2224 | PyObject *resultobj; | |
2225 | wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; | |
2226 | SwigValueWrapper< wxHtmlLinkInfo > result; | |
2227 | PyObject * obj0 = 0 ; | |
2228 | char *kwnames[] = { | |
2229 | (char *) "self", NULL | |
2230 | }; | |
2231 | ||
2232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_GetLink",kwnames,&obj0)) goto fail; | |
2233 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlWinParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2234 | { | |
2235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2236 | result = (arg1)->GetLink(); | |
2237 | ||
2238 | wxPyEndAllowThreads(__tstate); | |
2239 | if (PyErr_Occurred()) SWIG_fail; | |
2240 | } | |
2241 | { | |
2242 | wxHtmlLinkInfo * resultptr; | |
2243 | resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &) result); | |
2244 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxHtmlLinkInfo, 1); | |
2245 | } | |
2246 | return resultobj; | |
2247 | fail: | |
2248 | return NULL; | |
2249 | } | |
2250 | ||
2251 | ||
2252 | static PyObject * HtmlWinParser_swigregister(PyObject *self, PyObject *args) { | |
2253 | PyObject *obj; | |
2254 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2255 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWinParser, obj); | |
2256 | Py_INCREF(obj); | |
2257 | return Py_BuildValue((char *)""); | |
2258 | } | |
2259 | static PyObject *_wrap_new_HtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2260 | PyObject *resultobj; | |
2261 | wxPyHtmlTagHandler *result; | |
2262 | char *kwnames[] = { | |
2263 | NULL | |
2264 | }; | |
2265 | ||
2266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlTagHandler",kwnames)) goto fail; | |
2267 | { | |
2268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2269 | result = (wxPyHtmlTagHandler *)new wxPyHtmlTagHandler(); | |
2270 | ||
2271 | wxPyEndAllowThreads(__tstate); | |
2272 | if (PyErr_Occurred()) SWIG_fail; | |
2273 | } | |
2274 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlTagHandler, 1); | |
2275 | return resultobj; | |
2276 | fail: | |
2277 | return NULL; | |
2278 | } | |
2279 | ||
2280 | ||
2281 | static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2282 | PyObject *resultobj; | |
2283 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2284 | PyObject *arg2 = (PyObject *) 0 ; | |
2285 | PyObject *arg3 = (PyObject *) 0 ; | |
2286 | PyObject * obj0 = 0 ; | |
2287 | PyObject * obj1 = 0 ; | |
2288 | PyObject * obj2 = 0 ; | |
2289 | char *kwnames[] = { | |
2290 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2291 | }; | |
2292 | ||
2293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2294 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2295 | arg2 = obj1; | |
2296 | arg3 = obj2; | |
2297 | { | |
2298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2299 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2300 | ||
2301 | wxPyEndAllowThreads(__tstate); | |
2302 | if (PyErr_Occurred()) SWIG_fail; | |
2303 | } | |
2304 | Py_INCREF(Py_None); resultobj = Py_None; | |
2305 | return resultobj; | |
2306 | fail: | |
2307 | return NULL; | |
2308 | } | |
2309 | ||
2310 | ||
2311 | static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2312 | PyObject *resultobj; | |
2313 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2314 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2315 | PyObject * obj0 = 0 ; | |
2316 | PyObject * obj1 = 0 ; | |
2317 | char *kwnames[] = { | |
2318 | (char *) "self",(char *) "parser", NULL | |
2319 | }; | |
2320 | ||
2321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2322 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2323 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2324 | { | |
2325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2326 | (arg1)->SetParser(arg2); | |
2327 | ||
2328 | wxPyEndAllowThreads(__tstate); | |
2329 | if (PyErr_Occurred()) SWIG_fail; | |
2330 | } | |
2331 | Py_INCREF(Py_None); resultobj = Py_None; | |
2332 | return resultobj; | |
2333 | fail: | |
2334 | return NULL; | |
2335 | } | |
2336 | ||
2337 | ||
2338 | static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2339 | PyObject *resultobj; | |
2340 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2341 | wxHtmlParser *result; | |
2342 | PyObject * obj0 = 0 ; | |
2343 | char *kwnames[] = { | |
2344 | (char *) "self", NULL | |
2345 | }; | |
2346 | ||
2347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2348 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2349 | { | |
2350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2351 | result = (wxHtmlParser *)(arg1)->GetParser(); | |
2352 | ||
2353 | wxPyEndAllowThreads(__tstate); | |
2354 | if (PyErr_Occurred()) SWIG_fail; | |
2355 | } | |
2356 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlParser, 0); | |
2357 | return resultobj; | |
2358 | fail: | |
2359 | return NULL; | |
2360 | } | |
2361 | ||
2362 | ||
2363 | static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2364 | PyObject *resultobj; | |
2365 | wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; | |
2366 | wxHtmlTag *arg2 = 0 ; | |
2367 | PyObject * obj0 = 0 ; | |
2368 | PyObject * obj1 = 0 ; | |
2369 | char *kwnames[] = { | |
2370 | (char *) "self",(char *) "tag", NULL | |
2371 | }; | |
2372 | ||
2373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2374 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2375 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2376 | if (arg2 == NULL) { | |
2377 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2378 | } | |
2379 | { | |
2380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2381 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2382 | ||
2383 | wxPyEndAllowThreads(__tstate); | |
2384 | if (PyErr_Occurred()) SWIG_fail; | |
2385 | } | |
2386 | Py_INCREF(Py_None); resultobj = Py_None; | |
2387 | return resultobj; | |
2388 | fail: | |
2389 | return NULL; | |
2390 | } | |
2391 | ||
2392 | ||
2393 | static PyObject * HtmlTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2394 | PyObject *obj; | |
2395 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2396 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlTagHandler, obj); | |
2397 | Py_INCREF(obj); | |
2398 | return Py_BuildValue((char *)""); | |
2399 | } | |
2400 | static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2401 | PyObject *resultobj; | |
2402 | wxPyHtmlWinTagHandler *result; | |
2403 | char *kwnames[] = { | |
2404 | NULL | |
2405 | }; | |
2406 | ||
2407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlWinTagHandler",kwnames)) goto fail; | |
2408 | { | |
2409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2410 | result = (wxPyHtmlWinTagHandler *)new wxPyHtmlWinTagHandler(); | |
2411 | ||
2412 | wxPyEndAllowThreads(__tstate); | |
2413 | if (PyErr_Occurred()) SWIG_fail; | |
2414 | } | |
2415 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlWinTagHandler, 1); | |
2416 | return resultobj; | |
2417 | fail: | |
2418 | return NULL; | |
2419 | } | |
2420 | ||
2421 | ||
2422 | static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2423 | PyObject *resultobj; | |
2424 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2425 | PyObject *arg2 = (PyObject *) 0 ; | |
2426 | PyObject *arg3 = (PyObject *) 0 ; | |
2427 | PyObject * obj0 = 0 ; | |
2428 | PyObject * obj1 = 0 ; | |
2429 | PyObject * obj2 = 0 ; | |
2430 | char *kwnames[] = { | |
2431 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2432 | }; | |
2433 | ||
2434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWinTagHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2436 | arg2 = obj1; | |
2437 | arg3 = obj2; | |
2438 | { | |
2439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2440 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2441 | ||
2442 | wxPyEndAllowThreads(__tstate); | |
2443 | if (PyErr_Occurred()) SWIG_fail; | |
2444 | } | |
2445 | Py_INCREF(Py_None); resultobj = Py_None; | |
2446 | return resultobj; | |
2447 | fail: | |
2448 | return NULL; | |
2449 | } | |
2450 | ||
2451 | ||
2452 | static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2453 | PyObject *resultobj; | |
2454 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2455 | wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; | |
2456 | PyObject * obj0 = 0 ; | |
2457 | PyObject * obj1 = 0 ; | |
2458 | char *kwnames[] = { | |
2459 | (char *) "self",(char *) "parser", NULL | |
2460 | }; | |
2461 | ||
2462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_SetParser",kwnames,&obj0,&obj1)) goto fail; | |
2463 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2464 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlParser,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2465 | { | |
2466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2467 | (arg1)->SetParser(arg2); | |
2468 | ||
2469 | wxPyEndAllowThreads(__tstate); | |
2470 | if (PyErr_Occurred()) SWIG_fail; | |
2471 | } | |
2472 | Py_INCREF(Py_None); resultobj = Py_None; | |
2473 | return resultobj; | |
2474 | fail: | |
2475 | return NULL; | |
2476 | } | |
2477 | ||
2478 | ||
2479 | static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2480 | PyObject *resultobj; | |
2481 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2482 | wxHtmlWinParser *result; | |
2483 | PyObject * obj0 = 0 ; | |
2484 | char *kwnames[] = { | |
2485 | (char *) "self", NULL | |
2486 | }; | |
2487 | ||
2488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinTagHandler_GetParser",kwnames,&obj0)) goto fail; | |
2489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2490 | { | |
2491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2492 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
2493 | ||
2494 | wxPyEndAllowThreads(__tstate); | |
2495 | if (PyErr_Occurred()) SWIG_fail; | |
2496 | } | |
2497 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
2498 | return resultobj; | |
2499 | fail: | |
2500 | return NULL; | |
2501 | } | |
2502 | ||
2503 | ||
2504 | static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2505 | PyObject *resultobj; | |
2506 | wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; | |
2507 | wxHtmlTag *arg2 = 0 ; | |
2508 | PyObject * obj0 = 0 ; | |
2509 | PyObject * obj1 = 0 ; | |
2510 | char *kwnames[] = { | |
2511 | (char *) "self",(char *) "tag", NULL | |
2512 | }; | |
2513 | ||
2514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWinTagHandler_ParseInner",kwnames,&obj0,&obj1)) goto fail; | |
2515 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWinTagHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2516 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2517 | if (arg2 == NULL) { | |
2518 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2519 | } | |
2520 | { | |
2521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2522 | (arg1)->ParseInner((wxHtmlTag const &)*arg2); | |
2523 | ||
2524 | wxPyEndAllowThreads(__tstate); | |
2525 | if (PyErr_Occurred()) SWIG_fail; | |
2526 | } | |
2527 | Py_INCREF(Py_None); resultobj = Py_None; | |
2528 | return resultobj; | |
2529 | fail: | |
2530 | return NULL; | |
2531 | } | |
2532 | ||
2533 | ||
2534 | static PyObject * HtmlWinTagHandler_swigregister(PyObject *self, PyObject *args) { | |
2535 | PyObject *obj; | |
2536 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2537 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWinTagHandler, obj); | |
2538 | Py_INCREF(obj); | |
2539 | return Py_BuildValue((char *)""); | |
2540 | } | |
2541 | static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2542 | PyObject *resultobj; | |
2543 | PyObject *arg1 = (PyObject *) 0 ; | |
2544 | PyObject * obj0 = 0 ; | |
2545 | char *kwnames[] = { | |
2546 | (char *) "tagHandlerClass", NULL | |
2547 | }; | |
2548 | ||
2549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWinParser_AddTagHandler",kwnames,&obj0)) goto fail; | |
2550 | arg1 = obj0; | |
2551 | { | |
2552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2553 | wxHtmlWinParser_AddTagHandler(arg1); | |
2554 | ||
2555 | wxPyEndAllowThreads(__tstate); | |
2556 | if (PyErr_Occurred()) SWIG_fail; | |
2557 | } | |
2558 | Py_INCREF(Py_None); resultobj = Py_None; | |
2559 | return resultobj; | |
2560 | fail: | |
2561 | return NULL; | |
2562 | } | |
2563 | ||
2564 | ||
2565 | static PyObject *_wrap_new_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2566 | PyObject *resultobj; | |
2567 | wxHtmlSelection *result; | |
2568 | char *kwnames[] = { | |
2569 | NULL | |
2570 | }; | |
2571 | ||
2572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlSelection",kwnames)) goto fail; | |
2573 | { | |
2574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2575 | result = (wxHtmlSelection *)new wxHtmlSelection(); | |
2576 | ||
2577 | wxPyEndAllowThreads(__tstate); | |
2578 | if (PyErr_Occurred()) SWIG_fail; | |
2579 | } | |
2580 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 1); | |
2581 | return resultobj; | |
2582 | fail: | |
2583 | return NULL; | |
2584 | } | |
2585 | ||
2586 | ||
2587 | static PyObject *_wrap_delete_HtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2588 | PyObject *resultobj; | |
2589 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2590 | PyObject * obj0 = 0 ; | |
2591 | char *kwnames[] = { | |
2592 | (char *) "self", NULL | |
2593 | }; | |
2594 | ||
2595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlSelection",kwnames,&obj0)) goto fail; | |
2596 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2597 | { | |
2598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2599 | delete arg1; | |
2600 | ||
2601 | wxPyEndAllowThreads(__tstate); | |
2602 | if (PyErr_Occurred()) SWIG_fail; | |
2603 | } | |
2604 | Py_INCREF(Py_None); resultobj = Py_None; | |
2605 | return resultobj; | |
2606 | fail: | |
2607 | return NULL; | |
2608 | } | |
2609 | ||
2610 | ||
2611 | static PyObject *_wrap_HtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2612 | PyObject *resultobj; | |
2613 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2614 | wxPoint *arg2 = 0 ; | |
2615 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2616 | wxPoint *arg4 = 0 ; | |
2617 | wxHtmlCell *arg5 = (wxHtmlCell *) 0 ; | |
2618 | wxPoint temp2 ; | |
2619 | wxPoint temp4 ; | |
2620 | PyObject * obj0 = 0 ; | |
2621 | PyObject * obj1 = 0 ; | |
2622 | PyObject * obj2 = 0 ; | |
2623 | PyObject * obj3 = 0 ; | |
2624 | PyObject * obj4 = 0 ; | |
2625 | char *kwnames[] = { | |
2626 | (char *) "self",(char *) "fromPos",(char *) "fromCell",(char *) "toPos",(char *) "toCell", NULL | |
2627 | }; | |
2628 | ||
2629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:HtmlSelection_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2630 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2631 | { | |
2632 | arg2 = &temp2; | |
2633 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2634 | } | |
2635 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2636 | { | |
2637 | arg4 = &temp4; | |
2638 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2639 | } | |
2640 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2641 | { | |
2642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2643 | (arg1)->Set((wxPoint const &)*arg2,(wxHtmlCell const *)arg3,(wxPoint const &)*arg4,(wxHtmlCell const *)arg5); | |
2644 | ||
2645 | wxPyEndAllowThreads(__tstate); | |
2646 | if (PyErr_Occurred()) SWIG_fail; | |
2647 | } | |
2648 | Py_INCREF(Py_None); resultobj = Py_None; | |
2649 | return resultobj; | |
2650 | fail: | |
2651 | return NULL; | |
2652 | } | |
2653 | ||
2654 | ||
2655 | static PyObject *_wrap_HtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2656 | PyObject *resultobj; | |
2657 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2658 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
2659 | wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; | |
2660 | PyObject * obj0 = 0 ; | |
2661 | PyObject * obj1 = 0 ; | |
2662 | PyObject * obj2 = 0 ; | |
2663 | char *kwnames[] = { | |
2664 | (char *) "self",(char *) "fromCell",(char *) "toCell", NULL | |
2665 | }; | |
2666 | ||
2667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlSelection_SetCells",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2668 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2669 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2670 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2671 | { | |
2672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2673 | (arg1)->Set((wxHtmlCell const *)arg2,(wxHtmlCell const *)arg3); | |
2674 | ||
2675 | wxPyEndAllowThreads(__tstate); | |
2676 | if (PyErr_Occurred()) SWIG_fail; | |
2677 | } | |
2678 | Py_INCREF(Py_None); resultobj = Py_None; | |
2679 | return resultobj; | |
2680 | fail: | |
2681 | return NULL; | |
2682 | } | |
2683 | ||
2684 | ||
2685 | static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2686 | PyObject *resultobj; | |
2687 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2688 | wxHtmlCell *result; | |
2689 | PyObject * obj0 = 0 ; | |
2690 | char *kwnames[] = { | |
2691 | (char *) "self", NULL | |
2692 | }; | |
2693 | ||
2694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromCell",kwnames,&obj0)) goto fail; | |
2695 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2696 | { | |
2697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2698 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetFromCell(); | |
2699 | ||
2700 | wxPyEndAllowThreads(__tstate); | |
2701 | if (PyErr_Occurred()) SWIG_fail; | |
2702 | } | |
2703 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2704 | return resultobj; | |
2705 | fail: | |
2706 | return NULL; | |
2707 | } | |
2708 | ||
2709 | ||
2710 | static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2711 | PyObject *resultobj; | |
2712 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2713 | wxHtmlCell *result; | |
2714 | PyObject * obj0 = 0 ; | |
2715 | char *kwnames[] = { | |
2716 | (char *) "self", NULL | |
2717 | }; | |
2718 | ||
2719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToCell",kwnames,&obj0)) goto fail; | |
2720 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2721 | { | |
2722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2723 | result = (wxHtmlCell *)((wxHtmlSelection const *)arg1)->GetToCell(); | |
2724 | ||
2725 | wxPyEndAllowThreads(__tstate); | |
2726 | if (PyErr_Occurred()) SWIG_fail; | |
2727 | } | |
2728 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
2729 | return resultobj; | |
2730 | fail: | |
2731 | return NULL; | |
2732 | } | |
2733 | ||
2734 | ||
2735 | static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2736 | PyObject *resultobj; | |
2737 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2738 | wxPoint *result; | |
2739 | PyObject * obj0 = 0 ; | |
2740 | char *kwnames[] = { | |
2741 | (char *) "self", NULL | |
2742 | }; | |
2743 | ||
2744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPos",kwnames,&obj0)) goto fail; | |
2745 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2746 | { | |
2747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2748 | { | |
2749 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPos(); | |
2750 | result = (wxPoint *) &_result_ref; | |
2751 | } | |
2752 | ||
2753 | wxPyEndAllowThreads(__tstate); | |
2754 | if (PyErr_Occurred()) SWIG_fail; | |
2755 | } | |
2756 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2757 | return resultobj; | |
2758 | fail: | |
2759 | return NULL; | |
2760 | } | |
2761 | ||
2762 | ||
2763 | static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2764 | PyObject *resultobj; | |
2765 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2766 | wxPoint *result; | |
2767 | PyObject * obj0 = 0 ; | |
2768 | char *kwnames[] = { | |
2769 | (char *) "self", NULL | |
2770 | }; | |
2771 | ||
2772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPos",kwnames,&obj0)) goto fail; | |
2773 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2774 | { | |
2775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2776 | { | |
2777 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPos(); | |
2778 | result = (wxPoint *) &_result_ref; | |
2779 | } | |
2780 | ||
2781 | wxPyEndAllowThreads(__tstate); | |
2782 | if (PyErr_Occurred()) SWIG_fail; | |
2783 | } | |
2784 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2785 | return resultobj; | |
2786 | fail: | |
2787 | return NULL; | |
2788 | } | |
2789 | ||
2790 | ||
2791 | static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2792 | PyObject *resultobj; | |
2793 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2794 | wxPoint *result; | |
2795 | PyObject * obj0 = 0 ; | |
2796 | char *kwnames[] = { | |
2797 | (char *) "self", NULL | |
2798 | }; | |
2799 | ||
2800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetFromPrivPos",kwnames,&obj0)) goto fail; | |
2801 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2802 | { | |
2803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2804 | { | |
2805 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetFromPrivPos(); | |
2806 | result = (wxPoint *) &_result_ref; | |
2807 | } | |
2808 | ||
2809 | wxPyEndAllowThreads(__tstate); | |
2810 | if (PyErr_Occurred()) SWIG_fail; | |
2811 | } | |
2812 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2813 | return resultobj; | |
2814 | fail: | |
2815 | return NULL; | |
2816 | } | |
2817 | ||
2818 | ||
2819 | static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2820 | PyObject *resultobj; | |
2821 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2822 | wxPoint *result; | |
2823 | PyObject * obj0 = 0 ; | |
2824 | char *kwnames[] = { | |
2825 | (char *) "self", NULL | |
2826 | }; | |
2827 | ||
2828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_GetToPrivPos",kwnames,&obj0)) goto fail; | |
2829 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2830 | { | |
2831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2832 | { | |
2833 | wxPoint const &_result_ref = ((wxHtmlSelection const *)arg1)->GetToPrivPos(); | |
2834 | result = (wxPoint *) &_result_ref; | |
2835 | } | |
2836 | ||
2837 | wxPyEndAllowThreads(__tstate); | |
2838 | if (PyErr_Occurred()) SWIG_fail; | |
2839 | } | |
2840 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0); | |
2841 | return resultobj; | |
2842 | fail: | |
2843 | return NULL; | |
2844 | } | |
2845 | ||
2846 | ||
2847 | static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2848 | PyObject *resultobj; | |
2849 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2850 | wxPoint *arg2 = 0 ; | |
2851 | wxPoint temp2 ; | |
2852 | PyObject * obj0 = 0 ; | |
2853 | PyObject * obj1 = 0 ; | |
2854 | char *kwnames[] = { | |
2855 | (char *) "self",(char *) "pos", NULL | |
2856 | }; | |
2857 | ||
2858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetFromPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2860 | { | |
2861 | arg2 = &temp2; | |
2862 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2863 | } | |
2864 | { | |
2865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2866 | (arg1)->SetFromPrivPos((wxPoint const &)*arg2); | |
2867 | ||
2868 | wxPyEndAllowThreads(__tstate); | |
2869 | if (PyErr_Occurred()) SWIG_fail; | |
2870 | } | |
2871 | Py_INCREF(Py_None); resultobj = Py_None; | |
2872 | return resultobj; | |
2873 | fail: | |
2874 | return NULL; | |
2875 | } | |
2876 | ||
2877 | ||
2878 | static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2879 | PyObject *resultobj; | |
2880 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2881 | wxPoint *arg2 = 0 ; | |
2882 | wxPoint temp2 ; | |
2883 | PyObject * obj0 = 0 ; | |
2884 | PyObject * obj1 = 0 ; | |
2885 | char *kwnames[] = { | |
2886 | (char *) "self",(char *) "pos", NULL | |
2887 | }; | |
2888 | ||
2889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlSelection_SetToPrivPos",kwnames,&obj0,&obj1)) goto fail; | |
2890 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2891 | { | |
2892 | arg2 = &temp2; | |
2893 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2894 | } | |
2895 | { | |
2896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2897 | (arg1)->SetToPrivPos((wxPoint const &)*arg2); | |
2898 | ||
2899 | wxPyEndAllowThreads(__tstate); | |
2900 | if (PyErr_Occurred()) SWIG_fail; | |
2901 | } | |
2902 | Py_INCREF(Py_None); resultobj = Py_None; | |
2903 | return resultobj; | |
2904 | fail: | |
2905 | return NULL; | |
2906 | } | |
2907 | ||
2908 | ||
2909 | static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2910 | PyObject *resultobj; | |
2911 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2912 | PyObject * obj0 = 0 ; | |
2913 | char *kwnames[] = { | |
2914 | (char *) "self", NULL | |
2915 | }; | |
2916 | ||
2917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_ClearPrivPos",kwnames,&obj0)) goto fail; | |
2918 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2919 | { | |
2920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2921 | (arg1)->ClearPrivPos(); | |
2922 | ||
2923 | wxPyEndAllowThreads(__tstate); | |
2924 | if (PyErr_Occurred()) SWIG_fail; | |
2925 | } | |
2926 | Py_INCREF(Py_None); resultobj = Py_None; | |
2927 | return resultobj; | |
2928 | fail: | |
2929 | return NULL; | |
2930 | } | |
2931 | ||
2932 | ||
2933 | static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2934 | PyObject *resultobj; | |
2935 | wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; | |
2936 | bool result; | |
2937 | PyObject * obj0 = 0 ; | |
2938 | char *kwnames[] = { | |
2939 | (char *) "self", NULL | |
2940 | }; | |
2941 | ||
2942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSelection_IsEmpty",kwnames,&obj0)) goto fail; | |
2943 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2944 | { | |
2945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2946 | result = (bool)((wxHtmlSelection const *)arg1)->IsEmpty(); | |
2947 | ||
2948 | wxPyEndAllowThreads(__tstate); | |
2949 | if (PyErr_Occurred()) SWIG_fail; | |
2950 | } | |
2951 | resultobj = PyInt_FromLong((long)result); | |
2952 | return resultobj; | |
2953 | fail: | |
2954 | return NULL; | |
2955 | } | |
2956 | ||
2957 | ||
2958 | static PyObject * HtmlSelection_swigregister(PyObject *self, PyObject *args) { | |
2959 | PyObject *obj; | |
2960 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2961 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlSelection, obj); | |
2962 | Py_INCREF(obj); | |
2963 | return Py_BuildValue((char *)""); | |
2964 | } | |
2965 | static PyObject *_wrap_new_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2966 | PyObject *resultobj; | |
2967 | wxHtmlRenderingState *result; | |
2968 | char *kwnames[] = { | |
2969 | NULL | |
2970 | }; | |
2971 | ||
2972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingState",kwnames)) goto fail; | |
2973 | { | |
2974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2975 | result = (wxHtmlRenderingState *)new wxHtmlRenderingState(); | |
2976 | ||
2977 | wxPyEndAllowThreads(__tstate); | |
2978 | if (PyErr_Occurred()) SWIG_fail; | |
2979 | } | |
2980 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 1); | |
2981 | return resultobj; | |
2982 | fail: | |
2983 | return NULL; | |
2984 | } | |
2985 | ||
2986 | ||
2987 | static PyObject *_wrap_delete_HtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2988 | PyObject *resultobj; | |
2989 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
2990 | PyObject * obj0 = 0 ; | |
2991 | char *kwnames[] = { | |
2992 | (char *) "self", NULL | |
2993 | }; | |
2994 | ||
2995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingState",kwnames,&obj0)) goto fail; | |
2996 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2997 | { | |
2998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2999 | delete arg1; | |
3000 | ||
3001 | wxPyEndAllowThreads(__tstate); | |
3002 | if (PyErr_Occurred()) SWIG_fail; | |
3003 | } | |
3004 | Py_INCREF(Py_None); resultobj = Py_None; | |
3005 | return resultobj; | |
3006 | fail: | |
3007 | return NULL; | |
3008 | } | |
3009 | ||
3010 | ||
3011 | static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3012 | PyObject *resultobj; | |
3013 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3014 | int arg2 ; | |
3015 | PyObject * obj0 = 0 ; | |
3016 | char *kwnames[] = { | |
3017 | (char *) "self",(char *) "s", NULL | |
3018 | }; | |
3019 | ||
3020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlRenderingState_SetSelectionState",kwnames,&obj0,&arg2)) goto fail; | |
3021 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3022 | { | |
3023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3024 | (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); | |
3025 | ||
3026 | wxPyEndAllowThreads(__tstate); | |
3027 | if (PyErr_Occurred()) SWIG_fail; | |
3028 | } | |
3029 | Py_INCREF(Py_None); resultobj = Py_None; | |
3030 | return resultobj; | |
3031 | fail: | |
3032 | return NULL; | |
3033 | } | |
3034 | ||
3035 | ||
3036 | static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3037 | PyObject *resultobj; | |
3038 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3039 | int result; | |
3040 | PyObject * obj0 = 0 ; | |
3041 | char *kwnames[] = { | |
3042 | (char *) "self", NULL | |
3043 | }; | |
3044 | ||
3045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetSelectionState",kwnames,&obj0)) goto fail; | |
3046 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3047 | { | |
3048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3049 | result = (int)((wxHtmlRenderingState const *)arg1)->GetSelectionState(); | |
3050 | ||
3051 | wxPyEndAllowThreads(__tstate); | |
3052 | if (PyErr_Occurred()) SWIG_fail; | |
3053 | } | |
3054 | resultobj = PyInt_FromLong((long)result); | |
3055 | return resultobj; | |
3056 | fail: | |
3057 | return NULL; | |
3058 | } | |
3059 | ||
3060 | ||
3061 | static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3062 | PyObject *resultobj; | |
3063 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3064 | wxColour *arg2 = 0 ; | |
3065 | wxColour temp2 ; | |
3066 | PyObject * obj0 = 0 ; | |
3067 | PyObject * obj1 = 0 ; | |
3068 | char *kwnames[] = { | |
3069 | (char *) "self",(char *) "c", NULL | |
3070 | }; | |
3071 | ||
3072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetFgColour",kwnames,&obj0,&obj1)) goto fail; | |
3073 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3074 | { | |
3075 | arg2 = &temp2; | |
3076 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3077 | } | |
3078 | { | |
3079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3080 | (arg1)->SetFgColour((wxColour const &)*arg2); | |
3081 | ||
3082 | wxPyEndAllowThreads(__tstate); | |
3083 | if (PyErr_Occurred()) SWIG_fail; | |
3084 | } | |
3085 | Py_INCREF(Py_None); resultobj = Py_None; | |
3086 | return resultobj; | |
3087 | fail: | |
3088 | return NULL; | |
3089 | } | |
3090 | ||
3091 | ||
3092 | static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3093 | PyObject *resultobj; | |
3094 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3095 | wxColour *result; | |
3096 | PyObject * obj0 = 0 ; | |
3097 | char *kwnames[] = { | |
3098 | (char *) "self", NULL | |
3099 | }; | |
3100 | ||
3101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetFgColour",kwnames,&obj0)) goto fail; | |
3102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3103 | { | |
3104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3105 | { | |
3106 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetFgColour(); | |
3107 | result = (wxColour *) &_result_ref; | |
3108 | } | |
3109 | ||
3110 | wxPyEndAllowThreads(__tstate); | |
3111 | if (PyErr_Occurred()) SWIG_fail; | |
3112 | } | |
3113 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3114 | return resultobj; | |
3115 | fail: | |
3116 | return NULL; | |
3117 | } | |
3118 | ||
3119 | ||
3120 | static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3121 | PyObject *resultobj; | |
3122 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3123 | wxColour *arg2 = 0 ; | |
3124 | wxColour temp2 ; | |
3125 | PyObject * obj0 = 0 ; | |
3126 | PyObject * obj1 = 0 ; | |
3127 | char *kwnames[] = { | |
3128 | (char *) "self",(char *) "c", NULL | |
3129 | }; | |
3130 | ||
3131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingState_SetBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3132 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3133 | { | |
3134 | arg2 = &temp2; | |
3135 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3136 | } | |
3137 | { | |
3138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3139 | (arg1)->SetBgColour((wxColour const &)*arg2); | |
3140 | ||
3141 | wxPyEndAllowThreads(__tstate); | |
3142 | if (PyErr_Occurred()) SWIG_fail; | |
3143 | } | |
3144 | Py_INCREF(Py_None); resultobj = Py_None; | |
3145 | return resultobj; | |
3146 | fail: | |
3147 | return NULL; | |
3148 | } | |
3149 | ||
3150 | ||
3151 | static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3152 | PyObject *resultobj; | |
3153 | wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; | |
3154 | wxColour *result; | |
3155 | PyObject * obj0 = 0 ; | |
3156 | char *kwnames[] = { | |
3157 | (char *) "self", NULL | |
3158 | }; | |
3159 | ||
3160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingState_GetBgColour",kwnames,&obj0)) goto fail; | |
3161 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingState,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3162 | { | |
3163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3164 | { | |
3165 | wxColour const &_result_ref = ((wxHtmlRenderingState const *)arg1)->GetBgColour(); | |
3166 | result = (wxColour *) &_result_ref; | |
3167 | } | |
3168 | ||
3169 | wxPyEndAllowThreads(__tstate); | |
3170 | if (PyErr_Occurred()) SWIG_fail; | |
3171 | } | |
3172 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
3173 | return resultobj; | |
3174 | fail: | |
3175 | return NULL; | |
3176 | } | |
3177 | ||
3178 | ||
3179 | static PyObject * HtmlRenderingState_swigregister(PyObject *self, PyObject *args) { | |
3180 | PyObject *obj; | |
3181 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3182 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingState, obj); | |
3183 | Py_INCREF(obj); | |
3184 | return Py_BuildValue((char *)""); | |
3185 | } | |
3186 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3187 | PyObject *resultobj; | |
3188 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3189 | wxColour *arg2 = 0 ; | |
3190 | wxColour result; | |
3191 | wxColour temp2 ; | |
3192 | PyObject * obj0 = 0 ; | |
3193 | PyObject * obj1 = 0 ; | |
3194 | char *kwnames[] = { | |
3195 | (char *) "self",(char *) "clr", NULL | |
3196 | }; | |
3197 | ||
3198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3199 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3200 | { | |
3201 | arg2 = &temp2; | |
3202 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3203 | } | |
3204 | { | |
3205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3206 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3207 | ||
3208 | wxPyEndAllowThreads(__tstate); | |
3209 | if (PyErr_Occurred()) SWIG_fail; | |
3210 | } | |
3211 | { | |
3212 | wxColour * resultptr; | |
3213 | resultptr = new wxColour((wxColour &) result); | |
3214 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3215 | } | |
3216 | return resultobj; | |
3217 | fail: | |
3218 | return NULL; | |
3219 | } | |
3220 | ||
3221 | ||
3222 | static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3223 | PyObject *resultobj; | |
3224 | wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; | |
3225 | wxColour *arg2 = 0 ; | |
3226 | wxColour result; | |
3227 | wxColour temp2 ; | |
3228 | PyObject * obj0 = 0 ; | |
3229 | PyObject * obj1 = 0 ; | |
3230 | char *kwnames[] = { | |
3231 | (char *) "self",(char *) "clr", NULL | |
3232 | }; | |
3233 | ||
3234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3235 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3236 | { | |
3237 | arg2 = &temp2; | |
3238 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3239 | } | |
3240 | { | |
3241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3242 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3243 | ||
3244 | wxPyEndAllowThreads(__tstate); | |
3245 | if (PyErr_Occurred()) SWIG_fail; | |
3246 | } | |
3247 | { | |
3248 | wxColour * resultptr; | |
3249 | resultptr = new wxColour((wxColour &) result); | |
3250 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3251 | } | |
3252 | return resultobj; | |
3253 | fail: | |
3254 | return NULL; | |
3255 | } | |
3256 | ||
3257 | ||
3258 | static PyObject * HtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3259 | PyObject *obj; | |
3260 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3261 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingStyle, obj); | |
3262 | Py_INCREF(obj); | |
3263 | return Py_BuildValue((char *)""); | |
3264 | } | |
3265 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3266 | PyObject *resultobj; | |
3267 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3268 | wxColour *arg2 = 0 ; | |
3269 | wxColour result; | |
3270 | wxColour temp2 ; | |
3271 | PyObject * obj0 = 0 ; | |
3272 | PyObject * obj1 = 0 ; | |
3273 | char *kwnames[] = { | |
3274 | (char *) "self",(char *) "clr", NULL | |
3275 | }; | |
3276 | ||
3277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3279 | { | |
3280 | arg2 = &temp2; | |
3281 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3282 | } | |
3283 | { | |
3284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3285 | result = (arg1)->GetSelectedTextColour((wxColour const &)*arg2); | |
3286 | ||
3287 | wxPyEndAllowThreads(__tstate); | |
3288 | if (PyErr_Occurred()) SWIG_fail; | |
3289 | } | |
3290 | { | |
3291 | wxColour * resultptr; | |
3292 | resultptr = new wxColour((wxColour &) result); | |
3293 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3294 | } | |
3295 | return resultobj; | |
3296 | fail: | |
3297 | return NULL; | |
3298 | } | |
3299 | ||
3300 | ||
3301 | static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3302 | PyObject *resultobj; | |
3303 | wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; | |
3304 | wxColour *arg2 = 0 ; | |
3305 | wxColour result; | |
3306 | wxColour temp2 ; | |
3307 | PyObject * obj0 = 0 ; | |
3308 | PyObject * obj1 = 0 ; | |
3309 | char *kwnames[] = { | |
3310 | (char *) "self",(char *) "clr", NULL | |
3311 | }; | |
3312 | ||
3313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DefaultHtmlRenderingStyle_GetSelectedTextBgColour",kwnames,&obj0,&obj1)) goto fail; | |
3314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDefaultHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3315 | { | |
3316 | arg2 = &temp2; | |
3317 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3318 | } | |
3319 | { | |
3320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3321 | result = (arg1)->GetSelectedTextBgColour((wxColour const &)*arg2); | |
3322 | ||
3323 | wxPyEndAllowThreads(__tstate); | |
3324 | if (PyErr_Occurred()) SWIG_fail; | |
3325 | } | |
3326 | { | |
3327 | wxColour * resultptr; | |
3328 | resultptr = new wxColour((wxColour &) result); | |
3329 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3330 | } | |
3331 | return resultobj; | |
3332 | fail: | |
3333 | return NULL; | |
3334 | } | |
3335 | ||
3336 | ||
3337 | static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *self, PyObject *args) { | |
3338 | PyObject *obj; | |
3339 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3340 | SWIG_TypeClientData(SWIGTYPE_p_wxDefaultHtmlRenderingStyle, obj); | |
3341 | Py_INCREF(obj); | |
3342 | return Py_BuildValue((char *)""); | |
3343 | } | |
3344 | static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3345 | PyObject *resultobj; | |
3346 | wxHtmlRenderingInfo *result; | |
3347 | char *kwnames[] = { | |
3348 | NULL | |
3349 | }; | |
3350 | ||
3351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlRenderingInfo",kwnames)) goto fail; | |
3352 | { | |
3353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3354 | result = (wxHtmlRenderingInfo *)new wxHtmlRenderingInfo(); | |
3355 | ||
3356 | wxPyEndAllowThreads(__tstate); | |
3357 | if (PyErr_Occurred()) SWIG_fail; | |
3358 | } | |
3359 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingInfo, 1); | |
3360 | return resultobj; | |
3361 | fail: | |
3362 | return NULL; | |
3363 | } | |
3364 | ||
3365 | ||
3366 | static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3367 | PyObject *resultobj; | |
3368 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3369 | PyObject * obj0 = 0 ; | |
3370 | char *kwnames[] = { | |
3371 | (char *) "self", NULL | |
3372 | }; | |
3373 | ||
3374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlRenderingInfo",kwnames,&obj0)) goto fail; | |
3375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3376 | { | |
3377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3378 | delete arg1; | |
3379 | ||
3380 | wxPyEndAllowThreads(__tstate); | |
3381 | if (PyErr_Occurred()) SWIG_fail; | |
3382 | } | |
3383 | Py_INCREF(Py_None); resultobj = Py_None; | |
3384 | return resultobj; | |
3385 | fail: | |
3386 | return NULL; | |
3387 | } | |
3388 | ||
3389 | ||
3390 | static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3391 | PyObject *resultobj; | |
3392 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3393 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
3394 | PyObject * obj0 = 0 ; | |
3395 | PyObject * obj1 = 0 ; | |
3396 | char *kwnames[] = { | |
3397 | (char *) "self",(char *) "s", NULL | |
3398 | }; | |
3399 | ||
3400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
3401 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3402 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3403 | { | |
3404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3405 | (arg1)->SetSelection(arg2); | |
3406 | ||
3407 | wxPyEndAllowThreads(__tstate); | |
3408 | if (PyErr_Occurred()) SWIG_fail; | |
3409 | } | |
3410 | Py_INCREF(Py_None); resultobj = Py_None; | |
3411 | return resultobj; | |
3412 | fail: | |
3413 | return NULL; | |
3414 | } | |
3415 | ||
3416 | ||
3417 | static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3418 | PyObject *resultobj; | |
3419 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3420 | wxHtmlSelection *result; | |
3421 | PyObject * obj0 = 0 ; | |
3422 | char *kwnames[] = { | |
3423 | (char *) "self", NULL | |
3424 | }; | |
3425 | ||
3426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetSelection",kwnames,&obj0)) goto fail; | |
3427 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3428 | { | |
3429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3430 | result = (wxHtmlSelection *)((wxHtmlRenderingInfo const *)arg1)->GetSelection(); | |
3431 | ||
3432 | wxPyEndAllowThreads(__tstate); | |
3433 | if (PyErr_Occurred()) SWIG_fail; | |
3434 | } | |
3435 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlSelection, 0); | |
3436 | return resultobj; | |
3437 | fail: | |
3438 | return NULL; | |
3439 | } | |
3440 | ||
3441 | ||
3442 | static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3443 | PyObject *resultobj; | |
3444 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3445 | wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; | |
3446 | PyObject * obj0 = 0 ; | |
3447 | PyObject * obj1 = 0 ; | |
3448 | char *kwnames[] = { | |
3449 | (char *) "self",(char *) "style", NULL | |
3450 | }; | |
3451 | ||
3452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlRenderingInfo_SetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3453 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3454 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlRenderingStyle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3455 | { | |
3456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3457 | (arg1)->SetStyle(arg2); | |
3458 | ||
3459 | wxPyEndAllowThreads(__tstate); | |
3460 | if (PyErr_Occurred()) SWIG_fail; | |
3461 | } | |
3462 | Py_INCREF(Py_None); resultobj = Py_None; | |
3463 | return resultobj; | |
3464 | fail: | |
3465 | return NULL; | |
3466 | } | |
3467 | ||
3468 | ||
3469 | static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3470 | PyObject *resultobj; | |
3471 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3472 | wxHtmlRenderingStyle *result; | |
3473 | PyObject * obj0 = 0 ; | |
3474 | char *kwnames[] = { | |
3475 | (char *) "self", NULL | |
3476 | }; | |
3477 | ||
3478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetStyle",kwnames,&obj0)) goto fail; | |
3479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3480 | { | |
3481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3482 | { | |
3483 | wxHtmlRenderingStyle &_result_ref = (arg1)->GetStyle(); | |
3484 | result = (wxHtmlRenderingStyle *) &_result_ref; | |
3485 | } | |
3486 | ||
3487 | wxPyEndAllowThreads(__tstate); | |
3488 | if (PyErr_Occurred()) SWIG_fail; | |
3489 | } | |
3490 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingStyle, 0); | |
3491 | return resultobj; | |
3492 | fail: | |
3493 | return NULL; | |
3494 | } | |
3495 | ||
3496 | ||
3497 | static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3498 | PyObject *resultobj; | |
3499 | wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; | |
3500 | wxHtmlRenderingState *result; | |
3501 | PyObject * obj0 = 0 ; | |
3502 | char *kwnames[] = { | |
3503 | (char *) "self", NULL | |
3504 | }; | |
3505 | ||
3506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlRenderingInfo_GetState",kwnames,&obj0)) goto fail; | |
3507 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3508 | { | |
3509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3510 | { | |
3511 | wxHtmlRenderingState &_result_ref = (arg1)->GetState(); | |
3512 | result = (wxHtmlRenderingState *) &_result_ref; | |
3513 | } | |
3514 | ||
3515 | wxPyEndAllowThreads(__tstate); | |
3516 | if (PyErr_Occurred()) SWIG_fail; | |
3517 | } | |
3518 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlRenderingState, 0); | |
3519 | return resultobj; | |
3520 | fail: | |
3521 | return NULL; | |
3522 | } | |
3523 | ||
3524 | ||
3525 | static PyObject * HtmlRenderingInfo_swigregister(PyObject *self, PyObject *args) { | |
3526 | PyObject *obj; | |
3527 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3528 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlRenderingInfo, obj); | |
3529 | Py_INCREF(obj); | |
3530 | return Py_BuildValue((char *)""); | |
3531 | } | |
3532 | static PyObject *_wrap_new_HtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3533 | PyObject *resultobj; | |
3534 | wxHtmlCell *result; | |
3535 | char *kwnames[] = { | |
3536 | NULL | |
3537 | }; | |
3538 | ||
3539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlCell",kwnames)) goto fail; | |
3540 | { | |
3541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3542 | result = (wxHtmlCell *)new wxHtmlCell(); | |
3543 | ||
3544 | wxPyEndAllowThreads(__tstate); | |
3545 | if (PyErr_Occurred()) SWIG_fail; | |
3546 | } | |
3547 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 1); | |
3548 | return resultobj; | |
3549 | fail: | |
3550 | return NULL; | |
3551 | } | |
3552 | ||
3553 | ||
3554 | static PyObject *_wrap_HtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3555 | PyObject *resultobj; | |
3556 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3557 | int result; | |
3558 | PyObject * obj0 = 0 ; | |
3559 | char *kwnames[] = { | |
3560 | (char *) "self", NULL | |
3561 | }; | |
3562 | ||
3563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosX",kwnames,&obj0)) goto fail; | |
3564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3565 | { | |
3566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3567 | result = (int)(arg1)->GetPosX(); | |
3568 | ||
3569 | wxPyEndAllowThreads(__tstate); | |
3570 | if (PyErr_Occurred()) SWIG_fail; | |
3571 | } | |
3572 | resultobj = PyInt_FromLong((long)result); | |
3573 | return resultobj; | |
3574 | fail: | |
3575 | return NULL; | |
3576 | } | |
3577 | ||
3578 | ||
3579 | static PyObject *_wrap_HtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3580 | PyObject *resultobj; | |
3581 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3582 | int result; | |
3583 | PyObject * obj0 = 0 ; | |
3584 | char *kwnames[] = { | |
3585 | (char *) "self", NULL | |
3586 | }; | |
3587 | ||
3588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetPosY",kwnames,&obj0)) goto fail; | |
3589 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3590 | { | |
3591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3592 | result = (int)(arg1)->GetPosY(); | |
3593 | ||
3594 | wxPyEndAllowThreads(__tstate); | |
3595 | if (PyErr_Occurred()) SWIG_fail; | |
3596 | } | |
3597 | resultobj = PyInt_FromLong((long)result); | |
3598 | return resultobj; | |
3599 | fail: | |
3600 | return NULL; | |
3601 | } | |
3602 | ||
3603 | ||
3604 | static PyObject *_wrap_HtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3605 | PyObject *resultobj; | |
3606 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3607 | int result; | |
3608 | PyObject * obj0 = 0 ; | |
3609 | char *kwnames[] = { | |
3610 | (char *) "self", NULL | |
3611 | }; | |
3612 | ||
3613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetWidth",kwnames,&obj0)) goto fail; | |
3614 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3615 | { | |
3616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3617 | result = (int)(arg1)->GetWidth(); | |
3618 | ||
3619 | wxPyEndAllowThreads(__tstate); | |
3620 | if (PyErr_Occurred()) SWIG_fail; | |
3621 | } | |
3622 | resultobj = PyInt_FromLong((long)result); | |
3623 | return resultobj; | |
3624 | fail: | |
3625 | return NULL; | |
3626 | } | |
3627 | ||
3628 | ||
3629 | static PyObject *_wrap_HtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3630 | PyObject *resultobj; | |
3631 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3632 | int result; | |
3633 | PyObject * obj0 = 0 ; | |
3634 | char *kwnames[] = { | |
3635 | (char *) "self", NULL | |
3636 | }; | |
3637 | ||
3638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetHeight",kwnames,&obj0)) goto fail; | |
3639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3640 | { | |
3641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3642 | result = (int)(arg1)->GetHeight(); | |
3643 | ||
3644 | wxPyEndAllowThreads(__tstate); | |
3645 | if (PyErr_Occurred()) SWIG_fail; | |
3646 | } | |
3647 | resultobj = PyInt_FromLong((long)result); | |
3648 | return resultobj; | |
3649 | fail: | |
3650 | return NULL; | |
3651 | } | |
3652 | ||
3653 | ||
3654 | static PyObject *_wrap_HtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3655 | PyObject *resultobj; | |
3656 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3657 | int result; | |
3658 | PyObject * obj0 = 0 ; | |
3659 | char *kwnames[] = { | |
3660 | (char *) "self", NULL | |
3661 | }; | |
3662 | ||
3663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDescent",kwnames,&obj0)) goto fail; | |
3664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3665 | { | |
3666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3667 | result = (int)(arg1)->GetDescent(); | |
3668 | ||
3669 | wxPyEndAllowThreads(__tstate); | |
3670 | if (PyErr_Occurred()) SWIG_fail; | |
3671 | } | |
3672 | resultobj = PyInt_FromLong((long)result); | |
3673 | return resultobj; | |
3674 | fail: | |
3675 | return NULL; | |
3676 | } | |
3677 | ||
3678 | ||
3679 | static PyObject *_wrap_HtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3680 | PyObject *resultobj; | |
3681 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3682 | int arg2 = (int) 0 ; | |
3683 | int arg3 = (int) 0 ; | |
3684 | wxHtmlLinkInfo *result; | |
3685 | PyObject * obj0 = 0 ; | |
3686 | char *kwnames[] = { | |
3687 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3688 | }; | |
3689 | ||
3690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:HtmlCell_GetLink",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3692 | { | |
3693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3694 | result = (wxHtmlLinkInfo *)(arg1)->GetLink(arg2,arg3); | |
3695 | ||
3696 | wxPyEndAllowThreads(__tstate); | |
3697 | if (PyErr_Occurred()) SWIG_fail; | |
3698 | } | |
3699 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlLinkInfo, 0); | |
3700 | return resultobj; | |
3701 | fail: | |
3702 | return NULL; | |
3703 | } | |
3704 | ||
3705 | ||
3706 | static PyObject *_wrap_HtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3707 | PyObject *resultobj; | |
3708 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3709 | wxHtmlCell *result; | |
3710 | PyObject * obj0 = 0 ; | |
3711 | char *kwnames[] = { | |
3712 | (char *) "self", NULL | |
3713 | }; | |
3714 | ||
3715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetNext",kwnames,&obj0)) goto fail; | |
3716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3717 | { | |
3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3719 | result = (wxHtmlCell *)(arg1)->GetNext(); | |
3720 | ||
3721 | wxPyEndAllowThreads(__tstate); | |
3722 | if (PyErr_Occurred()) SWIG_fail; | |
3723 | } | |
3724 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3725 | return resultobj; | |
3726 | fail: | |
3727 | return NULL; | |
3728 | } | |
3729 | ||
3730 | ||
3731 | static PyObject *_wrap_HtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3732 | PyObject *resultobj; | |
3733 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3734 | wxHtmlContainerCell *result; | |
3735 | PyObject * obj0 = 0 ; | |
3736 | char *kwnames[] = { | |
3737 | (char *) "self", NULL | |
3738 | }; | |
3739 | ||
3740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetParent",kwnames,&obj0)) goto fail; | |
3741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3742 | { | |
3743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3744 | result = (wxHtmlContainerCell *)(arg1)->GetParent(); | |
3745 | ||
3746 | wxPyEndAllowThreads(__tstate); | |
3747 | if (PyErr_Occurred()) SWIG_fail; | |
3748 | } | |
3749 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
3750 | return resultobj; | |
3751 | fail: | |
3752 | return NULL; | |
3753 | } | |
3754 | ||
3755 | ||
3756 | static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3757 | PyObject *resultobj; | |
3758 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3759 | wxHtmlCell *result; | |
3760 | PyObject * obj0 = 0 ; | |
3761 | char *kwnames[] = { | |
3762 | (char *) "self", NULL | |
3763 | }; | |
3764 | ||
3765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
3766 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3767 | { | |
3768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3769 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstChild(); | |
3770 | ||
3771 | wxPyEndAllowThreads(__tstate); | |
3772 | if (PyErr_Occurred()) SWIG_fail; | |
3773 | } | |
3774 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
3775 | return resultobj; | |
3776 | fail: | |
3777 | return NULL; | |
3778 | } | |
3779 | ||
3780 | ||
3781 | static PyObject *_wrap_HtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3782 | PyObject *resultobj; | |
3783 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3784 | wxCursor result; | |
3785 | PyObject * obj0 = 0 ; | |
3786 | char *kwnames[] = { | |
3787 | (char *) "self", NULL | |
3788 | }; | |
3789 | ||
3790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetCursor",kwnames,&obj0)) goto fail; | |
3791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3792 | { | |
3793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3794 | result = ((wxHtmlCell const *)arg1)->GetCursor(); | |
3795 | ||
3796 | wxPyEndAllowThreads(__tstate); | |
3797 | if (PyErr_Occurred()) SWIG_fail; | |
3798 | } | |
3799 | { | |
3800 | wxCursor * resultptr; | |
3801 | resultptr = new wxCursor((wxCursor &) result); | |
3802 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxCursor, 1); | |
3803 | } | |
3804 | return resultobj; | |
3805 | fail: | |
3806 | return NULL; | |
3807 | } | |
3808 | ||
3809 | ||
3810 | static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3811 | PyObject *resultobj; | |
3812 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3813 | bool result; | |
3814 | PyObject * obj0 = 0 ; | |
3815 | char *kwnames[] = { | |
3816 | (char *) "self", NULL | |
3817 | }; | |
3818 | ||
3819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsFormattingCell",kwnames,&obj0)) goto fail; | |
3820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3821 | { | |
3822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3823 | result = (bool)((wxHtmlCell const *)arg1)->IsFormattingCell(); | |
3824 | ||
3825 | wxPyEndAllowThreads(__tstate); | |
3826 | if (PyErr_Occurred()) SWIG_fail; | |
3827 | } | |
3828 | resultobj = PyInt_FromLong((long)result); | |
3829 | return resultobj; | |
3830 | fail: | |
3831 | return NULL; | |
3832 | } | |
3833 | ||
3834 | ||
3835 | static PyObject *_wrap_HtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3836 | PyObject *resultobj; | |
3837 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3838 | wxHtmlLinkInfo *arg2 = 0 ; | |
3839 | PyObject * obj0 = 0 ; | |
3840 | PyObject * obj1 = 0 ; | |
3841 | char *kwnames[] = { | |
3842 | (char *) "self",(char *) "link", NULL | |
3843 | }; | |
3844 | ||
3845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetLink",kwnames,&obj0,&obj1)) goto fail; | |
3846 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3847 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3848 | if (arg2 == NULL) { | |
3849 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3850 | } | |
3851 | { | |
3852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3853 | (arg1)->SetLink((wxHtmlLinkInfo const &)*arg2); | |
3854 | ||
3855 | wxPyEndAllowThreads(__tstate); | |
3856 | if (PyErr_Occurred()) SWIG_fail; | |
3857 | } | |
3858 | Py_INCREF(Py_None); resultobj = Py_None; | |
3859 | return resultobj; | |
3860 | fail: | |
3861 | return NULL; | |
3862 | } | |
3863 | ||
3864 | ||
3865 | static PyObject *_wrap_HtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3866 | PyObject *resultobj; | |
3867 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3868 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
3869 | PyObject * obj0 = 0 ; | |
3870 | PyObject * obj1 = 0 ; | |
3871 | char *kwnames[] = { | |
3872 | (char *) "self",(char *) "cell", NULL | |
3873 | }; | |
3874 | ||
3875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetNext",kwnames,&obj0,&obj1)) goto fail; | |
3876 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3877 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3878 | { | |
3879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3880 | (arg1)->SetNext(arg2); | |
3881 | ||
3882 | wxPyEndAllowThreads(__tstate); | |
3883 | if (PyErr_Occurred()) SWIG_fail; | |
3884 | } | |
3885 | Py_INCREF(Py_None); resultobj = Py_None; | |
3886 | return resultobj; | |
3887 | fail: | |
3888 | return NULL; | |
3889 | } | |
3890 | ||
3891 | ||
3892 | static PyObject *_wrap_HtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3893 | PyObject *resultobj; | |
3894 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3895 | wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; | |
3896 | PyObject * obj0 = 0 ; | |
3897 | PyObject * obj1 = 0 ; | |
3898 | char *kwnames[] = { | |
3899 | (char *) "self",(char *) "p", NULL | |
3900 | }; | |
3901 | ||
3902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetParent",kwnames,&obj0,&obj1)) goto fail; | |
3903 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3904 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3905 | { | |
3906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3907 | (arg1)->SetParent(arg2); | |
3908 | ||
3909 | wxPyEndAllowThreads(__tstate); | |
3910 | if (PyErr_Occurred()) SWIG_fail; | |
3911 | } | |
3912 | Py_INCREF(Py_None); resultobj = Py_None; | |
3913 | return resultobj; | |
3914 | fail: | |
3915 | return NULL; | |
3916 | } | |
3917 | ||
3918 | ||
3919 | static PyObject *_wrap_HtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3920 | PyObject *resultobj; | |
3921 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3922 | int arg2 ; | |
3923 | int arg3 ; | |
3924 | PyObject * obj0 = 0 ; | |
3925 | char *kwnames[] = { | |
3926 | (char *) "self",(char *) "x",(char *) "y", NULL | |
3927 | }; | |
3928 | ||
3929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlCell_SetPos",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
3930 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3931 | { | |
3932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3933 | (arg1)->SetPos(arg2,arg3); | |
3934 | ||
3935 | wxPyEndAllowThreads(__tstate); | |
3936 | if (PyErr_Occurred()) SWIG_fail; | |
3937 | } | |
3938 | Py_INCREF(Py_None); resultobj = Py_None; | |
3939 | return resultobj; | |
3940 | fail: | |
3941 | return NULL; | |
3942 | } | |
3943 | ||
3944 | ||
3945 | static PyObject *_wrap_HtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3946 | PyObject *resultobj; | |
3947 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3948 | int arg2 ; | |
3949 | PyObject * obj0 = 0 ; | |
3950 | char *kwnames[] = { | |
3951 | (char *) "self",(char *) "w", NULL | |
3952 | }; | |
3953 | ||
3954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlCell_Layout",kwnames,&obj0,&arg2)) goto fail; | |
3955 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3956 | { | |
3957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3958 | (arg1)->Layout(arg2); | |
3959 | ||
3960 | wxPyEndAllowThreads(__tstate); | |
3961 | if (PyErr_Occurred()) SWIG_fail; | |
3962 | } | |
3963 | Py_INCREF(Py_None); resultobj = Py_None; | |
3964 | return resultobj; | |
3965 | fail: | |
3966 | return NULL; | |
3967 | } | |
3968 | ||
3969 | ||
3970 | static PyObject *_wrap_HtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3971 | PyObject *resultobj; | |
3972 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
3973 | wxDC *arg2 = 0 ; | |
3974 | int arg3 ; | |
3975 | int arg4 ; | |
3976 | int arg5 ; | |
3977 | int arg6 ; | |
3978 | wxHtmlRenderingInfo *arg7 = 0 ; | |
3979 | PyObject * obj0 = 0 ; | |
3980 | PyObject * obj1 = 0 ; | |
3981 | PyObject * obj6 = 0 ; | |
3982 | char *kwnames[] = { | |
3983 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "view_y1",(char *) "view_y2",(char *) "info", NULL | |
3984 | }; | |
3985 | ||
3986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiiiO:HtmlCell_Draw",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6)) goto fail; | |
3987 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3988 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3989 | if (arg2 == NULL) { | |
3990 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3991 | } | |
3992 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3993 | if (arg7 == NULL) { | |
3994 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3995 | } | |
3996 | { | |
3997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3998 | (arg1)->Draw(*arg2,arg3,arg4,arg5,arg6,*arg7); | |
3999 | ||
4000 | wxPyEndAllowThreads(__tstate); | |
4001 | if (PyErr_Occurred()) SWIG_fail; | |
4002 | } | |
4003 | Py_INCREF(Py_None); resultobj = Py_None; | |
4004 | return resultobj; | |
4005 | fail: | |
4006 | return NULL; | |
4007 | } | |
4008 | ||
4009 | ||
4010 | static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4011 | PyObject *resultobj; | |
4012 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4013 | wxDC *arg2 = 0 ; | |
4014 | int arg3 ; | |
4015 | int arg4 ; | |
4016 | wxHtmlRenderingInfo *arg5 = 0 ; | |
4017 | PyObject * obj0 = 0 ; | |
4018 | PyObject * obj1 = 0 ; | |
4019 | PyObject * obj4 = 0 ; | |
4020 | char *kwnames[] = { | |
4021 | (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "info", NULL | |
4022 | }; | |
4023 | ||
4024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlCell_DrawInvisible",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4025 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4026 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4027 | if (arg2 == NULL) { | |
4028 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4029 | } | |
4030 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxHtmlRenderingInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4031 | if (arg5 == NULL) { | |
4032 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4033 | } | |
4034 | { | |
4035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4036 | (arg1)->DrawInvisible(*arg2,arg3,arg4,*arg5); | |
4037 | ||
4038 | wxPyEndAllowThreads(__tstate); | |
4039 | if (PyErr_Occurred()) SWIG_fail; | |
4040 | } | |
4041 | Py_INCREF(Py_None); resultobj = Py_None; | |
4042 | return resultobj; | |
4043 | fail: | |
4044 | return NULL; | |
4045 | } | |
4046 | ||
4047 | ||
4048 | static PyObject *_wrap_HtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4049 | PyObject *resultobj; | |
4050 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4051 | int arg2 ; | |
4052 | void *arg3 = (void *) 0 ; | |
4053 | wxHtmlCell *result; | |
4054 | PyObject * obj0 = 0 ; | |
4055 | PyObject * obj2 = 0 ; | |
4056 | char *kwnames[] = { | |
4057 | (char *) "self",(char *) "condition",(char *) "param", NULL | |
4058 | }; | |
4059 | ||
4060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HtmlCell_Find",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
4061 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4062 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4063 | { | |
4064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4065 | result = (wxHtmlCell *)(arg1)->Find(arg2,(void const *)arg3); | |
4066 | ||
4067 | wxPyEndAllowThreads(__tstate); | |
4068 | if (PyErr_Occurred()) SWIG_fail; | |
4069 | } | |
4070 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4071 | return resultobj; | |
4072 | fail: | |
4073 | return NULL; | |
4074 | } | |
4075 | ||
4076 | ||
4077 | static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4078 | PyObject *resultobj; | |
4079 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4080 | int *arg2 = (int *) 0 ; | |
4081 | bool result; | |
4082 | int temp2 ; | |
4083 | PyObject * obj0 = 0 ; | |
4084 | PyObject * obj1 = 0 ; | |
4085 | char *kwnames[] = { | |
4086 | (char *) "self",(char *) "INOUT", NULL | |
4087 | }; | |
4088 | ||
4089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_AdjustPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4091 | { | |
4092 | temp2 = PyInt_AsLong(obj1); | |
4093 | if (PyErr_Occurred()) SWIG_fail; | |
4094 | arg2 = &temp2; | |
4095 | } | |
4096 | { | |
4097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4098 | result = (bool)(arg1)->AdjustPagebreak(arg2); | |
4099 | ||
4100 | wxPyEndAllowThreads(__tstate); | |
4101 | if (PyErr_Occurred()) SWIG_fail; | |
4102 | } | |
4103 | resultobj = PyInt_FromLong((long)result); | |
4104 | { | |
4105 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
4106 | resultobj = t_output_helper(resultobj,o); | |
4107 | } | |
4108 | return resultobj; | |
4109 | fail: | |
4110 | return NULL; | |
4111 | } | |
4112 | ||
4113 | ||
4114 | static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4115 | PyObject *resultobj; | |
4116 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4117 | bool arg2 ; | |
4118 | PyObject * obj0 = 0 ; | |
4119 | PyObject * obj1 = 0 ; | |
4120 | char *kwnames[] = { | |
4121 | (char *) "self",(char *) "can", NULL | |
4122 | }; | |
4123 | ||
4124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_SetCanLiveOnPagebreak",kwnames,&obj0,&obj1)) goto fail; | |
4125 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4126 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4127 | if (PyErr_Occurred()) SWIG_fail; | |
4128 | { | |
4129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4130 | (arg1)->SetCanLiveOnPagebreak(arg2); | |
4131 | ||
4132 | wxPyEndAllowThreads(__tstate); | |
4133 | if (PyErr_Occurred()) SWIG_fail; | |
4134 | } | |
4135 | Py_INCREF(Py_None); resultobj = Py_None; | |
4136 | return resultobj; | |
4137 | fail: | |
4138 | return NULL; | |
4139 | } | |
4140 | ||
4141 | ||
4142 | static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4143 | PyObject *resultobj; | |
4144 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4145 | bool result; | |
4146 | PyObject * obj0 = 0 ; | |
4147 | char *kwnames[] = { | |
4148 | (char *) "self", NULL | |
4149 | }; | |
4150 | ||
4151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsLinebreakAllowed",kwnames,&obj0)) goto fail; | |
4152 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4153 | { | |
4154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4155 | result = (bool)((wxHtmlCell const *)arg1)->IsLinebreakAllowed(); | |
4156 | ||
4157 | wxPyEndAllowThreads(__tstate); | |
4158 | if (PyErr_Occurred()) SWIG_fail; | |
4159 | } | |
4160 | resultobj = PyInt_FromLong((long)result); | |
4161 | return resultobj; | |
4162 | fail: | |
4163 | return NULL; | |
4164 | } | |
4165 | ||
4166 | ||
4167 | static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4168 | PyObject *resultobj; | |
4169 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4170 | bool result; | |
4171 | PyObject * obj0 = 0 ; | |
4172 | char *kwnames[] = { | |
4173 | (char *) "self", NULL | |
4174 | }; | |
4175 | ||
4176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_IsTerminalCell",kwnames,&obj0)) goto fail; | |
4177 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4178 | { | |
4179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4180 | result = (bool)((wxHtmlCell const *)arg1)->IsTerminalCell(); | |
4181 | ||
4182 | wxPyEndAllowThreads(__tstate); | |
4183 | if (PyErr_Occurred()) SWIG_fail; | |
4184 | } | |
4185 | resultobj = PyInt_FromLong((long)result); | |
4186 | return resultobj; | |
4187 | fail: | |
4188 | return NULL; | |
4189 | } | |
4190 | ||
4191 | ||
4192 | static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4193 | PyObject *resultobj; | |
4194 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
423f194a RD |
4195 | int arg2 ; |
4196 | int arg3 ; | |
d14a1e28 RD |
4197 | unsigned int arg4 = (unsigned int) wxHTML_FIND_EXACT ; |
4198 | wxHtmlCell *result; | |
4199 | PyObject * obj0 = 0 ; | |
4200 | PyObject * obj3 = 0 ; | |
4201 | char *kwnames[] = { | |
4202 | (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL | |
4203 | }; | |
4204 | ||
4205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:HtmlCell_FindCellByPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4206 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4207 | if (obj3) { | |
4208 | arg4 = (unsigned int) PyInt_AsLong(obj3); | |
4209 | if (PyErr_Occurred()) SWIG_fail; | |
4210 | } | |
4211 | { | |
4212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4213 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->FindCellByPos(arg2,arg3,arg4); | |
4214 | ||
4215 | wxPyEndAllowThreads(__tstate); | |
4216 | if (PyErr_Occurred()) SWIG_fail; | |
4217 | } | |
4218 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4219 | return resultobj; | |
4220 | fail: | |
4221 | return NULL; | |
4222 | } | |
4223 | ||
4224 | ||
4225 | static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4226 | PyObject *resultobj; | |
4227 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4228 | wxPoint result; | |
4229 | PyObject * obj0 = 0 ; | |
4230 | char *kwnames[] = { | |
4231 | (char *) "self", NULL | |
4232 | }; | |
4233 | ||
4234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetAbsPos",kwnames,&obj0)) goto fail; | |
4235 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4236 | { | |
4237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4238 | result = ((wxHtmlCell const *)arg1)->GetAbsPos(); | |
4239 | ||
4240 | wxPyEndAllowThreads(__tstate); | |
4241 | if (PyErr_Occurred()) SWIG_fail; | |
4242 | } | |
4243 | { | |
4244 | wxPoint * resultptr; | |
4245 | resultptr = new wxPoint((wxPoint &) result); | |
4246 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
4247 | } | |
4248 | return resultobj; | |
4249 | fail: | |
4250 | return NULL; | |
4251 | } | |
4252 | ||
4253 | ||
4254 | static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4255 | PyObject *resultobj; | |
4256 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4257 | wxHtmlCell *result; | |
4258 | PyObject * obj0 = 0 ; | |
4259 | char *kwnames[] = { | |
4260 | (char *) "self", NULL | |
4261 | }; | |
4262 | ||
4263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetFirstTerminal",kwnames,&obj0)) goto fail; | |
4264 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4265 | { | |
4266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4267 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetFirstTerminal(); | |
4268 | ||
4269 | wxPyEndAllowThreads(__tstate); | |
4270 | if (PyErr_Occurred()) SWIG_fail; | |
4271 | } | |
4272 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4273 | return resultobj; | |
4274 | fail: | |
4275 | return NULL; | |
4276 | } | |
4277 | ||
4278 | ||
4279 | static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4280 | PyObject *resultobj; | |
4281 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4282 | wxHtmlCell *result; | |
4283 | PyObject * obj0 = 0 ; | |
4284 | char *kwnames[] = { | |
4285 | (char *) "self", NULL | |
4286 | }; | |
4287 | ||
4288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetLastTerminal",kwnames,&obj0)) goto fail; | |
4289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4290 | { | |
4291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4292 | result = (wxHtmlCell *)((wxHtmlCell const *)arg1)->GetLastTerminal(); | |
4293 | ||
4294 | wxPyEndAllowThreads(__tstate); | |
4295 | if (PyErr_Occurred()) SWIG_fail; | |
4296 | } | |
4297 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4298 | return resultobj; | |
4299 | fail: | |
4300 | return NULL; | |
4301 | } | |
4302 | ||
4303 | ||
4304 | static PyObject *_wrap_HtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4305 | PyObject *resultobj; | |
4306 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4307 | unsigned int result; | |
4308 | PyObject * obj0 = 0 ; | |
4309 | char *kwnames[] = { | |
4310 | (char *) "self", NULL | |
4311 | }; | |
4312 | ||
4313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlCell_GetDepth",kwnames,&obj0)) goto fail; | |
4314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4315 | { | |
4316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4317 | result = (unsigned int)((wxHtmlCell const *)arg1)->GetDepth(); | |
4318 | ||
4319 | wxPyEndAllowThreads(__tstate); | |
4320 | if (PyErr_Occurred()) SWIG_fail; | |
4321 | } | |
4322 | resultobj = PyInt_FromLong((long)result); | |
4323 | return resultobj; | |
4324 | fail: | |
4325 | return NULL; | |
4326 | } | |
4327 | ||
4328 | ||
4329 | static PyObject *_wrap_HtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4330 | PyObject *resultobj; | |
4331 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4332 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4333 | bool result; | |
4334 | PyObject * obj0 = 0 ; | |
4335 | PyObject * obj1 = 0 ; | |
4336 | char *kwnames[] = { | |
4337 | (char *) "self",(char *) "cell", NULL | |
4338 | }; | |
4339 | ||
4340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_IsBefore",kwnames,&obj0,&obj1)) goto fail; | |
4341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4342 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4343 | { | |
4344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4345 | result = (bool)((wxHtmlCell const *)arg1)->IsBefore(arg2); | |
4346 | ||
4347 | wxPyEndAllowThreads(__tstate); | |
4348 | if (PyErr_Occurred()) SWIG_fail; | |
4349 | } | |
4350 | resultobj = PyInt_FromLong((long)result); | |
4351 | return resultobj; | |
4352 | fail: | |
4353 | return NULL; | |
4354 | } | |
4355 | ||
4356 | ||
4357 | static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4358 | PyObject *resultobj; | |
4359 | wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; | |
4360 | wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; | |
4361 | wxString result; | |
4362 | PyObject * obj0 = 0 ; | |
4363 | PyObject * obj1 = 0 ; | |
4364 | char *kwnames[] = { | |
4365 | (char *) "self",(char *) "sel", NULL | |
4366 | }; | |
4367 | ||
4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlCell_ConvertToText",kwnames,&obj0,&obj1)) goto fail; | |
4369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4370 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlSelection,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4371 | { | |
4372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4373 | result = ((wxHtmlCell const *)arg1)->ConvertToText(arg2); | |
4374 | ||
4375 | wxPyEndAllowThreads(__tstate); | |
4376 | if (PyErr_Occurred()) SWIG_fail; | |
4377 | } | |
4378 | { | |
4379 | #if wxUSE_UNICODE | |
4380 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4381 | #else | |
4382 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4383 | #endif | |
4384 | } | |
4385 | return resultobj; | |
4386 | fail: | |
4387 | return NULL; | |
4388 | } | |
4389 | ||
4390 | ||
4391 | static PyObject * HtmlCell_swigregister(PyObject *self, PyObject *args) { | |
4392 | PyObject *obj; | |
4393 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4394 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlCell, obj); | |
4395 | Py_INCREF(obj); | |
4396 | return Py_BuildValue((char *)""); | |
4397 | } | |
4398 | static PyObject *_wrap_new_HtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4399 | PyObject *resultobj; | |
4400 | wxString *arg1 = 0 ; | |
4401 | wxDC *arg2 = 0 ; | |
4402 | wxHtmlWordCell *result; | |
423f194a | 4403 | bool temp1 = False ; |
d14a1e28 RD |
4404 | PyObject * obj0 = 0 ; |
4405 | PyObject * obj1 = 0 ; | |
4406 | char *kwnames[] = { | |
4407 | (char *) "word",(char *) "dc", NULL | |
4408 | }; | |
4409 | ||
4410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_HtmlWordCell",kwnames,&obj0,&obj1)) goto fail; | |
4411 | { | |
4412 | arg1 = wxString_in_helper(obj0); | |
4413 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 4414 | temp1 = True; |
d14a1e28 RD |
4415 | } |
4416 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4417 | if (arg2 == NULL) { | |
4418 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4419 | } | |
4420 | { | |
4421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4422 | result = (wxHtmlWordCell *)new wxHtmlWordCell((wxString const &)*arg1,*arg2); | |
4423 | ||
4424 | wxPyEndAllowThreads(__tstate); | |
4425 | if (PyErr_Occurred()) SWIG_fail; | |
4426 | } | |
4427 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWordCell, 1); | |
4428 | { | |
4429 | if (temp1) | |
4430 | delete arg1; | |
4431 | } | |
4432 | return resultobj; | |
4433 | fail: | |
4434 | { | |
4435 | if (temp1) | |
4436 | delete arg1; | |
4437 | } | |
4438 | return NULL; | |
4439 | } | |
4440 | ||
4441 | ||
4442 | static PyObject * HtmlWordCell_swigregister(PyObject *self, PyObject *args) { | |
4443 | PyObject *obj; | |
4444 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4445 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWordCell, obj); | |
4446 | Py_INCREF(obj); | |
4447 | return Py_BuildValue((char *)""); | |
4448 | } | |
4449 | static PyObject *_wrap_new_HtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4450 | PyObject *resultobj; | |
4451 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4452 | wxHtmlContainerCell *result; | |
4453 | PyObject * obj0 = 0 ; | |
4454 | char *kwnames[] = { | |
4455 | (char *) "parent", NULL | |
4456 | }; | |
4457 | ||
4458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlContainerCell",kwnames,&obj0)) goto fail; | |
4459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4460 | { | |
4461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4462 | result = (wxHtmlContainerCell *)new wxHtmlContainerCell(arg1); | |
4463 | ||
4464 | wxPyEndAllowThreads(__tstate); | |
4465 | if (PyErr_Occurred()) SWIG_fail; | |
4466 | } | |
4467 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 1); | |
4468 | return resultobj; | |
4469 | fail: | |
4470 | return NULL; | |
4471 | } | |
4472 | ||
4473 | ||
4474 | static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4475 | PyObject *resultobj; | |
4476 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4477 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
4478 | PyObject * obj0 = 0 ; | |
4479 | PyObject * obj1 = 0 ; | |
4480 | char *kwnames[] = { | |
4481 | (char *) "self",(char *) "cell", NULL | |
4482 | }; | |
4483 | ||
4484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_InsertCell",kwnames,&obj0,&obj1)) goto fail; | |
4485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4486 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4487 | { | |
4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4489 | (arg1)->InsertCell(arg2); | |
4490 | ||
4491 | wxPyEndAllowThreads(__tstate); | |
4492 | if (PyErr_Occurred()) SWIG_fail; | |
4493 | } | |
4494 | Py_INCREF(Py_None); resultobj = Py_None; | |
4495 | return resultobj; | |
4496 | fail: | |
4497 | return NULL; | |
4498 | } | |
4499 | ||
4500 | ||
4501 | static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4502 | PyObject *resultobj; | |
4503 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4504 | int arg2 ; | |
4505 | PyObject * obj0 = 0 ; | |
4506 | char *kwnames[] = { | |
4507 | (char *) "self",(char *) "al", NULL | |
4508 | }; | |
4509 | ||
4510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignHor",kwnames,&obj0,&arg2)) goto fail; | |
4511 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4512 | { | |
4513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4514 | (arg1)->SetAlignHor(arg2); | |
4515 | ||
4516 | wxPyEndAllowThreads(__tstate); | |
4517 | if (PyErr_Occurred()) SWIG_fail; | |
4518 | } | |
4519 | Py_INCREF(Py_None); resultobj = Py_None; | |
4520 | return resultobj; | |
4521 | fail: | |
4522 | return NULL; | |
4523 | } | |
4524 | ||
4525 | ||
4526 | static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4527 | PyObject *resultobj; | |
4528 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4529 | int result; | |
4530 | PyObject * obj0 = 0 ; | |
4531 | char *kwnames[] = { | |
4532 | (char *) "self", NULL | |
4533 | }; | |
4534 | ||
4535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignHor",kwnames,&obj0)) goto fail; | |
4536 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4537 | { | |
4538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4539 | result = (int)(arg1)->GetAlignHor(); | |
4540 | ||
4541 | wxPyEndAllowThreads(__tstate); | |
4542 | if (PyErr_Occurred()) SWIG_fail; | |
4543 | } | |
4544 | resultobj = PyInt_FromLong((long)result); | |
4545 | return resultobj; | |
4546 | fail: | |
4547 | return NULL; | |
4548 | } | |
4549 | ||
4550 | ||
4551 | static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4552 | PyObject *resultobj; | |
4553 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4554 | int arg2 ; | |
4555 | PyObject * obj0 = 0 ; | |
4556 | char *kwnames[] = { | |
4557 | (char *) "self",(char *) "al", NULL | |
4558 | }; | |
4559 | ||
4560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_SetAlignVer",kwnames,&obj0,&arg2)) goto fail; | |
4561 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4562 | { | |
4563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4564 | (arg1)->SetAlignVer(arg2); | |
4565 | ||
4566 | wxPyEndAllowThreads(__tstate); | |
4567 | if (PyErr_Occurred()) SWIG_fail; | |
4568 | } | |
4569 | Py_INCREF(Py_None); resultobj = Py_None; | |
4570 | return resultobj; | |
4571 | fail: | |
4572 | return NULL; | |
4573 | } | |
4574 | ||
4575 | ||
4576 | static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4577 | PyObject *resultobj; | |
4578 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4579 | int result; | |
4580 | PyObject * obj0 = 0 ; | |
4581 | char *kwnames[] = { | |
4582 | (char *) "self", NULL | |
4583 | }; | |
4584 | ||
4585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetAlignVer",kwnames,&obj0)) goto fail; | |
4586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4587 | { | |
4588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4589 | result = (int)(arg1)->GetAlignVer(); | |
4590 | ||
4591 | wxPyEndAllowThreads(__tstate); | |
4592 | if (PyErr_Occurred()) SWIG_fail; | |
4593 | } | |
4594 | resultobj = PyInt_FromLong((long)result); | |
4595 | return resultobj; | |
4596 | fail: | |
4597 | return NULL; | |
4598 | } | |
4599 | ||
4600 | ||
4601 | static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4602 | PyObject *resultobj; | |
4603 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4604 | int arg2 ; | |
4605 | int arg3 ; | |
4606 | int arg4 = (int) wxHTML_UNITS_PIXELS ; | |
4607 | PyObject * obj0 = 0 ; | |
4608 | char *kwnames[] = { | |
4609 | (char *) "self",(char *) "i",(char *) "what",(char *) "units", NULL | |
4610 | }; | |
4611 | ||
4612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:HtmlContainerCell_SetIndent",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
4613 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4614 | { | |
4615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4616 | (arg1)->SetIndent(arg2,arg3,arg4); | |
4617 | ||
4618 | wxPyEndAllowThreads(__tstate); | |
4619 | if (PyErr_Occurred()) SWIG_fail; | |
4620 | } | |
4621 | Py_INCREF(Py_None); resultobj = Py_None; | |
4622 | return resultobj; | |
4623 | fail: | |
4624 | return NULL; | |
4625 | } | |
4626 | ||
4627 | ||
4628 | static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4629 | PyObject *resultobj; | |
4630 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4631 | int arg2 ; | |
4632 | int result; | |
4633 | PyObject * obj0 = 0 ; | |
4634 | char *kwnames[] = { | |
4635 | (char *) "self",(char *) "ind", NULL | |
4636 | }; | |
4637 | ||
4638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndent",kwnames,&obj0,&arg2)) goto fail; | |
4639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4640 | { | |
4641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4642 | result = (int)(arg1)->GetIndent(arg2); | |
4643 | ||
4644 | wxPyEndAllowThreads(__tstate); | |
4645 | if (PyErr_Occurred()) SWIG_fail; | |
4646 | } | |
4647 | resultobj = PyInt_FromLong((long)result); | |
4648 | return resultobj; | |
4649 | fail: | |
4650 | return NULL; | |
4651 | } | |
4652 | ||
4653 | ||
4654 | static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4655 | PyObject *resultobj; | |
4656 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4657 | int arg2 ; | |
4658 | int result; | |
4659 | PyObject * obj0 = 0 ; | |
4660 | char *kwnames[] = { | |
4661 | (char *) "self",(char *) "ind", NULL | |
4662 | }; | |
4663 | ||
4664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlContainerCell_GetIndentUnits",kwnames,&obj0,&arg2)) goto fail; | |
4665 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4666 | { | |
4667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4668 | result = (int)(arg1)->GetIndentUnits(arg2); | |
4669 | ||
4670 | wxPyEndAllowThreads(__tstate); | |
4671 | if (PyErr_Occurred()) SWIG_fail; | |
4672 | } | |
4673 | resultobj = PyInt_FromLong((long)result); | |
4674 | return resultobj; | |
4675 | fail: | |
4676 | return NULL; | |
4677 | } | |
4678 | ||
4679 | ||
4680 | static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4681 | PyObject *resultobj; | |
4682 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4683 | wxHtmlTag *arg2 = 0 ; | |
4684 | PyObject * obj0 = 0 ; | |
4685 | PyObject * obj1 = 0 ; | |
4686 | char *kwnames[] = { | |
4687 | (char *) "self",(char *) "tag", NULL | |
4688 | }; | |
4689 | ||
4690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetAlign",kwnames,&obj0,&obj1)) goto fail; | |
4691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4692 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4693 | if (arg2 == NULL) { | |
4694 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4695 | } | |
4696 | { | |
4697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4698 | (arg1)->SetAlign((wxHtmlTag const &)*arg2); | |
4699 | ||
4700 | wxPyEndAllowThreads(__tstate); | |
4701 | if (PyErr_Occurred()) SWIG_fail; | |
4702 | } | |
4703 | Py_INCREF(Py_None); resultobj = Py_None; | |
4704 | return resultobj; | |
4705 | fail: | |
4706 | return NULL; | |
4707 | } | |
4708 | ||
4709 | ||
4710 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4711 | PyObject *resultobj; | |
4712 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4713 | int arg2 ; | |
4714 | int arg3 ; | |
4715 | PyObject * obj0 = 0 ; | |
4716 | char *kwnames[] = { | |
4717 | (char *) "self",(char *) "w",(char *) "units", NULL | |
4718 | }; | |
4719 | ||
4720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlContainerCell_SetWidthFloat",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4721 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4722 | { | |
4723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4724 | (arg1)->SetWidthFloat(arg2,arg3); | |
4725 | ||
4726 | wxPyEndAllowThreads(__tstate); | |
4727 | if (PyErr_Occurred()) SWIG_fail; | |
4728 | } | |
4729 | Py_INCREF(Py_None); resultobj = Py_None; | |
4730 | return resultobj; | |
4731 | fail: | |
4732 | return NULL; | |
4733 | } | |
4734 | ||
4735 | ||
4736 | static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4737 | PyObject *resultobj; | |
4738 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4739 | wxHtmlTag *arg2 = 0 ; | |
4740 | PyObject * obj0 = 0 ; | |
4741 | PyObject * obj1 = 0 ; | |
4742 | char *kwnames[] = { | |
4743 | (char *) "self",(char *) "tag", NULL | |
4744 | }; | |
4745 | ||
4746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetWidthFloatFromTag",kwnames,&obj0,&obj1)) goto fail; | |
4747 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4748 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlTag,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4749 | if (arg2 == NULL) { | |
4750 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4751 | } | |
4752 | { | |
4753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4754 | (arg1)->SetWidthFloat((wxHtmlTag const &)*arg2); | |
4755 | ||
4756 | wxPyEndAllowThreads(__tstate); | |
4757 | if (PyErr_Occurred()) SWIG_fail; | |
4758 | } | |
4759 | Py_INCREF(Py_None); resultobj = Py_None; | |
4760 | return resultobj; | |
4761 | fail: | |
4762 | return NULL; | |
4763 | } | |
4764 | ||
4765 | ||
4766 | static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4767 | PyObject *resultobj; | |
4768 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4769 | int arg2 ; | |
4770 | int arg3 = (int) wxHTML_ALIGN_TOP ; | |
4771 | PyObject * obj0 = 0 ; | |
4772 | char *kwnames[] = { | |
4773 | (char *) "self",(char *) "h",(char *) "align", NULL | |
4774 | }; | |
4775 | ||
4776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:HtmlContainerCell_SetMinHeight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4777 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4778 | { | |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | (arg1)->SetMinHeight(arg2,arg3); | |
4781 | ||
4782 | wxPyEndAllowThreads(__tstate); | |
4783 | if (PyErr_Occurred()) SWIG_fail; | |
4784 | } | |
4785 | Py_INCREF(Py_None); resultobj = Py_None; | |
4786 | return resultobj; | |
4787 | fail: | |
4788 | return NULL; | |
4789 | } | |
4790 | ||
4791 | ||
4792 | static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4793 | PyObject *resultobj; | |
4794 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4795 | wxColour *arg2 = 0 ; | |
4796 | wxColour temp2 ; | |
4797 | PyObject * obj0 = 0 ; | |
4798 | PyObject * obj1 = 0 ; | |
4799 | char *kwnames[] = { | |
4800 | (char *) "self",(char *) "clr", NULL | |
4801 | }; | |
4802 | ||
4803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlContainerCell_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
4804 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4805 | { | |
4806 | arg2 = &temp2; | |
4807 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4808 | } | |
4809 | { | |
4810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4811 | (arg1)->SetBackgroundColour((wxColour const &)*arg2); | |
4812 | ||
4813 | wxPyEndAllowThreads(__tstate); | |
4814 | if (PyErr_Occurred()) SWIG_fail; | |
4815 | } | |
4816 | Py_INCREF(Py_None); resultobj = Py_None; | |
4817 | return resultobj; | |
4818 | fail: | |
4819 | return NULL; | |
4820 | } | |
4821 | ||
4822 | ||
4823 | static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4824 | PyObject *resultobj; | |
4825 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4826 | wxColour result; | |
4827 | PyObject * obj0 = 0 ; | |
4828 | char *kwnames[] = { | |
4829 | (char *) "self", NULL | |
4830 | }; | |
4831 | ||
4832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetBackgroundColour",kwnames,&obj0)) goto fail; | |
4833 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4834 | { | |
4835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4836 | result = (arg1)->GetBackgroundColour(); | |
4837 | ||
4838 | wxPyEndAllowThreads(__tstate); | |
4839 | if (PyErr_Occurred()) SWIG_fail; | |
4840 | } | |
4841 | { | |
4842 | wxColour * resultptr; | |
4843 | resultptr = new wxColour((wxColour &) result); | |
4844 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
4845 | } | |
4846 | return resultobj; | |
4847 | fail: | |
4848 | return NULL; | |
4849 | } | |
4850 | ||
4851 | ||
4852 | static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4853 | PyObject *resultobj; | |
4854 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4855 | wxColour *arg2 = 0 ; | |
4856 | wxColour *arg3 = 0 ; | |
4857 | wxColour temp2 ; | |
4858 | wxColour temp3 ; | |
4859 | PyObject * obj0 = 0 ; | |
4860 | PyObject * obj1 = 0 ; | |
4861 | PyObject * obj2 = 0 ; | |
4862 | char *kwnames[] = { | |
4863 | (char *) "self",(char *) "clr1",(char *) "clr2", NULL | |
4864 | }; | |
4865 | ||
4866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlContainerCell_SetBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4868 | { | |
4869 | arg2 = &temp2; | |
4870 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4871 | } | |
4872 | { | |
4873 | arg3 = &temp3; | |
4874 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4875 | } | |
4876 | { | |
4877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4878 | (arg1)->SetBorder((wxColour const &)*arg2,(wxColour const &)*arg3); | |
4879 | ||
4880 | wxPyEndAllowThreads(__tstate); | |
4881 | if (PyErr_Occurred()) SWIG_fail; | |
4882 | } | |
4883 | Py_INCREF(Py_None); resultobj = Py_None; | |
4884 | return resultobj; | |
4885 | fail: | |
4886 | return NULL; | |
4887 | } | |
4888 | ||
4889 | ||
4890 | static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4891 | PyObject *resultobj; | |
4892 | wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; | |
4893 | wxHtmlCell *result; | |
4894 | PyObject * obj0 = 0 ; | |
4895 | char *kwnames[] = { | |
4896 | (char *) "self", NULL | |
4897 | }; | |
4898 | ||
4899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContainerCell_GetFirstChild",kwnames,&obj0)) goto fail; | |
4900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContainerCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4901 | { | |
4902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4903 | result = (wxHtmlCell *)(arg1)->GetFirstChild(); | |
4904 | ||
4905 | wxPyEndAllowThreads(__tstate); | |
4906 | if (PyErr_Occurred()) SWIG_fail; | |
4907 | } | |
4908 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlCell, 0); | |
4909 | return resultobj; | |
4910 | fail: | |
4911 | return NULL; | |
4912 | } | |
4913 | ||
4914 | ||
4915 | static PyObject * HtmlContainerCell_swigregister(PyObject *self, PyObject *args) { | |
4916 | PyObject *obj; | |
4917 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4918 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContainerCell, obj); | |
4919 | Py_INCREF(obj); | |
4920 | return Py_BuildValue((char *)""); | |
4921 | } | |
4922 | static PyObject *_wrap_new_HtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4923 | PyObject *resultobj; | |
4924 | wxColour arg1 ; | |
4925 | int arg2 = (int) wxHTML_CLR_FOREGROUND ; | |
4926 | wxHtmlColourCell *result; | |
4927 | wxColour *argp1 ; | |
4928 | PyObject * obj0 = 0 ; | |
4929 | char *kwnames[] = { | |
4930 | (char *) "clr",(char *) "flags", NULL | |
4931 | }; | |
4932 | ||
4933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlColourCell",kwnames,&obj0,&arg2)) goto fail; | |
4934 | if ((SWIG_ConvertPtr(obj0,(void **) &argp1, SWIGTYPE_p_wxColour,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4935 | arg1 = *argp1; | |
4936 | { | |
4937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4938 | result = (wxHtmlColourCell *)new wxHtmlColourCell(arg1,arg2); | |
4939 | ||
4940 | wxPyEndAllowThreads(__tstate); | |
4941 | if (PyErr_Occurred()) SWIG_fail; | |
4942 | } | |
4943 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlColourCell, 1); | |
4944 | return resultobj; | |
4945 | fail: | |
4946 | return NULL; | |
4947 | } | |
4948 | ||
4949 | ||
4950 | static PyObject * HtmlColourCell_swigregister(PyObject *self, PyObject *args) { | |
4951 | PyObject *obj; | |
4952 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4953 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlColourCell, obj); | |
4954 | Py_INCREF(obj); | |
4955 | return Py_BuildValue((char *)""); | |
4956 | } | |
4957 | static PyObject *_wrap_new_HtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4958 | PyObject *resultobj; | |
4959 | wxFont *arg1 = (wxFont *) 0 ; | |
4960 | wxHtmlFontCell *result; | |
4961 | PyObject * obj0 = 0 ; | |
4962 | char *kwnames[] = { | |
4963 | (char *) "font", NULL | |
4964 | }; | |
4965 | ||
4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_HtmlFontCell",kwnames,&obj0)) goto fail; | |
4967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4968 | { | |
4969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4970 | result = (wxHtmlFontCell *)new wxHtmlFontCell(arg1); | |
4971 | ||
4972 | wxPyEndAllowThreads(__tstate); | |
4973 | if (PyErr_Occurred()) SWIG_fail; | |
4974 | } | |
4975 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlFontCell, 1); | |
4976 | return resultobj; | |
4977 | fail: | |
4978 | return NULL; | |
4979 | } | |
4980 | ||
4981 | ||
4982 | static PyObject * HtmlFontCell_swigregister(PyObject *self, PyObject *args) { | |
4983 | PyObject *obj; | |
4984 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4985 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlFontCell, obj); | |
4986 | Py_INCREF(obj); | |
4987 | return Py_BuildValue((char *)""); | |
4988 | } | |
4989 | static PyObject *_wrap_new_HtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4990 | PyObject *resultobj; | |
4991 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4992 | int arg2 = (int) 0 ; | |
4993 | wxHtmlWidgetCell *result; | |
4994 | PyObject * obj0 = 0 ; | |
4995 | char *kwnames[] = { | |
4996 | (char *) "wnd",(char *) "w", NULL | |
4997 | }; | |
4998 | ||
4999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_HtmlWidgetCell",kwnames,&obj0,&arg2)) goto fail; | |
5000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5001 | { | |
5002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5003 | result = (wxHtmlWidgetCell *)new wxHtmlWidgetCell(arg1,arg2); | |
5004 | ||
5005 | wxPyEndAllowThreads(__tstate); | |
5006 | if (PyErr_Occurred()) SWIG_fail; | |
5007 | } | |
5008 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWidgetCell, 1); | |
5009 | return resultobj; | |
5010 | fail: | |
5011 | return NULL; | |
5012 | } | |
5013 | ||
5014 | ||
5015 | static PyObject * HtmlWidgetCell_swigregister(PyObject *self, PyObject *args) { | |
5016 | PyObject *obj; | |
5017 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5018 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWidgetCell, obj); | |
5019 | Py_INCREF(obj); | |
5020 | return Py_BuildValue((char *)""); | |
5021 | } | |
5022 | static PyObject *_wrap_new_HtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5023 | PyObject *resultobj; | |
5024 | wxPyHtmlFilter *result; | |
5025 | char *kwnames[] = { | |
5026 | NULL | |
5027 | }; | |
5028 | ||
5029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlFilter",kwnames)) goto fail; | |
5030 | { | |
5031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5032 | result = (wxPyHtmlFilter *)new wxPyHtmlFilter(); | |
5033 | ||
5034 | wxPyEndAllowThreads(__tstate); | |
5035 | if (PyErr_Occurred()) SWIG_fail; | |
5036 | } | |
5037 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlFilter, 1); | |
5038 | return resultobj; | |
5039 | fail: | |
5040 | return NULL; | |
5041 | } | |
5042 | ||
5043 | ||
5044 | static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5045 | PyObject *resultobj; | |
5046 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
5047 | PyObject *arg2 = (PyObject *) 0 ; | |
5048 | PyObject *arg3 = (PyObject *) 0 ; | |
5049 | PyObject * obj0 = 0 ; | |
5050 | PyObject * obj1 = 0 ; | |
5051 | PyObject * obj2 = 0 ; | |
5052 | char *kwnames[] = { | |
5053 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5054 | }; | |
5055 | ||
5056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlFilter__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5057 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5058 | arg2 = obj1; | |
5059 | arg3 = obj2; | |
5060 | { | |
5061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5062 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5063 | ||
5064 | wxPyEndAllowThreads(__tstate); | |
5065 | if (PyErr_Occurred()) SWIG_fail; | |
5066 | } | |
5067 | Py_INCREF(Py_None); resultobj = Py_None; | |
5068 | return resultobj; | |
5069 | fail: | |
5070 | return NULL; | |
5071 | } | |
5072 | ||
5073 | ||
5074 | static PyObject * HtmlFilter_swigregister(PyObject *self, PyObject *args) { | |
5075 | PyObject *obj; | |
5076 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5077 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlFilter, obj); | |
5078 | Py_INCREF(obj); | |
5079 | return Py_BuildValue((char *)""); | |
5080 | } | |
5081 | static PyObject *_wrap_new_HtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5082 | PyObject *resultobj; | |
5083 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5084 | int arg2 = (int) -1 ; | |
5085 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5086 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5087 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5088 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5089 | int arg5 = (int) wxHW_DEFAULT_STYLE ; | |
5090 | wxString const &arg6_defvalue = wxPyHtmlWindowNameStr ; | |
5091 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5092 | wxPyHtmlWindow *result; | |
5093 | wxPoint temp3 ; | |
5094 | wxSize temp4 ; | |
423f194a | 5095 | bool temp6 = False ; |
d14a1e28 RD |
5096 | PyObject * obj0 = 0 ; |
5097 | PyObject * obj2 = 0 ; | |
5098 | PyObject * obj3 = 0 ; | |
5099 | PyObject * obj5 = 0 ; | |
5100 | char *kwnames[] = { | |
5101 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5102 | }; | |
5103 | ||
5104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOiO:new_HtmlWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5105 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5106 | if (obj2) { | |
5107 | { | |
5108 | arg3 = &temp3; | |
5109 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5110 | } | |
5111 | } | |
5112 | if (obj3) { | |
5113 | { | |
5114 | arg4 = &temp4; | |
5115 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5116 | } | |
5117 | } | |
5118 | if (obj5) { | |
5119 | { | |
5120 | arg6 = wxString_in_helper(obj5); | |
5121 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 5122 | temp6 = True; |
d14a1e28 RD |
5123 | } |
5124 | } | |
5125 | { | |
5126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5127 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5128 | ||
5129 | wxPyEndAllowThreads(__tstate); | |
5130 | if (PyErr_Occurred()) SWIG_fail; | |
5131 | } | |
5132 | { | |
5133 | resultobj = wxPyMake_wxObject(result); | |
5134 | } | |
5135 | { | |
5136 | if (temp6) | |
5137 | delete arg6; | |
5138 | } | |
5139 | return resultobj; | |
5140 | fail: | |
5141 | { | |
5142 | if (temp6) | |
5143 | delete arg6; | |
5144 | } | |
5145 | return NULL; | |
5146 | } | |
5147 | ||
5148 | ||
5149 | static PyObject *_wrap_new_PreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5150 | PyObject *resultobj; | |
5151 | wxPyHtmlWindow *result; | |
5152 | char *kwnames[] = { | |
5153 | NULL | |
5154 | }; | |
5155 | ||
5156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlWindow",kwnames)) goto fail; | |
5157 | { | |
5158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5159 | result = (wxPyHtmlWindow *)new wxPyHtmlWindow(); | |
5160 | ||
5161 | wxPyEndAllowThreads(__tstate); | |
5162 | if (PyErr_Occurred()) SWIG_fail; | |
5163 | } | |
5164 | { | |
5165 | resultobj = wxPyMake_wxObject(result); | |
5166 | } | |
5167 | return resultobj; | |
5168 | fail: | |
5169 | return NULL; | |
5170 | } | |
5171 | ||
5172 | ||
5173 | static PyObject *_wrap_HtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5174 | PyObject *resultobj; | |
5175 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5176 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5177 | int arg3 = (int) -1 ; | |
5178 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5179 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5180 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5181 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5182 | int arg6 = (int) wxHW_SCROLLBAR_AUTO ; | |
5183 | wxString const &arg7_defvalue = wxPyHtmlWindowNameStr ; | |
5184 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5185 | bool result; | |
5186 | wxPoint temp4 ; | |
5187 | wxSize temp5 ; | |
423f194a | 5188 | bool temp7 = False ; |
d14a1e28 RD |
5189 | PyObject * obj0 = 0 ; |
5190 | PyObject * obj1 = 0 ; | |
5191 | PyObject * obj3 = 0 ; | |
5192 | PyObject * obj4 = 0 ; | |
5193 | PyObject * obj6 = 0 ; | |
5194 | char *kwnames[] = { | |
5195 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5196 | }; | |
5197 | ||
5198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOiO:HtmlWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5199 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5200 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5201 | if (obj3) { | |
5202 | { | |
5203 | arg4 = &temp4; | |
5204 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5205 | } | |
5206 | } | |
5207 | if (obj4) { | |
5208 | { | |
5209 | arg5 = &temp5; | |
5210 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5211 | } | |
5212 | } | |
5213 | if (obj6) { | |
5214 | { | |
5215 | arg7 = wxString_in_helper(obj6); | |
5216 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 5217 | temp7 = True; |
d14a1e28 RD |
5218 | } |
5219 | } | |
5220 | { | |
5221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5222 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5223 | ||
5224 | wxPyEndAllowThreads(__tstate); | |
5225 | if (PyErr_Occurred()) SWIG_fail; | |
5226 | } | |
5227 | resultobj = PyInt_FromLong((long)result); | |
5228 | { | |
5229 | if (temp7) | |
5230 | delete arg7; | |
5231 | } | |
5232 | return resultobj; | |
5233 | fail: | |
5234 | { | |
5235 | if (temp7) | |
5236 | delete arg7; | |
5237 | } | |
5238 | return NULL; | |
5239 | } | |
5240 | ||
5241 | ||
5242 | static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5243 | PyObject *resultobj; | |
5244 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5245 | PyObject *arg2 = (PyObject *) 0 ; | |
5246 | PyObject *arg3 = (PyObject *) 0 ; | |
5247 | PyObject * obj0 = 0 ; | |
5248 | PyObject * obj1 = 0 ; | |
5249 | PyObject * obj2 = 0 ; | |
5250 | char *kwnames[] = { | |
5251 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5252 | }; | |
5253 | ||
5254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5256 | arg2 = obj1; | |
5257 | arg3 = obj2; | |
5258 | { | |
5259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5260 | (arg1)->_setCallbackInfo(arg2,arg3); | |
5261 | ||
5262 | wxPyEndAllowThreads(__tstate); | |
5263 | if (PyErr_Occurred()) SWIG_fail; | |
5264 | } | |
5265 | Py_INCREF(Py_None); resultobj = Py_None; | |
5266 | return resultobj; | |
5267 | fail: | |
5268 | return NULL; | |
5269 | } | |
5270 | ||
5271 | ||
5272 | static PyObject *_wrap_HtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5273 | PyObject *resultobj; | |
5274 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5275 | wxString *arg2 = 0 ; | |
5276 | bool result; | |
423f194a | 5277 | bool temp2 = False ; |
d14a1e28 RD |
5278 | PyObject * obj0 = 0 ; |
5279 | PyObject * obj1 = 0 ; | |
5280 | char *kwnames[] = { | |
5281 | (char *) "self",(char *) "source", NULL | |
5282 | }; | |
5283 | ||
5284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetPage",kwnames,&obj0,&obj1)) goto fail; | |
5285 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5286 | { | |
5287 | arg2 = wxString_in_helper(obj1); | |
5288 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5289 | temp2 = True; |
d14a1e28 RD |
5290 | } |
5291 | { | |
5292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5293 | result = (bool)(arg1)->SetPage((wxString const &)*arg2); | |
5294 | ||
5295 | wxPyEndAllowThreads(__tstate); | |
5296 | if (PyErr_Occurred()) SWIG_fail; | |
5297 | } | |
5298 | resultobj = PyInt_FromLong((long)result); | |
5299 | { | |
5300 | if (temp2) | |
5301 | delete arg2; | |
5302 | } | |
5303 | return resultobj; | |
5304 | fail: | |
5305 | { | |
5306 | if (temp2) | |
5307 | delete arg2; | |
5308 | } | |
5309 | return NULL; | |
5310 | } | |
5311 | ||
5312 | ||
5313 | static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5314 | PyObject *resultobj; | |
5315 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5316 | wxString *arg2 = 0 ; | |
5317 | bool result; | |
423f194a | 5318 | bool temp2 = False ; |
d14a1e28 RD |
5319 | PyObject * obj0 = 0 ; |
5320 | PyObject * obj1 = 0 ; | |
5321 | char *kwnames[] = { | |
5322 | (char *) "self",(char *) "location", NULL | |
5323 | }; | |
5324 | ||
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadPage",kwnames,&obj0,&obj1)) goto fail; | |
5326 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5327 | { | |
5328 | arg2 = wxString_in_helper(obj1); | |
5329 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5330 | temp2 = True; |
d14a1e28 RD |
5331 | } |
5332 | { | |
5333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5334 | result = (bool)(arg1)->LoadPage((wxString const &)*arg2); | |
5335 | ||
5336 | wxPyEndAllowThreads(__tstate); | |
5337 | if (PyErr_Occurred()) SWIG_fail; | |
5338 | } | |
5339 | resultobj = PyInt_FromLong((long)result); | |
5340 | { | |
5341 | if (temp2) | |
5342 | delete arg2; | |
5343 | } | |
5344 | return resultobj; | |
5345 | fail: | |
5346 | { | |
5347 | if (temp2) | |
5348 | delete arg2; | |
5349 | } | |
5350 | return NULL; | |
5351 | } | |
5352 | ||
5353 | ||
5354 | static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5355 | PyObject *resultobj; | |
5356 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5357 | wxString *arg2 = 0 ; | |
5358 | bool result; | |
423f194a | 5359 | bool temp2 = False ; |
d14a1e28 RD |
5360 | PyObject * obj0 = 0 ; |
5361 | PyObject * obj1 = 0 ; | |
5362 | char *kwnames[] = { | |
5363 | (char *) "self",(char *) "filename", NULL | |
5364 | }; | |
5365 | ||
5366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
5367 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5368 | { | |
5369 | arg2 = wxString_in_helper(obj1); | |
5370 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5371 | temp2 = True; |
d14a1e28 RD |
5372 | } |
5373 | { | |
5374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5375 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
5376 | ||
5377 | wxPyEndAllowThreads(__tstate); | |
5378 | if (PyErr_Occurred()) SWIG_fail; | |
5379 | } | |
5380 | resultobj = PyInt_FromLong((long)result); | |
5381 | { | |
5382 | if (temp2) | |
5383 | delete arg2; | |
5384 | } | |
5385 | return resultobj; | |
5386 | fail: | |
5387 | { | |
5388 | if (temp2) | |
5389 | delete arg2; | |
5390 | } | |
5391 | return NULL; | |
5392 | } | |
5393 | ||
5394 | ||
5395 | static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5396 | PyObject *resultobj; | |
5397 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5398 | wxString *arg2 = 0 ; | |
5399 | bool result; | |
423f194a | 5400 | bool temp2 = False ; |
d14a1e28 RD |
5401 | PyObject * obj0 = 0 ; |
5402 | PyObject * obj1 = 0 ; | |
5403 | char *kwnames[] = { | |
5404 | (char *) "self",(char *) "source", NULL | |
5405 | }; | |
5406 | ||
5407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_AppendToPage",kwnames,&obj0,&obj1)) goto fail; | |
5408 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5409 | { | |
5410 | arg2 = wxString_in_helper(obj1); | |
5411 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5412 | temp2 = True; |
d14a1e28 RD |
5413 | } |
5414 | { | |
5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5416 | result = (bool)(arg1)->AppendToPage((wxString const &)*arg2); | |
5417 | ||
5418 | wxPyEndAllowThreads(__tstate); | |
5419 | if (PyErr_Occurred()) SWIG_fail; | |
5420 | } | |
5421 | resultobj = PyInt_FromLong((long)result); | |
5422 | { | |
5423 | if (temp2) | |
5424 | delete arg2; | |
5425 | } | |
5426 | return resultobj; | |
5427 | fail: | |
5428 | { | |
5429 | if (temp2) | |
5430 | delete arg2; | |
5431 | } | |
5432 | return NULL; | |
5433 | } | |
5434 | ||
5435 | ||
5436 | static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5437 | PyObject *resultobj; | |
5438 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5439 | wxString result; | |
5440 | PyObject * obj0 = 0 ; | |
5441 | char *kwnames[] = { | |
5442 | (char *) "self", NULL | |
5443 | }; | |
5444 | ||
5445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPage",kwnames,&obj0)) goto fail; | |
5446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5447 | { | |
5448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5449 | result = (arg1)->GetOpenedPage(); | |
5450 | ||
5451 | wxPyEndAllowThreads(__tstate); | |
5452 | if (PyErr_Occurred()) SWIG_fail; | |
5453 | } | |
5454 | { | |
5455 | #if wxUSE_UNICODE | |
5456 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5457 | #else | |
5458 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5459 | #endif | |
5460 | } | |
5461 | return resultobj; | |
5462 | fail: | |
5463 | return NULL; | |
5464 | } | |
5465 | ||
5466 | ||
5467 | static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5468 | PyObject *resultobj; | |
5469 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5470 | wxString result; | |
5471 | PyObject * obj0 = 0 ; | |
5472 | char *kwnames[] = { | |
5473 | (char *) "self", NULL | |
5474 | }; | |
5475 | ||
5476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedAnchor",kwnames,&obj0)) goto fail; | |
5477 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5478 | { | |
5479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5480 | result = (arg1)->GetOpenedAnchor(); | |
5481 | ||
5482 | wxPyEndAllowThreads(__tstate); | |
5483 | if (PyErr_Occurred()) SWIG_fail; | |
5484 | } | |
5485 | { | |
5486 | #if wxUSE_UNICODE | |
5487 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5488 | #else | |
5489 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5490 | #endif | |
5491 | } | |
5492 | return resultobj; | |
5493 | fail: | |
5494 | return NULL; | |
5495 | } | |
5496 | ||
5497 | ||
5498 | static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5499 | PyObject *resultobj; | |
5500 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5501 | wxString result; | |
5502 | PyObject * obj0 = 0 ; | |
5503 | char *kwnames[] = { | |
5504 | (char *) "self", NULL | |
5505 | }; | |
5506 | ||
5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetOpenedPageTitle",kwnames,&obj0)) goto fail; | |
5508 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5509 | { | |
5510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5511 | result = (arg1)->GetOpenedPageTitle(); | |
5512 | ||
5513 | wxPyEndAllowThreads(__tstate); | |
5514 | if (PyErr_Occurred()) SWIG_fail; | |
5515 | } | |
5516 | { | |
5517 | #if wxUSE_UNICODE | |
5518 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5519 | #else | |
5520 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5521 | #endif | |
5522 | } | |
5523 | return resultobj; | |
5524 | fail: | |
5525 | return NULL; | |
5526 | } | |
5527 | ||
5528 | ||
5529 | static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5530 | PyObject *resultobj; | |
5531 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5532 | wxFrame *arg2 = (wxFrame *) 0 ; | |
5533 | wxString *arg3 = 0 ; | |
423f194a | 5534 | bool temp3 = False ; |
d14a1e28 RD |
5535 | PyObject * obj0 = 0 ; |
5536 | PyObject * obj1 = 0 ; | |
5537 | PyObject * obj2 = 0 ; | |
5538 | char *kwnames[] = { | |
5539 | (char *) "self",(char *) "frame",(char *) "format", NULL | |
5540 | }; | |
5541 | ||
5542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlWindow_SetRelatedFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5543 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5544 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5545 | { | |
5546 | arg3 = wxString_in_helper(obj2); | |
5547 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 5548 | temp3 = True; |
d14a1e28 RD |
5549 | } |
5550 | { | |
5551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5552 | (arg1)->SetRelatedFrame(arg2,(wxString const &)*arg3); | |
5553 | ||
5554 | wxPyEndAllowThreads(__tstate); | |
5555 | if (PyErr_Occurred()) SWIG_fail; | |
5556 | } | |
5557 | Py_INCREF(Py_None); resultobj = Py_None; | |
5558 | { | |
5559 | if (temp3) | |
5560 | delete arg3; | |
5561 | } | |
5562 | return resultobj; | |
5563 | fail: | |
5564 | { | |
5565 | if (temp3) | |
5566 | delete arg3; | |
5567 | } | |
5568 | return NULL; | |
5569 | } | |
5570 | ||
5571 | ||
5572 | static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5573 | PyObject *resultobj; | |
5574 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5575 | wxFrame *result; | |
5576 | PyObject * obj0 = 0 ; | |
5577 | char *kwnames[] = { | |
5578 | (char *) "self", NULL | |
5579 | }; | |
5580 | ||
5581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetRelatedFrame",kwnames,&obj0)) goto fail; | |
5582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5583 | { | |
5584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5585 | result = (wxFrame *)(arg1)->GetRelatedFrame(); | |
5586 | ||
5587 | wxPyEndAllowThreads(__tstate); | |
5588 | if (PyErr_Occurred()) SWIG_fail; | |
5589 | } | |
5590 | { | |
5591 | resultobj = wxPyMake_wxObject(result); | |
5592 | } | |
5593 | return resultobj; | |
5594 | fail: | |
5595 | return NULL; | |
5596 | } | |
5597 | ||
5598 | ||
5599 | static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5600 | PyObject *resultobj; | |
5601 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5602 | int arg2 ; | |
5603 | PyObject * obj0 = 0 ; | |
5604 | char *kwnames[] = { | |
5605 | (char *) "self",(char *) "bar", NULL | |
5606 | }; | |
5607 | ||
5608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetRelatedStatusBar",kwnames,&obj0,&arg2)) goto fail; | |
5609 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5610 | { | |
5611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5612 | (arg1)->SetRelatedStatusBar(arg2); | |
5613 | ||
5614 | wxPyEndAllowThreads(__tstate); | |
5615 | if (PyErr_Occurred()) SWIG_fail; | |
5616 | } | |
5617 | Py_INCREF(Py_None); resultobj = Py_None; | |
5618 | return resultobj; | |
5619 | fail: | |
5620 | return NULL; | |
5621 | } | |
5622 | ||
5623 | ||
5624 | static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5625 | PyObject *resultobj; | |
5626 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5627 | wxString arg2 ; | |
5628 | wxString arg3 ; | |
5629 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
5630 | PyObject * obj0 = 0 ; |
5631 | PyObject * obj1 = 0 ; | |
5632 | PyObject * obj2 = 0 ; | |
5633 | PyObject * obj3 = 0 ; | |
5634 | char *kwnames[] = { | |
5635 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
5636 | }; | |
5637 | ||
5638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlWindow_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
423f194a RD |
5640 | { |
5641 | wxString* sptr = wxString_in_helper(obj1); | |
5642 | if (sptr == NULL) SWIG_fail; | |
5643 | arg2 = *sptr; | |
5644 | delete sptr; | |
5645 | } | |
5646 | { | |
5647 | wxString* sptr = wxString_in_helper(obj2); | |
5648 | if (sptr == NULL) SWIG_fail; | |
5649 | arg3 = *sptr; | |
5650 | delete sptr; | |
5651 | } | |
d14a1e28 RD |
5652 | if (obj3) { |
5653 | arg4 = obj3; | |
5654 | } | |
5655 | { | |
5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5657 | wxPyHtmlWindow_SetFonts(arg1,arg2,arg3,arg4); | |
5658 | ||
5659 | wxPyEndAllowThreads(__tstate); | |
5660 | if (PyErr_Occurred()) SWIG_fail; | |
5661 | } | |
5662 | Py_INCREF(Py_None); resultobj = Py_None; | |
5663 | return resultobj; | |
5664 | fail: | |
5665 | return NULL; | |
5666 | } | |
5667 | ||
5668 | ||
5669 | static PyObject *_wrap_HtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5670 | PyObject *resultobj; | |
5671 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5672 | wxString *arg2 = 0 ; | |
423f194a | 5673 | bool temp2 = False ; |
d14a1e28 RD |
5674 | PyObject * obj0 = 0 ; |
5675 | PyObject * obj1 = 0 ; | |
5676 | char *kwnames[] = { | |
5677 | (char *) "self",(char *) "title", NULL | |
5678 | }; | |
5679 | ||
5680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
5681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5682 | { | |
5683 | arg2 = wxString_in_helper(obj1); | |
5684 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5685 | temp2 = True; |
d14a1e28 RD |
5686 | } |
5687 | { | |
5688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5689 | (arg1)->SetTitle((wxString const &)*arg2); | |
5690 | ||
5691 | wxPyEndAllowThreads(__tstate); | |
5692 | if (PyErr_Occurred()) SWIG_fail; | |
5693 | } | |
5694 | Py_INCREF(Py_None); resultobj = Py_None; | |
5695 | { | |
5696 | if (temp2) | |
5697 | delete arg2; | |
5698 | } | |
5699 | return resultobj; | |
5700 | fail: | |
5701 | { | |
5702 | if (temp2) | |
5703 | delete arg2; | |
5704 | } | |
5705 | return NULL; | |
5706 | } | |
5707 | ||
5708 | ||
5709 | static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5710 | PyObject *resultobj; | |
5711 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5712 | int arg2 ; | |
5713 | PyObject * obj0 = 0 ; | |
5714 | char *kwnames[] = { | |
5715 | (char *) "self",(char *) "b", NULL | |
5716 | }; | |
5717 | ||
5718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:HtmlWindow_SetBorders",kwnames,&obj0,&arg2)) goto fail; | |
5719 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5720 | { | |
5721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5722 | (arg1)->SetBorders(arg2); | |
5723 | ||
5724 | wxPyEndAllowThreads(__tstate); | |
5725 | if (PyErr_Occurred()) SWIG_fail; | |
5726 | } | |
5727 | Py_INCREF(Py_None); resultobj = Py_None; | |
5728 | return resultobj; | |
5729 | fail: | |
5730 | return NULL; | |
5731 | } | |
5732 | ||
5733 | ||
5734 | static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5735 | PyObject *resultobj; | |
5736 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5737 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5738 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5739 | PyObject * obj0 = 0 ; |
5740 | PyObject * obj1 = 0 ; | |
5741 | PyObject * obj2 = 0 ; | |
5742 | char *kwnames[] = { | |
5743 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5744 | }; | |
5745 | ||
5746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5747 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5748 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5749 | if (obj2) { | |
423f194a RD |
5750 | { |
5751 | wxString* sptr = wxString_in_helper(obj2); | |
5752 | if (sptr == NULL) SWIG_fail; | |
5753 | arg3 = *sptr; | |
5754 | delete sptr; | |
5755 | } | |
d14a1e28 RD |
5756 | } |
5757 | { | |
5758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5759 | (arg1)->ReadCustomization(arg2,arg3); | |
5760 | ||
5761 | wxPyEndAllowThreads(__tstate); | |
5762 | if (PyErr_Occurred()) SWIG_fail; | |
5763 | } | |
5764 | Py_INCREF(Py_None); resultobj = Py_None; | |
5765 | return resultobj; | |
5766 | fail: | |
5767 | return NULL; | |
5768 | } | |
5769 | ||
5770 | ||
5771 | static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5772 | PyObject *resultobj; | |
5773 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5774 | wxConfigBase *arg2 = (wxConfigBase *) 0 ; | |
5775 | wxString arg3 = (wxString) wxPyEmptyString ; | |
d14a1e28 RD |
5776 | PyObject * obj0 = 0 ; |
5777 | PyObject * obj1 = 0 ; | |
5778 | PyObject * obj2 = 0 ; | |
5779 | char *kwnames[] = { | |
5780 | (char *) "self",(char *) "cfg",(char *) "path", NULL | |
5781 | }; | |
5782 | ||
5783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5785 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5786 | if (obj2) { | |
423f194a RD |
5787 | { |
5788 | wxString* sptr = wxString_in_helper(obj2); | |
5789 | if (sptr == NULL) SWIG_fail; | |
5790 | arg3 = *sptr; | |
5791 | delete sptr; | |
5792 | } | |
d14a1e28 RD |
5793 | } |
5794 | { | |
5795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5796 | (arg1)->WriteCustomization(arg2,arg3); | |
5797 | ||
5798 | wxPyEndAllowThreads(__tstate); | |
5799 | if (PyErr_Occurred()) SWIG_fail; | |
5800 | } | |
5801 | Py_INCREF(Py_None); resultobj = Py_None; | |
5802 | return resultobj; | |
5803 | fail: | |
5804 | return NULL; | |
5805 | } | |
5806 | ||
5807 | ||
5808 | static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5809 | PyObject *resultobj; | |
5810 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5811 | bool result; | |
5812 | PyObject * obj0 = 0 ; | |
5813 | char *kwnames[] = { | |
5814 | (char *) "self", NULL | |
5815 | }; | |
5816 | ||
5817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryBack",kwnames,&obj0)) goto fail; | |
5818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5819 | { | |
5820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5821 | result = (bool)(arg1)->HistoryBack(); | |
5822 | ||
5823 | wxPyEndAllowThreads(__tstate); | |
5824 | if (PyErr_Occurred()) SWIG_fail; | |
5825 | } | |
5826 | resultobj = PyInt_FromLong((long)result); | |
5827 | return resultobj; | |
5828 | fail: | |
5829 | return NULL; | |
5830 | } | |
5831 | ||
5832 | ||
5833 | static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5834 | PyObject *resultobj; | |
5835 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5836 | bool result; | |
5837 | PyObject * obj0 = 0 ; | |
5838 | char *kwnames[] = { | |
5839 | (char *) "self", NULL | |
5840 | }; | |
5841 | ||
5842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryForward",kwnames,&obj0)) goto fail; | |
5843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5844 | { | |
5845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5846 | result = (bool)(arg1)->HistoryForward(); | |
5847 | ||
5848 | wxPyEndAllowThreads(__tstate); | |
5849 | if (PyErr_Occurred()) SWIG_fail; | |
5850 | } | |
5851 | resultobj = PyInt_FromLong((long)result); | |
5852 | return resultobj; | |
5853 | fail: | |
5854 | return NULL; | |
5855 | } | |
5856 | ||
5857 | ||
5858 | static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5859 | PyObject *resultobj; | |
5860 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5861 | bool result; | |
5862 | PyObject * obj0 = 0 ; | |
5863 | char *kwnames[] = { | |
5864 | (char *) "self", NULL | |
5865 | }; | |
5866 | ||
5867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanBack",kwnames,&obj0)) goto fail; | |
5868 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5869 | { | |
5870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5871 | result = (bool)(arg1)->HistoryCanBack(); | |
5872 | ||
5873 | wxPyEndAllowThreads(__tstate); | |
5874 | if (PyErr_Occurred()) SWIG_fail; | |
5875 | } | |
5876 | resultobj = PyInt_FromLong((long)result); | |
5877 | return resultobj; | |
5878 | fail: | |
5879 | return NULL; | |
5880 | } | |
5881 | ||
5882 | ||
5883 | static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5884 | PyObject *resultobj; | |
5885 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5886 | bool result; | |
5887 | PyObject * obj0 = 0 ; | |
5888 | char *kwnames[] = { | |
5889 | (char *) "self", NULL | |
5890 | }; | |
5891 | ||
5892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryCanForward",kwnames,&obj0)) goto fail; | |
5893 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5894 | { | |
5895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5896 | result = (bool)(arg1)->HistoryCanForward(); | |
5897 | ||
5898 | wxPyEndAllowThreads(__tstate); | |
5899 | if (PyErr_Occurred()) SWIG_fail; | |
5900 | } | |
5901 | resultobj = PyInt_FromLong((long)result); | |
5902 | return resultobj; | |
5903 | fail: | |
5904 | return NULL; | |
5905 | } | |
5906 | ||
5907 | ||
5908 | static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5909 | PyObject *resultobj; | |
5910 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5911 | PyObject * obj0 = 0 ; | |
5912 | char *kwnames[] = { | |
5913 | (char *) "self", NULL | |
5914 | }; | |
5915 | ||
5916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_HistoryClear",kwnames,&obj0)) goto fail; | |
5917 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5918 | { | |
5919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5920 | (arg1)->HistoryClear(); | |
5921 | ||
5922 | wxPyEndAllowThreads(__tstate); | |
5923 | if (PyErr_Occurred()) SWIG_fail; | |
5924 | } | |
5925 | Py_INCREF(Py_None); resultobj = Py_None; | |
5926 | return resultobj; | |
5927 | fail: | |
5928 | return NULL; | |
5929 | } | |
5930 | ||
5931 | ||
5932 | static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5933 | PyObject *resultobj; | |
5934 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5935 | wxHtmlContainerCell *result; | |
5936 | PyObject * obj0 = 0 ; | |
5937 | char *kwnames[] = { | |
5938 | (char *) "self", NULL | |
5939 | }; | |
5940 | ||
5941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetInternalRepresentation",kwnames,&obj0)) goto fail; | |
5942 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5943 | { | |
5944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5945 | result = (wxHtmlContainerCell *)(arg1)->GetInternalRepresentation(); | |
5946 | ||
5947 | wxPyEndAllowThreads(__tstate); | |
5948 | if (PyErr_Occurred()) SWIG_fail; | |
5949 | } | |
5950 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlContainerCell, 0); | |
5951 | return resultobj; | |
5952 | fail: | |
5953 | return NULL; | |
5954 | } | |
5955 | ||
5956 | ||
5957 | static PyObject *_wrap_HtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5958 | PyObject *resultobj; | |
5959 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5960 | wxHtmlWinParser *result; | |
5961 | PyObject * obj0 = 0 ; | |
5962 | char *kwnames[] = { | |
5963 | (char *) "self", NULL | |
5964 | }; | |
5965 | ||
5966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_GetParser",kwnames,&obj0)) goto fail; | |
5967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5968 | { | |
5969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5970 | result = (wxHtmlWinParser *)(arg1)->GetParser(); | |
5971 | ||
5972 | wxPyEndAllowThreads(__tstate); | |
5973 | if (PyErr_Occurred()) SWIG_fail; | |
5974 | } | |
5975 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlWinParser, 0); | |
5976 | return resultobj; | |
5977 | fail: | |
5978 | return NULL; | |
5979 | } | |
5980 | ||
5981 | ||
5982 | static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5983 | PyObject *resultobj; | |
5984 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
5985 | wxString *arg2 = 0 ; | |
5986 | bool result; | |
423f194a | 5987 | bool temp2 = False ; |
d14a1e28 RD |
5988 | PyObject * obj0 = 0 ; |
5989 | PyObject * obj1 = 0 ; | |
5990 | char *kwnames[] = { | |
5991 | (char *) "self",(char *) "anchor", NULL | |
5992 | }; | |
5993 | ||
5994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_ScrollToAnchor",kwnames,&obj0,&obj1)) goto fail; | |
5995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5996 | { | |
5997 | arg2 = wxString_in_helper(obj1); | |
5998 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5999 | temp2 = True; |
d14a1e28 RD |
6000 | } |
6001 | { | |
6002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6003 | result = (bool)(arg1)->ScrollToAnchor((wxString const &)*arg2); | |
6004 | ||
6005 | wxPyEndAllowThreads(__tstate); | |
6006 | if (PyErr_Occurred()) SWIG_fail; | |
6007 | } | |
6008 | resultobj = PyInt_FromLong((long)result); | |
6009 | { | |
6010 | if (temp2) | |
6011 | delete arg2; | |
6012 | } | |
6013 | return resultobj; | |
6014 | fail: | |
6015 | { | |
6016 | if (temp2) | |
6017 | delete arg2; | |
6018 | } | |
6019 | return NULL; | |
6020 | } | |
6021 | ||
6022 | ||
6023 | static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6024 | PyObject *resultobj; | |
6025 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6026 | wxString *arg2 = 0 ; | |
6027 | bool result; | |
423f194a | 6028 | bool temp2 = False ; |
d14a1e28 RD |
6029 | PyObject * obj0 = 0 ; |
6030 | PyObject * obj1 = 0 ; | |
6031 | char *kwnames[] = { | |
6032 | (char *) "self",(char *) "anchor", NULL | |
6033 | }; | |
6034 | ||
6035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_HasAnchor",kwnames,&obj0,&obj1)) goto fail; | |
6036 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6037 | { | |
6038 | arg2 = wxString_in_helper(obj1); | |
6039 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6040 | temp2 = True; |
d14a1e28 RD |
6041 | } |
6042 | { | |
6043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6044 | result = (bool)(arg1)->HasAnchor((wxString const &)*arg2); | |
6045 | ||
6046 | wxPyEndAllowThreads(__tstate); | |
6047 | if (PyErr_Occurred()) SWIG_fail; | |
6048 | } | |
6049 | resultobj = PyInt_FromLong((long)result); | |
6050 | { | |
6051 | if (temp2) | |
6052 | delete arg2; | |
6053 | } | |
6054 | return resultobj; | |
6055 | fail: | |
6056 | { | |
6057 | if (temp2) | |
6058 | delete arg2; | |
6059 | } | |
6060 | return NULL; | |
6061 | } | |
6062 | ||
6063 | ||
6064 | static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6065 | PyObject *resultobj; | |
6066 | wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; | |
6067 | PyObject * obj0 = 0 ; | |
6068 | char *kwnames[] = { | |
6069 | (char *) "filter", NULL | |
6070 | }; | |
6071 | ||
6072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindow_AddFilter",kwnames,&obj0)) goto fail; | |
6073 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6074 | { | |
6075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6076 | wxPyHtmlWindow::AddFilter(arg1); | |
6077 | ||
6078 | wxPyEndAllowThreads(__tstate); | |
6079 | if (PyErr_Occurred()) SWIG_fail; | |
6080 | } | |
6081 | Py_INCREF(Py_None); resultobj = Py_None; | |
6082 | return resultobj; | |
6083 | fail: | |
6084 | return NULL; | |
6085 | } | |
6086 | ||
6087 | ||
6088 | static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6089 | PyObject *resultobj; | |
6090 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6091 | wxHtmlLinkInfo *arg2 = 0 ; | |
6092 | PyObject * obj0 = 0 ; | |
6093 | PyObject * obj1 = 0 ; | |
6094 | char *kwnames[] = { | |
6095 | (char *) "self",(char *) "link", NULL | |
6096 | }; | |
6097 | ||
6098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnLinkClicked",kwnames,&obj0,&obj1)) goto fail; | |
6099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6100 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlLinkInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6101 | if (arg2 == NULL) { | |
6102 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6103 | } | |
6104 | { | |
6105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6106 | (arg1)->base_OnLinkClicked((wxHtmlLinkInfo const &)*arg2); | |
6107 | ||
6108 | wxPyEndAllowThreads(__tstate); | |
6109 | if (PyErr_Occurred()) SWIG_fail; | |
6110 | } | |
6111 | Py_INCREF(Py_None); resultobj = Py_None; | |
6112 | return resultobj; | |
6113 | fail: | |
6114 | return NULL; | |
6115 | } | |
6116 | ||
6117 | ||
6118 | static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6119 | PyObject *resultobj; | |
6120 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6121 | wxString *arg2 = 0 ; | |
423f194a | 6122 | bool temp2 = False ; |
d14a1e28 RD |
6123 | PyObject * obj0 = 0 ; |
6124 | PyObject * obj1 = 0 ; | |
6125 | char *kwnames[] = { | |
6126 | (char *) "self",(char *) "title", NULL | |
6127 | }; | |
6128 | ||
6129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindow_base_OnSetTitle",kwnames,&obj0,&obj1)) goto fail; | |
6130 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6131 | { | |
6132 | arg2 = wxString_in_helper(obj1); | |
6133 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6134 | temp2 = True; |
d14a1e28 RD |
6135 | } |
6136 | { | |
6137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6138 | (arg1)->base_OnSetTitle((wxString const &)*arg2); | |
6139 | ||
6140 | wxPyEndAllowThreads(__tstate); | |
6141 | if (PyErr_Occurred()) SWIG_fail; | |
6142 | } | |
6143 | Py_INCREF(Py_None); resultobj = Py_None; | |
6144 | { | |
6145 | if (temp2) | |
6146 | delete arg2; | |
6147 | } | |
6148 | return resultobj; | |
6149 | fail: | |
6150 | { | |
6151 | if (temp2) | |
6152 | delete arg2; | |
6153 | } | |
6154 | return NULL; | |
6155 | } | |
6156 | ||
6157 | ||
6158 | static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6159 | PyObject *resultobj; | |
6160 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6161 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
423f194a RD |
6162 | int arg3 ; |
6163 | int arg4 ; | |
d14a1e28 RD |
6164 | PyObject * obj0 = 0 ; |
6165 | PyObject * obj1 = 0 ; | |
6166 | char *kwnames[] = { | |
6167 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y", NULL | |
6168 | }; | |
6169 | ||
6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:HtmlWindow_base_OnCellMouseHover",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; | |
6171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6172 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6173 | { | |
6174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6175 | (arg1)->base_OnCellMouseHover(arg2,arg3,arg4); | |
6176 | ||
6177 | wxPyEndAllowThreads(__tstate); | |
6178 | if (PyErr_Occurred()) SWIG_fail; | |
6179 | } | |
6180 | Py_INCREF(Py_None); resultobj = Py_None; | |
6181 | return resultobj; | |
6182 | fail: | |
6183 | return NULL; | |
6184 | } | |
6185 | ||
6186 | ||
6187 | static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6188 | PyObject *resultobj; | |
6189 | wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; | |
6190 | wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; | |
423f194a RD |
6191 | int arg3 ; |
6192 | int arg4 ; | |
d14a1e28 RD |
6193 | wxMouseEvent *arg5 = 0 ; |
6194 | PyObject * obj0 = 0 ; | |
6195 | PyObject * obj1 = 0 ; | |
6196 | PyObject * obj4 = 0 ; | |
6197 | char *kwnames[] = { | |
6198 | (char *) "self",(char *) "cell",(char *) "x",(char *) "y",(char *) "event", NULL | |
6199 | }; | |
6200 | ||
6201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiO:HtmlWindow_base_OnCellClicked",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
6202 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6203 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxHtmlCell,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6204 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6205 | if (arg5 == NULL) { | |
6206 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
6207 | } | |
6208 | { | |
6209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6210 | (arg1)->base_OnCellClicked(arg2,arg3,arg4,(wxMouseEvent const &)*arg5); | |
6211 | ||
6212 | wxPyEndAllowThreads(__tstate); | |
6213 | if (PyErr_Occurred()) SWIG_fail; | |
6214 | } | |
6215 | Py_INCREF(Py_None); resultobj = Py_None; | |
6216 | return resultobj; | |
6217 | fail: | |
6218 | return NULL; | |
6219 | } | |
6220 | ||
6221 | ||
6222 | static PyObject * HtmlWindow_swigregister(PyObject *self, PyObject *args) { | |
6223 | PyObject *obj; | |
6224 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6225 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlWindow, obj); | |
6226 | Py_INCREF(obj); | |
6227 | return Py_BuildValue((char *)""); | |
6228 | } | |
6229 | static PyObject *_wrap_new_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6230 | PyObject *resultobj; | |
6231 | wxHtmlDCRenderer *result; | |
6232 | char *kwnames[] = { | |
6233 | NULL | |
6234 | }; | |
6235 | ||
6236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_HtmlDCRenderer",kwnames)) goto fail; | |
6237 | { | |
6238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6239 | result = (wxHtmlDCRenderer *)new wxHtmlDCRenderer(); | |
6240 | ||
6241 | wxPyEndAllowThreads(__tstate); | |
6242 | if (PyErr_Occurred()) SWIG_fail; | |
6243 | } | |
6244 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlDCRenderer, 1); | |
6245 | return resultobj; | |
6246 | fail: | |
6247 | return NULL; | |
6248 | } | |
6249 | ||
6250 | ||
6251 | static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6252 | PyObject *resultobj; | |
6253 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6254 | PyObject * obj0 = 0 ; | |
6255 | char *kwnames[] = { | |
6256 | (char *) "self", NULL | |
6257 | }; | |
6258 | ||
6259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlDCRenderer",kwnames,&obj0)) goto fail; | |
6260 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6261 | { | |
6262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6263 | delete arg1; | |
6264 | ||
6265 | wxPyEndAllowThreads(__tstate); | |
6266 | if (PyErr_Occurred()) SWIG_fail; | |
6267 | } | |
6268 | Py_INCREF(Py_None); resultobj = Py_None; | |
6269 | return resultobj; | |
6270 | fail: | |
6271 | return NULL; | |
6272 | } | |
6273 | ||
6274 | ||
6275 | static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6276 | PyObject *resultobj; | |
6277 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6278 | wxDC *arg2 = (wxDC *) 0 ; | |
6279 | int arg3 ; | |
6280 | PyObject * obj0 = 0 ; | |
6281 | PyObject * obj1 = 0 ; | |
6282 | char *kwnames[] = { | |
6283 | (char *) "self",(char *) "dc",(char *) "maxwidth", NULL | |
6284 | }; | |
6285 | ||
6286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:HtmlDCRenderer_SetDC",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6287 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6288 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6289 | { | |
6290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6291 | (arg1)->SetDC(arg2,arg3); | |
6292 | ||
6293 | wxPyEndAllowThreads(__tstate); | |
6294 | if (PyErr_Occurred()) SWIG_fail; | |
6295 | } | |
6296 | Py_INCREF(Py_None); resultobj = Py_None; | |
6297 | return resultobj; | |
6298 | fail: | |
6299 | return NULL; | |
6300 | } | |
6301 | ||
6302 | ||
6303 | static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6304 | PyObject *resultobj; | |
6305 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6306 | int arg2 ; | |
6307 | int arg3 ; | |
6308 | PyObject * obj0 = 0 ; | |
6309 | char *kwnames[] = { | |
6310 | (char *) "self",(char *) "width",(char *) "height", NULL | |
6311 | }; | |
6312 | ||
6313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlDCRenderer_SetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6315 | { | |
6316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6317 | (arg1)->SetSize(arg2,arg3); | |
6318 | ||
6319 | wxPyEndAllowThreads(__tstate); | |
6320 | if (PyErr_Occurred()) SWIG_fail; | |
6321 | } | |
6322 | Py_INCREF(Py_None); resultobj = Py_None; | |
6323 | return resultobj; | |
6324 | fail: | |
6325 | return NULL; | |
6326 | } | |
6327 | ||
6328 | ||
6329 | static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6330 | PyObject *resultobj; | |
6331 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6332 | wxString *arg2 = 0 ; | |
6333 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6334 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
6335 | bool arg4 = (bool) True ; |
6336 | bool temp2 = False ; | |
6337 | bool temp3 = False ; | |
d14a1e28 RD |
6338 | PyObject * obj0 = 0 ; |
6339 | PyObject * obj1 = 0 ; | |
6340 | PyObject * obj2 = 0 ; | |
6341 | PyObject * obj3 = 0 ; | |
6342 | char *kwnames[] = { | |
6343 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6344 | }; | |
6345 | ||
6346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlDCRenderer_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6347 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6348 | { | |
6349 | arg2 = wxString_in_helper(obj1); | |
6350 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6351 | temp2 = True; |
d14a1e28 RD |
6352 | } |
6353 | if (obj2) { | |
6354 | { | |
6355 | arg3 = wxString_in_helper(obj2); | |
6356 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 6357 | temp3 = True; |
d14a1e28 RD |
6358 | } |
6359 | } | |
6360 | if (obj3) { | |
6361 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6362 | if (PyErr_Occurred()) SWIG_fail; | |
6363 | } | |
6364 | { | |
6365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6366 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6367 | ||
6368 | wxPyEndAllowThreads(__tstate); | |
6369 | if (PyErr_Occurred()) SWIG_fail; | |
6370 | } | |
6371 | Py_INCREF(Py_None); resultobj = Py_None; | |
6372 | { | |
6373 | if (temp2) | |
6374 | delete arg2; | |
6375 | } | |
6376 | { | |
6377 | if (temp3) | |
6378 | delete arg3; | |
6379 | } | |
6380 | return resultobj; | |
6381 | fail: | |
6382 | { | |
6383 | if (temp2) | |
6384 | delete arg2; | |
6385 | } | |
6386 | { | |
6387 | if (temp3) | |
6388 | delete arg3; | |
6389 | } | |
6390 | return NULL; | |
6391 | } | |
6392 | ||
6393 | ||
6394 | static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6395 | PyObject *resultobj; | |
6396 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6397 | wxString arg2 ; | |
6398 | wxString arg3 ; | |
6399 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6400 | PyObject * obj0 = 0 ; |
6401 | PyObject * obj1 = 0 ; | |
6402 | PyObject * obj2 = 0 ; | |
6403 | PyObject * obj3 = 0 ; | |
6404 | char *kwnames[] = { | |
6405 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6406 | }; | |
6407 | ||
6408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlDCRenderer_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6409 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
423f194a RD |
6410 | { |
6411 | wxString* sptr = wxString_in_helper(obj1); | |
6412 | if (sptr == NULL) SWIG_fail; | |
6413 | arg2 = *sptr; | |
6414 | delete sptr; | |
6415 | } | |
6416 | { | |
6417 | wxString* sptr = wxString_in_helper(obj2); | |
6418 | if (sptr == NULL) SWIG_fail; | |
6419 | arg3 = *sptr; | |
6420 | delete sptr; | |
6421 | } | |
d14a1e28 RD |
6422 | if (obj3) { |
6423 | arg4 = obj3; | |
6424 | } | |
6425 | { | |
6426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6427 | wxHtmlDCRenderer_SetFonts(arg1,arg2,arg3,arg4); | |
6428 | ||
6429 | wxPyEndAllowThreads(__tstate); | |
6430 | if (PyErr_Occurred()) SWIG_fail; | |
6431 | } | |
6432 | Py_INCREF(Py_None); resultobj = Py_None; | |
6433 | return resultobj; | |
6434 | fail: | |
6435 | return NULL; | |
6436 | } | |
6437 | ||
6438 | ||
6439 | static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6440 | PyObject *resultobj; | |
6441 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6442 | int arg2 ; | |
6443 | int arg3 ; | |
6444 | int arg4 = (int) 0 ; | |
423f194a | 6445 | int arg5 = (int) False ; |
d14a1e28 RD |
6446 | int arg6 = (int) INT_MAX ; |
6447 | int *arg7 = (int *) NULL ; | |
6448 | int arg8 = (int) 0 ; | |
6449 | int result; | |
6450 | PyObject * obj0 = 0 ; | |
6451 | PyObject * obj6 = 0 ; | |
6452 | char *kwnames[] = { | |
6453 | (char *) "self",(char *) "x",(char *) "y",(char *) "from",(char *) "dont_render",(char *) "to",(char *) "choices",(char *) "LCOUNT", NULL | |
6454 | }; | |
6455 | ||
6456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiiOi:HtmlDCRenderer_Render",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&obj6,&arg8)) goto fail; | |
6457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6458 | if (obj6) { | |
6459 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6460 | } | |
6461 | { | |
6462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6463 | result = (int)(arg1)->Render(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
6464 | ||
6465 | wxPyEndAllowThreads(__tstate); | |
6466 | if (PyErr_Occurred()) SWIG_fail; | |
6467 | } | |
6468 | resultobj = PyInt_FromLong((long)result); | |
6469 | return resultobj; | |
6470 | fail: | |
6471 | return NULL; | |
6472 | } | |
6473 | ||
6474 | ||
6475 | static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6476 | PyObject *resultobj; | |
6477 | wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; | |
6478 | int result; | |
6479 | PyObject * obj0 = 0 ; | |
6480 | char *kwnames[] = { | |
6481 | (char *) "self", NULL | |
6482 | }; | |
6483 | ||
6484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlDCRenderer_GetTotalHeight",kwnames,&obj0)) goto fail; | |
6485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlDCRenderer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6486 | { | |
6487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6488 | result = (int)(arg1)->GetTotalHeight(); | |
6489 | ||
6490 | wxPyEndAllowThreads(__tstate); | |
6491 | if (PyErr_Occurred()) SWIG_fail; | |
6492 | } | |
6493 | resultobj = PyInt_FromLong((long)result); | |
6494 | return resultobj; | |
6495 | fail: | |
6496 | return NULL; | |
6497 | } | |
6498 | ||
6499 | ||
6500 | static PyObject * HtmlDCRenderer_swigregister(PyObject *self, PyObject *args) { | |
6501 | PyObject *obj; | |
6502 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6503 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlDCRenderer, obj); | |
6504 | Py_INCREF(obj); | |
6505 | return Py_BuildValue((char *)""); | |
6506 | } | |
6507 | static PyObject *_wrap_new_HtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6508 | PyObject *resultobj; | |
6509 | wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; | |
6510 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6511 | wxHtmlPrintout *result; | |
423f194a | 6512 | bool temp1 = False ; |
d14a1e28 RD |
6513 | PyObject * obj0 = 0 ; |
6514 | char *kwnames[] = { | |
6515 | (char *) "title", NULL | |
6516 | }; | |
6517 | ||
6518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlPrintout",kwnames,&obj0)) goto fail; | |
6519 | if (obj0) { | |
6520 | { | |
6521 | arg1 = wxString_in_helper(obj0); | |
6522 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 6523 | temp1 = True; |
d14a1e28 RD |
6524 | } |
6525 | } | |
6526 | { | |
6527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6528 | result = (wxHtmlPrintout *)new wxHtmlPrintout((wxString const &)*arg1); | |
6529 | ||
6530 | wxPyEndAllowThreads(__tstate); | |
6531 | if (PyErr_Occurred()) SWIG_fail; | |
6532 | } | |
6533 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlPrintout, 1); | |
6534 | { | |
6535 | if (temp1) | |
6536 | delete arg1; | |
6537 | } | |
6538 | return resultobj; | |
6539 | fail: | |
6540 | { | |
6541 | if (temp1) | |
6542 | delete arg1; | |
6543 | } | |
6544 | return NULL; | |
6545 | } | |
6546 | ||
6547 | ||
6548 | static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6549 | PyObject *resultobj; | |
6550 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6551 | wxString *arg2 = 0 ; | |
6552 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6553 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
6554 | bool arg4 = (bool) True ; |
6555 | bool temp2 = False ; | |
6556 | bool temp3 = False ; | |
d14a1e28 RD |
6557 | PyObject * obj0 = 0 ; |
6558 | PyObject * obj1 = 0 ; | |
6559 | PyObject * obj2 = 0 ; | |
6560 | PyObject * obj3 = 0 ; | |
6561 | char *kwnames[] = { | |
6562 | (char *) "self",(char *) "html",(char *) "basepath",(char *) "isdir", NULL | |
6563 | }; | |
6564 | ||
6565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:HtmlPrintout_SetHtmlText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6566 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6567 | { | |
6568 | arg2 = wxString_in_helper(obj1); | |
6569 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6570 | temp2 = True; |
d14a1e28 RD |
6571 | } |
6572 | if (obj2) { | |
6573 | { | |
6574 | arg3 = wxString_in_helper(obj2); | |
6575 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 6576 | temp3 = True; |
d14a1e28 RD |
6577 | } |
6578 | } | |
6579 | if (obj3) { | |
6580 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
6581 | if (PyErr_Occurred()) SWIG_fail; | |
6582 | } | |
6583 | { | |
6584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6585 | (arg1)->SetHtmlText((wxString const &)*arg2,(wxString const &)*arg3,arg4); | |
6586 | ||
6587 | wxPyEndAllowThreads(__tstate); | |
6588 | if (PyErr_Occurred()) SWIG_fail; | |
6589 | } | |
6590 | Py_INCREF(Py_None); resultobj = Py_None; | |
6591 | { | |
6592 | if (temp2) | |
6593 | delete arg2; | |
6594 | } | |
6595 | { | |
6596 | if (temp3) | |
6597 | delete arg3; | |
6598 | } | |
6599 | return resultobj; | |
6600 | fail: | |
6601 | { | |
6602 | if (temp2) | |
6603 | delete arg2; | |
6604 | } | |
6605 | { | |
6606 | if (temp3) | |
6607 | delete arg3; | |
6608 | } | |
6609 | return NULL; | |
6610 | } | |
6611 | ||
6612 | ||
6613 | static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6614 | PyObject *resultobj; | |
6615 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6616 | wxString *arg2 = 0 ; | |
423f194a | 6617 | bool temp2 = False ; |
d14a1e28 RD |
6618 | PyObject * obj0 = 0 ; |
6619 | PyObject * obj1 = 0 ; | |
6620 | char *kwnames[] = { | |
6621 | (char *) "self",(char *) "htmlfile", NULL | |
6622 | }; | |
6623 | ||
6624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlPrintout_SetHtmlFile",kwnames,&obj0,&obj1)) goto fail; | |
6625 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6626 | { | |
6627 | arg2 = wxString_in_helper(obj1); | |
6628 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6629 | temp2 = True; |
d14a1e28 RD |
6630 | } |
6631 | { | |
6632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6633 | (arg1)->SetHtmlFile((wxString const &)*arg2); | |
6634 | ||
6635 | wxPyEndAllowThreads(__tstate); | |
6636 | if (PyErr_Occurred()) SWIG_fail; | |
6637 | } | |
6638 | Py_INCREF(Py_None); resultobj = Py_None; | |
6639 | { | |
6640 | if (temp2) | |
6641 | delete arg2; | |
6642 | } | |
6643 | return resultobj; | |
6644 | fail: | |
6645 | { | |
6646 | if (temp2) | |
6647 | delete arg2; | |
6648 | } | |
6649 | return NULL; | |
6650 | } | |
6651 | ||
6652 | ||
6653 | static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6654 | PyObject *resultobj; | |
6655 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6656 | wxString *arg2 = 0 ; | |
6657 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 6658 | bool temp2 = False ; |
d14a1e28 RD |
6659 | PyObject * obj0 = 0 ; |
6660 | PyObject * obj1 = 0 ; | |
6661 | char *kwnames[] = { | |
6662 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
6663 | }; | |
6664 | ||
6665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6667 | { | |
6668 | arg2 = wxString_in_helper(obj1); | |
6669 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6670 | temp2 = True; |
d14a1e28 RD |
6671 | } |
6672 | { | |
6673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6674 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
6675 | ||
6676 | wxPyEndAllowThreads(__tstate); | |
6677 | if (PyErr_Occurred()) SWIG_fail; | |
6678 | } | |
6679 | Py_INCREF(Py_None); resultobj = Py_None; | |
6680 | { | |
6681 | if (temp2) | |
6682 | delete arg2; | |
6683 | } | |
6684 | return resultobj; | |
6685 | fail: | |
6686 | { | |
6687 | if (temp2) | |
6688 | delete arg2; | |
6689 | } | |
6690 | return NULL; | |
6691 | } | |
6692 | ||
6693 | ||
6694 | static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6695 | PyObject *resultobj; | |
6696 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6697 | wxString *arg2 = 0 ; | |
6698 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 6699 | bool temp2 = False ; |
d14a1e28 RD |
6700 | PyObject * obj0 = 0 ; |
6701 | PyObject * obj1 = 0 ; | |
6702 | char *kwnames[] = { | |
6703 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
6704 | }; | |
6705 | ||
6706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlPrintout_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
6707 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6708 | { | |
6709 | arg2 = wxString_in_helper(obj1); | |
6710 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6711 | temp2 = True; |
d14a1e28 RD |
6712 | } |
6713 | { | |
6714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6715 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
6716 | ||
6717 | wxPyEndAllowThreads(__tstate); | |
6718 | if (PyErr_Occurred()) SWIG_fail; | |
6719 | } | |
6720 | Py_INCREF(Py_None); resultobj = Py_None; | |
6721 | { | |
6722 | if (temp2) | |
6723 | delete arg2; | |
6724 | } | |
6725 | return resultobj; | |
6726 | fail: | |
6727 | { | |
6728 | if (temp2) | |
6729 | delete arg2; | |
6730 | } | |
6731 | return NULL; | |
6732 | } | |
6733 | ||
6734 | ||
6735 | static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6736 | PyObject *resultobj; | |
6737 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6738 | wxString arg2 ; | |
6739 | wxString arg3 ; | |
6740 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
6741 | PyObject * obj0 = 0 ; |
6742 | PyObject * obj1 = 0 ; | |
6743 | PyObject * obj2 = 0 ; | |
6744 | PyObject * obj3 = 0 ; | |
6745 | char *kwnames[] = { | |
6746 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
6747 | }; | |
6748 | ||
6749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlPrintout_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
6750 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
423f194a RD |
6751 | { |
6752 | wxString* sptr = wxString_in_helper(obj1); | |
6753 | if (sptr == NULL) SWIG_fail; | |
6754 | arg2 = *sptr; | |
6755 | delete sptr; | |
6756 | } | |
6757 | { | |
6758 | wxString* sptr = wxString_in_helper(obj2); | |
6759 | if (sptr == NULL) SWIG_fail; | |
6760 | arg3 = *sptr; | |
6761 | delete sptr; | |
6762 | } | |
d14a1e28 RD |
6763 | if (obj3) { |
6764 | arg4 = obj3; | |
6765 | } | |
6766 | { | |
6767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6768 | wxHtmlPrintout_SetFonts(arg1,arg2,arg3,arg4); | |
6769 | ||
6770 | wxPyEndAllowThreads(__tstate); | |
6771 | if (PyErr_Occurred()) SWIG_fail; | |
6772 | } | |
6773 | Py_INCREF(Py_None); resultobj = Py_None; | |
6774 | return resultobj; | |
6775 | fail: | |
6776 | return NULL; | |
6777 | } | |
6778 | ||
6779 | ||
6780 | static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6781 | PyObject *resultobj; | |
6782 | wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; | |
6783 | float arg2 = (float) 25.2 ; | |
6784 | float arg3 = (float) 25.2 ; | |
6785 | float arg4 = (float) 25.2 ; | |
6786 | float arg5 = (float) 25.2 ; | |
6787 | float arg6 = (float) 5 ; | |
6788 | PyObject * obj0 = 0 ; | |
6789 | char *kwnames[] = { | |
6790 | (char *) "self",(char *) "top",(char *) "bottom",(char *) "left",(char *) "right",(char *) "spaces", NULL | |
6791 | }; | |
6792 | ||
6793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|fffff:HtmlPrintout_SetMargins",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
6794 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6795 | { | |
6796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6797 | (arg1)->SetMargins(arg2,arg3,arg4,arg5,arg6); | |
6798 | ||
6799 | wxPyEndAllowThreads(__tstate); | |
6800 | if (PyErr_Occurred()) SWIG_fail; | |
6801 | } | |
6802 | Py_INCREF(Py_None); resultobj = Py_None; | |
6803 | return resultobj; | |
6804 | fail: | |
6805 | return NULL; | |
6806 | } | |
6807 | ||
6808 | ||
6809 | static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6810 | PyObject *resultobj; | |
6811 | wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; | |
6812 | PyObject * obj0 = 0 ; | |
6813 | char *kwnames[] = { | |
6814 | (char *) "filter", NULL | |
6815 | }; | |
6816 | ||
6817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlPrintout_AddFilter",kwnames,&obj0)) goto fail; | |
6818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlFilter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6819 | { | |
6820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6821 | wxHtmlPrintout::AddFilter(arg1); | |
6822 | ||
6823 | wxPyEndAllowThreads(__tstate); | |
6824 | if (PyErr_Occurred()) SWIG_fail; | |
6825 | } | |
6826 | Py_INCREF(Py_None); resultobj = Py_None; | |
6827 | return resultobj; | |
6828 | fail: | |
6829 | return NULL; | |
6830 | } | |
6831 | ||
6832 | ||
6833 | static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6834 | PyObject *resultobj; | |
6835 | char *kwnames[] = { | |
6836 | NULL | |
6837 | }; | |
6838 | ||
6839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HtmlPrintout_CleanUpStatics",kwnames)) goto fail; | |
6840 | { | |
6841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6842 | wxHtmlPrintout::CleanUpStatics(); | |
6843 | ||
6844 | wxPyEndAllowThreads(__tstate); | |
6845 | if (PyErr_Occurred()) SWIG_fail; | |
6846 | } | |
6847 | Py_INCREF(Py_None); resultobj = Py_None; | |
6848 | return resultobj; | |
6849 | fail: | |
6850 | return NULL; | |
6851 | } | |
6852 | ||
6853 | ||
6854 | static PyObject * HtmlPrintout_swigregister(PyObject *self, PyObject *args) { | |
6855 | PyObject *obj; | |
6856 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6857 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlPrintout, obj); | |
6858 | Py_INCREF(obj); | |
6859 | return Py_BuildValue((char *)""); | |
6860 | } | |
6861 | static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6862 | PyObject *resultobj; | |
6863 | wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; | |
6864 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
6865 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6866 | wxHtmlEasyPrinting *result; | |
423f194a | 6867 | bool temp1 = False ; |
d14a1e28 RD |
6868 | PyObject * obj0 = 0 ; |
6869 | PyObject * obj1 = 0 ; | |
6870 | char *kwnames[] = { | |
6871 | (char *) "name",(char *) "parentWindow", NULL | |
6872 | }; | |
6873 | ||
6874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlEasyPrinting",kwnames,&obj0,&obj1)) goto fail; | |
6875 | if (obj0) { | |
6876 | { | |
6877 | arg1 = wxString_in_helper(obj0); | |
6878 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 6879 | temp1 = True; |
d14a1e28 RD |
6880 | } |
6881 | } | |
6882 | if (obj1) { | |
6883 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6884 | } | |
6885 | { | |
6886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6887 | result = (wxHtmlEasyPrinting *)new wxHtmlEasyPrinting((wxString const &)*arg1,arg2); | |
6888 | ||
6889 | wxPyEndAllowThreads(__tstate); | |
6890 | if (PyErr_Occurred()) SWIG_fail; | |
6891 | } | |
6892 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlEasyPrinting, 1); | |
6893 | { | |
6894 | if (temp1) | |
6895 | delete arg1; | |
6896 | } | |
6897 | return resultobj; | |
6898 | fail: | |
6899 | { | |
6900 | if (temp1) | |
6901 | delete arg1; | |
6902 | } | |
6903 | return NULL; | |
6904 | } | |
6905 | ||
6906 | ||
6907 | static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6908 | PyObject *resultobj; | |
6909 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6910 | PyObject * obj0 = 0 ; | |
6911 | char *kwnames[] = { | |
6912 | (char *) "self", NULL | |
6913 | }; | |
6914 | ||
6915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlEasyPrinting",kwnames,&obj0)) goto fail; | |
6916 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6917 | { | |
6918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6919 | delete arg1; | |
6920 | ||
6921 | wxPyEndAllowThreads(__tstate); | |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
6923 | } | |
6924 | Py_INCREF(Py_None); resultobj = Py_None; | |
6925 | return resultobj; | |
6926 | fail: | |
6927 | return NULL; | |
6928 | } | |
6929 | ||
6930 | ||
6931 | static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6932 | PyObject *resultobj; | |
6933 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6934 | wxString *arg2 = 0 ; | |
423f194a | 6935 | bool temp2 = False ; |
d14a1e28 RD |
6936 | PyObject * obj0 = 0 ; |
6937 | PyObject * obj1 = 0 ; | |
6938 | char *kwnames[] = { | |
6939 | (char *) "self",(char *) "htmlfile", NULL | |
6940 | }; | |
6941 | ||
6942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PreviewFile",kwnames,&obj0,&obj1)) goto fail; | |
6943 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6944 | { | |
6945 | arg2 = wxString_in_helper(obj1); | |
6946 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6947 | temp2 = True; |
d14a1e28 RD |
6948 | } |
6949 | { | |
6950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6951 | (arg1)->PreviewFile((wxString const &)*arg2); | |
6952 | ||
6953 | wxPyEndAllowThreads(__tstate); | |
6954 | if (PyErr_Occurred()) SWIG_fail; | |
6955 | } | |
6956 | Py_INCREF(Py_None); resultobj = Py_None; | |
6957 | { | |
6958 | if (temp2) | |
6959 | delete arg2; | |
6960 | } | |
6961 | return resultobj; | |
6962 | fail: | |
6963 | { | |
6964 | if (temp2) | |
6965 | delete arg2; | |
6966 | } | |
6967 | return NULL; | |
6968 | } | |
6969 | ||
6970 | ||
6971 | static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6972 | PyObject *resultobj; | |
6973 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
6974 | wxString *arg2 = 0 ; | |
6975 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
6976 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
6977 | bool temp2 = False ; |
6978 | bool temp3 = False ; | |
d14a1e28 RD |
6979 | PyObject * obj0 = 0 ; |
6980 | PyObject * obj1 = 0 ; | |
6981 | PyObject * obj2 = 0 ; | |
6982 | char *kwnames[] = { | |
6983 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
6984 | }; | |
6985 | ||
6986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PreviewText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6987 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6988 | { | |
6989 | arg2 = wxString_in_helper(obj1); | |
6990 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 6991 | temp2 = True; |
d14a1e28 RD |
6992 | } |
6993 | if (obj2) { | |
6994 | { | |
6995 | arg3 = wxString_in_helper(obj2); | |
6996 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 6997 | temp3 = True; |
d14a1e28 RD |
6998 | } |
6999 | } | |
7000 | { | |
7001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7002 | (arg1)->PreviewText((wxString const &)*arg2,(wxString const &)*arg3); | |
7003 | ||
7004 | wxPyEndAllowThreads(__tstate); | |
7005 | if (PyErr_Occurred()) SWIG_fail; | |
7006 | } | |
7007 | Py_INCREF(Py_None); resultobj = Py_None; | |
7008 | { | |
7009 | if (temp2) | |
7010 | delete arg2; | |
7011 | } | |
7012 | { | |
7013 | if (temp3) | |
7014 | delete arg3; | |
7015 | } | |
7016 | return resultobj; | |
7017 | fail: | |
7018 | { | |
7019 | if (temp2) | |
7020 | delete arg2; | |
7021 | } | |
7022 | { | |
7023 | if (temp3) | |
7024 | delete arg3; | |
7025 | } | |
7026 | return NULL; | |
7027 | } | |
7028 | ||
7029 | ||
7030 | static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7031 | PyObject *resultobj; | |
7032 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7033 | wxString *arg2 = 0 ; | |
423f194a | 7034 | bool temp2 = False ; |
d14a1e28 RD |
7035 | PyObject * obj0 = 0 ; |
7036 | PyObject * obj1 = 0 ; | |
7037 | char *kwnames[] = { | |
7038 | (char *) "self",(char *) "htmlfile", NULL | |
7039 | }; | |
7040 | ||
7041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlEasyPrinting_PrintFile",kwnames,&obj0,&obj1)) goto fail; | |
7042 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7043 | { | |
7044 | arg2 = wxString_in_helper(obj1); | |
7045 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7046 | temp2 = True; |
d14a1e28 RD |
7047 | } |
7048 | { | |
7049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7050 | (arg1)->PrintFile((wxString const &)*arg2); | |
7051 | ||
7052 | wxPyEndAllowThreads(__tstate); | |
7053 | if (PyErr_Occurred()) SWIG_fail; | |
7054 | } | |
7055 | Py_INCREF(Py_None); resultobj = Py_None; | |
7056 | { | |
7057 | if (temp2) | |
7058 | delete arg2; | |
7059 | } | |
7060 | return resultobj; | |
7061 | fail: | |
7062 | { | |
7063 | if (temp2) | |
7064 | delete arg2; | |
7065 | } | |
7066 | return NULL; | |
7067 | } | |
7068 | ||
7069 | ||
7070 | static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7071 | PyObject *resultobj; | |
7072 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7073 | wxString *arg2 = 0 ; | |
7074 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
7075 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
423f194a RD |
7076 | bool temp2 = False ; |
7077 | bool temp3 = False ; | |
d14a1e28 RD |
7078 | PyObject * obj0 = 0 ; |
7079 | PyObject * obj1 = 0 ; | |
7080 | PyObject * obj2 = 0 ; | |
7081 | char *kwnames[] = { | |
7082 | (char *) "self",(char *) "htmltext",(char *) "basepath", NULL | |
7083 | }; | |
7084 | ||
7085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlEasyPrinting_PrintText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7086 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7087 | { | |
7088 | arg2 = wxString_in_helper(obj1); | |
7089 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7090 | temp2 = True; |
d14a1e28 RD |
7091 | } |
7092 | if (obj2) { | |
7093 | { | |
7094 | arg3 = wxString_in_helper(obj2); | |
7095 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 7096 | temp3 = True; |
d14a1e28 RD |
7097 | } |
7098 | } | |
7099 | { | |
7100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7101 | (arg1)->PrintText((wxString const &)*arg2,(wxString const &)*arg3); | |
7102 | ||
7103 | wxPyEndAllowThreads(__tstate); | |
7104 | if (PyErr_Occurred()) SWIG_fail; | |
7105 | } | |
7106 | Py_INCREF(Py_None); resultobj = Py_None; | |
7107 | { | |
7108 | if (temp2) | |
7109 | delete arg2; | |
7110 | } | |
7111 | { | |
7112 | if (temp3) | |
7113 | delete arg3; | |
7114 | } | |
7115 | return resultobj; | |
7116 | fail: | |
7117 | { | |
7118 | if (temp2) | |
7119 | delete arg2; | |
7120 | } | |
7121 | { | |
7122 | if (temp3) | |
7123 | delete arg3; | |
7124 | } | |
7125 | return NULL; | |
7126 | } | |
7127 | ||
7128 | ||
7129 | static PyObject *_wrap_HtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7130 | PyObject *resultobj; | |
7131 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7132 | PyObject * obj0 = 0 ; | |
7133 | char *kwnames[] = { | |
7134 | (char *) "self", NULL | |
7135 | }; | |
7136 | ||
7137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PrinterSetup",kwnames,&obj0)) goto fail; | |
7138 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7139 | { | |
7140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7141 | (arg1)->PrinterSetup(); | |
7142 | ||
7143 | wxPyEndAllowThreads(__tstate); | |
7144 | if (PyErr_Occurred()) SWIG_fail; | |
7145 | } | |
7146 | Py_INCREF(Py_None); resultobj = Py_None; | |
7147 | return resultobj; | |
7148 | fail: | |
7149 | return NULL; | |
7150 | } | |
7151 | ||
7152 | ||
7153 | static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7154 | PyObject *resultobj; | |
7155 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7156 | PyObject * obj0 = 0 ; | |
7157 | char *kwnames[] = { | |
7158 | (char *) "self", NULL | |
7159 | }; | |
7160 | ||
7161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_PageSetup",kwnames,&obj0)) goto fail; | |
7162 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7163 | { | |
7164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7165 | (arg1)->PageSetup(); | |
7166 | ||
7167 | wxPyEndAllowThreads(__tstate); | |
7168 | if (PyErr_Occurred()) SWIG_fail; | |
7169 | } | |
7170 | Py_INCREF(Py_None); resultobj = Py_None; | |
7171 | return resultobj; | |
7172 | fail: | |
7173 | return NULL; | |
7174 | } | |
7175 | ||
7176 | ||
7177 | static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7178 | PyObject *resultobj; | |
7179 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7180 | wxString *arg2 = 0 ; | |
7181 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 7182 | bool temp2 = False ; |
d14a1e28 RD |
7183 | PyObject * obj0 = 0 ; |
7184 | PyObject * obj1 = 0 ; | |
7185 | char *kwnames[] = { | |
7186 | (char *) "self",(char *) "header",(char *) "pg", NULL | |
7187 | }; | |
7188 | ||
7189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetHeader",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7190 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7191 | { | |
7192 | arg2 = wxString_in_helper(obj1); | |
7193 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7194 | temp2 = True; |
d14a1e28 RD |
7195 | } |
7196 | { | |
7197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7198 | (arg1)->SetHeader((wxString const &)*arg2,arg3); | |
7199 | ||
7200 | wxPyEndAllowThreads(__tstate); | |
7201 | if (PyErr_Occurred()) SWIG_fail; | |
7202 | } | |
7203 | Py_INCREF(Py_None); resultobj = Py_None; | |
7204 | { | |
7205 | if (temp2) | |
7206 | delete arg2; | |
7207 | } | |
7208 | return resultobj; | |
7209 | fail: | |
7210 | { | |
7211 | if (temp2) | |
7212 | delete arg2; | |
7213 | } | |
7214 | return NULL; | |
7215 | } | |
7216 | ||
7217 | ||
7218 | static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7219 | PyObject *resultobj; | |
7220 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7221 | wxString *arg2 = 0 ; | |
7222 | int arg3 = (int) wxPAGE_ALL ; | |
423f194a | 7223 | bool temp2 = False ; |
d14a1e28 RD |
7224 | PyObject * obj0 = 0 ; |
7225 | PyObject * obj1 = 0 ; | |
7226 | char *kwnames[] = { | |
7227 | (char *) "self",(char *) "footer",(char *) "pg", NULL | |
7228 | }; | |
7229 | ||
7230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:HtmlEasyPrinting_SetFooter",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7231 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7232 | { | |
7233 | arg2 = wxString_in_helper(obj1); | |
7234 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7235 | temp2 = True; |
d14a1e28 RD |
7236 | } |
7237 | { | |
7238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7239 | (arg1)->SetFooter((wxString const &)*arg2,arg3); | |
7240 | ||
7241 | wxPyEndAllowThreads(__tstate); | |
7242 | if (PyErr_Occurred()) SWIG_fail; | |
7243 | } | |
7244 | Py_INCREF(Py_None); resultobj = Py_None; | |
7245 | { | |
7246 | if (temp2) | |
7247 | delete arg2; | |
7248 | } | |
7249 | return resultobj; | |
7250 | fail: | |
7251 | { | |
7252 | if (temp2) | |
7253 | delete arg2; | |
7254 | } | |
7255 | return NULL; | |
7256 | } | |
7257 | ||
7258 | ||
7259 | static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7260 | PyObject *resultobj; | |
7261 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7262 | wxString arg2 ; | |
7263 | wxString arg3 ; | |
7264 | PyObject *arg4 = (PyObject *) NULL ; | |
d14a1e28 RD |
7265 | PyObject * obj0 = 0 ; |
7266 | PyObject * obj1 = 0 ; | |
7267 | PyObject * obj2 = 0 ; | |
7268 | PyObject * obj3 = 0 ; | |
7269 | char *kwnames[] = { | |
7270 | (char *) "self",(char *) "normal_face",(char *) "fixed_face",(char *) "sizes", NULL | |
7271 | }; | |
7272 | ||
7273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:HtmlEasyPrinting_SetFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7274 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
423f194a RD |
7275 | { |
7276 | wxString* sptr = wxString_in_helper(obj1); | |
7277 | if (sptr == NULL) SWIG_fail; | |
7278 | arg2 = *sptr; | |
7279 | delete sptr; | |
7280 | } | |
7281 | { | |
7282 | wxString* sptr = wxString_in_helper(obj2); | |
7283 | if (sptr == NULL) SWIG_fail; | |
7284 | arg3 = *sptr; | |
7285 | delete sptr; | |
7286 | } | |
d14a1e28 RD |
7287 | if (obj3) { |
7288 | arg4 = obj3; | |
7289 | } | |
7290 | { | |
7291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7292 | wxHtmlEasyPrinting_SetFonts(arg1,arg2,arg3,arg4); | |
7293 | ||
7294 | wxPyEndAllowThreads(__tstate); | |
7295 | if (PyErr_Occurred()) SWIG_fail; | |
7296 | } | |
7297 | Py_INCREF(Py_None); resultobj = Py_None; | |
7298 | return resultobj; | |
7299 | fail: | |
7300 | return NULL; | |
7301 | } | |
7302 | ||
7303 | ||
7304 | static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7305 | PyObject *resultobj; | |
7306 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7307 | wxPrintData *result; | |
7308 | PyObject * obj0 = 0 ; | |
7309 | char *kwnames[] = { | |
7310 | (char *) "self", NULL | |
7311 | }; | |
7312 | ||
7313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPrintData",kwnames,&obj0)) goto fail; | |
7314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7315 | { | |
7316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7317 | result = (wxPrintData *)(arg1)->GetPrintData(); | |
7318 | ||
7319 | wxPyEndAllowThreads(__tstate); | |
7320 | if (PyErr_Occurred()) SWIG_fail; | |
7321 | } | |
7322 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
7323 | return resultobj; | |
7324 | fail: | |
7325 | return NULL; | |
7326 | } | |
7327 | ||
7328 | ||
7329 | static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7330 | PyObject *resultobj; | |
7331 | wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; | |
7332 | wxPageSetupDialogData *result; | |
7333 | PyObject * obj0 = 0 ; | |
7334 | char *kwnames[] = { | |
7335 | (char *) "self", NULL | |
7336 | }; | |
7337 | ||
7338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlEasyPrinting_GetPageSetupData",kwnames,&obj0)) goto fail; | |
7339 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlEasyPrinting,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7340 | { | |
7341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7342 | result = (wxPageSetupDialogData *)(arg1)->GetPageSetupData(); | |
7343 | ||
7344 | wxPyEndAllowThreads(__tstate); | |
7345 | if (PyErr_Occurred()) SWIG_fail; | |
7346 | } | |
7347 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
7348 | return resultobj; | |
7349 | fail: | |
7350 | return NULL; | |
7351 | } | |
7352 | ||
7353 | ||
7354 | static PyObject * HtmlEasyPrinting_swigregister(PyObject *self, PyObject *args) { | |
7355 | PyObject *obj; | |
7356 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7357 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlEasyPrinting, obj); | |
7358 | Py_INCREF(obj); | |
7359 | return Py_BuildValue((char *)""); | |
7360 | } | |
7361 | static PyObject *_wrap_new_HtmlBookRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7362 | PyObject *resultobj; | |
7363 | wxString *arg1 = 0 ; | |
7364 | wxString *arg2 = 0 ; | |
7365 | wxString *arg3 = 0 ; | |
7366 | wxString *arg4 = 0 ; | |
7367 | wxHtmlBookRecord *result; | |
423f194a RD |
7368 | bool temp1 = False ; |
7369 | bool temp2 = False ; | |
7370 | bool temp3 = False ; | |
7371 | bool temp4 = False ; | |
d14a1e28 RD |
7372 | PyObject * obj0 = 0 ; |
7373 | PyObject * obj1 = 0 ; | |
7374 | PyObject * obj2 = 0 ; | |
7375 | PyObject * obj3 = 0 ; | |
7376 | char *kwnames[] = { | |
7377 | (char *) "bookfile",(char *) "basepath",(char *) "title",(char *) "start", NULL | |
7378 | }; | |
7379 | ||
7380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_HtmlBookRecord",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7381 | { | |
7382 | arg1 = wxString_in_helper(obj0); | |
7383 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 7384 | temp1 = True; |
d14a1e28 RD |
7385 | } |
7386 | { | |
7387 | arg2 = wxString_in_helper(obj1); | |
7388 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7389 | temp2 = True; |
d14a1e28 RD |
7390 | } |
7391 | { | |
7392 | arg3 = wxString_in_helper(obj2); | |
7393 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 7394 | temp3 = True; |
d14a1e28 RD |
7395 | } |
7396 | { | |
7397 | arg4 = wxString_in_helper(obj3); | |
7398 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 7399 | temp4 = True; |
d14a1e28 RD |
7400 | } |
7401 | { | |
7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7403 | result = (wxHtmlBookRecord *)new wxHtmlBookRecord((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4); | |
7404 | ||
7405 | wxPyEndAllowThreads(__tstate); | |
7406 | if (PyErr_Occurred()) SWIG_fail; | |
7407 | } | |
7408 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 1); | |
7409 | { | |
7410 | if (temp1) | |
7411 | delete arg1; | |
7412 | } | |
7413 | { | |
7414 | if (temp2) | |
7415 | delete arg2; | |
7416 | } | |
7417 | { | |
7418 | if (temp3) | |
7419 | delete arg3; | |
7420 | } | |
7421 | { | |
7422 | if (temp4) | |
7423 | delete arg4; | |
7424 | } | |
7425 | return resultobj; | |
7426 | fail: | |
7427 | { | |
7428 | if (temp1) | |
7429 | delete arg1; | |
7430 | } | |
7431 | { | |
7432 | if (temp2) | |
7433 | delete arg2; | |
7434 | } | |
7435 | { | |
7436 | if (temp3) | |
7437 | delete arg3; | |
7438 | } | |
7439 | { | |
7440 | if (temp4) | |
7441 | delete arg4; | |
7442 | } | |
7443 | return NULL; | |
7444 | } | |
7445 | ||
7446 | ||
7447 | static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7448 | PyObject *resultobj; | |
7449 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7450 | wxString result; | |
7451 | PyObject * obj0 = 0 ; | |
7452 | char *kwnames[] = { | |
7453 | (char *) "self", NULL | |
7454 | }; | |
7455 | ||
7456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBookFile",kwnames,&obj0)) goto fail; | |
7457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7458 | { | |
7459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7460 | result = (arg1)->GetBookFile(); | |
7461 | ||
7462 | wxPyEndAllowThreads(__tstate); | |
7463 | if (PyErr_Occurred()) SWIG_fail; | |
7464 | } | |
7465 | { | |
7466 | #if wxUSE_UNICODE | |
7467 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7468 | #else | |
7469 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7470 | #endif | |
7471 | } | |
7472 | return resultobj; | |
7473 | fail: | |
7474 | return NULL; | |
7475 | } | |
7476 | ||
7477 | ||
7478 | static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7479 | PyObject *resultobj; | |
7480 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7481 | wxString result; | |
7482 | PyObject * obj0 = 0 ; | |
7483 | char *kwnames[] = { | |
7484 | (char *) "self", NULL | |
7485 | }; | |
7486 | ||
7487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetTitle",kwnames,&obj0)) goto fail; | |
7488 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7489 | { | |
7490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7491 | result = (arg1)->GetTitle(); | |
7492 | ||
7493 | wxPyEndAllowThreads(__tstate); | |
7494 | if (PyErr_Occurred()) SWIG_fail; | |
7495 | } | |
7496 | { | |
7497 | #if wxUSE_UNICODE | |
7498 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7499 | #else | |
7500 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7501 | #endif | |
7502 | } | |
7503 | return resultobj; | |
7504 | fail: | |
7505 | return NULL; | |
7506 | } | |
7507 | ||
7508 | ||
7509 | static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7510 | PyObject *resultobj; | |
7511 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7512 | wxString result; | |
7513 | PyObject * obj0 = 0 ; | |
7514 | char *kwnames[] = { | |
7515 | (char *) "self", NULL | |
7516 | }; | |
7517 | ||
7518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetStart",kwnames,&obj0)) goto fail; | |
7519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7520 | { | |
7521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7522 | result = (arg1)->GetStart(); | |
7523 | ||
7524 | wxPyEndAllowThreads(__tstate); | |
7525 | if (PyErr_Occurred()) SWIG_fail; | |
7526 | } | |
7527 | { | |
7528 | #if wxUSE_UNICODE | |
7529 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7530 | #else | |
7531 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7532 | #endif | |
7533 | } | |
7534 | return resultobj; | |
7535 | fail: | |
7536 | return NULL; | |
7537 | } | |
7538 | ||
7539 | ||
7540 | static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7541 | PyObject *resultobj; | |
7542 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7543 | wxString result; | |
7544 | PyObject * obj0 = 0 ; | |
7545 | char *kwnames[] = { | |
7546 | (char *) "self", NULL | |
7547 | }; | |
7548 | ||
7549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetBasePath",kwnames,&obj0)) goto fail; | |
7550 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7551 | { | |
7552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7553 | result = (arg1)->GetBasePath(); | |
7554 | ||
7555 | wxPyEndAllowThreads(__tstate); | |
7556 | if (PyErr_Occurred()) SWIG_fail; | |
7557 | } | |
7558 | { | |
7559 | #if wxUSE_UNICODE | |
7560 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7561 | #else | |
7562 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7563 | #endif | |
7564 | } | |
7565 | return resultobj; | |
7566 | fail: | |
7567 | return NULL; | |
7568 | } | |
7569 | ||
7570 | ||
7571 | static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7572 | PyObject *resultobj; | |
7573 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7574 | int arg2 ; | |
7575 | int arg3 ; | |
7576 | PyObject * obj0 = 0 ; | |
7577 | char *kwnames[] = { | |
7578 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7579 | }; | |
7580 | ||
7581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:HtmlBookRecord_SetContentsRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7583 | { | |
7584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7585 | (arg1)->SetContentsRange(arg2,arg3); | |
7586 | ||
7587 | wxPyEndAllowThreads(__tstate); | |
7588 | if (PyErr_Occurred()) SWIG_fail; | |
7589 | } | |
7590 | Py_INCREF(Py_None); resultobj = Py_None; | |
7591 | return resultobj; | |
7592 | fail: | |
7593 | return NULL; | |
7594 | } | |
7595 | ||
7596 | ||
7597 | static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7598 | PyObject *resultobj; | |
7599 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7600 | int result; | |
7601 | PyObject * obj0 = 0 ; | |
7602 | char *kwnames[] = { | |
7603 | (char *) "self", NULL | |
7604 | }; | |
7605 | ||
7606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsStart",kwnames,&obj0)) goto fail; | |
7607 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7608 | { | |
7609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7610 | result = (int)(arg1)->GetContentsStart(); | |
7611 | ||
7612 | wxPyEndAllowThreads(__tstate); | |
7613 | if (PyErr_Occurred()) SWIG_fail; | |
7614 | } | |
7615 | resultobj = PyInt_FromLong((long)result); | |
7616 | return resultobj; | |
7617 | fail: | |
7618 | return NULL; | |
7619 | } | |
7620 | ||
7621 | ||
7622 | static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7623 | PyObject *resultobj; | |
7624 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7625 | int result; | |
7626 | PyObject * obj0 = 0 ; | |
7627 | char *kwnames[] = { | |
7628 | (char *) "self", NULL | |
7629 | }; | |
7630 | ||
7631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlBookRecord_GetContentsEnd",kwnames,&obj0)) goto fail; | |
7632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7633 | { | |
7634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7635 | result = (int)(arg1)->GetContentsEnd(); | |
7636 | ||
7637 | wxPyEndAllowThreads(__tstate); | |
7638 | if (PyErr_Occurred()) SWIG_fail; | |
7639 | } | |
7640 | resultobj = PyInt_FromLong((long)result); | |
7641 | return resultobj; | |
7642 | fail: | |
7643 | return NULL; | |
7644 | } | |
7645 | ||
7646 | ||
7647 | static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7648 | PyObject *resultobj; | |
7649 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7650 | wxString *arg2 = 0 ; | |
423f194a | 7651 | bool temp2 = False ; |
d14a1e28 RD |
7652 | PyObject * obj0 = 0 ; |
7653 | PyObject * obj1 = 0 ; | |
7654 | char *kwnames[] = { | |
7655 | (char *) "self",(char *) "title", NULL | |
7656 | }; | |
7657 | ||
7658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
7659 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7660 | { | |
7661 | arg2 = wxString_in_helper(obj1); | |
7662 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7663 | temp2 = True; |
d14a1e28 RD |
7664 | } |
7665 | { | |
7666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7667 | (arg1)->SetTitle((wxString const &)*arg2); | |
7668 | ||
7669 | wxPyEndAllowThreads(__tstate); | |
7670 | if (PyErr_Occurred()) SWIG_fail; | |
7671 | } | |
7672 | Py_INCREF(Py_None); resultobj = Py_None; | |
7673 | { | |
7674 | if (temp2) | |
7675 | delete arg2; | |
7676 | } | |
7677 | return resultobj; | |
7678 | fail: | |
7679 | { | |
7680 | if (temp2) | |
7681 | delete arg2; | |
7682 | } | |
7683 | return NULL; | |
7684 | } | |
7685 | ||
7686 | ||
7687 | static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7688 | PyObject *resultobj; | |
7689 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7690 | wxString *arg2 = 0 ; | |
423f194a | 7691 | bool temp2 = False ; |
d14a1e28 RD |
7692 | PyObject * obj0 = 0 ; |
7693 | PyObject * obj1 = 0 ; | |
7694 | char *kwnames[] = { | |
7695 | (char *) "self",(char *) "path", NULL | |
7696 | }; | |
7697 | ||
7698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetBasePath",kwnames,&obj0,&obj1)) goto fail; | |
7699 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7700 | { | |
7701 | arg2 = wxString_in_helper(obj1); | |
7702 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7703 | temp2 = True; |
d14a1e28 RD |
7704 | } |
7705 | { | |
7706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7707 | (arg1)->SetBasePath((wxString const &)*arg2); | |
7708 | ||
7709 | wxPyEndAllowThreads(__tstate); | |
7710 | if (PyErr_Occurred()) SWIG_fail; | |
7711 | } | |
7712 | Py_INCREF(Py_None); resultobj = Py_None; | |
7713 | { | |
7714 | if (temp2) | |
7715 | delete arg2; | |
7716 | } | |
7717 | return resultobj; | |
7718 | fail: | |
7719 | { | |
7720 | if (temp2) | |
7721 | delete arg2; | |
7722 | } | |
7723 | return NULL; | |
7724 | } | |
7725 | ||
7726 | ||
7727 | static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7728 | PyObject *resultobj; | |
7729 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7730 | wxString *arg2 = 0 ; | |
423f194a | 7731 | bool temp2 = False ; |
d14a1e28 RD |
7732 | PyObject * obj0 = 0 ; |
7733 | PyObject * obj1 = 0 ; | |
7734 | char *kwnames[] = { | |
7735 | (char *) "self",(char *) "start", NULL | |
7736 | }; | |
7737 | ||
7738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_SetStart",kwnames,&obj0,&obj1)) goto fail; | |
7739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7740 | { | |
7741 | arg2 = wxString_in_helper(obj1); | |
7742 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7743 | temp2 = True; |
d14a1e28 RD |
7744 | } |
7745 | { | |
7746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7747 | (arg1)->SetStart((wxString const &)*arg2); | |
7748 | ||
7749 | wxPyEndAllowThreads(__tstate); | |
7750 | if (PyErr_Occurred()) SWIG_fail; | |
7751 | } | |
7752 | Py_INCREF(Py_None); resultobj = Py_None; | |
7753 | { | |
7754 | if (temp2) | |
7755 | delete arg2; | |
7756 | } | |
7757 | return resultobj; | |
7758 | fail: | |
7759 | { | |
7760 | if (temp2) | |
7761 | delete arg2; | |
7762 | } | |
7763 | return NULL; | |
7764 | } | |
7765 | ||
7766 | ||
7767 | static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7768 | PyObject *resultobj; | |
7769 | wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; | |
7770 | wxString *arg2 = 0 ; | |
7771 | wxString result; | |
423f194a | 7772 | bool temp2 = False ; |
d14a1e28 RD |
7773 | PyObject * obj0 = 0 ; |
7774 | PyObject * obj1 = 0 ; | |
7775 | char *kwnames[] = { | |
7776 | (char *) "self",(char *) "page", NULL | |
7777 | }; | |
7778 | ||
7779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlBookRecord_GetFullPath",kwnames,&obj0,&obj1)) goto fail; | |
7780 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlBookRecord,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7781 | { | |
7782 | arg2 = wxString_in_helper(obj1); | |
7783 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 7784 | temp2 = True; |
d14a1e28 RD |
7785 | } |
7786 | { | |
7787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7788 | result = ((wxHtmlBookRecord const *)arg1)->GetFullPath((wxString const &)*arg2); | |
7789 | ||
7790 | wxPyEndAllowThreads(__tstate); | |
7791 | if (PyErr_Occurred()) SWIG_fail; | |
7792 | } | |
7793 | { | |
7794 | #if wxUSE_UNICODE | |
7795 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7796 | #else | |
7797 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7798 | #endif | |
7799 | } | |
7800 | { | |
7801 | if (temp2) | |
7802 | delete arg2; | |
7803 | } | |
7804 | return resultobj; | |
7805 | fail: | |
7806 | { | |
7807 | if (temp2) | |
7808 | delete arg2; | |
7809 | } | |
7810 | return NULL; | |
7811 | } | |
7812 | ||
7813 | ||
7814 | static PyObject * HtmlBookRecord_swigregister(PyObject *self, PyObject *args) { | |
7815 | PyObject *obj; | |
7816 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7817 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlBookRecord, obj); | |
7818 | Py_INCREF(obj); | |
7819 | return Py_BuildValue((char *)""); | |
7820 | } | |
7821 | static PyObject *_wrap_HtmlContentsItem_GetLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7822 | PyObject *resultobj; | |
7823 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7824 | int result; | |
7825 | PyObject * obj0 = 0 ; | |
7826 | char *kwnames[] = { | |
7827 | (char *) "self", NULL | |
7828 | }; | |
7829 | ||
7830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetLevel",kwnames,&obj0)) goto fail; | |
7831 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7832 | { | |
7833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7834 | result = (int)wxHtmlContentsItem_GetLevel(arg1); | |
7835 | ||
7836 | wxPyEndAllowThreads(__tstate); | |
7837 | if (PyErr_Occurred()) SWIG_fail; | |
7838 | } | |
7839 | resultobj = PyInt_FromLong((long)result); | |
7840 | return resultobj; | |
7841 | fail: | |
7842 | return NULL; | |
7843 | } | |
7844 | ||
7845 | ||
7846 | static PyObject *_wrap_HtmlContentsItem_GetID(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7847 | PyObject *resultobj; | |
7848 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7849 | int result; | |
7850 | PyObject * obj0 = 0 ; | |
7851 | char *kwnames[] = { | |
7852 | (char *) "self", NULL | |
7853 | }; | |
7854 | ||
7855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetID",kwnames,&obj0)) goto fail; | |
7856 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7857 | { | |
7858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7859 | result = (int)wxHtmlContentsItem_GetID(arg1); | |
7860 | ||
7861 | wxPyEndAllowThreads(__tstate); | |
7862 | if (PyErr_Occurred()) SWIG_fail; | |
7863 | } | |
7864 | resultobj = PyInt_FromLong((long)result); | |
7865 | return resultobj; | |
7866 | fail: | |
7867 | return NULL; | |
7868 | } | |
7869 | ||
7870 | ||
7871 | static PyObject *_wrap_HtmlContentsItem_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7872 | PyObject *resultobj; | |
7873 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7874 | wxString result; | |
7875 | PyObject * obj0 = 0 ; | |
7876 | char *kwnames[] = { | |
7877 | (char *) "self", NULL | |
7878 | }; | |
7879 | ||
7880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetName",kwnames,&obj0)) goto fail; | |
7881 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7882 | { | |
7883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7884 | result = wxHtmlContentsItem_GetName(arg1); | |
7885 | ||
7886 | wxPyEndAllowThreads(__tstate); | |
7887 | if (PyErr_Occurred()) SWIG_fail; | |
7888 | } | |
7889 | { | |
7890 | #if wxUSE_UNICODE | |
7891 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7892 | #else | |
7893 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7894 | #endif | |
7895 | } | |
7896 | return resultobj; | |
7897 | fail: | |
7898 | return NULL; | |
7899 | } | |
7900 | ||
7901 | ||
7902 | static PyObject *_wrap_HtmlContentsItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7903 | PyObject *resultobj; | |
7904 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7905 | wxString result; | |
7906 | PyObject * obj0 = 0 ; | |
7907 | char *kwnames[] = { | |
7908 | (char *) "self", NULL | |
7909 | }; | |
7910 | ||
7911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetPage",kwnames,&obj0)) goto fail; | |
7912 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7913 | { | |
7914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7915 | result = wxHtmlContentsItem_GetPage(arg1); | |
7916 | ||
7917 | wxPyEndAllowThreads(__tstate); | |
7918 | if (PyErr_Occurred()) SWIG_fail; | |
7919 | } | |
7920 | { | |
7921 | #if wxUSE_UNICODE | |
7922 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7923 | #else | |
7924 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7925 | #endif | |
7926 | } | |
7927 | return resultobj; | |
7928 | fail: | |
7929 | return NULL; | |
7930 | } | |
7931 | ||
7932 | ||
7933 | static PyObject *_wrap_HtmlContentsItem_GetBook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7934 | PyObject *resultobj; | |
7935 | wxHtmlContentsItem *arg1 = (wxHtmlContentsItem *) 0 ; | |
7936 | wxHtmlBookRecord *result; | |
7937 | PyObject * obj0 = 0 ; | |
7938 | char *kwnames[] = { | |
7939 | (char *) "self", NULL | |
7940 | }; | |
7941 | ||
7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlContentsItem_GetBook",kwnames,&obj0)) goto fail; | |
7943 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlContentsItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7944 | { | |
7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7946 | result = (wxHtmlBookRecord *)wxHtmlContentsItem_GetBook(arg1); | |
7947 | ||
7948 | wxPyEndAllowThreads(__tstate); | |
7949 | if (PyErr_Occurred()) SWIG_fail; | |
7950 | } | |
7951 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHtmlBookRecord, 0); | |
7952 | return resultobj; | |
7953 | fail: | |
7954 | return NULL; | |
7955 | } | |
7956 | ||
7957 | ||
7958 | static PyObject * HtmlContentsItem_swigregister(PyObject *self, PyObject *args) { | |
7959 | PyObject *obj; | |
7960 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7961 | SWIG_TypeClientData(SWIGTYPE_p_wxHtmlContentsItem, obj); | |
7962 | Py_INCREF(obj); | |
7963 | return Py_BuildValue((char *)""); | |
7964 | } | |
7965 | static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7966 | PyObject *resultobj; | |
7967 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7968 | bool result; | |
7969 | PyObject * obj0 = 0 ; | |
7970 | char *kwnames[] = { | |
7971 | (char *) "self", NULL | |
7972 | }; | |
7973 | ||
7974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_Search",kwnames,&obj0)) goto fail; | |
7975 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7976 | { | |
7977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7978 | result = (bool)(arg1)->Search(); | |
7979 | ||
7980 | wxPyEndAllowThreads(__tstate); | |
7981 | if (PyErr_Occurred()) SWIG_fail; | |
7982 | } | |
7983 | resultobj = PyInt_FromLong((long)result); | |
7984 | return resultobj; | |
7985 | fail: | |
7986 | return NULL; | |
7987 | } | |
7988 | ||
7989 | ||
7990 | static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7991 | PyObject *resultobj; | |
7992 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
7993 | bool result; | |
7994 | PyObject * obj0 = 0 ; | |
7995 | char *kwnames[] = { | |
7996 | (char *) "self", NULL | |
7997 | }; | |
7998 | ||
7999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_IsActive",kwnames,&obj0)) goto fail; | |
8000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8001 | { | |
8002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8003 | result = (bool)(arg1)->IsActive(); | |
8004 | ||
8005 | wxPyEndAllowThreads(__tstate); | |
8006 | if (PyErr_Occurred()) SWIG_fail; | |
8007 | } | |
8008 | resultobj = PyInt_FromLong((long)result); | |
8009 | return resultobj; | |
8010 | fail: | |
8011 | return NULL; | |
8012 | } | |
8013 | ||
8014 | ||
8015 | static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8016 | PyObject *resultobj; | |
8017 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8018 | int result; | |
8019 | PyObject * obj0 = 0 ; | |
8020 | char *kwnames[] = { | |
8021 | (char *) "self", NULL | |
8022 | }; | |
8023 | ||
8024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetCurIndex",kwnames,&obj0)) goto fail; | |
8025 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8026 | { | |
8027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8028 | result = (int)(arg1)->GetCurIndex(); | |
8029 | ||
8030 | wxPyEndAllowThreads(__tstate); | |
8031 | if (PyErr_Occurred()) SWIG_fail; | |
8032 | } | |
8033 | resultobj = PyInt_FromLong((long)result); | |
8034 | return resultobj; | |
8035 | fail: | |
8036 | return NULL; | |
8037 | } | |
8038 | ||
8039 | ||
8040 | static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8041 | PyObject *resultobj; | |
8042 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8043 | int result; | |
8044 | PyObject * obj0 = 0 ; | |
8045 | char *kwnames[] = { | |
8046 | (char *) "self", NULL | |
8047 | }; | |
8048 | ||
8049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetMaxIndex",kwnames,&obj0)) goto fail; | |
8050 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8051 | { | |
8052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8053 | result = (int)(arg1)->GetMaxIndex(); | |
8054 | ||
8055 | wxPyEndAllowThreads(__tstate); | |
8056 | if (PyErr_Occurred()) SWIG_fail; | |
8057 | } | |
8058 | resultobj = PyInt_FromLong((long)result); | |
8059 | return resultobj; | |
8060 | fail: | |
8061 | return NULL; | |
8062 | } | |
8063 | ||
8064 | ||
8065 | static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8066 | PyObject *resultobj; | |
8067 | wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; | |
8068 | wxString *result; | |
8069 | PyObject * obj0 = 0 ; | |
8070 | char *kwnames[] = { | |
8071 | (char *) "self", NULL | |
8072 | }; | |
8073 | ||
8074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlSearchStatus_GetName",kwnames,&obj0)) goto fail; | |
8075 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHtmlSearchStatus,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8076 | { | |
8077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8078 | { | |
8079 | wxString const &_result_ref = (arg1)->GetName(); | |
8080 | result = (wxString *) &_result_ref; | |
8081 | } | |
8082 | ||
8083 | wxPyEndAllowThreads(__tstate); | |
8084 | if (PyErr_Occurred()) SWIG_fail; | |
8085 | } | |
8086 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
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 ; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 8475 | bool temp3 = False ; |
d14a1e28 RD |
8476 | PyObject * obj0 = 0 ; |
8477 | PyObject * obj2 = 0 ; | |
8478 | PyObject * obj4 = 0 ; | |
8479 | char *kwnames[] = { | |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 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; | |
423f194a | 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) { | |
423f194a 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) { | |
423f194a 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 ; | |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 8994 | int arg3 = (int) False ; |
d14a1e28 | 8995 | bool result; |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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; | |
423f194a | 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 ; | |
423f194a | 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; | |
423f194a | 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) { | |
423f194a 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) { | |
423f194a 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 | } | |
10189 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
10190 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10191 | } | |
10192 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
10193 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
10194 | } | |
10195 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
10196 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
10197 | } | |
10198 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10199 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10200 | } | |
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}, | |
44127b65 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 |