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