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