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