4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 798)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init inithtmlc
54 #define SWIG_name "htmlc"
57 #include <wx/html/htmlwin.h>
59 #include <wx/fs_zip.h>
60 #include <wx/fs_inet.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
110 extern byte
* byte_LIST_helper(PyObject
* source
);
111 extern int* int_LIST_helper(PyObject
* source
);
112 extern long* long_LIST_helper(PyObject
* source
);
113 extern char** string_LIST_helper(PyObject
* source
);
114 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
115 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
116 extern wxString
* wxString_LIST_helper(PyObject
* source
);
117 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
123 static wxString
wxPyEmptyStr("");
124 static wxPoint
wxPyDefaultPosition(wxDefaultPosition
);
125 static wxSize
wxPyDefaultSize(wxDefaultSize
);
127 static PyThreadState
* wxPyThreadState
;
130 static PyObject
* mod_dict
= NULL
; // will be set by init
132 #include <wx/html/mod_templ.h>
134 TAG_HANDLER_BEGIN(PYTHONTAG
, "PYTHON")
135 TAG_HANDLER_PROC(tag
)
144 #ifdef WXP_WITH_THREAD
145 PyEval_RestoreThread(wxPyThreadState
);
147 if (tag
.HasParam("FLOAT"))
148 tag
.ScanParam("FLOAT", "%i", &fl
);
149 PyObject
* pyfunc
= PyDict_GetItemString(mod_dict
, "WidgetStarter");
150 if (pyfunc
== NULL
) {
151 errmsg
= "Could not find object WidgetStarter";
154 if (! PyCallable_Check(pyfunc
)) {
155 errmsg
= "WidgetStarter does not appear to be callable";
158 SWIG_MakePtr(pbuf
, m_WParser
->GetWindow(), "_wxHtmlWindow_p");
159 PyObject
* arglist
= Py_BuildValue("(s,s)", pbuf
,
160 (const char*)tag
.GetAllParams());
162 errmsg
= "Failed making argument list";
165 PyObject
* ret
= PyEval_CallObject(pyfunc
, arglist
);
168 errmsg
= "An error occured while calling WidgetStarter";
169 if (PyErr_Occurred())
174 if (PyString_Check(ret
)) {
175 char* thisc
= PyString_AsString(ret
);
176 SWIG_GetPtr(thisc
, (void**)&wnd
, "_wxWindow_p");
180 errmsg
= "Could not make a wxWindow pointer from return ptr";
183 #ifdef WXP_WITH_THREAD
187 m_WParser
->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd
, fl
));
191 /* we got out of the loop. Must be an error. Show a box stating it. */
193 #ifdef WXP_WITH_THREAD
197 wnd
= new wxTextCtrl( m_WParser
-> GetWindow(), -1,
198 errmsg
, wxPoint(0,0),
199 wxSize(300, 100), wxTE_MULTILINE
);
201 m_WParser
->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd
, 100));
205 TAG_HANDLER_END(PYTHONTAG
)
207 TAGS_MODULE_BEGIN(PythonTag
)
209 TAGS_MODULE_ADD(PYTHONTAG
)
211 TAGS_MODULE_END(PythonTag
)
213 // Note: see also the init function where we add the module!
218 #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
219 static PyObject
*_wrap_new_HtmlHistoryItem(PyObject
*self
, PyObject
*args
) {
220 PyObject
* _resultobj
;
221 HtmlHistoryItem
* _result
;
227 if(!PyArg_ParseTuple(args
,"ss:new_HtmlHistoryItem",&_arg0
,&_arg1
))
230 wxPy_BEGIN_ALLOW_THREADS
;
231 _result
= (HtmlHistoryItem
*)new_HtmlHistoryItem(_arg0
,_arg1
);
233 wxPy_END_ALLOW_THREADS
;
235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_HtmlHistoryItem_p");
236 _resultobj
= Py_BuildValue("s",_ptemp
);
239 _resultobj
= Py_None
;
244 #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
245 static PyObject
*_wrap_HtmlHistoryItem_GetPos(PyObject
*self
, PyObject
*args
) {
246 PyObject
* _resultobj
;
248 HtmlHistoryItem
* _arg0
;
249 PyObject
* _argo0
= 0;
252 if(!PyArg_ParseTuple(args
,"O:HtmlHistoryItem_GetPos",&_argo0
))
255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p.");
262 wxPy_BEGIN_ALLOW_THREADS
;
263 _result
= (int )HtmlHistoryItem_GetPos(_arg0
);
265 wxPy_END_ALLOW_THREADS
;
266 } _resultobj
= Py_BuildValue("i",_result
);
270 #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
271 static PyObject
*_wrap_HtmlHistoryItem_SetPos(PyObject
*self
, PyObject
*args
) {
272 PyObject
* _resultobj
;
273 HtmlHistoryItem
* _arg0
;
275 PyObject
* _argo0
= 0;
278 if(!PyArg_ParseTuple(args
,"Oi:HtmlHistoryItem_SetPos",&_argo0
,&_arg1
))
281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p.");
288 wxPy_BEGIN_ALLOW_THREADS
;
289 HtmlHistoryItem_SetPos(_arg0
,_arg1
);
291 wxPy_END_ALLOW_THREADS
;
292 } Py_INCREF(Py_None
);
293 _resultobj
= Py_None
;
297 #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
298 static PyObject
*_wrap_HtmlHistoryItem_GetPage(PyObject
*self
, PyObject
*args
) {
299 PyObject
* _resultobj
;
301 HtmlHistoryItem
* _arg0
;
302 PyObject
* _argo0
= 0;
305 if(!PyArg_ParseTuple(args
,"O:HtmlHistoryItem_GetPage",&_argo0
))
308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p.");
315 wxPy_BEGIN_ALLOW_THREADS
;
316 const wxString
& _result_ref
= HtmlHistoryItem_GetPage(_arg0
);
317 _result
= (wxString
*) &_result_ref
;
319 wxPy_END_ALLOW_THREADS
;
321 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
326 #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
327 static PyObject
*_wrap_HtmlHistoryItem_GetAnchor(PyObject
*self
, PyObject
*args
) {
328 PyObject
* _resultobj
;
330 HtmlHistoryItem
* _arg0
;
331 PyObject
* _argo0
= 0;
334 if(!PyArg_ParseTuple(args
,"O:HtmlHistoryItem_GetAnchor",&_argo0
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p.");
344 wxPy_BEGIN_ALLOW_THREADS
;
345 const wxString
& _result_ref
= HtmlHistoryItem_GetAnchor(_arg0
);
346 _result
= (wxString
*) &_result_ref
;
348 wxPy_END_ALLOW_THREADS
;
350 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
355 static void *SwigwxHtmlWindowTowxScrolledWindow(void *ptr
) {
357 wxScrolledWindow
*dest
;
358 src
= (wxHtmlWindow
*) ptr
;
359 dest
= (wxScrolledWindow
*) src
;
360 return (void *) dest
;
363 static void *SwigwxHtmlWindowTowxPanel(void *ptr
) {
366 src
= (wxHtmlWindow
*) ptr
;
367 dest
= (wxPanel
*) src
;
368 return (void *) dest
;
371 static void *SwigwxHtmlWindowTowxWindow(void *ptr
) {
374 src
= (wxHtmlWindow
*) ptr
;
375 dest
= (wxWindow
*) src
;
376 return (void *) dest
;
379 static void *SwigwxHtmlWindowTowxEvtHandler(void *ptr
) {
382 src
= (wxHtmlWindow
*) ptr
;
383 dest
= (wxEvtHandler
*) src
;
384 return (void *) dest
;
387 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
388 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
) {
389 PyObject
* _resultobj
;
390 wxHtmlWindow
* _result
;
392 wxWindowID _arg1
= (wxWindowID
) -1;
393 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
394 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
395 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
396 char * _arg5
= (char *) "htmlWindow";
397 PyObject
* _argo0
= 0;
398 PyObject
* _argo2
= 0;
399 PyObject
* _argo3
= 0;
403 if(!PyArg_ParseTuple(args
,"O|iOOis:new_wxHtmlWindow",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
413 if (_argo2
== Py_None
) { _arg2
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxHtmlWindow. Expected _wxPoint_p.");
420 if (_argo3
== Py_None
) { _arg3
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxHtmlWindow. Expected _wxSize_p.");
427 wxPy_BEGIN_ALLOW_THREADS
;
428 _result
= (wxHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
430 wxPy_END_ALLOW_THREADS
;
432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWindow_p");
433 _resultobj
= Py_BuildValue("s",_ptemp
);
436 _resultobj
= Py_None
;
441 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
442 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
) {
443 PyObject
* _resultobj
;
445 wxHtmlWindow
* _arg0
;
447 PyObject
* _argo0
= 0;
450 if(!PyArg_ParseTuple(args
,"Os:wxHtmlWindow_SetPage",&_argo0
,&_arg1
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxHtmlWindow_p.");
460 wxPy_BEGIN_ALLOW_THREADS
;
461 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,_arg1
);
463 wxPy_END_ALLOW_THREADS
;
464 } _resultobj
= Py_BuildValue("i",_result
);
468 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
469 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
) {
470 PyObject
* _resultobj
;
472 wxHtmlWindow
* _arg0
;
474 PyObject
* _argo0
= 0;
477 if(!PyArg_ParseTuple(args
,"Os:wxHtmlWindow_LoadPage",&_argo0
,&_arg1
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxHtmlWindow_p.");
487 wxPy_BEGIN_ALLOW_THREADS
;
488 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,_arg1
);
490 wxPy_END_ALLOW_THREADS
;
491 } _resultobj
= Py_BuildValue("i",_result
);
495 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
496 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
) {
497 PyObject
* _resultobj
;
499 wxHtmlWindow
* _arg0
;
500 PyObject
* _argo0
= 0;
503 if(!PyArg_ParseTuple(args
,"O:wxHtmlWindow_GetOpenedPage",&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxHtmlWindow_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
516 wxPy_END_ALLOW_THREADS
;
518 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
526 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
527 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
) {
528 PyObject
* _resultobj
;
529 wxHtmlWindow
* _arg0
;
532 PyObject
* _argo0
= 0;
533 PyObject
* _argo1
= 0;
536 if(!PyArg_ParseTuple(args
,"OOs:wxHtmlWindow_SetRelatedFrame",&_argo0
,&_argo1
,&_arg2
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxHtmlWindow_p.");
546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
563 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
) {
564 PyObject
* _resultobj
;
566 wxHtmlWindow
* _arg0
;
567 PyObject
* _argo0
= 0;
571 if(!PyArg_ParseTuple(args
,"O:wxHtmlWindow_GetRelatedFrame",&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxHtmlWindow_p.");
581 wxPy_BEGIN_ALLOW_THREADS
;
582 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
584 wxPy_END_ALLOW_THREADS
;
586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
587 _resultobj
= Py_BuildValue("s",_ptemp
);
590 _resultobj
= Py_None
;
595 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
596 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
) {
597 PyObject
* _resultobj
;
598 wxHtmlWindow
* _arg0
;
600 PyObject
* _argo0
= 0;
603 if(!PyArg_ParseTuple(args
,"Oi:wxHtmlWindow_SetRelatedStatusBar",&_argo0
,&_arg1
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxHtmlWindow_p.");
613 wxPy_BEGIN_ALLOW_THREADS
;
614 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
616 wxPy_END_ALLOW_THREADS
;
617 } Py_INCREF(Py_None
);
618 _resultobj
= Py_None
;
622 #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
623 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
) {
624 PyObject
* _resultobj
;
625 wxHtmlWindow
* _arg0
;
631 PyObject
* _argo0
= 0;
632 PyObject
* _obj1
= 0;
633 PyObject
* _obj3
= 0;
634 PyObject
* _argo5
= 0;
637 if(!PyArg_ParseTuple(args
,"OOiOiO:wxHtmlWindow_SetFonts",&_argo0
,&_obj1
,&_arg2
,&_obj3
,&_arg4
,&_argo5
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxHtmlWindow_p.");
647 if (!PyString_Check(_obj1
)) {
648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
651 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
654 if (!PyString_Check(_obj3
)) {
655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
658 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
661 if (_argo5
== Py_None
) { _arg5
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_int_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxHtmlWindow_SetFonts. Expected _int_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 wxHtmlWindow_SetFonts(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
671 wxPy_END_ALLOW_THREADS
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
685 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
686 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
) {
687 PyObject
* _resultobj
;
688 wxHtmlWindow
* _arg0
;
690 PyObject
* _argo0
= 0;
693 if(!PyArg_ParseTuple(args
,"Os:wxHtmlWindow_SetTitle",&_argo0
,&_arg1
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxHtmlWindow_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 wxHtmlWindow_SetTitle(_arg0
,_arg1
);
706 wxPy_END_ALLOW_THREADS
;
707 } Py_INCREF(Py_None
);
708 _resultobj
= Py_None
;
712 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
713 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
) {
714 PyObject
* _resultobj
;
715 wxHtmlWindow
* _arg0
;
717 PyObject
* _argo0
= 0;
720 if(!PyArg_ParseTuple(args
,"Oi:wxHtmlWindow_SetBorders",&_argo0
,&_arg1
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxHtmlWindow_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
733 wxPy_END_ALLOW_THREADS
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
739 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
740 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
) {
741 PyObject
* _resultobj
;
743 wxHtmlWindow
* _arg0
;
744 PyObject
* _argo0
= 0;
747 if(!PyArg_ParseTuple(args
,"O:wxHtmlWindow_HistoryBack",&_argo0
))
750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxHtmlWindow_p.");
757 wxPy_BEGIN_ALLOW_THREADS
;
758 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
760 wxPy_END_ALLOW_THREADS
;
761 } _resultobj
= Py_BuildValue("i",_result
);
765 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
766 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
) {
767 PyObject
* _resultobj
;
769 wxHtmlWindow
* _arg0
;
770 PyObject
* _argo0
= 0;
773 if(!PyArg_ParseTuple(args
,"O:wxHtmlWindow_HistoryForward",&_argo0
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxHtmlWindow_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
786 wxPy_END_ALLOW_THREADS
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
792 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
) {
793 PyObject
* _resultobj
;
794 wxHtmlWindow
* _arg0
;
795 PyObject
* _argo0
= 0;
798 if(!PyArg_ParseTuple(args
,"O:wxHtmlWindow_HistoryClear",&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWindow_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxHtmlWindow_p.");
808 wxPy_BEGIN_ALLOW_THREADS
;
809 wxHtmlWindow_HistoryClear(_arg0
);
811 wxPy_END_ALLOW_THREADS
;
812 } Py_INCREF(Py_None
);
813 _resultobj
= Py_None
;
817 static PyMethodDef htmlcMethods
[] = {
818 { "wxHtmlWindow_HistoryClear", _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
},
819 { "wxHtmlWindow_HistoryForward", _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
},
820 { "wxHtmlWindow_HistoryBack", _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
},
821 { "wxHtmlWindow_SetBorders", _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
},
822 { "wxHtmlWindow_SetTitle", _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
},
823 { "wxHtmlWindow_SetFonts", _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
},
824 { "wxHtmlWindow_SetRelatedStatusBar", _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
},
825 { "wxHtmlWindow_GetRelatedFrame", _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
},
826 { "wxHtmlWindow_SetRelatedFrame", _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
},
827 { "wxHtmlWindow_GetOpenedPage", _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
},
828 { "wxHtmlWindow_LoadPage", _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
},
829 { "wxHtmlWindow_SetPage", _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
},
830 { "new_wxHtmlWindow", _wrap_new_wxHtmlWindow
, METH_VARARGS
},
831 { "HtmlHistoryItem_GetAnchor", _wrap_HtmlHistoryItem_GetAnchor
, METH_VARARGS
},
832 { "HtmlHistoryItem_GetPage", _wrap_HtmlHistoryItem_GetPage
, METH_VARARGS
},
833 { "HtmlHistoryItem_SetPos", _wrap_HtmlHistoryItem_SetPos
, METH_VARARGS
},
834 { "HtmlHistoryItem_GetPos", _wrap_HtmlHistoryItem_GetPos
, METH_VARARGS
},
835 { "new_HtmlHistoryItem", _wrap_new_HtmlHistoryItem
, METH_VARARGS
},
842 * This table is used by the pointer type-checker
844 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
845 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
846 { "_wxEvent","_class_wxEvent",0},
847 { "_class_wxActivateEvent","_wxActivateEvent",0},
848 { "_signed_long","_long",0},
849 { "_wxMenuEvent","_class_wxMenuEvent",0},
850 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
851 { "_wxBMPHandler","_class_wxBMPHandler",0},
852 { "_wxImage","_class_wxImage",0},
853 { "_wxPrintQuality","_int",0},
854 { "_wxPrintQuality","_signed_int",0},
855 { "_wxPrintQuality","_unsigned_int",0},
856 { "_wxPrintQuality","_wxWindowID",0},
857 { "_wxPrintQuality","_uint",0},
858 { "_wxPrintQuality","_EBool",0},
859 { "_wxPrintQuality","_size_t",0},
860 { "_wxFontData","_class_wxFontData",0},
861 { "___wxPyCleanup","_class___wxPyCleanup",0},
862 { "_class_HtmlHistoryItem","_HtmlHistoryItem",0},
863 { "_class_wxRegionIterator","_wxRegionIterator",0},
864 { "_class_wxMenuBar","_wxMenuBar",0},
865 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
866 { "_class_wxEvtHandler","_class_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler
},
867 { "_class_wxEvtHandler","_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler
},
868 { "_class_wxEvtHandler","_wxEvtHandler",0},
869 { "_wxPaintEvent","_class_wxPaintEvent",0},
870 { "_wxGIFHandler","_class_wxGIFHandler",0},
871 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
872 { "_wxCursor","_class_wxCursor",0},
873 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
874 { "_wxImageHandler","_class_wxImageHandler",0},
875 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
876 { "_wxMask","_class_wxMask",0},
877 { "_wxToolTip","_class_wxToolTip",0},
878 { "_wxGrid","_class_wxGrid",0},
879 { "_wxPNGHandler","_class_wxPNGHandler",0},
880 { "_class_wxColourData","_wxColourData",0},
881 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
882 { "_wxPrinter","_class_wxPrinter",0},
883 { "_wxPen","_class_wxPen",0},
884 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
885 { "_byte","_unsigned_char",0},
886 { "_wxStaticBox","_class_wxStaticBox",0},
887 { "_wxChoice","_class_wxChoice",0},
888 { "_wxSlider","_class_wxSlider",0},
889 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
890 { "_wxPyPrintout","_class_wxPyPrintout",0},
891 { "_long","_wxDash",0},
892 { "_long","_unsigned_long",0},
893 { "_long","_signed_long",0},
894 { "_wxImageList","_class_wxImageList",0},
895 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
896 { "_wxBitmapButton","_class_wxBitmapButton",0},
897 { "_wxSashWindow","_class_wxSashWindow",0},
898 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
899 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
900 { "_class_wxGauge","_wxGauge",0},
901 { "_class_wxSashEvent","_wxSashEvent",0},
902 { "_wxDC","_class_wxDC",0},
903 { "_wxListEvent","_class_wxListEvent",0},
904 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
905 { "_wxProgressDialog","_class_wxProgressDialog",0},
906 { "_class_wxBMPHandler","_wxBMPHandler",0},
907 { "_wxPrintPreview","_class_wxPrintPreview",0},
908 { "_wxSpinEvent","_class_wxSpinEvent",0},
909 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
910 { "_size_t","_wxPrintQuality",0},
911 { "_size_t","_unsigned_int",0},
912 { "_size_t","_int",0},
913 { "_size_t","_wxWindowID",0},
914 { "_size_t","_uint",0},
915 { "_class_wxRealPoint","_wxRealPoint",0},
916 { "_class_wxMenuItem","_wxMenuItem",0},
917 { "_class_wxPaintEvent","_wxPaintEvent",0},
918 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
919 { "_class_wxStatusBar","_wxStatusBar",0},
920 { "_class_wxGIFHandler","_wxGIFHandler",0},
921 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
922 { "_wxPanel","_class_wxHtmlWindow",SwigwxHtmlWindowTowxPanel
},
923 { "_wxPanel","_wxHtmlWindow",SwigwxHtmlWindowTowxPanel
},
924 { "_wxPanel","_class_wxPanel",0},
925 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
926 { "_wxCheckBox","_class_wxCheckBox",0},
927 { "_wxPyEvent","_class_wxPyEvent",0},
928 { "_wxTextCtrl","_class_wxTextCtrl",0},
929 { "_class_wxMask","_wxMask",0},
930 { "_class_wxToolTip","_wxToolTip",0},
931 { "_class_wxKeyEvent","_wxKeyEvent",0},
932 { "_class_wxGrid","_wxGrid",0},
933 { "_class_wxPNGHandler","_wxPNGHandler",0},
934 { "_wxColour","_class_wxColour",0},
935 { "_class_wxDialog","_wxDialog",0},
936 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
937 { "_class_wxPrinter","_wxPrinter",0},
938 { "_wxIdleEvent","_class_wxIdleEvent",0},
939 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
940 { "_wxToolBar","_class_wxToolBar",0},
941 { "_wxStaticLine","_class_wxStaticLine",0},
942 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
943 { "_wxBrush","_class_wxBrush",0},
944 { "_wxMiniFrame","_class_wxMiniFrame",0},
945 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
946 { "_class_wxPyPrintout","_wxPyPrintout",0},
947 { "_class_wxSashWindow","_wxSashWindow",0},
948 { "_wxShowEvent","_class_wxShowEvent",0},
949 { "_uint","_wxPrintQuality",0},
950 { "_uint","_size_t",0},
951 { "_uint","_unsigned_int",0},
953 { "_uint","_wxWindowID",0},
954 { "_class_wxEvent","_wxEvent",0},
955 { "_wxCheckListBox","_class_wxCheckListBox",0},
956 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
957 { "_wxGridEvent","_class_wxGridEvent",0},
958 { "_wxRect","_class_wxRect",0},
959 { "_wxCommandEvent","_class_wxCommandEvent",0},
960 { "_wxSizeEvent","_class_wxSizeEvent",0},
961 { "_class_wxImage","_wxImage",0},
962 { "_wxPoint","_class_wxPoint",0},
963 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
964 { "_class_wxButton","_wxButton",0},
965 { "_wxRadioBox","_class_wxRadioBox",0},
966 { "_class_wxFontData","_wxFontData",0},
967 { "_class___wxPyCleanup","___wxPyCleanup",0},
968 { "_wxBitmap","_class_wxBitmap",0},
969 { "_wxPrintDialog","_class_wxPrintDialog",0},
970 { "_wxPyTimer","_class_wxPyTimer",0},
971 { "_wxWindowDC","_class_wxWindowDC",0},
972 { "_wxScrollBar","_class_wxScrollBar",0},
973 { "_wxSpinButton","_class_wxSpinButton",0},
974 { "_wxToolBarTool","_class_wxToolBarTool",0},
975 { "_wxColourDialog","_class_wxColourDialog",0},
976 { "_wxPrintData","_class_wxPrintData",0},
977 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
978 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
979 { "_wxMessageDialog","_class_wxMessageDialog",0},
980 { "_class_wxPyEvent","_wxPyEvent",0},
981 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
982 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
983 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
984 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
985 { "_wxListItem","_class_wxListItem",0},
986 { "_class_wxToolBar","_wxToolBar",0},
987 { "_class_wxStaticLine","_wxStaticLine",0},
988 { "_wxScrollEvent","_class_wxScrollEvent",0},
989 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
990 { "_EBool","_wxPrintQuality",0},
991 { "_EBool","_signed_int",0},
992 { "_EBool","_int",0},
993 { "_EBool","_wxWindowID",0},
994 { "_class_wxRegion","_wxRegion",0},
995 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
996 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
997 { "_wxStaticText","_class_wxStaticText",0},
998 { "_wxFont","_class_wxFont",0},
999 { "_wxCloseEvent","_class_wxCloseEvent",0},
1000 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
1001 { "_wxNotebook","_class_wxNotebook",0},
1002 { "_unsigned_long","_wxDash",0},
1003 { "_unsigned_long","_long",0},
1004 { "_class_wxRect","_wxRect",0},
1005 { "_class_wxDC","_wxDC",0},
1006 { "_class_wxProgressDialog","_wxProgressDialog",0},
1007 { "_wxPyApp","_class_wxPyApp",0},
1008 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
1009 { "_class_wxTreeEvent","_wxTreeEvent",0},
1010 { "_class_wxDirDialog","_wxDirDialog",0},
1011 { "_class_wxPyTimer","_wxPyTimer",0},
1012 { "_wxFocusEvent","_class_wxFocusEvent",0},
1013 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1014 { "_class_wxSpinButton","_wxSpinButton",0},
1015 { "_wxHtmlWindow","_class_wxHtmlWindow",0},
1016 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1017 { "_class_wxPanel","_class_wxHtmlWindow",SwigwxHtmlWindowTowxPanel
},
1018 { "_class_wxPanel","_wxHtmlWindow",SwigwxHtmlWindowTowxPanel
},
1019 { "_class_wxPanel","_wxPanel",0},
1020 { "_class_wxCheckBox","_wxCheckBox",0},
1021 { "_wxComboBox","_class_wxComboBox",0},
1022 { "_wxRadioButton","_class_wxRadioButton",0},
1023 { "_class_wxMessageDialog","_wxMessageDialog",0},
1024 { "_signed_int","_wxPrintQuality",0},
1025 { "_signed_int","_EBool",0},
1026 { "_signed_int","_wxWindowID",0},
1027 { "_signed_int","_int",0},
1028 { "_class_wxTextCtrl","_wxTextCtrl",0},
1029 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1030 { "_wxMenu","_class_wxMenu",0},
1031 { "_class_wxMoveEvent","_wxMoveEvent",0},
1032 { "_wxListBox","_class_wxListBox",0},
1033 { "_wxScreenDC","_class_wxScreenDC",0},
1034 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
1035 { "_WXTYPE","_short",0},
1036 { "_WXTYPE","_signed_short",0},
1037 { "_WXTYPE","_unsigned_short",0},
1038 { "_wxFileDialog","_class_wxFileDialog",0},
1039 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
1040 { "_class_wxBrush","_wxBrush",0},
1041 { "_unsigned_short","_WXTYPE",0},
1042 { "_unsigned_short","_short",0},
1043 { "_class_wxWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxWindow
},
1044 { "_class_wxWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxWindow
},
1045 { "_class_wxWindow","_wxWindow",0},
1046 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
1047 { "_class_wxStaticText","_wxStaticText",0},
1048 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
1049 { "_class_wxFont","_wxFont",0},
1050 { "_class_wxCloseEvent","_wxCloseEvent",0},
1051 { "_wxSashEvent","_class_wxSashEvent",0},
1052 { "_class_wxMenuEvent","_wxMenuEvent",0},
1053 { "_wxClientDC","_class_wxClientDC",0},
1054 { "_wxMouseEvent","_class_wxMouseEvent",0},
1055 { "_wxListCtrl","_class_wxListCtrl",0},
1056 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
1057 { "_class_wxPoint","_wxPoint",0},
1058 { "_wxRealPoint","_class_wxRealPoint",0},
1059 { "_class_wxRadioBox","_wxRadioBox",0},
1060 { "_wxGridCell","_class_wxGridCell",0},
1061 { "_signed_short","_WXTYPE",0},
1062 { "_signed_short","_short",0},
1063 { "_wxMemoryDC","_class_wxMemoryDC",0},
1064 { "_class_wxPrintDialog","_wxPrintDialog",0},
1065 { "_wxPaintDC","_class_wxPaintDC",0},
1066 { "_class_wxWindowDC","_wxWindowDC",0},
1067 { "_class_wxFocusEvent","_wxFocusEvent",0},
1068 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1069 { "_wxStatusBar","_class_wxStatusBar",0},
1070 { "_class_wxToolBarTool","_wxToolBarTool",0},
1071 { "_class_wxHtmlWindow","_wxHtmlWindow",0},
1072 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1073 { "_class_wxCursor","_wxCursor",0},
1074 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1075 { "_class_wxImageHandler","_wxImageHandler",0},
1076 { "_wxScrolledWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow
},
1077 { "_wxScrolledWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow
},
1078 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1079 { "_wxTreeItemId","_class_wxTreeItemId",0},
1080 { "_unsigned_char","_byte",0},
1081 { "_class_wxMenu","_wxMenu",0},
1082 { "_wxControl","_class_wxControl",0},
1083 { "_class_wxListBox","_wxListBox",0},
1084 { "_unsigned_int","_wxPrintQuality",0},
1085 { "_unsigned_int","_size_t",0},
1086 { "_unsigned_int","_uint",0},
1087 { "_unsigned_int","_wxWindowID",0},
1088 { "_unsigned_int","_int",0},
1089 { "_wxIcon","_class_wxIcon",0},
1090 { "_wxDialog","_class_wxDialog",0},
1091 { "_class_wxListItem","_wxListItem",0},
1092 { "_class_wxPen","_wxPen",0},
1093 { "_class_wxFileDialog","_wxFileDialog",0},
1094 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
1095 { "_short","_WXTYPE",0},
1096 { "_short","_unsigned_short",0},
1097 { "_short","_signed_short",0},
1098 { "_class_wxStaticBox","_wxStaticBox",0},
1099 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
1100 { "_class_wxScrollEvent","_wxScrollEvent",0},
1101 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1102 { "_class_wxChoice","_wxChoice",0},
1103 { "_class_wxSlider","_wxSlider",0},
1104 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
1105 { "_class_wxImageList","_wxImageList",0},
1106 { "_class_wxBitmapButton","_wxBitmapButton",0},
1107 { "_wxFrame","_class_wxFrame",0},
1108 { "_class_wxNotebook","_wxNotebook",0},
1109 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
1110 { "_wxWindowID","_wxPrintQuality",0},
1111 { "_wxWindowID","_size_t",0},
1112 { "_wxWindowID","_EBool",0},
1113 { "_wxWindowID","_uint",0},
1114 { "_wxWindowID","_int",0},
1115 { "_wxWindowID","_signed_int",0},
1116 { "_wxWindowID","_unsigned_int",0},
1117 { "_int","_wxPrintQuality",0},
1118 { "_int","_size_t",0},
1119 { "_int","_EBool",0},
1120 { "_int","_uint",0},
1121 { "_int","_wxWindowID",0},
1122 { "_int","_unsigned_int",0},
1123 { "_int","_signed_int",0},
1124 { "_class_wxMouseEvent","_wxMouseEvent",0},
1125 { "_class_wxListEvent","_wxListEvent",0},
1126 { "_class_wxPrintPreview","_wxPrintPreview",0},
1127 { "_class_wxSpinEvent","_wxSpinEvent",0},
1128 { "_wxButton","_class_wxButton",0},
1129 { "_class_wxPyApp","_wxPyApp",0},
1130 { "_wxSize","_class_wxSize",0},
1131 { "_wxRegionIterator","_class_wxRegionIterator",0},
1132 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
1133 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
1134 { "_class_wxPaintDC","_wxPaintDC",0},
1135 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1136 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1137 { "_class_wxComboBox","_wxComboBox",0},
1138 { "_class_wxRadioButton","_wxRadioButton",0},
1139 { "_class_wxTreeItemId","_wxTreeItemId",0},
1140 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
1141 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1142 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1143 { "_class_wxControl","_wxControl",0},
1144 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1145 { "_class_wxIcon","_wxIcon",0},
1146 { "_class_wxColour","_wxColour",0},
1147 { "_class_wxScreenDC","_wxScreenDC",0},
1148 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
1149 { "_wxPalette","_class_wxPalette",0},
1150 { "_class_wxIdleEvent","_wxIdleEvent",0},
1151 { "_wxEraseEvent","_class_wxEraseEvent",0},
1152 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1153 { "_class_wxMiniFrame","_wxMiniFrame",0},
1154 { "_wxFontDialog","_class_wxFontDialog",0},
1155 { "_wxRegion","_class_wxRegion",0},
1156 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
1157 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
1158 { "_class_wxShowEvent","_wxShowEvent",0},
1159 { "_wxActivateEvent","_class_wxActivateEvent",0},
1160 { "_wxGauge","_class_wxGauge",0},
1161 { "_class_wxCheckListBox","_wxCheckListBox",0},
1162 { "_class_wxGridEvent","_wxGridEvent",0},
1163 { "_class_wxCommandEvent","_wxCommandEvent",0},
1164 { "_class_wxClientDC","_wxClientDC",0},
1165 { "_class_wxSizeEvent","_wxSizeEvent",0},
1166 { "_class_wxListCtrl","_wxListCtrl",0},
1167 { "_class_wxGridCell","_wxGridCell",0},
1168 { "_HtmlHistoryItem","_class_HtmlHistoryItem",0},
1169 { "_class_wxSize","_wxSize",0},
1170 { "_class_wxBitmap","_wxBitmap",0},
1171 { "_class_wxMemoryDC","_wxMemoryDC",0},
1172 { "_wxMenuBar","_class_wxMenuBar",0},
1173 { "_wxTreeEvent","_class_wxTreeEvent",0},
1174 { "_wxDirDialog","_class_wxDirDialog",0},
1175 { "_wxEvtHandler","_class_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler
},
1176 { "_wxEvtHandler","_wxHtmlWindow",SwigwxHtmlWindowTowxEvtHandler
},
1177 { "_wxEvtHandler","_class_wxEvtHandler",0},
1178 { "_wxMenuItem","_class_wxMenuItem",0},
1179 { "_class_wxScrollBar","_wxScrollBar",0},
1180 { "_class_wxColourDialog","_wxColourDialog",0},
1181 { "_class_wxPrintData","_wxPrintData",0},
1182 { "_wxDash","_unsigned_long",0},
1183 { "_wxDash","_long",0},
1184 { "_class_wxScrolledWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow
},
1185 { "_class_wxScrolledWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxScrolledWindow
},
1186 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1187 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
1188 { "_wxKeyEvent","_class_wxKeyEvent",0},
1189 { "_wxMoveEvent","_class_wxMoveEvent",0},
1190 { "_wxColourData","_class_wxColourData",0},
1191 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
1192 { "_class_wxPalette","_wxPalette",0},
1193 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
1194 { "_class_wxEraseEvent","_wxEraseEvent",0},
1195 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
1196 { "_class_wxFontDialog","_wxFontDialog",0},
1197 { "_wxWindow","_class_wxHtmlWindow",SwigwxHtmlWindowTowxWindow
},
1198 { "_wxWindow","_wxHtmlWindow",SwigwxHtmlWindowTowxWindow
},
1199 { "_wxWindow","_class_wxWindow",0},
1200 { "_class_wxFrame","_wxFrame",0},
1203 static PyObject
*SWIG_globals
;
1207 SWIGEXPORT(void) inithtmlc() {
1209 SWIG_globals
= SWIG_newvarlink();
1210 m
= Py_InitModule("htmlc", htmlcMethods
);
1211 d
= PyModule_GetDict(m
);
1214 /* This is a bit cheesy. SWIG happens to call the dictionary d...
1215 * I save it here, 'cause I don't know how to get it back later! */
1217 wxPyThreadState
= PyThreadState_Get();
1218 wxClassInfo::CleanUpClasses();
1219 wxClassInfo::InitializeClasses();
1221 /* specifically add our python tag handler; it doesn't seem to
1222 * happen by itself... */
1223 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
1225 // Until wxFileSystem is wrapped...
1227 wxFileSystem::AddHandler(new wxZipFSHandler
);
1231 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1232 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);