]>
Commit | Line | Data |
---|---|---|
325274bb | 1 | /* |
c368d904 | 2 | * FILE : src/msw/html.cpp |
325274bb RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 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 | |
7e50db3f 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__) | |
c368d904 | 32 | # define SWIGEXPORT(a) a _export |
325274bb | 33 | # else |
c368d904 | 34 | # define SWIGEXPORT(a) a |
325274bb RD |
35 | # endif |
36 | # endif | |
37 | #else | |
c368d904 | 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 | ||
6e2129f9 | 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> |
7e50db3f | 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 | ||
ad48a30e | 73 | if (!target) { |
325274bb | 74 | target = o; |
ad48a30e | 75 | } else if (target == Py_None) { |
325274bb RD |
76 | Py_DECREF(Py_None); |
77 | target = o; | |
ad48a30e | 78 | } else { |
325274bb RD |
79 | if (!PyTuple_Check(target)) { |
80 | o2 = target; | |
81 | target = PyTuple_New(1); | |
82 | PyTuple_SetItem(target, 0, o2); | |
83 | } | |
ad48a30e RD |
84 | o3 = PyTuple_New(1); |
85 | PyTuple_SetItem(o3, 0, o); | |
325274bb RD |
86 | |
87 | o2 = target; | |
ad48a30e RD |
88 | target = PySequence_Concat(o2, o3); |
89 | Py_DECREF(o2); | |
325274bb RD |
90 | Py_DECREF(o3); |
91 | } | |
92 | return target; | |
93 | } | |
94 | ||
137b5242 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 { |
9416aa89 | 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 | ||
9416aa89 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 { |
9416aa89 | 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 | ||
9416aa89 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() { | |
4268f798 | 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 | } | |
4268f798 | 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 | |
4268f798 | 171 | wxPyBeginBlockThreads(); |
0f66a9f3 RD |
172 | PyObject* arg = Py_BuildValue("()"); |
173 | PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL); | |
174 | Py_DECREF(arg); | |
4268f798 | 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 | } | |
7e50db3f 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 { | |
cdf14688 | 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, | |
5a2a9da2 | 252 | long style = wxHW_DEFAULT_STYLE, |
7e50db3f | 253 | const wxString& name = wxPyHtmlWindowNameStr) |
0f66a9f3 | 254 | : wxHtmlWindow(parent, id, pos, size, style, name) {}; |
7b7ac0ab | 255 | wxPyHtmlWindow() : wxHtmlWindow() {}; |
0f66a9f3 | 256 | |
7d0180d4 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 | |
7d0180d4 | 269 | wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type, |
c6c593e8 RD |
270 | const wxString& url, |
271 | wxString *redirect) const; | |
272 | ||
9c00cfa3 | 273 | DEC_PYCALLBACK__STRING(OnSetTitle); |
0122b7e3 RD |
274 | DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover); |
275 | DEC_PYCALLBACK__CELLINTINTME(OnCellClicked); | |
0f66a9f3 RD |
276 | PYPRIVATE; |
277 | }; | |
278 | ||
cdf14688 | 279 | IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow ); |
9c00cfa3 | 280 | IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle); |
0122b7e3 RD |
281 | IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover); |
282 | IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked); | |
283 | ||
0f66a9f3 | 284 | |
9416aa89 | 285 | void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { |
19a97bd6 | 286 | bool found; |
4268f798 | 287 | wxPyBeginBlockThreads(); |
0122b7e3 | 288 | if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) { |
7e50db3f | 289 | PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0); |
1e7ecb7b | 290 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj)); |
de20db99 | 291 | Py_DECREF(obj); |
9c00cfa3 | 292 | } |
4268f798 | 293 | wxPyEndBlockThreads(); |
19a97bd6 | 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 | |
0122b7e3 | 301 | |
c6c593e8 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; | |
a66212dc RD |
310 | PyObject* s = wx2PyString(url); |
311 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iO)", type, s)); | |
312 | Py_DECREF(s); | |
c6c593e8 RD |
313 | if (PyString_Check(ro) |
314 | #if PYTHON_API_VERSION >= 1009 | |
315 | || PyUnicode_Check(ro) | |
316 | #endif | |
317 | ) { | |
a541c325 | 318 | *redirect = Py2wxString(ro); |
c6c593e8 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 | { | |
4268f798 | 353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 354 | wxHtmlWinParser_AddTagHandler(_arg0); |
0f66a9f3 | 355 | |
4268f798 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 | ||
9416aa89 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; | |
137b5242 | 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) | |
185d7c3e | 394 | return NULL; |
9c00cfa3 RD |
395 | } |
396 | { | |
4268f798 | 397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 398 | _result = (wxHtmlLinkInfo *)new_wxHtmlLinkInfo(*_arg0,*_arg1); |
9c00cfa3 | 399 | |
4268f798 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 | { | |
4268f798 | 439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 440 | _result = new wxString (wxHtmlLinkInfo_GetHref(_arg0)); |
9c00cfa3 | 441 | |
4268f798 RD |
442 | wxPyEndAllowThreads(__tstate); |
443 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 | 444 | }{ |
c8bc7bb8 | 445 | #if wxUSE_UNICODE |
7e50db3f | 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 | { | |
4268f798 | 476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 477 | _result = new wxString (wxHtmlLinkInfo_GetTarget(_arg0)); |
9c00cfa3 | 478 | |
4268f798 RD |
479 | wxPyEndAllowThreads(__tstate); |
480 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 | 481 | }{ |
c8bc7bb8 | 482 | #if wxUSE_UNICODE |
7e50db3f | 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 | { | |
4268f798 | 513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 514 | _result = (wxMouseEvent *)wxHtmlLinkInfo_GetEvent(_arg0); |
e02c03a4 | 515 | |
4268f798 RD |
516 | wxPyEndAllowThreads(__tstate); |
517 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 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 | { | |
4268f798 | 542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 543 | _result = (wxHtmlCell *)wxHtmlLinkInfo_GetHtmlCell(_arg0); |
e02c03a4 | 544 | |
4268f798 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 | ||
794c5cb1 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 | { | |
4268f798 | 584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 585 | wxHtmlLinkInfo_SetEvent(_arg0,_arg1); |
794c5cb1 | 586 | |
4268f798 RD |
587 | wxPyEndAllowThreads(__tstate); |
588 | if (PyErr_Occurred()) return NULL; | |
794c5cb1 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 | { | |
4268f798 | 621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 622 | wxHtmlLinkInfo_SetHtmlCell(_arg0,_arg1); |
794c5cb1 | 623 | |
4268f798 RD |
624 | wxPyEndAllowThreads(__tstate); |
625 | if (PyErr_Occurred()) return NULL; | |
794c5cb1 RD |
626 | } Py_INCREF(Py_None); |
627 | _resultobj = Py_None; | |
628 | return _resultobj; | |
629 | } | |
630 | ||
9416aa89 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 | { | |
4268f798 | 658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 659 | _result = new wxString (wxHtmlTag_GetName(_arg0)); |
0f66a9f3 | 660 | |
4268f798 RD |
661 | wxPyEndAllowThreads(__tstate); |
662 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 663 | }{ |
c8bc7bb8 | 664 | #if wxUSE_UNICODE |
7e50db3f | 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) | |
185d7c3e | 699 | return NULL; |
0f66a9f3 RD |
700 | } |
701 | { | |
4268f798 | 702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 703 | _result = (bool )wxHtmlTag_HasParam(_arg0,*_arg1); |
0f66a9f3 | 704 | |
4268f798 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) | |
185d7c3e | 739 | return NULL; |
0f66a9f3 RD |
740 | } |
741 | { | |
4268f798 | 742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 743 | _result = new wxString (wxHtmlTag_GetParam(_arg0,*_arg1,_arg2)); |
0f66a9f3 | 744 | |
4268f798 RD |
745 | wxPyEndAllowThreads(__tstate); |
746 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 747 | }{ |
c8bc7bb8 | 748 | #if wxUSE_UNICODE |
7e50db3f | 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 | { | |
4268f798 | 783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 784 | _result = new wxString (wxHtmlTag_GetAllParams(_arg0)); |
0f66a9f3 | 785 | |
4268f798 RD |
786 | wxPyEndAllowThreads(__tstate); |
787 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 788 | }{ |
c8bc7bb8 | 789 | #if wxUSE_UNICODE |
7e50db3f | 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 | { | |
4268f798 | 820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 821 | _result = (bool )wxHtmlTag_HasEnding(_arg0); |
0f66a9f3 | 822 | |
4268f798 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 | { | |
4268f798 | 848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 849 | _result = (int )wxHtmlTag_GetBeginPos(_arg0); |
0f66a9f3 | 850 | |
4268f798 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 | { | |
4268f798 | 876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 877 | _result = (int )wxHtmlTag_GetEndPos1(_arg0); |
0f66a9f3 | 878 | |
4268f798 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 | { | |
4268f798 | 904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 905 | _result = (int )wxHtmlTag_GetEndPos2(_arg0); |
0f66a9f3 | 906 | |
4268f798 RD |
907 | wxPyEndAllowThreads(__tstate); |
908 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
909 | } _resultobj = Py_BuildValue("i",_result); |
910 | return _resultobj; | |
911 | } | |
912 | ||
9416aa89 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 | { | |
4268f798 | 948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 949 | wxHtmlParser_SetFS(_arg0,_arg1); |
0f66a9f3 | 950 | |
4268f798 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 | { | |
4268f798 | 977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 978 | _result = (wxFileSystem *)wxHtmlParser_GetFS(_arg0); |
0f66a9f3 | 979 | |
4268f798 RD |
980 | wxPyEndAllowThreads(__tstate); |
981 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 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) | |
185d7c3e | 1009 | return NULL; |
0f66a9f3 RD |
1010 | } |
1011 | { | |
4268f798 | 1012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1013 | _result = (wxObject *)wxHtmlParser_Parse(_arg0,*_arg1); |
0f66a9f3 | 1014 | |
4268f798 RD |
1015 | wxPyEndAllowThreads(__tstate); |
1016 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 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) | |
185d7c3e | 1047 | return NULL; |
0f66a9f3 RD |
1048 | } |
1049 | { | |
4268f798 | 1050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1051 | wxHtmlParser_InitParser(_arg0,*_arg1); |
0f66a9f3 | 1052 | |
4268f798 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 | { | |
4268f798 | 1082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1083 | wxHtmlParser_DoneParser(_arg0); |
0f66a9f3 | 1084 | |
4268f798 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 | { | |
4268f798 | 1112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1113 | wxHtmlParser_DoParsing(_arg0,_arg1,_arg2); |
0f66a9f3 | 1114 | |
4268f798 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 | ||
7e50db3f 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 | { | |
4268f798 | 1177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1178 | wxHtmlParser_AddTagHandler(_arg0,_arg1); |
0f66a9f3 | 1179 | |
4268f798 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 | { | |
4268f798 | 1206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1207 | _result = (wxString *)wxHtmlParser_GetSource(_arg0); |
0f66a9f3 | 1208 | |
4268f798 RD |
1209 | wxPyEndAllowThreads(__tstate); |
1210 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 | 1211 | }{ |
c8bc7bb8 | 1212 | #if wxUSE_UNICODE |
7e50db3f | 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) | |
185d7c3e | 1252 | return NULL; |
dc2f8a65 RD |
1253 | } |
1254 | { | |
4268f798 | 1255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1256 | wxHtmlParser_PushTagHandler(_arg0,_arg1,*_arg2); |
dc2f8a65 | 1257 | |
4268f798 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 | { | |
4268f798 | 1287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1288 | wxHtmlParser_PopTagHandler(_arg0); |
dc2f8a65 | 1289 | |
4268f798 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 | ||
9416aa89 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; | |
5a2a9da2 | 1317 | wxPyHtmlWindow * _arg0 = (wxPyHtmlWindow *) NULL; |
0f66a9f3 RD |
1318 | PyObject * _argo0 = 0; |
1319 | char *_kwnames[] = { "wnd", NULL }; | |
1320 | char _ptemp[128]; | |
1321 | ||
1322 | self = self; | |
ce914f73 | 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; } | |
5a2a9da2 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 | { | |
4268f798 | 1333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1334 | _result = (wxHtmlWinParser *)new_wxHtmlWinParser(_arg0); |
0f66a9f3 | 1335 | |
4268f798 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 | { | |
4268f798 | 1375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1376 | wxHtmlWinParser_SetDC(_arg0,_arg1); |
0f66a9f3 | 1377 | |
4268f798 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 | { | |
4268f798 | 1404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1405 | _result = (wxDC *)wxHtmlWinParser_GetDC(_arg0); |
0f66a9f3 | 1406 | |
4268f798 RD |
1407 | wxPyEndAllowThreads(__tstate); |
1408 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 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 | { | |
4268f798 | 1432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1433 | _result = (int )wxHtmlWinParser_GetCharHeight(_arg0); |
0f66a9f3 | 1434 | |
4268f798 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 | { | |
4268f798 | 1460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1461 | _result = (int )wxHtmlWinParser_GetCharWidth(_arg0); |
0f66a9f3 | 1462 | |
4268f798 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; | |
5a2a9da2 | 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 | { | |
4268f798 | 1488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 1489 | _result = (wxPyHtmlWindow *)wxHtmlWinParser_GetWindow(_arg0); |
0f66a9f3 | 1490 | |
4268f798 RD |
1491 | wxPyEndAllowThreads(__tstate); |
1492 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 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) { |
3856ee0b 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; |
3856ee0b | 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; | |
3856ee0b | 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) | |
185d7c3e | 1529 | return NULL; |
0f66a9f3 RD |
1530 | } |
1531 | { | |
c8bc7bb8 RD |
1532 | _arg2 = wxString_in_helper(_obj2); |
1533 | if (_arg2 == NULL) | |
185d7c3e | 1534 | return NULL; |
0f66a9f3 | 1535 | } |
3856ee0b | 1536 | if (_obj3) |
f6bcfd97 BP |
1537 | { |
1538 | _arg3 = _obj3; | |
1539 | } | |
0f66a9f3 | 1540 | { |
4268f798 | 1541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1542 | wxHtmlWinParser_SetFonts(_arg0,*_arg1,*_arg2,_arg3); |
0f66a9f3 | 1543 | |
4268f798 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 | { | |
4268f798 | 1579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1580 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_GetContainer(_arg0); |
0f66a9f3 | 1581 | |
4268f798 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 | { | |
4268f798 | 1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1615 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_OpenContainer(_arg0); |
0f66a9f3 | 1616 | |
4268f798 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 | { | |
4268f798 | 1658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1659 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_SetContainer(_arg0,_arg1); |
dc2f8a65 | 1660 | |
4268f798 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 | { | |
4268f798 | 1693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1694 | _result = (wxHtmlContainerCell *)wxHtmlWinParser_CloseContainer(_arg0); |
0f66a9f3 | 1695 | |
4268f798 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 | { | |
4268f798 | 1727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1728 | _result = (int )wxHtmlWinParser_GetFontSize(_arg0); |
0f66a9f3 | 1729 | |
4268f798 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 | { | |
4268f798 | 1755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1756 | wxHtmlWinParser_SetFontSize(_arg0,_arg1); |
0f66a9f3 | 1757 | |
4268f798 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 | { | |
4268f798 | 1784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1785 | _result = (int )wxHtmlWinParser_GetFontBold(_arg0); |
0f66a9f3 | 1786 | |
4268f798 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 | { | |
4268f798 | 1812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1813 | wxHtmlWinParser_SetFontBold(_arg0,_arg1); |
0f66a9f3 | 1814 | |
4268f798 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 | { | |
4268f798 | 1841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1842 | _result = (int )wxHtmlWinParser_GetFontItalic(_arg0); |
0f66a9f3 | 1843 | |
4268f798 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 | { | |
4268f798 | 1869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1870 | wxHtmlWinParser_SetFontItalic(_arg0,_arg1); |
0f66a9f3 | 1871 | |
4268f798 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 | { | |
4268f798 | 1898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1899 | _result = (int )wxHtmlWinParser_GetFontUnderlined(_arg0); |
0f66a9f3 | 1900 | |
4268f798 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 | { | |
4268f798 | 1926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1927 | wxHtmlWinParser_SetFontUnderlined(_arg0,_arg1); |
0f66a9f3 | 1928 | |
4268f798 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 | { | |
4268f798 | 1955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1956 | _result = (int )wxHtmlWinParser_GetFontFixed(_arg0); |
0f66a9f3 | 1957 | |
4268f798 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 | { | |
4268f798 | 1983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1984 | wxHtmlWinParser_SetFontFixed(_arg0,_arg1); |
0f66a9f3 | 1985 | |
4268f798 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 | { | |
4268f798 | 2012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2013 | _result = (int )wxHtmlWinParser_GetAlign(_arg0); |
0f66a9f3 | 2014 | |
4268f798 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 | { | |
4268f798 | 2040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2041 | wxHtmlWinParser_SetAlign(_arg0,_arg1); |
0f66a9f3 | 2042 | |
4268f798 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 | { | |
4268f798 | 2070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2071 | _result = new wxColour (wxHtmlWinParser_GetLinkColor(_arg0)); |
0f66a9f3 | 2072 | |
4268f798 RD |
2073 | wxPyEndAllowThreads(__tstate); |
2074 | if (PyErr_Occurred()) return NULL; | |
c5943253 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 | { |
4268f798 | 2106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2107 | wxHtmlWinParser_SetLinkColor(_arg0,*_arg1); |
0f66a9f3 | 2108 | |
4268f798 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 | { | |
4268f798 | 2136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2137 | _result = new wxColour (wxHtmlWinParser_GetActualColor(_arg0)); |
0f66a9f3 | 2138 | |
4268f798 RD |
2139 | wxPyEndAllowThreads(__tstate); |
2140 | if (PyErr_Occurred()) return NULL; | |
c5943253 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 | { |
4268f798 | 2172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2173 | wxHtmlWinParser_SetActualColor(_arg0,*_arg1); |
0f66a9f3 | 2174 | |
4268f798 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) | |
185d7c3e | 2204 | return NULL; |
0f66a9f3 RD |
2205 | } |
2206 | { | |
4268f798 | 2207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2208 | wxHtmlWinParser_SetLink(_arg0,*_arg1); |
0f66a9f3 | 2209 | |
4268f798 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 | { | |
4268f798 | 2241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2242 | _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0); |
0f66a9f3 | 2243 | |
4268f798 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 | { | |
4268f798 | 2276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2277 | _result = new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0)); |
9c00cfa3 | 2278 | |
4268f798 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 | ||
9416aa89 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 | { | |
4268f798 | 2305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2306 | _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler(); |
0f66a9f3 | 2307 | |
4268f798 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 | ||
0122b7e3 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; | |
0122b7e3 | 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")) { | |
0122b7e3 | 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 | { |
4268f798 | 2348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2349 | wxHtmlTagHandler__setCallbackInfo(_arg0,_arg1,_arg2); |
0f66a9f3 | 2350 | |
4268f798 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 | { | |
4268f798 | 2385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2386 | wxHtmlTagHandler_SetParser(_arg0,_arg1); |
0f66a9f3 | 2387 | |
4268f798 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 | { | |
4268f798 | 2415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2416 | _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0); |
0f66a9f3 | 2417 | |
4268f798 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) { | |
7e50db3f | 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 | { | |
4268f798 | 2456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2457 | wxHtmlTagHandler_ParseInner(_arg0,*_arg1); |
325274bb | 2458 | |
4268f798 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 | ||
9416aa89 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 | { | |
4268f798 | 2493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2494 | _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler(); |
0f66a9f3 | 2495 | |
4268f798 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 | ||
0122b7e3 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; | |
0122b7e3 | 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")) { | |
0122b7e3 | 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 | { |
4268f798 | 2536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2537 | wxHtmlWinTagHandler__setCallbackInfo(_arg0,_arg1,_arg2); |
0f66a9f3 | 2538 | |
4268f798 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 | { | |
4268f798 | 2573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2574 | wxHtmlWinTagHandler_SetParser(_arg0,_arg1); |
0f66a9f3 | 2575 | |
4268f798 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 | { | |
4268f798 | 2603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2604 | _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0); |
0f66a9f3 | 2605 | |
4268f798 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) { | |
7e50db3f | 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 | { | |
4268f798 | 2644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2645 | wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1); |
0f66a9f3 | 2646 | |
4268f798 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 | |
5a2a9da2 RD |
2654 | #define new_wxHtmlSelection() (new wxHtmlSelection()) |
2655 | static PyObject *_wrap_new_wxHtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2656 | PyObject * _resultobj; |
5a2a9da2 | 2657 | wxHtmlSelection * _result; |
e166644c | 2658 | char *_kwnames[] = { NULL }; |
325274bb RD |
2659 | char _ptemp[128]; |
2660 | ||
2661 | self = self; | |
5a2a9da2 | 2662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlSelection",_kwnames)) |
325274bb RD |
2663 | return NULL; |
2664 | { | |
4268f798 | 2665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 2666 | _result = (wxHtmlSelection *)new_wxHtmlSelection(); |
325274bb | 2667 | |
4268f798 RD |
2668 | wxPyEndAllowThreads(__tstate); |
2669 | if (PyErr_Occurred()) return NULL; | |
325274bb | 2670 | } if (_result) { |
5a2a9da2 | 2671 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlSelection_p"); |
325274bb RD |
2672 | _resultobj = Py_BuildValue("s",_ptemp); |
2673 | } else { | |
2674 | Py_INCREF(Py_None); | |
2675 | _resultobj = Py_None; | |
2676 | } | |
2677 | return _resultobj; | |
2678 | } | |
2679 | ||
5a2a9da2 RD |
2680 | #define delete_wxHtmlSelection(_swigobj) (delete _swigobj) |
2681 | static PyObject *_wrap_delete_wxHtmlSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2682 | PyObject * _resultobj; |
5a2a9da2 | 2683 | wxHtmlSelection * _arg0; |
325274bb | 2684 | PyObject * _argo0 = 0; |
0f66a9f3 | 2685 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
2686 | |
2687 | self = self; | |
5a2a9da2 | 2688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlSelection",_kwnames,&_argo0)) |
325274bb RD |
2689 | return NULL; |
2690 | if (_argo0) { | |
2691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlSelection. Expected _wxHtmlSelection_p."); | |
325274bb RD |
2694 | return NULL; |
2695 | } | |
2696 | } | |
2697 | { | |
4268f798 | 2698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 2699 | delete_wxHtmlSelection(_arg0); |
325274bb | 2700 | |
4268f798 RD |
2701 | wxPyEndAllowThreads(__tstate); |
2702 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
2703 | } Py_INCREF(Py_None); |
2704 | _resultobj = Py_None; | |
325274bb RD |
2705 | return _resultobj; |
2706 | } | |
2707 | ||
5a2a9da2 RD |
2708 | #define wxHtmlSelection_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
2709 | static PyObject *_wrap_wxHtmlSelection_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2710 | PyObject * _resultobj; |
5a2a9da2 RD |
2711 | wxHtmlSelection * _arg0; |
2712 | wxPoint * _arg1; | |
2713 | wxHtmlCell * _arg2; | |
2714 | wxPoint * _arg3; | |
2715 | wxHtmlCell * _arg4; | |
325274bb | 2716 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
2717 | wxPoint temp; |
2718 | PyObject * _obj1 = 0; | |
2719 | PyObject * _argo2 = 0; | |
2720 | wxPoint temp0; | |
2721 | PyObject * _obj3 = 0; | |
2722 | PyObject * _argo4 = 0; | |
2723 | char *_kwnames[] = { "self","fromPos","fromCell","toPos","toCell", NULL }; | |
325274bb RD |
2724 | |
2725 | self = self; | |
5a2a9da2 | 2726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxHtmlSelection_Set",_kwnames,&_argo0,&_obj1,&_argo2,&_obj3,&_argo4)) |
325274bb RD |
2727 | return NULL; |
2728 | if (_argo0) { | |
2729 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2730 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2731 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_Set. Expected _wxHtmlSelection_p."); | |
2732 | return NULL; | |
2733 | } | |
2734 | } | |
2735 | { | |
2736 | _arg1 = &temp; | |
2737 | if (! wxPoint_helper(_obj1, &_arg1)) | |
2738 | return NULL; | |
2739 | } | |
2740 | if (_argo2) { | |
2741 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2742 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxHtmlCell_p")) { | |
2743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlSelection_Set. Expected _wxHtmlCell_p."); | |
2744 | return NULL; | |
2745 | } | |
2746 | } | |
2747 | { | |
2748 | _arg3 = &temp0; | |
2749 | if (! wxPoint_helper(_obj3, &_arg3)) | |
2750 | return NULL; | |
2751 | } | |
2752 | if (_argo4) { | |
2753 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
2754 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlCell_p")) { | |
2755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlSelection_Set. Expected _wxHtmlCell_p."); | |
325274bb RD |
2756 | return NULL; |
2757 | } | |
2758 | } | |
2759 | { | |
4268f798 | 2760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 2761 | wxHtmlSelection_Set(_arg0,*_arg1,_arg2,*_arg3,_arg4); |
325274bb | 2762 | |
4268f798 RD |
2763 | wxPyEndAllowThreads(__tstate); |
2764 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
2765 | } Py_INCREF(Py_None); |
2766 | _resultobj = Py_None; | |
325274bb RD |
2767 | return _resultobj; |
2768 | } | |
2769 | ||
5a2a9da2 RD |
2770 | #define wxHtmlSelection_SetCells(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) |
2771 | static PyObject *_wrap_wxHtmlSelection_SetCells(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 | 2772 | PyObject * _resultobj; |
5a2a9da2 RD |
2773 | wxHtmlSelection * _arg0; |
2774 | wxHtmlCell * _arg1; | |
2775 | wxHtmlCell * _arg2; | |
2776 | PyObject * _argo0 = 0; | |
2777 | PyObject * _argo1 = 0; | |
2778 | PyObject * _argo2 = 0; | |
2779 | char *_kwnames[] = { "self","fromCell","toCell", NULL }; | |
2780 | ||
2781 | self = self; | |
2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlSelection_SetCells",_kwnames,&_argo0,&_argo1,&_argo2)) | |
2783 | return NULL; | |
2784 | if (_argo0) { | |
2785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { | |
2787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_SetCells. Expected _wxHtmlSelection_p."); | |
2788 | return NULL; | |
2789 | } | |
2790 | } | |
2791 | if (_argo1) { | |
2792 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2793 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
2794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlSelection_SetCells. Expected _wxHtmlCell_p."); | |
2795 | return NULL; | |
2796 | } | |
2797 | } | |
2798 | if (_argo2) { | |
2799 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2800 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxHtmlCell_p")) { | |
2801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlSelection_SetCells. Expected _wxHtmlCell_p."); | |
2802 | return NULL; | |
2803 | } | |
2804 | } | |
2805 | { | |
2806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2807 | wxHtmlSelection_SetCells(_arg0,_arg1,_arg2); | |
2808 | ||
2809 | wxPyEndAllowThreads(__tstate); | |
2810 | if (PyErr_Occurred()) return NULL; | |
2811 | } Py_INCREF(Py_None); | |
2812 | _resultobj = Py_None; | |
2813 | return _resultobj; | |
2814 | } | |
2815 | ||
2816 | #define wxHtmlSelection_GetFromCell(_swigobj) (_swigobj->GetFromCell()) | |
2817 | static PyObject *_wrap_wxHtmlSelection_GetFromCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2818 | PyObject * _resultobj; | |
2819 | wxHtmlCell * _result; | |
2820 | wxHtmlSelection * _arg0; | |
0f66a9f3 | 2821 | PyObject * _argo0 = 0; |
e166644c | 2822 | char *_kwnames[] = { "self", NULL }; |
5a2a9da2 | 2823 | char _ptemp[128]; |
0f66a9f3 RD |
2824 | |
2825 | self = self; | |
5a2a9da2 | 2826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_GetFromCell",_kwnames,&_argo0)) |
0f66a9f3 RD |
2827 | return NULL; |
2828 | if (_argo0) { | |
2829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_GetFromCell. Expected _wxHtmlSelection_p."); | |
0f66a9f3 RD |
2832 | return NULL; |
2833 | } | |
2834 | } | |
0f66a9f3 | 2835 | { |
4268f798 | 2836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 2837 | _result = (wxHtmlCell *)wxHtmlSelection_GetFromCell(_arg0); |
0f66a9f3 | 2838 | |
4268f798 RD |
2839 | wxPyEndAllowThreads(__tstate); |
2840 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
2841 | } if (_result) { |
2842 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
2843 | _resultobj = Py_BuildValue("s",_ptemp); | |
2844 | } else { | |
2845 | Py_INCREF(Py_None); | |
2846 | _resultobj = Py_None; | |
2847 | } | |
0f66a9f3 RD |
2848 | return _resultobj; |
2849 | } | |
2850 | ||
5a2a9da2 RD |
2851 | #define wxHtmlSelection_GetToCell(_swigobj) (_swigobj->GetToCell()) |
2852 | static PyObject *_wrap_wxHtmlSelection_GetToCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2853 | PyObject * _resultobj; |
5a2a9da2 RD |
2854 | wxHtmlCell * _result; |
2855 | wxHtmlSelection * _arg0; | |
325274bb | 2856 | PyObject * _argo0 = 0; |
e166644c | 2857 | char *_kwnames[] = { "self", NULL }; |
5a2a9da2 | 2858 | char _ptemp[128]; |
325274bb RD |
2859 | |
2860 | self = self; | |
5a2a9da2 | 2861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_GetToCell",_kwnames,&_argo0)) |
325274bb RD |
2862 | return NULL; |
2863 | if (_argo0) { | |
2864 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2865 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_GetToCell. Expected _wxHtmlSelection_p."); | |
325274bb RD |
2867 | return NULL; |
2868 | } | |
2869 | } | |
2870 | { | |
4268f798 | 2871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 2872 | _result = (wxHtmlCell *)wxHtmlSelection_GetToCell(_arg0); |
325274bb | 2873 | |
4268f798 RD |
2874 | wxPyEndAllowThreads(__tstate); |
2875 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
2876 | } if (_result) { |
2877 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
2878 | _resultobj = Py_BuildValue("s",_ptemp); | |
2879 | } else { | |
2880 | Py_INCREF(Py_None); | |
2881 | _resultobj = Py_None; | |
2882 | } | |
325274bb RD |
2883 | return _resultobj; |
2884 | } | |
2885 | ||
5a2a9da2 RD |
2886 | #define wxHtmlSelection_GetFromPos(_swigobj) (_swigobj->GetFromPos()) |
2887 | static PyObject *_wrap_wxHtmlSelection_GetFromPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2888 | PyObject * _resultobj; |
5a2a9da2 RD |
2889 | wxPoint * _result; |
2890 | wxHtmlSelection * _arg0; | |
325274bb | 2891 | PyObject * _argo0 = 0; |
e166644c | 2892 | char *_kwnames[] = { "self", NULL }; |
5a2a9da2 | 2893 | char _ptemp[128]; |
325274bb RD |
2894 | |
2895 | self = self; | |
5a2a9da2 | 2896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_GetFromPos",_kwnames,&_argo0)) |
325274bb RD |
2897 | return NULL; |
2898 | if (_argo0) { | |
2899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_GetFromPos. Expected _wxHtmlSelection_p."); | |
325274bb RD |
2902 | return NULL; |
2903 | } | |
2904 | } | |
2905 | { | |
4268f798 | 2906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 RD |
2907 | const wxPoint & _result_ref = wxHtmlSelection_GetFromPos(_arg0); |
2908 | _result = (wxPoint *) &_result_ref; | |
325274bb | 2909 | |
4268f798 RD |
2910 | wxPyEndAllowThreads(__tstate); |
2911 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
2912 | } if (_result) { |
2913 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
2914 | _resultobj = Py_BuildValue("s",_ptemp); | |
2915 | } else { | |
2916 | Py_INCREF(Py_None); | |
2917 | _resultobj = Py_None; | |
2918 | } | |
325274bb RD |
2919 | return _resultobj; |
2920 | } | |
2921 | ||
5a2a9da2 RD |
2922 | #define wxHtmlSelection_GetToPos(_swigobj) (_swigobj->GetToPos()) |
2923 | static PyObject *_wrap_wxHtmlSelection_GetToPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2924 | PyObject * _resultobj; |
5a2a9da2 RD |
2925 | wxPoint * _result; |
2926 | wxHtmlSelection * _arg0; | |
325274bb | 2927 | PyObject * _argo0 = 0; |
5a2a9da2 | 2928 | char *_kwnames[] = { "self", NULL }; |
9c00cfa3 | 2929 | char _ptemp[128]; |
325274bb RD |
2930 | |
2931 | self = self; | |
5a2a9da2 | 2932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_GetToPos",_kwnames,&_argo0)) |
325274bb RD |
2933 | return NULL; |
2934 | if (_argo0) { | |
2935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_GetToPos. Expected _wxHtmlSelection_p."); | |
325274bb RD |
2938 | return NULL; |
2939 | } | |
2940 | } | |
2941 | { | |
4268f798 | 2942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 RD |
2943 | const wxPoint & _result_ref = wxHtmlSelection_GetToPos(_arg0); |
2944 | _result = (wxPoint *) &_result_ref; | |
325274bb | 2945 | |
4268f798 RD |
2946 | wxPyEndAllowThreads(__tstate); |
2947 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 | 2948 | } if (_result) { |
5a2a9da2 | 2949 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); |
9c00cfa3 RD |
2950 | _resultobj = Py_BuildValue("s",_ptemp); |
2951 | } else { | |
2952 | Py_INCREF(Py_None); | |
2953 | _resultobj = Py_None; | |
2954 | } | |
325274bb RD |
2955 | return _resultobj; |
2956 | } | |
2957 | ||
5a2a9da2 RD |
2958 | #define wxHtmlSelection_GetFromPrivPos(_swigobj) (_swigobj->GetFromPrivPos()) |
2959 | static PyObject *_wrap_wxHtmlSelection_GetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2960 | PyObject * _resultobj; |
5a2a9da2 RD |
2961 | wxPoint * _result; |
2962 | wxHtmlSelection * _arg0; | |
325274bb | 2963 | PyObject * _argo0 = 0; |
e166644c RD |
2964 | char *_kwnames[] = { "self", NULL }; |
2965 | char _ptemp[128]; | |
325274bb RD |
2966 | |
2967 | self = self; | |
5a2a9da2 | 2968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_GetFromPrivPos",_kwnames,&_argo0)) |
325274bb RD |
2969 | return NULL; |
2970 | if (_argo0) { | |
2971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
2972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
2973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_GetFromPrivPos. Expected _wxHtmlSelection_p."); | |
325274bb RD |
2974 | return NULL; |
2975 | } | |
2976 | } | |
2977 | { | |
4268f798 | 2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 RD |
2979 | const wxPoint & _result_ref = wxHtmlSelection_GetFromPrivPos(_arg0); |
2980 | _result = (wxPoint *) &_result_ref; | |
325274bb | 2981 | |
4268f798 RD |
2982 | wxPyEndAllowThreads(__tstate); |
2983 | if (PyErr_Occurred()) return NULL; | |
e166644c | 2984 | } if (_result) { |
5a2a9da2 | 2985 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); |
e166644c RD |
2986 | _resultobj = Py_BuildValue("s",_ptemp); |
2987 | } else { | |
2988 | Py_INCREF(Py_None); | |
2989 | _resultobj = Py_None; | |
2990 | } | |
325274bb RD |
2991 | return _resultobj; |
2992 | } | |
2993 | ||
5a2a9da2 RD |
2994 | #define wxHtmlSelection_GetToPrivPos(_swigobj) (_swigobj->GetToPrivPos()) |
2995 | static PyObject *_wrap_wxHtmlSelection_GetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
325274bb | 2996 | PyObject * _resultobj; |
5a2a9da2 RD |
2997 | wxPoint * _result; |
2998 | wxHtmlSelection * _arg0; | |
325274bb | 2999 | PyObject * _argo0 = 0; |
9c00cfa3 RD |
3000 | char *_kwnames[] = { "self", NULL }; |
3001 | char _ptemp[128]; | |
325274bb RD |
3002 | |
3003 | self = self; | |
5a2a9da2 | 3004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_GetToPrivPos",_kwnames,&_argo0)) |
325274bb RD |
3005 | return NULL; |
3006 | if (_argo0) { | |
3007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
3008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
3009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_GetToPrivPos. Expected _wxHtmlSelection_p."); | |
325274bb RD |
3010 | return NULL; |
3011 | } | |
3012 | } | |
3013 | { | |
4268f798 | 3014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 RD |
3015 | const wxPoint & _result_ref = wxHtmlSelection_GetToPrivPos(_arg0); |
3016 | _result = (wxPoint *) &_result_ref; | |
325274bb | 3017 | |
4268f798 RD |
3018 | wxPyEndAllowThreads(__tstate); |
3019 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 | 3020 | } if (_result) { |
5a2a9da2 | 3021 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); |
9c00cfa3 RD |
3022 | _resultobj = Py_BuildValue("s",_ptemp); |
3023 | } else { | |
3024 | Py_INCREF(Py_None); | |
3025 | _resultobj = Py_None; | |
3026 | } | |
e166644c RD |
3027 | return _resultobj; |
3028 | } | |
3029 | ||
5a2a9da2 RD |
3030 | #define wxHtmlSelection_SetFromPrivPos(_swigobj,_swigarg0) (_swigobj->SetFromPrivPos(_swigarg0)) |
3031 | static PyObject *_wrap_wxHtmlSelection_SetFromPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c | 3032 | PyObject * _resultobj; |
5a2a9da2 RD |
3033 | wxHtmlSelection * _arg0; |
3034 | wxPoint * _arg1; | |
e166644c | 3035 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
3036 | wxPoint temp; |
3037 | PyObject * _obj1 = 0; | |
3038 | char *_kwnames[] = { "self","pos", NULL }; | |
e166644c RD |
3039 | |
3040 | self = self; | |
5a2a9da2 | 3041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlSelection_SetFromPrivPos",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
3042 | return NULL; |
3043 | if (_argo0) { | |
3044 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
3045 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
3046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_SetFromPrivPos. Expected _wxHtmlSelection_p."); | |
e166644c RD |
3047 | return NULL; |
3048 | } | |
3049 | } | |
5a2a9da2 RD |
3050 | { |
3051 | _arg1 = &temp; | |
3052 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3053 | return NULL; | |
3054 | } | |
3055 | { | |
3056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3057 | wxHtmlSelection_SetFromPrivPos(_arg0,*_arg1); | |
3058 | ||
3059 | wxPyEndAllowThreads(__tstate); | |
3060 | if (PyErr_Occurred()) return NULL; | |
3061 | } Py_INCREF(Py_None); | |
3062 | _resultobj = Py_None; | |
3063 | return _resultobj; | |
3064 | } | |
3065 | ||
3066 | #define wxHtmlSelection_SetToPrivPos(_swigobj,_swigarg0) (_swigobj->SetToPrivPos(_swigarg0)) | |
3067 | static PyObject *_wrap_wxHtmlSelection_SetToPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3068 | PyObject * _resultobj; | |
3069 | wxHtmlSelection * _arg0; | |
3070 | wxPoint * _arg1; | |
3071 | PyObject * _argo0 = 0; | |
3072 | wxPoint temp; | |
3073 | PyObject * _obj1 = 0; | |
3074 | char *_kwnames[] = { "self","pos", NULL }; | |
3075 | ||
3076 | self = self; | |
3077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlSelection_SetToPrivPos",_kwnames,&_argo0,&_obj1)) | |
3078 | return NULL; | |
3079 | if (_argo0) { | |
3080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { | |
3082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_SetToPrivPos. Expected _wxHtmlSelection_p."); | |
e166644c | 3083 | return NULL; |
9c00cfa3 | 3084 | } |
e166644c | 3085 | } |
5a2a9da2 RD |
3086 | { |
3087 | _arg1 = &temp; | |
3088 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3089 | return NULL; | |
3090 | } | |
e166644c | 3091 | { |
4268f798 | 3092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 3093 | wxHtmlSelection_SetToPrivPos(_arg0,*_arg1); |
e166644c | 3094 | |
4268f798 RD |
3095 | wxPyEndAllowThreads(__tstate); |
3096 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
3097 | } Py_INCREF(Py_None); |
3098 | _resultobj = Py_None; | |
e166644c RD |
3099 | return _resultobj; |
3100 | } | |
3101 | ||
5a2a9da2 RD |
3102 | #define wxHtmlSelection_ClearPrivPos(_swigobj) (_swigobj->ClearPrivPos()) |
3103 | static PyObject *_wrap_wxHtmlSelection_ClearPrivPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c | 3104 | PyObject * _resultobj; |
5a2a9da2 | 3105 | wxHtmlSelection * _arg0; |
e166644c | 3106 | PyObject * _argo0 = 0; |
5a2a9da2 | 3107 | char *_kwnames[] = { "self", NULL }; |
e166644c RD |
3108 | |
3109 | self = self; | |
5a2a9da2 | 3110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_ClearPrivPos",_kwnames,&_argo0)) |
e166644c RD |
3111 | return NULL; |
3112 | if (_argo0) { | |
3113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5a2a9da2 RD |
3114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { |
3115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_ClearPrivPos. Expected _wxHtmlSelection_p."); | |
e166644c RD |
3116 | return NULL; |
3117 | } | |
3118 | } | |
5a2a9da2 RD |
3119 | { |
3120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3121 | wxHtmlSelection_ClearPrivPos(_arg0); | |
3122 | ||
3123 | wxPyEndAllowThreads(__tstate); | |
3124 | if (PyErr_Occurred()) return NULL; | |
3125 | } Py_INCREF(Py_None); | |
3126 | _resultobj = Py_None; | |
3127 | return _resultobj; | |
3128 | } | |
3129 | ||
3130 | #define wxHtmlSelection_IsEmpty(_swigobj) (_swigobj->IsEmpty()) | |
3131 | static PyObject *_wrap_wxHtmlSelection_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3132 | PyObject * _resultobj; | |
3133 | bool _result; | |
3134 | wxHtmlSelection * _arg0; | |
3135 | PyObject * _argo0 = 0; | |
3136 | char *_kwnames[] = { "self", NULL }; | |
3137 | ||
3138 | self = self; | |
3139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlSelection_IsEmpty",_kwnames,&_argo0)) | |
3140 | return NULL; | |
3141 | if (_argo0) { | |
3142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlSelection_p")) { | |
3144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlSelection_IsEmpty. Expected _wxHtmlSelection_p."); | |
3145 | return NULL; | |
3146 | } | |
3147 | } | |
3148 | { | |
3149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3150 | _result = (bool )wxHtmlSelection_IsEmpty(_arg0); | |
3151 | ||
3152 | wxPyEndAllowThreads(__tstate); | |
3153 | if (PyErr_Occurred()) return NULL; | |
3154 | } _resultobj = Py_BuildValue("i",_result); | |
3155 | return _resultobj; | |
3156 | } | |
3157 | ||
3158 | #define new_wxHtmlRenderingState() (new wxHtmlRenderingState()) | |
3159 | static PyObject *_wrap_new_wxHtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3160 | PyObject * _resultobj; | |
3161 | wxHtmlRenderingState * _result; | |
3162 | char *_kwnames[] = { NULL }; | |
3163 | char _ptemp[128]; | |
3164 | ||
3165 | self = self; | |
3166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlRenderingState",_kwnames)) | |
3167 | return NULL; | |
3168 | { | |
3169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3170 | _result = (wxHtmlRenderingState *)new_wxHtmlRenderingState(); | |
3171 | ||
3172 | wxPyEndAllowThreads(__tstate); | |
3173 | if (PyErr_Occurred()) return NULL; | |
3174 | } if (_result) { | |
3175 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlRenderingState_p"); | |
3176 | _resultobj = Py_BuildValue("s",_ptemp); | |
3177 | } else { | |
3178 | Py_INCREF(Py_None); | |
3179 | _resultobj = Py_None; | |
3180 | } | |
3181 | return _resultobj; | |
3182 | } | |
3183 | ||
3184 | #define delete_wxHtmlRenderingState(_swigobj) (delete _swigobj) | |
3185 | static PyObject *_wrap_delete_wxHtmlRenderingState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3186 | PyObject * _resultobj; | |
3187 | wxHtmlRenderingState * _arg0; | |
3188 | PyObject * _argo0 = 0; | |
3189 | char *_kwnames[] = { "self", NULL }; | |
3190 | ||
3191 | self = self; | |
3192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlRenderingState",_kwnames,&_argo0)) | |
3193 | return NULL; | |
3194 | if (_argo0) { | |
3195 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3196 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlRenderingState. Expected _wxHtmlRenderingState_p."); | |
3198 | return NULL; | |
3199 | } | |
3200 | } | |
3201 | { | |
3202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3203 | delete_wxHtmlRenderingState(_arg0); | |
3204 | ||
3205 | wxPyEndAllowThreads(__tstate); | |
3206 | if (PyErr_Occurred()) return NULL; | |
3207 | } Py_INCREF(Py_None); | |
3208 | _resultobj = Py_None; | |
3209 | return _resultobj; | |
3210 | } | |
3211 | ||
3212 | #define wxHtmlRenderingState_SetSelectionState(_swigobj,_swigarg0) (_swigobj->SetSelectionState(_swigarg0)) | |
3213 | static PyObject *_wrap_wxHtmlRenderingState_SetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3214 | PyObject * _resultobj; | |
3215 | wxHtmlRenderingState * _arg0; | |
3216 | wxHtmlSelectionState _arg1; | |
3217 | PyObject * _argo0 = 0; | |
3218 | char *_kwnames[] = { "self","s", NULL }; | |
3219 | ||
3220 | self = self; | |
3221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlRenderingState_SetSelectionState",_kwnames,&_argo0,&_arg1)) | |
3222 | return NULL; | |
3223 | if (_argo0) { | |
3224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingState_SetSelectionState. Expected _wxHtmlRenderingState_p."); | |
3227 | return NULL; | |
3228 | } | |
3229 | } | |
3230 | { | |
3231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3232 | wxHtmlRenderingState_SetSelectionState(_arg0,_arg1); | |
3233 | ||
3234 | wxPyEndAllowThreads(__tstate); | |
3235 | if (PyErr_Occurred()) return NULL; | |
3236 | } Py_INCREF(Py_None); | |
3237 | _resultobj = Py_None; | |
3238 | return _resultobj; | |
3239 | } | |
3240 | ||
3241 | #define wxHtmlRenderingState_GetSelectionState(_swigobj) (_swigobj->GetSelectionState()) | |
3242 | static PyObject *_wrap_wxHtmlRenderingState_GetSelectionState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3243 | PyObject * _resultobj; | |
3244 | wxHtmlSelectionState _result; | |
3245 | wxHtmlRenderingState * _arg0; | |
3246 | PyObject * _argo0 = 0; | |
3247 | char *_kwnames[] = { "self", NULL }; | |
3248 | ||
3249 | self = self; | |
3250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlRenderingState_GetSelectionState",_kwnames,&_argo0)) | |
3251 | return NULL; | |
3252 | if (_argo0) { | |
3253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingState_GetSelectionState. Expected _wxHtmlRenderingState_p."); | |
3256 | return NULL; | |
3257 | } | |
3258 | } | |
3259 | { | |
3260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3261 | _result = (wxHtmlSelectionState )wxHtmlRenderingState_GetSelectionState(_arg0); | |
3262 | ||
3263 | wxPyEndAllowThreads(__tstate); | |
3264 | if (PyErr_Occurred()) return NULL; | |
3265 | } _resultobj = Py_BuildValue("i",_result); | |
3266 | return _resultobj; | |
3267 | } | |
3268 | ||
3269 | #define wxHtmlRenderingState_SetFgColour(_swigobj,_swigarg0) (_swigobj->SetFgColour(_swigarg0)) | |
3270 | static PyObject *_wrap_wxHtmlRenderingState_SetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3271 | PyObject * _resultobj; | |
3272 | wxHtmlRenderingState * _arg0; | |
3273 | wxColour * _arg1; | |
3274 | PyObject * _argo0 = 0; | |
3275 | wxColour temp; | |
3276 | PyObject * _obj1 = 0; | |
3277 | char *_kwnames[] = { "self","c", NULL }; | |
3278 | ||
3279 | self = self; | |
3280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlRenderingState_SetFgColour",_kwnames,&_argo0,&_obj1)) | |
3281 | return NULL; | |
3282 | if (_argo0) { | |
3283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingState_SetFgColour. Expected _wxHtmlRenderingState_p."); | |
3286 | return NULL; | |
3287 | } | |
3288 | } | |
3289 | { | |
3290 | _arg1 = &temp; | |
3291 | if (! wxColour_helper(_obj1, &_arg1)) | |
3292 | return NULL; | |
3293 | } | |
3294 | { | |
3295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3296 | wxHtmlRenderingState_SetFgColour(_arg0,*_arg1); | |
3297 | ||
3298 | wxPyEndAllowThreads(__tstate); | |
3299 | if (PyErr_Occurred()) return NULL; | |
3300 | } Py_INCREF(Py_None); | |
3301 | _resultobj = Py_None; | |
3302 | return _resultobj; | |
3303 | } | |
3304 | ||
3305 | #define wxHtmlRenderingState_GetFgColour(_swigobj) (_swigobj->GetFgColour()) | |
3306 | static PyObject *_wrap_wxHtmlRenderingState_GetFgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3307 | PyObject * _resultobj; | |
3308 | wxColour * _result; | |
3309 | wxHtmlRenderingState * _arg0; | |
3310 | PyObject * _argo0 = 0; | |
3311 | char *_kwnames[] = { "self", NULL }; | |
3312 | char _ptemp[128]; | |
3313 | ||
3314 | self = self; | |
3315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlRenderingState_GetFgColour",_kwnames,&_argo0)) | |
3316 | return NULL; | |
3317 | if (_argo0) { | |
3318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingState_GetFgColour. Expected _wxHtmlRenderingState_p."); | |
3321 | return NULL; | |
3322 | } | |
3323 | } | |
3324 | { | |
3325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3326 | const wxColour & _result_ref = wxHtmlRenderingState_GetFgColour(_arg0); | |
3327 | _result = (wxColour *) &_result_ref; | |
3328 | ||
3329 | wxPyEndAllowThreads(__tstate); | |
3330 | if (PyErr_Occurred()) return NULL; | |
3331 | } if (_result) { | |
3332 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
3333 | _resultobj = Py_BuildValue("s",_ptemp); | |
3334 | } else { | |
3335 | Py_INCREF(Py_None); | |
3336 | _resultobj = Py_None; | |
3337 | } | |
3338 | return _resultobj; | |
3339 | } | |
3340 | ||
3341 | #define wxHtmlRenderingState_SetBgColour(_swigobj,_swigarg0) (_swigobj->SetBgColour(_swigarg0)) | |
3342 | static PyObject *_wrap_wxHtmlRenderingState_SetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3343 | PyObject * _resultobj; | |
3344 | wxHtmlRenderingState * _arg0; | |
3345 | wxColour * _arg1; | |
3346 | PyObject * _argo0 = 0; | |
3347 | wxColour temp; | |
3348 | PyObject * _obj1 = 0; | |
3349 | char *_kwnames[] = { "self","c", NULL }; | |
3350 | ||
3351 | self = self; | |
3352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlRenderingState_SetBgColour",_kwnames,&_argo0,&_obj1)) | |
3353 | return NULL; | |
3354 | if (_argo0) { | |
3355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingState_SetBgColour. Expected _wxHtmlRenderingState_p."); | |
3358 | return NULL; | |
3359 | } | |
3360 | } | |
3361 | { | |
3362 | _arg1 = &temp; | |
3363 | if (! wxColour_helper(_obj1, &_arg1)) | |
3364 | return NULL; | |
3365 | } | |
3366 | { | |
3367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3368 | wxHtmlRenderingState_SetBgColour(_arg0,*_arg1); | |
3369 | ||
3370 | wxPyEndAllowThreads(__tstate); | |
3371 | if (PyErr_Occurred()) return NULL; | |
3372 | } Py_INCREF(Py_None); | |
3373 | _resultobj = Py_None; | |
3374 | return _resultobj; | |
3375 | } | |
3376 | ||
3377 | #define wxHtmlRenderingState_GetBgColour(_swigobj) (_swigobj->GetBgColour()) | |
3378 | static PyObject *_wrap_wxHtmlRenderingState_GetBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3379 | PyObject * _resultobj; | |
3380 | wxColour * _result; | |
3381 | wxHtmlRenderingState * _arg0; | |
3382 | PyObject * _argo0 = 0; | |
3383 | char *_kwnames[] = { "self", NULL }; | |
3384 | char _ptemp[128]; | |
3385 | ||
3386 | self = self; | |
3387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlRenderingState_GetBgColour",_kwnames,&_argo0)) | |
3388 | return NULL; | |
3389 | if (_argo0) { | |
3390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingState_p")) { | |
3392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingState_GetBgColour. Expected _wxHtmlRenderingState_p."); | |
3393 | return NULL; | |
3394 | } | |
3395 | } | |
3396 | { | |
3397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3398 | const wxColour & _result_ref = wxHtmlRenderingState_GetBgColour(_arg0); | |
3399 | _result = (wxColour *) &_result_ref; | |
3400 | ||
3401 | wxPyEndAllowThreads(__tstate); | |
3402 | if (PyErr_Occurred()) return NULL; | |
3403 | } if (_result) { | |
3404 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
3405 | _resultobj = Py_BuildValue("s",_ptemp); | |
3406 | } else { | |
3407 | Py_INCREF(Py_None); | |
3408 | _resultobj = Py_None; | |
3409 | } | |
3410 | return _resultobj; | |
3411 | } | |
3412 | ||
3413 | #define wxHtmlRenderingStyle_GetSelectedTextColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextColour(_swigarg0)) | |
3414 | static PyObject *_wrap_wxHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3415 | PyObject * _resultobj; | |
3416 | wxColour * _result; | |
3417 | wxHtmlRenderingStyle * _arg0; | |
3418 | wxColour * _arg1; | |
3419 | PyObject * _argo0 = 0; | |
3420 | wxColour temp; | |
3421 | PyObject * _obj1 = 0; | |
3422 | char *_kwnames[] = { "self","clr", NULL }; | |
3423 | char _ptemp[128]; | |
3424 | ||
3425 | self = self; | |
3426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlRenderingStyle_GetSelectedTextColour",_kwnames,&_argo0,&_obj1)) | |
3427 | return NULL; | |
3428 | if (_argo0) { | |
3429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingStyle_p")) { | |
3431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingStyle_GetSelectedTextColour. Expected _wxHtmlRenderingStyle_p."); | |
3432 | return NULL; | |
3433 | } | |
3434 | } | |
3435 | { | |
3436 | _arg1 = &temp; | |
3437 | if (! wxColour_helper(_obj1, &_arg1)) | |
3438 | return NULL; | |
3439 | } | |
3440 | { | |
3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3442 | _result = new wxColour (wxHtmlRenderingStyle_GetSelectedTextColour(_arg0,*_arg1)); | |
3443 | ||
3444 | wxPyEndAllowThreads(__tstate); | |
3445 | if (PyErr_Occurred()) return NULL; | |
3446 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
3447 | _resultobj = Py_BuildValue("s",_ptemp); | |
3448 | return _resultobj; | |
3449 | } | |
3450 | ||
3451 | #define wxHtmlRenderingStyle_GetSelectedTextBgColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextBgColour(_swigarg0)) | |
3452 | static PyObject *_wrap_wxHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3453 | PyObject * _resultobj; | |
3454 | wxColour * _result; | |
3455 | wxHtmlRenderingStyle * _arg0; | |
3456 | wxColour * _arg1; | |
3457 | PyObject * _argo0 = 0; | |
3458 | wxColour temp; | |
3459 | PyObject * _obj1 = 0; | |
3460 | char *_kwnames[] = { "self","clr", NULL }; | |
3461 | char _ptemp[128]; | |
3462 | ||
3463 | self = self; | |
3464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlRenderingStyle_GetSelectedTextBgColour",_kwnames,&_argo0,&_obj1)) | |
3465 | return NULL; | |
3466 | if (_argo0) { | |
3467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingStyle_p")) { | |
3469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingStyle_GetSelectedTextBgColour. Expected _wxHtmlRenderingStyle_p."); | |
3470 | return NULL; | |
3471 | } | |
3472 | } | |
3473 | { | |
3474 | _arg1 = &temp; | |
3475 | if (! wxColour_helper(_obj1, &_arg1)) | |
3476 | return NULL; | |
3477 | } | |
3478 | { | |
3479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3480 | _result = new wxColour (wxHtmlRenderingStyle_GetSelectedTextBgColour(_arg0,*_arg1)); | |
3481 | ||
3482 | wxPyEndAllowThreads(__tstate); | |
3483 | if (PyErr_Occurred()) return NULL; | |
3484 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
3485 | _resultobj = Py_BuildValue("s",_ptemp); | |
3486 | return _resultobj; | |
3487 | } | |
3488 | ||
3489 | static void *SwigwxDefaultHtmlRenderingStyleTowxHtmlRenderingStyle(void *ptr) { | |
3490 | wxDefaultHtmlRenderingStyle *src; | |
3491 | wxHtmlRenderingStyle *dest; | |
3492 | src = (wxDefaultHtmlRenderingStyle *) ptr; | |
3493 | dest = (wxHtmlRenderingStyle *) src; | |
3494 | return (void *) dest; | |
3495 | } | |
3496 | ||
3497 | #define wxDefaultHtmlRenderingStyle_GetSelectedTextColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextColour(_swigarg0)) | |
3498 | static PyObject *_wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3499 | PyObject * _resultobj; | |
3500 | wxColour * _result; | |
3501 | wxDefaultHtmlRenderingStyle * _arg0; | |
3502 | wxColour * _arg1; | |
3503 | PyObject * _argo0 = 0; | |
3504 | wxColour temp; | |
3505 | PyObject * _obj1 = 0; | |
3506 | char *_kwnames[] = { "self","clr", NULL }; | |
3507 | char _ptemp[128]; | |
3508 | ||
3509 | self = self; | |
3510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDefaultHtmlRenderingStyle_GetSelectedTextColour",_kwnames,&_argo0,&_obj1)) | |
3511 | return NULL; | |
3512 | if (_argo0) { | |
3513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDefaultHtmlRenderingStyle_p")) { | |
3515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDefaultHtmlRenderingStyle_GetSelectedTextColour. Expected _wxDefaultHtmlRenderingStyle_p."); | |
3516 | return NULL; | |
3517 | } | |
3518 | } | |
3519 | { | |
3520 | _arg1 = &temp; | |
3521 | if (! wxColour_helper(_obj1, &_arg1)) | |
3522 | return NULL; | |
3523 | } | |
3524 | { | |
3525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3526 | _result = new wxColour (wxDefaultHtmlRenderingStyle_GetSelectedTextColour(_arg0,*_arg1)); | |
3527 | ||
3528 | wxPyEndAllowThreads(__tstate); | |
3529 | if (PyErr_Occurred()) return NULL; | |
3530 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
3531 | _resultobj = Py_BuildValue("s",_ptemp); | |
3532 | return _resultobj; | |
3533 | } | |
3534 | ||
3535 | #define wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(_swigobj,_swigarg0) (_swigobj->GetSelectedTextBgColour(_swigarg0)) | |
3536 | static PyObject *_wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3537 | PyObject * _resultobj; | |
3538 | wxColour * _result; | |
3539 | wxDefaultHtmlRenderingStyle * _arg0; | |
3540 | wxColour * _arg1; | |
3541 | PyObject * _argo0 = 0; | |
3542 | wxColour temp; | |
3543 | PyObject * _obj1 = 0; | |
3544 | char *_kwnames[] = { "self","clr", NULL }; | |
3545 | char _ptemp[128]; | |
3546 | ||
3547 | self = self; | |
3548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour",_kwnames,&_argo0,&_obj1)) | |
3549 | return NULL; | |
3550 | if (_argo0) { | |
3551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDefaultHtmlRenderingStyle_p")) { | |
3553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour. Expected _wxDefaultHtmlRenderingStyle_p."); | |
3554 | return NULL; | |
3555 | } | |
3556 | } | |
3557 | { | |
3558 | _arg1 = &temp; | |
3559 | if (! wxColour_helper(_obj1, &_arg1)) | |
3560 | return NULL; | |
3561 | } | |
3562 | { | |
3563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3564 | _result = new wxColour (wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(_arg0,*_arg1)); | |
3565 | ||
3566 | wxPyEndAllowThreads(__tstate); | |
3567 | if (PyErr_Occurred()) return NULL; | |
3568 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
3569 | _resultobj = Py_BuildValue("s",_ptemp); | |
3570 | return _resultobj; | |
3571 | } | |
3572 | ||
3573 | #define new_wxHtmlRenderingInfo() (new wxHtmlRenderingInfo()) | |
3574 | static PyObject *_wrap_new_wxHtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3575 | PyObject * _resultobj; | |
3576 | wxHtmlRenderingInfo * _result; | |
3577 | char *_kwnames[] = { NULL }; | |
3578 | char _ptemp[128]; | |
3579 | ||
3580 | self = self; | |
3581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlRenderingInfo",_kwnames)) | |
3582 | return NULL; | |
3583 | { | |
3584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3585 | _result = (wxHtmlRenderingInfo *)new_wxHtmlRenderingInfo(); | |
3586 | ||
3587 | wxPyEndAllowThreads(__tstate); | |
3588 | if (PyErr_Occurred()) return NULL; | |
3589 | } if (_result) { | |
3590 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlRenderingInfo_p"); | |
3591 | _resultobj = Py_BuildValue("s",_ptemp); | |
3592 | } else { | |
3593 | Py_INCREF(Py_None); | |
3594 | _resultobj = Py_None; | |
3595 | } | |
3596 | return _resultobj; | |
3597 | } | |
3598 | ||
3599 | #define delete_wxHtmlRenderingInfo(_swigobj) (delete _swigobj) | |
3600 | static PyObject *_wrap_delete_wxHtmlRenderingInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3601 | PyObject * _resultobj; | |
3602 | wxHtmlRenderingInfo * _arg0; | |
3603 | PyObject * _argo0 = 0; | |
3604 | char *_kwnames[] = { "self", NULL }; | |
3605 | ||
3606 | self = self; | |
3607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlRenderingInfo",_kwnames,&_argo0)) | |
3608 | return NULL; | |
3609 | if (_argo0) { | |
3610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingInfo_p")) { | |
3612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlRenderingInfo. Expected _wxHtmlRenderingInfo_p."); | |
3613 | return NULL; | |
3614 | } | |
3615 | } | |
3616 | { | |
3617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3618 | delete_wxHtmlRenderingInfo(_arg0); | |
3619 | ||
3620 | wxPyEndAllowThreads(__tstate); | |
3621 | if (PyErr_Occurred()) return NULL; | |
3622 | } Py_INCREF(Py_None); | |
3623 | _resultobj = Py_None; | |
3624 | return _resultobj; | |
3625 | } | |
3626 | ||
3627 | #define wxHtmlRenderingInfo_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
3628 | static PyObject *_wrap_wxHtmlRenderingInfo_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject * _resultobj; | |
3630 | wxHtmlRenderingInfo * _arg0; | |
3631 | wxHtmlSelection * _arg1; | |
3632 | PyObject * _argo0 = 0; | |
3633 | PyObject * _argo1 = 0; | |
3634 | char *_kwnames[] = { "self","s", NULL }; | |
3635 | ||
3636 | self = self; | |
3637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlRenderingInfo_SetSelection",_kwnames,&_argo0,&_argo1)) | |
3638 | return NULL; | |
3639 | if (_argo0) { | |
3640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingInfo_p")) { | |
3642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingInfo_SetSelection. Expected _wxHtmlRenderingInfo_p."); | |
3643 | return NULL; | |
3644 | } | |
3645 | } | |
3646 | if (_argo1) { | |
3647 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3648 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlSelection_p")) { | |
3649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlRenderingInfo_SetSelection. Expected _wxHtmlSelection_p."); | |
3650 | return NULL; | |
3651 | } | |
3652 | } | |
3653 | { | |
3654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3655 | wxHtmlRenderingInfo_SetSelection(_arg0,_arg1); | |
3656 | ||
3657 | wxPyEndAllowThreads(__tstate); | |
3658 | if (PyErr_Occurred()) return NULL; | |
3659 | } Py_INCREF(Py_None); | |
3660 | _resultobj = Py_None; | |
3661 | return _resultobj; | |
3662 | } | |
3663 | ||
3664 | #define wxHtmlRenderingInfo_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
3665 | static PyObject *_wrap_wxHtmlRenderingInfo_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3666 | PyObject * _resultobj; | |
3667 | wxHtmlSelection * _result; | |
3668 | wxHtmlRenderingInfo * _arg0; | |
3669 | PyObject * _argo0 = 0; | |
3670 | char *_kwnames[] = { "self", NULL }; | |
3671 | char _ptemp[128]; | |
3672 | ||
3673 | self = self; | |
3674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlRenderingInfo_GetSelection",_kwnames,&_argo0)) | |
3675 | return NULL; | |
3676 | if (_argo0) { | |
3677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingInfo_p")) { | |
3679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingInfo_GetSelection. Expected _wxHtmlRenderingInfo_p."); | |
3680 | return NULL; | |
3681 | } | |
3682 | } | |
3683 | { | |
3684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3685 | _result = (wxHtmlSelection *)wxHtmlRenderingInfo_GetSelection(_arg0); | |
3686 | ||
3687 | wxPyEndAllowThreads(__tstate); | |
3688 | if (PyErr_Occurred()) return NULL; | |
3689 | } if (_result) { | |
3690 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlSelection_p"); | |
3691 | _resultobj = Py_BuildValue("s",_ptemp); | |
3692 | } else { | |
3693 | Py_INCREF(Py_None); | |
3694 | _resultobj = Py_None; | |
3695 | } | |
3696 | return _resultobj; | |
3697 | } | |
3698 | ||
3699 | #define wxHtmlRenderingInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0)) | |
3700 | static PyObject *_wrap_wxHtmlRenderingInfo_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3701 | PyObject * _resultobj; | |
3702 | wxHtmlRenderingInfo * _arg0; | |
3703 | wxHtmlRenderingStyle * _arg1; | |
3704 | PyObject * _argo0 = 0; | |
3705 | PyObject * _argo1 = 0; | |
3706 | char *_kwnames[] = { "self","style", NULL }; | |
3707 | ||
3708 | self = self; | |
3709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlRenderingInfo_SetStyle",_kwnames,&_argo0,&_argo1)) | |
3710 | return NULL; | |
3711 | if (_argo0) { | |
3712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingInfo_p")) { | |
3714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingInfo_SetStyle. Expected _wxHtmlRenderingInfo_p."); | |
3715 | return NULL; | |
3716 | } | |
3717 | } | |
3718 | if (_argo1) { | |
3719 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3720 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlRenderingStyle_p")) { | |
3721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlRenderingInfo_SetStyle. Expected _wxHtmlRenderingStyle_p."); | |
3722 | return NULL; | |
3723 | } | |
3724 | } | |
3725 | { | |
3726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3727 | wxHtmlRenderingInfo_SetStyle(_arg0,_arg1); | |
3728 | ||
3729 | wxPyEndAllowThreads(__tstate); | |
3730 | if (PyErr_Occurred()) return NULL; | |
3731 | } Py_INCREF(Py_None); | |
3732 | _resultobj = Py_None; | |
3733 | return _resultobj; | |
3734 | } | |
3735 | ||
3736 | #define wxHtmlRenderingInfo_GetStyle(_swigobj) (_swigobj->GetStyle()) | |
3737 | static PyObject *_wrap_wxHtmlRenderingInfo_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3738 | PyObject * _resultobj; | |
3739 | wxHtmlRenderingStyle * _result; | |
3740 | wxHtmlRenderingInfo * _arg0; | |
3741 | PyObject * _argo0 = 0; | |
3742 | char *_kwnames[] = { "self", NULL }; | |
3743 | char _ptemp[128]; | |
3744 | ||
3745 | self = self; | |
3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlRenderingInfo_GetStyle",_kwnames,&_argo0)) | |
3747 | return NULL; | |
3748 | if (_argo0) { | |
3749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingInfo_p")) { | |
3751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingInfo_GetStyle. Expected _wxHtmlRenderingInfo_p."); | |
3752 | return NULL; | |
3753 | } | |
3754 | } | |
3755 | { | |
3756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3757 | wxHtmlRenderingStyle & _result_ref = wxHtmlRenderingInfo_GetStyle(_arg0); | |
3758 | _result = (wxHtmlRenderingStyle *) &_result_ref; | |
3759 | ||
3760 | wxPyEndAllowThreads(__tstate); | |
3761 | if (PyErr_Occurred()) return NULL; | |
3762 | } if (_result) { | |
3763 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlRenderingStyle_p"); | |
3764 | _resultobj = Py_BuildValue("s",_ptemp); | |
3765 | } else { | |
3766 | Py_INCREF(Py_None); | |
3767 | _resultobj = Py_None; | |
3768 | } | |
3769 | return _resultobj; | |
3770 | } | |
3771 | ||
3772 | #define wxHtmlRenderingInfo_GetState(_swigobj) (_swigobj->GetState()) | |
3773 | static PyObject *_wrap_wxHtmlRenderingInfo_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3774 | PyObject * _resultobj; | |
3775 | wxHtmlRenderingState * _result; | |
3776 | wxHtmlRenderingInfo * _arg0; | |
3777 | PyObject * _argo0 = 0; | |
3778 | char *_kwnames[] = { "self", NULL }; | |
3779 | char _ptemp[128]; | |
3780 | ||
3781 | self = self; | |
3782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlRenderingInfo_GetState",_kwnames,&_argo0)) | |
3783 | return NULL; | |
3784 | if (_argo0) { | |
3785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlRenderingInfo_p")) { | |
3787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlRenderingInfo_GetState. Expected _wxHtmlRenderingInfo_p."); | |
3788 | return NULL; | |
3789 | } | |
3790 | } | |
3791 | { | |
3792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3793 | wxHtmlRenderingState & _result_ref = wxHtmlRenderingInfo_GetState(_arg0); | |
3794 | _result = (wxHtmlRenderingState *) &_result_ref; | |
3795 | ||
3796 | wxPyEndAllowThreads(__tstate); | |
3797 | if (PyErr_Occurred()) return NULL; | |
3798 | } if (_result) { | |
3799 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlRenderingState_p"); | |
3800 | _resultobj = Py_BuildValue("s",_ptemp); | |
3801 | } else { | |
3802 | Py_INCREF(Py_None); | |
3803 | _resultobj = Py_None; | |
3804 | } | |
3805 | return _resultobj; | |
3806 | } | |
3807 | ||
3808 | static void *SwigwxHtmlCellTowxObject(void *ptr) { | |
3809 | wxHtmlCell *src; | |
3810 | wxObject *dest; | |
3811 | src = (wxHtmlCell *) ptr; | |
3812 | dest = (wxObject *) src; | |
3813 | return (void *) dest; | |
3814 | } | |
3815 | ||
3816 | #define new_wxHtmlCell() (new wxHtmlCell()) | |
3817 | static PyObject *_wrap_new_wxHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3818 | PyObject * _resultobj; | |
3819 | wxHtmlCell * _result; | |
3820 | char *_kwnames[] = { NULL }; | |
3821 | char _ptemp[128]; | |
3822 | ||
3823 | self = self; | |
3824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlCell",_kwnames)) | |
3825 | return NULL; | |
3826 | { | |
3827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3828 | _result = (wxHtmlCell *)new_wxHtmlCell(); | |
3829 | ||
3830 | wxPyEndAllowThreads(__tstate); | |
3831 | if (PyErr_Occurred()) return NULL; | |
3832 | } if (_result) { | |
3833 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
3834 | _resultobj = Py_BuildValue("s",_ptemp); | |
3835 | } else { | |
3836 | Py_INCREF(Py_None); | |
3837 | _resultobj = Py_None; | |
3838 | } | |
3839 | return _resultobj; | |
3840 | } | |
3841 | ||
3842 | #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX()) | |
3843 | static PyObject *_wrap_wxHtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3844 | PyObject * _resultobj; | |
3845 | int _result; | |
3846 | wxHtmlCell * _arg0; | |
3847 | PyObject * _argo0 = 0; | |
3848 | char *_kwnames[] = { "self", NULL }; | |
3849 | ||
3850 | self = self; | |
3851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosX",_kwnames,&_argo0)) | |
3852 | return NULL; | |
3853 | if (_argo0) { | |
3854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p."); | |
3857 | return NULL; | |
3858 | } | |
3859 | } | |
3860 | { | |
3861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3862 | _result = (int )wxHtmlCell_GetPosX(_arg0); | |
3863 | ||
3864 | wxPyEndAllowThreads(__tstate); | |
3865 | if (PyErr_Occurred()) return NULL; | |
3866 | } _resultobj = Py_BuildValue("i",_result); | |
3867 | return _resultobj; | |
3868 | } | |
3869 | ||
3870 | #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY()) | |
3871 | static PyObject *_wrap_wxHtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3872 | PyObject * _resultobj; | |
3873 | int _result; | |
3874 | wxHtmlCell * _arg0; | |
3875 | PyObject * _argo0 = 0; | |
3876 | char *_kwnames[] = { "self", NULL }; | |
3877 | ||
3878 | self = self; | |
3879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosY",_kwnames,&_argo0)) | |
3880 | return NULL; | |
3881 | if (_argo0) { | |
3882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p."); | |
3885 | return NULL; | |
3886 | } | |
3887 | } | |
3888 | { | |
3889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3890 | _result = (int )wxHtmlCell_GetPosY(_arg0); | |
3891 | ||
3892 | wxPyEndAllowThreads(__tstate); | |
3893 | if (PyErr_Occurred()) return NULL; | |
3894 | } _resultobj = Py_BuildValue("i",_result); | |
3895 | return _resultobj; | |
3896 | } | |
3897 | ||
3898 | #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
3899 | static PyObject *_wrap_wxHtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3900 | PyObject * _resultobj; | |
3901 | int _result; | |
3902 | wxHtmlCell * _arg0; | |
3903 | PyObject * _argo0 = 0; | |
3904 | char *_kwnames[] = { "self", NULL }; | |
3905 | ||
3906 | self = self; | |
3907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetWidth",_kwnames,&_argo0)) | |
3908 | return NULL; | |
3909 | if (_argo0) { | |
3910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p."); | |
3913 | return NULL; | |
3914 | } | |
3915 | } | |
3916 | { | |
3917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3918 | _result = (int )wxHtmlCell_GetWidth(_arg0); | |
3919 | ||
3920 | wxPyEndAllowThreads(__tstate); | |
3921 | if (PyErr_Occurred()) return NULL; | |
3922 | } _resultobj = Py_BuildValue("i",_result); | |
3923 | return _resultobj; | |
3924 | } | |
3925 | ||
3926 | #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
3927 | static PyObject *_wrap_wxHtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3928 | PyObject * _resultobj; | |
3929 | int _result; | |
3930 | wxHtmlCell * _arg0; | |
3931 | PyObject * _argo0 = 0; | |
3932 | char *_kwnames[] = { "self", NULL }; | |
3933 | ||
3934 | self = self; | |
3935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetHeight",_kwnames,&_argo0)) | |
3936 | return NULL; | |
3937 | if (_argo0) { | |
3938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p."); | |
3941 | return NULL; | |
3942 | } | |
3943 | } | |
3944 | { | |
3945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3946 | _result = (int )wxHtmlCell_GetHeight(_arg0); | |
3947 | ||
3948 | wxPyEndAllowThreads(__tstate); | |
3949 | if (PyErr_Occurred()) return NULL; | |
3950 | } _resultobj = Py_BuildValue("i",_result); | |
3951 | return _resultobj; | |
3952 | } | |
3953 | ||
3954 | #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent()) | |
3955 | static PyObject *_wrap_wxHtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3956 | PyObject * _resultobj; | |
3957 | int _result; | |
3958 | wxHtmlCell * _arg0; | |
3959 | PyObject * _argo0 = 0; | |
3960 | char *_kwnames[] = { "self", NULL }; | |
3961 | ||
3962 | self = self; | |
3963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDescent",_kwnames,&_argo0)) | |
3964 | return NULL; | |
3965 | if (_argo0) { | |
3966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p."); | |
3969 | return NULL; | |
3970 | } | |
3971 | } | |
3972 | { | |
3973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3974 | _result = (int )wxHtmlCell_GetDescent(_arg0); | |
3975 | ||
3976 | wxPyEndAllowThreads(__tstate); | |
3977 | if (PyErr_Occurred()) return NULL; | |
3978 | } _resultobj = Py_BuildValue("i",_result); | |
3979 | return _resultobj; | |
3980 | } | |
3981 | ||
3982 | #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1)) | |
3983 | static PyObject *_wrap_wxHtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3984 | PyObject * _resultobj; | |
3985 | wxHtmlLinkInfo * _result; | |
3986 | wxHtmlCell * _arg0; | |
3987 | int _arg1 = (int ) 0; | |
3988 | int _arg2 = (int ) 0; | |
3989 | PyObject * _argo0 = 0; | |
3990 | char *_kwnames[] = { "self","x","y", NULL }; | |
3991 | char _ptemp[128]; | |
3992 | ||
3993 | self = self; | |
3994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxHtmlCell_GetLink",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3995 | return NULL; | |
3996 | if (_argo0) { | |
3997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
3999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p."); | |
4000 | return NULL; | |
4001 | } | |
4002 | } | |
4003 | { | |
4004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4005 | _result = (wxHtmlLinkInfo *)wxHtmlCell_GetLink(_arg0,_arg1,_arg2); | |
4006 | ||
4007 | wxPyEndAllowThreads(__tstate); | |
4008 | if (PyErr_Occurred()) return NULL; | |
4009 | } if (_result) { | |
4010 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlLinkInfo_p"); | |
4011 | _resultobj = Py_BuildValue("s",_ptemp); | |
4012 | } else { | |
4013 | Py_INCREF(Py_None); | |
4014 | _resultobj = Py_None; | |
4015 | } | |
4016 | return _resultobj; | |
4017 | } | |
4018 | ||
4019 | #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext()) | |
4020 | static PyObject *_wrap_wxHtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4021 | PyObject * _resultobj; | |
4022 | wxHtmlCell * _result; | |
4023 | wxHtmlCell * _arg0; | |
4024 | PyObject * _argo0 = 0; | |
4025 | char *_kwnames[] = { "self", NULL }; | |
4026 | char _ptemp[128]; | |
4027 | ||
4028 | self = self; | |
4029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetNext",_kwnames,&_argo0)) | |
4030 | return NULL; | |
4031 | if (_argo0) { | |
4032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p."); | |
4035 | return NULL; | |
4036 | } | |
4037 | } | |
4038 | { | |
4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4040 | _result = (wxHtmlCell *)wxHtmlCell_GetNext(_arg0); | |
4041 | ||
4042 | wxPyEndAllowThreads(__tstate); | |
4043 | if (PyErr_Occurred()) return NULL; | |
4044 | } if (_result) { | |
4045 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
4046 | _resultobj = Py_BuildValue("s",_ptemp); | |
4047 | } else { | |
4048 | Py_INCREF(Py_None); | |
4049 | _resultobj = Py_None; | |
4050 | } | |
4051 | return _resultobj; | |
4052 | } | |
4053 | ||
4054 | #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent()) | |
4055 | static PyObject *_wrap_wxHtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4056 | PyObject * _resultobj; | |
4057 | wxHtmlContainerCell * _result; | |
4058 | wxHtmlCell * _arg0; | |
4059 | PyObject * _argo0 = 0; | |
4060 | char *_kwnames[] = { "self", NULL }; | |
4061 | char _ptemp[128]; | |
4062 | ||
4063 | self = self; | |
4064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetParent",_kwnames,&_argo0)) | |
4065 | return NULL; | |
4066 | if (_argo0) { | |
4067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p."); | |
4070 | return NULL; | |
4071 | } | |
4072 | } | |
4073 | { | |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4075 | _result = (wxHtmlContainerCell *)wxHtmlCell_GetParent(_arg0); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
4078 | if (PyErr_Occurred()) return NULL; | |
4079 | } if (_result) { | |
4080 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
4081 | _resultobj = Py_BuildValue("s",_ptemp); | |
4082 | } else { | |
4083 | Py_INCREF(Py_None); | |
4084 | _resultobj = Py_None; | |
4085 | } | |
4086 | return _resultobj; | |
4087 | } | |
4088 | ||
4089 | #define wxHtmlCell_GetFirstChild(_swigobj) (_swigobj->GetFirstChild()) | |
4090 | static PyObject *_wrap_wxHtmlCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4091 | PyObject * _resultobj; | |
4092 | wxHtmlCell * _result; | |
4093 | wxHtmlCell * _arg0; | |
4094 | PyObject * _argo0 = 0; | |
4095 | char *_kwnames[] = { "self", NULL }; | |
4096 | char _ptemp[128]; | |
4097 | ||
4098 | self = self; | |
4099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetFirstChild",_kwnames,&_argo0)) | |
4100 | return NULL; | |
4101 | if (_argo0) { | |
4102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetFirstChild. Expected _wxHtmlCell_p."); | |
4105 | return NULL; | |
4106 | } | |
4107 | } | |
4108 | { | |
4109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4110 | _result = (wxHtmlCell *)wxHtmlCell_GetFirstChild(_arg0); | |
4111 | ||
4112 | wxPyEndAllowThreads(__tstate); | |
4113 | if (PyErr_Occurred()) return NULL; | |
4114 | } if (_result) { | |
4115 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
4116 | _resultobj = Py_BuildValue("s",_ptemp); | |
4117 | } else { | |
4118 | Py_INCREF(Py_None); | |
4119 | _resultobj = Py_None; | |
4120 | } | |
4121 | return _resultobj; | |
4122 | } | |
4123 | ||
4124 | #define wxHtmlCell_GetCursor(_swigobj) (_swigobj->GetCursor()) | |
4125 | static PyObject *_wrap_wxHtmlCell_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4126 | PyObject * _resultobj; | |
4127 | wxCursor * _result; | |
4128 | wxHtmlCell * _arg0; | |
4129 | PyObject * _argo0 = 0; | |
4130 | char *_kwnames[] = { "self", NULL }; | |
4131 | char _ptemp[128]; | |
4132 | ||
4133 | self = self; | |
4134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetCursor",_kwnames,&_argo0)) | |
4135 | return NULL; | |
4136 | if (_argo0) { | |
4137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetCursor. Expected _wxHtmlCell_p."); | |
4140 | return NULL; | |
4141 | } | |
4142 | } | |
4143 | { | |
4144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4145 | _result = new wxCursor (wxHtmlCell_GetCursor(_arg0)); | |
4146 | ||
4147 | wxPyEndAllowThreads(__tstate); | |
4148 | if (PyErr_Occurred()) return NULL; | |
4149 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxCursor_p"); | |
4150 | _resultobj = Py_BuildValue("s",_ptemp); | |
4151 | return _resultobj; | |
4152 | } | |
4153 | ||
4154 | #define wxHtmlCell_IsFormattingCell(_swigobj) (_swigobj->IsFormattingCell()) | |
4155 | static PyObject *_wrap_wxHtmlCell_IsFormattingCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4156 | PyObject * _resultobj; | |
4157 | bool _result; | |
4158 | wxHtmlCell * _arg0; | |
4159 | PyObject * _argo0 = 0; | |
4160 | char *_kwnames[] = { "self", NULL }; | |
4161 | ||
4162 | self = self; | |
4163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_IsFormattingCell",_kwnames,&_argo0)) | |
4164 | return NULL; | |
4165 | if (_argo0) { | |
4166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_IsFormattingCell. Expected _wxHtmlCell_p."); | |
4169 | return NULL; | |
4170 | } | |
4171 | } | |
4172 | { | |
4173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4174 | _result = (bool )wxHtmlCell_IsFormattingCell(_arg0); | |
4175 | ||
4176 | wxPyEndAllowThreads(__tstate); | |
4177 | if (PyErr_Occurred()) return NULL; | |
4178 | } _resultobj = Py_BuildValue("i",_result); | |
4179 | return _resultobj; | |
4180 | } | |
4181 | ||
4182 | #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0)) | |
4183 | static PyObject *_wrap_wxHtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4184 | PyObject * _resultobj; | |
4185 | wxHtmlCell * _arg0; | |
4186 | wxHtmlLinkInfo * _arg1; | |
4187 | PyObject * _argo0 = 0; | |
4188 | PyObject * _argo1 = 0; | |
4189 | char *_kwnames[] = { "self","link", NULL }; | |
4190 | ||
4191 | self = self; | |
4192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetLink",_kwnames,&_argo0,&_argo1)) | |
4193 | return NULL; | |
4194 | if (_argo0) { | |
4195 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4196 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p."); | |
4198 | return NULL; | |
4199 | } | |
4200 | } | |
4201 | if (_argo1) { | |
4202 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) { | |
4203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p."); | |
4204 | return NULL; | |
4205 | } | |
4206 | } | |
4207 | { | |
4208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4209 | wxHtmlCell_SetLink(_arg0,*_arg1); | |
4210 | ||
4211 | wxPyEndAllowThreads(__tstate); | |
4212 | if (PyErr_Occurred()) return NULL; | |
4213 | } Py_INCREF(Py_None); | |
4214 | _resultobj = Py_None; | |
4215 | return _resultobj; | |
4216 | } | |
4217 | ||
4218 | #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0)) | |
4219 | static PyObject *_wrap_wxHtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4220 | PyObject * _resultobj; | |
4221 | wxHtmlCell * _arg0; | |
4222 | wxHtmlCell * _arg1; | |
4223 | PyObject * _argo0 = 0; | |
4224 | PyObject * _argo1 = 0; | |
4225 | char *_kwnames[] = { "self","cell", NULL }; | |
4226 | ||
4227 | self = self; | |
4228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetNext",_kwnames,&_argo0,&_argo1)) | |
4229 | return NULL; | |
4230 | if (_argo0) { | |
4231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p."); | |
4234 | return NULL; | |
4235 | } | |
4236 | } | |
4237 | if (_argo1) { | |
4238 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4239 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
4240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p."); | |
4241 | return NULL; | |
4242 | } | |
4243 | } | |
4244 | { | |
4245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4246 | wxHtmlCell_SetNext(_arg0,_arg1); | |
4247 | ||
4248 | wxPyEndAllowThreads(__tstate); | |
4249 | if (PyErr_Occurred()) return NULL; | |
4250 | } Py_INCREF(Py_None); | |
4251 | _resultobj = Py_None; | |
4252 | return _resultobj; | |
4253 | } | |
4254 | ||
4255 | #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0)) | |
4256 | static PyObject *_wrap_wxHtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4257 | PyObject * _resultobj; | |
4258 | wxHtmlCell * _arg0; | |
4259 | wxHtmlContainerCell * _arg1; | |
4260 | PyObject * _argo0 = 0; | |
4261 | PyObject * _argo1 = 0; | |
4262 | char *_kwnames[] = { "self","p", NULL }; | |
4263 | ||
4264 | self = self; | |
4265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetParent",_kwnames,&_argo0,&_argo1)) | |
4266 | return NULL; | |
4267 | if (_argo0) { | |
4268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p."); | |
4271 | return NULL; | |
4272 | } | |
4273 | } | |
4274 | if (_argo1) { | |
4275 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4276 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) { | |
4277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p."); | |
4278 | return NULL; | |
4279 | } | |
4280 | } | |
4281 | { | |
4282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4283 | wxHtmlCell_SetParent(_arg0,_arg1); | |
4284 | ||
4285 | wxPyEndAllowThreads(__tstate); | |
4286 | if (PyErr_Occurred()) return NULL; | |
4287 | } Py_INCREF(Py_None); | |
4288 | _resultobj = Py_None; | |
4289 | return _resultobj; | |
4290 | } | |
4291 | ||
4292 | #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1)) | |
4293 | static PyObject *_wrap_wxHtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4294 | PyObject * _resultobj; | |
4295 | wxHtmlCell * _arg0; | |
4296 | int _arg1; | |
4297 | int _arg2; | |
4298 | PyObject * _argo0 = 0; | |
4299 | char *_kwnames[] = { "self","x","y", NULL }; | |
4300 | ||
4301 | self = self; | |
4302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlCell_SetPos",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4303 | return NULL; | |
4304 | if (_argo0) { | |
4305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p."); | |
4308 | return NULL; | |
4309 | } | |
4310 | } | |
4311 | { | |
4312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4313 | wxHtmlCell_SetPos(_arg0,_arg1,_arg2); | |
4314 | ||
4315 | wxPyEndAllowThreads(__tstate); | |
4316 | if (PyErr_Occurred()) return NULL; | |
4317 | } Py_INCREF(Py_None); | |
4318 | _resultobj = Py_None; | |
4319 | return _resultobj; | |
4320 | } | |
4321 | ||
4322 | #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0)) | |
4323 | static PyObject *_wrap_wxHtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4324 | PyObject * _resultobj; | |
4325 | wxHtmlCell * _arg0; | |
4326 | int _arg1; | |
4327 | PyObject * _argo0 = 0; | |
4328 | char *_kwnames[] = { "self","w", NULL }; | |
4329 | ||
4330 | self = self; | |
4331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_Layout",_kwnames,&_argo0,&_arg1)) | |
4332 | return NULL; | |
4333 | if (_argo0) { | |
4334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p."); | |
4337 | return NULL; | |
4338 | } | |
4339 | } | |
4340 | { | |
4341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4342 | wxHtmlCell_Layout(_arg0,_arg1); | |
4343 | ||
4344 | wxPyEndAllowThreads(__tstate); | |
4345 | if (PyErr_Occurred()) return NULL; | |
4346 | } Py_INCREF(Py_None); | |
4347 | _resultobj = Py_None; | |
4348 | return _resultobj; | |
4349 | } | |
4350 | ||
4351 | #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4352 | static PyObject *_wrap_wxHtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4353 | PyObject * _resultobj; | |
4354 | wxHtmlCell * _arg0; | |
4355 | wxDC * _arg1; | |
4356 | int _arg2; | |
4357 | int _arg3; | |
4358 | int _arg4; | |
4359 | int _arg5; | |
4360 | wxHtmlRenderingInfo * _arg6; | |
4361 | PyObject * _argo0 = 0; | |
4362 | PyObject * _argo1 = 0; | |
4363 | PyObject * _argo6 = 0; | |
4364 | char *_kwnames[] = { "self","dc","x","y","view_y1","view_y2","info", NULL }; | |
4365 | ||
4366 | self = self; | |
4367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiiiO:wxHtmlCell_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6)) | |
4368 | return NULL; | |
4369 | if (_argo0) { | |
4370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p."); | |
4373 | return NULL; | |
4374 | } | |
4375 | } | |
4376 | if (_argo1) { | |
4377 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p."); | |
4379 | return NULL; | |
4380 | } | |
4381 | } | |
4382 | if (_argo6) { | |
4383 | if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxHtmlRenderingInfo_p")) { | |
4384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxHtmlCell_Draw. Expected _wxHtmlRenderingInfo_p."); | |
4385 | return NULL; | |
4386 | } | |
4387 | } | |
4388 | { | |
4389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4390 | wxHtmlCell_Draw(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6); | |
4391 | ||
4392 | wxPyEndAllowThreads(__tstate); | |
4393 | if (PyErr_Occurred()) return NULL; | |
4394 | } Py_INCREF(Py_None); | |
4395 | _resultobj = Py_None; | |
4396 | return _resultobj; | |
4397 | } | |
4398 | ||
4399 | #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4400 | static PyObject *_wrap_wxHtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4401 | PyObject * _resultobj; | |
4402 | wxHtmlCell * _arg0; | |
4403 | wxDC * _arg1; | |
4404 | int _arg2; | |
4405 | int _arg3; | |
4406 | wxHtmlRenderingInfo * _arg4; | |
4407 | PyObject * _argo0 = 0; | |
4408 | PyObject * _argo1 = 0; | |
4409 | PyObject * _argo4 = 0; | |
4410 | char *_kwnames[] = { "self","dc","x","y","info", NULL }; | |
4411 | ||
4412 | self = self; | |
4413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiO:wxHtmlCell_DrawInvisible",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_argo4)) | |
4414 | return NULL; | |
4415 | if (_argo0) { | |
4416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p."); | |
4419 | return NULL; | |
4420 | } | |
4421 | } | |
4422 | if (_argo1) { | |
4423 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p."); | |
4425 | return NULL; | |
4426 | } | |
4427 | } | |
4428 | if (_argo4) { | |
4429 | if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxHtmlRenderingInfo_p")) { | |
4430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlCell_DrawInvisible. Expected _wxHtmlRenderingInfo_p."); | |
4431 | return NULL; | |
4432 | } | |
4433 | } | |
4434 | { | |
4435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4436 | wxHtmlCell_DrawInvisible(_arg0,*_arg1,_arg2,_arg3,*_arg4); | |
4437 | ||
4438 | wxPyEndAllowThreads(__tstate); | |
4439 | if (PyErr_Occurred()) return NULL; | |
4440 | } Py_INCREF(Py_None); | |
4441 | _resultobj = Py_None; | |
4442 | return _resultobj; | |
4443 | } | |
4444 | ||
4445 | #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1)) | |
4446 | static PyObject *_wrap_wxHtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4447 | PyObject * _resultobj; | |
4448 | wxHtmlCell * _result; | |
4449 | wxHtmlCell * _arg0; | |
4450 | int _arg1; | |
4451 | void * _arg2; | |
4452 | PyObject * _argo0 = 0; | |
4453 | PyObject * _argo2 = 0; | |
4454 | char *_kwnames[] = { "self","condition","param", NULL }; | |
4455 | char _ptemp[128]; | |
4456 | ||
4457 | self = self; | |
4458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHtmlCell_Find",_kwnames,&_argo0,&_arg1,&_argo2)) | |
4459 | return NULL; | |
4460 | if (_argo0) { | |
4461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p."); | |
4464 | return NULL; | |
4465 | } | |
4466 | } | |
4467 | if (_argo2) { | |
4468 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4469 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) { | |
4470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p."); | |
4471 | return NULL; | |
4472 | } | |
4473 | } | |
4474 | { | |
4475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4476 | _result = (wxHtmlCell *)wxHtmlCell_Find(_arg0,_arg1,_arg2); | |
4477 | ||
4478 | wxPyEndAllowThreads(__tstate); | |
4479 | if (PyErr_Occurred()) return NULL; | |
4480 | } if (_result) { | |
4481 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
4482 | _resultobj = Py_BuildValue("s",_ptemp); | |
4483 | } else { | |
4484 | Py_INCREF(Py_None); | |
4485 | _resultobj = Py_None; | |
4486 | } | |
4487 | return _resultobj; | |
4488 | } | |
4489 | ||
4490 | #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0)) | |
4491 | static PyObject *_wrap_wxHtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4492 | PyObject * _resultobj; | |
4493 | bool _result; | |
4494 | wxHtmlCell * _arg0; | |
4495 | int * _arg1; | |
4496 | PyObject * _argo0 = 0; | |
4497 | int temp; | |
4498 | PyObject * _obj1 = 0; | |
4499 | char *_kwnames[] = { "self","INOUT", NULL }; | |
4500 | ||
4501 | self = self; | |
4502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_AdjustPagebreak",_kwnames,&_argo0,&_obj1)) | |
4503 | return NULL; | |
4504 | if (_argo0) { | |
4505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p."); | |
4508 | return NULL; | |
4509 | } | |
4510 | } | |
4511 | { | |
4512 | temp = (int) PyInt_AsLong(_obj1); | |
4513 | _arg1 = &temp; | |
4514 | } | |
4515 | { | |
4516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4517 | _result = (bool )wxHtmlCell_AdjustPagebreak(_arg0,_arg1); | |
4518 | ||
4519 | wxPyEndAllowThreads(__tstate); | |
4520 | if (PyErr_Occurred()) return NULL; | |
4521 | } _resultobj = Py_BuildValue("i",_result); | |
4522 | { | |
4523 | PyObject *o; | |
4524 | o = PyInt_FromLong((long) (*_arg1)); | |
4525 | _resultobj = t_output_helper(_resultobj, o); | |
4526 | } | |
4527 | return _resultobj; | |
4528 | } | |
4529 | ||
4530 | #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0)) | |
4531 | static PyObject *_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4532 | PyObject * _resultobj; | |
4533 | wxHtmlCell * _arg0; | |
4534 | bool _arg1; | |
4535 | PyObject * _argo0 = 0; | |
4536 | int tempbool1; | |
4537 | char *_kwnames[] = { "self","can", NULL }; | |
4538 | ||
4539 | self = self; | |
4540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames,&_argo0,&tempbool1)) | |
4541 | return NULL; | |
4542 | if (_argo0) { | |
4543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p."); | |
e166644c RD |
4546 | return NULL; |
4547 | } | |
4548 | } | |
5a2a9da2 | 4549 | _arg1 = (bool ) tempbool1; |
e166644c | 4550 | { |
4268f798 | 4551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4552 | wxHtmlCell_SetCanLiveOnPagebreak(_arg0,_arg1); |
e166644c | 4553 | |
4268f798 RD |
4554 | wxPyEndAllowThreads(__tstate); |
4555 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4556 | } Py_INCREF(Py_None); |
4557 | _resultobj = Py_None; | |
4558 | return _resultobj; | |
4559 | } | |
4560 | ||
5a2a9da2 RD |
4561 | #define wxHtmlCell_IsLinebreakAllowed(_swigobj) (_swigobj->IsLinebreakAllowed()) |
4562 | static PyObject *_wrap_wxHtmlCell_IsLinebreakAllowed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c00cfa3 | 4563 | PyObject * _resultobj; |
5a2a9da2 | 4564 | bool _result; |
9c00cfa3 | 4565 | wxHtmlCell * _arg0; |
9c00cfa3 | 4566 | PyObject * _argo0 = 0; |
5a2a9da2 | 4567 | char *_kwnames[] = { "self", NULL }; |
9c00cfa3 RD |
4568 | |
4569 | self = self; | |
5a2a9da2 | 4570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_IsLinebreakAllowed",_kwnames,&_argo0)) |
9c00cfa3 RD |
4571 | return NULL; |
4572 | if (_argo0) { | |
4573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_IsLinebreakAllowed. Expected _wxHtmlCell_p."); |
9c00cfa3 RD |
4576 | return NULL; |
4577 | } | |
4578 | } | |
4579 | { | |
4268f798 | 4580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4581 | _result = (bool )wxHtmlCell_IsLinebreakAllowed(_arg0); |
9c00cfa3 | 4582 | |
4268f798 RD |
4583 | wxPyEndAllowThreads(__tstate); |
4584 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 | 4585 | } _resultobj = Py_BuildValue("i",_result); |
9c00cfa3 RD |
4586 | return _resultobj; |
4587 | } | |
4588 | ||
5a2a9da2 RD |
4589 | #define wxHtmlCell_IsTerminalCell(_swigobj) (_swigobj->IsTerminalCell()) |
4590 | static PyObject *_wrap_wxHtmlCell_IsTerminalCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c00cfa3 | 4591 | PyObject * _resultobj; |
5a2a9da2 | 4592 | bool _result; |
9c00cfa3 | 4593 | wxHtmlCell * _arg0; |
9c00cfa3 | 4594 | PyObject * _argo0 = 0; |
5a2a9da2 | 4595 | char *_kwnames[] = { "self", NULL }; |
9c00cfa3 RD |
4596 | |
4597 | self = self; | |
5a2a9da2 | 4598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_IsTerminalCell",_kwnames,&_argo0)) |
9c00cfa3 RD |
4599 | return NULL; |
4600 | if (_argo0) { | |
4601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_IsTerminalCell. Expected _wxHtmlCell_p."); |
9c00cfa3 RD |
4604 | return NULL; |
4605 | } | |
4606 | } | |
4607 | { | |
4268f798 | 4608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4609 | _result = (bool )wxHtmlCell_IsTerminalCell(_arg0); |
9c00cfa3 | 4610 | |
4268f798 RD |
4611 | wxPyEndAllowThreads(__tstate); |
4612 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 | 4613 | } _resultobj = Py_BuildValue("i",_result); |
9c00cfa3 RD |
4614 | return _resultobj; |
4615 | } | |
4616 | ||
5a2a9da2 RD |
4617 | #define wxHtmlCell_FindCellByPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindCellByPos(_swigarg0,_swigarg1,_swigarg2)) |
4618 | static PyObject *_wrap_wxHtmlCell_FindCellByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c | 4619 | PyObject * _resultobj; |
5a2a9da2 | 4620 | wxHtmlCell * _result; |
e166644c | 4621 | wxHtmlCell * _arg0; |
5a2a9da2 RD |
4622 | wxCoord _arg1; |
4623 | wxCoord _arg2; | |
4624 | unsigned _arg3 = (unsigned ) (wxHTML_FIND_EXACT); | |
e166644c | 4625 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
4626 | char *_kwnames[] = { "self","x","y","flags", NULL }; |
4627 | char _ptemp[128]; | |
e166644c RD |
4628 | |
4629 | self = self; | |
5a2a9da2 | 4630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlCell_FindCellByPos",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
e166644c RD |
4631 | return NULL; |
4632 | if (_argo0) { | |
4633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_FindCellByPos. Expected _wxHtmlCell_p."); |
e166644c RD |
4636 | return NULL; |
4637 | } | |
4638 | } | |
4639 | { | |
4268f798 | 4640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4641 | _result = (wxHtmlCell *)wxHtmlCell_FindCellByPos(_arg0,_arg1,_arg2,_arg3); |
e166644c | 4642 | |
4268f798 RD |
4643 | wxPyEndAllowThreads(__tstate); |
4644 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
4645 | } if (_result) { |
4646 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
4647 | _resultobj = Py_BuildValue("s",_ptemp); | |
4648 | } else { | |
4649 | Py_INCREF(Py_None); | |
4650 | _resultobj = Py_None; | |
4651 | } | |
e166644c RD |
4652 | return _resultobj; |
4653 | } | |
4654 | ||
5a2a9da2 RD |
4655 | #define wxHtmlCell_GetAbsPos(_swigobj) (_swigobj->GetAbsPos()) |
4656 | static PyObject *_wrap_wxHtmlCell_GetAbsPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c | 4657 | PyObject * _resultobj; |
5a2a9da2 | 4658 | wxPoint * _result; |
e166644c | 4659 | wxHtmlCell * _arg0; |
e166644c | 4660 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
4661 | char *_kwnames[] = { "self", NULL }; |
4662 | char _ptemp[128]; | |
e166644c RD |
4663 | |
4664 | self = self; | |
5a2a9da2 | 4665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetAbsPos",_kwnames,&_argo0)) |
e166644c RD |
4666 | return NULL; |
4667 | if (_argo0) { | |
4668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetAbsPos. Expected _wxHtmlCell_p."); |
e166644c RD |
4671 | return NULL; |
4672 | } | |
4673 | } | |
4674 | { | |
4268f798 | 4675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4676 | _result = new wxPoint (wxHtmlCell_GetAbsPos(_arg0)); |
e166644c | 4677 | |
4268f798 RD |
4678 | wxPyEndAllowThreads(__tstate); |
4679 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
4680 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
4681 | _resultobj = Py_BuildValue("s",_ptemp); | |
e166644c RD |
4682 | return _resultobj; |
4683 | } | |
4684 | ||
5a2a9da2 RD |
4685 | #define wxHtmlCell_GetFirstTerminal(_swigobj) (_swigobj->GetFirstTerminal()) |
4686 | static PyObject *_wrap_wxHtmlCell_GetFirstTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c | 4687 | PyObject * _resultobj; |
5a2a9da2 | 4688 | wxHtmlCell * _result; |
e166644c | 4689 | wxHtmlCell * _arg0; |
e166644c | 4690 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
4691 | char *_kwnames[] = { "self", NULL }; |
4692 | char _ptemp[128]; | |
e166644c RD |
4693 | |
4694 | self = self; | |
5a2a9da2 | 4695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetFirstTerminal",_kwnames,&_argo0)) |
e166644c RD |
4696 | return NULL; |
4697 | if (_argo0) { | |
4698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetFirstTerminal. Expected _wxHtmlCell_p."); |
e166644c RD |
4701 | return NULL; |
4702 | } | |
4703 | } | |
4704 | { | |
4268f798 | 4705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4706 | _result = (wxHtmlCell *)wxHtmlCell_GetFirstTerminal(_arg0); |
e166644c | 4707 | |
4268f798 RD |
4708 | wxPyEndAllowThreads(__tstate); |
4709 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
4710 | } if (_result) { |
4711 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
4712 | _resultobj = Py_BuildValue("s",_ptemp); | |
4713 | } else { | |
4714 | Py_INCREF(Py_None); | |
4715 | _resultobj = Py_None; | |
4716 | } | |
e166644c RD |
4717 | return _resultobj; |
4718 | } | |
4719 | ||
5a2a9da2 RD |
4720 | #define wxHtmlCell_GetLastTerminal(_swigobj) (_swigobj->GetLastTerminal()) |
4721 | static PyObject *_wrap_wxHtmlCell_GetLastTerminal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c RD |
4722 | PyObject * _resultobj; |
4723 | wxHtmlCell * _result; | |
4724 | wxHtmlCell * _arg0; | |
e166644c | 4725 | PyObject * _argo0 = 0; |
5a2a9da2 | 4726 | char *_kwnames[] = { "self", NULL }; |
e166644c RD |
4727 | char _ptemp[128]; |
4728 | ||
4729 | self = self; | |
5a2a9da2 | 4730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetLastTerminal",_kwnames,&_argo0)) |
e166644c RD |
4731 | return NULL; |
4732 | if (_argo0) { | |
4733 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4734 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4735 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLastTerminal. Expected _wxHtmlCell_p."); |
e166644c RD |
4736 | return NULL; |
4737 | } | |
4738 | } | |
4739 | { | |
4268f798 | 4740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4741 | _result = (wxHtmlCell *)wxHtmlCell_GetLastTerminal(_arg0); |
e166644c | 4742 | |
4268f798 RD |
4743 | wxPyEndAllowThreads(__tstate); |
4744 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4745 | } if (_result) { |
4746 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
4747 | _resultobj = Py_BuildValue("s",_ptemp); | |
4748 | } else { | |
4749 | Py_INCREF(Py_None); | |
4750 | _resultobj = Py_None; | |
4751 | } | |
4752 | return _resultobj; | |
4753 | } | |
4754 | ||
5a2a9da2 RD |
4755 | #define wxHtmlCell_GetDepth(_swigobj) (_swigobj->GetDepth()) |
4756 | static PyObject *_wrap_wxHtmlCell_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4757 | PyObject * _resultobj; | |
4758 | unsigned _result; | |
4759 | wxHtmlCell * _arg0; | |
4760 | PyObject * _argo0 = 0; | |
4761 | char *_kwnames[] = { "self", NULL }; | |
4762 | ||
4763 | self = self; | |
4764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDepth",_kwnames,&_argo0)) | |
4765 | return NULL; | |
4766 | if (_argo0) { | |
4767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
4769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDepth. Expected _wxHtmlCell_p."); | |
4770 | return NULL; | |
4771 | } | |
4772 | } | |
4773 | { | |
4774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4775 | _result = (unsigned )wxHtmlCell_GetDepth(_arg0); | |
4776 | ||
4777 | wxPyEndAllowThreads(__tstate); | |
4778 | if (PyErr_Occurred()) return NULL; | |
4779 | } _resultobj = Py_BuildValue("i",_result); | |
4780 | return _resultobj; | |
4781 | } | |
4782 | ||
4783 | #define wxHtmlCell_IsBefore(_swigobj,_swigarg0) (_swigobj->IsBefore(_swigarg0)) | |
4784 | static PyObject *_wrap_wxHtmlCell_IsBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
dc2f8a65 RD |
4785 | PyObject * _resultobj; |
4786 | bool _result; | |
4787 | wxHtmlCell * _arg0; | |
5a2a9da2 | 4788 | wxHtmlCell * _arg1; |
dc2f8a65 RD |
4789 | PyObject * _argo0 = 0; |
4790 | PyObject * _argo1 = 0; | |
5a2a9da2 | 4791 | char *_kwnames[] = { "self","cell", NULL }; |
dc2f8a65 RD |
4792 | |
4793 | self = self; | |
5a2a9da2 | 4794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_IsBefore",_kwnames,&_argo0,&_argo1)) |
dc2f8a65 RD |
4795 | return NULL; |
4796 | if (_argo0) { | |
4797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 | 4799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_IsBefore. Expected _wxHtmlCell_p."); |
dc2f8a65 RD |
4800 | return NULL; |
4801 | } | |
4802 | } | |
4803 | if (_argo1) { | |
4804 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5a2a9da2 RD |
4805 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { |
4806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_IsBefore. Expected _wxHtmlCell_p."); | |
dc2f8a65 RD |
4807 | return NULL; |
4808 | } | |
4809 | } | |
4810 | { | |
4268f798 | 4811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4812 | _result = (bool )wxHtmlCell_IsBefore(_arg0,_arg1); |
dc2f8a65 | 4813 | |
4268f798 RD |
4814 | wxPyEndAllowThreads(__tstate); |
4815 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
4816 | } _resultobj = Py_BuildValue("i",_result); |
4817 | return _resultobj; | |
4818 | } | |
4819 | ||
5a2a9da2 RD |
4820 | #define wxHtmlCell_ConvertToText(_swigobj,_swigarg0) (_swigobj->ConvertToText(_swigarg0)) |
4821 | static PyObject *_wrap_wxHtmlCell_ConvertToText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
dc2f8a65 | 4822 | PyObject * _resultobj; |
5a2a9da2 | 4823 | wxString * _result; |
dc2f8a65 | 4824 | wxHtmlCell * _arg0; |
5a2a9da2 | 4825 | wxHtmlSelection * _arg1; |
dc2f8a65 | 4826 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
4827 | PyObject * _argo1 = 0; |
4828 | char *_kwnames[] = { "self","sel", NULL }; | |
dc2f8a65 RD |
4829 | |
4830 | self = self; | |
5a2a9da2 | 4831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_ConvertToText",_kwnames,&_argo0,&_argo1)) |
dc2f8a65 RD |
4832 | return NULL; |
4833 | if (_argo0) { | |
4834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) { | |
5a2a9da2 RD |
4836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_ConvertToText. Expected _wxHtmlCell_p."); |
4837 | return NULL; | |
4838 | } | |
4839 | } | |
4840 | if (_argo1) { | |
4841 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4842 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlSelection_p")) { | |
4843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_ConvertToText. Expected _wxHtmlSelection_p."); | |
dc2f8a65 RD |
4844 | return NULL; |
4845 | } | |
4846 | } | |
dc2f8a65 | 4847 | { |
4268f798 | 4848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 4849 | _result = new wxString (wxHtmlCell_ConvertToText(_arg0,_arg1)); |
dc2f8a65 | 4850 | |
4268f798 RD |
4851 | wxPyEndAllowThreads(__tstate); |
4852 | if (PyErr_Occurred()) return NULL; | |
5a2a9da2 RD |
4853 | }{ |
4854 | #if wxUSE_UNICODE | |
4855 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); | |
4856 | #else | |
4857 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4858 | #endif | |
4859 | } | |
4860 | { | |
4861 | delete _result; | |
4862 | } | |
dc2f8a65 RD |
4863 | return _resultobj; |
4864 | } | |
4865 | ||
9416aa89 RD |
4866 | static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr) { |
4867 | wxHtmlWordCell *src; | |
4868 | wxHtmlCell *dest; | |
4869 | src = (wxHtmlWordCell *) ptr; | |
4870 | dest = (wxHtmlCell *) src; | |
4871 | return (void *) dest; | |
4872 | } | |
4873 | ||
4874 | static void *SwigwxHtmlWordCellTowxObject(void *ptr) { | |
4875 | wxHtmlWordCell *src; | |
4876 | wxObject *dest; | |
4877 | src = (wxHtmlWordCell *) ptr; | |
4878 | dest = (wxObject *) src; | |
4879 | return (void *) dest; | |
4880 | } | |
4881 | ||
4882 | #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1)) | |
4883 | static PyObject *_wrap_new_wxHtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4884 | PyObject * _resultobj; | |
4885 | wxHtmlWordCell * _result; | |
4886 | wxString * _arg0; | |
4887 | wxDC * _arg1; | |
4888 | PyObject * _obj0 = 0; | |
4889 | PyObject * _argo1 = 0; | |
4890 | char *_kwnames[] = { "word","dc", NULL }; | |
4891 | char _ptemp[128]; | |
4892 | ||
4893 | self = self; | |
4894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxHtmlWordCell",_kwnames,&_obj0,&_argo1)) | |
4895 | return NULL; | |
4896 | { | |
c8bc7bb8 RD |
4897 | _arg0 = wxString_in_helper(_obj0); |
4898 | if (_arg0 == NULL) | |
9416aa89 | 4899 | return NULL; |
9416aa89 RD |
4900 | } |
4901 | if (_argo1) { | |
7e50db3f | 4902 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
9416aa89 RD |
4903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p."); |
4904 | return NULL; | |
4905 | } | |
4906 | } | |
4907 | { | |
4268f798 | 4908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4909 | _result = (wxHtmlWordCell *)new_wxHtmlWordCell(*_arg0,*_arg1); |
9416aa89 | 4910 | |
4268f798 RD |
4911 | wxPyEndAllowThreads(__tstate); |
4912 | if (PyErr_Occurred()) return NULL; | |
9416aa89 RD |
4913 | } if (_result) { |
4914 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWordCell_p"); | |
4915 | _resultobj = Py_BuildValue("s",_ptemp); | |
4916 | } else { | |
4917 | Py_INCREF(Py_None); | |
4918 | _resultobj = Py_None; | |
4919 | } | |
4920 | { | |
4921 | if (_obj0) | |
4922 | delete _arg0; | |
4923 | } | |
4924 | return _resultobj; | |
4925 | } | |
4926 | ||
e166644c RD |
4927 | static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr) { |
4928 | wxHtmlContainerCell *src; | |
4929 | wxHtmlCell *dest; | |
4930 | src = (wxHtmlContainerCell *) ptr; | |
4931 | dest = (wxHtmlCell *) src; | |
4932 | return (void *) dest; | |
4933 | } | |
4934 | ||
9416aa89 RD |
4935 | static void *SwigwxHtmlContainerCellTowxObject(void *ptr) { |
4936 | wxHtmlContainerCell *src; | |
4937 | wxObject *dest; | |
4938 | src = (wxHtmlContainerCell *) ptr; | |
4939 | dest = (wxObject *) src; | |
4940 | return (void *) dest; | |
4941 | } | |
4942 | ||
e166644c RD |
4943 | #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0)) |
4944 | static PyObject *_wrap_new_wxHtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4945 | PyObject * _resultobj; | |
4946 | wxHtmlContainerCell * _result; | |
4947 | wxHtmlContainerCell * _arg0; | |
4948 | PyObject * _argo0 = 0; | |
4949 | char *_kwnames[] = { "parent", NULL }; | |
4950 | char _ptemp[128]; | |
4951 | ||
4952 | self = self; | |
4953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlContainerCell",_kwnames,&_argo0)) | |
4954 | return NULL; | |
4955 | if (_argo0) { | |
4956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
4958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p."); | |
4959 | return NULL; | |
4960 | } | |
4961 | } | |
4962 | { | |
4268f798 | 4963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4964 | _result = (wxHtmlContainerCell *)new_wxHtmlContainerCell(_arg0); |
e166644c | 4965 | |
4268f798 RD |
4966 | wxPyEndAllowThreads(__tstate); |
4967 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
4968 | } if (_result) { |
4969 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
4970 | _resultobj = Py_BuildValue("s",_ptemp); | |
4971 | } else { | |
4972 | Py_INCREF(Py_None); | |
4973 | _resultobj = Py_None; | |
4974 | } | |
4975 | return _resultobj; | |
4976 | } | |
4977 | ||
4978 | #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0)) | |
4979 | static PyObject *_wrap_wxHtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4980 | PyObject * _resultobj; | |
4981 | wxHtmlContainerCell * _arg0; | |
4982 | wxHtmlCell * _arg1; | |
4983 | PyObject * _argo0 = 0; | |
4984 | PyObject * _argo1 = 0; | |
4985 | char *_kwnames[] = { "self","cell", NULL }; | |
4986 | ||
4987 | self = self; | |
4988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_InsertCell",_kwnames,&_argo0,&_argo1)) | |
4989 | return NULL; | |
4990 | if (_argo0) { | |
4991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
4993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p."); | |
4994 | return NULL; | |
4995 | } | |
4996 | } | |
4997 | if (_argo1) { | |
4998 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4999 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
5000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p."); | |
5001 | return NULL; | |
5002 | } | |
5003 | } | |
5004 | { | |
4268f798 | 5005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5006 | wxHtmlContainerCell_InsertCell(_arg0,_arg1); |
e166644c | 5007 | |
4268f798 RD |
5008 | wxPyEndAllowThreads(__tstate); |
5009 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5010 | } Py_INCREF(Py_None); |
5011 | _resultobj = Py_None; | |
5012 | return _resultobj; | |
5013 | } | |
5014 | ||
5015 | #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0)) | |
5016 | static PyObject *_wrap_wxHtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5017 | PyObject * _resultobj; | |
5018 | wxHtmlContainerCell * _arg0; | |
5019 | int _arg1; | |
5020 | PyObject * _argo0 = 0; | |
5021 | char *_kwnames[] = { "self","al", NULL }; | |
5022 | ||
5023 | self = self; | |
5024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames,&_argo0,&_arg1)) | |
5025 | return NULL; | |
5026 | if (_argo0) { | |
5027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p."); | |
5030 | return NULL; | |
5031 | } | |
5032 | } | |
5033 | { | |
4268f798 | 5034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5035 | wxHtmlContainerCell_SetAlignHor(_arg0,_arg1); |
e166644c | 5036 | |
4268f798 RD |
5037 | wxPyEndAllowThreads(__tstate); |
5038 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5039 | } Py_INCREF(Py_None); |
5040 | _resultobj = Py_None; | |
5041 | return _resultobj; | |
5042 | } | |
5043 | ||
5044 | #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor()) | |
5045 | static PyObject *_wrap_wxHtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5046 | PyObject * _resultobj; | |
5047 | int _result; | |
5048 | wxHtmlContainerCell * _arg0; | |
5049 | PyObject * _argo0 = 0; | |
5050 | char *_kwnames[] = { "self", NULL }; | |
5051 | ||
5052 | self = self; | |
5053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignHor",_kwnames,&_argo0)) | |
5054 | return NULL; | |
5055 | if (_argo0) { | |
5056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p."); | |
5059 | return NULL; | |
5060 | } | |
5061 | } | |
5062 | { | |
4268f798 | 5063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5064 | _result = (int )wxHtmlContainerCell_GetAlignHor(_arg0); |
e166644c | 5065 | |
4268f798 RD |
5066 | wxPyEndAllowThreads(__tstate); |
5067 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5068 | } _resultobj = Py_BuildValue("i",_result); |
5069 | return _resultobj; | |
5070 | } | |
5071 | ||
5072 | #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0)) | |
5073 | static PyObject *_wrap_wxHtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5074 | PyObject * _resultobj; | |
5075 | wxHtmlContainerCell * _arg0; | |
5076 | int _arg1; | |
5077 | PyObject * _argo0 = 0; | |
5078 | char *_kwnames[] = { "self","al", NULL }; | |
5079 | ||
5080 | self = self; | |
5081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames,&_argo0,&_arg1)) | |
5082 | return NULL; | |
5083 | if (_argo0) { | |
5084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p."); | |
5087 | return NULL; | |
5088 | } | |
5089 | } | |
5090 | { | |
4268f798 | 5091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5092 | wxHtmlContainerCell_SetAlignVer(_arg0,_arg1); |
e166644c | 5093 | |
4268f798 RD |
5094 | wxPyEndAllowThreads(__tstate); |
5095 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5096 | } Py_INCREF(Py_None); |
5097 | _resultobj = Py_None; | |
5098 | return _resultobj; | |
5099 | } | |
5100 | ||
5101 | #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer()) | |
5102 | static PyObject *_wrap_wxHtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5103 | PyObject * _resultobj; | |
5104 | int _result; | |
5105 | wxHtmlContainerCell * _arg0; | |
5106 | PyObject * _argo0 = 0; | |
5107 | char *_kwnames[] = { "self", NULL }; | |
5108 | ||
5109 | self = self; | |
5110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignVer",_kwnames,&_argo0)) | |
5111 | return NULL; | |
5112 | if (_argo0) { | |
5113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p."); | |
5116 | return NULL; | |
5117 | } | |
5118 | } | |
5119 | { | |
4268f798 | 5120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5121 | _result = (int )wxHtmlContainerCell_GetAlignVer(_arg0); |
e166644c | 5122 | |
4268f798 RD |
5123 | wxPyEndAllowThreads(__tstate); |
5124 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5125 | } _resultobj = Py_BuildValue("i",_result); |
5126 | return _resultobj; | |
5127 | } | |
5128 | ||
5129 | #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2)) | |
5130 | static PyObject *_wrap_wxHtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5131 | PyObject * _resultobj; | |
5132 | wxHtmlContainerCell * _arg0; | |
5133 | int _arg1; | |
5134 | int _arg2; | |
9d8bd15f | 5135 | int _arg3 = (int ) (wxHTML_UNITS_PIXELS); |
e166644c RD |
5136 | PyObject * _argo0 = 0; |
5137 | char *_kwnames[] = { "self","i","what","units", NULL }; | |
5138 | ||
5139 | self = self; | |
5140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5141 | return NULL; | |
5142 | if (_argo0) { | |
5143 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5144 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p."); | |
5146 | return NULL; | |
5147 | } | |
5148 | } | |
5149 | { | |
4268f798 | 5150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5151 | wxHtmlContainerCell_SetIndent(_arg0,_arg1,_arg2,_arg3); |
e166644c | 5152 | |
4268f798 RD |
5153 | wxPyEndAllowThreads(__tstate); |
5154 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5155 | } Py_INCREF(Py_None); |
5156 | _resultobj = Py_None; | |
5157 | return _resultobj; | |
5158 | } | |
5159 | ||
5160 | #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0)) | |
5161 | static PyObject *_wrap_wxHtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5162 | PyObject * _resultobj; | |
5163 | int _result; | |
5164 | wxHtmlContainerCell * _arg0; | |
5165 | int _arg1; | |
5166 | PyObject * _argo0 = 0; | |
5167 | char *_kwnames[] = { "self","ind", NULL }; | |
5168 | ||
5169 | self = self; | |
5170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndent",_kwnames,&_argo0,&_arg1)) | |
5171 | return NULL; | |
5172 | if (_argo0) { | |
5173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p."); | |
5176 | return NULL; | |
5177 | } | |
5178 | } | |
5179 | { | |
4268f798 | 5180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5181 | _result = (int )wxHtmlContainerCell_GetIndent(_arg0,_arg1); |
e166644c | 5182 | |
4268f798 RD |
5183 | wxPyEndAllowThreads(__tstate); |
5184 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5185 | } _resultobj = Py_BuildValue("i",_result); |
5186 | return _resultobj; | |
5187 | } | |
5188 | ||
5189 | #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0)) | |
5190 | static PyObject *_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5191 | PyObject * _resultobj; | |
5192 | int _result; | |
5193 | wxHtmlContainerCell * _arg0; | |
5194 | int _arg1; | |
5195 | PyObject * _argo0 = 0; | |
5196 | char *_kwnames[] = { "self","ind", NULL }; | |
5197 | ||
5198 | self = self; | |
5199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames,&_argo0,&_arg1)) | |
5200 | return NULL; | |
5201 | if (_argo0) { | |
5202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p."); | |
5205 | return NULL; | |
5206 | } | |
5207 | } | |
5208 | { | |
4268f798 | 5209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5210 | _result = (int )wxHtmlContainerCell_GetIndentUnits(_arg0,_arg1); |
e166644c | 5211 | |
4268f798 RD |
5212 | wxPyEndAllowThreads(__tstate); |
5213 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5214 | } _resultobj = Py_BuildValue("i",_result); |
5215 | return _resultobj; | |
5216 | } | |
5217 | ||
5218 | #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
5219 | static PyObject *_wrap_wxHtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5220 | PyObject * _resultobj; | |
5221 | wxHtmlContainerCell * _arg0; | |
5222 | wxHtmlTag * _arg1; | |
5223 | PyObject * _argo0 = 0; | |
5224 | PyObject * _argo1 = 0; | |
5225 | char *_kwnames[] = { "self","tag", NULL }; | |
5226 | ||
5227 | self = self; | |
5228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetAlign",_kwnames,&_argo0,&_argo1)) | |
5229 | return NULL; | |
5230 | if (_argo0) { | |
5231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p."); | |
5234 | return NULL; | |
5235 | } | |
5236 | } | |
5237 | if (_argo1) { | |
7e50db3f | 5238 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { |
e166644c RD |
5239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p."); |
5240 | return NULL; | |
5241 | } | |
5242 | } | |
5243 | { | |
4268f798 | 5244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5245 | wxHtmlContainerCell_SetAlign(_arg0,*_arg1); |
e166644c | 5246 | |
4268f798 RD |
5247 | wxPyEndAllowThreads(__tstate); |
5248 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5249 | } Py_INCREF(Py_None); |
5250 | _resultobj = Py_None; | |
5251 | return _resultobj; | |
5252 | } | |
5253 | ||
5254 | #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1)) | |
5255 | static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5256 | PyObject * _resultobj; | |
5257 | wxHtmlContainerCell * _arg0; | |
5258 | int _arg1; | |
5259 | int _arg2; | |
5260 | PyObject * _argo0 = 0; | |
5261 | char *_kwnames[] = { "self","w","units", NULL }; | |
5262 | ||
5263 | self = self; | |
5264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5265 | return NULL; | |
5266 | if (_argo0) { | |
5267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p."); | |
5270 | return NULL; | |
5271 | } | |
5272 | } | |
5273 | { | |
4268f798 | 5274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5275 | wxHtmlContainerCell_SetWidthFloat(_arg0,_arg1,_arg2); |
e166644c | 5276 | |
4268f798 RD |
5277 | wxPyEndAllowThreads(__tstate); |
5278 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5279 | } Py_INCREF(Py_None); |
5280 | _resultobj = Py_None; | |
5281 | return _resultobj; | |
5282 | } | |
5283 | ||
5284 | #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0)) | |
5285 | static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5286 | PyObject * _resultobj; | |
5287 | wxHtmlContainerCell * _arg0; | |
5288 | wxHtmlTag * _arg1; | |
5289 | PyObject * _argo0 = 0; | |
5290 | PyObject * _argo1 = 0; | |
5291 | char *_kwnames[] = { "self","tag", NULL }; | |
5292 | ||
5293 | self = self; | |
5294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames,&_argo0,&_argo1)) | |
5295 | return NULL; | |
5296 | if (_argo0) { | |
5297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p."); | |
5300 | return NULL; | |
5301 | } | |
5302 | } | |
5303 | if (_argo1) { | |
7e50db3f | 5304 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) { |
e166644c RD |
5305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p."); |
5306 | return NULL; | |
5307 | } | |
5308 | } | |
5309 | { | |
4268f798 | 5310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5311 | wxHtmlContainerCell_SetWidthFloatFromTag(_arg0,*_arg1); |
e166644c | 5312 | |
4268f798 RD |
5313 | wxPyEndAllowThreads(__tstate); |
5314 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5315 | } Py_INCREF(Py_None); |
5316 | _resultobj = Py_None; | |
5317 | return _resultobj; | |
5318 | } | |
5319 | ||
5320 | #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1)) | |
5321 | static PyObject *_wrap_wxHtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5322 | PyObject * _resultobj; | |
5323 | wxHtmlContainerCell * _arg0; | |
5324 | int _arg1; | |
9d8bd15f | 5325 | int _arg2 = (int ) (wxHTML_ALIGN_TOP); |
e166644c RD |
5326 | PyObject * _argo0 = 0; |
5327 | char *_kwnames[] = { "self","h","align", NULL }; | |
5328 | ||
5329 | self = self; | |
5330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5331 | return NULL; | |
5332 | if (_argo0) { | |
5333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p."); | |
5336 | return NULL; | |
5337 | } | |
5338 | } | |
5339 | { | |
4268f798 | 5340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5341 | wxHtmlContainerCell_SetMinHeight(_arg0,_arg1,_arg2); |
e166644c | 5342 | |
4268f798 RD |
5343 | wxPyEndAllowThreads(__tstate); |
5344 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5345 | } Py_INCREF(Py_None); |
5346 | _resultobj = Py_None; | |
5347 | return _resultobj; | |
5348 | } | |
5349 | ||
e166644c RD |
5350 | #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) |
5351 | static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5352 | PyObject * _resultobj; | |
5353 | wxHtmlContainerCell * _arg0; | |
5354 | wxColour * _arg1; | |
5355 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
5356 | wxColour temp; |
5357 | PyObject * _obj1 = 0; | |
e166644c RD |
5358 | char *_kwnames[] = { "self","clr", NULL }; |
5359 | ||
5360 | self = self; | |
f6bcfd97 | 5361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
5362 | return NULL; |
5363 | if (_argo0) { | |
5364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p."); | |
5367 | return NULL; | |
5368 | } | |
5369 | } | |
f6bcfd97 BP |
5370 | { |
5371 | _arg1 = &temp; | |
5372 | if (! wxColour_helper(_obj1, &_arg1)) | |
e166644c | 5373 | return NULL; |
f6bcfd97 | 5374 | } |
e166644c | 5375 | { |
4268f798 | 5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5377 | wxHtmlContainerCell_SetBackgroundColour(_arg0,*_arg1); |
e166644c | 5378 | |
4268f798 RD |
5379 | wxPyEndAllowThreads(__tstate); |
5380 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5381 | } Py_INCREF(Py_None); |
5382 | _resultobj = Py_None; | |
5383 | return _resultobj; | |
5384 | } | |
5385 | ||
7e50db3f RD |
5386 | #define wxHtmlContainerCell_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) |
5387 | static PyObject *_wrap_wxHtmlContainerCell_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5388 | PyObject * _resultobj; | |
5389 | wxColour * _result; | |
5390 | wxHtmlContainerCell * _arg0; | |
5391 | PyObject * _argo0 = 0; | |
5392 | char *_kwnames[] = { "self", NULL }; | |
5393 | char _ptemp[128]; | |
5394 | ||
5395 | self = self; | |
5396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetBackgroundColour",_kwnames,&_argo0)) | |
5397 | return NULL; | |
5398 | if (_argo0) { | |
5399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetBackgroundColour. Expected _wxHtmlContainerCell_p."); | |
5402 | return NULL; | |
5403 | } | |
5404 | } | |
5405 | { | |
5406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5407 | _result = new wxColour (wxHtmlContainerCell_GetBackgroundColour(_arg0)); | |
5408 | ||
5409 | wxPyEndAllowThreads(__tstate); | |
5410 | if (PyErr_Occurred()) return NULL; | |
5411 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
5412 | _resultobj = Py_BuildValue("s",_ptemp); | |
5413 | return _resultobj; | |
5414 | } | |
5415 | ||
e166644c RD |
5416 | #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1)) |
5417 | static PyObject *_wrap_wxHtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5418 | PyObject * _resultobj; | |
5419 | wxHtmlContainerCell * _arg0; | |
5420 | wxColour * _arg1; | |
5421 | wxColour * _arg2; | |
5422 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
5423 | wxColour temp; |
5424 | PyObject * _obj1 = 0; | |
5425 | wxColour temp0; | |
5426 | PyObject * _obj2 = 0; | |
e166644c RD |
5427 | char *_kwnames[] = { "self","clr1","clr2", NULL }; |
5428 | ||
5429 | self = self; | |
f6bcfd97 | 5430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlContainerCell_SetBorder",_kwnames,&_argo0,&_obj1,&_obj2)) |
e166644c RD |
5431 | return NULL; |
5432 | if (_argo0) { | |
5433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p."); | |
5436 | return NULL; | |
5437 | } | |
5438 | } | |
f6bcfd97 BP |
5439 | { |
5440 | _arg1 = &temp; | |
5441 | if (! wxColour_helper(_obj1, &_arg1)) | |
e166644c | 5442 | return NULL; |
f6bcfd97 BP |
5443 | } |
5444 | { | |
5445 | _arg2 = &temp0; | |
5446 | if (! wxColour_helper(_obj2, &_arg2)) | |
e166644c | 5447 | return NULL; |
f6bcfd97 | 5448 | } |
e166644c | 5449 | { |
4268f798 | 5450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5451 | wxHtmlContainerCell_SetBorder(_arg0,*_arg1,*_arg2); |
e166644c | 5452 | |
4268f798 RD |
5453 | wxPyEndAllowThreads(__tstate); |
5454 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5455 | } Py_INCREF(Py_None); |
5456 | _resultobj = Py_None; | |
5457 | return _resultobj; | |
5458 | } | |
5459 | ||
5a2a9da2 RD |
5460 | #define wxHtmlContainerCell_GetFirstChild(_swigobj) (_swigobj->GetFirstChild()) |
5461 | static PyObject *_wrap_wxHtmlContainerCell_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c RD |
5462 | PyObject * _resultobj; |
5463 | wxHtmlCell * _result; | |
5464 | wxHtmlContainerCell * _arg0; | |
5465 | PyObject * _argo0 = 0; | |
5466 | char *_kwnames[] = { "self", NULL }; | |
5467 | char _ptemp[128]; | |
5468 | ||
5469 | self = self; | |
5a2a9da2 | 5470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetFirstChild",_kwnames,&_argo0)) |
e166644c RD |
5471 | return NULL; |
5472 | if (_argo0) { | |
5473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) { | |
5a2a9da2 | 5475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetFirstChild. Expected _wxHtmlContainerCell_p."); |
e166644c RD |
5476 | return NULL; |
5477 | } | |
5478 | } | |
5479 | { | |
4268f798 | 5480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 5481 | _result = (wxHtmlCell *)wxHtmlContainerCell_GetFirstChild(_arg0); |
e166644c | 5482 | |
4268f798 RD |
5483 | wxPyEndAllowThreads(__tstate); |
5484 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5485 | } if (_result) { |
5486 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p"); | |
5487 | _resultobj = Py_BuildValue("s",_ptemp); | |
5488 | } else { | |
5489 | Py_INCREF(Py_None); | |
5490 | _resultobj = Py_None; | |
5491 | } | |
5492 | return _resultobj; | |
5493 | } | |
5494 | ||
9c00cfa3 RD |
5495 | static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr) { |
5496 | wxHtmlColourCell *src; | |
5497 | wxHtmlCell *dest; | |
5498 | src = (wxHtmlColourCell *) ptr; | |
5499 | dest = (wxHtmlCell *) src; | |
5500 | return (void *) dest; | |
5501 | } | |
5502 | ||
9416aa89 RD |
5503 | static void *SwigwxHtmlColourCellTowxObject(void *ptr) { |
5504 | wxHtmlColourCell *src; | |
5505 | wxObject *dest; | |
5506 | src = (wxHtmlColourCell *) ptr; | |
5507 | dest = (wxObject *) src; | |
5508 | return (void *) dest; | |
5509 | } | |
5510 | ||
9c00cfa3 RD |
5511 | #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1)) |
5512 | static PyObject *_wrap_new_wxHtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5513 | PyObject * _resultobj; | |
5514 | wxHtmlColourCell * _result; | |
5515 | wxColour * _arg0; | |
5516 | int _arg1 = (int ) (wxHTML_CLR_FOREGROUND); | |
f6bcfd97 BP |
5517 | wxColour temp; |
5518 | PyObject * _obj0 = 0; | |
9c00cfa3 RD |
5519 | char *_kwnames[] = { "clr","flags", NULL }; |
5520 | char _ptemp[128]; | |
5521 | ||
5522 | self = self; | |
f6bcfd97 | 5523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlColourCell",_kwnames,&_obj0,&_arg1)) |
9c00cfa3 | 5524 | return NULL; |
f6bcfd97 BP |
5525 | { |
5526 | _arg0 = &temp; | |
5527 | if (! wxColour_helper(_obj0, &_arg0)) | |
9c00cfa3 | 5528 | return NULL; |
f6bcfd97 | 5529 | } |
9c00cfa3 | 5530 | { |
4268f798 | 5531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5532 | _result = (wxHtmlColourCell *)new_wxHtmlColourCell(*_arg0,_arg1); |
9c00cfa3 | 5533 | |
4268f798 RD |
5534 | wxPyEndAllowThreads(__tstate); |
5535 | if (PyErr_Occurred()) return NULL; | |
9c00cfa3 RD |
5536 | } if (_result) { |
5537 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlColourCell_p"); | |
5538 | _resultobj = Py_BuildValue("s",_ptemp); | |
5539 | } else { | |
5540 | Py_INCREF(Py_None); | |
5541 | _resultobj = Py_None; | |
5542 | } | |
5543 | return _resultobj; | |
5544 | } | |
5545 | ||
9416aa89 RD |
5546 | static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr) { |
5547 | wxHtmlFontCell *src; | |
5548 | wxHtmlCell *dest; | |
5549 | src = (wxHtmlFontCell *) ptr; | |
5550 | dest = (wxHtmlCell *) src; | |
5551 | return (void *) dest; | |
5552 | } | |
5553 | ||
5554 | static void *SwigwxHtmlFontCellTowxObject(void *ptr) { | |
5555 | wxHtmlFontCell *src; | |
5556 | wxObject *dest; | |
5557 | src = (wxHtmlFontCell *) ptr; | |
5558 | dest = (wxObject *) src; | |
5559 | return (void *) dest; | |
5560 | } | |
5561 | ||
5562 | #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0)) | |
5563 | static PyObject *_wrap_new_wxHtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5564 | PyObject * _resultobj; | |
5565 | wxHtmlFontCell * _result; | |
5566 | wxFont * _arg0; | |
5567 | PyObject * _argo0 = 0; | |
5568 | char *_kwnames[] = { "font", NULL }; | |
5569 | char _ptemp[128]; | |
5570 | ||
5571 | self = self; | |
5572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlFontCell",_kwnames,&_argo0)) | |
5573 | return NULL; | |
5574 | if (_argo0) { | |
5575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) { | |
5577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p."); | |
5578 | return NULL; | |
5579 | } | |
5580 | } | |
5581 | { | |
4268f798 | 5582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5583 | _result = (wxHtmlFontCell *)new_wxHtmlFontCell(_arg0); |
9416aa89 | 5584 | |
4268f798 RD |
5585 | wxPyEndAllowThreads(__tstate); |
5586 | if (PyErr_Occurred()) return NULL; | |
9416aa89 RD |
5587 | } if (_result) { |
5588 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlFontCell_p"); | |
5589 | _resultobj = Py_BuildValue("s",_ptemp); | |
5590 | } else { | |
5591 | Py_INCREF(Py_None); | |
5592 | _resultobj = Py_None; | |
5593 | } | |
5594 | return _resultobj; | |
5595 | } | |
5596 | ||
e166644c RD |
5597 | static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr) { |
5598 | wxHtmlWidgetCell *src; | |
5599 | wxHtmlCell *dest; | |
5600 | src = (wxHtmlWidgetCell *) ptr; | |
5601 | dest = (wxHtmlCell *) src; | |
5602 | return (void *) dest; | |
5603 | } | |
5604 | ||
9416aa89 RD |
5605 | static void *SwigwxHtmlWidgetCellTowxObject(void *ptr) { |
5606 | wxHtmlWidgetCell *src; | |
5607 | wxObject *dest; | |
5608 | src = (wxHtmlWidgetCell *) ptr; | |
5609 | dest = (wxObject *) src; | |
5610 | return (void *) dest; | |
5611 | } | |
5612 | ||
e166644c RD |
5613 | #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1)) |
5614 | static PyObject *_wrap_new_wxHtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5615 | PyObject * _resultobj; | |
5616 | wxHtmlWidgetCell * _result; | |
5617 | wxWindow * _arg0; | |
5618 | int _arg1 = (int ) 0; | |
5619 | PyObject * _argo0 = 0; | |
5620 | char *_kwnames[] = { "wnd","w", NULL }; | |
5621 | char _ptemp[128]; | |
5622 | ||
5623 | self = self; | |
5624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlWidgetCell",_kwnames,&_argo0,&_arg1)) | |
5625 | return NULL; | |
5626 | if (_argo0) { | |
5627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
5629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p."); | |
5630 | return NULL; | |
5631 | } | |
5632 | } | |
5633 | { | |
4268f798 | 5634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5635 | _result = (wxHtmlWidgetCell *)new_wxHtmlWidgetCell(_arg0,_arg1); |
e166644c | 5636 | |
4268f798 RD |
5637 | wxPyEndAllowThreads(__tstate); |
5638 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5639 | } if (_result) { |
5640 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWidgetCell_p"); | |
5641 | _resultobj = Py_BuildValue("s",_ptemp); | |
5642 | } else { | |
5643 | Py_INCREF(Py_None); | |
5644 | _resultobj = Py_None; | |
5645 | } | |
5646 | return _resultobj; | |
5647 | } | |
5648 | ||
7e50db3f RD |
5649 | static void *SwigwxPyHtmlFilterTowxObject(void *ptr) { |
5650 | wxPyHtmlFilter *src; | |
5651 | wxObject *dest; | |
5652 | src = (wxPyHtmlFilter *) ptr; | |
5653 | dest = (wxObject *) src; | |
5654 | return (void *) dest; | |
5655 | } | |
5656 | ||
5657 | #define new_wxHtmlFilter() (new wxPyHtmlFilter()) | |
5658 | static PyObject *_wrap_new_wxHtmlFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5659 | PyObject * _resultobj; | |
5660 | wxPyHtmlFilter * _result; | |
5661 | char *_kwnames[] = { NULL }; | |
5662 | char _ptemp[128]; | |
5663 | ||
5664 | self = self; | |
5665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlFilter",_kwnames)) | |
5666 | return NULL; | |
5667 | { | |
5668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5669 | _result = (wxPyHtmlFilter *)new_wxHtmlFilter(); | |
5670 | ||
5671 | wxPyEndAllowThreads(__tstate); | |
5672 | if (PyErr_Occurred()) return NULL; | |
5673 | } if (_result) { | |
5674 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlFilter_p"); | |
5675 | _resultobj = Py_BuildValue("s",_ptemp); | |
5676 | } else { | |
5677 | Py_INCREF(Py_None); | |
5678 | _resultobj = Py_None; | |
5679 | } | |
5680 | return _resultobj; | |
5681 | } | |
5682 | ||
5683 | #define wxHtmlFilter__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) | |
5684 | static PyObject *_wrap_wxHtmlFilter__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5685 | PyObject * _resultobj; | |
5686 | wxPyHtmlFilter * _arg0; | |
5687 | PyObject * _arg1; | |
5688 | PyObject * _arg2; | |
5689 | PyObject * _argo0 = 0; | |
5690 | PyObject * _obj1 = 0; | |
5691 | PyObject * _obj2 = 0; | |
5692 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5693 | ||
5694 | self = self; | |
5695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlFilter__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5696 | return NULL; | |
5697 | if (_argo0) { | |
5698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlFilter_p")) { | |
5700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlFilter__setCallbackInfo. Expected _wxPyHtmlFilter_p."); | |
5701 | return NULL; | |
5702 | } | |
5703 | } | |
5704 | { | |
5705 | _arg1 = _obj1; | |
5706 | } | |
5707 | { | |
5708 | _arg2 = _obj2; | |
5709 | } | |
5710 | { | |
5711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5712 | wxHtmlFilter__setCallbackInfo(_arg0,_arg1,_arg2); | |
5713 | ||
5714 | wxPyEndAllowThreads(__tstate); | |
5715 | if (PyErr_Occurred()) return NULL; | |
5716 | } Py_INCREF(Py_None); | |
5717 | _resultobj = Py_None; | |
5718 | return _resultobj; | |
5719 | } | |
5720 | ||
e166644c RD |
5721 | static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) { |
5722 | wxPyHtmlWindow *src; | |
5723 | wxScrolledWindow *dest; | |
5724 | src = (wxPyHtmlWindow *) ptr; | |
5725 | dest = (wxScrolledWindow *) src; | |
5726 | return (void *) dest; | |
5727 | } | |
5728 | ||
5729 | static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) { | |
5730 | wxPyHtmlWindow *src; | |
5731 | wxPanel *dest; | |
5732 | src = (wxPyHtmlWindow *) ptr; | |
5733 | dest = (wxPanel *) src; | |
5734 | return (void *) dest; | |
5735 | } | |
5736 | ||
5737 | static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) { | |
5738 | wxPyHtmlWindow *src; | |
5739 | wxWindow *dest; | |
5740 | src = (wxPyHtmlWindow *) ptr; | |
5741 | dest = (wxWindow *) src; | |
5742 | return (void *) dest; | |
5743 | } | |
5744 | ||
5745 | static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) { | |
5746 | wxPyHtmlWindow *src; | |
5747 | wxEvtHandler *dest; | |
5748 | src = (wxPyHtmlWindow *) ptr; | |
5749 | dest = (wxEvtHandler *) src; | |
5750 | return (void *) dest; | |
5751 | } | |
5752 | ||
9416aa89 RD |
5753 | static void *SwigwxPyHtmlWindowTowxObject(void *ptr) { |
5754 | wxPyHtmlWindow *src; | |
5755 | wxObject *dest; | |
5756 | src = (wxPyHtmlWindow *) ptr; | |
5757 | dest = (wxObject *) src; | |
5758 | return (void *) dest; | |
5759 | } | |
5760 | ||
e166644c RD |
5761 | #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
5762 | static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5763 | PyObject * _resultobj; | |
5764 | wxPyHtmlWindow * _result; | |
5765 | wxWindow * _arg0; | |
5766 | int _arg1 = (int ) -1; | |
1e7ecb7b RD |
5767 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
5768 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
5a2a9da2 | 5769 | int _arg4 = (int ) (wxHW_DEFAULT_STYLE); |
137b5242 | 5770 | wxString * _arg5 = (wxString *) &wxPyHtmlWindowNameStr; |
e166644c | 5771 | PyObject * _argo0 = 0; |
2f90df85 RD |
5772 | wxPoint temp; |
5773 | PyObject * _obj2 = 0; | |
5774 | wxSize temp0; | |
5775 | PyObject * _obj3 = 0; | |
137b5242 | 5776 | PyObject * _obj5 = 0; |
fc51b8c3 | 5777 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
e166644c RD |
5778 | char _ptemp[128]; |
5779 | ||
5780 | self = self; | |
137b5242 | 5781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOiO:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
e166644c RD |
5782 | return NULL; |
5783 | if (_argo0) { | |
5784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
5786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p."); | |
5787 | return NULL; | |
5788 | } | |
5789 | } | |
2f90df85 RD |
5790 | if (_obj2) |
5791 | { | |
5792 | _arg2 = &temp; | |
5793 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e166644c | 5794 | return NULL; |
2f90df85 RD |
5795 | } |
5796 | if (_obj3) | |
5797 | { | |
5798 | _arg3 = &temp0; | |
5799 | if (! wxSize_helper(_obj3, &_arg3)) | |
e166644c | 5800 | return NULL; |
137b5242 RD |
5801 | } |
5802 | if (_obj5) | |
5803 | { | |
5804 | _arg5 = wxString_in_helper(_obj5); | |
5805 | if (_arg5 == NULL) | |
5806 | return NULL; | |
2f90df85 | 5807 | } |
e166644c | 5808 | { |
4268f798 | 5809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 5810 | _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
e166644c | 5811 | |
4268f798 RD |
5812 | wxPyEndAllowThreads(__tstate); |
5813 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5814 | } if (_result) { |
5815 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p"); | |
5816 | _resultobj = Py_BuildValue("s",_ptemp); | |
5817 | } else { | |
5818 | Py_INCREF(Py_None); | |
5819 | _resultobj = Py_None; | |
5820 | } | |
137b5242 RD |
5821 | { |
5822 | if (_obj5) | |
5823 | delete _arg5; | |
5824 | } | |
e166644c RD |
5825 | return _resultobj; |
5826 | } | |
5827 | ||
7b7ac0ab RD |
5828 | #define new_wxPreHtmlWindow() (new wxPyHtmlWindow()) |
5829 | static PyObject *_wrap_new_wxPreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5830 | PyObject * _resultobj; | |
5831 | wxPyHtmlWindow * _result; | |
5832 | char *_kwnames[] = { NULL }; | |
5833 | char _ptemp[128]; | |
5834 | ||
5835 | self = self; | |
5836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreHtmlWindow",_kwnames)) | |
5837 | return NULL; | |
5838 | { | |
4268f798 | 5839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5840 | _result = (wxPyHtmlWindow *)new_wxPreHtmlWindow(); |
7b7ac0ab | 5841 | |
4268f798 RD |
5842 | wxPyEndAllowThreads(__tstate); |
5843 | if (PyErr_Occurred()) return NULL; | |
7b7ac0ab RD |
5844 | } if (_result) { |
5845 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p"); | |
5846 | _resultobj = Py_BuildValue("s",_ptemp); | |
5847 | } else { | |
5848 | Py_INCREF(Py_None); | |
5849 | _resultobj = Py_None; | |
5850 | } | |
5851 | return _resultobj; | |
5852 | } | |
5853 | ||
5854 | #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5855 | static PyObject *_wrap_wxHtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5856 | PyObject * _resultobj; | |
5857 | bool _result; | |
5858 | wxPyHtmlWindow * _arg0; | |
5859 | wxWindow * _arg1; | |
5860 | int _arg2 = (int ) -1; | |
5861 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
5862 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
c6c593e8 | 5863 | int _arg5 = (int ) (wxHW_SCROLLBAR_AUTO); |
137b5242 | 5864 | wxString * _arg6 = (wxString *) &wxPyHtmlWindowNameStr; |
7b7ac0ab RD |
5865 | PyObject * _argo0 = 0; |
5866 | PyObject * _argo1 = 0; | |
5867 | wxPoint temp; | |
5868 | PyObject * _obj3 = 0; | |
5869 | wxSize temp0; | |
5870 | PyObject * _obj4 = 0; | |
137b5242 | 5871 | PyObject * _obj6 = 0; |
fc51b8c3 | 5872 | char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL }; |
7b7ac0ab RD |
5873 | |
5874 | self = self; | |
137b5242 | 5875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOiO:wxHtmlWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6)) |
7b7ac0ab RD |
5876 | return NULL; |
5877 | if (_argo0) { | |
5878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p."); | |
5881 | return NULL; | |
5882 | } | |
5883 | } | |
5884 | if (_argo1) { | |
5885 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5886 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
5887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p."); | |
5888 | return NULL; | |
5889 | } | |
5890 | } | |
5891 | if (_obj3) | |
5892 | { | |
5893 | _arg3 = &temp; | |
5894 | if (! wxPoint_helper(_obj3, &_arg3)) | |
5895 | return NULL; | |
5896 | } | |
5897 | if (_obj4) | |
5898 | { | |
5899 | _arg4 = &temp0; | |
5900 | if (! wxSize_helper(_obj4, &_arg4)) | |
5901 | return NULL; | |
137b5242 RD |
5902 | } |
5903 | if (_obj6) | |
5904 | { | |
5905 | _arg6 = wxString_in_helper(_obj6); | |
5906 | if (_arg6 == NULL) | |
5907 | return NULL; | |
7b7ac0ab RD |
5908 | } |
5909 | { | |
4268f798 | 5910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 5911 | _result = (bool )wxHtmlWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6); |
7b7ac0ab | 5912 | |
4268f798 RD |
5913 | wxPyEndAllowThreads(__tstate); |
5914 | if (PyErr_Occurred()) return NULL; | |
7b7ac0ab | 5915 | } _resultobj = Py_BuildValue("i",_result); |
137b5242 RD |
5916 | { |
5917 | if (_obj6) | |
5918 | delete _arg6; | |
5919 | } | |
7b7ac0ab RD |
5920 | return _resultobj; |
5921 | } | |
5922 | ||
0122b7e3 RD |
5923 | #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
5924 | static PyObject *_wrap_wxHtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e166644c RD |
5925 | PyObject * _resultobj; |
5926 | wxPyHtmlWindow * _arg0; | |
5927 | PyObject * _arg1; | |
f6bcfd97 | 5928 | PyObject * _arg2; |
e166644c RD |
5929 | PyObject * _argo0 = 0; |
5930 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5931 | PyObject * _obj2 = 0; |
5932 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e166644c RD |
5933 | |
5934 | self = self; | |
0122b7e3 | 5935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e166644c RD |
5936 | return NULL; |
5937 | if (_argo0) { | |
5938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
0122b7e3 | 5940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p."); |
e166644c RD |
5941 | return NULL; |
5942 | } | |
5943 | } | |
5944 | { | |
5945 | _arg1 = _obj1; | |
5946 | } | |
f6bcfd97 BP |
5947 | { |
5948 | _arg2 = _obj2; | |
5949 | } | |
e166644c | 5950 | { |
4268f798 | 5951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5952 | wxHtmlWindow__setCallbackInfo(_arg0,_arg1,_arg2); |
e166644c | 5953 | |
4268f798 RD |
5954 | wxPyEndAllowThreads(__tstate); |
5955 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
5956 | } Py_INCREF(Py_None); |
5957 | _resultobj = Py_None; | |
5958 | return _resultobj; | |
5959 | } | |
5960 | ||
5961 | #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0)) | |
5962 | static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5963 | PyObject * _resultobj; | |
5964 | bool _result; | |
5965 | wxPyHtmlWindow * _arg0; | |
794c5cb1 | 5966 | wxString * _arg1; |
e166644c | 5967 | PyObject * _argo0 = 0; |
794c5cb1 | 5968 | PyObject * _obj1 = 0; |
e166644c RD |
5969 | char *_kwnames[] = { "self","source", NULL }; |
5970 | ||
5971 | self = self; | |
794c5cb1 | 5972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
5973 | return NULL; |
5974 | if (_argo0) { | |
5975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
5977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p."); | |
5978 | return NULL; | |
5979 | } | |
5980 | } | |
794c5cb1 | 5981 | { |
c8bc7bb8 RD |
5982 | _arg1 = wxString_in_helper(_obj1); |
5983 | if (_arg1 == NULL) | |
794c5cb1 | 5984 | return NULL; |
794c5cb1 | 5985 | } |
e166644c | 5986 | { |
4268f798 | 5987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5988 | _result = (bool )wxHtmlWindow_SetPage(_arg0,*_arg1); |
e166644c | 5989 | |
4268f798 RD |
5990 | wxPyEndAllowThreads(__tstate); |
5991 | if (PyErr_Occurred()) return NULL; | |
e166644c | 5992 | } _resultobj = Py_BuildValue("i",_result); |
794c5cb1 RD |
5993 | { |
5994 | if (_obj1) | |
5995 | delete _arg1; | |
5996 | } | |
e166644c RD |
5997 | return _resultobj; |
5998 | } | |
5999 | ||
6000 | #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0)) | |
6001 | static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6002 | PyObject * _resultobj; | |
6003 | bool _result; | |
6004 | wxPyHtmlWindow * _arg0; | |
794c5cb1 | 6005 | wxString * _arg1; |
e166644c | 6006 | PyObject * _argo0 = 0; |
794c5cb1 | 6007 | PyObject * _obj1 = 0; |
e166644c RD |
6008 | char *_kwnames[] = { "self","location", NULL }; |
6009 | ||
6010 | self = self; | |
794c5cb1 | 6011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_obj1)) |
e166644c RD |
6012 | return NULL; |
6013 | if (_argo0) { | |
6014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p."); | |
6017 | return NULL; | |
6018 | } | |
6019 | } | |
794c5cb1 | 6020 | { |
c8bc7bb8 RD |
6021 | _arg1 = wxString_in_helper(_obj1); |
6022 | if (_arg1 == NULL) | |
794c5cb1 | 6023 | return NULL; |
794c5cb1 | 6024 | } |
e166644c | 6025 | { |
4268f798 | 6026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6027 | _result = (bool )wxHtmlWindow_LoadPage(_arg0,*_arg1); |
e166644c | 6028 | |
4268f798 RD |
6029 | wxPyEndAllowThreads(__tstate); |
6030 | if (PyErr_Occurred()) return NULL; | |
e166644c | 6031 | } _resultobj = Py_BuildValue("i",_result); |
794c5cb1 RD |
6032 | { |
6033 | if (_obj1) | |
6034 | delete _arg1; | |
6035 | } | |
e166644c RD |
6036 | return _resultobj; |
6037 | } | |
6038 | ||
5a2a9da2 RD |
6039 | #define wxHtmlWindow_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0)) |
6040 | static PyObject *_wrap_wxHtmlWindow_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6041 | PyObject * _resultobj; | |
6042 | bool _result; | |
6043 | wxPyHtmlWindow * _arg0; | |
6044 | wxString * _arg1; | |
6045 | PyObject * _argo0 = 0; | |
6046 | PyObject * _obj1 = 0; | |
6047 | char *_kwnames[] = { "self","filename", NULL }; | |
6048 | ||
6049 | self = self; | |
6050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_LoadFile",_kwnames,&_argo0,&_obj1)) | |
6051 | return NULL; | |
6052 | if (_argo0) { | |
6053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadFile. Expected _wxPyHtmlWindow_p."); | |
6056 | return NULL; | |
6057 | } | |
6058 | } | |
6059 | { | |
6060 | _arg1 = wxString_in_helper(_obj1); | |
6061 | if (_arg1 == NULL) | |
6062 | return NULL; | |
6063 | } | |
6064 | { | |
6065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6066 | _result = (bool )wxHtmlWindow_LoadFile(_arg0,*_arg1); | |
6067 | ||
6068 | wxPyEndAllowThreads(__tstate); | |
6069 | if (PyErr_Occurred()) return NULL; | |
6070 | } _resultobj = Py_BuildValue("i",_result); | |
6071 | { | |
6072 | if (_obj1) | |
6073 | delete _arg1; | |
6074 | } | |
6075 | return _resultobj; | |
6076 | } | |
6077 | ||
9d37f964 RD |
6078 | #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0)) |
6079 | static PyObject *_wrap_wxHtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6080 | PyObject * _resultobj; | |
6081 | bool _result; | |
6082 | wxPyHtmlWindow * _arg0; | |
6083 | wxString * _arg1; | |
6084 | PyObject * _argo0 = 0; | |
6085 | PyObject * _obj1 = 0; | |
6086 | char *_kwnames[] = { "self","source", NULL }; | |
6087 | ||
6088 | self = self; | |
6089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_AppendToPage",_kwnames,&_argo0,&_obj1)) | |
6090 | return NULL; | |
6091 | if (_argo0) { | |
6092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p."); | |
6095 | return NULL; | |
6096 | } | |
6097 | } | |
6098 | { | |
c8bc7bb8 RD |
6099 | _arg1 = wxString_in_helper(_obj1); |
6100 | if (_arg1 == NULL) | |
9d37f964 | 6101 | return NULL; |
9d37f964 RD |
6102 | } |
6103 | { | |
4268f798 | 6104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6105 | _result = (bool )wxHtmlWindow_AppendToPage(_arg0,*_arg1); |
9d37f964 | 6106 | |
4268f798 RD |
6107 | wxPyEndAllowThreads(__tstate); |
6108 | if (PyErr_Occurred()) return NULL; | |
9d37f964 RD |
6109 | } _resultobj = Py_BuildValue("i",_result); |
6110 | { | |
6111 | if (_obj1) | |
6112 | delete _arg1; | |
6113 | } | |
6114 | return _resultobj; | |
6115 | } | |
6116 | ||
e166644c RD |
6117 | #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage()) |
6118 | static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6119 | PyObject * _resultobj; | |
6120 | wxString * _result; | |
6121 | wxPyHtmlWindow * _arg0; | |
6122 | PyObject * _argo0 = 0; | |
6123 | char *_kwnames[] = { "self", NULL }; | |
6124 | ||
6125 | self = self; | |
6126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0)) | |
6127 | return NULL; | |
6128 | if (_argo0) { | |
6129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p."); | |
6132 | return NULL; | |
6133 | } | |
6134 | } | |
6135 | { | |
4268f798 | 6136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6137 | _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0)); |
e166644c | 6138 | |
4268f798 RD |
6139 | wxPyEndAllowThreads(__tstate); |
6140 | if (PyErr_Occurred()) return NULL; | |
e166644c | 6141 | }{ |
c8bc7bb8 | 6142 | #if wxUSE_UNICODE |
7e50db3f | 6143 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6144 | #else |
e02c03a4 | 6145 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6146 | #endif |
e166644c RD |
6147 | } |
6148 | { | |
6149 | delete _result; | |
6150 | } | |
6151 | return _resultobj; | |
6152 | } | |
6153 | ||
794c5cb1 RD |
6154 | #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor()) |
6155 | static PyObject *_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6156 | PyObject * _resultobj; | |
6157 | wxString * _result; | |
6158 | wxPyHtmlWindow * _arg0; | |
6159 | PyObject * _argo0 = 0; | |
6160 | char *_kwnames[] = { "self", NULL }; | |
6161 | ||
6162 | self = self; | |
6163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames,&_argo0)) | |
6164 | return NULL; | |
6165 | if (_argo0) { | |
6166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p."); | |
6169 | return NULL; | |
6170 | } | |
6171 | } | |
6172 | { | |
4268f798 | 6173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6174 | _result = new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0)); |
794c5cb1 | 6175 | |
4268f798 RD |
6176 | wxPyEndAllowThreads(__tstate); |
6177 | if (PyErr_Occurred()) return NULL; | |
794c5cb1 | 6178 | }{ |
c8bc7bb8 | 6179 | #if wxUSE_UNICODE |
7e50db3f | 6180 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6181 | #else |
794c5cb1 | 6182 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6183 | #endif |
794c5cb1 RD |
6184 | } |
6185 | { | |
6186 | delete _result; | |
6187 | } | |
6188 | return _resultobj; | |
6189 | } | |
6190 | ||
6191 | #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle()) | |
6192 | static PyObject *_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6193 | PyObject * _resultobj; | |
6194 | wxString * _result; | |
6195 | wxPyHtmlWindow * _arg0; | |
6196 | PyObject * _argo0 = 0; | |
6197 | char *_kwnames[] = { "self", NULL }; | |
6198 | ||
6199 | self = self; | |
6200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames,&_argo0)) | |
6201 | return NULL; | |
6202 | if (_argo0) { | |
6203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p."); | |
6206 | return NULL; | |
6207 | } | |
6208 | } | |
6209 | { | |
4268f798 | 6210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6211 | _result = new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0)); |
794c5cb1 | 6212 | |
4268f798 RD |
6213 | wxPyEndAllowThreads(__tstate); |
6214 | if (PyErr_Occurred()) return NULL; | |
794c5cb1 | 6215 | }{ |
c8bc7bb8 | 6216 | #if wxUSE_UNICODE |
7e50db3f | 6217 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6218 | #else |
794c5cb1 | 6219 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 6220 | #endif |
794c5cb1 RD |
6221 | } |
6222 | { | |
6223 | delete _result; | |
6224 | } | |
6225 | return _resultobj; | |
6226 | } | |
6227 | ||
e166644c RD |
6228 | #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1)) |
6229 | static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6230 | PyObject * _resultobj; | |
6231 | wxPyHtmlWindow * _arg0; | |
6232 | wxFrame * _arg1; | |
137b5242 | 6233 | wxString * _arg2; |
e166644c RD |
6234 | PyObject * _argo0 = 0; |
6235 | PyObject * _argo1 = 0; | |
137b5242 | 6236 | PyObject * _obj2 = 0; |
e166644c RD |
6237 | char *_kwnames[] = { "self","frame","format", NULL }; |
6238 | ||
6239 | self = self; | |
137b5242 | 6240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_obj2)) |
e166644c RD |
6241 | return NULL; |
6242 | if (_argo0) { | |
6243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p."); | |
6246 | return NULL; | |
6247 | } | |
6248 | } | |
6249 | if (_argo1) { | |
6250 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6251 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) { | |
6252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p."); | |
6253 | return NULL; | |
6254 | } | |
6255 | } | |
137b5242 RD |
6256 | { |
6257 | _arg2 = wxString_in_helper(_obj2); | |
6258 | if (_arg2 == NULL) | |
6259 | return NULL; | |
6260 | } | |
e166644c | 6261 | { |
4268f798 | 6262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 6263 | wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,*_arg2); |
e166644c | 6264 | |
4268f798 RD |
6265 | wxPyEndAllowThreads(__tstate); |
6266 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
6267 | } Py_INCREF(Py_None); |
6268 | _resultobj = Py_None; | |
137b5242 RD |
6269 | { |
6270 | if (_obj2) | |
6271 | delete _arg2; | |
6272 | } | |
e166644c RD |
6273 | return _resultobj; |
6274 | } | |
6275 | ||
6276 | #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame()) | |
6277 | static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6278 | PyObject * _resultobj; | |
6279 | wxFrame * _result; | |
6280 | wxPyHtmlWindow * _arg0; | |
6281 | PyObject * _argo0 = 0; | |
6282 | char *_kwnames[] = { "self", NULL }; | |
e166644c RD |
6283 | |
6284 | self = self; | |
6285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0)) | |
6286 | return NULL; | |
6287 | if (_argo0) { | |
6288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p."); | |
6291 | return NULL; | |
6292 | } | |
6293 | } | |
6294 | { | |
4268f798 | 6295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6296 | _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0); |
e166644c | 6297 | |
4268f798 RD |
6298 | wxPyEndAllowThreads(__tstate); |
6299 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 6300 | }{ _resultobj = wxPyMake_wxObject(_result); } |
325274bb RD |
6301 | return _resultobj; |
6302 | } | |
6303 | ||
6304 | #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0)) | |
0f66a9f3 | 6305 | static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 6306 | PyObject * _resultobj; |
0f66a9f3 | 6307 | wxPyHtmlWindow * _arg0; |
325274bb RD |
6308 | int _arg1; |
6309 | PyObject * _argo0 = 0; | |
0f66a9f3 | 6310 | char *_kwnames[] = { "self","bar", NULL }; |
325274bb RD |
6311 | |
6312 | self = self; | |
0f66a9f3 | 6313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
6314 | return NULL; |
6315 | if (_argo0) { | |
6316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6319 | return NULL; |
6320 | } | |
6321 | } | |
6322 | { | |
4268f798 | 6323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6324 | wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1); |
325274bb | 6325 | |
4268f798 RD |
6326 | wxPyEndAllowThreads(__tstate); |
6327 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6328 | } Py_INCREF(Py_None); |
6329 | _resultobj = Py_None; | |
6330 | return _resultobj; | |
6331 | } | |
6332 | ||
f6bcfd97 | 6333 | static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
3856ee0b RD |
6334 | int* temp = NULL; |
6335 | if (sizes) temp = int_LIST_helper(sizes); | |
6336 | self->SetFonts(normal_face, fixed_face, temp); | |
6337 | if (temp) | |
f6bcfd97 | 6338 | delete [] temp; |
f6bcfd97 | 6339 | } |
0f66a9f3 | 6340 | static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 6341 | PyObject * _resultobj; |
0f66a9f3 | 6342 | wxPyHtmlWindow * _arg0; |
325274bb | 6343 | wxString * _arg1; |
9c00cfa3 | 6344 | wxString * _arg2; |
3856ee0b | 6345 | PyObject * _arg3 = (PyObject *) NULL; |
325274bb RD |
6346 | PyObject * _argo0 = 0; |
6347 | PyObject * _obj1 = 0; | |
9c00cfa3 | 6348 | PyObject * _obj2 = 0; |
f6bcfd97 BP |
6349 | PyObject * _obj3 = 0; |
6350 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
325274bb RD |
6351 | |
6352 | self = self; | |
3856ee0b | 6353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
325274bb RD |
6354 | return NULL; |
6355 | if (_argo0) { | |
6356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6359 | return NULL; |
6360 | } | |
6361 | } | |
6362 | { | |
c8bc7bb8 RD |
6363 | _arg1 = wxString_in_helper(_obj1); |
6364 | if (_arg1 == NULL) | |
325274bb | 6365 | return NULL; |
325274bb RD |
6366 | } |
6367 | { | |
c8bc7bb8 RD |
6368 | _arg2 = wxString_in_helper(_obj2); |
6369 | if (_arg2 == NULL) | |
185d7c3e | 6370 | return NULL; |
325274bb | 6371 | } |
3856ee0b | 6372 | if (_obj3) |
f6bcfd97 BP |
6373 | { |
6374 | _arg3 = _obj3; | |
6375 | } | |
325274bb | 6376 | { |
4268f798 | 6377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6378 | wxPyHtmlWindow_SetFonts(_arg0,*_arg1,*_arg2,_arg3); |
325274bb | 6379 | |
4268f798 RD |
6380 | wxPyEndAllowThreads(__tstate); |
6381 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6382 | } Py_INCREF(Py_None); |
6383 | _resultobj = Py_None; | |
6384 | { | |
6385 | if (_obj1) | |
6386 | delete _arg1; | |
6387 | } | |
6388 | { | |
9c00cfa3 RD |
6389 | if (_obj2) |
6390 | delete _arg2; | |
325274bb RD |
6391 | } |
6392 | return _resultobj; | |
6393 | } | |
6394 | ||
6395 | #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0)) | |
0f66a9f3 | 6396 | static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 6397 | PyObject * _resultobj; |
0f66a9f3 | 6398 | wxPyHtmlWindow * _arg0; |
794c5cb1 | 6399 | wxString * _arg1; |
325274bb | 6400 | PyObject * _argo0 = 0; |
794c5cb1 | 6401 | PyObject * _obj1 = 0; |
0f66a9f3 | 6402 | char *_kwnames[] = { "self","title", NULL }; |
325274bb RD |
6403 | |
6404 | self = self; | |
794c5cb1 | 6405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_obj1)) |
325274bb RD |
6406 | return NULL; |
6407 | if (_argo0) { | |
6408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6411 | return NULL; |
6412 | } | |
6413 | } | |
794c5cb1 | 6414 | { |
c8bc7bb8 RD |
6415 | _arg1 = wxString_in_helper(_obj1); |
6416 | if (_arg1 == NULL) | |
794c5cb1 | 6417 | return NULL; |
794c5cb1 | 6418 | } |
325274bb | 6419 | { |
4268f798 | 6420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6421 | wxHtmlWindow_SetTitle(_arg0,*_arg1); |
325274bb | 6422 | |
4268f798 RD |
6423 | wxPyEndAllowThreads(__tstate); |
6424 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6425 | } Py_INCREF(Py_None); |
6426 | _resultobj = Py_None; | |
794c5cb1 RD |
6427 | { |
6428 | if (_obj1) | |
6429 | delete _arg1; | |
6430 | } | |
325274bb RD |
6431 | return _resultobj; |
6432 | } | |
6433 | ||
6434 | #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0)) | |
0f66a9f3 | 6435 | static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 6436 | PyObject * _resultobj; |
0f66a9f3 | 6437 | wxPyHtmlWindow * _arg0; |
325274bb RD |
6438 | int _arg1; |
6439 | PyObject * _argo0 = 0; | |
0f66a9f3 | 6440 | char *_kwnames[] = { "self","b", NULL }; |
325274bb RD |
6441 | |
6442 | self = self; | |
0f66a9f3 | 6443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1)) |
325274bb RD |
6444 | return NULL; |
6445 | if (_argo0) { | |
6446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6449 | return NULL; |
6450 | } | |
6451 | } | |
6452 | { | |
4268f798 | 6453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6454 | wxHtmlWindow_SetBorders(_arg0,_arg1); |
325274bb | 6455 | |
4268f798 RD |
6456 | wxPyEndAllowThreads(__tstate); |
6457 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6458 | } Py_INCREF(Py_None); |
6459 | _resultobj = Py_None; | |
6460 | return _resultobj; | |
6461 | } | |
6462 | ||
0f66a9f3 RD |
6463 | #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1)) |
6464 | static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6465 | PyObject * _resultobj; | |
6466 | wxPyHtmlWindow * _arg0; | |
6467 | wxConfigBase * _arg1; | |
137b5242 | 6468 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
0f66a9f3 RD |
6469 | PyObject * _argo0 = 0; |
6470 | PyObject * _argo1 = 0; | |
794c5cb1 | 6471 | PyObject * _obj2 = 0; |
0f66a9f3 RD |
6472 | char *_kwnames[] = { "self","cfg","path", NULL }; |
6473 | ||
6474 | self = self; | |
794c5cb1 | 6475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) |
0f66a9f3 RD |
6476 | return NULL; |
6477 | if (_argo0) { | |
6478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p."); | |
6481 | return NULL; | |
6482 | } | |
6483 | } | |
6484 | if (_argo1) { | |
6485 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6486 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
6487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p."); | |
6488 | return NULL; | |
6489 | } | |
6490 | } | |
794c5cb1 RD |
6491 | if (_obj2) |
6492 | { | |
c8bc7bb8 RD |
6493 | _arg2 = wxString_in_helper(_obj2); |
6494 | if (_arg2 == NULL) | |
794c5cb1 | 6495 | return NULL; |
794c5cb1 | 6496 | } |
0f66a9f3 | 6497 | { |
4268f798 | 6498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6499 | wxHtmlWindow_ReadCustomization(_arg0,_arg1,*_arg2); |
0f66a9f3 | 6500 | |
4268f798 RD |
6501 | wxPyEndAllowThreads(__tstate); |
6502 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
6503 | } Py_INCREF(Py_None); |
6504 | _resultobj = Py_None; | |
794c5cb1 RD |
6505 | { |
6506 | if (_obj2) | |
6507 | delete _arg2; | |
6508 | } | |
0f66a9f3 RD |
6509 | return _resultobj; |
6510 | } | |
6511 | ||
6512 | #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1)) | |
6513 | static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6514 | PyObject * _resultobj; | |
6515 | wxPyHtmlWindow * _arg0; | |
6516 | wxConfigBase * _arg1; | |
137b5242 | 6517 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
0f66a9f3 RD |
6518 | PyObject * _argo0 = 0; |
6519 | PyObject * _argo1 = 0; | |
794c5cb1 | 6520 | PyObject * _obj2 = 0; |
0f66a9f3 RD |
6521 | char *_kwnames[] = { "self","cfg","path", NULL }; |
6522 | ||
6523 | self = self; | |
794c5cb1 | 6524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2)) |
0f66a9f3 RD |
6525 | return NULL; |
6526 | if (_argo0) { | |
6527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p."); | |
6530 | return NULL; | |
6531 | } | |
6532 | } | |
6533 | if (_argo1) { | |
6534 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6535 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) { | |
6536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p."); | |
6537 | return NULL; | |
6538 | } | |
6539 | } | |
794c5cb1 RD |
6540 | if (_obj2) |
6541 | { | |
c8bc7bb8 RD |
6542 | _arg2 = wxString_in_helper(_obj2); |
6543 | if (_arg2 == NULL) | |
794c5cb1 | 6544 | return NULL; |
794c5cb1 | 6545 | } |
0f66a9f3 | 6546 | { |
4268f798 | 6547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6548 | wxHtmlWindow_WriteCustomization(_arg0,_arg1,*_arg2); |
0f66a9f3 | 6549 | |
4268f798 RD |
6550 | wxPyEndAllowThreads(__tstate); |
6551 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
6552 | } Py_INCREF(Py_None); |
6553 | _resultobj = Py_None; | |
794c5cb1 RD |
6554 | { |
6555 | if (_obj2) | |
6556 | delete _arg2; | |
6557 | } | |
0f66a9f3 RD |
6558 | return _resultobj; |
6559 | } | |
6560 | ||
325274bb | 6561 | #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack()) |
0f66a9f3 | 6562 | static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6563 | PyObject * _resultobj; |
6564 | bool _result; | |
0f66a9f3 | 6565 | wxPyHtmlWindow * _arg0; |
325274bb | 6566 | PyObject * _argo0 = 0; |
0f66a9f3 | 6567 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
6568 | |
6569 | self = self; | |
0f66a9f3 | 6570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0)) |
325274bb RD |
6571 | return NULL; |
6572 | if (_argo0) { | |
6573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6576 | return NULL; |
6577 | } | |
6578 | } | |
6579 | { | |
4268f798 | 6580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6581 | _result = (bool )wxHtmlWindow_HistoryBack(_arg0); |
325274bb | 6582 | |
4268f798 RD |
6583 | wxPyEndAllowThreads(__tstate); |
6584 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6585 | } _resultobj = Py_BuildValue("i",_result); |
6586 | return _resultobj; | |
6587 | } | |
6588 | ||
6589 | #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward()) | |
0f66a9f3 | 6590 | static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb RD |
6591 | PyObject * _resultobj; |
6592 | bool _result; | |
0f66a9f3 | 6593 | wxPyHtmlWindow * _arg0; |
325274bb | 6594 | PyObject * _argo0 = 0; |
0f66a9f3 | 6595 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
6596 | |
6597 | self = self; | |
0f66a9f3 | 6598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0)) |
325274bb RD |
6599 | return NULL; |
6600 | if (_argo0) { | |
6601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6604 | return NULL; |
6605 | } | |
6606 | } | |
6607 | { | |
4268f798 | 6608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6609 | _result = (bool )wxHtmlWindow_HistoryForward(_arg0); |
325274bb | 6610 | |
4268f798 RD |
6611 | wxPyEndAllowThreads(__tstate); |
6612 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6613 | } _resultobj = Py_BuildValue("i",_result); |
6614 | return _resultobj; | |
6615 | } | |
6616 | ||
794c5cb1 RD |
6617 | #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack()) |
6618 | static PyObject *_wrap_wxHtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6619 | PyObject * _resultobj; | |
6620 | bool _result; | |
6621 | wxPyHtmlWindow * _arg0; | |
6622 | PyObject * _argo0 = 0; | |
6623 | char *_kwnames[] = { "self", NULL }; | |
6624 | ||
6625 | self = self; | |
6626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanBack",_kwnames,&_argo0)) | |
6627 | return NULL; | |
6628 | if (_argo0) { | |
6629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p."); | |
6632 | return NULL; | |
6633 | } | |
6634 | } | |
6635 | { | |
4268f798 | 6636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6637 | _result = (bool )wxHtmlWindow_HistoryCanBack(_arg0); |
794c5cb1 | 6638 | |
4268f798 RD |
6639 | wxPyEndAllowThreads(__tstate); |
6640 | if (PyErr_Occurred()) return NULL; | |
794c5cb1 RD |
6641 | } _resultobj = Py_BuildValue("i",_result); |
6642 | return _resultobj; | |
6643 | } | |
6644 | ||
6645 | #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward()) | |
6646 | static PyObject *_wrap_wxHtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6647 | PyObject * _resultobj; | |
6648 | bool _result; | |
6649 | wxPyHtmlWindow * _arg0; | |
6650 | PyObject * _argo0 = 0; | |
6651 | char *_kwnames[] = { "self", NULL }; | |
6652 | ||
6653 | self = self; | |
6654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanForward",_kwnames,&_argo0)) | |
6655 | return NULL; | |
6656 | if (_argo0) { | |
6657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p."); | |
6660 | return NULL; | |
6661 | } | |
6662 | } | |
6663 | { | |
4268f798 | 6664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6665 | _result = (bool )wxHtmlWindow_HistoryCanForward(_arg0); |
794c5cb1 | 6666 | |
4268f798 RD |
6667 | wxPyEndAllowThreads(__tstate); |
6668 | if (PyErr_Occurred()) return NULL; | |
794c5cb1 RD |
6669 | } _resultobj = Py_BuildValue("i",_result); |
6670 | return _resultobj; | |
6671 | } | |
6672 | ||
325274bb | 6673 | #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear()) |
0f66a9f3 | 6674 | static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) { |
325274bb | 6675 | PyObject * _resultobj; |
0f66a9f3 | 6676 | wxPyHtmlWindow * _arg0; |
325274bb | 6677 | PyObject * _argo0 = 0; |
0f66a9f3 | 6678 | char *_kwnames[] = { "self", NULL }; |
325274bb RD |
6679 | |
6680 | self = self; | |
0f66a9f3 | 6681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0)) |
325274bb RD |
6682 | return NULL; |
6683 | if (_argo0) { | |
6684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
0f66a9f3 RD |
6685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { |
6686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p."); | |
325274bb RD |
6687 | return NULL; |
6688 | } | |
6689 | } | |
6690 | { | |
4268f798 | 6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6692 | wxHtmlWindow_HistoryClear(_arg0); |
325274bb | 6693 | |
4268f798 RD |
6694 | wxPyEndAllowThreads(__tstate); |
6695 | if (PyErr_Occurred()) return NULL; | |
325274bb RD |
6696 | } Py_INCREF(Py_None); |
6697 | _resultobj = Py_None; | |
6698 | return _resultobj; | |
6699 | } | |
6700 | ||
a65c6e14 RD |
6701 | #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation()) |
6702 | static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6703 | PyObject * _resultobj; | |
6704 | wxHtmlContainerCell * _result; | |
6705 | wxPyHtmlWindow * _arg0; | |
6706 | PyObject * _argo0 = 0; | |
6707 | char *_kwnames[] = { "self", NULL }; | |
6708 | char _ptemp[128]; | |
6709 | ||
6710 | self = self; | |
6711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0)) | |
6712 | return NULL; | |
6713 | if (_argo0) { | |
6714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p."); | |
6717 | return NULL; | |
6718 | } | |
6719 | } | |
6720 | { | |
4268f798 | 6721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6722 | _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0); |
a65c6e14 | 6723 | |
4268f798 RD |
6724 | wxPyEndAllowThreads(__tstate); |
6725 | if (PyErr_Occurred()) return NULL; | |
a65c6e14 RD |
6726 | } if (_result) { |
6727 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p"); | |
6728 | _resultobj = Py_BuildValue("s",_ptemp); | |
6729 | } else { | |
6730 | Py_INCREF(Py_None); | |
6731 | _resultobj = Py_None; | |
6732 | } | |
6733 | return _resultobj; | |
6734 | } | |
6735 | ||
e166644c RD |
6736 | #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser()) |
6737 | static PyObject *_wrap_wxHtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6738 | PyObject * _resultobj; | |
6739 | wxHtmlWinParser * _result; | |
6740 | wxPyHtmlWindow * _arg0; | |
6741 | PyObject * _argo0 = 0; | |
6742 | char *_kwnames[] = { "self", NULL }; | |
6743 | char _ptemp[128]; | |
6744 | ||
6745 | self = self; | |
6746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetParser",_kwnames,&_argo0)) | |
6747 | return NULL; | |
6748 | if (_argo0) { | |
6749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p."); | |
6752 | return NULL; | |
6753 | } | |
6754 | } | |
6755 | { | |
4268f798 | 6756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6757 | _result = (wxHtmlWinParser *)wxHtmlWindow_GetParser(_arg0); |
e166644c | 6758 | |
4268f798 RD |
6759 | wxPyEndAllowThreads(__tstate); |
6760 | if (PyErr_Occurred()) return NULL; | |
e166644c RD |
6761 | } if (_result) { |
6762 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p"); | |
6763 | _resultobj = Py_BuildValue("s",_ptemp); | |
6764 | } else { | |
6765 | Py_INCREF(Py_None); | |
6766 | _resultobj = Py_None; | |
6767 | } | |
6768 | return _resultobj; | |
6769 | } | |
6770 | ||
7d0180d4 RD |
6771 | #define wxHtmlWindow_ScrollToAnchor(_swigobj,_swigarg0) (_swigobj->ScrollToAnchor(_swigarg0)) |
6772 | static PyObject *_wrap_wxHtmlWindow_ScrollToAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6773 | PyObject * _resultobj; | |
6774 | bool _result; | |
6775 | wxPyHtmlWindow * _arg0; | |
6776 | wxString * _arg1; | |
6777 | PyObject * _argo0 = 0; | |
6778 | PyObject * _obj1 = 0; | |
6779 | char *_kwnames[] = { "self","anchor", NULL }; | |
6780 | ||
6781 | self = self; | |
6782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_ScrollToAnchor",_kwnames,&_argo0,&_obj1)) | |
6783 | return NULL; | |
6784 | if (_argo0) { | |
6785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ScrollToAnchor. Expected _wxPyHtmlWindow_p."); | |
6788 | return NULL; | |
6789 | } | |
6790 | } | |
6791 | { | |
c8bc7bb8 RD |
6792 | _arg1 = wxString_in_helper(_obj1); |
6793 | if (_arg1 == NULL) | |
7d0180d4 | 6794 | return NULL; |
7d0180d4 RD |
6795 | } |
6796 | { | |
6797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 6798 | _result = (bool )wxHtmlWindow_ScrollToAnchor(_arg0,*_arg1); |
7d0180d4 RD |
6799 | |
6800 | wxPyEndAllowThreads(__tstate); | |
6801 | if (PyErr_Occurred()) return NULL; | |
6802 | } _resultobj = Py_BuildValue("i",_result); | |
6803 | { | |
6804 | if (_obj1) | |
6805 | delete _arg1; | |
6806 | } | |
6807 | return _resultobj; | |
6808 | } | |
6809 | ||
6810 | #define wxHtmlWindow_HasAnchor(_swigobj,_swigarg0) (_swigobj->HasAnchor(_swigarg0)) | |
6811 | static PyObject *_wrap_wxHtmlWindow_HasAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6812 | PyObject * _resultobj; | |
6813 | bool _result; | |
6814 | wxPyHtmlWindow * _arg0; | |
6815 | wxString * _arg1; | |
6816 | PyObject * _argo0 = 0; | |
6817 | PyObject * _obj1 = 0; | |
6818 | char *_kwnames[] = { "self","anchor", NULL }; | |
6819 | ||
6820 | self = self; | |
6821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_HasAnchor",_kwnames,&_argo0,&_obj1)) | |
6822 | return NULL; | |
6823 | if (_argo0) { | |
6824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HasAnchor. Expected _wxPyHtmlWindow_p."); | |
6827 | return NULL; | |
6828 | } | |
6829 | } | |
6830 | { | |
c8bc7bb8 RD |
6831 | _arg1 = wxString_in_helper(_obj1); |
6832 | if (_arg1 == NULL) | |
7d0180d4 | 6833 | return NULL; |
7d0180d4 RD |
6834 | } |
6835 | { | |
6836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
c8bc7bb8 | 6837 | _result = (bool )wxHtmlWindow_HasAnchor(_arg0,*_arg1); |
7d0180d4 RD |
6838 | |
6839 | wxPyEndAllowThreads(__tstate); | |
6840 | if (PyErr_Occurred()) return NULL; | |
6841 | } _resultobj = Py_BuildValue("i",_result); | |
6842 | { | |
6843 | if (_obj1) | |
6844 | delete _arg1; | |
6845 | } | |
6846 | return _resultobj; | |
6847 | } | |
6848 | ||
7e50db3f RD |
6849 | static PyObject *_wrap_wxHtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { |
6850 | PyObject * _resultobj; | |
6851 | wxPyHtmlFilter * _arg0; | |
6852 | PyObject * _argo0 = 0; | |
6853 | char *_kwnames[] = { "filter", NULL }; | |
6854 | ||
6855 | self = self; | |
6856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_AddFilter",_kwnames,&_argo0)) | |
6857 | return NULL; | |
6858 | if (_argo0) { | |
6859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlFilter_p")) { | |
6861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxPyHtmlFilter_p."); | |
6862 | return NULL; | |
6863 | } | |
6864 | } | |
6865 | { | |
6866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6867 | wxPyHtmlWindow::AddFilter(_arg0); | |
6868 | ||
6869 | wxPyEndAllowThreads(__tstate); | |
6870 | if (PyErr_Occurred()) return NULL; | |
6871 | } Py_INCREF(Py_None); | |
6872 | _resultobj = Py_None; | |
6873 | return _resultobj; | |
6874 | } | |
6875 | ||
95837b4d RD |
6876 | #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0)) |
6877 | static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6878 | PyObject * _resultobj; | |
6879 | wxPyHtmlWindow * _arg0; | |
6880 | wxHtmlLinkInfo * _arg1; | |
6881 | PyObject * _argo0 = 0; | |
6882 | PyObject * _argo1 = 0; | |
6883 | char *_kwnames[] = { "self","link", NULL }; | |
6884 | ||
6885 | self = self; | |
6886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_argo1)) | |
6887 | return NULL; | |
6888 | if (_argo0) { | |
6889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p."); | |
6892 | return NULL; | |
6893 | } | |
6894 | } | |
6895 | if (_argo1) { | |
7e50db3f | 6896 | if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) { |
95837b4d RD |
6897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p."); |
6898 | return NULL; | |
6899 | } | |
6900 | } | |
6901 | { | |
4268f798 | 6902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6903 | wxHtmlWindow_base_OnLinkClicked(_arg0,*_arg1); |
95837b4d | 6904 | |
4268f798 RD |
6905 | wxPyEndAllowThreads(__tstate); |
6906 | if (PyErr_Occurred()) return NULL; | |
95837b4d RD |
6907 | } Py_INCREF(Py_None); |
6908 | _resultobj = Py_None; | |
6909 | return _resultobj; | |
6910 | } | |
6911 | ||
9c00cfa3 RD |
6912 | #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0)) |
6913 | static PyObject *_wrap_wxHtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
0f66a9f3 RD |
6914 | PyObject * _resultobj; |
6915 | wxPyHtmlWindow * _arg0; | |
137b5242 | 6916 | wxString * _arg1; |
0f66a9f3 | 6917 | PyObject * _argo0 = 0; |
137b5242 | 6918 | PyObject * _obj1 = 0; |
9c00cfa3 | 6919 | char *_kwnames[] = { "self","title", NULL }; |
0f66a9f3 RD |
6920 | |
6921 | self = self; | |
137b5242 | 6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_base_OnSetTitle",_kwnames,&_argo0,&_obj1)) |
0f66a9f3 RD |
6923 | return NULL; |
6924 | if (_argo0) { | |
6925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
9c00cfa3 | 6927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p."); |
0f66a9f3 RD |
6928 | return NULL; |
6929 | } | |
6930 | } | |
137b5242 RD |
6931 | { |
6932 | _arg1 = wxString_in_helper(_obj1); | |
6933 | if (_arg1 == NULL) | |
6934 | return NULL; | |
6935 | } | |
0f66a9f3 | 6936 | { |
4268f798 | 6937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 6938 | wxHtmlWindow_base_OnSetTitle(_arg0,*_arg1); |
0f66a9f3 | 6939 | |
4268f798 RD |
6940 | wxPyEndAllowThreads(__tstate); |
6941 | if (PyErr_Occurred()) return NULL; | |
0f66a9f3 RD |
6942 | } Py_INCREF(Py_None); |
6943 | _resultobj = Py_None; | |
137b5242 RD |
6944 | { |
6945 | if (_obj1) | |
6946 | delete _arg1; | |
6947 | } | |
0f66a9f3 RD |
6948 | return _resultobj; |
6949 | } | |
6950 | ||
0122b7e3 RD |
6951 | #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2)) |
6952 | static PyObject *_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6953 | PyObject * _resultobj; | |
6954 | wxPyHtmlWindow * _arg0; | |
6955 | wxHtmlCell * _arg1; | |
6956 | wxCoord _arg2; | |
6957 | wxCoord _arg3; | |
6958 | PyObject * _argo0 = 0; | |
6959 | PyObject * _argo1 = 0; | |
6960 | char *_kwnames[] = { "self","cell","x","y", NULL }; | |
6961 | ||
6962 | self = self; | |
6963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
6964 | return NULL; | |
6965 | if (_argo0) { | |
6966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
6968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p."); | |
6969 | return NULL; | |
6970 | } | |
6971 | } | |
6972 | if (_argo1) { | |
6973 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6974 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
6975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p."); | |
6976 | return NULL; | |
6977 | } | |
6978 | } | |
6979 | { | |
4268f798 | 6980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6981 | wxHtmlWindow_base_OnCellMouseHover(_arg0,_arg1,_arg2,_arg3); |
0122b7e3 | 6982 | |
4268f798 RD |
6983 | wxPyEndAllowThreads(__tstate); |
6984 | if (PyErr_Occurred()) return NULL; | |
0122b7e3 RD |
6985 | } Py_INCREF(Py_None); |
6986 | _resultobj = Py_None; | |
6987 | return _resultobj; | |
6988 | } | |
6989 | ||
6990 | #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6991 | static PyObject *_wrap_wxHtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6992 | PyObject * _resultobj; | |
6993 | wxPyHtmlWindow * _arg0; | |
6994 | wxHtmlCell * _arg1; | |
6995 | wxCoord _arg2; | |
6996 | wxCoord _arg3; | |
6997 | wxMouseEvent * _arg4; | |
6998 | PyObject * _argo0 = 0; | |
6999 | PyObject * _argo1 = 0; | |
7000 | PyObject * _argo4 = 0; | |
7001 | char *_kwnames[] = { "self","cell","x","y","event", NULL }; | |
7002 | ||
7003 | self = self; | |
7004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_argo4)) | |
7005 | return NULL; | |
7006 | if (_argo0) { | |
7007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) { | |
7009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p."); | |
7010 | return NULL; | |
7011 | } | |
7012 | } | |
7013 | if (_argo1) { | |
7014 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7015 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) { | |
7016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p."); | |
7017 | return NULL; | |
7018 | } | |
7019 | } | |
7020 | if (_argo4) { | |
7e50db3f | 7021 | if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMouseEvent_p")) { |
0122b7e3 RD |
7022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p."); |
7023 | return NULL; | |
7024 | } | |
7025 | } | |
7026 | { | |
4268f798 | 7027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7028 | wxHtmlWindow_base_OnCellClicked(_arg0,_arg1,_arg2,_arg3,*_arg4); |
0122b7e3 | 7029 | |
4268f798 RD |
7030 | wxPyEndAllowThreads(__tstate); |
7031 | if (PyErr_Occurred()) return NULL; | |
0122b7e3 RD |
7032 | } Py_INCREF(Py_None); |
7033 | _resultobj = Py_None; | |
7034 | return _resultobj; | |
7035 | } | |
7036 | ||
9416aa89 RD |
7037 | static void *SwigwxHtmlDCRendererTowxObject(void *ptr) { |
7038 | wxHtmlDCRenderer *src; | |
7039 | wxObject *dest; | |
7040 | src = (wxHtmlDCRenderer *) ptr; | |
7041 | dest = (wxObject *) src; | |
7042 | return (void *) dest; | |
7043 | } | |
7044 | ||
dc2f8a65 RD |
7045 | #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer()) |
7046 | static PyObject *_wrap_new_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7047 | PyObject * _resultobj; | |
7048 | wxHtmlDCRenderer * _result; | |
7049 | char *_kwnames[] = { NULL }; | |
7050 | char _ptemp[128]; | |
7051 | ||
7052 | self = self; | |
7053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlDCRenderer",_kwnames)) | |
7054 | return NULL; | |
7055 | { | |
4268f798 | 7056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7057 | _result = (wxHtmlDCRenderer *)new_wxHtmlDCRenderer(); |
dc2f8a65 | 7058 | |
4268f798 RD |
7059 | wxPyEndAllowThreads(__tstate); |
7060 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7061 | } if (_result) { |
7062 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlDCRenderer_p"); | |
7063 | _resultobj = Py_BuildValue("s",_ptemp); | |
7064 | } else { | |
7065 | Py_INCREF(Py_None); | |
7066 | _resultobj = Py_None; | |
7067 | } | |
7068 | return _resultobj; | |
7069 | } | |
7070 | ||
7071 | #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj) | |
7072 | static PyObject *_wrap_delete_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7073 | PyObject * _resultobj; | |
7074 | wxHtmlDCRenderer * _arg0; | |
7075 | PyObject * _argo0 = 0; | |
7076 | char *_kwnames[] = { "self", NULL }; | |
7077 | ||
7078 | self = self; | |
7079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlDCRenderer",_kwnames,&_argo0)) | |
7080 | return NULL; | |
7081 | if (_argo0) { | |
7082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p."); | |
7085 | return NULL; | |
7086 | } | |
7087 | } | |
7088 | { | |
4268f798 | 7089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7090 | delete_wxHtmlDCRenderer(_arg0); |
dc2f8a65 | 7091 | |
4268f798 RD |
7092 | wxPyEndAllowThreads(__tstate); |
7093 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7094 | } Py_INCREF(Py_None); |
7095 | _resultobj = Py_None; | |
7096 | return _resultobj; | |
7097 | } | |
7098 | ||
7099 | #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1)) | |
7100 | static PyObject *_wrap_wxHtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7101 | PyObject * _resultobj; | |
7102 | wxHtmlDCRenderer * _arg0; | |
7103 | wxDC * _arg1; | |
7104 | int _arg2; | |
7105 | PyObject * _argo0 = 0; | |
7106 | PyObject * _argo1 = 0; | |
7107 | char *_kwnames[] = { "self","dc","maxwidth", NULL }; | |
7108 | ||
7109 | self = self; | |
7110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxHtmlDCRenderer_SetDC",_kwnames,&_argo0,&_argo1,&_arg2)) | |
7111 | return NULL; | |
7112 | if (_argo0) { | |
7113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p."); | |
7116 | return NULL; | |
7117 | } | |
7118 | } | |
7119 | if (_argo1) { | |
7120 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7121 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p."); | |
7123 | return NULL; | |
7124 | } | |
7125 | } | |
7126 | { | |
4268f798 | 7127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7128 | wxHtmlDCRenderer_SetDC(_arg0,_arg1,_arg2); |
dc2f8a65 | 7129 | |
4268f798 RD |
7130 | wxPyEndAllowThreads(__tstate); |
7131 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7132 | } Py_INCREF(Py_None); |
7133 | _resultobj = Py_None; | |
7134 | return _resultobj; | |
7135 | } | |
7136 | ||
7137 | #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
7138 | static PyObject *_wrap_wxHtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7139 | PyObject * _resultobj; | |
7140 | wxHtmlDCRenderer * _arg0; | |
7141 | int _arg1; | |
7142 | int _arg2; | |
7143 | PyObject * _argo0 = 0; | |
7144 | char *_kwnames[] = { "self","width","height", NULL }; | |
7145 | ||
7146 | self = self; | |
7147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlDCRenderer_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7148 | return NULL; | |
7149 | if (_argo0) { | |
7150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p."); | |
7153 | return NULL; | |
7154 | } | |
7155 | } | |
7156 | { | |
4268f798 | 7157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7158 | wxHtmlDCRenderer_SetSize(_arg0,_arg1,_arg2); |
dc2f8a65 | 7159 | |
4268f798 RD |
7160 | wxPyEndAllowThreads(__tstate); |
7161 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7162 | } Py_INCREF(Py_None); |
7163 | _resultobj = Py_None; | |
7164 | return _resultobj; | |
7165 | } | |
7166 | ||
7167 | #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2)) | |
7168 | static PyObject *_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7169 | PyObject * _resultobj; | |
7170 | wxHtmlDCRenderer * _arg0; | |
7171 | wxString * _arg1; | |
137b5242 | 7172 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
7173 | bool _arg3 = (bool ) TRUE; |
7174 | PyObject * _argo0 = 0; | |
7175 | PyObject * _obj1 = 0; | |
7176 | PyObject * _obj2 = 0; | |
7177 | int tempbool3 = (int) TRUE; | |
7178 | char *_kwnames[] = { "self","html","basepath","isdir", NULL }; | |
7179 | ||
7180 | self = self; | |
7181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3)) | |
7182 | return NULL; | |
7183 | if (_argo0) { | |
7184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p."); | |
7187 | return NULL; | |
7188 | } | |
7189 | } | |
7190 | { | |
c8bc7bb8 RD |
7191 | _arg1 = wxString_in_helper(_obj1); |
7192 | if (_arg1 == NULL) | |
185d7c3e | 7193 | return NULL; |
dc2f8a65 RD |
7194 | } |
7195 | if (_obj2) | |
7196 | { | |
c8bc7bb8 RD |
7197 | _arg2 = wxString_in_helper(_obj2); |
7198 | if (_arg2 == NULL) | |
dc2f8a65 | 7199 | return NULL; |
dc2f8a65 RD |
7200 | } |
7201 | _arg3 = (bool ) tempbool3; | |
7202 | { | |
4268f798 | 7203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7204 | wxHtmlDCRenderer_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3); |
dc2f8a65 | 7205 | |
4268f798 RD |
7206 | wxPyEndAllowThreads(__tstate); |
7207 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7208 | } Py_INCREF(Py_None); |
7209 | _resultobj = Py_None; | |
7210 | { | |
7211 | if (_obj1) | |
7212 | delete _arg1; | |
7213 | } | |
7214 | { | |
7215 | if (_obj2) | |
7216 | delete _arg2; | |
7217 | } | |
7218 | return _resultobj; | |
7219 | } | |
7220 | ||
3856ee0b RD |
7221 | static void wxHtmlDCRenderer_SetFonts(wxHtmlDCRenderer *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
7222 | int* temp = NULL; | |
7223 | if (sizes) temp = int_LIST_helper(sizes); | |
7224 | self->SetFonts(normal_face, fixed_face, temp); | |
7225 | if (temp) | |
7226 | delete [] temp; | |
7227 | } | |
7228 | static PyObject *_wrap_wxHtmlDCRenderer_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7229 | PyObject * _resultobj; | |
7230 | wxHtmlDCRenderer * _arg0; | |
7231 | wxString * _arg1; | |
7232 | wxString * _arg2; | |
7233 | PyObject * _arg3 = (PyObject *) NULL; | |
7234 | PyObject * _argo0 = 0; | |
7235 | PyObject * _obj1 = 0; | |
7236 | PyObject * _obj2 = 0; | |
7237 | PyObject * _obj3 = 0; | |
7238 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
7239 | ||
7240 | self = self; | |
7241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlDCRenderer_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
7242 | return NULL; | |
7243 | if (_argo0) { | |
7244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetFonts. Expected _wxHtmlDCRenderer_p."); | |
7247 | return NULL; | |
7248 | } | |
7249 | } | |
7250 | { | |
7251 | _arg1 = wxString_in_helper(_obj1); | |
7252 | if (_arg1 == NULL) | |
7253 | return NULL; | |
7254 | } | |
7255 | { | |
7256 | _arg2 = wxString_in_helper(_obj2); | |
7257 | if (_arg2 == NULL) | |
7258 | return NULL; | |
7259 | } | |
7260 | if (_obj3) | |
7261 | { | |
7262 | _arg3 = _obj3; | |
7263 | } | |
7264 | { | |
7265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7266 | wxHtmlDCRenderer_SetFonts(_arg0,*_arg1,*_arg2,_arg3); | |
7267 | ||
7268 | wxPyEndAllowThreads(__tstate); | |
7269 | if (PyErr_Occurred()) return NULL; | |
7270 | } Py_INCREF(Py_None); | |
7271 | _resultobj = Py_None; | |
7272 | { | |
7273 | if (_obj1) | |
7274 | delete _arg1; | |
7275 | } | |
7276 | { | |
7277 | if (_obj2) | |
7278 | delete _arg2; | |
7279 | } | |
7280 | return _resultobj; | |
7281 | } | |
7282 | ||
5a2a9da2 | 7283 | #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
dc2f8a65 RD |
7284 | static PyObject *_wrap_wxHtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) { |
7285 | PyObject * _resultobj; | |
7286 | int _result; | |
7287 | wxHtmlDCRenderer * _arg0; | |
7288 | int _arg1; | |
7289 | int _arg2; | |
7290 | int _arg3 = (int ) 0; | |
7291 | int _arg4 = (int ) FALSE; | |
5a2a9da2 RD |
7292 | int _arg5 = (int ) INT_MAX; |
7293 | int * _arg6 = (int *) NULL; | |
7294 | int _arg7 = (int ) 0; | |
dc2f8a65 | 7295 | PyObject * _argo0 = 0; |
5a2a9da2 RD |
7296 | PyObject * _obj6 = 0; |
7297 | char *_kwnames[] = { "self","x","y","from","dont_render","to","choices", NULL }; | |
dc2f8a65 RD |
7298 | |
7299 | self = self; | |
5a2a9da2 | 7300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxHtmlDCRenderer_Render",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6)) |
dc2f8a65 RD |
7301 | return NULL; |
7302 | if (_argo0) { | |
7303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p."); | |
7306 | return NULL; | |
7307 | } | |
7308 | } | |
5a2a9da2 RD |
7309 | if (_obj6) |
7310 | { | |
7311 | _arg6 = int_LIST_helper(_obj6); | |
7312 | if (_arg6 == NULL) { | |
7313 | return NULL; | |
7314 | } | |
7315 | } | |
7316 | { | |
7317 | if (_obj6) { | |
7318 | _arg7 = PyList_Size(_obj6); | |
7319 | } | |
7320 | else { | |
7321 | _arg7 = 0; | |
7322 | } | |
7323 | } | |
dc2f8a65 | 7324 | { |
4268f798 | 7325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5a2a9da2 | 7326 | _result = (int )wxHtmlDCRenderer_Render(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); |
dc2f8a65 | 7327 | |
4268f798 RD |
7328 | wxPyEndAllowThreads(__tstate); |
7329 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 | 7330 | } _resultobj = Py_BuildValue("i",_result); |
5a2a9da2 RD |
7331 | { |
7332 | delete [] _arg6; | |
7333 | } | |
dc2f8a65 RD |
7334 | return _resultobj; |
7335 | } | |
7336 | ||
7337 | #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight()) | |
7338 | static PyObject *_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7339 | PyObject * _resultobj; | |
7340 | int _result; | |
7341 | wxHtmlDCRenderer * _arg0; | |
7342 | PyObject * _argo0 = 0; | |
7343 | char *_kwnames[] = { "self", NULL }; | |
7344 | ||
7345 | self = self; | |
7346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames,&_argo0)) | |
7347 | return NULL; | |
7348 | if (_argo0) { | |
7349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) { | |
7351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p."); | |
7352 | return NULL; | |
7353 | } | |
7354 | } | |
7355 | { | |
4268f798 | 7356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7357 | _result = (int )wxHtmlDCRenderer_GetTotalHeight(_arg0); |
dc2f8a65 | 7358 | |
4268f798 RD |
7359 | wxPyEndAllowThreads(__tstate); |
7360 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7361 | } _resultobj = Py_BuildValue("i",_result); |
7362 | return _resultobj; | |
7363 | } | |
7364 | ||
7365 | static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr) { | |
7366 | wxHtmlPrintout *src; | |
7367 | wxPyPrintout *dest; | |
7368 | src = (wxHtmlPrintout *) ptr; | |
7369 | dest = (wxPyPrintout *) src; | |
7370 | return (void *) dest; | |
7371 | } | |
7372 | ||
9416aa89 RD |
7373 | static void *SwigwxHtmlPrintoutTowxObject(void *ptr) { |
7374 | wxHtmlPrintout *src; | |
7375 | wxObject *dest; | |
7376 | src = (wxHtmlPrintout *) ptr; | |
7377 | dest = (wxObject *) src; | |
7378 | return (void *) dest; | |
7379 | } | |
7380 | ||
dc2f8a65 RD |
7381 | #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0)) |
7382 | static PyObject *_wrap_new_wxHtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7383 | PyObject * _resultobj; | |
7384 | wxHtmlPrintout * _result; | |
137b5242 RD |
7385 | wxString * _arg0 = (wxString *) &wxPyHtmlPrintoutTitleStr; |
7386 | PyObject * _obj0 = 0; | |
dc2f8a65 RD |
7387 | char *_kwnames[] = { "title", NULL }; |
7388 | char _ptemp[128]; | |
7389 | ||
7390 | self = self; | |
137b5242 | 7391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxHtmlPrintout",_kwnames,&_obj0)) |
dc2f8a65 | 7392 | return NULL; |
137b5242 RD |
7393 | if (_obj0) |
7394 | { | |
7395 | _arg0 = wxString_in_helper(_obj0); | |
7396 | if (_arg0 == NULL) | |
7397 | return NULL; | |
7398 | } | |
dc2f8a65 | 7399 | { |
4268f798 | 7400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 7401 | _result = (wxHtmlPrintout *)new_wxHtmlPrintout(*_arg0); |
dc2f8a65 | 7402 | |
4268f798 RD |
7403 | wxPyEndAllowThreads(__tstate); |
7404 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7405 | } if (_result) { |
7406 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlPrintout_p"); | |
7407 | _resultobj = Py_BuildValue("s",_ptemp); | |
7408 | } else { | |
7409 | Py_INCREF(Py_None); | |
7410 | _resultobj = Py_None; | |
7411 | } | |
137b5242 RD |
7412 | { |
7413 | if (_obj0) | |
7414 | delete _arg0; | |
7415 | } | |
dc2f8a65 RD |
7416 | return _resultobj; |
7417 | } | |
7418 | ||
dc2f8a65 RD |
7419 | #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2)) |
7420 | static PyObject *_wrap_wxHtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7421 | PyObject * _resultobj; | |
7422 | wxHtmlPrintout * _arg0; | |
7423 | wxString * _arg1; | |
137b5242 | 7424 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
7425 | bool _arg3 = (bool ) TRUE; |
7426 | PyObject * _argo0 = 0; | |
7427 | PyObject * _obj1 = 0; | |
7428 | PyObject * _obj2 = 0; | |
7429 | int tempbool3 = (int) TRUE; | |
7430 | char *_kwnames[] = { "self","html","basepath","isdir", NULL }; | |
7431 | ||
7432 | self = self; | |
7433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3)) | |
7434 | return NULL; | |
7435 | if (_argo0) { | |
7436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
7438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p."); | |
7439 | return NULL; | |
7440 | } | |
7441 | } | |
7442 | { | |
c8bc7bb8 RD |
7443 | _arg1 = wxString_in_helper(_obj1); |
7444 | if (_arg1 == NULL) | |
dc2f8a65 | 7445 | return NULL; |
dc2f8a65 RD |
7446 | } |
7447 | if (_obj2) | |
7448 | { | |
c8bc7bb8 RD |
7449 | _arg2 = wxString_in_helper(_obj2); |
7450 | if (_arg2 == NULL) | |
185d7c3e | 7451 | return NULL; |
dc2f8a65 RD |
7452 | } |
7453 | _arg3 = (bool ) tempbool3; | |
7454 | { | |
4268f798 | 7455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7456 | wxHtmlPrintout_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3); |
dc2f8a65 | 7457 | |
4268f798 RD |
7458 | wxPyEndAllowThreads(__tstate); |
7459 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7460 | } Py_INCREF(Py_None); |
7461 | _resultobj = Py_None; | |
7462 | { | |
7463 | if (_obj1) | |
7464 | delete _arg1; | |
7465 | } | |
7466 | { | |
7467 | if (_obj2) | |
7468 | delete _arg2; | |
7469 | } | |
7470 | return _resultobj; | |
7471 | } | |
7472 | ||
7473 | #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0)) | |
7474 | static PyObject *_wrap_wxHtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7475 | PyObject * _resultobj; | |
7476 | wxHtmlPrintout * _arg0; | |
7477 | wxString * _arg1; | |
7478 | PyObject * _argo0 = 0; | |
7479 | PyObject * _obj1 = 0; | |
7480 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
7481 | ||
7482 | self = self; | |
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames,&_argo0,&_obj1)) | |
7484 | return NULL; | |
7485 | if (_argo0) { | |
7486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
7488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p."); | |
7489 | return NULL; | |
7490 | } | |
7491 | } | |
7492 | { | |
c8bc7bb8 RD |
7493 | _arg1 = wxString_in_helper(_obj1); |
7494 | if (_arg1 == NULL) | |
185d7c3e | 7495 | return NULL; |
dc2f8a65 RD |
7496 | } |
7497 | { | |
4268f798 | 7498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7499 | wxHtmlPrintout_SetHtmlFile(_arg0,*_arg1); |
dc2f8a65 | 7500 | |
4268f798 RD |
7501 | wxPyEndAllowThreads(__tstate); |
7502 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7503 | } Py_INCREF(Py_None); |
7504 | _resultobj = Py_None; | |
7505 | { | |
7506 | if (_obj1) | |
7507 | delete _arg1; | |
7508 | } | |
7509 | return _resultobj; | |
7510 | } | |
7511 | ||
7512 | #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1)) | |
7513 | static PyObject *_wrap_wxHtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7514 | PyObject * _resultobj; | |
7515 | wxHtmlPrintout * _arg0; | |
7516 | wxString * _arg1; | |
7517 | int _arg2 = (int ) (wxPAGE_ALL); | |
7518 | PyObject * _argo0 = 0; | |
7519 | PyObject * _obj1 = 0; | |
7520 | char *_kwnames[] = { "self","header","pg", NULL }; | |
7521 | ||
7522 | self = self; | |
7523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2)) | |
7524 | return NULL; | |
7525 | if (_argo0) { | |
7526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
7528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p."); | |
7529 | return NULL; | |
7530 | } | |
7531 | } | |
7532 | { | |
c8bc7bb8 RD |
7533 | _arg1 = wxString_in_helper(_obj1); |
7534 | if (_arg1 == NULL) | |
185d7c3e | 7535 | return NULL; |
dc2f8a65 RD |
7536 | } |
7537 | { | |
4268f798 | 7538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7539 | wxHtmlPrintout_SetHeader(_arg0,*_arg1,_arg2); |
dc2f8a65 | 7540 | |
4268f798 RD |
7541 | wxPyEndAllowThreads(__tstate); |
7542 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7543 | } Py_INCREF(Py_None); |
7544 | _resultobj = Py_None; | |
7545 | { | |
7546 | if (_obj1) | |
7547 | delete _arg1; | |
7548 | } | |
7549 | return _resultobj; | |
7550 | } | |
7551 | ||
7552 | #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1)) | |
7553 | static PyObject *_wrap_wxHtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7554 | PyObject * _resultobj; | |
7555 | wxHtmlPrintout * _arg0; | |
7556 | wxString * _arg1; | |
7557 | int _arg2 = (int ) (wxPAGE_ALL); | |
7558 | PyObject * _argo0 = 0; | |
7559 | PyObject * _obj1 = 0; | |
7560 | char *_kwnames[] = { "self","footer","pg", NULL }; | |
7561 | ||
7562 | self = self; | |
7563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2)) | |
7564 | return NULL; | |
7565 | if (_argo0) { | |
7566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
7568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p."); | |
7569 | return NULL; | |
7570 | } | |
7571 | } | |
7572 | { | |
c8bc7bb8 RD |
7573 | _arg1 = wxString_in_helper(_obj1); |
7574 | if (_arg1 == NULL) | |
185d7c3e | 7575 | return NULL; |
dc2f8a65 RD |
7576 | } |
7577 | { | |
4268f798 | 7578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7579 | wxHtmlPrintout_SetFooter(_arg0,*_arg1,_arg2); |
dc2f8a65 | 7580 | |
4268f798 RD |
7581 | wxPyEndAllowThreads(__tstate); |
7582 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7583 | } Py_INCREF(Py_None); |
7584 | _resultobj = Py_None; | |
7585 | { | |
7586 | if (_obj1) | |
7587 | delete _arg1; | |
7588 | } | |
7589 | return _resultobj; | |
7590 | } | |
7591 | ||
3856ee0b RD |
7592 | static void wxHtmlPrintout_SetFonts(wxHtmlPrintout *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
7593 | int* temp = NULL; | |
7594 | if (sizes) temp = int_LIST_helper(sizes); | |
7595 | self->SetFonts(normal_face, fixed_face, temp); | |
7596 | if (temp) | |
7597 | delete [] temp; | |
7598 | } | |
7599 | static PyObject *_wrap_wxHtmlPrintout_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7600 | PyObject * _resultobj; | |
7601 | wxHtmlPrintout * _arg0; | |
7602 | wxString * _arg1; | |
7603 | wxString * _arg2; | |
7604 | PyObject * _arg3 = (PyObject *) NULL; | |
7605 | PyObject * _argo0 = 0; | |
7606 | PyObject * _obj1 = 0; | |
7607 | PyObject * _obj2 = 0; | |
7608 | PyObject * _obj3 = 0; | |
7609 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
7610 | ||
7611 | self = self; | |
7612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlPrintout_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
7613 | return NULL; | |
7614 | if (_argo0) { | |
7615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
7617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFonts. Expected _wxHtmlPrintout_p."); | |
7618 | return NULL; | |
7619 | } | |
7620 | } | |
7621 | { | |
7622 | _arg1 = wxString_in_helper(_obj1); | |
7623 | if (_arg1 == NULL) | |
7624 | return NULL; | |
7625 | } | |
7626 | { | |
7627 | _arg2 = wxString_in_helper(_obj2); | |
7628 | if (_arg2 == NULL) | |
7629 | return NULL; | |
7630 | } | |
7631 | if (_obj3) | |
7632 | { | |
7633 | _arg3 = _obj3; | |
7634 | } | |
7635 | { | |
7636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7637 | wxHtmlPrintout_SetFonts(_arg0,*_arg1,*_arg2,_arg3); | |
7638 | ||
7639 | wxPyEndAllowThreads(__tstate); | |
7640 | if (PyErr_Occurred()) return NULL; | |
7641 | } Py_INCREF(Py_None); | |
7642 | _resultobj = Py_None; | |
7643 | { | |
7644 | if (_obj1) | |
7645 | delete _arg1; | |
7646 | } | |
7647 | { | |
7648 | if (_obj2) | |
7649 | delete _arg2; | |
7650 | } | |
7651 | return _resultobj; | |
7652 | } | |
7653 | ||
dc2f8a65 RD |
7654 | #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
7655 | static PyObject *_wrap_wxHtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7656 | PyObject * _resultobj; | |
7657 | wxHtmlPrintout * _arg0; | |
7658 | float _arg1 = (float ) 25.2; | |
7659 | float _arg2 = (float ) 25.2; | |
7660 | float _arg3 = (float ) 25.2; | |
7661 | float _arg4 = (float ) 25.2; | |
7662 | float _arg5 = (float ) 5; | |
7663 | PyObject * _argo0 = 0; | |
7664 | char *_kwnames[] = { "self","top","bottom","left","right","spaces", NULL }; | |
7665 | ||
7666 | self = self; | |
7667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7668 | return NULL; | |
7669 | if (_argo0) { | |
7670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) { | |
7672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p."); | |
7673 | return NULL; | |
7674 | } | |
7675 | } | |
7676 | { | |
4268f798 | 7677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7678 | wxHtmlPrintout_SetMargins(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
dc2f8a65 | 7679 | |
4268f798 RD |
7680 | wxPyEndAllowThreads(__tstate); |
7681 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7682 | } Py_INCREF(Py_None); |
7683 | _resultobj = Py_None; | |
7684 | return _resultobj; | |
7685 | } | |
7686 | ||
5a2a9da2 RD |
7687 | static PyObject *_wrap_wxHtmlPrintout_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) { |
7688 | PyObject * _resultobj; | |
7689 | wxHtmlFilter * _arg0; | |
7690 | PyObject * _argo0 = 0; | |
7691 | char *_kwnames[] = { "filter", NULL }; | |
7692 | ||
7693 | self = self; | |
7694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlPrintout_AddFilter",_kwnames,&_argo0)) | |
7695 | return NULL; | |
7696 | if (_argo0) { | |
7697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlFilter_p")) { | |
7699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_AddFilter. Expected _wxHtmlFilter_p."); | |
7700 | return NULL; | |
7701 | } | |
7702 | } | |
7703 | { | |
7704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7705 | wxHtmlPrintout::AddFilter(_arg0); | |
7706 | ||
7707 | wxPyEndAllowThreads(__tstate); | |
7708 | if (PyErr_Occurred()) return NULL; | |
7709 | } Py_INCREF(Py_None); | |
7710 | _resultobj = Py_None; | |
7711 | return _resultobj; | |
7712 | } | |
7713 | ||
7714 | static PyObject *_wrap_wxHtmlPrintout_CleanUpStatics(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7715 | PyObject * _resultobj; | |
7716 | char *_kwnames[] = { NULL }; | |
7717 | ||
7718 | self = self; | |
7719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxHtmlPrintout_CleanUpStatics",_kwnames)) | |
7720 | return NULL; | |
7721 | { | |
7722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7723 | wxHtmlPrintout::CleanUpStatics(); | |
7724 | ||
7725 | wxPyEndAllowThreads(__tstate); | |
7726 | if (PyErr_Occurred()) return NULL; | |
7727 | } Py_INCREF(Py_None); | |
7728 | _resultobj = Py_None; | |
7729 | return _resultobj; | |
7730 | } | |
7731 | ||
9416aa89 RD |
7732 | static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr) { |
7733 | wxHtmlEasyPrinting *src; | |
7734 | wxObject *dest; | |
7735 | src = (wxHtmlEasyPrinting *) ptr; | |
7736 | dest = (wxObject *) src; | |
7737 | return (void *) dest; | |
7738 | } | |
7739 | ||
dc2f8a65 RD |
7740 | #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1)) |
7741 | static PyObject *_wrap_new_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7742 | PyObject * _resultobj; | |
7743 | wxHtmlEasyPrinting * _result; | |
137b5242 | 7744 | wxString * _arg0 = (wxString *) &wxPyHtmlPrintingTitleStr; |
5a2a9da2 | 7745 | wxWindow * _arg1 = (wxWindow *) NULL; |
137b5242 | 7746 | PyObject * _obj0 = 0; |
dc2f8a65 | 7747 | PyObject * _argo1 = 0; |
5a2a9da2 | 7748 | char *_kwnames[] = { "name","parentWindow", NULL }; |
dc2f8a65 RD |
7749 | char _ptemp[128]; |
7750 | ||
7751 | self = self; | |
137b5242 RD |
7752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxHtmlEasyPrinting",_kwnames,&_obj0,&_argo1)) |
7753 | return NULL; | |
7754 | if (_obj0) | |
7755 | { | |
7756 | _arg0 = wxString_in_helper(_obj0); | |
7757 | if (_arg0 == NULL) | |
dc2f8a65 | 7758 | return NULL; |
137b5242 | 7759 | } |
dc2f8a65 RD |
7760 | if (_argo1) { |
7761 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5a2a9da2 RD |
7762 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { |
7763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxWindow_p."); | |
dc2f8a65 RD |
7764 | return NULL; |
7765 | } | |
7766 | } | |
7767 | { | |
4268f798 | 7768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 7769 | _result = (wxHtmlEasyPrinting *)new_wxHtmlEasyPrinting(*_arg0,_arg1); |
dc2f8a65 | 7770 | |
4268f798 RD |
7771 | wxPyEndAllowThreads(__tstate); |
7772 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7773 | } if (_result) { |
7774 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlEasyPrinting_p"); | |
7775 | _resultobj = Py_BuildValue("s",_ptemp); | |
7776 | } else { | |
7777 | Py_INCREF(Py_None); | |
7778 | _resultobj = Py_None; | |
7779 | } | |
137b5242 RD |
7780 | { |
7781 | if (_obj0) | |
7782 | delete _arg0; | |
7783 | } | |
dc2f8a65 RD |
7784 | return _resultobj; |
7785 | } | |
7786 | ||
7787 | #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj) | |
7788 | static PyObject *_wrap_delete_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7789 | PyObject * _resultobj; | |
7790 | wxHtmlEasyPrinting * _arg0; | |
7791 | PyObject * _argo0 = 0; | |
7792 | char *_kwnames[] = { "self", NULL }; | |
7793 | ||
7794 | self = self; | |
7795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlEasyPrinting",_kwnames,&_argo0)) | |
7796 | return NULL; | |
7797 | if (_argo0) { | |
7798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
7800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p."); | |
7801 | return NULL; | |
7802 | } | |
7803 | } | |
7804 | { | |
4268f798 | 7805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7806 | delete_wxHtmlEasyPrinting(_arg0); |
dc2f8a65 | 7807 | |
4268f798 RD |
7808 | wxPyEndAllowThreads(__tstate); |
7809 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7810 | } Py_INCREF(Py_None); |
7811 | _resultobj = Py_None; | |
7812 | return _resultobj; | |
7813 | } | |
7814 | ||
7815 | #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0)) | |
7816 | static PyObject *_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7817 | PyObject * _resultobj; | |
7818 | wxHtmlEasyPrinting * _arg0; | |
7819 | wxString * _arg1; | |
7820 | PyObject * _argo0 = 0; | |
7821 | PyObject * _obj1 = 0; | |
7822 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
7823 | ||
7824 | self = self; | |
7825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames,&_argo0,&_obj1)) | |
7826 | return NULL; | |
7827 | if (_argo0) { | |
7828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
7830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p."); | |
7831 | return NULL; | |
7832 | } | |
7833 | } | |
7834 | { | |
c8bc7bb8 RD |
7835 | _arg1 = wxString_in_helper(_obj1); |
7836 | if (_arg1 == NULL) | |
dc2f8a65 | 7837 | return NULL; |
dc2f8a65 RD |
7838 | } |
7839 | { | |
4268f798 | 7840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7841 | wxHtmlEasyPrinting_PreviewFile(_arg0,*_arg1); |
dc2f8a65 | 7842 | |
4268f798 RD |
7843 | wxPyEndAllowThreads(__tstate); |
7844 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7845 | } Py_INCREF(Py_None); |
7846 | _resultobj = Py_None; | |
7847 | { | |
7848 | if (_obj1) | |
7849 | delete _arg1; | |
7850 | } | |
7851 | return _resultobj; | |
7852 | } | |
7853 | ||
7854 | #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1)) | |
7855 | static PyObject *_wrap_wxHtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7856 | PyObject * _resultobj; | |
7857 | wxHtmlEasyPrinting * _arg0; | |
7858 | wxString * _arg1; | |
137b5242 | 7859 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
7860 | PyObject * _argo0 = 0; |
7861 | PyObject * _obj1 = 0; | |
7862 | PyObject * _obj2 = 0; | |
7863 | char *_kwnames[] = { "self","htmltext","basepath", NULL }; | |
7864 | ||
7865 | self = self; | |
7866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
7867 | return NULL; | |
7868 | if (_argo0) { | |
7869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
7871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p."); | |
7872 | return NULL; | |
7873 | } | |
7874 | } | |
7875 | { | |
c8bc7bb8 RD |
7876 | _arg1 = wxString_in_helper(_obj1); |
7877 | if (_arg1 == NULL) | |
185d7c3e | 7878 | return NULL; |
dc2f8a65 RD |
7879 | } |
7880 | if (_obj2) | |
7881 | { | |
c8bc7bb8 RD |
7882 | _arg2 = wxString_in_helper(_obj2); |
7883 | if (_arg2 == NULL) | |
dc2f8a65 | 7884 | return NULL; |
dc2f8a65 RD |
7885 | } |
7886 | { | |
4268f798 | 7887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7888 | wxHtmlEasyPrinting_PreviewText(_arg0,*_arg1,*_arg2); |
dc2f8a65 | 7889 | |
4268f798 RD |
7890 | wxPyEndAllowThreads(__tstate); |
7891 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7892 | } Py_INCREF(Py_None); |
7893 | _resultobj = Py_None; | |
7894 | { | |
7895 | if (_obj1) | |
7896 | delete _arg1; | |
7897 | } | |
7898 | { | |
7899 | if (_obj2) | |
7900 | delete _arg2; | |
7901 | } | |
7902 | return _resultobj; | |
7903 | } | |
7904 | ||
7905 | #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0)) | |
7906 | static PyObject *_wrap_wxHtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7907 | PyObject * _resultobj; | |
7908 | wxHtmlEasyPrinting * _arg0; | |
7909 | wxString * _arg1; | |
7910 | PyObject * _argo0 = 0; | |
7911 | PyObject * _obj1 = 0; | |
7912 | char *_kwnames[] = { "self","htmlfile", NULL }; | |
7913 | ||
7914 | self = self; | |
7915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames,&_argo0,&_obj1)) | |
7916 | return NULL; | |
7917 | if (_argo0) { | |
7918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
7920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p."); | |
7921 | return NULL; | |
7922 | } | |
7923 | } | |
7924 | { | |
c8bc7bb8 RD |
7925 | _arg1 = wxString_in_helper(_obj1); |
7926 | if (_arg1 == NULL) | |
185d7c3e | 7927 | return NULL; |
dc2f8a65 RD |
7928 | } |
7929 | { | |
4268f798 | 7930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7931 | wxHtmlEasyPrinting_PrintFile(_arg0,*_arg1); |
dc2f8a65 | 7932 | |
4268f798 RD |
7933 | wxPyEndAllowThreads(__tstate); |
7934 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7935 | } Py_INCREF(Py_None); |
7936 | _resultobj = Py_None; | |
7937 | { | |
7938 | if (_obj1) | |
7939 | delete _arg1; | |
7940 | } | |
7941 | return _resultobj; | |
7942 | } | |
7943 | ||
7944 | #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1)) | |
7945 | static PyObject *_wrap_wxHtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7946 | PyObject * _resultobj; | |
7947 | wxHtmlEasyPrinting * _arg0; | |
7948 | wxString * _arg1; | |
137b5242 | 7949 | wxString * _arg2 = (wxString *) &wxPyEmptyString; |
dc2f8a65 RD |
7950 | PyObject * _argo0 = 0; |
7951 | PyObject * _obj1 = 0; | |
7952 | PyObject * _obj2 = 0; | |
7953 | char *_kwnames[] = { "self","htmltext","basepath", NULL }; | |
7954 | ||
7955 | self = self; | |
7956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
7957 | return NULL; | |
7958 | if (_argo0) { | |
7959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
7961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p."); | |
7962 | return NULL; | |
7963 | } | |
7964 | } | |
7965 | { | |
c8bc7bb8 RD |
7966 | _arg1 = wxString_in_helper(_obj1); |
7967 | if (_arg1 == NULL) | |
185d7c3e | 7968 | return NULL; |
dc2f8a65 RD |
7969 | } |
7970 | if (_obj2) | |
7971 | { | |
c8bc7bb8 RD |
7972 | _arg2 = wxString_in_helper(_obj2); |
7973 | if (_arg2 == NULL) | |
dc2f8a65 | 7974 | return NULL; |
dc2f8a65 RD |
7975 | } |
7976 | { | |
4268f798 | 7977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7978 | wxHtmlEasyPrinting_PrintText(_arg0,*_arg1,*_arg2); |
dc2f8a65 | 7979 | |
4268f798 RD |
7980 | wxPyEndAllowThreads(__tstate); |
7981 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
7982 | } Py_INCREF(Py_None); |
7983 | _resultobj = Py_None; | |
7984 | { | |
7985 | if (_obj1) | |
7986 | delete _arg1; | |
7987 | } | |
7988 | { | |
7989 | if (_obj2) | |
7990 | delete _arg2; | |
7991 | } | |
7992 | return _resultobj; | |
7993 | } | |
7994 | ||
7995 | #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup()) | |
7996 | static PyObject *_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7997 | PyObject * _resultobj; | |
7998 | wxHtmlEasyPrinting * _arg0; | |
7999 | PyObject * _argo0 = 0; | |
8000 | char *_kwnames[] = { "self", NULL }; | |
8001 | ||
8002 | self = self; | |
8003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames,&_argo0)) | |
8004 | return NULL; | |
8005 | if (_argo0) { | |
8006 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8007 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p."); | |
8009 | return NULL; | |
8010 | } | |
8011 | } | |
8012 | { | |
4268f798 | 8013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8014 | wxHtmlEasyPrinting_PrinterSetup(_arg0); |
dc2f8a65 | 8015 | |
4268f798 RD |
8016 | wxPyEndAllowThreads(__tstate); |
8017 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
8018 | } Py_INCREF(Py_None); |
8019 | _resultobj = Py_None; | |
8020 | return _resultobj; | |
8021 | } | |
8022 | ||
8023 | #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup()) | |
8024 | static PyObject *_wrap_wxHtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8025 | PyObject * _resultobj; | |
8026 | wxHtmlEasyPrinting * _arg0; | |
8027 | PyObject * _argo0 = 0; | |
8028 | char *_kwnames[] = { "self", NULL }; | |
8029 | ||
8030 | self = self; | |
8031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PageSetup",_kwnames,&_argo0)) | |
8032 | return NULL; | |
8033 | if (_argo0) { | |
8034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p."); | |
8037 | return NULL; | |
8038 | } | |
8039 | } | |
8040 | { | |
4268f798 | 8041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8042 | wxHtmlEasyPrinting_PageSetup(_arg0); |
dc2f8a65 | 8043 | |
4268f798 RD |
8044 | wxPyEndAllowThreads(__tstate); |
8045 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
8046 | } Py_INCREF(Py_None); |
8047 | _resultobj = Py_None; | |
8048 | return _resultobj; | |
8049 | } | |
8050 | ||
8051 | #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1)) | |
8052 | static PyObject *_wrap_wxHtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8053 | PyObject * _resultobj; | |
8054 | wxHtmlEasyPrinting * _arg0; | |
8055 | wxString * _arg1; | |
8056 | int _arg2 = (int ) (wxPAGE_ALL); | |
8057 | PyObject * _argo0 = 0; | |
8058 | PyObject * _obj1 = 0; | |
8059 | char *_kwnames[] = { "self","header","pg", NULL }; | |
8060 | ||
8061 | self = self; | |
8062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2)) | |
8063 | return NULL; | |
8064 | if (_argo0) { | |
8065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p."); | |
8068 | return NULL; | |
8069 | } | |
8070 | } | |
8071 | { | |
c8bc7bb8 RD |
8072 | _arg1 = wxString_in_helper(_obj1); |
8073 | if (_arg1 == NULL) | |
185d7c3e | 8074 | return NULL; |
dc2f8a65 RD |
8075 | } |
8076 | { | |
4268f798 | 8077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8078 | wxHtmlEasyPrinting_SetHeader(_arg0,*_arg1,_arg2); |
dc2f8a65 | 8079 | |
4268f798 RD |
8080 | wxPyEndAllowThreads(__tstate); |
8081 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
8082 | } Py_INCREF(Py_None); |
8083 | _resultobj = Py_None; | |
8084 | { | |
8085 | if (_obj1) | |
8086 | delete _arg1; | |
8087 | } | |
8088 | return _resultobj; | |
8089 | } | |
8090 | ||
8091 | #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1)) | |
8092 | static PyObject *_wrap_wxHtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8093 | PyObject * _resultobj; | |
8094 | wxHtmlEasyPrinting * _arg0; | |
8095 | wxString * _arg1; | |
8096 | int _arg2 = (int ) (wxPAGE_ALL); | |
8097 | PyObject * _argo0 = 0; | |
8098 | PyObject * _obj1 = 0; | |
8099 | char *_kwnames[] = { "self","footer","pg", NULL }; | |
8100 | ||
8101 | self = self; | |
8102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2)) | |
8103 | return NULL; | |
8104 | if (_argo0) { | |
8105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p."); | |
8108 | return NULL; | |
8109 | } | |
8110 | } | |
8111 | { | |
c8bc7bb8 RD |
8112 | _arg1 = wxString_in_helper(_obj1); |
8113 | if (_arg1 == NULL) | |
185d7c3e | 8114 | return NULL; |
dc2f8a65 RD |
8115 | } |
8116 | { | |
4268f798 | 8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8118 | wxHtmlEasyPrinting_SetFooter(_arg0,*_arg1,_arg2); |
dc2f8a65 | 8119 | |
4268f798 RD |
8120 | wxPyEndAllowThreads(__tstate); |
8121 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
8122 | } Py_INCREF(Py_None); |
8123 | _resultobj = Py_None; | |
8124 | { | |
8125 | if (_obj1) | |
8126 | delete _arg1; | |
8127 | } | |
8128 | return _resultobj; | |
8129 | } | |
8130 | ||
3856ee0b RD |
8131 | static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal_face,wxString fixed_face,PyObject * sizes) { |
8132 | int* temp = NULL; | |
8133 | if (sizes) temp = int_LIST_helper(sizes); | |
8134 | self->SetFonts(normal_face, fixed_face, temp); | |
8135 | if (temp) | |
8136 | delete [] temp; | |
8137 | } | |
8138 | static PyObject *_wrap_wxHtmlEasyPrinting_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8139 | PyObject * _resultobj; | |
8140 | wxHtmlEasyPrinting * _arg0; | |
8141 | wxString * _arg1; | |
8142 | wxString * _arg2; | |
8143 | PyObject * _arg3 = (PyObject *) NULL; | |
8144 | PyObject * _argo0 = 0; | |
8145 | PyObject * _obj1 = 0; | |
8146 | PyObject * _obj2 = 0; | |
8147 | PyObject * _obj3 = 0; | |
8148 | char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL }; | |
8149 | ||
8150 | self = self; | |
8151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxHtmlEasyPrinting_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
8152 | return NULL; | |
8153 | if (_argo0) { | |
8154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFonts. Expected _wxHtmlEasyPrinting_p."); | |
8157 | return NULL; | |
8158 | } | |
8159 | } | |
8160 | { | |
8161 | _arg1 = wxString_in_helper(_obj1); | |
8162 | if (_arg1 == NULL) | |
8163 | return NULL; | |
8164 | } | |
8165 | { | |
8166 | _arg2 = wxString_in_helper(_obj2); | |
8167 | if (_arg2 == NULL) | |
8168 | return NULL; | |
8169 | } | |
8170 | if (_obj3) | |
8171 | { | |
8172 | _arg3 = _obj3; | |
8173 | } | |
8174 | { | |
8175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8176 | wxHtmlEasyPrinting_SetFonts(_arg0,*_arg1,*_arg2,_arg3); | |
8177 | ||
8178 | wxPyEndAllowThreads(__tstate); | |
8179 | if (PyErr_Occurred()) return NULL; | |
8180 | } Py_INCREF(Py_None); | |
8181 | _resultobj = Py_None; | |
8182 | { | |
8183 | if (_obj1) | |
8184 | delete _arg1; | |
8185 | } | |
8186 | { | |
8187 | if (_obj2) | |
8188 | delete _arg2; | |
8189 | } | |
8190 | return _resultobj; | |
8191 | } | |
8192 | ||
dc2f8a65 RD |
8193 | #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData()) |
8194 | static PyObject *_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8195 | PyObject * _resultobj; | |
8196 | wxPrintData * _result; | |
8197 | wxHtmlEasyPrinting * _arg0; | |
8198 | PyObject * _argo0 = 0; | |
8199 | char *_kwnames[] = { "self", NULL }; | |
8200 | char _ptemp[128]; | |
8201 | ||
8202 | self = self; | |
8203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames,&_argo0)) | |
8204 | return NULL; | |
8205 | if (_argo0) { | |
8206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p."); | |
8209 | return NULL; | |
8210 | } | |
8211 | } | |
8212 | { | |
4268f798 | 8213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8214 | _result = (wxPrintData *)wxHtmlEasyPrinting_GetPrintData(_arg0); |
dc2f8a65 | 8215 | |
4268f798 RD |
8216 | wxPyEndAllowThreads(__tstate); |
8217 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
8218 | } if (_result) { |
8219 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p"); | |
8220 | _resultobj = Py_BuildValue("s",_ptemp); | |
8221 | } else { | |
8222 | Py_INCREF(Py_None); | |
8223 | _resultobj = Py_None; | |
8224 | } | |
8225 | return _resultobj; | |
8226 | } | |
8227 | ||
8228 | #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData()) | |
8229 | static PyObject *_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8230 | PyObject * _resultobj; | |
8231 | wxPageSetupDialogData * _result; | |
8232 | wxHtmlEasyPrinting * _arg0; | |
8233 | PyObject * _argo0 = 0; | |
8234 | char *_kwnames[] = { "self", NULL }; | |
8235 | char _ptemp[128]; | |
8236 | ||
8237 | self = self; | |
8238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames,&_argo0)) | |
8239 | return NULL; | |
8240 | if (_argo0) { | |
8241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) { | |
8243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p."); | |
8244 | return NULL; | |
8245 | } | |
8246 | } | |
8247 | { | |
4268f798 | 8248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8249 | _result = (wxPageSetupDialogData *)wxHtmlEasyPrinting_GetPageSetupData(_arg0); |
dc2f8a65 | 8250 | |
4268f798 RD |
8251 | wxPyEndAllowThreads(__tstate); |
8252 | if (PyErr_Occurred()) return NULL; | |
dc2f8a65 RD |
8253 | } if (_result) { |
8254 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p"); | |
8255 | _resultobj = Py_BuildValue("s",_ptemp); | |
8256 | } else { | |
8257 | Py_INCREF(Py_None); | |
8258 | _resultobj = Py_None; | |
8259 | } | |
8260 | return _resultobj; | |
8261 | } | |
8262 | ||
325274bb | 8263 | static PyMethodDef htmlcMethods[] = { |
dc2f8a65 RD |
8264 | { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, |
8265 | { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
3856ee0b | 8266 | { "wxHtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
8267 | { "wxHtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS }, |
8268 | { "wxHtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxHtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxHtmlEasyPrinting_PrintText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxHtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxHtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "delete_wxHtmlEasyPrinting", (PyCFunction) _wrap_delete_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "new_wxHtmlEasyPrinting", (PyCFunction) _wrap_new_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS }, | |
5a2a9da2 RD |
8277 | { "wxHtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_wxHtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS }, |
8278 | { "wxHtmlPrintout_AddFilter", (PyCFunction) _wrap_wxHtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 | 8279 | { "wxHtmlPrintout_SetMargins", (PyCFunction) _wrap_wxHtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS }, |
3856ee0b | 8280 | { "wxHtmlPrintout_SetFonts", (PyCFunction) _wrap_wxHtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
8281 | { "wxHtmlPrintout_SetFooter", (PyCFunction) _wrap_wxHtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS }, |
8282 | { "wxHtmlPrintout_SetHeader", (PyCFunction) _wrap_wxHtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxHtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "wxHtmlPrintout_SetHtmlText", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
8285 | { "new_wxHtmlPrintout", (PyCFunction) _wrap_new_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS }, |
8286 | { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_wxHtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS }, | |
8287 | { "wxHtmlDCRenderer_Render", (PyCFunction) _wrap_wxHtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS }, | |
3856ee0b | 8288 | { "wxHtmlDCRenderer_SetFonts", (PyCFunction) _wrap_wxHtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS }, |
dc2f8a65 RD |
8289 | { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_wxHtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS }, |
8290 | { "wxHtmlDCRenderer_SetSize", (PyCFunction) _wrap_wxHtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8291 | { "wxHtmlDCRenderer_SetDC", (PyCFunction) _wrap_wxHtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
8292 | { "delete_wxHtmlDCRenderer", (PyCFunction) _wrap_delete_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
8293 | { "new_wxHtmlDCRenderer", (PyCFunction) _wrap_new_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 RD |
8294 | { "wxHtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS }, |
8295 | { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 | 8296 | { "wxHtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_wxHtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS }, |
95837b4d | 8297 | { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS }, |
7e50db3f | 8298 | { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS }, |
7d0180d4 RD |
8299 | { "wxHtmlWindow_HasAnchor", (PyCFunction) _wrap_wxHtmlWindow_HasAnchor, METH_VARARGS | METH_KEYWORDS }, |
8300 | { "wxHtmlWindow_ScrollToAnchor", (PyCFunction) _wrap_wxHtmlWindow_ScrollToAnchor, METH_VARARGS | METH_KEYWORDS }, | |
e166644c | 8301 | { "wxHtmlWindow_GetParser", (PyCFunction) _wrap_wxHtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS }, |
a65c6e14 | 8302 | { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 | 8303 | { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS }, |
794c5cb1 RD |
8304 | { "wxHtmlWindow_HistoryCanForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS }, |
8305 | { "wxHtmlWindow_HistoryCanBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
8306 | { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS }, |
8307 | { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS }, | |
8308 | { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS }, | |
8309 | { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS }, | |
794c5cb1 RD |
8316 | { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS }, |
8317 | { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 8318 | { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS }, |
9d37f964 | 8319 | { "wxHtmlWindow_AppendToPage", (PyCFunction) _wrap_wxHtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS }, |
5a2a9da2 | 8320 | { "wxHtmlWindow_LoadFile", (PyCFunction) _wrap_wxHtmlWindow_LoadFile, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
8321 | { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS }, |
8322 | { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 8323 | { "wxHtmlWindow__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
7b7ac0ab RD |
8324 | { "wxHtmlWindow_Create", (PyCFunction) _wrap_wxHtmlWindow_Create, METH_VARARGS | METH_KEYWORDS }, |
8325 | { "new_wxPreHtmlWindow", (PyCFunction) _wrap_new_wxPreHtmlWindow, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 8326 | { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS }, |
7e50db3f RD |
8327 | { "wxHtmlFilter__setCallbackInfo", (PyCFunction) _wrap_wxHtmlFilter__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
8328 | { "new_wxHtmlFilter", (PyCFunction) _wrap_new_wxHtmlFilter, METH_VARARGS | METH_KEYWORDS }, | |
e166644c | 8329 | { "new_wxHtmlWidgetCell", (PyCFunction) _wrap_new_wxHtmlWidgetCell, METH_VARARGS | METH_KEYWORDS }, |
9416aa89 | 8330 | { "new_wxHtmlFontCell", (PyCFunction) _wrap_new_wxHtmlFontCell, METH_VARARGS | METH_KEYWORDS }, |
9c00cfa3 | 8331 | { "new_wxHtmlColourCell", (PyCFunction) _wrap_new_wxHtmlColourCell, METH_VARARGS | METH_KEYWORDS }, |
5a2a9da2 | 8332 | { "wxHtmlContainerCell_GetFirstChild", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, |
e166644c | 8333 | { "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS }, |
7e50db3f | 8334 | { "wxHtmlContainerCell_GetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
e166644c | 8335 | { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, |
e166644c RD |
8336 | { "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, |
8337 | { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxHtmlContainerCell_SetAlign", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxHtmlContainerCell_GetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxHtmlContainerCell_SetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxHtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxHtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS }, | |
8345 | { "wxHtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
8346 | { "wxHtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxHtmlContainerCell_InsertCell", (PyCFunction) _wrap_wxHtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "new_wxHtmlContainerCell", (PyCFunction) _wrap_new_wxHtmlContainerCell, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 8349 | { "new_wxHtmlWordCell", (PyCFunction) _wrap_new_wxHtmlWordCell, METH_VARARGS | METH_KEYWORDS }, |
5a2a9da2 RD |
8350 | { "wxHtmlCell_ConvertToText", (PyCFunction) _wrap_wxHtmlCell_ConvertToText, METH_VARARGS | METH_KEYWORDS }, |
8351 | { "wxHtmlCell_IsBefore", (PyCFunction) _wrap_wxHtmlCell_IsBefore, METH_VARARGS | METH_KEYWORDS }, | |
8352 | { "wxHtmlCell_GetDepth", (PyCFunction) _wrap_wxHtmlCell_GetDepth, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "wxHtmlCell_GetLastTerminal", (PyCFunction) _wrap_wxHtmlCell_GetLastTerminal, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { "wxHtmlCell_GetFirstTerminal", (PyCFunction) _wrap_wxHtmlCell_GetFirstTerminal, METH_VARARGS | METH_KEYWORDS }, | |
8355 | { "wxHtmlCell_GetAbsPos", (PyCFunction) _wrap_wxHtmlCell_GetAbsPos, METH_VARARGS | METH_KEYWORDS }, | |
8356 | { "wxHtmlCell_FindCellByPos", (PyCFunction) _wrap_wxHtmlCell_FindCellByPos, METH_VARARGS | METH_KEYWORDS }, | |
8357 | { "wxHtmlCell_IsTerminalCell", (PyCFunction) _wrap_wxHtmlCell_IsTerminalCell, METH_VARARGS | METH_KEYWORDS }, | |
8358 | { "wxHtmlCell_IsLinebreakAllowed", (PyCFunction) _wrap_wxHtmlCell_IsLinebreakAllowed, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
8359 | { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_wxHtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS }, |
8360 | { "wxHtmlCell_AdjustPagebreak", (PyCFunction) _wrap_wxHtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS }, | |
e166644c RD |
8361 | { "wxHtmlCell_Find", (PyCFunction) _wrap_wxHtmlCell_Find, METH_VARARGS | METH_KEYWORDS }, |
8362 | { "wxHtmlCell_DrawInvisible", (PyCFunction) _wrap_wxHtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS }, | |
8363 | { "wxHtmlCell_Draw", (PyCFunction) _wrap_wxHtmlCell_Draw, METH_VARARGS | METH_KEYWORDS }, | |
8364 | { "wxHtmlCell_Layout", (PyCFunction) _wrap_wxHtmlCell_Layout, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 RD |
8365 | { "wxHtmlCell_SetPos", (PyCFunction) _wrap_wxHtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS }, |
8366 | { "wxHtmlCell_SetParent", (PyCFunction) _wrap_wxHtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
e166644c RD |
8367 | { "wxHtmlCell_SetNext", (PyCFunction) _wrap_wxHtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS }, |
8368 | { "wxHtmlCell_SetLink", (PyCFunction) _wrap_wxHtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
5a2a9da2 RD |
8369 | { "wxHtmlCell_IsFormattingCell", (PyCFunction) _wrap_wxHtmlCell_IsFormattingCell, METH_VARARGS | METH_KEYWORDS }, |
8370 | { "wxHtmlCell_GetCursor", (PyCFunction) _wrap_wxHtmlCell_GetCursor, METH_VARARGS | METH_KEYWORDS }, | |
8371 | { "wxHtmlCell_GetFirstChild", (PyCFunction) _wrap_wxHtmlCell_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 | 8372 | { "wxHtmlCell_GetParent", (PyCFunction) _wrap_wxHtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS }, |
e166644c RD |
8373 | { "wxHtmlCell_GetNext", (PyCFunction) _wrap_wxHtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS }, |
8374 | { "wxHtmlCell_GetLink", (PyCFunction) _wrap_wxHtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS }, | |
8375 | { "wxHtmlCell_GetDescent", (PyCFunction) _wrap_wxHtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS }, | |
8376 | { "wxHtmlCell_GetHeight", (PyCFunction) _wrap_wxHtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
8377 | { "wxHtmlCell_GetWidth", (PyCFunction) _wrap_wxHtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
8378 | { "wxHtmlCell_GetPosY", (PyCFunction) _wrap_wxHtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS }, | |
8379 | { "wxHtmlCell_GetPosX", (PyCFunction) _wrap_wxHtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS }, | |
e166644c | 8380 | { "new_wxHtmlCell", (PyCFunction) _wrap_new_wxHtmlCell, METH_VARARGS | METH_KEYWORDS }, |
5a2a9da2 RD |
8381 | { "wxHtmlRenderingInfo_GetState", (PyCFunction) _wrap_wxHtmlRenderingInfo_GetState, METH_VARARGS | METH_KEYWORDS }, |
8382 | { "wxHtmlRenderingInfo_GetStyle", (PyCFunction) _wrap_wxHtmlRenderingInfo_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
8383 | { "wxHtmlRenderingInfo_SetStyle", (PyCFunction) _wrap_wxHtmlRenderingInfo_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
8384 | { "wxHtmlRenderingInfo_GetSelection", (PyCFunction) _wrap_wxHtmlRenderingInfo_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8385 | { "wxHtmlRenderingInfo_SetSelection", (PyCFunction) _wrap_wxHtmlRenderingInfo_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8386 | { "delete_wxHtmlRenderingInfo", (PyCFunction) _wrap_delete_wxHtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
8387 | { "new_wxHtmlRenderingInfo", (PyCFunction) _wrap_new_wxHtmlRenderingInfo, METH_VARARGS | METH_KEYWORDS }, | |
8388 | { "wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
8389 | { "wxDefaultHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_wxDefaultHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8390 | { "wxHtmlRenderingStyle_GetSelectedTextBgColour", (PyCFunction) _wrap_wxHtmlRenderingStyle_GetSelectedTextBgColour, METH_VARARGS | METH_KEYWORDS }, | |
8391 | { "wxHtmlRenderingStyle_GetSelectedTextColour", (PyCFunction) _wrap_wxHtmlRenderingStyle_GetSelectedTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8392 | { "wxHtmlRenderingState_GetBgColour", (PyCFunction) _wrap_wxHtmlRenderingState_GetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
8393 | { "wxHtmlRenderingState_SetBgColour", (PyCFunction) _wrap_wxHtmlRenderingState_SetBgColour, METH_VARARGS | METH_KEYWORDS }, | |
8394 | { "wxHtmlRenderingState_GetFgColour", (PyCFunction) _wrap_wxHtmlRenderingState_GetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
8395 | { "wxHtmlRenderingState_SetFgColour", (PyCFunction) _wrap_wxHtmlRenderingState_SetFgColour, METH_VARARGS | METH_KEYWORDS }, | |
8396 | { "wxHtmlRenderingState_GetSelectionState", (PyCFunction) _wrap_wxHtmlRenderingState_GetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
8397 | { "wxHtmlRenderingState_SetSelectionState", (PyCFunction) _wrap_wxHtmlRenderingState_SetSelectionState, METH_VARARGS | METH_KEYWORDS }, | |
8398 | { "delete_wxHtmlRenderingState", (PyCFunction) _wrap_delete_wxHtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
8399 | { "new_wxHtmlRenderingState", (PyCFunction) _wrap_new_wxHtmlRenderingState, METH_VARARGS | METH_KEYWORDS }, | |
8400 | { "wxHtmlSelection_IsEmpty", (PyCFunction) _wrap_wxHtmlSelection_IsEmpty, METH_VARARGS | METH_KEYWORDS }, | |
8401 | { "wxHtmlSelection_ClearPrivPos", (PyCFunction) _wrap_wxHtmlSelection_ClearPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
8402 | { "wxHtmlSelection_SetToPrivPos", (PyCFunction) _wrap_wxHtmlSelection_SetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
8403 | { "wxHtmlSelection_SetFromPrivPos", (PyCFunction) _wrap_wxHtmlSelection_SetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
8404 | { "wxHtmlSelection_GetToPrivPos", (PyCFunction) _wrap_wxHtmlSelection_GetToPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
8405 | { "wxHtmlSelection_GetFromPrivPos", (PyCFunction) _wrap_wxHtmlSelection_GetFromPrivPos, METH_VARARGS | METH_KEYWORDS }, | |
8406 | { "wxHtmlSelection_GetToPos", (PyCFunction) _wrap_wxHtmlSelection_GetToPos, METH_VARARGS | METH_KEYWORDS }, | |
8407 | { "wxHtmlSelection_GetFromPos", (PyCFunction) _wrap_wxHtmlSelection_GetFromPos, METH_VARARGS | METH_KEYWORDS }, | |
8408 | { "wxHtmlSelection_GetToCell", (PyCFunction) _wrap_wxHtmlSelection_GetToCell, METH_VARARGS | METH_KEYWORDS }, | |
8409 | { "wxHtmlSelection_GetFromCell", (PyCFunction) _wrap_wxHtmlSelection_GetFromCell, METH_VARARGS | METH_KEYWORDS }, | |
8410 | { "wxHtmlSelection_SetCells", (PyCFunction) _wrap_wxHtmlSelection_SetCells, METH_VARARGS | METH_KEYWORDS }, | |
8411 | { "wxHtmlSelection_Set", (PyCFunction) _wrap_wxHtmlSelection_Set, METH_VARARGS | METH_KEYWORDS }, | |
8412 | { "delete_wxHtmlSelection", (PyCFunction) _wrap_delete_wxHtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
8413 | { "new_wxHtmlSelection", (PyCFunction) _wrap_new_wxHtmlSelection, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
8414 | { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, |
8415 | { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
8416 | { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 8417 | { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
8418 | { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS }, |
8419 | { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS }, | |
8420 | { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS }, | |
8421 | { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 8422 | { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 | 8423 | { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS }, |
9c00cfa3 | 8424 | { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
8425 | { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS }, |
8426 | { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
8427 | { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS }, |
8428 | { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS }, | |
8429 | { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
8430 | { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS }, | |
8431 | { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
8432 | { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
8433 | { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
8434 | { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS }, | |
8435 | { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
8436 | { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS }, | |
8437 | { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
8438 | { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS }, | |
8439 | { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
8440 | { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS }, | |
8441 | { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
8442 | { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS }, | |
8443 | { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 | 8444 | { "wxHtmlWinParser_SetContainer", (PyCFunction) _wrap_wxHtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
8445 | { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS }, |
8446 | { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS }, | |
8447 | { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS }, | |
8448 | { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
8449 | { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS }, | |
8450 | { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS }, | |
8451 | { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
8452 | { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
8453 | { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS }, | |
dc2f8a65 RD |
8454 | { "wxHtmlParser_PopTagHandler", (PyCFunction) _wrap_wxHtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS }, |
8455 | { "wxHtmlParser_PushTagHandler", (PyCFunction) _wrap_wxHtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
8456 | { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS }, |
8457 | { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, | |
7e50db3f | 8458 | { "wxHtmlParser_StopParsing", (PyCFunction) _wrap_wxHtmlParser_StopParsing, METH_VARARGS | METH_KEYWORDS }, |
0f66a9f3 RD |
8459 | { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS }, |
8460 | { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS }, | |
8461 | { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS }, | |
8462 | { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS }, | |
8463 | { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS }, | |
8464 | { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS }, | |
8465 | { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS }, | |
8466 | { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS }, | |
8467 | { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS }, | |
8468 | { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 RD |
8469 | { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS }, |
8470 | { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS }, | |
8471 | { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS }, | |
8472 | { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS }, | |
794c5cb1 RD |
8473 | { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS }, |
8474 | { "wxHtmlLinkInfo_SetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS }, | |
e02c03a4 RD |
8475 | { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS }, |
8476 | { "wxHtmlLinkInfo_GetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS }, | |
9c00cfa3 RD |
8477 | { "wxHtmlLinkInfo_GetTarget", (PyCFunction) _wrap_wxHtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS }, |
8478 | { "wxHtmlLinkInfo_GetHref", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS }, | |
8479 | { "new_wxHtmlLinkInfo", (PyCFunction) _wrap_new_wxHtmlLinkInfo, METH_VARARGS | METH_KEYWORDS }, | |
0f66a9f3 | 8480 | { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS }, |
325274bb RD |
8481 | { NULL, NULL } |
8482 | }; | |
8483 | #ifdef __cplusplus | |
8484 | } | |
8485 | #endif | |
8486 | /* | |
8487 | * This table is used by the pointer type-checker | |
8488 | */ | |
8489 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
325274bb | 8490 | { "_signed_long","_long",0}, |
b1462dfa | 8491 | { "_wxPrintQuality","_wxCoord",0}, |
325274bb RD |
8492 | { "_wxPrintQuality","_int",0}, |
8493 | { "_wxPrintQuality","_signed_int",0}, | |
8494 | { "_wxPrintQuality","_unsigned_int",0}, | |
8495 | { "_wxPrintQuality","_wxWindowID",0}, | |
8496 | { "_wxPrintQuality","_uint",0}, | |
8497 | { "_wxPrintQuality","_EBool",0}, | |
8498 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 8499 | { "_wxPrintQuality","_time_t",0}, |
325274bb | 8500 | { "_byte","_unsigned_char",0}, |
dc2f8a65 | 8501 | { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout}, |
325274bb RD |
8502 | { "_long","_unsigned_long",0}, |
8503 | { "_long","_signed_long",0}, | |
b1462dfa | 8504 | { "_size_t","_wxCoord",0}, |
325274bb | 8505 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 8506 | { "_size_t","_time_t",0}, |
325274bb RD |
8507 | { "_size_t","_unsigned_int",0}, |
8508 | { "_size_t","_int",0}, | |
8509 | { "_size_t","_wxWindowID",0}, | |
8510 | { "_size_t","_uint",0}, | |
0f66a9f3 | 8511 | { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel}, |
b1462dfa | 8512 | { "_uint","_wxCoord",0}, |
325274bb | 8513 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8514 | { "_uint","_time_t",0}, |
325274bb RD |
8515 | { "_uint","_size_t",0}, |
8516 | { "_uint","_unsigned_int",0}, | |
8517 | { "_uint","_int",0}, | |
8518 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 8519 | { "_wxChar","_char",0}, |
e166644c | 8520 | { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell}, |
9416aa89 | 8521 | { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell}, |
9c00cfa3 | 8522 | { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell}, |
e166644c | 8523 | { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell}, |
9416aa89 | 8524 | { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell}, |
f6bcfd97 | 8525 | { "_char","_wxChar",0}, |
5a2a9da2 | 8526 | { "_wxHtmlRenderingStyle","_wxDefaultHtmlRenderingStyle",SwigwxDefaultHtmlRenderingStyleTowxHtmlRenderingStyle}, |
cdf14688 | 8527 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
0f66a9f3 | 8528 | { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler}, |
b1462dfa | 8529 | { "_EBool","_wxCoord",0}, |
325274bb RD |
8530 | { "_EBool","_wxPrintQuality",0}, |
8531 | { "_EBool","_signed_int",0}, | |
8532 | { "_EBool","_int",0}, | |
8533 | { "_EBool","_wxWindowID",0}, | |
325274bb | 8534 | { "_unsigned_long","_long",0}, |
cdf14688 | 8535 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
b1462dfa | 8536 | { "_signed_int","_wxCoord",0}, |
325274bb RD |
8537 | { "_signed_int","_wxPrintQuality",0}, |
8538 | { "_signed_int","_EBool",0}, | |
8539 | { "_signed_int","_wxWindowID",0}, | |
8540 | { "_signed_int","_int",0}, | |
f6bcfd97 | 8541 | { "_WXTYPE","_wxDateTime_t",0}, |
325274bb RD |
8542 | { "_WXTYPE","_short",0}, |
8543 | { "_WXTYPE","_signed_short",0}, | |
8544 | { "_WXTYPE","_unsigned_short",0}, | |
f6bcfd97 | 8545 | { "_unsigned_short","_wxDateTime_t",0}, |
325274bb RD |
8546 | { "_unsigned_short","_WXTYPE",0}, |
8547 | { "_unsigned_short","_short",0}, | |
9416aa89 | 8548 | { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject}, |
9416aa89 | 8549 | { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject}, |
9416aa89 | 8550 | { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject}, |
9416aa89 | 8551 | { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject}, |
7e50db3f | 8552 | { "_wxObject","_wxPyHtmlFilter",SwigwxPyHtmlFilterTowxObject}, |
9416aa89 | 8553 | { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject}, |
9416aa89 | 8554 | { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject}, |
9416aa89 | 8555 | { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject}, |
9416aa89 | 8556 | { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject}, |
9416aa89 | 8557 | { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject}, |
9416aa89 | 8558 | { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject}, |
9416aa89 | 8559 | { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject}, |
9416aa89 | 8560 | { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject}, |
9416aa89 | 8561 | { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject}, |
9416aa89 | 8562 | { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject}, |
9416aa89 | 8563 | { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject}, |
9416aa89 | 8564 | { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject}, |
325274bb RD |
8565 | { "_signed_short","_WXTYPE",0}, |
8566 | { "_signed_short","_short",0}, | |
0f66a9f3 | 8567 | { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow}, |
325274bb | 8568 | { "_unsigned_char","_byte",0}, |
b1462dfa | 8569 | { "_unsigned_int","_wxCoord",0}, |
325274bb | 8570 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8571 | { "_unsigned_int","_time_t",0}, |
325274bb RD |
8572 | { "_unsigned_int","_size_t",0}, |
8573 | { "_unsigned_int","_uint",0}, | |
8574 | { "_unsigned_int","_wxWindowID",0}, | |
8575 | { "_unsigned_int","_int",0}, | |
f6bcfd97 | 8576 | { "_short","_wxDateTime_t",0}, |
325274bb RD |
8577 | { "_short","_WXTYPE",0}, |
8578 | { "_short","_unsigned_short",0}, | |
8579 | { "_short","_signed_short",0}, | |
b1462dfa | 8580 | { "_wxWindowID","_wxCoord",0}, |
325274bb | 8581 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8582 | { "_wxWindowID","_time_t",0}, |
325274bb RD |
8583 | { "_wxWindowID","_size_t",0}, |
8584 | { "_wxWindowID","_EBool",0}, | |
8585 | { "_wxWindowID","_uint",0}, | |
8586 | { "_wxWindowID","_int",0}, | |
8587 | { "_wxWindowID","_signed_int",0}, | |
8588 | { "_wxWindowID","_unsigned_int",0}, | |
b1462dfa | 8589 | { "_int","_wxCoord",0}, |
325274bb | 8590 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8591 | { "_int","_time_t",0}, |
325274bb RD |
8592 | { "_int","_size_t",0}, |
8593 | { "_int","_EBool",0}, | |
8594 | { "_int","_uint",0}, | |
8595 | { "_int","_wxWindowID",0}, | |
8596 | { "_int","_unsigned_int",0}, | |
8597 | { "_int","_signed_int",0}, | |
f6bcfd97 BP |
8598 | { "_wxDateTime_t","_unsigned_short",0}, |
8599 | { "_wxDateTime_t","_short",0}, | |
8600 | { "_wxDateTime_t","_WXTYPE",0}, | |
c368d904 RD |
8601 | { "_time_t","_wxCoord",0}, |
8602 | { "_time_t","_wxPrintQuality",0}, | |
8603 | { "_time_t","_unsigned_int",0}, | |
8604 | { "_time_t","_int",0}, | |
8605 | { "_time_t","_wxWindowID",0}, | |
8606 | { "_time_t","_uint",0}, | |
8607 | { "_time_t","_size_t",0}, | |
b1462dfa RD |
8608 | { "_wxCoord","_int",0}, |
8609 | { "_wxCoord","_signed_int",0}, | |
8610 | { "_wxCoord","_unsigned_int",0}, | |
8611 | { "_wxCoord","_wxWindowID",0}, | |
8612 | { "_wxCoord","_uint",0}, | |
8613 | { "_wxCoord","_EBool",0}, | |
8614 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8615 | { "_wxCoord","_time_t",0}, |
b1462dfa | 8616 | { "_wxCoord","_wxPrintQuality",0}, |
0f66a9f3 | 8617 | { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser}, |
0f66a9f3 | 8618 | { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler}, |
0f66a9f3 | 8619 | { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow}, |
325274bb RD |
8620 | {0,0,0}}; |
8621 | ||
8622 | static PyObject *SWIG_globals; | |
8623 | #ifdef __cplusplus | |
8624 | extern "C" | |
8625 | #endif | |
8626 | SWIGEXPORT(void) inithtmlc() { | |
8627 | PyObject *m, *d; | |
8628 | SWIG_globals = SWIG_newvarlink(); | |
8629 | m = Py_InitModule("htmlc", htmlcMethods); | |
8630 | d = PyModule_GetDict(m); | |
9d8bd15f RD |
8631 | PyDict_SetItemString(d,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT)); |
8632 | PyDict_SetItemString(d,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER)); | |
8633 | PyDict_SetItemString(d,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT)); | |
8634 | PyDict_SetItemString(d,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM)); | |
8635 | PyDict_SetItemString(d,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP)); | |
8636 | PyDict_SetItemString(d,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND)); | |
8637 | PyDict_SetItemString(d,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND)); | |
8638 | PyDict_SetItemString(d,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS)); | |
8639 | PyDict_SetItemString(d,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT)); | |
8640 | PyDict_SetItemString(d,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT)); | |
8641 | PyDict_SetItemString(d,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT)); | |
8642 | PyDict_SetItemString(d,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP)); | |
8643 | PyDict_SetItemString(d,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM)); | |
8644 | PyDict_SetItemString(d,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL)); | |
8645 | PyDict_SetItemString(d,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL)); | |
8646 | PyDict_SetItemString(d,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL)); | |
8647 | PyDict_SetItemString(d,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR)); | |
8648 | PyDict_SetItemString(d,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP)); | |
8649 | PyDict_SetItemString(d,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER)); | |
c6c593e8 RD |
8650 | PyDict_SetItemString(d,"wxHW_SCROLLBAR_NEVER", PyInt_FromLong((long) wxHW_SCROLLBAR_NEVER)); |
8651 | PyDict_SetItemString(d,"wxHW_SCROLLBAR_AUTO", PyInt_FromLong((long) wxHW_SCROLLBAR_AUTO)); | |
5a2a9da2 RD |
8652 | PyDict_SetItemString(d,"wxHW_NO_SELECTION", PyInt_FromLong((long) wxHW_NO_SELECTION)); |
8653 | PyDict_SetItemString(d,"wxHW_DEFAULT_STYLE", PyInt_FromLong((long) wxHW_DEFAULT_STYLE)); | |
c6c593e8 RD |
8654 | PyDict_SetItemString(d,"wxHTML_OPEN", PyInt_FromLong((long) wxHTML_OPEN)); |
8655 | PyDict_SetItemString(d,"wxHTML_BLOCK", PyInt_FromLong((long) wxHTML_BLOCK)); | |
8656 | PyDict_SetItemString(d,"wxHTML_REDIRECT", PyInt_FromLong((long) wxHTML_REDIRECT)); | |
8657 | PyDict_SetItemString(d,"wxHTML_URL_PAGE", PyInt_FromLong((long) wxHTML_URL_PAGE)); | |
8658 | PyDict_SetItemString(d,"wxHTML_URL_IMAGE", PyInt_FromLong((long) wxHTML_URL_IMAGE)); | |
8659 | PyDict_SetItemString(d,"wxHTML_URL_OTHER", PyInt_FromLong((long) wxHTML_URL_OTHER)); | |
5a2a9da2 RD |
8660 | PyDict_SetItemString(d,"wxHTML_SEL_OUT", PyInt_FromLong((long) wxHTML_SEL_OUT)); |
8661 | PyDict_SetItemString(d,"wxHTML_SEL_IN", PyInt_FromLong((long) wxHTML_SEL_IN)); | |
8662 | PyDict_SetItemString(d,"wxHTML_SEL_CHANGING", PyInt_FromLong((long) wxHTML_SEL_CHANGING)); | |
8663 | PyDict_SetItemString(d,"wxHTML_FIND_EXACT", PyInt_FromLong((long) wxHTML_FIND_EXACT)); | |
8664 | PyDict_SetItemString(d,"wxHTML_FIND_NEAREST_BEFORE", PyInt_FromLong((long) wxHTML_FIND_NEAREST_BEFORE)); | |
8665 | PyDict_SetItemString(d,"wxHTML_FIND_NEAREST_AFTER", PyInt_FromLong((long) wxHTML_FIND_NEAREST_AFTER)); | |
dc2f8a65 RD |
8666 | PyDict_SetItemString(d,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD)); |
8667 | PyDict_SetItemString(d,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN)); | |
8668 | PyDict_SetItemString(d,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL)); | |
e166644c RD |
8669 | |
8670 | ||
2f90df85 | 8671 | inithtmlhelpc(); |
0f66a9f3 | 8672 | |
9416aa89 RD |
8673 | wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); |
8674 | wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler"); | |
8675 | wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow"); | |
7e50db3f | 8676 | wxPyPtrTypeMap_Add("wxHtmlFilter", "wxPyHtmlFilter"); |
325274bb RD |
8677 | { |
8678 | int i; | |
8679 | for (i = 0; _swig_mapping[i].n1; i++) | |
8680 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8681 | } | |
8682 | } |