]>
Commit | Line | Data |
---|---|---|
325274bb | 1 | /* |
c368d904 | 2 | * FILE : src/gtk/html.cpp |
325274bb RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
325274bb RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
b67a9327 RD |
22 | #include "Python.h" |
23 | ||
325274bb RD |
24 | #include <string.h> |
25 | #include <stdlib.h> | |
26 | /* Definitions for Windows/Unix exporting */ | |
27 | #if defined(__WIN32__) | |
28 | # if defined(_MSC_VER) | |
29 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
30 | # else | |
31 | # if defined(__BORLANDC__) | |
3bcd5e1c | 32 | # define SWIGEXPORT(a) a _export |
325274bb | 33 | # else |
3bcd5e1c | 34 | # define SWIGEXPORT(a) a |
325274bb RD |
35 | # endif |
36 | # endif | |
37 | #else | |
3bcd5e1c | 38 | # define SWIGEXPORT(a) a |
325274bb RD |
39 | #endif |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
325274bb RD |
44 | extern void SWIG_MakePtr(char *, void *, char *); |
45 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
46 | extern char *SWIG_GetPtr(char *, void **, char *); | |
47 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
48 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
49 | extern PyObject *SWIG_newvarlink(void); | |
50 | #ifdef __cplusplus | |
51 | } | |
52 | #endif | |
53 | #define SWIG_init inithtmlc | |
54 | ||
55 | #define SWIG_name "htmlc" | |
56 | ||
5d26a7e6 | 57 | #include "wxPython.h" |
325274bb | 58 | #include <wx/html/htmlwin.h> |
dc2f8a65 | 59 | #include <wx/html/htmprint.h> |
325274bb RD |
60 | #include <wx/image.h> |
61 | #include <wx/fs_zip.h> | |
62 | #include <wx/fs_inet.h> | |
0f66a9f3 | 63 | #include <wx/wfstream.h> |
b67a9327 | 64 | #include <wx/filesys.h> |
325274bb | 65 | |
dc2f8a65 RD |
66 | #include "printfw.h" |
67 | ||
325274bb RD |
68 | |
69 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
70 | PyObject* o2; | |
71 | PyObject* o3; | |
72 | ||
3bcd5e1c | 73 | if (!target) { |
325274bb | 74 | target = o; |
3bcd5e1c | 75 | } else if (target == Py_None) { |
325274bb RD |
76 | Py_DECREF(Py_None); |
77 | target = o; | |
3bcd5e1c | 78 | } else { |
325274bb RD |
79 | if (!PyTuple_Check(target)) { |
80 | o2 = target; | |
81 | target = PyTuple_New(1); | |
82 | PyTuple_SetItem(target, 0, o2); | |
83 | } | |
3bcd5e1c RD |
84 | o3 = PyTuple_New(1); |
85 | PyTuple_SetItem(o3, 0, o); | |
325274bb RD |
86 | |
87 | o2 = target; | |
3bcd5e1c RD |
88 | target = PySequence_Concat(o2, o3); |
89 | Py_DECREF(o2); | |
325274bb RD |
90 | Py_DECREF(o3); |
91 | } | |
92 | return target; | |
93 | } | |
94 | ||
9a74fcaf RD |
95 | // Put some wx default wxChar* values into wxStrings. |
96 | static const wxChar* wxHtmlWindowNameStr = wxT("htmlWindow"); | |
97 | DECLARE_DEF_STRING(HtmlWindowNameStr); | |
98 | ||
99 | static const wxChar* wxHtmlPrintoutTitleStr = wxT("Printout"); | |
100 | DECLARE_DEF_STRING(HtmlPrintoutTitleStr); | |
101 | ||
102 | static const wxChar* wxHtmlPrintingTitleStr = wxT("Printing"); | |
103 | DECLARE_DEF_STRING(HtmlPrintingTitleStr); | |
104 | ||
105 | static const wxString wxPyEmptyString(wxT("")); | |
106 | ||
0f66a9f3 | 107 | class wxPyHtmlTagHandler : public wxHtmlTagHandler { |
9df61a29 | 108 | DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); |
0f66a9f3 RD |
109 | public: |
110 | wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; | |
111 | ||
112 | wxHtmlParser* GetParser() { return m_Parser; } | |
113 | void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); } | |
114 | ||
115 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
116 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
117 | ||
118 | PYPRIVATE; | |
119 | }; | |
120 | ||
9df61a29 RD |
121 | IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler); |
122 | ||
0f66a9f3 RD |
123 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags); |
124 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); | |
125 | ||
0f66a9f3 | 126 | class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { |
9df61a29 | 127 | DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); |
0f66a9f3 RD |
128 | public: |
129 | wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; | |
130 | ||
131 | wxHtmlWinParser* GetParser() { return m_WParser; } | |
132 | void ParseInner(const wxHtmlTag& tag) | |
133 | { wxHtmlWinTagHandler::ParseInner(tag); } | |
134 | ||
135 | DEC_PYCALLBACK_STRING__pure(GetSupportedTags); | |
136 | DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag); | |
137 | ||
138 | PYPRIVATE; | |
139 | }; | |
140 | ||
9df61a29 RD |
141 | IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler); |
142 | ||
0f66a9f3 RD |
143 | IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags); |
144 | IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag); | |
145 | ||
146 | ||
0f66a9f3 RD |
147 | class wxPyHtmlTagsModule : public wxHtmlTagsModule { |
148 | public: | |
149 | wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() { | |
150 | m_tagHandlerClass = thc; | |
151 | Py_INCREF(m_tagHandlerClass); | |
152 | RegisterModule(this); | |
153 | wxHtmlWinParser::AddModule(this); | |
154 | } | |
155 | ||
156 | void OnExit() { | |
474c48f9 | 157 | wxPyBeginBlockThreads(); |
0f66a9f3 RD |
158 | Py_DECREF(m_tagHandlerClass); |
159 | m_tagHandlerClass = NULL; | |
dc2f8a65 | 160 | for (size_t x=0; x < m_objArray.GetCount(); x++) { |
0f66a9f3 RD |
161 | PyObject* obj = (PyObject*)m_objArray.Item(x); |
162 | Py_DECREF(obj); | |
163 | } | |
474c48f9 | 164 | wxPyEndBlockThreads(); |
0f66a9f3 RD |
165 | }; |
166 | ||
167 | void FillHandlersTable(wxHtmlWinParser *parser) { | |
168 | // Wave our magic wand... (if it works it's a miracle! ;-) | |
169 | ||
170 | // First, make a new instance of the tag handler | |
474c48f9 | 171 | wxPyBeginBlockThreads(); |
0f66a9f3 RD |
172 | PyObject* arg = Py_BuildValue("()"); |
173 | PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL); | |
174 | Py_DECREF(arg); | |
474c48f9 | 175 | wxPyEndBlockThreads(); |
0f66a9f3 RD |
176 | |
177 | // now figure out where it's C++ object is... | |
178 | wxPyHtmlWinTagHandler* thPtr; | |
179 | if (SWIG_GetPtrObj(obj, (void **)&thPtr, "_wxPyHtmlWinTagHandler_p")) | |
180 | return; | |
181 | ||
182 | // add it, | |
183 | parser->AddTagHandler(thPtr); | |
184 | ||
185 | // and track it. | |
186 | m_objArray.Add(obj); | |
187 | } | |
188 | ||
189 | private: | |
190 | PyObject* m_tagHandlerClass; | |
191 | wxArrayPtrVoid m_objArray; | |
192 | ||
193 | }; | |
194 | ||
195 | void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) { | |
196 | // Dynamically create a new wxModule. Refcounts tagHandlerClass | |
197 | // and adds itself to the wxModules list and to the wxHtmlWinParser. | |
198 | new wxPyHtmlTagsModule(tagHandlerClass); | |
199 | } | |
b67a9327 RD |
200 | // here's the C++ version |
201 | class wxPyHtmlFilter : public wxHtmlFilter { | |
202 | DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); | |
203 | public: | |
204 | wxPyHtmlFilter() : wxHtmlFilter() {} | |
205 | ||
206 | // returns TRUE if this filter is able to open&read given file | |
207 | virtual bool CanRead(const wxFSFile& file) const { | |
208 | bool rval = FALSE; | |
209 | bool found; | |
210 | wxPyBeginBlockThreads(); | |
211 | if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) { | |
212 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
213 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); | |
214 | Py_DECREF(obj); | |
215 | } | |
216 | wxPyEndBlockThreads(); | |
217 | return rval; | |
218 | } | |
219 | ||
220 | ||
221 | // Reads given file and returns HTML document. | |
222 | // Returns empty string if opening failed | |
223 | virtual wxString ReadFile(const wxFSFile& file) const { | |
224 | wxString rval; | |
225 | bool found; | |
226 | wxPyBeginBlockThreads(); | |
227 | if ((found = wxPyCBH_findCallback(m_myInst, "ReadFile"))) { | |
228 | PyObject* obj = wxPyMake_wxObject((wxFSFile*)&file); // cast away const | |
229 | PyObject* ro; | |
230 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(O)", obj)); | |
231 | Py_DECREF(obj); | |
232 | if (ro) { | |
233 | rval = Py2wxString(ro); | |
234 | Py_DECREF(ro); | |
235 | } | |
236 | } | |
237 | wxPyEndBlockThreads(); | |
238 | return rval; | |
239 | } | |
240 | ||
241 | PYPRIVATE; | |
242 | }; | |
243 | ||
244 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); | |
0f66a9f3 RD |
245 | |
246 | class wxPyHtmlWindow : public wxHtmlWindow { | |
059a841c | 247 | DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); |
0f66a9f3 RD |
248 | public: |
249 | wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, | |
250 | const wxPoint& pos = wxDefaultPosition, | |
251 | const wxSize& size = wxDefaultSize, | |
252 | long style = wxHW_SCROLLBAR_AUTO, | |
b67a9327 | 253 | const wxString& name = wxPyHtmlWindowNameStr) |
0f66a9f3 | 254 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; |
3e212503 | 255 | wxPyHtmlWindow() : wxHtmlWindow() {}; |
0f66a9f3 | 256 | |
f0972d1e RD |
257 | bool ScrollToAnchor(const wxString& anchor) { |
258 | return wxHtmlWindow::ScrollToAnchor(anchor); | |
259 | } | |
260 | ||
261 | bool HasAnchor(const wxString& anchor) { | |
262 | const wxHtmlCell *c = m_Cell->Find(wxHTML_COND_ISANCHOR, &anchor); | |
263 | return c!=NULL; | |
264 | } | |
265 | ||
c8bc03c3 RD |
266 | void OnLinkClicked(const wxHtmlLinkInfo& link); |
267 | void base_OnLinkClicked(const wxHtmlLinkInfo& link); | |
9c00cfa3 | 268 | |
f0972d1e | 269 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, |
5d413391 RD |
270 | const wxString& url, |
271 | wxString *redirect) const; | |
272 | ||
9c00cfa3 | 273 | DEC_PYCALLBACK__STRING(OnSetTitle); |
0220cbc1 RD |
274 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); |
275 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
0f66a9f3 RD |
276 | PYPRIVATE; |
277 | }; | |
278 | ||
059a841c | 279 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); |
9c00cfa3 | 280 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); |
0220cbc1 RD |
281 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); |
282 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
283 | ||
0f66a9f3 | 284 | |
9df61a29 | 285 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { |
059a841c | 286 | bool found; |
474c48f9 | 287 | wxPyBeginBlockThreads(); |
0220cbc1 | 288 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
b67a9327 | 289 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); |
b68dc582 | 290 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
2cd2fac8 | 291 | Py_DECREF(obj); |
9c00cfa3 | 292 | } |
474c48f9 | 293 | wxPyEndBlockThreads(); |
059a841c | 294 | if (! found) |
9c00cfa3 | 295 | wxHtmlWindow::OnLinkClicked(link); |
9c00cfa3 | 296 | } |
c8bc03c3 | 297 | void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) { |
9c00cfa3 RD |
298 | wxHtmlWindow::OnLinkClicked(link); |
299 | } | |
0f66a9f3 | 300 | |
0220cbc1 | 301 | |
5d413391 RD |
302 | wxHtmlOpeningStatus wxPyHtmlWindow::OnOpeningURL(wxHtmlURLType type, |
303 | const wxString& url, | |
304 | wxString *redirect) const { | |
305 | bool found; | |
306 | wxHtmlOpeningStatus rval; | |
307 | wxPyBeginBlockThreads(); | |
308 | if ((found = wxPyCBH_findCallback(m_myInst, "OnOpeningURL"))) { | |
309 | PyObject* ro; | |
8f8b0a8d RD |
310 | PyObject* s = wx2PyString(url); |
311 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
312 | Py_DECREF(s); | |
5d413391 RD |
313 | if (PyString_Check(ro) |
314 | #if PYTHON_API_VERSION >= 1009 | |
315 | || PyUnicode_Check(ro) | |
316 | #endif | |
317 | ) { | |
49df1f52 | 318 | *redirect = Py2wxString(ro); |
5d413391 RD |
319 | rval = wxHTML_REDIRECT; |
320 | } | |
321 | else { | |
322 | PyObject* num = PyNumber_Int(ro); | |
323 | rval = (wxHtmlOpeningStatus)PyInt_AsLong(num); | |
324 | Py_DECREF(num); | |
325 | } | |
326 | Py_DECREF(ro); | |
327 | } | |
328 | wxPyEndBlockThreads(); | |
329 | if (! found) | |
330 | rval = wxHtmlWindow::OnOpeningURL(type, url, redirect); | |
331 | return rval; | |
332 | } | |
333 | ||
334 | ||
335 | ||
0f66a9f3 RD |
336 | extern "C" SWIGEXPORT(void) inithtmlhelpc(); |
337 | #ifdef __cplusplus | |
338 | extern "C" { | |
339 | #endif | |
340 | static PyObject *_wrap_wxHtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
341 | PyObject * _resultobj; | |
342 | PyObject * _arg0; | |
343 | PyObject * _obj0 = 0; | |
344 | char *_kwnames[] = { "tagHandlerClass", NULL }; | |
345 | ||
346 | self = self; | |
347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_AddTagHandler",_kwnames,&_obj0)) | |
348 | return NULL; | |
349 | { | |
350 | _arg0 = _obj0; | |
351 | } | |
352 | { | |
474c48f9 | 353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 354 | wxHtmlWinParser_AddTagHandler(_arg0); |
0f66a9f3 | 355 | |
474c48f9 RD |
356 | wxPyEndAllowThreads(__tstate); |
357 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
358 | } Py_INCREF(Py_None); |
359 | _resultobj = Py_None; | |
360 | return _resultobj; | |
361 | } | |
362 | ||
9df61a29 RD |
363 | static void *SwigwxHtmlLinkInfoTowxObject(void *ptr) { |
364 | wxHtmlLinkInfo *src; | |
365 | wxObject *dest; | |
366 | src = (wxHtmlLinkInfo *) ptr; | |
367 | dest = (wxObject *) src; | |
368 | return (void *) dest; | |
369 | } | |
370 | ||
9c00cfa3 RD |
371 | #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1)) |
372 | static PyObject *_wrap_new_wxHtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
373 | PyObject * _resultobj; | |
374 | wxHtmlLinkInfo * _result; | |
375 | wxString * _arg0; | |
9a74fcaf | 376 | wxString * _arg1 = (wxString *) &wxPyEmptyString; |
9c00cfa3 RD |
377 | PyObject * _obj0 = 0; |
378 | PyObject * _obj1 = 0; | |
379 | char *_kwnames[] = { "href","target", NULL }; | |
380 | char _ptemp[128]; | |
381 | ||
382 | self = self; | |
383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxHtmlLinkInfo",_kwnames,&_obj0,&_obj1)) | |
384 | return NULL; | |
385 | { | |
c8bc7bb8 RD |
386 | _arg0 = wxString_in_helper(_obj0); |
387 | if (_arg0 == NULL) | |
9c00cfa3 | 388 | return NULL; |
9c00cfa3 RD |
389 | } |
390 | if (_obj1) | |
391 | { | |
c8bc7bb8 RD |
392 | _arg1 = wxString_in_helper(_obj1); |
393 | if (_arg1 == NULL) | |
2cd2fac8 | 394 | return NULL; |
9c00cfa3 RD |
395 | } |
396 | { | |
474c48f9 | 397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 398 | _result = (wxHtmlLinkInfo *)new_wxHtmlLinkInfo(*_arg0,*_arg1); |
9c00cfa3 | 399 | |
474c48f9 RD |
400 | wxPyEndAllowThreads(__tstate); |
401 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
402 | } if (_result) { |
403 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlLinkInfo_p"); | |
404 | _resultobj = Py_BuildValue("s",_ptemp); | |
405 | } else { | |
406 | Py_INCREF(Py_None); | |
407 | _resultobj = Py_None; | |
408 | } | |
409 | { | |
410 | if (_obj0) | |
411 | delete _arg0; | |
412 | } | |
413 | { | |
414 | if (_obj1) | |
415 | delete _arg1; | |
416 | } | |
417 | return _resultobj; | |
418 | } | |
419 | ||
420 | #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref()) | |
421 | static PyObject *_wrap_wxHtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) { | |
422 | PyObject * _resultobj; | |
423 | wxString * _result; | |
424 | wxHtmlLinkInfo * _arg0; | |
425 | PyObject * _argo0 = 0; | |
426 | char *_kwnames[] = { "self", NULL }; | |
427 | ||
428 | self = self; | |
429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetHref",_kwnames,&_argo0)) | |
430 | return NULL; | |
431 | if (_argo0) { | |
432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) { | |
434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p."); | |
435 | return NULL; | |
436 | } | |
437 | } | |
438 | { | |
474c48f9 | 439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 440 | _result = new wxString (wxHtmlLinkInfo_GetHref(_arg0)); |
9c00cfa3 | 441 | |
474c48f9 RD |
442 | wxPyEndAllowThreads(__tstate); |
443 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 | 444 | }{ |
c8bc7bb8 | 445 | #if wxUSE_UNICODE |
b67a9327 | 446 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 447 | #else |
e02c03a4 | 448 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 449 | #endif |
9c00cfa3 RD |
450 | } |
451 | { | |
452 | delete _result; | |
453 | } | |
454 | return _resultobj; | |
455 | } | |
456 | ||
457 | #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget()) | |
458 | static PyObject *_wrap_wxHtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
459 | PyObject * _resultobj; | |
460 | wxString * _result; | |
461 | wxHtmlLinkInfo * _arg0; | |
462 | PyObject * _argo0 = 0; | |
463 | char *_kwnames[] = { "self", NULL }; | |
464 | ||
465 | self = self; | |
466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetTarget",_kwnames,&_argo0)) | |
467 | return NULL; | |
468 | if (_argo0) { | |
469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) { | |
471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p."); | |
472 | return NULL; | |
473 | } | |
474 | } | |
475 | { | |
474c48f9 | 476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 477 | _result = new wxString (wxHtmlLinkInfo_GetTarget(_arg0)); |
9c00cfa3 | 478 | |
474c48f9 RD |
479 | wxPyEndAllowThreads(__tstate); |
480 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 | 481 | }{ |
c8bc7bb8 | 482 | #if wxUSE_UNICODE |
b67a9327 | 483 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 484 | #else |
e02c03a4 | 485 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 486 | #endif |
9c00cfa3 RD |
487 | } |
488 | { | |
489 | delete _result; | |
490 | } | |
491 | return _resultobj; | |
492 | } | |
493 | ||
e02c03a4 RD |
494 | #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent()) |
495 | static PyObject *_wrap_wxHtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
496 | PyObject * _resultobj; | |
497 | wxMouseEvent * _result; | |
498 | wxHtmlLinkInfo * _arg0; | |
499 | PyObject * _argo0 = 0; | |
500 | char *_kwnames[] = { "self", NULL }; | |
e02c03a4 RD |
501 | |
502 | self = self; | |
503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetEvent",_kwnames,&_argo0)) | |
504 | return NULL; | |
505 | if (_argo0) { | |
506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) { | |
508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p."); | |
509 | return NULL; | |
510 | } | |
511 | } | |
512 | { | |
474c48f9 | 513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 514 | _result = (wxMouseEvent *)wxHtmlLinkInfo_GetEvent(_arg0); |
e02c03a4 | 515 | |
474c48f9 RD |
516 | wxPyEndAllowThreads(__tstate); |
517 | if (PyErr_Occurred()) return NULL; | |
9df61a29 | 518 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e02c03a4 RD |
519 | return _resultobj; |
520 | } | |
521 | ||
522 | #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell()) | |
523 | static PyObject *_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
524 | PyObject * _resultobj; | |
525 | wxHtmlCell * _result; | |
526 | wxHtmlLinkInfo * _arg0; | |
527 | PyObject * _argo0 = 0; | |
528 | char *_kwnames[] = { "self", NULL }; | |
529 | char _ptemp[128]; | |
530 | ||
531 | self = self; | |
532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames,&_argo0)) | |
533 | return NULL; | |
534 | if (_argo0) { | |
535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) { | |
537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p."); | |
538 | return NULL; | |
539 | } | |
540 | } | |
541 | { | |
474c48f9 | 542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 543 | _result = (wxHtmlCell *)wxHtmlLinkInfo_GetHtmlCell(_arg0); |
e02c03a4 | 544 | |
474c48f9 RD |
545 | wxPyEndAllowThreads(__tstate); |
546 | if (PyErr_Occurred()) return NULL; | |
e02c03a4 RD |
547 | } if (_result) { |
548 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
549 | _resultobj = Py_BuildValue("s",_ptemp); | |
550 | } else { | |
551 | Py_INCREF(Py_None); | |
552 | _resultobj = Py_None; | |
553 | } | |
554 | return _resultobj; | |
555 | } | |
556 | ||
7a446686 RD |
557 | #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0)) |
558 | static PyObject *_wrap_wxHtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
559 | PyObject * _resultobj; | |
560 | wxHtmlLinkInfo * _arg0; | |
561 | wxMouseEvent * _arg1; | |
562 | PyObject * _argo0 = 0; | |
563 | PyObject * _argo1 = 0; | |
564 | char *_kwnames[] = { "self","e", NULL }; | |
565 | ||
566 | self = self; | |
567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlLinkInfo_SetEvent",_kwnames,&_argo0,&_argo1)) | |
568 | return NULL; | |
569 | if (_argo0) { | |
570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) { | |
572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p."); | |
573 | return NULL; | |
574 | } | |
575 | } | |
576 | if (_argo1) { | |
577 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
578 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMouseEvent_p")) { | |
579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p."); | |
580 | return NULL; | |
581 | } | |
582 | } | |
583 | { | |
474c48f9 | 584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 585 | wxHtmlLinkInfo_SetEvent(_arg0,_arg1); |
7a446686 | 586 | |
474c48f9 RD |
587 | wxPyEndAllowThreads(__tstate); |
588 | if (PyErr_Occurred()) return NULL; | |
7a446686 RD |
589 | } Py_INCREF(Py_None); |
590 | _resultobj = Py_None; | |
591 | return _resultobj; | |
592 | } | |
593 | ||
594 | #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0)) | |
595 | static PyObject *_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
596 | PyObject * _resultobj; | |
597 | wxHtmlLinkInfo * _arg0; | |
598 | wxHtmlCell * _arg1; | |
599 | PyObject * _argo0 = 0; | |
600 | PyObject * _argo1 = 0; | |
601 | char *_kwnames[] = { "self","e", NULL }; | |
602 | ||
603 | self = self; | |
604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames,&_argo0,&_argo1)) | |
605 | return NULL; | |
606 | if (_argo0) { | |
607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) { | |
609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p."); | |
610 | return NULL; | |
611 | } | |
612 | } | |
613 | if (_argo1) { | |
614 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
615 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p."); | |
617 | return NULL; | |
618 | } | |
619 | } | |
620 | { | |
474c48f9 | 621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 622 | wxHtmlLinkInfo_SetHtmlCell(_arg0,_arg1); |
7a446686 | 623 | |
474c48f9 RD |
624 | wxPyEndAllowThreads(__tstate); |
625 | if (PyErr_Occurred()) return NULL; | |
7a446686 RD |
626 | } Py_INCREF(Py_None); |
627 | _resultobj = Py_None; | |
628 | return _resultobj; | |
629 | } | |
630 | ||
9df61a29 RD |
631 | static void *SwigwxHtmlTagTowxObject(void *ptr) { |
632 | wxHtmlTag *src; | |
633 | wxObject *dest; | |
634 | src = (wxHtmlTag *) ptr; | |
635 | dest = (wxObject *) src; | |
636 | return (void *) dest; | |
637 | } | |
638 | ||
0f66a9f3 RD |
639 | #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName()) |
640 | static PyObject *_wrap_wxHtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
641 | PyObject * _resultobj; | |
642 | wxString * _result; | |
643 | wxHtmlTag * _arg0; | |
644 | PyObject * _argo0 = 0; | |
645 | char *_kwnames[] = { "self", NULL }; | |
646 | ||
647 | self = self; | |
648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetName",_kwnames,&_argo0)) | |
649 | return NULL; | |
650 | if (_argo0) { | |
651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p."); | |
654 | return NULL; | |
655 | } | |
656 | } | |
657 | { | |
474c48f9 | 658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 659 | _result = new wxString (wxHtmlTag_GetName(_arg0)); |
0f66a9f3 | 660 | |
474c48f9 RD |
661 | wxPyEndAllowThreads(__tstate); |
662 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 663 | }{ |
c8bc7bb8 | 664 | #if wxUSE_UNICODE |
b67a9327 | 665 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 666 | #else |
e02c03a4 | 667 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 668 | #endif |
0f66a9f3 RD |
669 | } |
670 | { | |
671 | delete _result; | |
672 | } | |
673 | return _resultobj; | |
674 | } | |
675 | ||
676 | #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0)) | |
677 | static PyObject *_wrap_wxHtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
678 | PyObject * _resultobj; | |
679 | bool _result; | |
680 | wxHtmlTag * _arg0; | |
681 | wxString * _arg1; | |
682 | PyObject * _argo0 = 0; | |
683 | PyObject * _obj1 = 0; | |
684 | char *_kwnames[] = { "self","par", NULL }; | |
685 | ||
686 | self = self; | |
687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTag_HasParam",_kwnames,&_argo0,&_obj1)) | |
688 | return NULL; | |
689 | if (_argo0) { | |
690 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
691 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p."); | |
693 | return NULL; | |
694 | } | |
695 | } | |
696 | { | |
c8bc7bb8 RD |
697 | _arg1 = wxString_in_helper(_obj1); |
698 | if (_arg1 == NULL) | |
2cd2fac8 | 699 | return NULL; |
0f66a9f3 RD |
700 | } |
701 | { | |
474c48f9 | 702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 703 | _result = (bool )wxHtmlTag_HasParam(_arg0,*_arg1); |
0f66a9f3 | 704 | |
474c48f9 RD |
705 | wxPyEndAllowThreads(__tstate); |
706 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
707 | } _resultobj = Py_BuildValue("i",_result); |
708 | { | |
709 | if (_obj1) | |
710 | delete _arg1; | |
711 | } | |
712 | return _resultobj; | |
713 | } | |
714 | ||
715 | #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1)) | |
716 | static PyObject *_wrap_wxHtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
717 | PyObject * _resultobj; | |
718 | wxString * _result; | |
719 | wxHtmlTag * _arg0; | |
720 | wxString * _arg1; | |
721 | int _arg2 = (int ) FALSE; | |
722 | PyObject * _argo0 = 0; | |
723 | PyObject * _obj1 = 0; | |
724 | char *_kwnames[] = { "self","par","with_commas", NULL }; | |
725 | ||
726 | self = self; | |
727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlTag_GetParam",_kwnames,&_argo0,&_obj1,&_arg2)) | |
728 | return NULL; | |
729 | if (_argo0) { | |
730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p."); | |
733 | return NULL; | |
734 | } | |
735 | } | |
736 | { | |
c8bc7bb8 RD |
737 | _arg1 = wxString_in_helper(_obj1); |
738 | if (_arg1 == NULL) | |
2cd2fac8 | 739 | return NULL; |
0f66a9f3 RD |
740 | } |
741 | { | |
474c48f9 | 742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 743 | _result = new wxString (wxHtmlTag_GetParam(_arg0,*_arg1,_arg2)); |
0f66a9f3 | 744 | |
474c48f9 RD |
745 | wxPyEndAllowThreads(__tstate); |
746 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 747 | }{ |
c8bc7bb8 | 748 | #if wxUSE_UNICODE |
b67a9327 | 749 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 750 | #else |
e02c03a4 | 751 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 752 | #endif |
0f66a9f3 RD |
753 | } |
754 | { | |
755 | if (_obj1) | |
756 | delete _arg1; | |
757 | } | |
758 | { | |
759 | delete _result; | |
760 | } | |
761 | return _resultobj; | |
762 | } | |
763 | ||
764 | #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams()) | |
765 | static PyObject *_wrap_wxHtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) { | |
766 | PyObject * _resultobj; | |
767 | wxString * _result; | |
768 | wxHtmlTag * _arg0; | |
769 | PyObject * _argo0 = 0; | |
770 | char *_kwnames[] = { "self", NULL }; | |
771 | ||
772 | self = self; | |
773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetAllParams",_kwnames,&_argo0)) | |
774 | return NULL; | |
775 | if (_argo0) { | |
776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p."); | |
779 | return NULL; | |
780 | } | |
781 | } | |
782 | { | |
474c48f9 | 783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 784 | _result = new wxString (wxHtmlTag_GetAllParams(_arg0)); |
0f66a9f3 | 785 | |
474c48f9 RD |
786 | wxPyEndAllowThreads(__tstate); |
787 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 788 | }{ |
c8bc7bb8 | 789 | #if wxUSE_UNICODE |
b67a9327 | 790 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 791 | #else |
e02c03a4 | 792 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 793 | #endif |
0f66a9f3 RD |
794 | } |
795 | { | |
796 | delete _result; | |
797 | } | |
798 | return _resultobj; | |
799 | } | |
800 | ||
0f66a9f3 RD |
801 | #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding()) |
802 | static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) { | |
803 | PyObject * _resultobj; | |
804 | bool _result; | |
805 | wxHtmlTag * _arg0; | |
806 | PyObject * _argo0 = 0; | |
807 | char *_kwnames[] = { "self", NULL }; | |
808 | ||
809 | self = self; | |
810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_HasEnding",_kwnames,&_argo0)) | |
811 | return NULL; | |
812 | if (_argo0) { | |
813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p."); | |
816 | return NULL; | |
817 | } | |
818 | } | |
819 | { | |
474c48f9 | 820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 821 | _result = (bool )wxHtmlTag_HasEnding(_arg0); |
0f66a9f3 | 822 | |
474c48f9 RD |
823 | wxPyEndAllowThreads(__tstate); |
824 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
825 | } _resultobj = Py_BuildValue("i",_result); |
826 | return _resultobj; | |
827 | } | |
828 | ||
829 | #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos()) | |
830 | static PyObject *_wrap_wxHtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
831 | PyObject * _resultobj; | |
832 | int _result; | |
833 | wxHtmlTag * _arg0; | |
834 | PyObject * _argo0 = 0; | |
835 | char *_kwnames[] = { "self", NULL }; | |
836 | ||
837 | self = self; | |
838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetBeginPos",_kwnames,&_argo0)) | |
839 | return NULL; | |
840 | if (_argo0) { | |
841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p."); | |
844 | return NULL; | |
845 | } | |
846 | } | |
847 | { | |
474c48f9 | 848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 849 | _result = (int )wxHtmlTag_GetBeginPos(_arg0); |
0f66a9f3 | 850 | |
474c48f9 RD |
851 | wxPyEndAllowThreads(__tstate); |
852 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
853 | } _resultobj = Py_BuildValue("i",_result); |
854 | return _resultobj; | |
855 | } | |
856 | ||
857 | #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1()) | |
858 | static PyObject *_wrap_wxHtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
859 | PyObject * _resultobj; | |
860 | int _result; | |
861 | wxHtmlTag * _arg0; | |
862 | PyObject * _argo0 = 0; | |
863 | char *_kwnames[] = { "self", NULL }; | |
864 | ||
865 | self = self; | |
866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos1",_kwnames,&_argo0)) | |
867 | return NULL; | |
868 | if (_argo0) { | |
869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p."); | |
872 | return NULL; | |
873 | } | |
874 | } | |
875 | { | |
474c48f9 | 876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 877 | _result = (int )wxHtmlTag_GetEndPos1(_arg0); |
0f66a9f3 | 878 | |
474c48f9 RD |
879 | wxPyEndAllowThreads(__tstate); |
880 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
881 | } _resultobj = Py_BuildValue("i",_result); |
882 | return _resultobj; | |
883 | } | |
884 | ||
885 | #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2()) | |
886 | static PyObject *_wrap_wxHtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
887 | PyObject * _resultobj; | |
888 | int _result; | |
889 | wxHtmlTag * _arg0; | |
890 | PyObject * _argo0 = 0; | |
891 | char *_kwnames[] = { "self", NULL }; | |
892 | ||
893 | self = self; | |
894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos2",_kwnames,&_argo0)) | |
895 | return NULL; | |
896 | if (_argo0) { | |
897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) { | |
899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p."); | |
900 | return NULL; | |
901 | } | |
902 | } | |
903 | { | |
474c48f9 | 904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 905 | _result = (int )wxHtmlTag_GetEndPos2(_arg0); |
0f66a9f3 | 906 | |
474c48f9 RD |
907 | wxPyEndAllowThreads(__tstate); |
908 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
909 | } _resultobj = Py_BuildValue("i",_result); |
910 | return _resultobj; | |
911 | } | |
912 | ||
9df61a29 RD |
913 | static void *SwigwxHtmlParserTowxObject(void *ptr) { |
914 | wxHtmlParser *src; | |
915 | wxObject *dest; | |
916 | src = (wxHtmlParser *) ptr; | |
917 | dest = (wxObject *) src; | |
918 | return (void *) dest; | |
919 | } | |
920 | ||
0f66a9f3 RD |
921 | #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0)) |
922 | static PyObject *_wrap_wxHtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject * _resultobj; | |
924 | wxHtmlParser * _arg0; | |
925 | wxFileSystem * _arg1; | |
926 | PyObject * _argo0 = 0; | |
927 | PyObject * _argo1 = 0; | |
928 | char *_kwnames[] = { "self","fs", NULL }; | |
929 | ||
930 | self = self; | |
931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_SetFS",_kwnames,&_argo0,&_argo1)) | |
932 | return NULL; | |
933 | if (_argo0) { | |
934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p."); | |
937 | return NULL; | |
938 | } | |
939 | } | |
940 | if (_argo1) { | |
941 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
942 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) { | |
943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p."); | |
944 | return NULL; | |
945 | } | |
946 | } | |
947 | { | |
474c48f9 | 948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 949 | wxHtmlParser_SetFS(_arg0,_arg1); |
0f66a9f3 | 950 | |
474c48f9 RD |
951 | wxPyEndAllowThreads(__tstate); |
952 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
953 | } Py_INCREF(Py_None); |
954 | _resultobj = Py_None; | |
955 | return _resultobj; | |
956 | } | |
957 | ||
958 | #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS()) | |
959 | static PyObject *_wrap_wxHtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) { | |
960 | PyObject * _resultobj; | |
961 | wxFileSystem * _result; | |
962 | wxHtmlParser * _arg0; | |
963 | PyObject * _argo0 = 0; | |
964 | char *_kwnames[] = { "self", NULL }; | |
0f66a9f3 RD |
965 | |
966 | self = self; | |
967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetFS",_kwnames,&_argo0)) | |
968 | return NULL; | |
969 | if (_argo0) { | |
970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p."); | |
973 | return NULL; | |
974 | } | |
975 | } | |
976 | { | |
474c48f9 | 977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 978 | _result = (wxFileSystem *)wxHtmlParser_GetFS(_arg0); |
0f66a9f3 | 979 | |
474c48f9 RD |
980 | wxPyEndAllowThreads(__tstate); |
981 | if (PyErr_Occurred()) return NULL; | |
9df61a29 | 982 | }{ _resultobj = wxPyMake_wxObject(_result); } |
0f66a9f3 RD |
983 | return _resultobj; |
984 | } | |
985 | ||
986 | #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0)) | |
987 | static PyObject *_wrap_wxHtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
988 | PyObject * _resultobj; | |
989 | wxObject * _result; | |
990 | wxHtmlParser * _arg0; | |
991 | wxString * _arg1; | |
992 | PyObject * _argo0 = 0; | |
993 | PyObject * _obj1 = 0; | |
994 | char *_kwnames[] = { "self","source", NULL }; | |
0f66a9f3 RD |
995 | |
996 | self = self; | |
997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_Parse",_kwnames,&_argo0,&_obj1)) | |
998 | return NULL; | |
999 | if (_argo0) { | |
1000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p."); | |
1003 | return NULL; | |
1004 | } | |
1005 | } | |
1006 | { | |
c8bc7bb8 RD |
1007 | _arg1 = wxString_in_helper(_obj1); |
1008 | if (_arg1 == NULL) | |
2cd2fac8 | 1009 | return NULL; |
0f66a9f3 RD |
1010 | } |
1011 | { | |
474c48f9 | 1012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1013 | _result = (wxObject *)wxHtmlParser_Parse(_arg0,*_arg1); |
0f66a9f3 | 1014 | |
474c48f9 RD |
1015 | wxPyEndAllowThreads(__tstate); |
1016 | if (PyErr_Occurred()) return NULL; | |
9df61a29 | 1017 | }{ _resultobj = wxPyMake_wxObject(_result); } |
0f66a9f3 RD |
1018 | { |
1019 | if (_obj1) | |
1020 | delete _arg1; | |
1021 | } | |
1022 | return _resultobj; | |
1023 | } | |
1024 | ||
1025 | #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0)) | |
1026 | static PyObject *_wrap_wxHtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1027 | PyObject * _resultobj; | |
1028 | wxHtmlParser * _arg0; | |
1029 | wxString * _arg1; | |
1030 | PyObject * _argo0 = 0; | |
1031 | PyObject * _obj1 = 0; | |
1032 | char *_kwnames[] = { "self","source", NULL }; | |
1033 | ||
1034 | self = self; | |
1035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_InitParser",_kwnames,&_argo0,&_obj1)) | |
1036 | return NULL; | |
1037 | if (_argo0) { | |
1038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p."); | |
1041 | return NULL; | |
1042 | } | |
1043 | } | |
1044 | { | |
c8bc7bb8 RD |
1045 | _arg1 = wxString_in_helper(_obj1); |
1046 | if (_arg1 == NULL) | |
2cd2fac8 | 1047 | return NULL; |
0f66a9f3 RD |
1048 | } |
1049 | { | |
474c48f9 | 1050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1051 | wxHtmlParser_InitParser(_arg0,*_arg1); |
0f66a9f3 | 1052 | |
474c48f9 RD |
1053 | wxPyEndAllowThreads(__tstate); |
1054 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1055 | } Py_INCREF(Py_None); |
1056 | _resultobj = Py_None; | |
1057 | { | |
1058 | if (_obj1) | |
1059 | delete _arg1; | |
1060 | } | |
1061 | return _resultobj; | |
1062 | } | |
1063 | ||
1064 | #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser()) | |
1065 | static PyObject *_wrap_wxHtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1066 | PyObject * _resultobj; | |
1067 | wxHtmlParser * _arg0; | |
1068 | PyObject * _argo0 = 0; | |
1069 | char *_kwnames[] = { "self", NULL }; | |
1070 | ||
1071 | self = self; | |
1072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_DoneParser",_kwnames,&_argo0)) | |
1073 | return NULL; | |
1074 | if (_argo0) { | |
1075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p."); | |
1078 | return NULL; | |
1079 | } | |
1080 | } | |
1081 | { | |
474c48f9 | 1082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1083 | wxHtmlParser_DoneParser(_arg0); |
0f66a9f3 | 1084 | |
474c48f9 RD |
1085 | wxPyEndAllowThreads(__tstate); |
1086 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1087 | } Py_INCREF(Py_None); |
1088 | _resultobj = Py_None; | |
1089 | return _resultobj; | |
1090 | } | |
1091 | ||
1092 | #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1)) | |
1093 | static PyObject *_wrap_wxHtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1094 | PyObject * _resultobj; | |
1095 | wxHtmlParser * _arg0; | |
1096 | int _arg1; | |
1097 | int _arg2; | |
1098 | PyObject * _argo0 = 0; | |
1099 | char *_kwnames[] = { "self","begin_pos","end_pos", NULL }; | |
1100 | ||
1101 | self = self; | |
1102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlParser_DoParsing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1103 | return NULL; | |
1104 | if (_argo0) { | |
1105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p."); | |
1108 | return NULL; | |
1109 | } | |
1110 | } | |
1111 | { | |
474c48f9 | 1112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1113 | wxHtmlParser_DoParsing(_arg0,_arg1,_arg2); |
0f66a9f3 | 1114 | |
474c48f9 RD |
1115 | wxPyEndAllowThreads(__tstate); |
1116 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1117 | } Py_INCREF(Py_None); |
1118 | _resultobj = Py_None; | |
1119 | return _resultobj; | |
1120 | } | |
1121 | ||
b67a9327 RD |
1122 | #define wxHtmlParser_StopParsing(_swigobj) (_swigobj->StopParsing()) |
1123 | static PyObject *_wrap_wxHtmlParser_StopParsing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1124 | PyObject * _resultobj; | |
1125 | wxHtmlParser * _arg0; | |
1126 | PyObject * _argo0 = 0; | |
1127 | char *_kwnames[] = { "self", NULL }; | |
1128 | ||
1129 | self = self; | |
1130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_StopParsing",_kwnames,&_argo0)) | |
1131 | return NULL; | |
1132 | if (_argo0) { | |
1133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_StopParsing. Expected _wxHtmlParser_p."); | |
1136 | return NULL; | |
1137 | } | |
1138 | } | |
1139 | { | |
1140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1141 | wxHtmlParser_StopParsing(_arg0); | |
1142 | ||
1143 | wxPyEndAllowThreads(__tstate); | |
1144 | if (PyErr_Occurred()) return NULL; | |
1145 | } Py_INCREF(Py_None); | |
1146 | _resultobj = Py_None; | |
1147 | return _resultobj; | |
1148 | } | |
1149 | ||
0f66a9f3 RD |
1150 | #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0)) |
1151 | static PyObject *_wrap_wxHtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1152 | PyObject * _resultobj; | |
1153 | wxHtmlParser * _arg0; | |
1154 | wxHtmlTagHandler * _arg1; | |
1155 | PyObject * _argo0 = 0; | |
1156 | PyObject * _argo1 = 0; | |
1157 | char *_kwnames[] = { "self","handler", NULL }; | |
1158 | ||
1159 | self = self; | |
1160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_AddTagHandler",_kwnames,&_argo0,&_argo1)) | |
1161 | return NULL; | |
1162 | if (_argo0) { | |
1163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p."); | |
1166 | return NULL; | |
1167 | } | |
1168 | } | |
1169 | if (_argo1) { | |
1170 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1171 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) { | |
1172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p."); | |
1173 | return NULL; | |
1174 | } | |
1175 | } | |
1176 | { | |
474c48f9 | 1177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1178 | wxHtmlParser_AddTagHandler(_arg0,_arg1); |
0f66a9f3 | 1179 | |
474c48f9 RD |
1180 | wxPyEndAllowThreads(__tstate); |
1181 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1182 | } Py_INCREF(Py_None); |
1183 | _resultobj = Py_None; | |
1184 | return _resultobj; | |
1185 | } | |
1186 | ||
1187 | #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource()) | |
1188 | static PyObject *_wrap_wxHtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1189 | PyObject * _resultobj; | |
1190 | wxString * _result; | |
1191 | wxHtmlParser * _arg0; | |
1192 | PyObject * _argo0 = 0; | |
1193 | char *_kwnames[] = { "self", NULL }; | |
1194 | ||
1195 | self = self; | |
1196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetSource",_kwnames,&_argo0)) | |
1197 | return NULL; | |
1198 | if (_argo0) { | |
1199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p."); | |
1202 | return NULL; | |
1203 | } | |
1204 | } | |
1205 | { | |
474c48f9 | 1206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1207 | _result = (wxString *)wxHtmlParser_GetSource(_arg0); |
0f66a9f3 | 1208 | |
474c48f9 RD |
1209 | wxPyEndAllowThreads(__tstate); |
1210 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 1211 | }{ |
c8bc7bb8 | 1212 | #if wxUSE_UNICODE |
b67a9327 | 1213 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 1214 | #else |
e02c03a4 | 1215 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 1216 | #endif |
0f66a9f3 RD |
1217 | } |
1218 | return _resultobj; | |
1219 | } | |
1220 | ||
dc2f8a65 RD |
1221 | #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1)) |
1222 | static PyObject *_wrap_wxHtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1223 | PyObject * _resultobj; | |
1224 | wxHtmlParser * _arg0; | |
1225 | wxHtmlTagHandler * _arg1; | |
1226 | wxString * _arg2; | |
1227 | PyObject * _argo0 = 0; | |
1228 | PyObject * _argo1 = 0; | |
1229 | PyObject * _obj2 = 0; | |
1230 | char *_kwnames[] = { "self","handler","tags", NULL }; | |
1231 | ||
1232 | self = self; | |
1233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlParser_PushTagHandler",_kwnames,&_argo0,&_argo1,&_obj2)) | |
1234 | return NULL; | |
1235 | if (_argo0) { | |
1236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p."); | |
1239 | return NULL; | |
1240 | } | |
1241 | } | |
1242 | if (_argo1) { | |
1243 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1244 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) { | |
1245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p."); | |
1246 | return NULL; | |
1247 | } | |
1248 | } | |
1249 | { | |
c8bc7bb8 RD |
1250 | _arg2 = wxString_in_helper(_obj2); |
1251 | if (_arg2 == NULL) | |
2cd2fac8 | 1252 | return NULL; |
dc2f8a65 RD |
1253 | } |
1254 | { | |
474c48f9 | 1255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1256 | wxHtmlParser_PushTagHandler(_arg0,_arg1,*_arg2); |
dc2f8a65 | 1257 | |
474c48f9 RD |
1258 | wxPyEndAllowThreads(__tstate); |
1259 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
1260 | } Py_INCREF(Py_None); |
1261 | _resultobj = Py_None; | |
1262 | { | |
1263 | if (_obj2) | |
1264 | delete _arg2; | |
1265 | } | |
1266 | return _resultobj; | |
1267 | } | |
1268 | ||
1269 | #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler()) | |
1270 | static PyObject *_wrap_wxHtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1271 | PyObject * _resultobj; | |
1272 | wxHtmlParser * _arg0; | |
1273 | PyObject * _argo0 = 0; | |
1274 | char *_kwnames[] = { "self", NULL }; | |
1275 | ||
1276 | self = self; | |
1277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_PopTagHandler",_kwnames,&_argo0)) | |
1278 | return NULL; | |
1279 | if (_argo0) { | |
1280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) { | |
1282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p."); | |
1283 | return NULL; | |
1284 | } | |
1285 | } | |
1286 | { | |
474c48f9 | 1287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1288 | wxHtmlParser_PopTagHandler(_arg0); |
dc2f8a65 | 1289 | |
474c48f9 RD |
1290 | wxPyEndAllowThreads(__tstate); |
1291 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
1292 | } Py_INCREF(Py_None); |
1293 | _resultobj = Py_None; | |
1294 | return _resultobj; | |
1295 | } | |
1296 | ||
0f66a9f3 RD |
1297 | static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr) { |
1298 | wxHtmlWinParser *src; | |
1299 | wxHtmlParser *dest; | |
1300 | src = (wxHtmlWinParser *) ptr; | |
1301 | dest = (wxHtmlParser *) src; | |
1302 | return (void *) dest; | |
1303 | } | |
1304 | ||
9df61a29 RD |
1305 | static void *SwigwxHtmlWinParserTowxObject(void *ptr) { |
1306 | wxHtmlWinParser *src; | |
1307 | wxObject *dest; | |
1308 | src = (wxHtmlWinParser *) ptr; | |
1309 | dest = (wxObject *) src; | |
1310 | return (void *) dest; | |
1311 | } | |
1312 | ||
0f66a9f3 RD |
1313 | #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0)) |
1314 | static PyObject *_wrap_new_wxHtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1315 | PyObject * _resultobj; | |
1316 | wxHtmlWinParser * _result; | |
1fded56b | 1317 | wxPyHtmlWindow * _arg0 = (wxPyHtmlWindow *) NULL; |
0f66a9f3 RD |
1318 | PyObject * _argo0 = 0; |
1319 | char *_kwnames[] = { "wnd", NULL }; | |
1320 | char _ptemp[128]; | |
1321 | ||
1322 | self = self; | |
85247b36 | 1323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxHtmlWinParser",_kwnames,&_argo0)) |
0f66a9f3 RD |
1324 | return NULL; |
1325 | if (_argo0) { | |
1326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1fded56b RD |
1327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
1328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxPyHtmlWindow_p."); | |
0f66a9f3 RD |
1329 | return NULL; |
1330 | } | |
1331 | } | |
1332 | { | |
474c48f9 | 1333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1334 | _result = (wxHtmlWinParser *)new_wxHtmlWinParser(_arg0); |
0f66a9f3 | 1335 | |
474c48f9 RD |
1336 | wxPyEndAllowThreads(__tstate); |
1337 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1338 | } if (_result) { |
1339 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
1340 | _resultobj = Py_BuildValue("s",_ptemp); | |
1341 | } else { | |
1342 | Py_INCREF(Py_None); | |
1343 | _resultobj = Py_None; | |
1344 | } | |
1345 | return _resultobj; | |
1346 | } | |
1347 | ||
1348 | #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0)) | |
1349 | static PyObject *_wrap_wxHtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1350 | PyObject * _resultobj; | |
1351 | wxHtmlWinParser * _arg0; | |
1352 | wxDC * _arg1; | |
1353 | PyObject * _argo0 = 0; | |
1354 | PyObject * _argo1 = 0; | |
1355 | char *_kwnames[] = { "self","dc", NULL }; | |
1356 | ||
1357 | self = self; | |
1358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetDC",_kwnames,&_argo0,&_argo1)) | |
1359 | return NULL; | |
1360 | if (_argo0) { | |
1361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p."); | |
1364 | return NULL; | |
1365 | } | |
1366 | } | |
1367 | if (_argo1) { | |
1368 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1369 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p."); | |
1371 | return NULL; | |
1372 | } | |
1373 | } | |
1374 | { | |
474c48f9 | 1375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1376 | wxHtmlWinParser_SetDC(_arg0,_arg1); |
0f66a9f3 | 1377 | |
474c48f9 RD |
1378 | wxPyEndAllowThreads(__tstate); |
1379 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1380 | } Py_INCREF(Py_None); |
1381 | _resultobj = Py_None; | |
1382 | return _resultobj; | |
1383 | } | |
1384 | ||
1385 | #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC()) | |
1386 | static PyObject *_wrap_wxHtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1387 | PyObject * _resultobj; | |
1388 | wxDC * _result; | |
1389 | wxHtmlWinParser * _arg0; | |
1390 | PyObject * _argo0 = 0; | |
1391 | char *_kwnames[] = { "self", NULL }; | |
0f66a9f3 RD |
1392 | |
1393 | self = self; | |
1394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetDC",_kwnames,&_argo0)) | |
1395 | return NULL; | |
1396 | if (_argo0) { | |
1397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p."); | |
1400 | return NULL; | |
1401 | } | |
1402 | } | |
1403 | { | |
474c48f9 | 1404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1405 | _result = (wxDC *)wxHtmlWinParser_GetDC(_arg0); |
0f66a9f3 | 1406 | |
474c48f9 RD |
1407 | wxPyEndAllowThreads(__tstate); |
1408 | if (PyErr_Occurred()) return NULL; | |
9df61a29 | 1409 | }{ _resultobj = wxPyMake_wxObject(_result); } |
0f66a9f3 RD |
1410 | return _resultobj; |
1411 | } | |
1412 | ||
1413 | #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight()) | |
1414 | static PyObject *_wrap_wxHtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1415 | PyObject * _resultobj; | |
1416 | int _result; | |
1417 | wxHtmlWinParser * _arg0; | |
1418 | PyObject * _argo0 = 0; | |
1419 | char *_kwnames[] = { "self", NULL }; | |
1420 | ||
1421 | self = self; | |
1422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharHeight",_kwnames,&_argo0)) | |
1423 | return NULL; | |
1424 | if (_argo0) { | |
1425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p."); | |
1428 | return NULL; | |
1429 | } | |
1430 | } | |
1431 | { | |
474c48f9 | 1432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1433 | _result = (int )wxHtmlWinParser_GetCharHeight(_arg0); |
0f66a9f3 | 1434 | |
474c48f9 RD |
1435 | wxPyEndAllowThreads(__tstate); |
1436 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1437 | } _resultobj = Py_BuildValue("i",_result); |
1438 | return _resultobj; | |
1439 | } | |
1440 | ||
1441 | #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth()) | |
1442 | static PyObject *_wrap_wxHtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1443 | PyObject * _resultobj; | |
1444 | int _result; | |
1445 | wxHtmlWinParser * _arg0; | |
1446 | PyObject * _argo0 = 0; | |
1447 | char *_kwnames[] = { "self", NULL }; | |
1448 | ||
1449 | self = self; | |
1450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharWidth",_kwnames,&_argo0)) | |
1451 | return NULL; | |
1452 | if (_argo0) { | |
1453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p."); | |
1456 | return NULL; | |
1457 | } | |
1458 | } | |
1459 | { | |
474c48f9 | 1460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1461 | _result = (int )wxHtmlWinParser_GetCharWidth(_arg0); |
0f66a9f3 | 1462 | |
474c48f9 RD |
1463 | wxPyEndAllowThreads(__tstate); |
1464 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1465 | } _resultobj = Py_BuildValue("i",_result); |
1466 | return _resultobj; | |
1467 | } | |
1468 | ||
1469 | #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
1470 | static PyObject *_wrap_wxHtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1471 | PyObject * _resultobj; | |
1fded56b | 1472 | wxPyHtmlWindow * _result; |
0f66a9f3 RD |
1473 | wxHtmlWinParser * _arg0; |
1474 | PyObject * _argo0 = 0; | |
1475 | char *_kwnames[] = { "self", NULL }; | |
0f66a9f3 RD |
1476 | |
1477 | self = self; | |
1478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetWindow",_kwnames,&_argo0)) | |
1479 | return NULL; | |
1480 | if (_argo0) { | |
1481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p."); | |
1484 | return NULL; | |
1485 | } | |
1486 | } | |
1487 | { | |
474c48f9 | 1488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1fded56b | 1489 | _result = (wxPyHtmlWindow *)wxHtmlWinParser_GetWindow(_arg0); |
0f66a9f3 | 1490 | |
474c48f9 RD |
1491 | wxPyEndAllowThreads(__tstate); |
1492 | if (PyErr_Occurred()) return NULL; | |
9df61a29 | 1493 | }{ _resultobj = wxPyMake_wxObject(_result); } |
0f66a9f3 RD |
1494 | return _resultobj; |
1495 | } | |
1496 | ||
f6bcfd97 | 1497 | static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
3100de99 RD |
1498 | int* temp = NULL; |
1499 | if (sizes) temp = int_LIST_helper(sizes); | |
1500 | self->SetFonts(normal_face, fixed_face, temp); | |
1501 | if (temp) | |
f6bcfd97 | 1502 | delete [] temp; |
f6bcfd97 | 1503 | } |
0f66a9f3 RD |
1504 | static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { |
1505 | PyObject * _resultobj; | |
1506 | wxHtmlWinParser * _arg0; | |
1507 | wxString * _arg1; | |
9c00cfa3 | 1508 | wxString * _arg2; |
3100de99 | 1509 | PyObject * _arg3 = (PyObject *) NULL; |
0f66a9f3 RD |
1510 | PyObject * _argo0 = 0; |
1511 | PyObject * _obj1 = 0; | |
9c00cfa3 | 1512 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
1513 | PyObject * _obj3 = 0; |
1514 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
0f66a9f3 RD |
1515 | |
1516 | self = self; | |
3100de99 | 1517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
0f66a9f3 RD |
1518 | return NULL; |
1519 | if (_argo0) { | |
1520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p."); | |
1523 | return NULL; | |
1524 | } | |
1525 | } | |
1526 | { | |
c8bc7bb8 RD |
1527 | _arg1 = wxString_in_helper(_obj1); |
1528 | if (_arg1 == NULL) | |
2cd2fac8 | 1529 | return NULL; |
0f66a9f3 RD |
1530 | } |
1531 | { | |
c8bc7bb8 RD |
1532 | _arg2 = wxString_in_helper(_obj2); |
1533 | if (_arg2 == NULL) | |
2cd2fac8 | 1534 | return NULL; |
0f66a9f3 | 1535 | } |
3100de99 | 1536 | if (_obj3) |
f6bcfd97 BP |
1537 | { |
1538 | _arg3 = _obj3; | |
1539 | } | |
0f66a9f3 | 1540 | { |
474c48f9 | 1541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1542 | wxHtmlWinParser_SetFonts(_arg0,*_arg1,*_arg2,_arg3); |
0f66a9f3 | 1543 | |
474c48f9 RD |
1544 | wxPyEndAllowThreads(__tstate); |
1545 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1546 | } Py_INCREF(Py_None); |
1547 | _resultobj = Py_None; | |
1548 | { | |
1549 | if (_obj1) | |
1550 | delete _arg1; | |
1551 | } | |
1552 | { | |
9c00cfa3 RD |
1553 | if (_obj2) |
1554 | delete _arg2; | |
0f66a9f3 RD |
1555 | } |
1556 | return _resultobj; | |
1557 | } | |
1558 | ||
1559 | #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer()) | |
1560 | static PyObject *_wrap_wxHtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1561 | PyObject * _resultobj; | |
1562 | wxHtmlContainerCell * _result; | |
1563 | wxHtmlWinParser * _arg0; | |
1564 | PyObject * _argo0 = 0; | |
1565 | char *_kwnames[] = { "self", NULL }; | |
1566 | char _ptemp[128]; | |
1567 | ||
1568 | self = self; | |
1569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetContainer",_kwnames,&_argo0)) | |
1570 | return NULL; | |
1571 | if (_argo0) { | |
1572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p."); | |
1575 | return NULL; | |
1576 | } | |
1577 | } | |
1578 | { | |
474c48f9 | 1579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1580 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_GetContainer(_arg0); |
0f66a9f3 | 1581 | |
474c48f9 RD |
1582 | wxPyEndAllowThreads(__tstate); |
1583 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1584 | } if (_result) { |
1585 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1586 | _resultobj = Py_BuildValue("s",_ptemp); | |
1587 | } else { | |
1588 | Py_INCREF(Py_None); | |
1589 | _resultobj = Py_None; | |
1590 | } | |
1591 | return _resultobj; | |
1592 | } | |
1593 | ||
1594 | #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer()) | |
1595 | static PyObject *_wrap_wxHtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1596 | PyObject * _resultobj; | |
1597 | wxHtmlContainerCell * _result; | |
1598 | wxHtmlWinParser * _arg0; | |
1599 | PyObject * _argo0 = 0; | |
1600 | char *_kwnames[] = { "self", NULL }; | |
1601 | char _ptemp[128]; | |
1602 | ||
1603 | self = self; | |
1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_OpenContainer",_kwnames,&_argo0)) | |
1605 | return NULL; | |
1606 | if (_argo0) { | |
1607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p."); | |
1610 | return NULL; | |
1611 | } | |
1612 | } | |
1613 | { | |
474c48f9 | 1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1615 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_OpenContainer(_arg0); |
0f66a9f3 | 1616 | |
474c48f9 RD |
1617 | wxPyEndAllowThreads(__tstate); |
1618 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1619 | } if (_result) { |
1620 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1621 | _resultobj = Py_BuildValue("s",_ptemp); | |
1622 | } else { | |
1623 | Py_INCREF(Py_None); | |
1624 | _resultobj = Py_None; | |
1625 | } | |
1626 | return _resultobj; | |
1627 | } | |
1628 | ||
dc2f8a65 RD |
1629 | #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0)) |
1630 | static PyObject *_wrap_wxHtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1631 | PyObject * _resultobj; | |
1632 | wxHtmlContainerCell * _result; | |
1633 | wxHtmlWinParser * _arg0; | |
1634 | wxHtmlContainerCell * _arg1; | |
1635 | PyObject * _argo0 = 0; | |
1636 | PyObject * _argo1 = 0; | |
1637 | char *_kwnames[] = { "self","c", NULL }; | |
1638 | char _ptemp[128]; | |
1639 | ||
1640 | self = self; | |
1641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetContainer",_kwnames,&_argo0,&_argo1)) | |
1642 | return NULL; | |
1643 | if (_argo0) { | |
1644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p."); | |
1647 | return NULL; | |
1648 | } | |
1649 | } | |
1650 | if (_argo1) { | |
1651 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1652 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) { | |
1653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p."); | |
1654 | return NULL; | |
1655 | } | |
1656 | } | |
1657 | { | |
474c48f9 | 1658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1659 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_SetContainer(_arg0,_arg1); |
dc2f8a65 | 1660 | |
474c48f9 RD |
1661 | wxPyEndAllowThreads(__tstate); |
1662 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
1663 | } if (_result) { |
1664 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1665 | _resultobj = Py_BuildValue("s",_ptemp); | |
1666 | } else { | |
1667 | Py_INCREF(Py_None); | |
1668 | _resultobj = Py_None; | |
1669 | } | |
1670 | return _resultobj; | |
1671 | } | |
1672 | ||
0f66a9f3 RD |
1673 | #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer()) |
1674 | static PyObject *_wrap_wxHtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1675 | PyObject * _resultobj; | |
1676 | wxHtmlContainerCell * _result; | |
1677 | wxHtmlWinParser * _arg0; | |
1678 | PyObject * _argo0 = 0; | |
1679 | char *_kwnames[] = { "self", NULL }; | |
1680 | char _ptemp[128]; | |
1681 | ||
1682 | self = self; | |
1683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CloseContainer",_kwnames,&_argo0)) | |
1684 | return NULL; | |
1685 | if (_argo0) { | |
1686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p."); | |
1689 | return NULL; | |
1690 | } | |
1691 | } | |
1692 | { | |
474c48f9 | 1693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1694 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_CloseContainer(_arg0); |
0f66a9f3 | 1695 | |
474c48f9 RD |
1696 | wxPyEndAllowThreads(__tstate); |
1697 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1698 | } if (_result) { |
1699 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
1700 | _resultobj = Py_BuildValue("s",_ptemp); | |
1701 | } else { | |
1702 | Py_INCREF(Py_None); | |
1703 | _resultobj = Py_None; | |
1704 | } | |
1705 | return _resultobj; | |
1706 | } | |
1707 | ||
1708 | #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize()) | |
1709 | static PyObject *_wrap_wxHtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1710 | PyObject * _resultobj; | |
1711 | int _result; | |
1712 | wxHtmlWinParser * _arg0; | |
1713 | PyObject * _argo0 = 0; | |
1714 | char *_kwnames[] = { "self", NULL }; | |
1715 | ||
1716 | self = self; | |
1717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontSize",_kwnames,&_argo0)) | |
1718 | return NULL; | |
1719 | if (_argo0) { | |
1720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p."); | |
1723 | return NULL; | |
1724 | } | |
1725 | } | |
1726 | { | |
474c48f9 | 1727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1728 | _result = (int )wxHtmlWinParser_GetFontSize(_arg0); |
0f66a9f3 | 1729 | |
474c48f9 RD |
1730 | wxPyEndAllowThreads(__tstate); |
1731 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1732 | } _resultobj = Py_BuildValue("i",_result); |
1733 | return _resultobj; | |
1734 | } | |
1735 | ||
1736 | #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0)) | |
1737 | static PyObject *_wrap_wxHtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1738 | PyObject * _resultobj; | |
1739 | wxHtmlWinParser * _arg0; | |
1740 | int _arg1; | |
1741 | PyObject * _argo0 = 0; | |
1742 | char *_kwnames[] = { "self","s", NULL }; | |
1743 | ||
1744 | self = self; | |
1745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontSize",_kwnames,&_argo0,&_arg1)) | |
1746 | return NULL; | |
1747 | if (_argo0) { | |
1748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p."); | |
1751 | return NULL; | |
1752 | } | |
1753 | } | |
1754 | { | |
474c48f9 | 1755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1756 | wxHtmlWinParser_SetFontSize(_arg0,_arg1); |
0f66a9f3 | 1757 | |
474c48f9 RD |
1758 | wxPyEndAllowThreads(__tstate); |
1759 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1760 | } Py_INCREF(Py_None); |
1761 | _resultobj = Py_None; | |
1762 | return _resultobj; | |
1763 | } | |
1764 | ||
1765 | #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold()) | |
1766 | static PyObject *_wrap_wxHtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1767 | PyObject * _resultobj; | |
1768 | int _result; | |
1769 | wxHtmlWinParser * _arg0; | |
1770 | PyObject * _argo0 = 0; | |
1771 | char *_kwnames[] = { "self", NULL }; | |
1772 | ||
1773 | self = self; | |
1774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontBold",_kwnames,&_argo0)) | |
1775 | return NULL; | |
1776 | if (_argo0) { | |
1777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p."); | |
1780 | return NULL; | |
1781 | } | |
1782 | } | |
1783 | { | |
474c48f9 | 1784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1785 | _result = (int )wxHtmlWinParser_GetFontBold(_arg0); |
0f66a9f3 | 1786 | |
474c48f9 RD |
1787 | wxPyEndAllowThreads(__tstate); |
1788 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1789 | } _resultobj = Py_BuildValue("i",_result); |
1790 | return _resultobj; | |
1791 | } | |
1792 | ||
1793 | #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0)) | |
1794 | static PyObject *_wrap_wxHtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1795 | PyObject * _resultobj; | |
1796 | wxHtmlWinParser * _arg0; | |
1797 | int _arg1; | |
1798 | PyObject * _argo0 = 0; | |
1799 | char *_kwnames[] = { "self","x", NULL }; | |
1800 | ||
1801 | self = self; | |
1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontBold",_kwnames,&_argo0,&_arg1)) | |
1803 | return NULL; | |
1804 | if (_argo0) { | |
1805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p."); | |
1808 | return NULL; | |
1809 | } | |
1810 | } | |
1811 | { | |
474c48f9 | 1812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1813 | wxHtmlWinParser_SetFontBold(_arg0,_arg1); |
0f66a9f3 | 1814 | |
474c48f9 RD |
1815 | wxPyEndAllowThreads(__tstate); |
1816 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1817 | } Py_INCREF(Py_None); |
1818 | _resultobj = Py_None; | |
1819 | return _resultobj; | |
1820 | } | |
1821 | ||
1822 | #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic()) | |
1823 | static PyObject *_wrap_wxHtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1824 | PyObject * _resultobj; | |
1825 | int _result; | |
1826 | wxHtmlWinParser * _arg0; | |
1827 | PyObject * _argo0 = 0; | |
1828 | char *_kwnames[] = { "self", NULL }; | |
1829 | ||
1830 | self = self; | |
1831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontItalic",_kwnames,&_argo0)) | |
1832 | return NULL; | |
1833 | if (_argo0) { | |
1834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p."); | |
1837 | return NULL; | |
1838 | } | |
1839 | } | |
1840 | { | |
474c48f9 | 1841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1842 | _result = (int )wxHtmlWinParser_GetFontItalic(_arg0); |
0f66a9f3 | 1843 | |
474c48f9 RD |
1844 | wxPyEndAllowThreads(__tstate); |
1845 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1846 | } _resultobj = Py_BuildValue("i",_result); |
1847 | return _resultobj; | |
1848 | } | |
1849 | ||
1850 | #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0)) | |
1851 | static PyObject *_wrap_wxHtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1852 | PyObject * _resultobj; | |
1853 | wxHtmlWinParser * _arg0; | |
1854 | int _arg1; | |
1855 | PyObject * _argo0 = 0; | |
1856 | char *_kwnames[] = { "self","x", NULL }; | |
1857 | ||
1858 | self = self; | |
1859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames,&_argo0,&_arg1)) | |
1860 | return NULL; | |
1861 | if (_argo0) { | |
1862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p."); | |
1865 | return NULL; | |
1866 | } | |
1867 | } | |
1868 | { | |
474c48f9 | 1869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1870 | wxHtmlWinParser_SetFontItalic(_arg0,_arg1); |
0f66a9f3 | 1871 | |
474c48f9 RD |
1872 | wxPyEndAllowThreads(__tstate); |
1873 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1874 | } Py_INCREF(Py_None); |
1875 | _resultobj = Py_None; | |
1876 | return _resultobj; | |
1877 | } | |
1878 | ||
1879 | #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined()) | |
1880 | static PyObject *_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1881 | PyObject * _resultobj; | |
1882 | int _result; | |
1883 | wxHtmlWinParser * _arg0; | |
1884 | PyObject * _argo0 = 0; | |
1885 | char *_kwnames[] = { "self", NULL }; | |
1886 | ||
1887 | self = self; | |
1888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames,&_argo0)) | |
1889 | return NULL; | |
1890 | if (_argo0) { | |
1891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p."); | |
1894 | return NULL; | |
1895 | } | |
1896 | } | |
1897 | { | |
474c48f9 | 1898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1899 | _result = (int )wxHtmlWinParser_GetFontUnderlined(_arg0); |
0f66a9f3 | 1900 | |
474c48f9 RD |
1901 | wxPyEndAllowThreads(__tstate); |
1902 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1903 | } _resultobj = Py_BuildValue("i",_result); |
1904 | return _resultobj; | |
1905 | } | |
1906 | ||
1907 | #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0)) | |
1908 | static PyObject *_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1909 | PyObject * _resultobj; | |
1910 | wxHtmlWinParser * _arg0; | |
1911 | int _arg1; | |
1912 | PyObject * _argo0 = 0; | |
1913 | char *_kwnames[] = { "self","x", NULL }; | |
1914 | ||
1915 | self = self; | |
1916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames,&_argo0,&_arg1)) | |
1917 | return NULL; | |
1918 | if (_argo0) { | |
1919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p."); | |
1922 | return NULL; | |
1923 | } | |
1924 | } | |
1925 | { | |
474c48f9 | 1926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1927 | wxHtmlWinParser_SetFontUnderlined(_arg0,_arg1); |
0f66a9f3 | 1928 | |
474c48f9 RD |
1929 | wxPyEndAllowThreads(__tstate); |
1930 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1931 | } Py_INCREF(Py_None); |
1932 | _resultobj = Py_None; | |
1933 | return _resultobj; | |
1934 | } | |
1935 | ||
1936 | #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed()) | |
1937 | static PyObject *_wrap_wxHtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1938 | PyObject * _resultobj; | |
1939 | int _result; | |
1940 | wxHtmlWinParser * _arg0; | |
1941 | PyObject * _argo0 = 0; | |
1942 | char *_kwnames[] = { "self", NULL }; | |
1943 | ||
1944 | self = self; | |
1945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontFixed",_kwnames,&_argo0)) | |
1946 | return NULL; | |
1947 | if (_argo0) { | |
1948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p."); | |
1951 | return NULL; | |
1952 | } | |
1953 | } | |
1954 | { | |
474c48f9 | 1955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1956 | _result = (int )wxHtmlWinParser_GetFontFixed(_arg0); |
0f66a9f3 | 1957 | |
474c48f9 RD |
1958 | wxPyEndAllowThreads(__tstate); |
1959 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1960 | } _resultobj = Py_BuildValue("i",_result); |
1961 | return _resultobj; | |
1962 | } | |
1963 | ||
1964 | #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0)) | |
1965 | static PyObject *_wrap_wxHtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1966 | PyObject * _resultobj; | |
1967 | wxHtmlWinParser * _arg0; | |
1968 | int _arg1; | |
1969 | PyObject * _argo0 = 0; | |
1970 | char *_kwnames[] = { "self","x", NULL }; | |
1971 | ||
1972 | self = self; | |
1973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames,&_argo0,&_arg1)) | |
1974 | return NULL; | |
1975 | if (_argo0) { | |
1976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
1978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p."); | |
1979 | return NULL; | |
1980 | } | |
1981 | } | |
1982 | { | |
474c48f9 | 1983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1984 | wxHtmlWinParser_SetFontFixed(_arg0,_arg1); |
0f66a9f3 | 1985 | |
474c48f9 RD |
1986 | wxPyEndAllowThreads(__tstate); |
1987 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
1988 | } Py_INCREF(Py_None); |
1989 | _resultobj = Py_None; | |
1990 | return _resultobj; | |
1991 | } | |
1992 | ||
1993 | #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign()) | |
1994 | static PyObject *_wrap_wxHtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1995 | PyObject * _resultobj; | |
1996 | int _result; | |
1997 | wxHtmlWinParser * _arg0; | |
1998 | PyObject * _argo0 = 0; | |
1999 | char *_kwnames[] = { "self", NULL }; | |
2000 | ||
2001 | self = self; | |
2002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetAlign",_kwnames,&_argo0)) | |
2003 | return NULL; | |
2004 | if (_argo0) { | |
2005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p."); | |
2008 | return NULL; | |
2009 | } | |
2010 | } | |
2011 | { | |
474c48f9 | 2012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2013 | _result = (int )wxHtmlWinParser_GetAlign(_arg0); |
0f66a9f3 | 2014 | |
474c48f9 RD |
2015 | wxPyEndAllowThreads(__tstate); |
2016 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2017 | } _resultobj = Py_BuildValue("i",_result); |
2018 | return _resultobj; | |
2019 | } | |
2020 | ||
2021 | #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
2022 | static PyObject *_wrap_wxHtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2023 | PyObject * _resultobj; | |
2024 | wxHtmlWinParser * _arg0; | |
2025 | int _arg1; | |
2026 | PyObject * _argo0 = 0; | |
2027 | char *_kwnames[] = { "self","a", NULL }; | |
2028 | ||
2029 | self = self; | |
2030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetAlign",_kwnames,&_argo0,&_arg1)) | |
2031 | return NULL; | |
2032 | if (_argo0) { | |
2033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p."); | |
2036 | return NULL; | |
2037 | } | |
2038 | } | |
2039 | { | |
474c48f9 | 2040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2041 | wxHtmlWinParser_SetAlign(_arg0,_arg1); |
0f66a9f3 | 2042 | |
474c48f9 RD |
2043 | wxPyEndAllowThreads(__tstate); |
2044 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2045 | } Py_INCREF(Py_None); |
2046 | _resultobj = Py_None; | |
2047 | return _resultobj; | |
2048 | } | |
2049 | ||
2050 | #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor()) | |
2051 | static PyObject *_wrap_wxHtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2052 | PyObject * _resultobj; | |
2053 | wxColour * _result; | |
2054 | wxHtmlWinParser * _arg0; | |
2055 | PyObject * _argo0 = 0; | |
2056 | char *_kwnames[] = { "self", NULL }; | |
2057 | char _ptemp[128]; | |
2058 | ||
2059 | self = self; | |
2060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLinkColor",_kwnames,&_argo0)) | |
2061 | return NULL; | |
2062 | if (_argo0) { | |
2063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p."); | |
2066 | return NULL; | |
2067 | } | |
2068 | } | |
2069 | { | |
474c48f9 | 2070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2071 | _result = new wxColour (wxHtmlWinParser_GetLinkColor(_arg0)); |
0f66a9f3 | 2072 | |
474c48f9 RD |
2073 | wxPyEndAllowThreads(__tstate); |
2074 | if (PyErr_Occurred()) return NULL; | |
3e212503 RD |
2075 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2076 | _resultobj = Py_BuildValue("s",_ptemp); | |
0f66a9f3 RD |
2077 | return _resultobj; |
2078 | } | |
2079 | ||
2080 | #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0)) | |
2081 | static PyObject *_wrap_wxHtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2082 | PyObject * _resultobj; | |
2083 | wxHtmlWinParser * _arg0; | |
2084 | wxColour * _arg1; | |
2085 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
2086 | wxColour temp; |
2087 | PyObject * _obj1 = 0; | |
0f66a9f3 RD |
2088 | char *_kwnames[] = { "self","clr", NULL }; |
2089 | ||
2090 | self = self; | |
f6bcfd97 | 2091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLinkColor",_kwnames,&_argo0,&_obj1)) |
0f66a9f3 RD |
2092 | return NULL; |
2093 | if (_argo0) { | |
2094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p."); | |
2097 | return NULL; | |
2098 | } | |
2099 | } | |
f6bcfd97 BP |
2100 | { |
2101 | _arg1 = &temp; | |
2102 | if (! wxColour_helper(_obj1, &_arg1)) | |
0f66a9f3 | 2103 | return NULL; |
f6bcfd97 | 2104 | } |
0f66a9f3 | 2105 | { |
474c48f9 | 2106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2107 | wxHtmlWinParser_SetLinkColor(_arg0,*_arg1); |
0f66a9f3 | 2108 | |
474c48f9 RD |
2109 | wxPyEndAllowThreads(__tstate); |
2110 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2111 | } Py_INCREF(Py_None); |
2112 | _resultobj = Py_None; | |
2113 | return _resultobj; | |
2114 | } | |
2115 | ||
2116 | #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor()) | |
2117 | static PyObject *_wrap_wxHtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2118 | PyObject * _resultobj; | |
2119 | wxColour * _result; | |
2120 | wxHtmlWinParser * _arg0; | |
2121 | PyObject * _argo0 = 0; | |
2122 | char *_kwnames[] = { "self", NULL }; | |
2123 | char _ptemp[128]; | |
2124 | ||
2125 | self = self; | |
2126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetActualColor",_kwnames,&_argo0)) | |
2127 | return NULL; | |
2128 | if (_argo0) { | |
2129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p."); | |
2132 | return NULL; | |
2133 | } | |
2134 | } | |
2135 | { | |
474c48f9 | 2136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2137 | _result = new wxColour (wxHtmlWinParser_GetActualColor(_arg0)); |
0f66a9f3 | 2138 | |
474c48f9 RD |
2139 | wxPyEndAllowThreads(__tstate); |
2140 | if (PyErr_Occurred()) return NULL; | |
3e212503 RD |
2141 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2142 | _resultobj = Py_BuildValue("s",_ptemp); | |
0f66a9f3 RD |
2143 | return _resultobj; |
2144 | } | |
2145 | ||
2146 | #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0)) | |
2147 | static PyObject *_wrap_wxHtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2148 | PyObject * _resultobj; | |
2149 | wxHtmlWinParser * _arg0; | |
2150 | wxColour * _arg1; | |
2151 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
2152 | wxColour temp; |
2153 | PyObject * _obj1 = 0; | |
0f66a9f3 RD |
2154 | char *_kwnames[] = { "self","clr", NULL }; |
2155 | ||
2156 | self = self; | |
f6bcfd97 | 2157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetActualColor",_kwnames,&_argo0,&_obj1)) |
0f66a9f3 RD |
2158 | return NULL; |
2159 | if (_argo0) { | |
2160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p."); | |
2163 | return NULL; | |
2164 | } | |
2165 | } | |
f6bcfd97 BP |
2166 | { |
2167 | _arg1 = &temp; | |
2168 | if (! wxColour_helper(_obj1, &_arg1)) | |
0f66a9f3 | 2169 | return NULL; |
f6bcfd97 | 2170 | } |
0f66a9f3 | 2171 | { |
474c48f9 | 2172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2173 | wxHtmlWinParser_SetActualColor(_arg0,*_arg1); |
0f66a9f3 | 2174 | |
474c48f9 RD |
2175 | wxPyEndAllowThreads(__tstate); |
2176 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2177 | } Py_INCREF(Py_None); |
2178 | _resultobj = Py_None; | |
2179 | return _resultobj; | |
2180 | } | |
2181 | ||
0f66a9f3 RD |
2182 | #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0)) |
2183 | static PyObject *_wrap_wxHtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2184 | PyObject * _resultobj; | |
2185 | wxHtmlWinParser * _arg0; | |
2186 | wxString * _arg1; | |
2187 | PyObject * _argo0 = 0; | |
2188 | PyObject * _obj1 = 0; | |
2189 | char *_kwnames[] = { "self","link", NULL }; | |
2190 | ||
2191 | self = self; | |
2192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLink",_kwnames,&_argo0,&_obj1)) | |
2193 | return NULL; | |
2194 | if (_argo0) { | |
2195 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2196 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p."); | |
2198 | return NULL; | |
2199 | } | |
2200 | } | |
2201 | { | |
c8bc7bb8 RD |
2202 | _arg1 = wxString_in_helper(_obj1); |
2203 | if (_arg1 == NULL) | |
2cd2fac8 | 2204 | return NULL; |
0f66a9f3 RD |
2205 | } |
2206 | { | |
474c48f9 | 2207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2208 | wxHtmlWinParser_SetLink(_arg0,*_arg1); |
0f66a9f3 | 2209 | |
474c48f9 RD |
2210 | wxPyEndAllowThreads(__tstate); |
2211 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2212 | } Py_INCREF(Py_None); |
2213 | _resultobj = Py_None; | |
2214 | { | |
2215 | if (_obj1) | |
2216 | delete _arg1; | |
2217 | } | |
2218 | return _resultobj; | |
2219 | } | |
2220 | ||
2221 | #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont()) | |
2222 | static PyObject *_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2223 | PyObject * _resultobj; | |
2224 | wxFont * _result; | |
2225 | wxHtmlWinParser * _arg0; | |
2226 | PyObject * _argo0 = 0; | |
2227 | char *_kwnames[] = { "self", NULL }; | |
2228 | char _ptemp[128]; | |
2229 | ||
2230 | self = self; | |
2231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames,&_argo0)) | |
2232 | return NULL; | |
2233 | if (_argo0) { | |
2234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p."); | |
2237 | return NULL; | |
2238 | } | |
2239 | } | |
2240 | { | |
474c48f9 | 2241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2242 | _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0); |
0f66a9f3 | 2243 | |
474c48f9 RD |
2244 | wxPyEndAllowThreads(__tstate); |
2245 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2246 | } if (_result) { |
2247 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
2248 | _resultobj = Py_BuildValue("s",_ptemp); | |
2249 | } else { | |
2250 | Py_INCREF(Py_None); | |
2251 | _resultobj = Py_None; | |
2252 | } | |
2253 | return _resultobj; | |
2254 | } | |
2255 | ||
9c00cfa3 RD |
2256 | #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink()) |
2257 | static PyObject *_wrap_wxHtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2258 | PyObject * _resultobj; | |
2259 | wxHtmlLinkInfo * _result; | |
2260 | wxHtmlWinParser * _arg0; | |
2261 | PyObject * _argo0 = 0; | |
2262 | char *_kwnames[] = { "self", NULL }; | |
2263 | char _ptemp[128]; | |
2264 | ||
2265 | self = self; | |
2266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLink",_kwnames,&_argo0)) | |
2267 | return NULL; | |
2268 | if (_argo0) { | |
2269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) { | |
2271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p."); | |
2272 | return NULL; | |
2273 | } | |
2274 | } | |
2275 | { | |
474c48f9 | 2276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2277 | _result = new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0)); |
9c00cfa3 | 2278 | |
474c48f9 RD |
2279 | wxPyEndAllowThreads(__tstate); |
2280 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
2281 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxHtmlLinkInfo_p"); |
2282 | _resultobj = Py_BuildValue("s",_ptemp); | |
2283 | return _resultobj; | |
2284 | } | |
2285 | ||
9df61a29 RD |
2286 | static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr) { |
2287 | wxPyHtmlTagHandler *src; | |
2288 | wxObject *dest; | |
2289 | src = (wxPyHtmlTagHandler *) ptr; | |
2290 | dest = (wxObject *) src; | |
2291 | return (void *) dest; | |
2292 | } | |
2293 | ||
0f66a9f3 RD |
2294 | #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler()) |
2295 | static PyObject *_wrap_new_wxHtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2296 | PyObject * _resultobj; | |
2297 | wxPyHtmlTagHandler * _result; | |
2298 | char *_kwnames[] = { NULL }; | |
2299 | char _ptemp[128]; | |
2300 | ||
2301 | self = self; | |
2302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlTagHandler",_kwnames)) | |
2303 | return NULL; | |
2304 | { | |
474c48f9 | 2305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2306 | _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler(); |
0f66a9f3 | 2307 | |
474c48f9 RD |
2308 | wxPyEndAllowThreads(__tstate); |
2309 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2310 | } if (_result) { |
2311 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlTagHandler_p"); | |
2312 | _resultobj = Py_BuildValue("s",_ptemp); | |
2313 | } else { | |
2314 | Py_INCREF(Py_None); | |
2315 | _resultobj = Py_None; | |
2316 | } | |
2317 | return _resultobj; | |
2318 | } | |
2319 | ||
0220cbc1 RD |
2320 | #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2321 | static PyObject *_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 RD |
2322 | PyObject * _resultobj; |
2323 | wxPyHtmlTagHandler * _arg0; | |
2324 | PyObject * _arg1; | |
f6bcfd97 | 2325 | PyObject * _arg2; |
0f66a9f3 RD |
2326 | PyObject * _argo0 = 0; |
2327 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2328 | PyObject * _obj2 = 0; |
2329 | char *_kwnames[] = { "self","self","_class", NULL }; | |
0f66a9f3 RD |
2330 | |
2331 | self = self; | |
0220cbc1 | 2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
0f66a9f3 RD |
2333 | return NULL; |
2334 | if (_argo0) { | |
2335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
0220cbc1 | 2337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p."); |
0f66a9f3 RD |
2338 | return NULL; |
2339 | } | |
2340 | } | |
2341 | { | |
2342 | _arg1 = _obj1; | |
2343 | } | |
f6bcfd97 BP |
2344 | { |
2345 | _arg2 = _obj2; | |
2346 | } | |
0f66a9f3 | 2347 | { |
474c48f9 | 2348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2349 | wxHtmlTagHandler__setCallbackInfo(_arg0,_arg1,_arg2); |
0f66a9f3 | 2350 | |
474c48f9 RD |
2351 | wxPyEndAllowThreads(__tstate); |
2352 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2353 | } Py_INCREF(Py_None); |
2354 | _resultobj = Py_None; | |
2355 | return _resultobj; | |
2356 | } | |
2357 | ||
2358 | #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0)) | |
2359 | static PyObject *_wrap_wxHtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2360 | PyObject * _resultobj; | |
2361 | wxPyHtmlTagHandler * _arg0; | |
2362 | wxHtmlParser * _arg1; | |
2363 | PyObject * _argo0 = 0; | |
2364 | PyObject * _argo1 = 0; | |
2365 | char *_kwnames[] = { "self","parser", NULL }; | |
2366 | ||
2367 | self = self; | |
2368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_SetParser",_kwnames,&_argo0,&_argo1)) | |
2369 | return NULL; | |
2370 | if (_argo0) { | |
2371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
2373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p."); | |
2374 | return NULL; | |
2375 | } | |
2376 | } | |
2377 | if (_argo1) { | |
2378 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2379 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) { | |
2380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p."); | |
2381 | return NULL; | |
2382 | } | |
2383 | } | |
2384 | { | |
474c48f9 | 2385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2386 | wxHtmlTagHandler_SetParser(_arg0,_arg1); |
0f66a9f3 | 2387 | |
474c48f9 RD |
2388 | wxPyEndAllowThreads(__tstate); |
2389 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2390 | } Py_INCREF(Py_None); |
2391 | _resultobj = Py_None; | |
2392 | return _resultobj; | |
2393 | } | |
2394 | ||
2395 | #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser()) | |
2396 | static PyObject *_wrap_wxHtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2397 | PyObject * _resultobj; | |
2398 | wxHtmlParser * _result; | |
2399 | wxPyHtmlTagHandler * _arg0; | |
2400 | PyObject * _argo0 = 0; | |
2401 | char *_kwnames[] = { "self", NULL }; | |
2402 | char _ptemp[128]; | |
2403 | ||
2404 | self = self; | |
2405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTagHandler_GetParser",_kwnames,&_argo0)) | |
2406 | return NULL; | |
2407 | if (_argo0) { | |
2408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
2410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p."); | |
2411 | return NULL; | |
2412 | } | |
2413 | } | |
2414 | { | |
474c48f9 | 2415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2416 | _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0); |
0f66a9f3 | 2417 | |
474c48f9 RD |
2418 | wxPyEndAllowThreads(__tstate); |
2419 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2420 | } if (_result) { |
2421 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlParser_p"); | |
2422 | _resultobj = Py_BuildValue("s",_ptemp); | |
2423 | } else { | |
2424 | Py_INCREF(Py_None); | |
2425 | _resultobj = Py_None; | |
2426 | } | |
2427 | return _resultobj; | |
2428 | } | |
2429 | ||
2430 | #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0)) | |
2431 | static PyObject *_wrap_wxHtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2432 | PyObject * _resultobj; | |
2433 | wxPyHtmlTagHandler * _arg0; | |
2434 | wxHtmlTag * _arg1; | |
2435 | PyObject * _argo0 = 0; | |
2436 | PyObject * _argo1 = 0; | |
2437 | char *_kwnames[] = { "self","tag", NULL }; | |
325274bb | 2438 | |
0f66a9f3 RD |
2439 | self = self; |
2440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_ParseInner",_kwnames,&_argo0,&_argo1)) | |
2441 | return NULL; | |
2442 | if (_argo0) { | |
2443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) { | |
2445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p."); | |
2446 | return NULL; | |
2447 | } | |
2448 | } | |
2449 | if (_argo1) { | |
b67a9327 | 2450 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { |
0f66a9f3 RD |
2451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p."); |
2452 | return NULL; | |
2453 | } | |
2454 | } | |
2455 | { | |
474c48f9 | 2456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2457 | wxHtmlTagHandler_ParseInner(_arg0,*_arg1); |
325274bb | 2458 | |
474c48f9 RD |
2459 | wxPyEndAllowThreads(__tstate); |
2460 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2461 | } Py_INCREF(Py_None); |
2462 | _resultobj = Py_None; | |
2463 | return _resultobj; | |
2464 | } | |
2465 | ||
2466 | static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr) { | |
2467 | wxPyHtmlWinTagHandler *src; | |
2468 | wxPyHtmlTagHandler *dest; | |
2469 | src = (wxPyHtmlWinTagHandler *) ptr; | |
2470 | dest = (wxPyHtmlTagHandler *) src; | |
2471 | return (void *) dest; | |
2472 | } | |
2473 | ||
9df61a29 RD |
2474 | static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr) { |
2475 | wxPyHtmlWinTagHandler *src; | |
2476 | wxObject *dest; | |
2477 | src = (wxPyHtmlWinTagHandler *) ptr; | |
2478 | dest = (wxObject *) src; | |
2479 | return (void *) dest; | |
2480 | } | |
2481 | ||
0f66a9f3 RD |
2482 | #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler()) |
2483 | static PyObject *_wrap_new_wxHtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2484 | PyObject * _resultobj; | |
2485 | wxPyHtmlWinTagHandler * _result; | |
2486 | char *_kwnames[] = { NULL }; | |
2487 | char _ptemp[128]; | |
2488 | ||
2489 | self = self; | |
2490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlWinTagHandler",_kwnames)) | |
2491 | return NULL; | |
2492 | { | |
474c48f9 | 2493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2494 | _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler(); |
0f66a9f3 | 2495 | |
474c48f9 RD |
2496 | wxPyEndAllowThreads(__tstate); |
2497 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2498 | } if (_result) { |
2499 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWinTagHandler_p"); | |
2500 | _resultobj = Py_BuildValue("s",_ptemp); | |
2501 | } else { | |
2502 | Py_INCREF(Py_None); | |
2503 | _resultobj = Py_None; | |
2504 | } | |
2505 | return _resultobj; | |
2506 | } | |
2507 | ||
0220cbc1 RD |
2508 | #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2509 | static PyObject *_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 RD |
2510 | PyObject * _resultobj; |
2511 | wxPyHtmlWinTagHandler * _arg0; | |
2512 | PyObject * _arg1; | |
f6bcfd97 | 2513 | PyObject * _arg2; |
0f66a9f3 RD |
2514 | PyObject * _argo0 = 0; |
2515 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2516 | PyObject * _obj2 = 0; |
2517 | char *_kwnames[] = { "self","self","_class", NULL }; | |
0f66a9f3 RD |
2518 | |
2519 | self = self; | |
0220cbc1 | 2520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
0f66a9f3 RD |
2521 | return NULL; |
2522 | if (_argo0) { | |
2523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
0220cbc1 | 2525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p."); |
0f66a9f3 RD |
2526 | return NULL; |
2527 | } | |
2528 | } | |
2529 | { | |
2530 | _arg1 = _obj1; | |
2531 | } | |
f6bcfd97 BP |
2532 | { |
2533 | _arg2 = _obj2; | |
2534 | } | |
0f66a9f3 | 2535 | { |
474c48f9 | 2536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2537 | wxHtmlWinTagHandler__setCallbackInfo(_arg0,_arg1,_arg2); |
0f66a9f3 | 2538 | |
474c48f9 RD |
2539 | wxPyEndAllowThreads(__tstate); |
2540 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2541 | } Py_INCREF(Py_None); |
2542 | _resultobj = Py_None; | |
2543 | return _resultobj; | |
2544 | } | |
2545 | ||
2546 | #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0)) | |
2547 | static PyObject *_wrap_wxHtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2548 | PyObject * _resultobj; | |
2549 | wxPyHtmlWinTagHandler * _arg0; | |
2550 | wxHtmlParser * _arg1; | |
2551 | PyObject * _argo0 = 0; | |
2552 | PyObject * _argo1 = 0; | |
2553 | char *_kwnames[] = { "self","parser", NULL }; | |
2554 | ||
2555 | self = self; | |
2556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_SetParser",_kwnames,&_argo0,&_argo1)) | |
2557 | return NULL; | |
2558 | if (_argo0) { | |
2559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p."); | |
2562 | return NULL; | |
2563 | } | |
2564 | } | |
2565 | if (_argo1) { | |
2566 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2567 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) { | |
2568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p."); | |
2569 | return NULL; | |
2570 | } | |
2571 | } | |
2572 | { | |
474c48f9 | 2573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2574 | wxHtmlWinTagHandler_SetParser(_arg0,_arg1); |
0f66a9f3 | 2575 | |
474c48f9 RD |
2576 | wxPyEndAllowThreads(__tstate); |
2577 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2578 | } Py_INCREF(Py_None); |
2579 | _resultobj = Py_None; | |
2580 | return _resultobj; | |
2581 | } | |
2582 | ||
2583 | #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser()) | |
2584 | static PyObject *_wrap_wxHtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2585 | PyObject * _resultobj; | |
2586 | wxHtmlWinParser * _result; | |
2587 | wxPyHtmlWinTagHandler * _arg0; | |
2588 | PyObject * _argo0 = 0; | |
2589 | char *_kwnames[] = { "self", NULL }; | |
2590 | char _ptemp[128]; | |
2591 | ||
2592 | self = self; | |
2593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinTagHandler_GetParser",_kwnames,&_argo0)) | |
2594 | return NULL; | |
2595 | if (_argo0) { | |
2596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p."); | |
2599 | return NULL; | |
2600 | } | |
2601 | } | |
2602 | { | |
474c48f9 | 2603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2604 | _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0); |
0f66a9f3 | 2605 | |
474c48f9 RD |
2606 | wxPyEndAllowThreads(__tstate); |
2607 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2608 | } if (_result) { |
2609 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
2610 | _resultobj = Py_BuildValue("s",_ptemp); | |
2611 | } else { | |
2612 | Py_INCREF(Py_None); | |
2613 | _resultobj = Py_None; | |
2614 | } | |
2615 | return _resultobj; | |
2616 | } | |
2617 | ||
2618 | #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0)) | |
2619 | static PyObject *_wrap_wxHtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2620 | PyObject * _resultobj; | |
2621 | wxPyHtmlWinTagHandler * _arg0; | |
2622 | wxHtmlTag * _arg1; | |
2623 | PyObject * _argo0 = 0; | |
2624 | PyObject * _argo1 = 0; | |
2625 | char *_kwnames[] = { "self","tag", NULL }; | |
2626 | ||
2627 | self = self; | |
2628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames,&_argo0,&_argo1)) | |
2629 | return NULL; | |
2630 | if (_argo0) { | |
2631 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2632 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) { | |
2633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p."); | |
2634 | return NULL; | |
2635 | } | |
2636 | } | |
2637 | if (_argo1) { | |
b67a9327 | 2638 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { |
0f66a9f3 RD |
2639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p."); |
2640 | return NULL; | |
2641 | } | |
2642 | } | |
2643 | { | |
474c48f9 | 2644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2645 | wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1); |
0f66a9f3 | 2646 | |
474c48f9 RD |
2647 | wxPyEndAllowThreads(__tstate); |
2648 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
2649 | } Py_INCREF(Py_None); |
2650 | _resultobj = Py_None; | |
2651 | return _resultobj; | |
2652 | } | |
325274bb | 2653 | |
9df61a29 RD |
2654 | static void *SwigwxHtmlCellTowxObject(void *ptr) { |
2655 | wxHtmlCell *src; | |
2656 | wxObject *dest; | |
2657 | src = (wxHtmlCell *) ptr; | |
2658 | dest = (wxObject *) src; | |
2659 | return (void *) dest; | |
2660 | } | |
2661 | ||
e166644c RD |
2662 | #define new_wxHtmlCell() (new wxHtmlCell()) |
2663 | static PyObject *_wrap_new_wxHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2664 | PyObject * _resultobj; |
e166644c RD |
2665 | wxHtmlCell * _result; |
2666 | char *_kwnames[] = { NULL }; | |
325274bb RD |
2667 | char _ptemp[128]; |
2668 | ||
2669 | self = self; | |
e166644c | 2670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlCell",_kwnames)) |
325274bb RD |
2671 | return NULL; |
2672 | { | |
474c48f9 | 2673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2674 | _result = (wxHtmlCell *)new_wxHtmlCell(); |
325274bb | 2675 | |
474c48f9 RD |
2676 | wxPyEndAllowThreads(__tstate); |
2677 | if (PyErr_Occurred()) return NULL; | |
325274bb | 2678 | } if (_result) { |
e166644c | 2679 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); |
325274bb RD |
2680 | _resultobj = Py_BuildValue("s",_ptemp); |
2681 | } else { | |
2682 | Py_INCREF(Py_None); | |
2683 | _resultobj = Py_None; | |
2684 | } | |
2685 | return _resultobj; | |
2686 | } | |
2687 | ||
e166644c RD |
2688 | #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX()) |
2689 | static PyObject *_wrap_wxHtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2690 | PyObject * _resultobj; |
e166644c RD |
2691 | int _result; |
2692 | wxHtmlCell * _arg0; | |
325274bb | 2693 | PyObject * _argo0 = 0; |
0f66a9f3 | 2694 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2695 | |
2696 | self = self; | |
e166644c | 2697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosX",_kwnames,&_argo0)) |
325274bb RD |
2698 | return NULL; |
2699 | if (_argo0) { | |
2700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p."); | |
325274bb RD |
2703 | return NULL; |
2704 | } | |
2705 | } | |
2706 | { | |
474c48f9 | 2707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2708 | _result = (int )wxHtmlCell_GetPosX(_arg0); |
325274bb | 2709 | |
474c48f9 RD |
2710 | wxPyEndAllowThreads(__tstate); |
2711 | if (PyErr_Occurred()) return NULL; | |
e166644c | 2712 | } _resultobj = Py_BuildValue("i",_result); |
325274bb RD |
2713 | return _resultobj; |
2714 | } | |
2715 | ||
e166644c RD |
2716 | #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY()) |
2717 | static PyObject *_wrap_wxHtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2718 | PyObject * _resultobj; |
e166644c RD |
2719 | int _result; |
2720 | wxHtmlCell * _arg0; | |
325274bb | 2721 | PyObject * _argo0 = 0; |
e166644c | 2722 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2723 | |
2724 | self = self; | |
e166644c | 2725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosY",_kwnames,&_argo0)) |
325274bb RD |
2726 | return NULL; |
2727 | if (_argo0) { | |
2728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p."); | |
325274bb RD |
2731 | return NULL; |
2732 | } | |
2733 | } | |
2734 | { | |
474c48f9 | 2735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2736 | _result = (int )wxHtmlCell_GetPosY(_arg0); |
325274bb | 2737 | |
474c48f9 RD |
2738 | wxPyEndAllowThreads(__tstate); |
2739 | if (PyErr_Occurred()) return NULL; | |
e166644c | 2740 | } _resultobj = Py_BuildValue("i",_result); |
325274bb RD |
2741 | return _resultobj; |
2742 | } | |
2743 | ||
e166644c RD |
2744 | #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth()) |
2745 | static PyObject *_wrap_wxHtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 | 2746 | PyObject * _resultobj; |
e166644c RD |
2747 | int _result; |
2748 | wxHtmlCell * _arg0; | |
0f66a9f3 | 2749 | PyObject * _argo0 = 0; |
e166644c | 2750 | char *_kwnames[] = { "self", NULL }; |
0f66a9f3 RD |
2751 | |
2752 | self = self; | |
e166644c | 2753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetWidth",_kwnames,&_argo0)) |
0f66a9f3 RD |
2754 | return NULL; |
2755 | if (_argo0) { | |
2756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p."); | |
0f66a9f3 RD |
2759 | return NULL; |
2760 | } | |
2761 | } | |
0f66a9f3 | 2762 | { |
474c48f9 | 2763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2764 | _result = (int )wxHtmlCell_GetWidth(_arg0); |
0f66a9f3 | 2765 | |
474c48f9 RD |
2766 | wxPyEndAllowThreads(__tstate); |
2767 | if (PyErr_Occurred()) return NULL; | |
e166644c | 2768 | } _resultobj = Py_BuildValue("i",_result); |
0f66a9f3 RD |
2769 | return _resultobj; |
2770 | } | |
2771 | ||
e166644c RD |
2772 | #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight()) |
2773 | static PyObject *_wrap_wxHtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2774 | PyObject * _resultobj; |
e166644c RD |
2775 | int _result; |
2776 | wxHtmlCell * _arg0; | |
325274bb | 2777 | PyObject * _argo0 = 0; |
e166644c | 2778 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2779 | |
2780 | self = self; | |
e166644c | 2781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetHeight",_kwnames,&_argo0)) |
325274bb RD |
2782 | return NULL; |
2783 | if (_argo0) { | |
2784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p."); | |
325274bb RD |
2787 | return NULL; |
2788 | } | |
2789 | } | |
2790 | { | |
474c48f9 | 2791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2792 | _result = (int )wxHtmlCell_GetHeight(_arg0); |
325274bb | 2793 | |
474c48f9 RD |
2794 | wxPyEndAllowThreads(__tstate); |
2795 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
2796 | } _resultobj = Py_BuildValue("i",_result); |
2797 | return _resultobj; | |
2798 | } | |
2799 | ||
e166644c RD |
2800 | #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent()) |
2801 | static PyObject *_wrap_wxHtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2802 | PyObject * _resultobj; |
e166644c RD |
2803 | int _result; |
2804 | wxHtmlCell * _arg0; | |
325274bb | 2805 | PyObject * _argo0 = 0; |
e166644c | 2806 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2807 | |
2808 | self = self; | |
e166644c | 2809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDescent",_kwnames,&_argo0)) |
325274bb RD |
2810 | return NULL; |
2811 | if (_argo0) { | |
2812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p."); | |
325274bb RD |
2815 | return NULL; |
2816 | } | |
2817 | } | |
2818 | { | |
474c48f9 | 2819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2820 | _result = (int )wxHtmlCell_GetDescent(_arg0); |
325274bb | 2821 | |
474c48f9 RD |
2822 | wxPyEndAllowThreads(__tstate); |
2823 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
2824 | } _resultobj = Py_BuildValue("i",_result); |
2825 | return _resultobj; | |
2826 | } | |
2827 | ||
e166644c RD |
2828 | #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1)) |
2829 | static PyObject *_wrap_wxHtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2830 | PyObject * _resultobj; |
9c00cfa3 | 2831 | wxHtmlLinkInfo * _result; |
e166644c RD |
2832 | wxHtmlCell * _arg0; |
2833 | int _arg1 = (int ) 0; | |
2834 | int _arg2 = (int ) 0; | |
325274bb | 2835 | PyObject * _argo0 = 0; |
e166644c | 2836 | char *_kwnames[] = { "self","x","y", NULL }; |
9c00cfa3 | 2837 | char _ptemp[128]; |
325274bb RD |
2838 | |
2839 | self = self; | |
e166644c | 2840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxHtmlCell_GetLink",_kwnames,&_argo0,&_arg1,&_arg2)) |
325274bb RD |
2841 | return NULL; |
2842 | if (_argo0) { | |
2843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p."); | |
325274bb RD |
2846 | return NULL; |
2847 | } | |
2848 | } | |
2849 | { | |
474c48f9 | 2850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2851 | _result = (wxHtmlLinkInfo *)wxHtmlCell_GetLink(_arg0,_arg1,_arg2); |
325274bb | 2852 | |
474c48f9 RD |
2853 | wxPyEndAllowThreads(__tstate); |
2854 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
2855 | } if (_result) { |
2856 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlLinkInfo_p"); | |
2857 | _resultobj = Py_BuildValue("s",_ptemp); | |
2858 | } else { | |
2859 | Py_INCREF(Py_None); | |
2860 | _resultobj = Py_None; | |
2861 | } | |
325274bb RD |
2862 | return _resultobj; |
2863 | } | |
2864 | ||
e166644c RD |
2865 | #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext()) |
2866 | static PyObject *_wrap_wxHtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2867 | PyObject * _resultobj; |
e166644c RD |
2868 | wxHtmlCell * _result; |
2869 | wxHtmlCell * _arg0; | |
325274bb | 2870 | PyObject * _argo0 = 0; |
e166644c RD |
2871 | char *_kwnames[] = { "self", NULL }; |
2872 | char _ptemp[128]; | |
325274bb RD |
2873 | |
2874 | self = self; | |
e166644c | 2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetNext",_kwnames,&_argo0)) |
325274bb RD |
2876 | return NULL; |
2877 | if (_argo0) { | |
2878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c RD |
2879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
2880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p."); | |
325274bb RD |
2881 | return NULL; |
2882 | } | |
2883 | } | |
2884 | { | |
474c48f9 | 2885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2886 | _result = (wxHtmlCell *)wxHtmlCell_GetNext(_arg0); |
325274bb | 2887 | |
474c48f9 RD |
2888 | wxPyEndAllowThreads(__tstate); |
2889 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
2890 | } if (_result) { |
2891 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
2892 | _resultobj = Py_BuildValue("s",_ptemp); | |
2893 | } else { | |
2894 | Py_INCREF(Py_None); | |
2895 | _resultobj = Py_None; | |
2896 | } | |
325274bb RD |
2897 | return _resultobj; |
2898 | } | |
2899 | ||
9c00cfa3 RD |
2900 | #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent()) |
2901 | static PyObject *_wrap_wxHtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2902 | PyObject * _resultobj; |
9c00cfa3 | 2903 | wxHtmlContainerCell * _result; |
e166644c | 2904 | wxHtmlCell * _arg0; |
325274bb | 2905 | PyObject * _argo0 = 0; |
9c00cfa3 RD |
2906 | char *_kwnames[] = { "self", NULL }; |
2907 | char _ptemp[128]; | |
325274bb RD |
2908 | |
2909 | self = self; | |
9c00cfa3 | 2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetParent",_kwnames,&_argo0)) |
325274bb RD |
2911 | return NULL; |
2912 | if (_argo0) { | |
2913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
e166644c | 2914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { |
9c00cfa3 | 2915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p."); |
325274bb RD |
2916 | return NULL; |
2917 | } | |
2918 | } | |
2919 | { | |
474c48f9 | 2920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2921 | _result = (wxHtmlContainerCell *)wxHtmlCell_GetParent(_arg0); |
325274bb | 2922 | |
474c48f9 RD |
2923 | wxPyEndAllowThreads(__tstate); |
2924 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
2925 | } if (_result) { |
2926 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
2927 | _resultobj = Py_BuildValue("s",_ptemp); | |
2928 | } else { | |
2929 | Py_INCREF(Py_None); | |
2930 | _resultobj = Py_None; | |
2931 | } | |
e166644c RD |
2932 | return _resultobj; |
2933 | } | |
2934 | ||
2935 | #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0)) | |
2936 | static PyObject *_wrap_wxHtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2937 | PyObject * _resultobj; | |
2938 | wxHtmlCell * _arg0; | |
9c00cfa3 | 2939 | wxHtmlLinkInfo * _arg1; |
e166644c | 2940 | PyObject * _argo0 = 0; |
9c00cfa3 | 2941 | PyObject * _argo1 = 0; |
e166644c RD |
2942 | char *_kwnames[] = { "self","link", NULL }; |
2943 | ||
2944 | self = self; | |
9c00cfa3 | 2945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetLink",_kwnames,&_argo0,&_argo1)) |
e166644c RD |
2946 | return NULL; |
2947 | if (_argo0) { | |
2948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p."); | |
2951 | return NULL; | |
2952 | } | |
2953 | } | |
9c00cfa3 | 2954 | if (_argo1) { |
b67a9327 | 2955 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) { |
9c00cfa3 | 2956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p."); |
e166644c | 2957 | return NULL; |
9c00cfa3 | 2958 | } |
e166644c | 2959 | } |
e166644c | 2960 | { |
474c48f9 | 2961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2962 | wxHtmlCell_SetLink(_arg0,*_arg1); |
e166644c | 2963 | |
474c48f9 RD |
2964 | wxPyEndAllowThreads(__tstate); |
2965 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
2966 | } Py_INCREF(Py_None); |
2967 | _resultobj = Py_None; | |
e166644c RD |
2968 | return _resultobj; |
2969 | } | |
2970 | ||
2971 | #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0)) | |
2972 | static PyObject *_wrap_wxHtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2973 | PyObject * _resultobj; | |
2974 | wxHtmlCell * _arg0; | |
2975 | wxHtmlCell * _arg1; | |
2976 | PyObject * _argo0 = 0; | |
2977 | PyObject * _argo1 = 0; | |
2978 | char *_kwnames[] = { "self","cell", NULL }; | |
2979 | ||
2980 | self = self; | |
2981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetNext",_kwnames,&_argo0,&_argo1)) | |
2982 | return NULL; | |
2983 | if (_argo0) { | |
2984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
2986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p."); | |
2987 | return NULL; | |
2988 | } | |
2989 | } | |
2990 | if (_argo1) { | |
2991 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2992 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
2993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p."); | |
2994 | return NULL; | |
2995 | } | |
2996 | } | |
2997 | { | |
474c48f9 | 2998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2999 | wxHtmlCell_SetNext(_arg0,_arg1); |
e166644c | 3000 | |
474c48f9 RD |
3001 | wxPyEndAllowThreads(__tstate); |
3002 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3003 | } Py_INCREF(Py_None); |
3004 | _resultobj = Py_None; | |
3005 | return _resultobj; | |
3006 | } | |
3007 | ||
9c00cfa3 RD |
3008 | #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0)) |
3009 | static PyObject *_wrap_wxHtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3010 | PyObject * _resultobj; | |
3011 | wxHtmlCell * _arg0; | |
3012 | wxHtmlContainerCell * _arg1; | |
3013 | PyObject * _argo0 = 0; | |
3014 | PyObject * _argo1 = 0; | |
3015 | char *_kwnames[] = { "self","p", NULL }; | |
3016 | ||
3017 | self = self; | |
3018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetParent",_kwnames,&_argo0,&_argo1)) | |
3019 | return NULL; | |
3020 | if (_argo0) { | |
3021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p."); | |
3024 | return NULL; | |
3025 | } | |
3026 | } | |
3027 | if (_argo1) { | |
3028 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3029 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) { | |
3030 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p."); | |
3031 | return NULL; | |
3032 | } | |
3033 | } | |
3034 | { | |
474c48f9 | 3035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3036 | wxHtmlCell_SetParent(_arg0,_arg1); |
9c00cfa3 | 3037 | |
474c48f9 RD |
3038 | wxPyEndAllowThreads(__tstate); |
3039 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
3040 | } Py_INCREF(Py_None); |
3041 | _resultobj = Py_None; | |
3042 | return _resultobj; | |
3043 | } | |
3044 | ||
3045 | #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1)) | |
3046 | static PyObject *_wrap_wxHtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3047 | PyObject * _resultobj; | |
3048 | wxHtmlCell * _arg0; | |
3049 | int _arg1; | |
3050 | int _arg2; | |
3051 | PyObject * _argo0 = 0; | |
3052 | char *_kwnames[] = { "self","x","y", NULL }; | |
3053 | ||
3054 | self = self; | |
3055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlCell_SetPos",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3056 | return NULL; | |
3057 | if (_argo0) { | |
3058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p."); | |
3061 | return NULL; | |
3062 | } | |
3063 | } | |
3064 | { | |
474c48f9 | 3065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3066 | wxHtmlCell_SetPos(_arg0,_arg1,_arg2); |
9c00cfa3 | 3067 | |
474c48f9 RD |
3068 | wxPyEndAllowThreads(__tstate); |
3069 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
3070 | } Py_INCREF(Py_None); |
3071 | _resultobj = Py_None; | |
3072 | return _resultobj; | |
3073 | } | |
3074 | ||
e166644c RD |
3075 | #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0)) |
3076 | static PyObject *_wrap_wxHtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3077 | PyObject * _resultobj; | |
3078 | wxHtmlCell * _arg0; | |
3079 | int _arg1; | |
3080 | PyObject * _argo0 = 0; | |
3081 | char *_kwnames[] = { "self","w", NULL }; | |
3082 | ||
3083 | self = self; | |
3084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_Layout",_kwnames,&_argo0,&_arg1)) | |
3085 | return NULL; | |
3086 | if (_argo0) { | |
3087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p."); | |
3090 | return NULL; | |
3091 | } | |
3092 | } | |
3093 | { | |
474c48f9 | 3094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3095 | wxHtmlCell_Layout(_arg0,_arg1); |
e166644c | 3096 | |
474c48f9 RD |
3097 | wxPyEndAllowThreads(__tstate); |
3098 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3099 | } Py_INCREF(Py_None); |
3100 | _resultobj = Py_None; | |
3101 | return _resultobj; | |
3102 | } | |
3103 | ||
3104 | #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3105 | static PyObject *_wrap_wxHtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3106 | PyObject * _resultobj; | |
3107 | wxHtmlCell * _arg0; | |
3108 | wxDC * _arg1; | |
3109 | int _arg2; | |
3110 | int _arg3; | |
3111 | int _arg4; | |
3112 | int _arg5; | |
3113 | PyObject * _argo0 = 0; | |
3114 | PyObject * _argo1 = 0; | |
3115 | char *_kwnames[] = { "self","dc","x","y","view_y1","view_y2", NULL }; | |
3116 | ||
3117 | self = self; | |
3118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii:wxHtmlCell_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3119 | return NULL; | |
3120 | if (_argo0) { | |
3121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p."); | |
3124 | return NULL; | |
3125 | } | |
3126 | } | |
3127 | if (_argo1) { | |
b67a9327 | 3128 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
e166644c RD |
3129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p."); |
3130 | return NULL; | |
3131 | } | |
3132 | } | |
3133 | { | |
474c48f9 | 3134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3135 | wxHtmlCell_Draw(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e166644c | 3136 | |
474c48f9 RD |
3137 | wxPyEndAllowThreads(__tstate); |
3138 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3139 | } Py_INCREF(Py_None); |
3140 | _resultobj = Py_None; | |
3141 | return _resultobj; | |
3142 | } | |
3143 | ||
3144 | #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2)) | |
3145 | static PyObject *_wrap_wxHtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3146 | PyObject * _resultobj; | |
3147 | wxHtmlCell * _arg0; | |
3148 | wxDC * _arg1; | |
3149 | int _arg2; | |
3150 | int _arg3; | |
3151 | PyObject * _argo0 = 0; | |
3152 | PyObject * _argo1 = 0; | |
3153 | char *_kwnames[] = { "self","dc","x","y", NULL }; | |
3154 | ||
3155 | self = self; | |
3156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlCell_DrawInvisible",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
3157 | return NULL; | |
3158 | if (_argo0) { | |
3159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p."); | |
3162 | return NULL; | |
3163 | } | |
3164 | } | |
3165 | if (_argo1) { | |
b67a9327 | 3166 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
e166644c RD |
3167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p."); |
3168 | return NULL; | |
3169 | } | |
3170 | } | |
3171 | { | |
474c48f9 | 3172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3173 | wxHtmlCell_DrawInvisible(_arg0,*_arg1,_arg2,_arg3); |
e166644c | 3174 | |
474c48f9 RD |
3175 | wxPyEndAllowThreads(__tstate); |
3176 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3177 | } Py_INCREF(Py_None); |
3178 | _resultobj = Py_None; | |
3179 | return _resultobj; | |
3180 | } | |
3181 | ||
3182 | #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1)) | |
3183 | static PyObject *_wrap_wxHtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3184 | PyObject * _resultobj; | |
3185 | wxHtmlCell * _result; | |
3186 | wxHtmlCell * _arg0; | |
3187 | int _arg1; | |
3188 | void * _arg2; | |
3189 | PyObject * _argo0 = 0; | |
3190 | PyObject * _argo2 = 0; | |
3191 | char *_kwnames[] = { "self","condition","param", NULL }; | |
3192 | char _ptemp[128]; | |
3193 | ||
3194 | self = self; | |
3195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHtmlCell_Find",_kwnames,&_argo0,&_arg1,&_argo2)) | |
3196 | return NULL; | |
3197 | if (_argo0) { | |
3198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p."); | |
3201 | return NULL; | |
3202 | } | |
3203 | } | |
3204 | if (_argo2) { | |
3205 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3206 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
3207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p."); | |
3208 | return NULL; | |
3209 | } | |
3210 | } | |
3211 | { | |
474c48f9 | 3212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3213 | _result = (wxHtmlCell *)wxHtmlCell_Find(_arg0,_arg1,_arg2); |
e166644c | 3214 | |
474c48f9 RD |
3215 | wxPyEndAllowThreads(__tstate); |
3216 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3217 | } if (_result) { |
3218 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
3219 | _resultobj = Py_BuildValue("s",_ptemp); | |
3220 | } else { | |
3221 | Py_INCREF(Py_None); | |
3222 | _resultobj = Py_None; | |
3223 | } | |
3224 | return _resultobj; | |
3225 | } | |
3226 | ||
dc2f8a65 RD |
3227 | #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0)) |
3228 | static PyObject *_wrap_wxHtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3229 | PyObject * _resultobj; | |
3230 | bool _result; | |
3231 | wxHtmlCell * _arg0; | |
3232 | int * _arg1; | |
3233 | PyObject * _argo0 = 0; | |
1fded56b RD |
3234 | int temp; |
3235 | PyObject * _obj1 = 0; | |
3236 | char *_kwnames[] = { "self","INOUT", NULL }; | |
dc2f8a65 RD |
3237 | |
3238 | self = self; | |
1fded56b | 3239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_AdjustPagebreak",_kwnames,&_argo0,&_obj1)) |
dc2f8a65 RD |
3240 | return NULL; |
3241 | if (_argo0) { | |
3242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p."); | |
3245 | return NULL; | |
3246 | } | |
3247 | } | |
1fded56b RD |
3248 | { |
3249 | temp = (int) PyInt_AsLong(_obj1); | |
3250 | _arg1 = &temp; | |
3251 | } | |
dc2f8a65 | 3252 | { |
474c48f9 | 3253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3254 | _result = (bool )wxHtmlCell_AdjustPagebreak(_arg0,_arg1); |
dc2f8a65 | 3255 | |
474c48f9 RD |
3256 | wxPyEndAllowThreads(__tstate); |
3257 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 | 3258 | } _resultobj = Py_BuildValue("i",_result); |
1fded56b RD |
3259 | { |
3260 | PyObject *o; | |
3261 | o = PyInt_FromLong((long) (*_arg1)); | |
3262 | _resultobj = t_output_helper(_resultobj, o); | |
3263 | } | |
dc2f8a65 RD |
3264 | return _resultobj; |
3265 | } | |
3266 | ||
3267 | #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0)) | |
3268 | static PyObject *_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3269 | PyObject * _resultobj; | |
3270 | wxHtmlCell * _arg0; | |
3271 | bool _arg1; | |
3272 | PyObject * _argo0 = 0; | |
3273 | int tempbool1; | |
3274 | char *_kwnames[] = { "self","can", NULL }; | |
3275 | ||
3276 | self = self; | |
3277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames,&_argo0,&tempbool1)) | |
3278 | return NULL; | |
3279 | if (_argo0) { | |
3280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p."); | |
3283 | return NULL; | |
3284 | } | |
3285 | } | |
3286 | _arg1 = (bool ) tempbool1; | |
3287 | { | |
474c48f9 | 3288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3289 | wxHtmlCell_SetCanLiveOnPagebreak(_arg0,_arg1); |
dc2f8a65 | 3290 | |
474c48f9 RD |
3291 | wxPyEndAllowThreads(__tstate); |
3292 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
3293 | } Py_INCREF(Py_None); |
3294 | _resultobj = Py_None; | |
3295 | return _resultobj; | |
3296 | } | |
3297 | ||
9df61a29 RD |
3298 | static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr) { |
3299 | wxHtmlWordCell *src; | |
3300 | wxHtmlCell *dest; | |
3301 | src = (wxHtmlWordCell *) ptr; | |
3302 | dest = (wxHtmlCell *) src; | |
3303 | return (void *) dest; | |
3304 | } | |
3305 | ||
3306 | static void *SwigwxHtmlWordCellTowxObject(void *ptr) { | |
3307 | wxHtmlWordCell *src; | |
3308 | wxObject *dest; | |
3309 | src = (wxHtmlWordCell *) ptr; | |
3310 | dest = (wxObject *) src; | |
3311 | return (void *) dest; | |
3312 | } | |
3313 | ||
3314 | #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1)) | |
3315 | static PyObject *_wrap_new_wxHtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3316 | PyObject * _resultobj; | |
3317 | wxHtmlWordCell * _result; | |
3318 | wxString * _arg0; | |
3319 | wxDC * _arg1; | |
3320 | PyObject * _obj0 = 0; | |
3321 | PyObject * _argo1 = 0; | |
3322 | char *_kwnames[] = { "word","dc", NULL }; | |
3323 | char _ptemp[128]; | |
3324 | ||
3325 | self = self; | |
3326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxHtmlWordCell",_kwnames,&_obj0,&_argo1)) | |
3327 | return NULL; | |
3328 | { | |
c8bc7bb8 RD |
3329 | _arg0 = wxString_in_helper(_obj0); |
3330 | if (_arg0 == NULL) | |
9df61a29 | 3331 | return NULL; |
9df61a29 RD |
3332 | } |
3333 | if (_argo1) { | |
b67a9327 | 3334 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
9df61a29 RD |
3335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p."); |
3336 | return NULL; | |
3337 | } | |
3338 | } | |
3339 | { | |
474c48f9 | 3340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3341 | _result = (wxHtmlWordCell *)new_wxHtmlWordCell(*_arg0,*_arg1); |
9df61a29 | 3342 | |
474c48f9 RD |
3343 | wxPyEndAllowThreads(__tstate); |
3344 | if (PyErr_Occurred()) return NULL; | |
9df61a29 RD |
3345 | } if (_result) { |
3346 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWordCell_p"); | |
3347 | _resultobj = Py_BuildValue("s",_ptemp); | |
3348 | } else { | |
3349 | Py_INCREF(Py_None); | |
3350 | _resultobj = Py_None; | |
3351 | } | |
3352 | { | |
3353 | if (_obj0) | |
3354 | delete _arg0; | |
3355 | } | |
3356 | return _resultobj; | |
3357 | } | |
3358 | ||
e166644c RD |
3359 | static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr) { |
3360 | wxHtmlContainerCell *src; | |
3361 | wxHtmlCell *dest; | |
3362 | src = (wxHtmlContainerCell *) ptr; | |
3363 | dest = (wxHtmlCell *) src; | |
3364 | return (void *) dest; | |
3365 | } | |
3366 | ||
9df61a29 RD |
3367 | static void *SwigwxHtmlContainerCellTowxObject(void *ptr) { |
3368 | wxHtmlContainerCell *src; | |
3369 | wxObject *dest; | |
3370 | src = (wxHtmlContainerCell *) ptr; | |
3371 | dest = (wxObject *) src; | |
3372 | return (void *) dest; | |
3373 | } | |
3374 | ||
e166644c RD |
3375 | #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0)) |
3376 | static PyObject *_wrap_new_wxHtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3377 | PyObject * _resultobj; | |
3378 | wxHtmlContainerCell * _result; | |
3379 | wxHtmlContainerCell * _arg0; | |
3380 | PyObject * _argo0 = 0; | |
3381 | char *_kwnames[] = { "parent", NULL }; | |
3382 | char _ptemp[128]; | |
3383 | ||
3384 | self = self; | |
3385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlContainerCell",_kwnames,&_argo0)) | |
3386 | return NULL; | |
3387 | if (_argo0) { | |
3388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p."); | |
3391 | return NULL; | |
3392 | } | |
3393 | } | |
3394 | { | |
474c48f9 | 3395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3396 | _result = (wxHtmlContainerCell *)new_wxHtmlContainerCell(_arg0); |
e166644c | 3397 | |
474c48f9 RD |
3398 | wxPyEndAllowThreads(__tstate); |
3399 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3400 | } if (_result) { |
3401 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
3402 | _resultobj = Py_BuildValue("s",_ptemp); | |
3403 | } else { | |
3404 | Py_INCREF(Py_None); | |
3405 | _resultobj = Py_None; | |
3406 | } | |
3407 | return _resultobj; | |
3408 | } | |
3409 | ||
3410 | #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0)) | |
3411 | static PyObject *_wrap_wxHtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3412 | PyObject * _resultobj; | |
3413 | wxHtmlContainerCell * _arg0; | |
3414 | wxHtmlCell * _arg1; | |
3415 | PyObject * _argo0 = 0; | |
3416 | PyObject * _argo1 = 0; | |
3417 | char *_kwnames[] = { "self","cell", NULL }; | |
3418 | ||
3419 | self = self; | |
3420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_InsertCell",_kwnames,&_argo0,&_argo1)) | |
3421 | return NULL; | |
3422 | if (_argo0) { | |
3423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p."); | |
3426 | return NULL; | |
3427 | } | |
3428 | } | |
3429 | if (_argo1) { | |
3430 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3431 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
3432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p."); | |
3433 | return NULL; | |
3434 | } | |
3435 | } | |
3436 | { | |
474c48f9 | 3437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3438 | wxHtmlContainerCell_InsertCell(_arg0,_arg1); |
e166644c | 3439 | |
474c48f9 RD |
3440 | wxPyEndAllowThreads(__tstate); |
3441 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3442 | } Py_INCREF(Py_None); |
3443 | _resultobj = Py_None; | |
3444 | return _resultobj; | |
3445 | } | |
3446 | ||
3447 | #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0)) | |
3448 | static PyObject *_wrap_wxHtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3449 | PyObject * _resultobj; | |
3450 | wxHtmlContainerCell * _arg0; | |
3451 | int _arg1; | |
3452 | PyObject * _argo0 = 0; | |
3453 | char *_kwnames[] = { "self","al", NULL }; | |
3454 | ||
3455 | self = self; | |
3456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames,&_argo0,&_arg1)) | |
3457 | return NULL; | |
3458 | if (_argo0) { | |
3459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p."); | |
3462 | return NULL; | |
3463 | } | |
3464 | } | |
3465 | { | |
474c48f9 | 3466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3467 | wxHtmlContainerCell_SetAlignHor(_arg0,_arg1); |
e166644c | 3468 | |
474c48f9 RD |
3469 | wxPyEndAllowThreads(__tstate); |
3470 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3471 | } Py_INCREF(Py_None); |
3472 | _resultobj = Py_None; | |
3473 | return _resultobj; | |
3474 | } | |
3475 | ||
3476 | #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor()) | |
3477 | static PyObject *_wrap_wxHtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3478 | PyObject * _resultobj; | |
3479 | int _result; | |
3480 | wxHtmlContainerCell * _arg0; | |
3481 | PyObject * _argo0 = 0; | |
3482 | char *_kwnames[] = { "self", NULL }; | |
3483 | ||
3484 | self = self; | |
3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignHor",_kwnames,&_argo0)) | |
3486 | return NULL; | |
3487 | if (_argo0) { | |
3488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p."); | |
3491 | return NULL; | |
3492 | } | |
3493 | } | |
3494 | { | |
474c48f9 | 3495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3496 | _result = (int )wxHtmlContainerCell_GetAlignHor(_arg0); |
e166644c | 3497 | |
474c48f9 RD |
3498 | wxPyEndAllowThreads(__tstate); |
3499 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3500 | } _resultobj = Py_BuildValue("i",_result); |
3501 | return _resultobj; | |
3502 | } | |
3503 | ||
3504 | #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0)) | |
3505 | static PyObject *_wrap_wxHtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3506 | PyObject * _resultobj; | |
3507 | wxHtmlContainerCell * _arg0; | |
3508 | int _arg1; | |
3509 | PyObject * _argo0 = 0; | |
3510 | char *_kwnames[] = { "self","al", NULL }; | |
3511 | ||
3512 | self = self; | |
3513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames,&_argo0,&_arg1)) | |
3514 | return NULL; | |
3515 | if (_argo0) { | |
3516 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3517 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p."); | |
3519 | return NULL; | |
3520 | } | |
3521 | } | |
3522 | { | |
474c48f9 | 3523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3524 | wxHtmlContainerCell_SetAlignVer(_arg0,_arg1); |
e166644c | 3525 | |
474c48f9 RD |
3526 | wxPyEndAllowThreads(__tstate); |
3527 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3528 | } Py_INCREF(Py_None); |
3529 | _resultobj = Py_None; | |
3530 | return _resultobj; | |
3531 | } | |
3532 | ||
3533 | #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer()) | |
3534 | static PyObject *_wrap_wxHtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3535 | PyObject * _resultobj; | |
3536 | int _result; | |
3537 | wxHtmlContainerCell * _arg0; | |
3538 | PyObject * _argo0 = 0; | |
3539 | char *_kwnames[] = { "self", NULL }; | |
3540 | ||
3541 | self = self; | |
3542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignVer",_kwnames,&_argo0)) | |
3543 | return NULL; | |
3544 | if (_argo0) { | |
3545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p."); | |
3548 | return NULL; | |
3549 | } | |
3550 | } | |
3551 | { | |
474c48f9 | 3552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3553 | _result = (int )wxHtmlContainerCell_GetAlignVer(_arg0); |
e166644c | 3554 | |
474c48f9 RD |
3555 | wxPyEndAllowThreads(__tstate); |
3556 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3557 | } _resultobj = Py_BuildValue("i",_result); |
3558 | return _resultobj; | |
3559 | } | |
3560 | ||
3561 | #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2)) | |
3562 | static PyObject *_wrap_wxHtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3563 | PyObject * _resultobj; | |
3564 | wxHtmlContainerCell * _arg0; | |
3565 | int _arg1; | |
3566 | int _arg2; | |
9d8bd15f | 3567 | int _arg3 = (int ) (wxHTML_UNITS_PIXELS); |
e166644c RD |
3568 | PyObject * _argo0 = 0; |
3569 | char *_kwnames[] = { "self","i","what","units", NULL }; | |
3570 | ||
3571 | self = self; | |
3572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
3573 | return NULL; | |
3574 | if (_argo0) { | |
3575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p."); | |
3578 | return NULL; | |
3579 | } | |
3580 | } | |
3581 | { | |
474c48f9 | 3582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3583 | wxHtmlContainerCell_SetIndent(_arg0,_arg1,_arg2,_arg3); |
e166644c | 3584 | |
474c48f9 RD |
3585 | wxPyEndAllowThreads(__tstate); |
3586 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3587 | } Py_INCREF(Py_None); |
3588 | _resultobj = Py_None; | |
3589 | return _resultobj; | |
3590 | } | |
3591 | ||
3592 | #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0)) | |
3593 | static PyObject *_wrap_wxHtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3594 | PyObject * _resultobj; | |
3595 | int _result; | |
3596 | wxHtmlContainerCell * _arg0; | |
3597 | int _arg1; | |
3598 | PyObject * _argo0 = 0; | |
3599 | char *_kwnames[] = { "self","ind", NULL }; | |
3600 | ||
3601 | self = self; | |
3602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndent",_kwnames,&_argo0,&_arg1)) | |
3603 | return NULL; | |
3604 | if (_argo0) { | |
3605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p."); | |
3608 | return NULL; | |
3609 | } | |
3610 | } | |
3611 | { | |
474c48f9 | 3612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3613 | _result = (int )wxHtmlContainerCell_GetIndent(_arg0,_arg1); |
e166644c | 3614 | |
474c48f9 RD |
3615 | wxPyEndAllowThreads(__tstate); |
3616 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3617 | } _resultobj = Py_BuildValue("i",_result); |
3618 | return _resultobj; | |
3619 | } | |
3620 | ||
3621 | #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0)) | |
3622 | static PyObject *_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3623 | PyObject * _resultobj; | |
3624 | int _result; | |
3625 | wxHtmlContainerCell * _arg0; | |
3626 | int _arg1; | |
3627 | PyObject * _argo0 = 0; | |
3628 | char *_kwnames[] = { "self","ind", NULL }; | |
3629 | ||
3630 | self = self; | |
3631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames,&_argo0,&_arg1)) | |
3632 | return NULL; | |
3633 | if (_argo0) { | |
3634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p."); | |
3637 | return NULL; | |
3638 | } | |
3639 | } | |
3640 | { | |
474c48f9 | 3641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3642 | _result = (int )wxHtmlContainerCell_GetIndentUnits(_arg0,_arg1); |
e166644c | 3643 | |
474c48f9 RD |
3644 | wxPyEndAllowThreads(__tstate); |
3645 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3646 | } _resultobj = Py_BuildValue("i",_result); |
3647 | return _resultobj; | |
3648 | } | |
3649 | ||
3650 | #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
3651 | static PyObject *_wrap_wxHtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3652 | PyObject * _resultobj; | |
3653 | wxHtmlContainerCell * _arg0; | |
3654 | wxHtmlTag * _arg1; | |
3655 | PyObject * _argo0 = 0; | |
3656 | PyObject * _argo1 = 0; | |
3657 | char *_kwnames[] = { "self","tag", NULL }; | |
3658 | ||
3659 | self = self; | |
3660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetAlign",_kwnames,&_argo0,&_argo1)) | |
3661 | return NULL; | |
3662 | if (_argo0) { | |
3663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p."); | |
3666 | return NULL; | |
3667 | } | |
3668 | } | |
3669 | if (_argo1) { | |
b67a9327 | 3670 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { |
e166644c RD |
3671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p."); |
3672 | return NULL; | |
3673 | } | |
3674 | } | |
3675 | { | |
474c48f9 | 3676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3677 | wxHtmlContainerCell_SetAlign(_arg0,*_arg1); |
e166644c | 3678 | |
474c48f9 RD |
3679 | wxPyEndAllowThreads(__tstate); |
3680 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3681 | } Py_INCREF(Py_None); |
3682 | _resultobj = Py_None; | |
3683 | return _resultobj; | |
3684 | } | |
3685 | ||
3686 | #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1)) | |
3687 | static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3688 | PyObject * _resultobj; | |
3689 | wxHtmlContainerCell * _arg0; | |
3690 | int _arg1; | |
3691 | int _arg2; | |
3692 | PyObject * _argo0 = 0; | |
3693 | char *_kwnames[] = { "self","w","units", NULL }; | |
3694 | ||
3695 | self = self; | |
3696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3697 | return NULL; | |
3698 | if (_argo0) { | |
3699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p."); | |
3702 | return NULL; | |
3703 | } | |
3704 | } | |
3705 | { | |
474c48f9 | 3706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3707 | wxHtmlContainerCell_SetWidthFloat(_arg0,_arg1,_arg2); |
e166644c | 3708 | |
474c48f9 RD |
3709 | wxPyEndAllowThreads(__tstate); |
3710 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3711 | } Py_INCREF(Py_None); |
3712 | _resultobj = Py_None; | |
3713 | return _resultobj; | |
3714 | } | |
3715 | ||
3716 | #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0)) | |
3717 | static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3718 | PyObject * _resultobj; | |
3719 | wxHtmlContainerCell * _arg0; | |
3720 | wxHtmlTag * _arg1; | |
3721 | PyObject * _argo0 = 0; | |
3722 | PyObject * _argo1 = 0; | |
3723 | char *_kwnames[] = { "self","tag", NULL }; | |
3724 | ||
3725 | self = self; | |
3726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames,&_argo0,&_argo1)) | |
3727 | return NULL; | |
3728 | if (_argo0) { | |
3729 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3730 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3731 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p."); | |
3732 | return NULL; | |
3733 | } | |
3734 | } | |
3735 | if (_argo1) { | |
b67a9327 | 3736 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { |
e166644c RD |
3737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p."); |
3738 | return NULL; | |
3739 | } | |
3740 | } | |
3741 | { | |
474c48f9 | 3742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3743 | wxHtmlContainerCell_SetWidthFloatFromTag(_arg0,*_arg1); |
e166644c | 3744 | |
474c48f9 RD |
3745 | wxPyEndAllowThreads(__tstate); |
3746 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3747 | } Py_INCREF(Py_None); |
3748 | _resultobj = Py_None; | |
3749 | return _resultobj; | |
3750 | } | |
3751 | ||
3752 | #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1)) | |
3753 | static PyObject *_wrap_wxHtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3754 | PyObject * _resultobj; | |
3755 | wxHtmlContainerCell * _arg0; | |
3756 | int _arg1; | |
9d8bd15f | 3757 | int _arg2 = (int ) (wxHTML_ALIGN_TOP); |
e166644c RD |
3758 | PyObject * _argo0 = 0; |
3759 | char *_kwnames[] = { "self","h","align", NULL }; | |
3760 | ||
3761 | self = self; | |
3762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3763 | return NULL; | |
3764 | if (_argo0) { | |
3765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p."); | |
3768 | return NULL; | |
3769 | } | |
3770 | } | |
3771 | { | |
474c48f9 | 3772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3773 | wxHtmlContainerCell_SetMinHeight(_arg0,_arg1,_arg2); |
e166644c | 3774 | |
474c48f9 RD |
3775 | wxPyEndAllowThreads(__tstate); |
3776 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3777 | } Py_INCREF(Py_None); |
3778 | _resultobj = Py_None; | |
3779 | return _resultobj; | |
3780 | } | |
3781 | ||
e166644c RD |
3782 | #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) |
3783 | static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3784 | PyObject * _resultobj; | |
3785 | wxHtmlContainerCell * _arg0; | |
3786 | wxColour * _arg1; | |
3787 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
3788 | wxColour temp; |
3789 | PyObject * _obj1 = 0; | |
e166644c RD |
3790 | char *_kwnames[] = { "self","clr", NULL }; |
3791 | ||
3792 | self = self; | |
f6bcfd97 | 3793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
3794 | return NULL; |
3795 | if (_argo0) { | |
3796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p."); | |
3799 | return NULL; | |
3800 | } | |
3801 | } | |
f6bcfd97 BP |
3802 | { |
3803 | _arg1 = &temp; | |
3804 | if (! wxColour_helper(_obj1, &_arg1)) | |
e166644c | 3805 | return NULL; |
f6bcfd97 | 3806 | } |
e166644c | 3807 | { |
474c48f9 | 3808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3809 | wxHtmlContainerCell_SetBackgroundColour(_arg0,*_arg1); |
e166644c | 3810 | |
474c48f9 RD |
3811 | wxPyEndAllowThreads(__tstate); |
3812 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3813 | } Py_INCREF(Py_None); |
3814 | _resultobj = Py_None; | |
3815 | return _resultobj; | |
3816 | } | |
3817 | ||
b67a9327 RD |
3818 | #define wxHtmlContainerCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) |
3819 | static PyObject *_wrap_wxHtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3820 | PyObject * _resultobj; | |
3821 | wxColour * _result; | |
3822 | wxHtmlContainerCell * _arg0; | |
3823 | PyObject * _argo0 = 0; | |
3824 | char *_kwnames[] = { "self", NULL }; | |
3825 | char _ptemp[128]; | |
3826 | ||
3827 | self = self; | |
3828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetBackgroundColour",_kwnames,&_argo0)) | |
3829 | return NULL; | |
3830 | if (_argo0) { | |
3831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetBackgroundColour. Expected _wxHtmlContainerCell_p."); | |
3834 | return NULL; | |
3835 | } | |
3836 | } | |
3837 | { | |
3838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3839 | _result = new wxColour (wxHtmlContainerCell_GetBackgroundColour(_arg0)); | |
3840 | ||
3841 | wxPyEndAllowThreads(__tstate); | |
3842 | if (PyErr_Occurred()) return NULL; | |
3843 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
3844 | _resultobj = Py_BuildValue("s",_ptemp); | |
3845 | return _resultobj; | |
3846 | } | |
3847 | ||
e166644c RD |
3848 | #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1)) |
3849 | static PyObject *_wrap_wxHtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3850 | PyObject * _resultobj; | |
3851 | wxHtmlContainerCell * _arg0; | |
3852 | wxColour * _arg1; | |
3853 | wxColour * _arg2; | |
3854 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
3855 | wxColour temp; |
3856 | PyObject * _obj1 = 0; | |
3857 | wxColour temp0; | |
3858 | PyObject * _obj2 = 0; | |
e166644c RD |
3859 | char *_kwnames[] = { "self","clr1","clr2", NULL }; |
3860 | ||
3861 | self = self; | |
f6bcfd97 | 3862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlContainerCell_SetBorder",_kwnames,&_argo0,&_obj1,&_obj2)) |
e166644c RD |
3863 | return NULL; |
3864 | if (_argo0) { | |
3865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p."); | |
3868 | return NULL; | |
3869 | } | |
3870 | } | |
f6bcfd97 BP |
3871 | { |
3872 | _arg1 = &temp; | |
3873 | if (! wxColour_helper(_obj1, &_arg1)) | |
e166644c | 3874 | return NULL; |
f6bcfd97 BP |
3875 | } |
3876 | { | |
3877 | _arg2 = &temp0; | |
3878 | if (! wxColour_helper(_obj2, &_arg2)) | |
e166644c | 3879 | return NULL; |
f6bcfd97 | 3880 | } |
e166644c | 3881 | { |
474c48f9 | 3882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3883 | wxHtmlContainerCell_SetBorder(_arg0,*_arg1,*_arg2); |
e166644c | 3884 | |
474c48f9 RD |
3885 | wxPyEndAllowThreads(__tstate); |
3886 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3887 | } Py_INCREF(Py_None); |
3888 | _resultobj = Py_None; | |
3889 | return _resultobj; | |
3890 | } | |
3891 | ||
3892 | #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell()) | |
3893 | static PyObject *_wrap_wxHtmlContainerCell_GetFirstCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3894 | PyObject * _resultobj; | |
3895 | wxHtmlCell * _result; | |
3896 | wxHtmlContainerCell * _arg0; | |
3897 | PyObject * _argo0 = 0; | |
3898 | char *_kwnames[] = { "self", NULL }; | |
3899 | char _ptemp[128]; | |
3900 | ||
3901 | self = self; | |
3902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetFirstCell",_kwnames,&_argo0)) | |
3903 | return NULL; | |
3904 | if (_argo0) { | |
3905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
3907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p."); | |
3908 | return NULL; | |
3909 | } | |
3910 | } | |
3911 | { | |
474c48f9 | 3912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3913 | _result = (wxHtmlCell *)wxHtmlContainerCell_GetFirstCell(_arg0); |
e166644c | 3914 | |
474c48f9 RD |
3915 | wxPyEndAllowThreads(__tstate); |
3916 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3917 | } if (_result) { |
3918 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
3919 | _resultobj = Py_BuildValue("s",_ptemp); | |
3920 | } else { | |
3921 | Py_INCREF(Py_None); | |
3922 | _resultobj = Py_None; | |
3923 | } | |
3924 | return _resultobj; | |
3925 | } | |
3926 | ||
9c00cfa3 RD |
3927 | static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr) { |
3928 | wxHtmlColourCell *src; | |
3929 | wxHtmlCell *dest; | |
3930 | src = (wxHtmlColourCell *) ptr; | |
3931 | dest = (wxHtmlCell *) src; | |
3932 | return (void *) dest; | |
3933 | } | |
3934 | ||
9df61a29 RD |
3935 | static void *SwigwxHtmlColourCellTowxObject(void *ptr) { |
3936 | wxHtmlColourCell *src; | |
3937 | wxObject *dest; | |
3938 | src = (wxHtmlColourCell *) ptr; | |
3939 | dest = (wxObject *) src; | |
3940 | return (void *) dest; | |
3941 | } | |
3942 | ||
9c00cfa3 RD |
3943 | #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1)) |
3944 | static PyObject *_wrap_new_wxHtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3945 | PyObject * _resultobj; | |
3946 | wxHtmlColourCell * _result; | |
3947 | wxColour * _arg0; | |
3948 | int _arg1 = (int ) (wxHTML_CLR_FOREGROUND); | |
f6bcfd97 BP |
3949 | wxColour temp; |
3950 | PyObject * _obj0 = 0; | |
9c00cfa3 RD |
3951 | char *_kwnames[] = { "clr","flags", NULL }; |
3952 | char _ptemp[128]; | |
3953 | ||
3954 | self = self; | |
f6bcfd97 | 3955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlColourCell",_kwnames,&_obj0,&_arg1)) |
9c00cfa3 | 3956 | return NULL; |
f6bcfd97 BP |
3957 | { |
3958 | _arg0 = &temp; | |
3959 | if (! wxColour_helper(_obj0, &_arg0)) | |
9c00cfa3 | 3960 | return NULL; |
f6bcfd97 | 3961 | } |
9c00cfa3 | 3962 | { |
474c48f9 | 3963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3964 | _result = (wxHtmlColourCell *)new_wxHtmlColourCell(*_arg0,_arg1); |
9c00cfa3 | 3965 | |
474c48f9 RD |
3966 | wxPyEndAllowThreads(__tstate); |
3967 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
3968 | } if (_result) { |
3969 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlColourCell_p"); | |
3970 | _resultobj = Py_BuildValue("s",_ptemp); | |
3971 | } else { | |
3972 | Py_INCREF(Py_None); | |
3973 | _resultobj = Py_None; | |
3974 | } | |
3975 | return _resultobj; | |
3976 | } | |
3977 | ||
9df61a29 RD |
3978 | static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr) { |
3979 | wxHtmlFontCell *src; | |
3980 | wxHtmlCell *dest; | |
3981 | src = (wxHtmlFontCell *) ptr; | |
3982 | dest = (wxHtmlCell *) src; | |
3983 | return (void *) dest; | |
3984 | } | |
3985 | ||
3986 | static void *SwigwxHtmlFontCellTowxObject(void *ptr) { | |
3987 | wxHtmlFontCell *src; | |
3988 | wxObject *dest; | |
3989 | src = (wxHtmlFontCell *) ptr; | |
3990 | dest = (wxObject *) src; | |
3991 | return (void *) dest; | |
3992 | } | |
3993 | ||
3994 | #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0)) | |
3995 | static PyObject *_wrap_new_wxHtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3996 | PyObject * _resultobj; | |
3997 | wxHtmlFontCell * _result; | |
3998 | wxFont * _arg0; | |
3999 | PyObject * _argo0 = 0; | |
4000 | char *_kwnames[] = { "font", NULL }; | |
4001 | char _ptemp[128]; | |
4002 | ||
4003 | self = self; | |
4004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlFontCell",_kwnames,&_argo0)) | |
4005 | return NULL; | |
4006 | if (_argo0) { | |
4007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) { | |
4009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p."); | |
4010 | return NULL; | |
4011 | } | |
4012 | } | |
4013 | { | |
474c48f9 | 4014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4015 | _result = (wxHtmlFontCell *)new_wxHtmlFontCell(_arg0); |
9df61a29 | 4016 | |
474c48f9 RD |
4017 | wxPyEndAllowThreads(__tstate); |
4018 | if (PyErr_Occurred()) return NULL; | |
9df61a29 RD |
4019 | } if (_result) { |
4020 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlFontCell_p"); | |
4021 | _resultobj = Py_BuildValue("s",_ptemp); | |
4022 | } else { | |
4023 | Py_INCREF(Py_None); | |
4024 | _resultobj = Py_None; | |
4025 | } | |
4026 | return _resultobj; | |
4027 | } | |
4028 | ||
e166644c RD |
4029 | static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr) { |
4030 | wxHtmlWidgetCell *src; | |
4031 | wxHtmlCell *dest; | |
4032 | src = (wxHtmlWidgetCell *) ptr; | |
4033 | dest = (wxHtmlCell *) src; | |
4034 | return (void *) dest; | |
4035 | } | |
4036 | ||
9df61a29 RD |
4037 | static void *SwigwxHtmlWidgetCellTowxObject(void *ptr) { |
4038 | wxHtmlWidgetCell *src; | |
4039 | wxObject *dest; | |
4040 | src = (wxHtmlWidgetCell *) ptr; | |
4041 | dest = (wxObject *) src; | |
4042 | return (void *) dest; | |
4043 | } | |
4044 | ||
e166644c RD |
4045 | #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1)) |
4046 | static PyObject *_wrap_new_wxHtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4047 | PyObject * _resultobj; | |
4048 | wxHtmlWidgetCell * _result; | |
4049 | wxWindow * _arg0; | |
4050 | int _arg1 = (int ) 0; | |
4051 | PyObject * _argo0 = 0; | |
4052 | char *_kwnames[] = { "wnd","w", NULL }; | |
4053 | char _ptemp[128]; | |
4054 | ||
4055 | self = self; | |
4056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlWidgetCell",_kwnames,&_argo0,&_arg1)) | |
4057 | return NULL; | |
4058 | if (_argo0) { | |
4059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
4061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p."); | |
4062 | return NULL; | |
4063 | } | |
4064 | } | |
4065 | { | |
474c48f9 | 4066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4067 | _result = (wxHtmlWidgetCell *)new_wxHtmlWidgetCell(_arg0,_arg1); |
e166644c | 4068 | |
474c48f9 RD |
4069 | wxPyEndAllowThreads(__tstate); |
4070 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4071 | } if (_result) { |
4072 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWidgetCell_p"); | |
4073 | _resultobj = Py_BuildValue("s",_ptemp); | |
4074 | } else { | |
4075 | Py_INCREF(Py_None); | |
4076 | _resultobj = Py_None; | |
4077 | } | |
4078 | return _resultobj; | |
4079 | } | |
4080 | ||
b67a9327 RD |
4081 | static void *SwigwxPyHtmlFilterTowxObject(void *ptr) { |
4082 | wxPyHtmlFilter *src; | |
4083 | wxObject *dest; | |
4084 | src = (wxPyHtmlFilter *) ptr; | |
4085 | dest = (wxObject *) src; | |
4086 | return (void *) dest; | |
4087 | } | |
4088 | ||
4089 | #define new_wxHtmlFilter() (new wxPyHtmlFilter()) | |
4090 | static PyObject *_wrap_new_wxHtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4091 | PyObject * _resultobj; | |
4092 | wxPyHtmlFilter * _result; | |
4093 | char *_kwnames[] = { NULL }; | |
4094 | char _ptemp[128]; | |
4095 | ||
4096 | self = self; | |
4097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlFilter",_kwnames)) | |
4098 | return NULL; | |
4099 | { | |
4100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4101 | _result = (wxPyHtmlFilter *)new_wxHtmlFilter(); | |
4102 | ||
4103 | wxPyEndAllowThreads(__tstate); | |
4104 | if (PyErr_Occurred()) return NULL; | |
4105 | } if (_result) { | |
4106 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlFilter_p"); | |
4107 | _resultobj = Py_BuildValue("s",_ptemp); | |
4108 | } else { | |
4109 | Py_INCREF(Py_None); | |
4110 | _resultobj = Py_None; | |
4111 | } | |
4112 | return _resultobj; | |
4113 | } | |
4114 | ||
4115 | #define wxHtmlFilter__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) | |
4116 | static PyObject *_wrap_wxHtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4117 | PyObject * _resultobj; | |
4118 | wxPyHtmlFilter * _arg0; | |
4119 | PyObject * _arg1; | |
4120 | PyObject * _arg2; | |
4121 | PyObject * _argo0 = 0; | |
4122 | PyObject * _obj1 = 0; | |
4123 | PyObject * _obj2 = 0; | |
4124 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4125 | ||
4126 | self = self; | |
4127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlFilter__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) | |
4128 | return NULL; | |
4129 | if (_argo0) { | |
4130 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4131 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlFilter_p")) { | |
4132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlFilter__setCallbackInfo. Expected _wxPyHtmlFilter_p."); | |
4133 | return NULL; | |
4134 | } | |
4135 | } | |
4136 | { | |
4137 | _arg1 = _obj1; | |
4138 | } | |
4139 | { | |
4140 | _arg2 = _obj2; | |
4141 | } | |
4142 | { | |
4143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4144 | wxHtmlFilter__setCallbackInfo(_arg0,_arg1,_arg2); | |
4145 | ||
4146 | wxPyEndAllowThreads(__tstate); | |
4147 | if (PyErr_Occurred()) return NULL; | |
4148 | } Py_INCREF(Py_None); | |
4149 | _resultobj = Py_None; | |
4150 | return _resultobj; | |
4151 | } | |
4152 | ||
e166644c RD |
4153 | static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) { |
4154 | wxPyHtmlWindow *src; | |
4155 | wxScrolledWindow *dest; | |
4156 | src = (wxPyHtmlWindow *) ptr; | |
4157 | dest = (wxScrolledWindow *) src; | |
4158 | return (void *) dest; | |
4159 | } | |
4160 | ||
4161 | static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) { | |
4162 | wxPyHtmlWindow *src; | |
4163 | wxPanel *dest; | |
4164 | src = (wxPyHtmlWindow *) ptr; | |
4165 | dest = (wxPanel *) src; | |
4166 | return (void *) dest; | |
4167 | } | |
4168 | ||
4169 | static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) { | |
4170 | wxPyHtmlWindow *src; | |
4171 | wxWindow *dest; | |
4172 | src = (wxPyHtmlWindow *) ptr; | |
4173 | dest = (wxWindow *) src; | |
4174 | return (void *) dest; | |
4175 | } | |
4176 | ||
4177 | static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) { | |
4178 | wxPyHtmlWindow *src; | |
4179 | wxEvtHandler *dest; | |
4180 | src = (wxPyHtmlWindow *) ptr; | |
4181 | dest = (wxEvtHandler *) src; | |
4182 | return (void *) dest; | |
4183 | } | |
4184 | ||
9df61a29 RD |
4185 | static void *SwigwxPyHtmlWindowTowxObject(void *ptr) { |
4186 | wxPyHtmlWindow *src; | |
4187 | wxObject *dest; | |
4188 | src = (wxPyHtmlWindow *) ptr; | |
4189 | dest = (wxObject *) src; | |
4190 | return (void *) dest; | |
4191 | } | |
4192 | ||
e166644c RD |
4193 | #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
4194 | static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4195 | PyObject * _resultobj; | |
4196 | wxPyHtmlWindow * _result; | |
4197 | wxWindow * _arg0; | |
4198 | int _arg1 = (int ) -1; | |
b68dc582 RD |
4199 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
4200 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
5d413391 | 4201 | int _arg4 = (int ) (wxHW_SCROLLBAR_AUTO); |
9a74fcaf | 4202 | wxString * _arg5 = (wxString *) &wxPyHtmlWindowNameStr; |
e166644c | 4203 | PyObject * _argo0 = 0; |
2f90df85 RD |
4204 | wxPoint temp; |
4205 | PyObject * _obj2 = 0; | |
4206 | wxSize temp0; | |
4207 | PyObject * _obj3 = 0; | |
9a74fcaf | 4208 | PyObject * _obj5 = 0; |
94c16279 | 4209 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
e166644c RD |
4210 | char _ptemp[128]; |
4211 | ||
4212 | self = self; | |
9a74fcaf | 4213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOiO:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
e166644c RD |
4214 | return NULL; |
4215 | if (_argo0) { | |
4216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
4218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p."); | |
4219 | return NULL; | |
4220 | } | |
4221 | } | |
2f90df85 RD |
4222 | if (_obj2) |
4223 | { | |
4224 | _arg2 = &temp; | |
4225 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e166644c | 4226 | return NULL; |
2f90df85 RD |
4227 | } |
4228 | if (_obj3) | |
4229 | { | |
4230 | _arg3 = &temp0; | |
4231 | if (! wxSize_helper(_obj3, &_arg3)) | |
e166644c | 4232 | return NULL; |
9a74fcaf RD |
4233 | } |
4234 | if (_obj5) | |
4235 | { | |
4236 | _arg5 = wxString_in_helper(_obj5); | |
4237 | if (_arg5 == NULL) | |
4238 | return NULL; | |
2f90df85 | 4239 | } |
e166644c | 4240 | { |
474c48f9 | 4241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 4242 | _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
e166644c | 4243 | |
474c48f9 RD |
4244 | wxPyEndAllowThreads(__tstate); |
4245 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4246 | } if (_result) { |
4247 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p"); | |
4248 | _resultobj = Py_BuildValue("s",_ptemp); | |
4249 | } else { | |
4250 | Py_INCREF(Py_None); | |
4251 | _resultobj = Py_None; | |
4252 | } | |
9a74fcaf RD |
4253 | { |
4254 | if (_obj5) | |
4255 | delete _arg5; | |
4256 | } | |
e166644c RD |
4257 | return _resultobj; |
4258 | } | |
4259 | ||
3e212503 RD |
4260 | #define new_wxPreHtmlWindow() (new wxPyHtmlWindow()) |
4261 | static PyObject *_wrap_new_wxPreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4262 | PyObject * _resultobj; | |
4263 | wxPyHtmlWindow * _result; | |
4264 | char *_kwnames[] = { NULL }; | |
4265 | char _ptemp[128]; | |
4266 | ||
4267 | self = self; | |
4268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreHtmlWindow",_kwnames)) | |
4269 | return NULL; | |
4270 | { | |
474c48f9 | 4271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4272 | _result = (wxPyHtmlWindow *)new_wxPreHtmlWindow(); |
3e212503 | 4273 | |
474c48f9 RD |
4274 | wxPyEndAllowThreads(__tstate); |
4275 | if (PyErr_Occurred()) return NULL; | |
3e212503 RD |
4276 | } if (_result) { |
4277 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p"); | |
4278 | _resultobj = Py_BuildValue("s",_ptemp); | |
4279 | } else { | |
4280 | Py_INCREF(Py_None); | |
4281 | _resultobj = Py_None; | |
4282 | } | |
4283 | return _resultobj; | |
4284 | } | |
4285 | ||
4286 | #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4287 | static PyObject *_wrap_wxHtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4288 | PyObject * _resultobj; | |
4289 | bool _result; | |
4290 | wxPyHtmlWindow * _arg0; | |
4291 | wxWindow * _arg1; | |
4292 | int _arg2 = (int ) -1; | |
4293 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
4294 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
5d413391 | 4295 | int _arg5 = (int ) (wxHW_SCROLLBAR_AUTO); |
9a74fcaf | 4296 | wxString * _arg6 = (wxString *) &wxPyHtmlWindowNameStr; |
3e212503 RD |
4297 | PyObject * _argo0 = 0; |
4298 | PyObject * _argo1 = 0; | |
4299 | wxPoint temp; | |
4300 | PyObject * _obj3 = 0; | |
4301 | wxSize temp0; | |
4302 | PyObject * _obj4 = 0; | |
9a74fcaf | 4303 | PyObject * _obj6 = 0; |
94c16279 | 4304 | char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL }; |
3e212503 RD |
4305 | |
4306 | self = self; | |
9a74fcaf | 4307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOiO:wxHtmlWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6)) |
3e212503 RD |
4308 | return NULL; |
4309 | if (_argo0) { | |
4310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p."); | |
4313 | return NULL; | |
4314 | } | |
4315 | } | |
4316 | if (_argo1) { | |
4317 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4318 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
4319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p."); | |
4320 | return NULL; | |
4321 | } | |
4322 | } | |
4323 | if (_obj3) | |
4324 | { | |
4325 | _arg3 = &temp; | |
4326 | if (! wxPoint_helper(_obj3, &_arg3)) | |
4327 | return NULL; | |
4328 | } | |
4329 | if (_obj4) | |
4330 | { | |
4331 | _arg4 = &temp0; | |
4332 | if (! wxSize_helper(_obj4, &_arg4)) | |
4333 | return NULL; | |
9a74fcaf RD |
4334 | } |
4335 | if (_obj6) | |
4336 | { | |
4337 | _arg6 = wxString_in_helper(_obj6); | |
4338 | if (_arg6 == NULL) | |
4339 | return NULL; | |
3e212503 RD |
4340 | } |
4341 | { | |
474c48f9 | 4342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 4343 | _result = (bool )wxHtmlWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
3e212503 | 4344 | |
474c48f9 RD |
4345 | wxPyEndAllowThreads(__tstate); |
4346 | if (PyErr_Occurred()) return NULL; | |
3e212503 | 4347 | } _resultobj = Py_BuildValue("i",_result); |
9a74fcaf RD |
4348 | { |
4349 | if (_obj6) | |
4350 | delete _arg6; | |
4351 | } | |
3e212503 RD |
4352 | return _resultobj; |
4353 | } | |
4354 | ||
0220cbc1 RD |
4355 | #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
4356 | static PyObject *_wrap_wxHtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c RD |
4357 | PyObject * _resultobj; |
4358 | wxPyHtmlWindow * _arg0; | |
4359 | PyObject * _arg1; | |
f6bcfd97 | 4360 | PyObject * _arg2; |
e166644c RD |
4361 | PyObject * _argo0 = 0; |
4362 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
4363 | PyObject * _obj2 = 0; |
4364 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e166644c RD |
4365 | |
4366 | self = self; | |
0220cbc1 | 4367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e166644c RD |
4368 | return NULL; |
4369 | if (_argo0) { | |
4370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
0220cbc1 | 4372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p."); |
e166644c RD |
4373 | return NULL; |
4374 | } | |
4375 | } | |
4376 | { | |
4377 | _arg1 = _obj1; | |
4378 | } | |
f6bcfd97 BP |
4379 | { |
4380 | _arg2 = _obj2; | |
4381 | } | |
e166644c | 4382 | { |
474c48f9 | 4383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4384 | wxHtmlWindow__setCallbackInfo(_arg0,_arg1,_arg2); |
e166644c | 4385 | |
474c48f9 RD |
4386 | wxPyEndAllowThreads(__tstate); |
4387 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4388 | } Py_INCREF(Py_None); |
4389 | _resultobj = Py_None; | |
4390 | return _resultobj; | |
4391 | } | |
4392 | ||
4393 | #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0)) | |
4394 | static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4395 | PyObject * _resultobj; | |
4396 | bool _result; | |
4397 | wxPyHtmlWindow * _arg0; | |
7a446686 | 4398 | wxString * _arg1; |
e166644c | 4399 | PyObject * _argo0 = 0; |
7a446686 | 4400 | PyObject * _obj1 = 0; |
e166644c RD |
4401 | char *_kwnames[] = { "self","source", NULL }; |
4402 | ||
4403 | self = self; | |
7a446686 | 4404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
4405 | return NULL; |
4406 | if (_argo0) { | |
4407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p."); | |
4410 | return NULL; | |
4411 | } | |
4412 | } | |
7a446686 | 4413 | { |
c8bc7bb8 RD |
4414 | _arg1 = wxString_in_helper(_obj1); |
4415 | if (_arg1 == NULL) | |
7a446686 | 4416 | return NULL; |
7a446686 | 4417 | } |
e166644c | 4418 | { |
474c48f9 | 4419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4420 | _result = (bool )wxHtmlWindow_SetPage(_arg0,*_arg1); |
e166644c | 4421 | |
474c48f9 RD |
4422 | wxPyEndAllowThreads(__tstate); |
4423 | if (PyErr_Occurred()) return NULL; | |
e166644c | 4424 | } _resultobj = Py_BuildValue("i",_result); |
7a446686 RD |
4425 | { |
4426 | if (_obj1) | |
4427 | delete _arg1; | |
4428 | } | |
e166644c RD |
4429 | return _resultobj; |
4430 | } | |
4431 | ||
4432 | #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0)) | |
4433 | static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4434 | PyObject * _resultobj; | |
4435 | bool _result; | |
4436 | wxPyHtmlWindow * _arg0; | |
7a446686 | 4437 | wxString * _arg1; |
e166644c | 4438 | PyObject * _argo0 = 0; |
7a446686 | 4439 | PyObject * _obj1 = 0; |
e166644c RD |
4440 | char *_kwnames[] = { "self","location", NULL }; |
4441 | ||
4442 | self = self; | |
7a446686 | 4443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
4444 | return NULL; |
4445 | if (_argo0) { | |
4446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p."); | |
4449 | return NULL; | |
4450 | } | |
4451 | } | |
7a446686 | 4452 | { |
c8bc7bb8 RD |
4453 | _arg1 = wxString_in_helper(_obj1); |
4454 | if (_arg1 == NULL) | |
7a446686 | 4455 | return NULL; |
7a446686 | 4456 | } |
e166644c | 4457 | { |
474c48f9 | 4458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4459 | _result = (bool )wxHtmlWindow_LoadPage(_arg0,*_arg1); |
e166644c | 4460 | |
474c48f9 RD |
4461 | wxPyEndAllowThreads(__tstate); |
4462 | if (PyErr_Occurred()) return NULL; | |
e166644c | 4463 | } _resultobj = Py_BuildValue("i",_result); |
7a446686 RD |
4464 | { |
4465 | if (_obj1) | |
4466 | delete _arg1; | |
4467 | } | |
e166644c RD |
4468 | return _resultobj; |
4469 | } | |
4470 | ||
1fded56b RD |
4471 | #define wxHtmlWindow_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0)) |
4472 | static PyObject *_wrap_wxHtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4473 | PyObject * _resultobj; | |
4474 | bool _result; | |
4475 | wxPyHtmlWindow * _arg0; | |
4476 | wxString * _arg1; | |
4477 | PyObject * _argo0 = 0; | |
4478 | PyObject * _obj1 = 0; | |
4479 | char *_kwnames[] = { "self","filename", NULL }; | |
4480 | ||
4481 | self = self; | |
4482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_LoadFile",_kwnames,&_argo0,&_obj1)) | |
4483 | return NULL; | |
4484 | if (_argo0) { | |
4485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadFile. Expected _wxPyHtmlWindow_p."); | |
4488 | return NULL; | |
4489 | } | |
4490 | } | |
4491 | { | |
4492 | _arg1 = wxString_in_helper(_obj1); | |
4493 | if (_arg1 == NULL) | |
4494 | return NULL; | |
4495 | } | |
4496 | { | |
4497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4498 | _result = (bool )wxHtmlWindow_LoadFile(_arg0,*_arg1); | |
4499 | ||
4500 | wxPyEndAllowThreads(__tstate); | |
4501 | if (PyErr_Occurred()) return NULL; | |
4502 | } _resultobj = Py_BuildValue("i",_result); | |
4503 | { | |
4504 | if (_obj1) | |
4505 | delete _arg1; | |
4506 | } | |
4507 | return _resultobj; | |
4508 | } | |
4509 | ||
3bcd5e1c RD |
4510 | #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0)) |
4511 | static PyObject *_wrap_wxHtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4512 | PyObject * _resultobj; | |
4513 | bool _result; | |
4514 | wxPyHtmlWindow * _arg0; | |
4515 | wxString * _arg1; | |
4516 | PyObject * _argo0 = 0; | |
4517 | PyObject * _obj1 = 0; | |
4518 | char *_kwnames[] = { "self","source", NULL }; | |
4519 | ||
4520 | self = self; | |
4521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_AppendToPage",_kwnames,&_argo0,&_obj1)) | |
4522 | return NULL; | |
4523 | if (_argo0) { | |
4524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p."); | |
4527 | return NULL; | |
4528 | } | |
4529 | } | |
4530 | { | |
c8bc7bb8 RD |
4531 | _arg1 = wxString_in_helper(_obj1); |
4532 | if (_arg1 == NULL) | |
3bcd5e1c | 4533 | return NULL; |
3bcd5e1c RD |
4534 | } |
4535 | { | |
474c48f9 | 4536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4537 | _result = (bool )wxHtmlWindow_AppendToPage(_arg0,*_arg1); |
3bcd5e1c | 4538 | |
474c48f9 RD |
4539 | wxPyEndAllowThreads(__tstate); |
4540 | if (PyErr_Occurred()) return NULL; | |
3bcd5e1c RD |
4541 | } _resultobj = Py_BuildValue("i",_result); |
4542 | { | |
4543 | if (_obj1) | |
4544 | delete _arg1; | |
4545 | } | |
4546 | return _resultobj; | |
4547 | } | |
4548 | ||
e166644c RD |
4549 | #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage()) |
4550 | static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4551 | PyObject * _resultobj; | |
4552 | wxString * _result; | |
4553 | wxPyHtmlWindow * _arg0; | |
4554 | PyObject * _argo0 = 0; | |
4555 | char *_kwnames[] = { "self", NULL }; | |
4556 | ||
4557 | self = self; | |
4558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0)) | |
4559 | return NULL; | |
4560 | if (_argo0) { | |
4561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p."); | |
4564 | return NULL; | |
4565 | } | |
4566 | } | |
4567 | { | |
474c48f9 | 4568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4569 | _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0)); |
e166644c | 4570 | |
474c48f9 RD |
4571 | wxPyEndAllowThreads(__tstate); |
4572 | if (PyErr_Occurred()) return NULL; | |
e166644c | 4573 | }{ |
c8bc7bb8 | 4574 | #if wxUSE_UNICODE |
b67a9327 | 4575 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4576 | #else |
e02c03a4 | 4577 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4578 | #endif |
e166644c RD |
4579 | } |
4580 | { | |
4581 | delete _result; | |
4582 | } | |
4583 | return _resultobj; | |
4584 | } | |
4585 | ||
7a446686 RD |
4586 | #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor()) |
4587 | static PyObject *_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4588 | PyObject * _resultobj; | |
4589 | wxString * _result; | |
4590 | wxPyHtmlWindow * _arg0; | |
4591 | PyObject * _argo0 = 0; | |
4592 | char *_kwnames[] = { "self", NULL }; | |
4593 | ||
4594 | self = self; | |
4595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames,&_argo0)) | |
4596 | return NULL; | |
4597 | if (_argo0) { | |
4598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p."); | |
4601 | return NULL; | |
4602 | } | |
4603 | } | |
4604 | { | |
474c48f9 | 4605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4606 | _result = new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0)); |
7a446686 | 4607 | |
474c48f9 RD |
4608 | wxPyEndAllowThreads(__tstate); |
4609 | if (PyErr_Occurred()) return NULL; | |
7a446686 | 4610 | }{ |
c8bc7bb8 | 4611 | #if wxUSE_UNICODE |
b67a9327 | 4612 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4613 | #else |
7a446686 | 4614 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4615 | #endif |
7a446686 RD |
4616 | } |
4617 | { | |
4618 | delete _result; | |
4619 | } | |
4620 | return _resultobj; | |
4621 | } | |
4622 | ||
4623 | #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle()) | |
4624 | static PyObject *_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4625 | PyObject * _resultobj; | |
4626 | wxString * _result; | |
4627 | wxPyHtmlWindow * _arg0; | |
4628 | PyObject * _argo0 = 0; | |
4629 | char *_kwnames[] = { "self", NULL }; | |
4630 | ||
4631 | self = self; | |
4632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames,&_argo0)) | |
4633 | return NULL; | |
4634 | if (_argo0) { | |
4635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p."); | |
4638 | return NULL; | |
4639 | } | |
4640 | } | |
4641 | { | |
474c48f9 | 4642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4643 | _result = new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0)); |
7a446686 | 4644 | |
474c48f9 RD |
4645 | wxPyEndAllowThreads(__tstate); |
4646 | if (PyErr_Occurred()) return NULL; | |
7a446686 | 4647 | }{ |
c8bc7bb8 | 4648 | #if wxUSE_UNICODE |
b67a9327 | 4649 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4650 | #else |
7a446686 | 4651 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4652 | #endif |
7a446686 RD |
4653 | } |
4654 | { | |
4655 | delete _result; | |
4656 | } | |
4657 | return _resultobj; | |
4658 | } | |
4659 | ||
e166644c RD |
4660 | #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1)) |
4661 | static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4662 | PyObject * _resultobj; | |
4663 | wxPyHtmlWindow * _arg0; | |
4664 | wxFrame * _arg1; | |
9a74fcaf | 4665 | wxString * _arg2; |
e166644c RD |
4666 | PyObject * _argo0 = 0; |
4667 | PyObject * _argo1 = 0; | |
9a74fcaf | 4668 | PyObject * _obj2 = 0; |
e166644c RD |
4669 | char *_kwnames[] = { "self","frame","format", NULL }; |
4670 | ||
4671 | self = self; | |
9a74fcaf | 4672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_obj2)) |
e166644c RD |
4673 | return NULL; |
4674 | if (_argo0) { | |
4675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p."); | |
4678 | return NULL; | |
4679 | } | |
4680 | } | |
4681 | if (_argo1) { | |
4682 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4683 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
4684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p."); | |
4685 | return NULL; | |
4686 | } | |
4687 | } | |
9a74fcaf RD |
4688 | { |
4689 | _arg2 = wxString_in_helper(_obj2); | |
4690 | if (_arg2 == NULL) | |
4691 | return NULL; | |
4692 | } | |
e166644c | 4693 | { |
474c48f9 | 4694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 4695 | wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,*_arg2); |
e166644c | 4696 | |
474c48f9 RD |
4697 | wxPyEndAllowThreads(__tstate); |
4698 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4699 | } Py_INCREF(Py_None); |
4700 | _resultobj = Py_None; | |
9a74fcaf RD |
4701 | { |
4702 | if (_obj2) | |
4703 | delete _arg2; | |
4704 | } | |
e166644c RD |
4705 | return _resultobj; |
4706 | } | |
4707 | ||
4708 | #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame()) | |
4709 | static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4710 | PyObject * _resultobj; | |
4711 | wxFrame * _result; | |
4712 | wxPyHtmlWindow * _arg0; | |
4713 | PyObject * _argo0 = 0; | |
4714 | char *_kwnames[] = { "self", NULL }; | |
e166644c RD |
4715 | |
4716 | self = self; | |
4717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0)) | |
4718 | return NULL; | |
4719 | if (_argo0) { | |
4720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p."); | |
4723 | return NULL; | |
4724 | } | |
4725 | } | |
4726 | { | |
474c48f9 | 4727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4728 | _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0); |
e166644c | 4729 | |
474c48f9 RD |
4730 | wxPyEndAllowThreads(__tstate); |
4731 | if (PyErr_Occurred()) return NULL; | |
9df61a29 | 4732 | }{ _resultobj = wxPyMake_wxObject(_result); } |
325274bb RD |
4733 | return _resultobj; |
4734 | } | |
4735 | ||
4736 | #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0)) | |
0f66a9f3 | 4737 | static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 4738 | PyObject * _resultobj; |
0f66a9f3 | 4739 | wxPyHtmlWindow * _arg0; |
325274bb RD |
4740 | int _arg1; |
4741 | PyObject * _argo0 = 0; | |
0f66a9f3 | 4742 | char *_kwnames[] = { "self","bar", NULL }; |
325274bb RD |
4743 | |
4744 | self = self; | |
0f66a9f3 | 4745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
4746 | return NULL; |
4747 | if (_argo0) { | |
4748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4751 | return NULL; |
4752 | } | |
4753 | } | |
4754 | { | |
474c48f9 | 4755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4756 | wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1); |
325274bb | 4757 | |
474c48f9 RD |
4758 | wxPyEndAllowThreads(__tstate); |
4759 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
4760 | } Py_INCREF(Py_None); |
4761 | _resultobj = Py_None; | |
4762 | return _resultobj; | |
4763 | } | |
4764 | ||
f6bcfd97 | 4765 | static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
3100de99 RD |
4766 | int* temp = NULL; |
4767 | if (sizes) temp = int_LIST_helper(sizes); | |
4768 | self->SetFonts(normal_face, fixed_face, temp); | |
4769 | if (temp) | |
f6bcfd97 | 4770 | delete [] temp; |
f6bcfd97 | 4771 | } |
0f66a9f3 | 4772 | static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 4773 | PyObject * _resultobj; |
0f66a9f3 | 4774 | wxPyHtmlWindow * _arg0; |
325274bb | 4775 | wxString * _arg1; |
9c00cfa3 | 4776 | wxString * _arg2; |
3100de99 | 4777 | PyObject * _arg3 = (PyObject *) NULL; |
325274bb RD |
4778 | PyObject * _argo0 = 0; |
4779 | PyObject * _obj1 = 0; | |
9c00cfa3 | 4780 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
4781 | PyObject * _obj3 = 0; |
4782 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
325274bb RD |
4783 | |
4784 | self = self; | |
3100de99 | 4785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
325274bb RD |
4786 | return NULL; |
4787 | if (_argo0) { | |
4788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4791 | return NULL; |
4792 | } | |
4793 | } | |
4794 | { | |
c8bc7bb8 RD |
4795 | _arg1 = wxString_in_helper(_obj1); |
4796 | if (_arg1 == NULL) | |
325274bb | 4797 | return NULL; |
325274bb RD |
4798 | } |
4799 | { | |
c8bc7bb8 RD |
4800 | _arg2 = wxString_in_helper(_obj2); |
4801 | if (_arg2 == NULL) | |
2cd2fac8 | 4802 | return NULL; |
325274bb | 4803 | } |
3100de99 | 4804 | if (_obj3) |
f6bcfd97 BP |
4805 | { |
4806 | _arg3 = _obj3; | |
4807 | } | |
325274bb | 4808 | { |
474c48f9 | 4809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4810 | wxPyHtmlWindow_SetFonts(_arg0,*_arg1,*_arg2,_arg3); |
325274bb | 4811 | |
474c48f9 RD |
4812 | wxPyEndAllowThreads(__tstate); |
4813 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
4814 | } Py_INCREF(Py_None); |
4815 | _resultobj = Py_None; | |
4816 | { | |
4817 | if (_obj1) | |
4818 | delete _arg1; | |
4819 | } | |
4820 | { | |
9c00cfa3 RD |
4821 | if (_obj2) |
4822 | delete _arg2; | |
325274bb RD |
4823 | } |
4824 | return _resultobj; | |
4825 | } | |
4826 | ||
4827 | #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
0f66a9f3 | 4828 | static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 4829 | PyObject * _resultobj; |
0f66a9f3 | 4830 | wxPyHtmlWindow * _arg0; |
7a446686 | 4831 | wxString * _arg1; |
325274bb | 4832 | PyObject * _argo0 = 0; |
7a446686 | 4833 | PyObject * _obj1 = 0; |
0f66a9f3 | 4834 | char *_kwnames[] = { "self","title", NULL }; |
325274bb RD |
4835 | |
4836 | self = self; | |
7a446686 | 4837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_obj1)) |
325274bb RD |
4838 | return NULL; |
4839 | if (_argo0) { | |
4840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4843 | return NULL; |
4844 | } | |
4845 | } | |
7a446686 | 4846 | { |
c8bc7bb8 RD |
4847 | _arg1 = wxString_in_helper(_obj1); |
4848 | if (_arg1 == NULL) | |
7a446686 | 4849 | return NULL; |
7a446686 | 4850 | } |
325274bb | 4851 | { |
474c48f9 | 4852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4853 | wxHtmlWindow_SetTitle(_arg0,*_arg1); |
325274bb | 4854 | |
474c48f9 RD |
4855 | wxPyEndAllowThreads(__tstate); |
4856 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
4857 | } Py_INCREF(Py_None); |
4858 | _resultobj = Py_None; | |
7a446686 RD |
4859 | { |
4860 | if (_obj1) | |
4861 | delete _arg1; | |
4862 | } | |
325274bb RD |
4863 | return _resultobj; |
4864 | } | |
4865 | ||
4866 | #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0)) | |
0f66a9f3 | 4867 | static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 4868 | PyObject * _resultobj; |
0f66a9f3 | 4869 | wxPyHtmlWindow * _arg0; |
325274bb RD |
4870 | int _arg1; |
4871 | PyObject * _argo0 = 0; | |
0f66a9f3 | 4872 | char *_kwnames[] = { "self","b", NULL }; |
325274bb RD |
4873 | |
4874 | self = self; | |
0f66a9f3 | 4875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
4876 | return NULL; |
4877 | if (_argo0) { | |
4878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
4879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
4880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
4881 | return NULL; |
4882 | } | |
4883 | } | |
4884 | { | |
474c48f9 | 4885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4886 | wxHtmlWindow_SetBorders(_arg0,_arg1); |
325274bb | 4887 | |
474c48f9 RD |
4888 | wxPyEndAllowThreads(__tstate); |
4889 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
4890 | } Py_INCREF(Py_None); |
4891 | _resultobj = Py_None; | |
4892 | return _resultobj; | |
4893 | } | |
4894 | ||
0f66a9f3 RD |
4895 | #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1)) |
4896 | static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4897 | PyObject * _resultobj; | |
4898 | wxPyHtmlWindow * _arg0; | |
4899 | wxConfigBase * _arg1; | |
9a74fcaf | 4900 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
0f66a9f3 RD |
4901 | PyObject * _argo0 = 0; |
4902 | PyObject * _argo1 = 0; | |
7a446686 | 4903 | PyObject * _obj2 = 0; |
0f66a9f3 RD |
4904 | char *_kwnames[] = { "self","cfg","path", NULL }; |
4905 | ||
4906 | self = self; | |
7a446686 | 4907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) |
0f66a9f3 RD |
4908 | return NULL; |
4909 | if (_argo0) { | |
4910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p."); | |
4913 | return NULL; | |
4914 | } | |
4915 | } | |
4916 | if (_argo1) { | |
4917 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4918 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
4919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p."); | |
4920 | return NULL; | |
4921 | } | |
4922 | } | |
7a446686 RD |
4923 | if (_obj2) |
4924 | { | |
c8bc7bb8 RD |
4925 | _arg2 = wxString_in_helper(_obj2); |
4926 | if (_arg2 == NULL) | |
7a446686 | 4927 | return NULL; |
7a446686 | 4928 | } |
0f66a9f3 | 4929 | { |
474c48f9 | 4930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4931 | wxHtmlWindow_ReadCustomization(_arg0,_arg1,*_arg2); |
0f66a9f3 | 4932 | |
474c48f9 RD |
4933 | wxPyEndAllowThreads(__tstate); |
4934 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
4935 | } Py_INCREF(Py_None); |
4936 | _resultobj = Py_None; | |
7a446686 RD |
4937 | { |
4938 | if (_obj2) | |
4939 | delete _arg2; | |
4940 | } | |
0f66a9f3 RD |
4941 | return _resultobj; |
4942 | } | |
4943 | ||
4944 | #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1)) | |
4945 | static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4946 | PyObject * _resultobj; | |
4947 | wxPyHtmlWindow * _arg0; | |
4948 | wxConfigBase * _arg1; | |
9a74fcaf | 4949 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
0f66a9f3 RD |
4950 | PyObject * _argo0 = 0; |
4951 | PyObject * _argo1 = 0; | |
7a446686 | 4952 | PyObject * _obj2 = 0; |
0f66a9f3 RD |
4953 | char *_kwnames[] = { "self","cfg","path", NULL }; |
4954 | ||
4955 | self = self; | |
7a446686 | 4956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) |
0f66a9f3 RD |
4957 | return NULL; |
4958 | if (_argo0) { | |
4959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
4961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p."); | |
4962 | return NULL; | |
4963 | } | |
4964 | } | |
4965 | if (_argo1) { | |
4966 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4967 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
4968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p."); | |
4969 | return NULL; | |
4970 | } | |
4971 | } | |
7a446686 RD |
4972 | if (_obj2) |
4973 | { | |
c8bc7bb8 RD |
4974 | _arg2 = wxString_in_helper(_obj2); |
4975 | if (_arg2 == NULL) | |
7a446686 | 4976 | return NULL; |
7a446686 | 4977 | } |
0f66a9f3 | 4978 | { |
474c48f9 | 4979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4980 | wxHtmlWindow_WriteCustomization(_arg0,_arg1,*_arg2); |
0f66a9f3 | 4981 | |
474c48f9 RD |
4982 | wxPyEndAllowThreads(__tstate); |
4983 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
4984 | } Py_INCREF(Py_None); |
4985 | _resultobj = Py_None; | |
7a446686 RD |
4986 | { |
4987 | if (_obj2) | |
4988 | delete _arg2; | |
4989 | } | |
0f66a9f3 RD |
4990 | return _resultobj; |
4991 | } | |
4992 | ||
325274bb | 4993 | #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack()) |
0f66a9f3 | 4994 | static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
4995 | PyObject * _resultobj; |
4996 | bool _result; | |
0f66a9f3 | 4997 | wxPyHtmlWindow * _arg0; |
325274bb | 4998 | PyObject * _argo0 = 0; |
0f66a9f3 | 4999 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
5000 | |
5001 | self = self; | |
0f66a9f3 | 5002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0)) |
325274bb RD |
5003 | return NULL; |
5004 | if (_argo0) { | |
5005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
5006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
5007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
5008 | return NULL; |
5009 | } | |
5010 | } | |
5011 | { | |
474c48f9 | 5012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5013 | _result = (bool )wxHtmlWindow_HistoryBack(_arg0); |
325274bb | 5014 | |
474c48f9 RD |
5015 | wxPyEndAllowThreads(__tstate); |
5016 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
5017 | } _resultobj = Py_BuildValue("i",_result); |
5018 | return _resultobj; | |
5019 | } | |
5020 | ||
5021 | #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward()) | |
0f66a9f3 | 5022 | static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
5023 | PyObject * _resultobj; |
5024 | bool _result; | |
0f66a9f3 | 5025 | wxPyHtmlWindow * _arg0; |
325274bb | 5026 | PyObject * _argo0 = 0; |
0f66a9f3 | 5027 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
5028 | |
5029 | self = self; | |
0f66a9f3 | 5030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0)) |
325274bb RD |
5031 | return NULL; |
5032 | if (_argo0) { | |
5033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
5034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
5035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
5036 | return NULL; |
5037 | } | |
5038 | } | |
5039 | { | |
474c48f9 | 5040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5041 | _result = (bool )wxHtmlWindow_HistoryForward(_arg0); |
325274bb | 5042 | |
474c48f9 RD |
5043 | wxPyEndAllowThreads(__tstate); |
5044 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
5045 | } _resultobj = Py_BuildValue("i",_result); |
5046 | return _resultobj; | |
5047 | } | |
5048 | ||
7a446686 RD |
5049 | #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack()) |
5050 | static PyObject *_wrap_wxHtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5051 | PyObject * _resultobj; | |
5052 | bool _result; | |
5053 | wxPyHtmlWindow * _arg0; | |
5054 | PyObject * _argo0 = 0; | |
5055 | char *_kwnames[] = { "self", NULL }; | |
5056 | ||
5057 | self = self; | |
5058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanBack",_kwnames,&_argo0)) | |
5059 | return NULL; | |
5060 | if (_argo0) { | |
5061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p."); | |
5064 | return NULL; | |
5065 | } | |
5066 | } | |
5067 | { | |
474c48f9 | 5068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5069 | _result = (bool )wxHtmlWindow_HistoryCanBack(_arg0); |
7a446686 | 5070 | |
474c48f9 RD |
5071 | wxPyEndAllowThreads(__tstate); |
5072 | if (PyErr_Occurred()) return NULL; | |
7a446686 RD |
5073 | } _resultobj = Py_BuildValue("i",_result); |
5074 | return _resultobj; | |
5075 | } | |
5076 | ||
5077 | #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward()) | |
5078 | static PyObject *_wrap_wxHtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5079 | PyObject * _resultobj; | |
5080 | bool _result; | |
5081 | wxPyHtmlWindow * _arg0; | |
5082 | PyObject * _argo0 = 0; | |
5083 | char *_kwnames[] = { "self", NULL }; | |
5084 | ||
5085 | self = self; | |
5086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanForward",_kwnames,&_argo0)) | |
5087 | return NULL; | |
5088 | if (_argo0) { | |
5089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p."); | |
5092 | return NULL; | |
5093 | } | |
5094 | } | |
5095 | { | |
474c48f9 | 5096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5097 | _result = (bool )wxHtmlWindow_HistoryCanForward(_arg0); |
7a446686 | 5098 | |
474c48f9 RD |
5099 | wxPyEndAllowThreads(__tstate); |
5100 | if (PyErr_Occurred()) return NULL; | |
7a446686 RD |
5101 | } _resultobj = Py_BuildValue("i",_result); |
5102 | return _resultobj; | |
5103 | } | |
5104 | ||
325274bb | 5105 | #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear()) |
0f66a9f3 | 5106 | static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 5107 | PyObject * _resultobj; |
0f66a9f3 | 5108 | wxPyHtmlWindow * _arg0; |
325274bb | 5109 | PyObject * _argo0 = 0; |
0f66a9f3 | 5110 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
5111 | |
5112 | self = self; | |
0f66a9f3 | 5113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0)) |
325274bb RD |
5114 | return NULL; |
5115 | if (_argo0) { | |
5116 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
5117 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
5118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
5119 | return NULL; |
5120 | } | |
5121 | } | |
5122 | { | |
474c48f9 | 5123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5124 | wxHtmlWindow_HistoryClear(_arg0); |
325274bb | 5125 | |
474c48f9 RD |
5126 | wxPyEndAllowThreads(__tstate); |
5127 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
5128 | } Py_INCREF(Py_None); |
5129 | _resultobj = Py_None; | |
5130 | return _resultobj; | |
5131 | } | |
5132 | ||
a65c6e14 RD |
5133 | #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation()) |
5134 | static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5135 | PyObject * _resultobj; | |
5136 | wxHtmlContainerCell * _result; | |
5137 | wxPyHtmlWindow * _arg0; | |
5138 | PyObject * _argo0 = 0; | |
5139 | char *_kwnames[] = { "self", NULL }; | |
5140 | char _ptemp[128]; | |
5141 | ||
5142 | self = self; | |
5143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0)) | |
5144 | return NULL; | |
5145 | if (_argo0) { | |
5146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p."); | |
5149 | return NULL; | |
5150 | } | |
5151 | } | |
5152 | { | |
474c48f9 | 5153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5154 | _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0); |
a65c6e14 | 5155 | |
474c48f9 RD |
5156 | wxPyEndAllowThreads(__tstate); |
5157 | if (PyErr_Occurred()) return NULL; | |
a65c6e14 RD |
5158 | } if (_result) { |
5159 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
5160 | _resultobj = Py_BuildValue("s",_ptemp); | |
5161 | } else { | |
5162 | Py_INCREF(Py_None); | |
5163 | _resultobj = Py_None; | |
5164 | } | |
5165 | return _resultobj; | |
5166 | } | |
5167 | ||
e166644c RD |
5168 | #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser()) |
5169 | static PyObject *_wrap_wxHtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5170 | PyObject * _resultobj; | |
5171 | wxHtmlWinParser * _result; | |
5172 | wxPyHtmlWindow * _arg0; | |
5173 | PyObject * _argo0 = 0; | |
5174 | char *_kwnames[] = { "self", NULL }; | |
5175 | char _ptemp[128]; | |
5176 | ||
5177 | self = self; | |
5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetParser",_kwnames,&_argo0)) | |
5179 | return NULL; | |
5180 | if (_argo0) { | |
5181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p."); | |
5184 | return NULL; | |
5185 | } | |
5186 | } | |
5187 | { | |
474c48f9 | 5188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5189 | _result = (wxHtmlWinParser *)wxHtmlWindow_GetParser(_arg0); |
e166644c | 5190 | |
474c48f9 RD |
5191 | wxPyEndAllowThreads(__tstate); |
5192 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5193 | } if (_result) { |
5194 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
5195 | _resultobj = Py_BuildValue("s",_ptemp); | |
5196 | } else { | |
5197 | Py_INCREF(Py_None); | |
5198 | _resultobj = Py_None; | |
5199 | } | |
5200 | return _resultobj; | |
5201 | } | |
5202 | ||
f0972d1e RD |
5203 | #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0)) |
5204 | static PyObject *_wrap_wxHtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5205 | PyObject * _resultobj; | |
5206 | bool _result; | |
5207 | wxPyHtmlWindow * _arg0; | |
5208 | wxString * _arg1; | |
5209 | PyObject * _argo0 = 0; | |
5210 | PyObject * _obj1 = 0; | |
5211 | char *_kwnames[] = { "self","anchor", NULL }; | |
5212 | ||
5213 | self = self; | |
5214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames,&_argo0,&_obj1)) | |
5215 | return NULL; | |
5216 | if (_argo0) { | |
5217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p."); | |
5220 | return NULL; | |
5221 | } | |
5222 | } | |
5223 | { | |
c8bc7bb8 RD |
5224 | _arg1 = wxString_in_helper(_obj1); |
5225 | if (_arg1 == NULL) | |
f0972d1e | 5226 | return NULL; |
f0972d1e RD |
5227 | } |
5228 | { | |
5229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 5230 | _result = (bool )wxHtmlWindow_ScrollToAnchor(_arg0,*_arg1); |
f0972d1e RD |
5231 | |
5232 | wxPyEndAllowThreads(__tstate); | |
5233 | if (PyErr_Occurred()) return NULL; | |
5234 | } _resultobj = Py_BuildValue("i",_result); | |
5235 | { | |
5236 | if (_obj1) | |
5237 | delete _arg1; | |
5238 | } | |
5239 | return _resultobj; | |
5240 | } | |
5241 | ||
5242 | #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0)) | |
5243 | static PyObject *_wrap_wxHtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5244 | PyObject * _resultobj; | |
5245 | bool _result; | |
5246 | wxPyHtmlWindow * _arg0; | |
5247 | wxString * _arg1; | |
5248 | PyObject * _argo0 = 0; | |
5249 | PyObject * _obj1 = 0; | |
5250 | char *_kwnames[] = { "self","anchor", NULL }; | |
5251 | ||
5252 | self = self; | |
5253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_HasAnchor",_kwnames,&_argo0,&_obj1)) | |
5254 | return NULL; | |
5255 | if (_argo0) { | |
5256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p."); | |
5259 | return NULL; | |
5260 | } | |
5261 | } | |
5262 | { | |
c8bc7bb8 RD |
5263 | _arg1 = wxString_in_helper(_obj1); |
5264 | if (_arg1 == NULL) | |
f0972d1e | 5265 | return NULL; |
f0972d1e RD |
5266 | } |
5267 | { | |
5268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 5269 | _result = (bool )wxHtmlWindow_HasAnchor(_arg0,*_arg1); |
f0972d1e RD |
5270 | |
5271 | wxPyEndAllowThreads(__tstate); | |
5272 | if (PyErr_Occurred()) return NULL; | |
5273 | } _resultobj = Py_BuildValue("i",_result); | |
5274 | { | |
5275 | if (_obj1) | |
5276 | delete _arg1; | |
5277 | } | |
5278 | return _resultobj; | |
5279 | } | |
5280 | ||
b67a9327 RD |
5281 | static PyObject *_wrap_wxHtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { |
5282 | PyObject * _resultobj; | |
5283 | wxPyHtmlFilter * _arg0; | |
5284 | PyObject * _argo0 = 0; | |
5285 | char *_kwnames[] = { "filter", NULL }; | |
5286 | ||
5287 | self = self; | |
5288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_AddFilter",_kwnames,&_argo0)) | |
5289 | return NULL; | |
5290 | if (_argo0) { | |
5291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlFilter_p")) { | |
5293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxPyHtmlFilter_p."); | |
5294 | return NULL; | |
5295 | } | |
5296 | } | |
5297 | { | |
5298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5299 | wxPyHtmlWindow::AddFilter(_arg0); | |
5300 | ||
5301 | wxPyEndAllowThreads(__tstate); | |
5302 | if (PyErr_Occurred()) return NULL; | |
5303 | } Py_INCREF(Py_None); | |
5304 | _resultobj = Py_None; | |
5305 | return _resultobj; | |
5306 | } | |
5307 | ||
95837b4d RD |
5308 | #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0)) |
5309 | static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5310 | PyObject * _resultobj; | |
5311 | wxPyHtmlWindow * _arg0; | |
5312 | wxHtmlLinkInfo * _arg1; | |
5313 | PyObject * _argo0 = 0; | |
5314 | PyObject * _argo1 = 0; | |
5315 | char *_kwnames[] = { "self","link", NULL }; | |
5316 | ||
5317 | self = self; | |
5318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_argo1)) | |
5319 | return NULL; | |
5320 | if (_argo0) { | |
5321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p."); | |
5324 | return NULL; | |
5325 | } | |
5326 | } | |
5327 | if (_argo1) { | |
b67a9327 | 5328 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) { |
95837b4d RD |
5329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p."); |
5330 | return NULL; | |
5331 | } | |
5332 | } | |
5333 | { | |
474c48f9 | 5334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5335 | wxHtmlWindow_base_OnLinkClicked(_arg0,*_arg1); |
95837b4d | 5336 | |
474c48f9 RD |
5337 | wxPyEndAllowThreads(__tstate); |
5338 | if (PyErr_Occurred()) return NULL; | |
95837b4d RD |
5339 | } Py_INCREF(Py_None); |
5340 | _resultobj = Py_None; | |
5341 | return _resultobj; | |
5342 | } | |
5343 | ||
9c00cfa3 RD |
5344 | #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0)) |
5345 | static PyObject *_wrap_wxHtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 RD |
5346 | PyObject * _resultobj; |
5347 | wxPyHtmlWindow * _arg0; | |
9a74fcaf | 5348 | wxString * _arg1; |
0f66a9f3 | 5349 | PyObject * _argo0 = 0; |
9a74fcaf | 5350 | PyObject * _obj1 = 0; |
9c00cfa3 | 5351 | char *_kwnames[] = { "self","title", NULL }; |
0f66a9f3 RD |
5352 | |
5353 | self = self; | |
9a74fcaf | 5354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames,&_argo0,&_obj1)) |
0f66a9f3 RD |
5355 | return NULL; |
5356 | if (_argo0) { | |
5357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
9c00cfa3 | 5359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p."); |
0f66a9f3 RD |
5360 | return NULL; |
5361 | } | |
5362 | } | |
9a74fcaf RD |
5363 | { |
5364 | _arg1 = wxString_in_helper(_obj1); | |
5365 | if (_arg1 == NULL) | |
5366 | return NULL; | |
5367 | } | |
0f66a9f3 | 5368 | { |
474c48f9 | 5369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 5370 | wxHtmlWindow_base_OnSetTitle(_arg0,*_arg1); |
0f66a9f3 | 5371 | |
474c48f9 RD |
5372 | wxPyEndAllowThreads(__tstate); |
5373 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
5374 | } Py_INCREF(Py_None); |
5375 | _resultobj = Py_None; | |
9a74fcaf RD |
5376 | { |
5377 | if (_obj1) | |
5378 | delete _arg1; | |
5379 | } | |
0f66a9f3 RD |
5380 | return _resultobj; |
5381 | } | |
5382 | ||
0220cbc1 RD |
5383 | #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2)) |
5384 | static PyObject *_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5385 | PyObject * _resultobj; | |
5386 | wxPyHtmlWindow * _arg0; | |
5387 | wxHtmlCell * _arg1; | |
5388 | wxCoord _arg2; | |
5389 | wxCoord _arg3; | |
5390 | PyObject * _argo0 = 0; | |
5391 | PyObject * _argo1 = 0; | |
5392 | char *_kwnames[] = { "self","cell","x","y", NULL }; | |
5393 | ||
5394 | self = self; | |
5395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
5396 | return NULL; | |
5397 | if (_argo0) { | |
5398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p."); | |
5401 | return NULL; | |
5402 | } | |
5403 | } | |
5404 | if (_argo1) { | |
5405 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5406 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
5407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p."); | |
5408 | return NULL; | |
5409 | } | |
5410 | } | |
5411 | { | |
474c48f9 | 5412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5413 | wxHtmlWindow_base_OnCellMouseHover(_arg0,_arg1,_arg2,_arg3); |
0220cbc1 | 5414 | |
474c48f9 RD |
5415 | wxPyEndAllowThreads(__tstate); |
5416 | if (PyErr_Occurred()) return NULL; | |
0220cbc1 RD |
5417 | } Py_INCREF(Py_None); |
5418 | _resultobj = Py_None; | |
5419 | return _resultobj; | |
5420 | } | |
5421 | ||
5422 | #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5423 | static PyObject *_wrap_wxHtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5424 | PyObject * _resultobj; | |
5425 | wxPyHtmlWindow * _arg0; | |
5426 | wxHtmlCell * _arg1; | |
5427 | wxCoord _arg2; | |
5428 | wxCoord _arg3; | |
5429 | wxMouseEvent * _arg4; | |
5430 | PyObject * _argo0 = 0; | |
5431 | PyObject * _argo1 = 0; | |
5432 | PyObject * _argo4 = 0; | |
5433 | char *_kwnames[] = { "self","cell","x","y","event", NULL }; | |
5434 | ||
5435 | self = self; | |
5436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_argo4)) | |
5437 | return NULL; | |
5438 | if (_argo0) { | |
5439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p."); | |
5442 | return NULL; | |
5443 | } | |
5444 | } | |
5445 | if (_argo1) { | |
5446 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5447 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
5448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p."); | |
5449 | return NULL; | |
5450 | } | |
5451 | } | |
5452 | if (_argo4) { | |
b67a9327 | 5453 | if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMouseEvent_p")) { |
0220cbc1 RD |
5454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p."); |
5455 | return NULL; | |
5456 | } | |
5457 | } | |
5458 | { | |
474c48f9 | 5459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5460 | wxHtmlWindow_base_OnCellClicked(_arg0,_arg1,_arg2,_arg3,*_arg4); |
0220cbc1 | 5461 | |
474c48f9 RD |
5462 | wxPyEndAllowThreads(__tstate); |
5463 | if (PyErr_Occurred()) return NULL; | |
0220cbc1 RD |
5464 | } Py_INCREF(Py_None); |
5465 | _resultobj = Py_None; | |
5466 | return _resultobj; | |
5467 | } | |
5468 | ||
9df61a29 RD |
5469 | static void *SwigwxHtmlDCRendererTowxObject(void *ptr) { |
5470 | wxHtmlDCRenderer *src; | |
5471 | wxObject *dest; | |
5472 | src = (wxHtmlDCRenderer *) ptr; | |
5473 | dest = (wxObject *) src; | |
5474 | return (void *) dest; | |
5475 | } | |
5476 | ||
dc2f8a65 RD |
5477 | #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer()) |
5478 | static PyObject *_wrap_new_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5479 | PyObject * _resultobj; | |
5480 | wxHtmlDCRenderer * _result; | |
5481 | char *_kwnames[] = { NULL }; | |
5482 | char _ptemp[128]; | |
5483 | ||
5484 | self = self; | |
5485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlDCRenderer",_kwnames)) | |
5486 | return NULL; | |
5487 | { | |
474c48f9 | 5488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5489 | _result = (wxHtmlDCRenderer *)new_wxHtmlDCRenderer(); |
dc2f8a65 | 5490 | |
474c48f9 RD |
5491 | wxPyEndAllowThreads(__tstate); |
5492 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5493 | } if (_result) { |
5494 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlDCRenderer_p"); | |
5495 | _resultobj = Py_BuildValue("s",_ptemp); | |
5496 | } else { | |
5497 | Py_INCREF(Py_None); | |
5498 | _resultobj = Py_None; | |
5499 | } | |
5500 | return _resultobj; | |
5501 | } | |
5502 | ||
5503 | #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj) | |
5504 | static PyObject *_wrap_delete_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5505 | PyObject * _resultobj; | |
5506 | wxHtmlDCRenderer * _arg0; | |
5507 | PyObject * _argo0 = 0; | |
5508 | char *_kwnames[] = { "self", NULL }; | |
5509 | ||
5510 | self = self; | |
5511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlDCRenderer",_kwnames,&_argo0)) | |
5512 | return NULL; | |
5513 | if (_argo0) { | |
5514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p."); | |
5517 | return NULL; | |
5518 | } | |
5519 | } | |
5520 | { | |
474c48f9 | 5521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5522 | delete_wxHtmlDCRenderer(_arg0); |
dc2f8a65 | 5523 | |
474c48f9 RD |
5524 | wxPyEndAllowThreads(__tstate); |
5525 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5526 | } Py_INCREF(Py_None); |
5527 | _resultobj = Py_None; | |
5528 | return _resultobj; | |
5529 | } | |
5530 | ||
5531 | #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1)) | |
5532 | static PyObject *_wrap_wxHtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5533 | PyObject * _resultobj; | |
5534 | wxHtmlDCRenderer * _arg0; | |
5535 | wxDC * _arg1; | |
5536 | int _arg2; | |
5537 | PyObject * _argo0 = 0; | |
5538 | PyObject * _argo1 = 0; | |
5539 | char *_kwnames[] = { "self","dc","maxwidth", NULL }; | |
5540 | ||
5541 | self = self; | |
5542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxHtmlDCRenderer_SetDC",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5543 | return NULL; | |
5544 | if (_argo0) { | |
5545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p."); | |
5548 | return NULL; | |
5549 | } | |
5550 | } | |
5551 | if (_argo1) { | |
5552 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5553 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p."); | |
5555 | return NULL; | |
5556 | } | |
5557 | } | |
5558 | { | |
474c48f9 | 5559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5560 | wxHtmlDCRenderer_SetDC(_arg0,_arg1,_arg2); |
dc2f8a65 | 5561 | |
474c48f9 RD |
5562 | wxPyEndAllowThreads(__tstate); |
5563 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5564 | } Py_INCREF(Py_None); |
5565 | _resultobj = Py_None; | |
5566 | return _resultobj; | |
5567 | } | |
5568 | ||
5569 | #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
5570 | static PyObject *_wrap_wxHtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5571 | PyObject * _resultobj; | |
5572 | wxHtmlDCRenderer * _arg0; | |
5573 | int _arg1; | |
5574 | int _arg2; | |
5575 | PyObject * _argo0 = 0; | |
5576 | char *_kwnames[] = { "self","width","height", NULL }; | |
5577 | ||
5578 | self = self; | |
5579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlDCRenderer_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5580 | return NULL; | |
5581 | if (_argo0) { | |
5582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p."); | |
5585 | return NULL; | |
5586 | } | |
5587 | } | |
5588 | { | |
474c48f9 | 5589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5590 | wxHtmlDCRenderer_SetSize(_arg0,_arg1,_arg2); |
dc2f8a65 | 5591 | |
474c48f9 RD |
5592 | wxPyEndAllowThreads(__tstate); |
5593 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5594 | } Py_INCREF(Py_None); |
5595 | _resultobj = Py_None; | |
5596 | return _resultobj; | |
5597 | } | |
5598 | ||
5599 | #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2)) | |
5600 | static PyObject *_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5601 | PyObject * _resultobj; | |
5602 | wxHtmlDCRenderer * _arg0; | |
5603 | wxString * _arg1; | |
9a74fcaf | 5604 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
5605 | bool _arg3 = (bool ) TRUE; |
5606 | PyObject * _argo0 = 0; | |
5607 | PyObject * _obj1 = 0; | |
5608 | PyObject * _obj2 = 0; | |
5609 | int tempbool3 = (int) TRUE; | |
5610 | char *_kwnames[] = { "self","html","basepath","isdir", NULL }; | |
5611 | ||
5612 | self = self; | |
5613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3)) | |
5614 | return NULL; | |
5615 | if (_argo0) { | |
5616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p."); | |
5619 | return NULL; | |
5620 | } | |
5621 | } | |
5622 | { | |
c8bc7bb8 RD |
5623 | _arg1 = wxString_in_helper(_obj1); |
5624 | if (_arg1 == NULL) | |
2cd2fac8 | 5625 | return NULL; |
dc2f8a65 RD |
5626 | } |
5627 | if (_obj2) | |
5628 | { | |
c8bc7bb8 RD |
5629 | _arg2 = wxString_in_helper(_obj2); |
5630 | if (_arg2 == NULL) | |
dc2f8a65 | 5631 | return NULL; |
dc2f8a65 RD |
5632 | } |
5633 | _arg3 = (bool ) tempbool3; | |
5634 | { | |
474c48f9 | 5635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5636 | wxHtmlDCRenderer_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3); |
dc2f8a65 | 5637 | |
474c48f9 RD |
5638 | wxPyEndAllowThreads(__tstate); |
5639 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5640 | } Py_INCREF(Py_None); |
5641 | _resultobj = Py_None; | |
5642 | { | |
5643 | if (_obj1) | |
5644 | delete _arg1; | |
5645 | } | |
5646 | { | |
5647 | if (_obj2) | |
5648 | delete _arg2; | |
5649 | } | |
5650 | return _resultobj; | |
5651 | } | |
5652 | ||
3100de99 RD |
5653 | static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
5654 | int* temp = NULL; | |
5655 | if (sizes) temp = int_LIST_helper(sizes); | |
5656 | self->SetFonts(normal_face, fixed_face, temp); | |
5657 | if (temp) | |
5658 | delete [] temp; | |
5659 | } | |
5660 | static PyObject *_wrap_wxHtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject * _resultobj; | |
5662 | wxHtmlDCRenderer * _arg0; | |
5663 | wxString * _arg1; | |
5664 | wxString * _arg2; | |
5665 | PyObject * _arg3 = (PyObject *) NULL; | |
5666 | PyObject * _argo0 = 0; | |
5667 | PyObject * _obj1 = 0; | |
5668 | PyObject * _obj2 = 0; | |
5669 | PyObject * _obj3 = 0; | |
5670 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
5671 | ||
5672 | self = self; | |
5673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlDCRenderer_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
5674 | return NULL; | |
5675 | if (_argo0) { | |
5676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetFonts. Expected _wxHtmlDCRenderer_p."); | |
5679 | return NULL; | |
5680 | } | |
5681 | } | |
5682 | { | |
5683 | _arg1 = wxString_in_helper(_obj1); | |
5684 | if (_arg1 == NULL) | |
5685 | return NULL; | |
5686 | } | |
5687 | { | |
5688 | _arg2 = wxString_in_helper(_obj2); | |
5689 | if (_arg2 == NULL) | |
5690 | return NULL; | |
5691 | } | |
5692 | if (_obj3) | |
5693 | { | |
5694 | _arg3 = _obj3; | |
5695 | } | |
5696 | { | |
5697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5698 | wxHtmlDCRenderer_SetFonts(_arg0,*_arg1,*_arg2,_arg3); | |
5699 | ||
5700 | wxPyEndAllowThreads(__tstate); | |
5701 | if (PyErr_Occurred()) return NULL; | |
5702 | } Py_INCREF(Py_None); | |
5703 | _resultobj = Py_None; | |
5704 | { | |
5705 | if (_obj1) | |
5706 | delete _arg1; | |
5707 | } | |
5708 | { | |
5709 | if (_obj2) | |
5710 | delete _arg2; | |
5711 | } | |
5712 | return _resultobj; | |
5713 | } | |
5714 | ||
dc2f8a65 RD |
5715 | #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
5716 | static PyObject *_wrap_wxHtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5717 | PyObject * _resultobj; | |
5718 | int _result; | |
5719 | wxHtmlDCRenderer * _arg0; | |
5720 | int _arg1; | |
5721 | int _arg2; | |
5722 | int _arg3 = (int ) 0; | |
5723 | int _arg4 = (int ) FALSE; | |
5724 | PyObject * _argo0 = 0; | |
5725 | char *_kwnames[] = { "self","x","y","from","dont_render", NULL }; | |
5726 | ||
5727 | self = self; | |
5728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5729 | return NULL; | |
5730 | if (_argo0) { | |
5731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p."); | |
5734 | return NULL; | |
5735 | } | |
5736 | } | |
5737 | { | |
474c48f9 | 5738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5739 | _result = (int )wxHtmlDCRenderer_Render(_arg0,_arg1,_arg2,_arg3,_arg4); |
dc2f8a65 | 5740 | |
474c48f9 RD |
5741 | wxPyEndAllowThreads(__tstate); |
5742 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5743 | } _resultobj = Py_BuildValue("i",_result); |
5744 | return _resultobj; | |
5745 | } | |
5746 | ||
5747 | #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight()) | |
5748 | static PyObject *_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5749 | PyObject * _resultobj; | |
5750 | int _result; | |
5751 | wxHtmlDCRenderer * _arg0; | |
5752 | PyObject * _argo0 = 0; | |
5753 | char *_kwnames[] = { "self", NULL }; | |
5754 | ||
5755 | self = self; | |
5756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames,&_argo0)) | |
5757 | return NULL; | |
5758 | if (_argo0) { | |
5759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
5761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p."); | |
5762 | return NULL; | |
5763 | } | |
5764 | } | |
5765 | { | |
474c48f9 | 5766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5767 | _result = (int )wxHtmlDCRenderer_GetTotalHeight(_arg0); |
dc2f8a65 | 5768 | |
474c48f9 RD |
5769 | wxPyEndAllowThreads(__tstate); |
5770 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5771 | } _resultobj = Py_BuildValue("i",_result); |
5772 | return _resultobj; | |
5773 | } | |
5774 | ||
5775 | static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr) { | |
5776 | wxHtmlPrintout *src; | |
5777 | wxPyPrintout *dest; | |
5778 | src = (wxHtmlPrintout *) ptr; | |
5779 | dest = (wxPyPrintout *) src; | |
5780 | return (void *) dest; | |
5781 | } | |
5782 | ||
9df61a29 RD |
5783 | static void *SwigwxHtmlPrintoutTowxObject(void *ptr) { |
5784 | wxHtmlPrintout *src; | |
5785 | wxObject *dest; | |
5786 | src = (wxHtmlPrintout *) ptr; | |
5787 | dest = (wxObject *) src; | |
5788 | return (void *) dest; | |
5789 | } | |
5790 | ||
dc2f8a65 RD |
5791 | #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0)) |
5792 | static PyObject *_wrap_new_wxHtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5793 | PyObject * _resultobj; | |
5794 | wxHtmlPrintout * _result; | |
9a74fcaf RD |
5795 | wxString * _arg0 = (wxString *) &wxPyHtmlPrintoutTitleStr; |
5796 | PyObject * _obj0 = 0; | |
dc2f8a65 RD |
5797 | char *_kwnames[] = { "title", NULL }; |
5798 | char _ptemp[128]; | |
5799 | ||
5800 | self = self; | |
9a74fcaf | 5801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxHtmlPrintout",_kwnames,&_obj0)) |
dc2f8a65 | 5802 | return NULL; |
9a74fcaf RD |
5803 | if (_obj0) |
5804 | { | |
5805 | _arg0 = wxString_in_helper(_obj0); | |
5806 | if (_arg0 == NULL) | |
5807 | return NULL; | |
5808 | } | |
dc2f8a65 | 5809 | { |
474c48f9 | 5810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 5811 | _result = (wxHtmlPrintout *)new_wxHtmlPrintout(*_arg0); |
dc2f8a65 | 5812 | |
474c48f9 RD |
5813 | wxPyEndAllowThreads(__tstate); |
5814 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5815 | } if (_result) { |
5816 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlPrintout_p"); | |
5817 | _resultobj = Py_BuildValue("s",_ptemp); | |
5818 | } else { | |
5819 | Py_INCREF(Py_None); | |
5820 | _resultobj = Py_None; | |
5821 | } | |
9a74fcaf RD |
5822 | { |
5823 | if (_obj0) | |
5824 | delete _arg0; | |
5825 | } | |
dc2f8a65 RD |
5826 | return _resultobj; |
5827 | } | |
5828 | ||
dc2f8a65 RD |
5829 | #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2)) |
5830 | static PyObject *_wrap_wxHtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5831 | PyObject * _resultobj; | |
5832 | wxHtmlPrintout * _arg0; | |
5833 | wxString * _arg1; | |
9a74fcaf | 5834 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
5835 | bool _arg3 = (bool ) TRUE; |
5836 | PyObject * _argo0 = 0; | |
5837 | PyObject * _obj1 = 0; | |
5838 | PyObject * _obj2 = 0; | |
5839 | int tempbool3 = (int) TRUE; | |
5840 | char *_kwnames[] = { "self","html","basepath","isdir", NULL }; | |
5841 | ||
5842 | self = self; | |
5843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3)) | |
5844 | return NULL; | |
5845 | if (_argo0) { | |
5846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
5848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p."); | |
5849 | return NULL; | |
5850 | } | |
5851 | } | |
5852 | { | |
c8bc7bb8 RD |
5853 | _arg1 = wxString_in_helper(_obj1); |
5854 | if (_arg1 == NULL) | |
dc2f8a65 | 5855 | return NULL; |
dc2f8a65 RD |
5856 | } |
5857 | if (_obj2) | |
5858 | { | |
c8bc7bb8 RD |
5859 | _arg2 = wxString_in_helper(_obj2); |
5860 | if (_arg2 == NULL) | |
2cd2fac8 | 5861 | return NULL; |
dc2f8a65 RD |
5862 | } |
5863 | _arg3 = (bool ) tempbool3; | |
5864 | { | |
474c48f9 | 5865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5866 | wxHtmlPrintout_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3); |
dc2f8a65 | 5867 | |
474c48f9 RD |
5868 | wxPyEndAllowThreads(__tstate); |
5869 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5870 | } Py_INCREF(Py_None); |
5871 | _resultobj = Py_None; | |
5872 | { | |
5873 | if (_obj1) | |
5874 | delete _arg1; | |
5875 | } | |
5876 | { | |
5877 | if (_obj2) | |
5878 | delete _arg2; | |
5879 | } | |
5880 | return _resultobj; | |
5881 | } | |
5882 | ||
5883 | #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0)) | |
5884 | static PyObject *_wrap_wxHtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5885 | PyObject * _resultobj; | |
5886 | wxHtmlPrintout * _arg0; | |
5887 | wxString * _arg1; | |
5888 | PyObject * _argo0 = 0; | |
5889 | PyObject * _obj1 = 0; | |
5890 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
5891 | ||
5892 | self = self; | |
5893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames,&_argo0,&_obj1)) | |
5894 | return NULL; | |
5895 | if (_argo0) { | |
5896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
5898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p."); | |
5899 | return NULL; | |
5900 | } | |
5901 | } | |
5902 | { | |
c8bc7bb8 RD |
5903 | _arg1 = wxString_in_helper(_obj1); |
5904 | if (_arg1 == NULL) | |
2cd2fac8 | 5905 | return NULL; |
dc2f8a65 RD |
5906 | } |
5907 | { | |
474c48f9 | 5908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5909 | wxHtmlPrintout_SetHtmlFile(_arg0,*_arg1); |
dc2f8a65 | 5910 | |
474c48f9 RD |
5911 | wxPyEndAllowThreads(__tstate); |
5912 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5913 | } Py_INCREF(Py_None); |
5914 | _resultobj = Py_None; | |
5915 | { | |
5916 | if (_obj1) | |
5917 | delete _arg1; | |
5918 | } | |
5919 | return _resultobj; | |
5920 | } | |
5921 | ||
5922 | #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1)) | |
5923 | static PyObject *_wrap_wxHtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5924 | PyObject * _resultobj; | |
5925 | wxHtmlPrintout * _arg0; | |
5926 | wxString * _arg1; | |
5927 | int _arg2 = (int ) (wxPAGE_ALL); | |
5928 | PyObject * _argo0 = 0; | |
5929 | PyObject * _obj1 = 0; | |
5930 | char *_kwnames[] = { "self","header","pg", NULL }; | |
5931 | ||
5932 | self = self; | |
5933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5934 | return NULL; | |
5935 | if (_argo0) { | |
5936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
5938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p."); | |
5939 | return NULL; | |
5940 | } | |
5941 | } | |
5942 | { | |
c8bc7bb8 RD |
5943 | _arg1 = wxString_in_helper(_obj1); |
5944 | if (_arg1 == NULL) | |
2cd2fac8 | 5945 | return NULL; |
dc2f8a65 RD |
5946 | } |
5947 | { | |
474c48f9 | 5948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5949 | wxHtmlPrintout_SetHeader(_arg0,*_arg1,_arg2); |
dc2f8a65 | 5950 | |
474c48f9 RD |
5951 | wxPyEndAllowThreads(__tstate); |
5952 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5953 | } Py_INCREF(Py_None); |
5954 | _resultobj = Py_None; | |
5955 | { | |
5956 | if (_obj1) | |
5957 | delete _arg1; | |
5958 | } | |
5959 | return _resultobj; | |
5960 | } | |
5961 | ||
5962 | #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1)) | |
5963 | static PyObject *_wrap_wxHtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5964 | PyObject * _resultobj; | |
5965 | wxHtmlPrintout * _arg0; | |
5966 | wxString * _arg1; | |
5967 | int _arg2 = (int ) (wxPAGE_ALL); | |
5968 | PyObject * _argo0 = 0; | |
5969 | PyObject * _obj1 = 0; | |
5970 | char *_kwnames[] = { "self","footer","pg", NULL }; | |
5971 | ||
5972 | self = self; | |
5973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5974 | return NULL; | |
5975 | if (_argo0) { | |
5976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
5978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p."); | |
5979 | return NULL; | |
5980 | } | |
5981 | } | |
5982 | { | |
c8bc7bb8 RD |
5983 | _arg1 = wxString_in_helper(_obj1); |
5984 | if (_arg1 == NULL) | |
2cd2fac8 | 5985 | return NULL; |
dc2f8a65 RD |
5986 | } |
5987 | { | |
474c48f9 | 5988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5989 | wxHtmlPrintout_SetFooter(_arg0,*_arg1,_arg2); |
dc2f8a65 | 5990 | |
474c48f9 RD |
5991 | wxPyEndAllowThreads(__tstate); |
5992 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
5993 | } Py_INCREF(Py_None); |
5994 | _resultobj = Py_None; | |
5995 | { | |
5996 | if (_obj1) | |
5997 | delete _arg1; | |
5998 | } | |
5999 | return _resultobj; | |
6000 | } | |
6001 | ||
3100de99 RD |
6002 | static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
6003 | int* temp = NULL; | |
6004 | if (sizes) temp = int_LIST_helper(sizes); | |
6005 | self->SetFonts(normal_face, fixed_face, temp); | |
6006 | if (temp) | |
6007 | delete [] temp; | |
6008 | } | |
6009 | static PyObject *_wrap_wxHtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6010 | PyObject * _resultobj; | |
6011 | wxHtmlPrintout * _arg0; | |
6012 | wxString * _arg1; | |
6013 | wxString * _arg2; | |
6014 | PyObject * _arg3 = (PyObject *) NULL; | |
6015 | PyObject * _argo0 = 0; | |
6016 | PyObject * _obj1 = 0; | |
6017 | PyObject * _obj2 = 0; | |
6018 | PyObject * _obj3 = 0; | |
6019 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
6020 | ||
6021 | self = self; | |
6022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlPrintout_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
6023 | return NULL; | |
6024 | if (_argo0) { | |
6025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
6027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFonts. Expected _wxHtmlPrintout_p."); | |
6028 | return NULL; | |
6029 | } | |
6030 | } | |
6031 | { | |
6032 | _arg1 = wxString_in_helper(_obj1); | |
6033 | if (_arg1 == NULL) | |
6034 | return NULL; | |
6035 | } | |
6036 | { | |
6037 | _arg2 = wxString_in_helper(_obj2); | |
6038 | if (_arg2 == NULL) | |
6039 | return NULL; | |
6040 | } | |
6041 | if (_obj3) | |
6042 | { | |
6043 | _arg3 = _obj3; | |
6044 | } | |
6045 | { | |
6046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6047 | wxHtmlPrintout_SetFonts(_arg0,*_arg1,*_arg2,_arg3); | |
6048 | ||
6049 | wxPyEndAllowThreads(__tstate); | |
6050 | if (PyErr_Occurred()) return NULL; | |
6051 | } Py_INCREF(Py_None); | |
6052 | _resultobj = Py_None; | |
6053 | { | |
6054 | if (_obj1) | |
6055 | delete _arg1; | |
6056 | } | |
6057 | { | |
6058 | if (_obj2) | |
6059 | delete _arg2; | |
6060 | } | |
6061 | return _resultobj; | |
6062 | } | |
6063 | ||
dc2f8a65 RD |
6064 | #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
6065 | static PyObject *_wrap_wxHtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6066 | PyObject * _resultobj; | |
6067 | wxHtmlPrintout * _arg0; | |
6068 | float _arg1 = (float ) 25.2; | |
6069 | float _arg2 = (float ) 25.2; | |
6070 | float _arg3 = (float ) 25.2; | |
6071 | float _arg4 = (float ) 25.2; | |
6072 | float _arg5 = (float ) 5; | |
6073 | PyObject * _argo0 = 0; | |
6074 | char *_kwnames[] = { "self","top","bottom","left","right","spaces", NULL }; | |
6075 | ||
6076 | self = self; | |
6077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6078 | return NULL; | |
6079 | if (_argo0) { | |
6080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
6082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p."); | |
6083 | return NULL; | |
6084 | } | |
6085 | } | |
6086 | { | |
474c48f9 | 6087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6088 | wxHtmlPrintout_SetMargins(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
dc2f8a65 | 6089 | |
474c48f9 RD |
6090 | wxPyEndAllowThreads(__tstate); |
6091 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6092 | } Py_INCREF(Py_None); |
6093 | _resultobj = Py_None; | |
6094 | return _resultobj; | |
6095 | } | |
6096 | ||
9df61a29 RD |
6097 | static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr) { |
6098 | wxHtmlEasyPrinting *src; | |
6099 | wxObject *dest; | |
6100 | src = (wxHtmlEasyPrinting *) ptr; | |
6101 | dest = (wxObject *) src; | |
6102 | return (void *) dest; | |
6103 | } | |
6104 | ||
dc2f8a65 RD |
6105 | #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1)) |
6106 | static PyObject *_wrap_new_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6107 | PyObject * _resultobj; | |
6108 | wxHtmlEasyPrinting * _result; | |
9a74fcaf | 6109 | wxString * _arg0 = (wxString *) &wxPyHtmlPrintingTitleStr; |
dc2f8a65 | 6110 | wxFrame * _arg1 = (wxFrame *) NULL; |
9a74fcaf | 6111 | PyObject * _obj0 = 0; |
dc2f8a65 RD |
6112 | PyObject * _argo1 = 0; |
6113 | char *_kwnames[] = { "name","parent_frame", NULL }; | |
6114 | char _ptemp[128]; | |
6115 | ||
6116 | self = self; | |
9a74fcaf RD |
6117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxHtmlEasyPrinting",_kwnames,&_obj0,&_argo1)) |
6118 | return NULL; | |
6119 | if (_obj0) | |
6120 | { | |
6121 | _arg0 = wxString_in_helper(_obj0); | |
6122 | if (_arg0 == NULL) | |
dc2f8a65 | 6123 | return NULL; |
9a74fcaf | 6124 | } |
dc2f8a65 RD |
6125 | if (_argo1) { |
6126 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6127 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
6128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p."); | |
6129 | return NULL; | |
6130 | } | |
6131 | } | |
6132 | { | |
474c48f9 | 6133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9a74fcaf | 6134 | _result = (wxHtmlEasyPrinting *)new_wxHtmlEasyPrinting(*_arg0,_arg1); |
dc2f8a65 | 6135 | |
474c48f9 RD |
6136 | wxPyEndAllowThreads(__tstate); |
6137 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6138 | } if (_result) { |
6139 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlEasyPrinting_p"); | |
6140 | _resultobj = Py_BuildValue("s",_ptemp); | |
6141 | } else { | |
6142 | Py_INCREF(Py_None); | |
6143 | _resultobj = Py_None; | |
6144 | } | |
9a74fcaf RD |
6145 | { |
6146 | if (_obj0) | |
6147 | delete _arg0; | |
6148 | } | |
dc2f8a65 RD |
6149 | return _resultobj; |
6150 | } | |
6151 | ||
6152 | #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj) | |
6153 | static PyObject *_wrap_delete_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6154 | PyObject * _resultobj; | |
6155 | wxHtmlEasyPrinting * _arg0; | |
6156 | PyObject * _argo0 = 0; | |
6157 | char *_kwnames[] = { "self", NULL }; | |
6158 | ||
6159 | self = self; | |
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlEasyPrinting",_kwnames,&_argo0)) | |
6161 | return NULL; | |
6162 | if (_argo0) { | |
6163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p."); | |
6166 | return NULL; | |
6167 | } | |
6168 | } | |
6169 | { | |
474c48f9 | 6170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6171 | delete_wxHtmlEasyPrinting(_arg0); |
dc2f8a65 | 6172 | |
474c48f9 RD |
6173 | wxPyEndAllowThreads(__tstate); |
6174 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6175 | } Py_INCREF(Py_None); |
6176 | _resultobj = Py_None; | |
6177 | return _resultobj; | |
6178 | } | |
6179 | ||
6180 | #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0)) | |
6181 | static PyObject *_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6182 | PyObject * _resultobj; | |
6183 | wxHtmlEasyPrinting * _arg0; | |
6184 | wxString * _arg1; | |
6185 | PyObject * _argo0 = 0; | |
6186 | PyObject * _obj1 = 0; | |
6187 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
6188 | ||
6189 | self = self; | |
6190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames,&_argo0,&_obj1)) | |
6191 | return NULL; | |
6192 | if (_argo0) { | |
6193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p."); | |
6196 | return NULL; | |
6197 | } | |
6198 | } | |
6199 | { | |
c8bc7bb8 RD |
6200 | _arg1 = wxString_in_helper(_obj1); |
6201 | if (_arg1 == NULL) | |
dc2f8a65 | 6202 | return NULL; |
dc2f8a65 RD |
6203 | } |
6204 | { | |
474c48f9 | 6205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6206 | wxHtmlEasyPrinting_PreviewFile(_arg0,*_arg1); |
dc2f8a65 | 6207 | |
474c48f9 RD |
6208 | wxPyEndAllowThreads(__tstate); |
6209 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6210 | } Py_INCREF(Py_None); |
6211 | _resultobj = Py_None; | |
6212 | { | |
6213 | if (_obj1) | |
6214 | delete _arg1; | |
6215 | } | |
6216 | return _resultobj; | |
6217 | } | |
6218 | ||
6219 | #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1)) | |
6220 | static PyObject *_wrap_wxHtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6221 | PyObject * _resultobj; | |
6222 | wxHtmlEasyPrinting * _arg0; | |
6223 | wxString * _arg1; | |
9a74fcaf | 6224 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
6225 | PyObject * _argo0 = 0; |
6226 | PyObject * _obj1 = 0; | |
6227 | PyObject * _obj2 = 0; | |
6228 | char *_kwnames[] = { "self","htmltext","basepath", NULL }; | |
6229 | ||
6230 | self = self; | |
6231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
6232 | return NULL; | |
6233 | if (_argo0) { | |
6234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p."); | |
6237 | return NULL; | |
6238 | } | |
6239 | } | |
6240 | { | |
c8bc7bb8 RD |
6241 | _arg1 = wxString_in_helper(_obj1); |
6242 | if (_arg1 == NULL) | |
2cd2fac8 | 6243 | return NULL; |
dc2f8a65 RD |
6244 | } |
6245 | if (_obj2) | |
6246 | { | |
c8bc7bb8 RD |
6247 | _arg2 = wxString_in_helper(_obj2); |
6248 | if (_arg2 == NULL) | |
dc2f8a65 | 6249 | return NULL; |
dc2f8a65 RD |
6250 | } |
6251 | { | |
474c48f9 | 6252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6253 | wxHtmlEasyPrinting_PreviewText(_arg0,*_arg1,*_arg2); |
dc2f8a65 | 6254 | |
474c48f9 RD |
6255 | wxPyEndAllowThreads(__tstate); |
6256 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6257 | } Py_INCREF(Py_None); |
6258 | _resultobj = Py_None; | |
6259 | { | |
6260 | if (_obj1) | |
6261 | delete _arg1; | |
6262 | } | |
6263 | { | |
6264 | if (_obj2) | |
6265 | delete _arg2; | |
6266 | } | |
6267 | return _resultobj; | |
6268 | } | |
6269 | ||
6270 | #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0)) | |
6271 | static PyObject *_wrap_wxHtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6272 | PyObject * _resultobj; | |
6273 | wxHtmlEasyPrinting * _arg0; | |
6274 | wxString * _arg1; | |
6275 | PyObject * _argo0 = 0; | |
6276 | PyObject * _obj1 = 0; | |
6277 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
6278 | ||
6279 | self = self; | |
6280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames,&_argo0,&_obj1)) | |
6281 | return NULL; | |
6282 | if (_argo0) { | |
6283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p."); | |
6286 | return NULL; | |
6287 | } | |
6288 | } | |
6289 | { | |
c8bc7bb8 RD |
6290 | _arg1 = wxString_in_helper(_obj1); |
6291 | if (_arg1 == NULL) | |
2cd2fac8 | 6292 | return NULL; |
dc2f8a65 RD |
6293 | } |
6294 | { | |
474c48f9 | 6295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6296 | wxHtmlEasyPrinting_PrintFile(_arg0,*_arg1); |
dc2f8a65 | 6297 | |
474c48f9 RD |
6298 | wxPyEndAllowThreads(__tstate); |
6299 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6300 | } Py_INCREF(Py_None); |
6301 | _resultobj = Py_None; | |
6302 | { | |
6303 | if (_obj1) | |
6304 | delete _arg1; | |
6305 | } | |
6306 | return _resultobj; | |
6307 | } | |
6308 | ||
6309 | #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1)) | |
6310 | static PyObject *_wrap_wxHtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6311 | PyObject * _resultobj; | |
6312 | wxHtmlEasyPrinting * _arg0; | |
6313 | wxString * _arg1; | |
9a74fcaf | 6314 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
6315 | PyObject * _argo0 = 0; |
6316 | PyObject * _obj1 = 0; | |
6317 | PyObject * _obj2 = 0; | |
6318 | char *_kwnames[] = { "self","htmltext","basepath", NULL }; | |
6319 | ||
6320 | self = self; | |
6321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
6322 | return NULL; | |
6323 | if (_argo0) { | |
6324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p."); | |
6327 | return NULL; | |
6328 | } | |
6329 | } | |
6330 | { | |
c8bc7bb8 RD |
6331 | _arg1 = wxString_in_helper(_obj1); |
6332 | if (_arg1 == NULL) | |
2cd2fac8 | 6333 | return NULL; |
dc2f8a65 RD |
6334 | } |
6335 | if (_obj2) | |
6336 | { | |
c8bc7bb8 RD |
6337 | _arg2 = wxString_in_helper(_obj2); |
6338 | if (_arg2 == NULL) | |
dc2f8a65 | 6339 | return NULL; |
dc2f8a65 RD |
6340 | } |
6341 | { | |
474c48f9 | 6342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6343 | wxHtmlEasyPrinting_PrintText(_arg0,*_arg1,*_arg2); |
dc2f8a65 | 6344 | |
474c48f9 RD |
6345 | wxPyEndAllowThreads(__tstate); |
6346 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6347 | } Py_INCREF(Py_None); |
6348 | _resultobj = Py_None; | |
6349 | { | |
6350 | if (_obj1) | |
6351 | delete _arg1; | |
6352 | } | |
6353 | { | |
6354 | if (_obj2) | |
6355 | delete _arg2; | |
6356 | } | |
6357 | return _resultobj; | |
6358 | } | |
6359 | ||
6360 | #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup()) | |
6361 | static PyObject *_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6362 | PyObject * _resultobj; | |
6363 | wxHtmlEasyPrinting * _arg0; | |
6364 | PyObject * _argo0 = 0; | |
6365 | char *_kwnames[] = { "self", NULL }; | |
6366 | ||
6367 | self = self; | |
6368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames,&_argo0)) | |
6369 | return NULL; | |
6370 | if (_argo0) { | |
6371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p."); | |
6374 | return NULL; | |
6375 | } | |
6376 | } | |
6377 | { | |
474c48f9 | 6378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6379 | wxHtmlEasyPrinting_PrinterSetup(_arg0); |
dc2f8a65 | 6380 | |
474c48f9 RD |
6381 | wxPyEndAllowThreads(__tstate); |
6382 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6383 | } Py_INCREF(Py_None); |
6384 | _resultobj = Py_None; | |
6385 | return _resultobj; | |
6386 | } | |
6387 | ||
6388 | #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup()) | |
6389 | static PyObject *_wrap_wxHtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6390 | PyObject * _resultobj; | |
6391 | wxHtmlEasyPrinting * _arg0; | |
6392 | PyObject * _argo0 = 0; | |
6393 | char *_kwnames[] = { "self", NULL }; | |
6394 | ||
6395 | self = self; | |
6396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PageSetup",_kwnames,&_argo0)) | |
6397 | return NULL; | |
6398 | if (_argo0) { | |
6399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p."); | |
6402 | return NULL; | |
6403 | } | |
6404 | } | |
6405 | { | |
474c48f9 | 6406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6407 | wxHtmlEasyPrinting_PageSetup(_arg0); |
dc2f8a65 | 6408 | |
474c48f9 RD |
6409 | wxPyEndAllowThreads(__tstate); |
6410 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6411 | } Py_INCREF(Py_None); |
6412 | _resultobj = Py_None; | |
6413 | return _resultobj; | |
6414 | } | |
6415 | ||
6416 | #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1)) | |
6417 | static PyObject *_wrap_wxHtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6418 | PyObject * _resultobj; | |
6419 | wxHtmlEasyPrinting * _arg0; | |
6420 | wxString * _arg1; | |
6421 | int _arg2 = (int ) (wxPAGE_ALL); | |
6422 | PyObject * _argo0 = 0; | |
6423 | PyObject * _obj1 = 0; | |
6424 | char *_kwnames[] = { "self","header","pg", NULL }; | |
6425 | ||
6426 | self = self; | |
6427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2)) | |
6428 | return NULL; | |
6429 | if (_argo0) { | |
6430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p."); | |
6433 | return NULL; | |
6434 | } | |
6435 | } | |
6436 | { | |
c8bc7bb8 RD |
6437 | _arg1 = wxString_in_helper(_obj1); |
6438 | if (_arg1 == NULL) | |
2cd2fac8 | 6439 | return NULL; |
dc2f8a65 RD |
6440 | } |
6441 | { | |
474c48f9 | 6442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6443 | wxHtmlEasyPrinting_SetHeader(_arg0,*_arg1,_arg2); |
dc2f8a65 | 6444 | |
474c48f9 RD |
6445 | wxPyEndAllowThreads(__tstate); |
6446 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6447 | } Py_INCREF(Py_None); |
6448 | _resultobj = Py_None; | |
6449 | { | |
6450 | if (_obj1) | |
6451 | delete _arg1; | |
6452 | } | |
6453 | return _resultobj; | |
6454 | } | |
6455 | ||
6456 | #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1)) | |
6457 | static PyObject *_wrap_wxHtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6458 | PyObject * _resultobj; | |
6459 | wxHtmlEasyPrinting * _arg0; | |
6460 | wxString * _arg1; | |
6461 | int _arg2 = (int ) (wxPAGE_ALL); | |
6462 | PyObject * _argo0 = 0; | |
6463 | PyObject * _obj1 = 0; | |
6464 | char *_kwnames[] = { "self","footer","pg", NULL }; | |
6465 | ||
6466 | self = self; | |
6467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2)) | |
6468 | return NULL; | |
6469 | if (_argo0) { | |
6470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p."); | |
6473 | return NULL; | |
6474 | } | |
6475 | } | |
6476 | { | |
c8bc7bb8 RD |
6477 | _arg1 = wxString_in_helper(_obj1); |
6478 | if (_arg1 == NULL) | |
2cd2fac8 | 6479 | return NULL; |
dc2f8a65 RD |
6480 | } |
6481 | { | |
474c48f9 | 6482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6483 | wxHtmlEasyPrinting_SetFooter(_arg0,*_arg1,_arg2); |
dc2f8a65 | 6484 | |
474c48f9 RD |
6485 | wxPyEndAllowThreads(__tstate); |
6486 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6487 | } Py_INCREF(Py_None); |
6488 | _resultobj = Py_None; | |
6489 | { | |
6490 | if (_obj1) | |
6491 | delete _arg1; | |
6492 | } | |
6493 | return _resultobj; | |
6494 | } | |
6495 | ||
3100de99 RD |
6496 | static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
6497 | int* temp = NULL; | |
6498 | if (sizes) temp = int_LIST_helper(sizes); | |
6499 | self->SetFonts(normal_face, fixed_face, temp); | |
6500 | if (temp) | |
6501 | delete [] temp; | |
6502 | } | |
6503 | static PyObject *_wrap_wxHtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6504 | PyObject * _resultobj; | |
6505 | wxHtmlEasyPrinting * _arg0; | |
6506 | wxString * _arg1; | |
6507 | wxString * _arg2; | |
6508 | PyObject * _arg3 = (PyObject *) NULL; | |
6509 | PyObject * _argo0 = 0; | |
6510 | PyObject * _obj1 = 0; | |
6511 | PyObject * _obj2 = 0; | |
6512 | PyObject * _obj3 = 0; | |
6513 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
6514 | ||
6515 | self = self; | |
6516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlEasyPrinting_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
6517 | return NULL; | |
6518 | if (_argo0) { | |
6519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFonts. Expected _wxHtmlEasyPrinting_p."); | |
6522 | return NULL; | |
6523 | } | |
6524 | } | |
6525 | { | |
6526 | _arg1 = wxString_in_helper(_obj1); | |
6527 | if (_arg1 == NULL) | |
6528 | return NULL; | |
6529 | } | |
6530 | { | |
6531 | _arg2 = wxString_in_helper(_obj2); | |
6532 | if (_arg2 == NULL) | |
6533 | return NULL; | |
6534 | } | |
6535 | if (_obj3) | |
6536 | { | |
6537 | _arg3 = _obj3; | |
6538 | } | |
6539 | { | |
6540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6541 | wxHtmlEasyPrinting_SetFonts(_arg0,*_arg1,*_arg2,_arg3); | |
6542 | ||
6543 | wxPyEndAllowThreads(__tstate); | |
6544 | if (PyErr_Occurred()) return NULL; | |
6545 | } Py_INCREF(Py_None); | |
6546 | _resultobj = Py_None; | |
6547 | { | |
6548 | if (_obj1) | |
6549 | delete _arg1; | |
6550 | } | |
6551 | { | |
6552 | if (_obj2) | |
6553 | delete _arg2; | |
6554 | } | |
6555 | return _resultobj; | |
6556 | } | |
6557 | ||
dc2f8a65 RD |
6558 | #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData()) |
6559 | static PyObject *_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6560 | PyObject * _resultobj; | |
6561 | wxPrintData * _result; | |
6562 | wxHtmlEasyPrinting * _arg0; | |
6563 | PyObject * _argo0 = 0; | |
6564 | char *_kwnames[] = { "self", NULL }; | |
6565 | char _ptemp[128]; | |
6566 | ||
6567 | self = self; | |
6568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames,&_argo0)) | |
6569 | return NULL; | |
6570 | if (_argo0) { | |
6571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p."); | |
6574 | return NULL; | |
6575 | } | |
6576 | } | |
6577 | { | |
474c48f9 | 6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6579 | _result = (wxPrintData *)wxHtmlEasyPrinting_GetPrintData(_arg0); |
dc2f8a65 | 6580 | |
474c48f9 RD |
6581 | wxPyEndAllowThreads(__tstate); |
6582 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6583 | } if (_result) { |
6584 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
6585 | _resultobj = Py_BuildValue("s",_ptemp); | |
6586 | } else { | |
6587 | Py_INCREF(Py_None); | |
6588 | _resultobj = Py_None; | |
6589 | } | |
6590 | return _resultobj; | |
6591 | } | |
6592 | ||
6593 | #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData()) | |
6594 | static PyObject *_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6595 | PyObject * _resultobj; | |
6596 | wxPageSetupDialogData * _result; | |
6597 | wxHtmlEasyPrinting * _arg0; | |
6598 | PyObject * _argo0 = 0; | |
6599 | char *_kwnames[] = { "self", NULL }; | |
6600 | char _ptemp[128]; | |
6601 | ||
6602 | self = self; | |
6603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames,&_argo0)) | |
6604 | return NULL; | |
6605 | if (_argo0) { | |
6606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
6608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p."); | |
6609 | return NULL; | |
6610 | } | |
6611 | } | |
6612 | { | |
474c48f9 | 6613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6614 | _result = (wxPageSetupDialogData *)wxHtmlEasyPrinting_GetPageSetupData(_arg0); |
dc2f8a65 | 6615 | |
474c48f9 RD |
6616 | wxPyEndAllowThreads(__tstate); |
6617 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
6618 | } if (_result) { |
6619 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p"); | |
6620 | _resultobj = Py_BuildValue("s",_ptemp); | |
6621 | } else { | |
6622 | Py_INCREF(Py_None); | |
6623 | _resultobj = Py_None; | |
6624 | } | |
6625 | return _resultobj; | |
6626 | } | |
6627 | ||
325274bb | 6628 | static PyMethodDef htmlcMethods[] = { |
dc2f8a65 RD |
6629 | { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, |
6630 | { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
3100de99 | 6631 | { "wxHtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
6632 | { "wxHtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, |
6633 | { "wxHtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
6634 | { "wxHtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
6635 | { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
6636 | { "wxHtmlEasyPrinting_PrintText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
6637 | { "wxHtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
6638 | { "wxHtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
6639 | { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
6640 | { "delete_wxHtmlEasyPrinting", (PyCFunction) _wrap_delete_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
6641 | { "new_wxHtmlEasyPrinting", (PyCFunction) _wrap_new_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
6642 | { "wxHtmlPrintout_SetMargins", (PyCFunction) _wrap_wxHtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
3100de99 | 6643 | { "wxHtmlPrintout_SetFonts", (PyCFunction) _wrap_wxHtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
6644 | { "wxHtmlPrintout_SetFooter", (PyCFunction) _wrap_wxHtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, |
6645 | { "wxHtmlPrintout_SetHeader", (PyCFunction) _wrap_wxHtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
6646 | { "wxHtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
6647 | { "wxHtmlPrintout_SetHtmlText", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
6648 | { "new_wxHtmlPrintout", (PyCFunction) _wrap_new_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS }, |
6649 | { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_wxHtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
6650 | { "wxHtmlDCRenderer_Render", (PyCFunction) _wrap_wxHtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
3100de99 | 6651 | { "wxHtmlDCRenderer_SetFonts", (PyCFunction) _wrap_wxHtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
6652 | { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_wxHtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, |
6653 | { "wxHtmlDCRenderer_SetSize", (PyCFunction) _wrap_wxHtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
6654 | { "wxHtmlDCRenderer_SetDC", (PyCFunction) _wrap_wxHtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
6655 | { "delete_wxHtmlDCRenderer", (PyCFunction) _wrap_delete_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
6656 | { "new_wxHtmlDCRenderer", (PyCFunction) _wrap_new_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 RD |
6657 | { "wxHtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, |
6658 | { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 | 6659 | { "wxHtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_wxHtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, |
95837b4d | 6660 | { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, |
b67a9327 | 6661 | { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, |
f0972d1e RD |
6662 | { "wxHtmlWindow_HasAnchor", (PyCFunction) _wrap_wxHtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, |
6663 | { "wxHtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_wxHtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
e166644c | 6664 | { "wxHtmlWindow_GetParser", (PyCFunction) _wrap_wxHtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, |
a65c6e14 | 6665 | { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 | 6666 | { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, |
7a446686 RD |
6667 | { "wxHtmlWindow_HistoryCanForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, |
6668 | { "wxHtmlWindow_HistoryCanBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
6669 | { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, |
6670 | { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
6671 | { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
6672 | { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
6673 | { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
6674 | { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
6675 | { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
6676 | { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
6677 | { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
6678 | { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
7a446686 RD |
6679 | { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, |
6680 | { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 6681 | { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, |
3bcd5e1c | 6682 | { "wxHtmlWindow_AppendToPage", (PyCFunction) _wrap_wxHtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, |
1fded56b | 6683 | { "wxHtmlWindow_LoadFile", (PyCFunction) _wrap_wxHtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
6684 | { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, |
6685 | { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 6686 | { "wxHtmlWindow__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
3e212503 RD |
6687 | { "wxHtmlWindow_Create", (PyCFunction) _wrap_wxHtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, |
6688 | { "new_wxPreHtmlWindow", (PyCFunction) _wrap_new_wxPreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 6689 | { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS }, |
b67a9327 RD |
6690 | { "wxHtmlFilter__setCallbackInfo", (PyCFunction) _wrap_wxHtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
6691 | { "new_wxHtmlFilter", (PyCFunction) _wrap_new_wxHtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
e166644c | 6692 | { "new_wxHtmlWidgetCell", (PyCFunction) _wrap_new_wxHtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, |
9df61a29 | 6693 | { "new_wxHtmlFontCell", (PyCFunction) _wrap_new_wxHtmlFontCell, METH_VARARGS | METH_KEYWORDS }, |
9c00cfa3 | 6694 | { "new_wxHtmlColourCell", (PyCFunction) _wrap_new_wxHtmlColourCell, METH_VARARGS | METH_KEYWORDS }, |
e166644c RD |
6695 | { "wxHtmlContainerCell_GetFirstCell", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstCell, METH_VARARGS | METH_KEYWORDS }, |
6696 | { "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, | |
b67a9327 | 6697 | { "wxHtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
e166644c | 6698 | { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
e166644c RD |
6699 | { "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, |
6700 | { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
6701 | { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
6702 | { "wxHtmlContainerCell_SetAlign", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
6703 | { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
6704 | { "wxHtmlContainerCell_GetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
6705 | { "wxHtmlContainerCell_SetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
6706 | { "wxHtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
6707 | { "wxHtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
6708 | { "wxHtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
6709 | { "wxHtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
6710 | { "wxHtmlContainerCell_InsertCell", (PyCFunction) _wrap_wxHtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
6711 | { "new_wxHtmlContainerCell", (PyCFunction) _wrap_new_wxHtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
9df61a29 | 6712 | { "new_wxHtmlWordCell", (PyCFunction) _wrap_new_wxHtmlWordCell, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
6713 | { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_wxHtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, |
6714 | { "wxHtmlCell_AdjustPagebreak", (PyCFunction) _wrap_wxHtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
e166644c RD |
6715 | { "wxHtmlCell_Find", (PyCFunction) _wrap_wxHtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, |
6716 | { "wxHtmlCell_DrawInvisible", (PyCFunction) _wrap_wxHtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
6717 | { "wxHtmlCell_Draw", (PyCFunction) _wrap_wxHtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
6718 | { "wxHtmlCell_Layout", (PyCFunction) _wrap_wxHtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 RD |
6719 | { "wxHtmlCell_SetPos", (PyCFunction) _wrap_wxHtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, |
6720 | { "wxHtmlCell_SetParent", (PyCFunction) _wrap_wxHtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
e166644c RD |
6721 | { "wxHtmlCell_SetNext", (PyCFunction) _wrap_wxHtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, |
6722 | { "wxHtmlCell_SetLink", (PyCFunction) _wrap_wxHtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 | 6723 | { "wxHtmlCell_GetParent", (PyCFunction) _wrap_wxHtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, |
e166644c RD |
6724 | { "wxHtmlCell_GetNext", (PyCFunction) _wrap_wxHtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, |
6725 | { "wxHtmlCell_GetLink", (PyCFunction) _wrap_wxHtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
6726 | { "wxHtmlCell_GetDescent", (PyCFunction) _wrap_wxHtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
6727 | { "wxHtmlCell_GetHeight", (PyCFunction) _wrap_wxHtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
6728 | { "wxHtmlCell_GetWidth", (PyCFunction) _wrap_wxHtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
6729 | { "wxHtmlCell_GetPosY", (PyCFunction) _wrap_wxHtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
6730 | { "wxHtmlCell_GetPosX", (PyCFunction) _wrap_wxHtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
e166644c | 6731 | { "new_wxHtmlCell", (PyCFunction) _wrap_new_wxHtmlCell, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
6732 | { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, |
6733 | { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
6734 | { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 6735 | { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
6736 | { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, |
6737 | { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
6738 | { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
6739 | { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 6740 | { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 | 6741 | { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, |
9c00cfa3 | 6742 | { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
6743 | { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, |
6744 | { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
6745 | { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, |
6746 | { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
6747 | { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
6748 | { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
6749 | { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
6750 | { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
6751 | { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
6752 | { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
6753 | { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
6754 | { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
6755 | { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
6756 | { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
6757 | { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
6758 | { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
6759 | { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
6760 | { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
6761 | { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 | 6762 | { "wxHtmlWinParser_SetContainer", (PyCFunction) _wrap_wxHtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
6763 | { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, |
6764 | { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
6765 | { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
6766 | { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
6767 | { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
6768 | { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
6769 | { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
6770 | { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
6771 | { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
6772 | { "wxHtmlParser_PopTagHandler", (PyCFunction) _wrap_wxHtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, |
6773 | { "wxHtmlParser_PushTagHandler", (PyCFunction) _wrap_wxHtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
6774 | { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, |
6775 | { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
b67a9327 | 6776 | { "wxHtmlParser_StopParsing", (PyCFunction) _wrap_wxHtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
6777 | { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, |
6778 | { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
6779 | { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
6780 | { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
6781 | { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
6782 | { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
6783 | { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
6784 | { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
6785 | { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
6786 | { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
6787 | { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, |
6788 | { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
6789 | { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
6790 | { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
7a446686 RD |
6791 | { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, |
6792 | { "wxHtmlLinkInfo_SetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
e02c03a4 RD |
6793 | { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, |
6794 | { "wxHtmlLinkInfo_GetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 RD |
6795 | { "wxHtmlLinkInfo_GetTarget", (PyCFunction) _wrap_wxHtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, |
6796 | { "wxHtmlLinkInfo_GetHref", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
6797 | { "new_wxHtmlLinkInfo", (PyCFunction) _wrap_new_wxHtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 6798 | { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, |
325274bb RD |
6799 | { NULL, NULL } |
6800 | }; | |
6801 | #ifdef __cplusplus | |
6802 | } | |
6803 | #endif | |
6804 | /* | |
6805 | * This table is used by the pointer type-checker | |
6806 | */ | |
6807 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
325274bb | 6808 | { "_signed_long","_long",0}, |
b1462dfa | 6809 | { "_wxPrintQuality","_wxCoord",0}, |
325274bb RD |
6810 | { "_wxPrintQuality","_int",0}, |
6811 | { "_wxPrintQuality","_signed_int",0}, | |
6812 | { "_wxPrintQuality","_unsigned_int",0}, | |
6813 | { "_wxPrintQuality","_wxWindowID",0}, | |
6814 | { "_wxPrintQuality","_uint",0}, | |
6815 | { "_wxPrintQuality","_EBool",0}, | |
6816 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 6817 | { "_wxPrintQuality","_time_t",0}, |
325274bb | 6818 | { "_byte","_unsigned_char",0}, |
dc2f8a65 | 6819 | { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout}, |
325274bb RD |
6820 | { "_long","_unsigned_long",0}, |
6821 | { "_long","_signed_long",0}, | |
b1462dfa | 6822 | { "_size_t","_wxCoord",0}, |
325274bb | 6823 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 6824 | { "_size_t","_time_t",0}, |
325274bb RD |
6825 | { "_size_t","_unsigned_int",0}, |
6826 | { "_size_t","_int",0}, | |
6827 | { "_size_t","_wxWindowID",0}, | |
6828 | { "_size_t","_uint",0}, | |
0f66a9f3 | 6829 | { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel}, |
b1462dfa | 6830 | { "_uint","_wxCoord",0}, |
325274bb | 6831 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 6832 | { "_uint","_time_t",0}, |
325274bb RD |
6833 | { "_uint","_size_t",0}, |
6834 | { "_uint","_unsigned_int",0}, | |
6835 | { "_uint","_int",0}, | |
6836 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 6837 | { "_wxChar","_char",0}, |
e166644c | 6838 | { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell}, |
9df61a29 | 6839 | { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell}, |
9c00cfa3 | 6840 | { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell}, |
e166644c | 6841 | { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell}, |
9df61a29 | 6842 | { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell}, |
f6bcfd97 | 6843 | { "_char","_wxChar",0}, |
059a841c | 6844 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
0f66a9f3 | 6845 | { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler}, |
b1462dfa | 6846 | { "_EBool","_wxCoord",0}, |
325274bb RD |
6847 | { "_EBool","_wxPrintQuality",0}, |
6848 | { "_EBool","_signed_int",0}, | |
6849 | { "_EBool","_int",0}, | |
6850 | { "_EBool","_wxWindowID",0}, | |
325274bb | 6851 | { "_unsigned_long","_long",0}, |
059a841c | 6852 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
b1462dfa | 6853 | { "_signed_int","_wxCoord",0}, |
325274bb RD |
6854 | { "_signed_int","_wxPrintQuality",0}, |
6855 | { "_signed_int","_EBool",0}, | |
6856 | { "_signed_int","_wxWindowID",0}, | |
6857 | { "_signed_int","_int",0}, | |
f6bcfd97 | 6858 | { "_WXTYPE","_wxDateTime_t",0}, |
325274bb RD |
6859 | { "_WXTYPE","_short",0}, |
6860 | { "_WXTYPE","_signed_short",0}, | |
6861 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 6862 | { "_unsigned_short","_wxDateTime_t",0}, |
325274bb RD |
6863 | { "_unsigned_short","_WXTYPE",0}, |
6864 | { "_unsigned_short","_short",0}, | |
9df61a29 | 6865 | { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject}, |
9df61a29 | 6866 | { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject}, |
9df61a29 | 6867 | { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject}, |
9df61a29 | 6868 | { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject}, |
b67a9327 | 6869 | { "_wxObject","_wxPyHtmlFilter",SwigwxPyHtmlFilterTowxObject}, |
9df61a29 | 6870 | { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject}, |
9df61a29 | 6871 | { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject}, |
9df61a29 | 6872 | { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject}, |
9df61a29 | 6873 | { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject}, |
9df61a29 | 6874 | { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject}, |
9df61a29 | 6875 | { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject}, |
9df61a29 | 6876 | { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject}, |
9df61a29 | 6877 | { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject}, |
9df61a29 | 6878 | { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject}, |
9df61a29 | 6879 | { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject}, |
9df61a29 | 6880 | { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject}, |
9df61a29 | 6881 | { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject}, |
325274bb RD |
6882 | { "_signed_short","_WXTYPE",0}, |
6883 | { "_signed_short","_short",0}, | |
0f66a9f3 | 6884 | { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow}, |
325274bb | 6885 | { "_unsigned_char","_byte",0}, |
b1462dfa | 6886 | { "_unsigned_int","_wxCoord",0}, |
325274bb | 6887 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 6888 | { "_unsigned_int","_time_t",0}, |
325274bb RD |
6889 | { "_unsigned_int","_size_t",0}, |
6890 | { "_unsigned_int","_uint",0}, | |
6891 | { "_unsigned_int","_wxWindowID",0}, | |
6892 | { "_unsigned_int","_int",0}, | |
f6bcfd97 | 6893 | { "_short","_wxDateTime_t",0}, |
325274bb RD |
6894 | { "_short","_WXTYPE",0}, |
6895 | { "_short","_unsigned_short",0}, | |
6896 | { "_short","_signed_short",0}, | |
b1462dfa | 6897 | { "_wxWindowID","_wxCoord",0}, |
325274bb | 6898 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 6899 | { "_wxWindowID","_time_t",0}, |
325274bb RD |
6900 | { "_wxWindowID","_size_t",0}, |
6901 | { "_wxWindowID","_EBool",0}, | |
6902 | { "_wxWindowID","_uint",0}, | |
6903 | { "_wxWindowID","_int",0}, | |
6904 | { "_wxWindowID","_signed_int",0}, | |
6905 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 6906 | { "_int","_wxCoord",0}, |
325274bb | 6907 | { "_int","_wxPrintQuality",0}, |
c368d904 | 6908 | { "_int","_time_t",0}, |
325274bb RD |
6909 | { "_int","_size_t",0}, |
6910 | { "_int","_EBool",0}, | |
6911 | { "_int","_uint",0}, | |
6912 | { "_int","_wxWindowID",0}, | |
6913 | { "_int","_unsigned_int",0}, | |
6914 | { "_int","_signed_int",0}, | |
f6bcfd97 BP |
6915 | { "_wxDateTime_t","_unsigned_short",0}, |
6916 | { "_wxDateTime_t","_short",0}, | |
6917 | { "_wxDateTime_t","_WXTYPE",0}, | |
c368d904 RD |
6918 | { "_time_t","_wxCoord",0}, |
6919 | { "_time_t","_wxPrintQuality",0}, | |
6920 | { "_time_t","_unsigned_int",0}, | |
6921 | { "_time_t","_int",0}, | |
6922 | { "_time_t","_wxWindowID",0}, | |
6923 | { "_time_t","_uint",0}, | |
6924 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
6925 | { "_wxCoord","_int",0}, |
6926 | { "_wxCoord","_signed_int",0}, | |
6927 | { "_wxCoord","_unsigned_int",0}, | |
6928 | { "_wxCoord","_wxWindowID",0}, | |
6929 | { "_wxCoord","_uint",0}, | |
6930 | { "_wxCoord","_EBool",0}, | |
6931 | { "_wxCoord","_size_t",0}, | |
c368d904 | 6932 | { "_wxCoord","_time_t",0}, |
b1462dfa | 6933 | { "_wxCoord","_wxPrintQuality",0}, |
0f66a9f3 | 6934 | { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser}, |
0f66a9f3 | 6935 | { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler}, |
0f66a9f3 | 6936 | { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow}, |
325274bb RD |
6937 | {0,0,0}}; |
6938 | ||
6939 | static PyObject *SWIG_globals; | |
6940 | #ifdef __cplusplus | |
6941 | extern "C" | |
6942 | #endif | |
6943 | SWIGEXPORT(void) inithtmlc() { | |
6944 | PyObject *m, *d; | |
6945 | SWIG_globals = SWIG_newvarlink(); | |
6946 | m = Py_InitModule("htmlc", htmlcMethods); | |
6947 | d = PyModule_GetDict(m); | |
9d8bd15f RD |
6948 | PyDict_SetItemString(d,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT)); |
6949 | PyDict_SetItemString(d,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER)); | |
6950 | PyDict_SetItemString(d,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT)); | |
6951 | PyDict_SetItemString(d,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM)); | |
6952 | PyDict_SetItemString(d,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP)); | |
6953 | PyDict_SetItemString(d,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND)); | |
6954 | PyDict_SetItemString(d,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND)); | |
6955 | PyDict_SetItemString(d,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS)); | |
6956 | PyDict_SetItemString(d,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT)); | |
6957 | PyDict_SetItemString(d,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT)); | |
6958 | PyDict_SetItemString(d,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT)); | |
6959 | PyDict_SetItemString(d,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP)); | |
6960 | PyDict_SetItemString(d,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM)); | |
6961 | PyDict_SetItemString(d,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL)); | |
6962 | PyDict_SetItemString(d,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL)); | |
6963 | PyDict_SetItemString(d,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL)); | |
6964 | PyDict_SetItemString(d,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR)); | |
6965 | PyDict_SetItemString(d,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP)); | |
6966 | PyDict_SetItemString(d,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER)); | |
5d413391 RD |
6967 | PyDict_SetItemString(d,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER)); |
6968 | PyDict_SetItemString(d,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO)); | |
6969 | PyDict_SetItemString(d,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN)); | |
6970 | PyDict_SetItemString(d,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK)); | |
6971 | PyDict_SetItemString(d,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT)); | |
6972 | PyDict_SetItemString(d,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE)); | |
6973 | PyDict_SetItemString(d,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE)); | |
6974 | PyDict_SetItemString(d,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER)); | |
dc2f8a65 RD |
6975 | PyDict_SetItemString(d,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD)); |
6976 | PyDict_SetItemString(d,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN)); | |
6977 | PyDict_SetItemString(d,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL)); | |
e166644c RD |
6978 | |
6979 | ||
2f90df85 | 6980 | inithtmlhelpc(); |
0f66a9f3 | 6981 | |
3a70a282 RD |
6982 | wxClassInfo::CleanUpClasses(); |
6983 | wxClassInfo::InitializeClasses(); | |
9df61a29 RD |
6984 | |
6985 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); | |
6986 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
6987 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
b67a9327 | 6988 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); |
325274bb RD |
6989 | { |
6990 | int i; | |
6991 | for (i = 0; _swig_mapping[i].n1; i++) | |
6992 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
6993 | } | |
6994 | } |