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