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