2 * FILE : contrib/iewin/iewin.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initiewinc
56 #define SWIG_name "iewinc"
59 #include "IEHtmlWin.h"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr
);
93 static void *SwigwxMSHTMLEventTowxNotifyEvent(void *ptr
) {
96 src
= (wxMSHTMLEvent
*) ptr
;
97 dest
= (wxNotifyEvent
*) src
;
101 static void *SwigwxMSHTMLEventTowxCommandEvent(void *ptr
) {
103 wxCommandEvent
*dest
;
104 src
= (wxMSHTMLEvent
*) ptr
;
105 dest
= (wxCommandEvent
*) src
;
106 return (void *) dest
;
109 static void *SwigwxMSHTMLEventTowxEvent(void *ptr
) {
112 src
= (wxMSHTMLEvent
*) ptr
;
113 dest
= (wxEvent
*) src
;
114 return (void *) dest
;
117 static void *SwigwxMSHTMLEventTowxObject(void *ptr
) {
120 src
= (wxMSHTMLEvent
*) ptr
;
121 dest
= (wxObject
*) src
;
122 return (void *) dest
;
125 #define new_wxMSHTMLEvent(_swigarg0,_swigarg1) (new wxMSHTMLEvent(_swigarg0,_swigarg1))
126 static PyObject
*_wrap_new_wxMSHTMLEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
127 PyObject
* _resultobj
;
128 wxMSHTMLEvent
* _result
;
129 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
130 int _arg1
= (int ) 0;
131 char *_kwnames
[] = { "commandType","id", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxMSHTMLEvent",_kwnames
,&_arg0
,&_arg1
))
138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
139 _result
= (wxMSHTMLEvent
*)new_wxMSHTMLEvent(_arg0
,_arg1
);
141 wxPyEndAllowThreads(__tstate
);
142 if (PyErr_Occurred()) return NULL
;
144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMSHTMLEvent_p");
145 _resultobj
= Py_BuildValue("s",_ptemp
);
148 _resultobj
= Py_None
;
153 #define wxMSHTMLEvent_GetText1(_swigobj) (_swigobj->GetText1())
154 static PyObject
*_wrap_wxMSHTMLEvent_GetText1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
157 wxMSHTMLEvent
* _arg0
;
158 PyObject
* _argo0
= 0;
159 char *_kwnames
[] = { "self", NULL
};
162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMSHTMLEvent_GetText1",_kwnames
,&_argo0
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMSHTMLEvent_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMSHTMLEvent_GetText1. Expected _wxMSHTMLEvent_p.");
172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 _result
= new wxString (wxMSHTMLEvent_GetText1(_arg0
));
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
179 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
181 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
190 #define wxMSHTMLEvent_GetLong1(_swigobj) (_swigobj->GetLong1())
191 static PyObject
*_wrap_wxMSHTMLEvent_GetLong1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
194 wxMSHTMLEvent
* _arg0
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self", NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMSHTMLEvent_GetLong1",_kwnames
,&_argo0
))
202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMSHTMLEvent_p")) {
204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMSHTMLEvent_GetLong1. Expected _wxMSHTMLEvent_p.");
209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
210 _result
= (long )wxMSHTMLEvent_GetLong1(_arg0
);
212 wxPyEndAllowThreads(__tstate
);
213 if (PyErr_Occurred()) return NULL
;
214 } _resultobj
= Py_BuildValue("l",_result
);
218 #define wxMSHTMLEvent_GetLong2(_swigobj) (_swigobj->GetLong2())
219 static PyObject
*_wrap_wxMSHTMLEvent_GetLong2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
222 wxMSHTMLEvent
* _arg0
;
223 PyObject
* _argo0
= 0;
224 char *_kwnames
[] = { "self", NULL
};
227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMSHTMLEvent_GetLong2",_kwnames
,&_argo0
))
230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMSHTMLEvent_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMSHTMLEvent_GetLong2. Expected _wxMSHTMLEvent_p.");
237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
238 _result
= (long )wxMSHTMLEvent_GetLong2(_arg0
);
240 wxPyEndAllowThreads(__tstate
);
241 if (PyErr_Occurred()) return NULL
;
242 } _resultobj
= Py_BuildValue("l",_result
);
246 static void *SwigwxIEHtmlWinTowxWindow(void *ptr
) {
249 src
= (wxIEHtmlWin
*) ptr
;
250 dest
= (wxWindow
*) src
;
251 return (void *) dest
;
254 static void *SwigwxIEHtmlWinTowxEvtHandler(void *ptr
) {
257 src
= (wxIEHtmlWin
*) ptr
;
258 dest
= (wxEvtHandler
*) src
;
259 return (void *) dest
;
262 static void *SwigwxIEHtmlWinTowxObject(void *ptr
) {
265 src
= (wxIEHtmlWin
*) ptr
;
266 dest
= (wxObject
*) src
;
267 return (void *) dest
;
270 #define new_wxIEHtmlWin(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxIEHtmlWin(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
271 static PyObject
*_wrap_new_wxIEHtmlWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
273 wxIEHtmlWin
* _result
;
275 wxWindowID _arg1
= (wxWindowID
) -1;
276 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
277 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
278 long _arg4
= (long ) 0;
279 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
280 PyObject
* _argo0
= 0;
282 PyObject
* _obj2
= 0;
284 PyObject
* _obj3
= 0;
285 PyObject
* _obj5
= 0;
286 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxIEHtmlWin",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIEHtmlWin. Expected _wxWindow_p.");
302 if (! wxPoint_helper(_obj2
, &_arg2
))
308 if (! wxSize_helper(_obj3
, &_arg3
))
313 _arg5
= wxString_in_helper(_obj5
);
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 _result
= (wxIEHtmlWin
*)new_wxIEHtmlWin(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIEHtmlWin_p");
325 _resultobj
= Py_BuildValue("s",_ptemp
);
328 _resultobj
= Py_None
;
337 #define wxIEHtmlWin_LoadUrl(_swigobj,_swigarg0) (_swigobj->LoadUrl(_swigarg0))
338 static PyObject
*_wrap_wxIEHtmlWin_LoadUrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
342 PyObject
* _argo0
= 0;
343 PyObject
* _obj1
= 0;
344 char *_kwnames
[] = { "self","arg2", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIEHtmlWin_LoadUrl",_kwnames
,&_argo0
,&_obj1
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_LoadUrl. Expected _wxIEHtmlWin_p.");
357 _arg1
= wxString_in_helper(_obj1
);
362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
363 wxIEHtmlWin_LoadUrl(_arg0
,*_arg1
);
365 wxPyEndAllowThreads(__tstate
);
366 if (PyErr_Occurred()) return NULL
;
367 } Py_INCREF(Py_None
);
368 _resultobj
= Py_None
;
376 #define wxIEHtmlWin_LoadString(_swigobj,_swigarg0) (_swigobj->LoadString(_swigarg0))
377 static PyObject
*_wrap_wxIEHtmlWin_LoadString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
382 PyObject
* _argo0
= 0;
383 PyObject
* _obj1
= 0;
384 char *_kwnames
[] = { "self","html", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIEHtmlWin_LoadString",_kwnames
,&_argo0
,&_obj1
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_LoadString. Expected _wxIEHtmlWin_p.");
397 _arg1
= wxString_in_helper(_obj1
);
402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
403 _result
= (bool )wxIEHtmlWin_LoadString(_arg0
,*_arg1
);
405 wxPyEndAllowThreads(__tstate
);
406 if (PyErr_Occurred()) return NULL
;
407 } _resultobj
= Py_BuildValue("i",_result
);
415 #define wxIEHtmlWin_SetCharset(_swigobj,_swigarg0) (_swigobj->SetCharset(_swigarg0))
416 static PyObject
*_wrap_wxIEHtmlWin_SetCharset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
420 PyObject
* _argo0
= 0;
421 PyObject
* _obj1
= 0;
422 char *_kwnames
[] = { "self","charset", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIEHtmlWin_SetCharset",_kwnames
,&_argo0
,&_obj1
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_SetCharset. Expected _wxIEHtmlWin_p.");
435 _arg1
= wxString_in_helper(_obj1
);
440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
441 wxIEHtmlWin_SetCharset(_arg0
,*_arg1
);
443 wxPyEndAllowThreads(__tstate
);
444 if (PyErr_Occurred()) return NULL
;
445 } Py_INCREF(Py_None
);
446 _resultobj
= Py_None
;
454 #define wxIEHtmlWin_SetEditMode(_swigobj,_swigarg0) (_swigobj->SetEditMode(_swigarg0))
455 static PyObject
*_wrap_wxIEHtmlWin_SetEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
459 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self","seton", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIEHtmlWin_SetEditMode",_kwnames
,&_argo0
,&tempbool1
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_SetEditMode. Expected _wxIEHtmlWin_p.");
473 _arg1
= (bool ) tempbool1
;
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 wxIEHtmlWin_SetEditMode(_arg0
,_arg1
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 #define wxIEHtmlWin_GetEditMode(_swigobj) (_swigobj->GetEditMode())
486 static PyObject
*_wrap_wxIEHtmlWin_GetEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
490 PyObject
* _argo0
= 0;
491 char *_kwnames
[] = { "self", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIEHtmlWin_GetEditMode",_kwnames
,&_argo0
))
497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GetEditMode. Expected _wxIEHtmlWin_p.");
504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
505 _result
= (bool )wxIEHtmlWin_GetEditMode(_arg0
);
507 wxPyEndAllowThreads(__tstate
);
508 if (PyErr_Occurred()) return NULL
;
509 } _resultobj
= Py_BuildValue("i",_result
);
513 #define wxIEHtmlWin_GetStringSelection(_swigobj,_swigarg0) (_swigobj->GetStringSelection(_swigarg0))
514 static PyObject
*_wrap_wxIEHtmlWin_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
518 bool _arg1
= (bool ) FALSE
;
519 PyObject
* _argo0
= 0;
520 int tempbool1
= (int) FALSE
;
521 char *_kwnames
[] = { "self","asHTML", NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIEHtmlWin_GetStringSelection",_kwnames
,&_argo0
,&tempbool1
))
527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GetStringSelection. Expected _wxIEHtmlWin_p.");
533 _arg1
= (bool ) tempbool1
;
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 _result
= new wxString (wxIEHtmlWin_GetStringSelection(_arg0
,_arg1
));
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) return NULL
;
542 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
553 #define wxIEHtmlWin_GetText(_swigobj,_swigarg0) (_swigobj->GetText(_swigarg0))
554 static PyObject
*_wrap_wxIEHtmlWin_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
558 bool _arg1
= (bool ) FALSE
;
559 PyObject
* _argo0
= 0;
560 int tempbool1
= (int) FALSE
;
561 char *_kwnames
[] = { "self","asHTML", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxIEHtmlWin_GetText",_kwnames
,&_argo0
,&tempbool1
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GetText. Expected _wxIEHtmlWin_p.");
573 _arg1
= (bool ) tempbool1
;
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 _result
= new wxString (wxIEHtmlWin_GetText(_arg0
,_arg1
));
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
582 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
584 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
593 #define wxIEHtmlWin_GoBack(_swigobj) (_swigobj->GoBack())
594 static PyObject
*_wrap_wxIEHtmlWin_GoBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
598 PyObject
* _argo0
= 0;
599 char *_kwnames
[] = { "self", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIEHtmlWin_GoBack",_kwnames
,&_argo0
))
605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GoBack. Expected _wxIEHtmlWin_p.");
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 _result
= (bool )wxIEHtmlWin_GoBack(_arg0
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
617 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxIEHtmlWin_GoForward(_swigobj) (_swigobj->GoForward())
622 static PyObject
*_wrap_wxIEHtmlWin_GoForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIEHtmlWin_GoForward",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GoForward. Expected _wxIEHtmlWin_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 _result
= (bool )wxIEHtmlWin_GoForward(_arg0
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
645 } _resultobj
= Py_BuildValue("i",_result
);
649 #define wxIEHtmlWin_GoHome(_swigobj) (_swigobj->GoHome())
650 static PyObject
*_wrap_wxIEHtmlWin_GoHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIEHtmlWin_GoHome",_kwnames
,&_argo0
))
661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GoHome. Expected _wxIEHtmlWin_p.");
668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
669 _result
= (bool )wxIEHtmlWin_GoHome(_arg0
);
671 wxPyEndAllowThreads(__tstate
);
672 if (PyErr_Occurred()) return NULL
;
673 } _resultobj
= Py_BuildValue("i",_result
);
677 #define wxIEHtmlWin_GoSearch(_swigobj) (_swigobj->GoSearch())
678 static PyObject
*_wrap_wxIEHtmlWin_GoSearch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIEHtmlWin_GoSearch",_kwnames
,&_argo0
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_GoSearch. Expected _wxIEHtmlWin_p.");
696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
697 _result
= (bool )wxIEHtmlWin_GoSearch(_arg0
);
699 wxPyEndAllowThreads(__tstate
);
700 if (PyErr_Occurred()) return NULL
;
701 } _resultobj
= Py_BuildValue("i",_result
);
705 #define wxIEHtmlWin_Refresh(_swigobj,_swigarg0) (_swigobj->Refresh(_swigarg0))
706 static PyObject
*_wrap_wxIEHtmlWin_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 wxIEHtmlRefreshLevel _arg1
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self","level", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIEHtmlWin_Refresh",_kwnames
,&_argo0
,&_arg1
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_Refresh. Expected _wxIEHtmlWin_p.");
725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
726 _result
= (bool )wxIEHtmlWin_Refresh(_arg0
,_arg1
);
728 wxPyEndAllowThreads(__tstate
);
729 if (PyErr_Occurred()) return NULL
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 #define wxIEHtmlWin_Stop(_swigobj) (_swigobj->Stop())
735 static PyObject
*_wrap_wxIEHtmlWin_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIEHtmlWin_Stop",_kwnames
,&_argo0
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIEHtmlWin_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIEHtmlWin_Stop. Expected _wxIEHtmlWin_p.");
753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
754 _result
= (bool )wxIEHtmlWin_Stop(_arg0
);
756 wxPyEndAllowThreads(__tstate
);
757 if (PyErr_Occurred()) return NULL
;
758 } _resultobj
= Py_BuildValue("i",_result
);
762 static PyMethodDef iewincMethods
[] = {
763 { "wxIEHtmlWin_Stop", (PyCFunction
) _wrap_wxIEHtmlWin_Stop
, METH_VARARGS
| METH_KEYWORDS
},
764 { "wxIEHtmlWin_Refresh", (PyCFunction
) _wrap_wxIEHtmlWin_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
765 { "wxIEHtmlWin_GoSearch", (PyCFunction
) _wrap_wxIEHtmlWin_GoSearch
, METH_VARARGS
| METH_KEYWORDS
},
766 { "wxIEHtmlWin_GoHome", (PyCFunction
) _wrap_wxIEHtmlWin_GoHome
, METH_VARARGS
| METH_KEYWORDS
},
767 { "wxIEHtmlWin_GoForward", (PyCFunction
) _wrap_wxIEHtmlWin_GoForward
, METH_VARARGS
| METH_KEYWORDS
},
768 { "wxIEHtmlWin_GoBack", (PyCFunction
) _wrap_wxIEHtmlWin_GoBack
, METH_VARARGS
| METH_KEYWORDS
},
769 { "wxIEHtmlWin_GetText", (PyCFunction
) _wrap_wxIEHtmlWin_GetText
, METH_VARARGS
| METH_KEYWORDS
},
770 { "wxIEHtmlWin_GetStringSelection", (PyCFunction
) _wrap_wxIEHtmlWin_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
771 { "wxIEHtmlWin_GetEditMode", (PyCFunction
) _wrap_wxIEHtmlWin_GetEditMode
, METH_VARARGS
| METH_KEYWORDS
},
772 { "wxIEHtmlWin_SetEditMode", (PyCFunction
) _wrap_wxIEHtmlWin_SetEditMode
, METH_VARARGS
| METH_KEYWORDS
},
773 { "wxIEHtmlWin_SetCharset", (PyCFunction
) _wrap_wxIEHtmlWin_SetCharset
, METH_VARARGS
| METH_KEYWORDS
},
774 { "wxIEHtmlWin_LoadString", (PyCFunction
) _wrap_wxIEHtmlWin_LoadString
, METH_VARARGS
| METH_KEYWORDS
},
775 { "wxIEHtmlWin_LoadUrl", (PyCFunction
) _wrap_wxIEHtmlWin_LoadUrl
, METH_VARARGS
| METH_KEYWORDS
},
776 { "new_wxIEHtmlWin", (PyCFunction
) _wrap_new_wxIEHtmlWin
, METH_VARARGS
| METH_KEYWORDS
},
777 { "wxMSHTMLEvent_GetLong2", (PyCFunction
) _wrap_wxMSHTMLEvent_GetLong2
, METH_VARARGS
| METH_KEYWORDS
},
778 { "wxMSHTMLEvent_GetLong1", (PyCFunction
) _wrap_wxMSHTMLEvent_GetLong1
, METH_VARARGS
| METH_KEYWORDS
},
779 { "wxMSHTMLEvent_GetText1", (PyCFunction
) _wrap_wxMSHTMLEvent_GetText1
, METH_VARARGS
| METH_KEYWORDS
},
780 { "new_wxMSHTMLEvent", (PyCFunction
) _wrap_new_wxMSHTMLEvent
, METH_VARARGS
| METH_KEYWORDS
},
787 * This table is used by the pointer type-checker
789 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
790 { "_wxEvent","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxEvent
},
791 { "_signed_long","_long",0},
792 { "_wxPrintQuality","_wxCoord",0},
793 { "_wxPrintQuality","_int",0},
794 { "_wxPrintQuality","_signed_int",0},
795 { "_wxPrintQuality","_unsigned_int",0},
796 { "_wxPrintQuality","_wxWindowID",0},
797 { "_wxPrintQuality","_uint",0},
798 { "_wxPrintQuality","_EBool",0},
799 { "_wxPrintQuality","_size_t",0},
800 { "_wxPrintQuality","_time_t",0},
801 { "_wxNotifyEvent","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxNotifyEvent
},
802 { "_byte","_unsigned_char",0},
803 { "_long","_unsigned_long",0},
804 { "_long","_signed_long",0},
805 { "_size_t","_wxCoord",0},
806 { "_size_t","_wxPrintQuality",0},
807 { "_size_t","_time_t",0},
808 { "_size_t","_unsigned_int",0},
809 { "_size_t","_int",0},
810 { "_size_t","_wxWindowID",0},
811 { "_size_t","_uint",0},
812 { "_uint","_wxCoord",0},
813 { "_uint","_wxPrintQuality",0},
814 { "_uint","_time_t",0},
815 { "_uint","_size_t",0},
816 { "_uint","_unsigned_int",0},
818 { "_uint","_wxWindowID",0},
819 { "_wxChar","_char",0},
820 { "_wxCommandEvent","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxCommandEvent
},
821 { "_char","_wxChar",0},
822 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
823 { "_EBool","_wxCoord",0},
824 { "_EBool","_wxPrintQuality",0},
825 { "_EBool","_signed_int",0},
826 { "_EBool","_int",0},
827 { "_EBool","_wxWindowID",0},
828 { "_unsigned_long","_long",0},
829 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
830 { "_signed_int","_wxCoord",0},
831 { "_signed_int","_wxPrintQuality",0},
832 { "_signed_int","_EBool",0},
833 { "_signed_int","_wxWindowID",0},
834 { "_signed_int","_int",0},
835 { "_WXTYPE","_wxDateTime_t",0},
836 { "_WXTYPE","_short",0},
837 { "_WXTYPE","_signed_short",0},
838 { "_WXTYPE","_unsigned_short",0},
839 { "_unsigned_short","_wxDateTime_t",0},
840 { "_unsigned_short","_WXTYPE",0},
841 { "_unsigned_short","_short",0},
842 { "_wxObject","_wxIEHtmlWin",SwigwxIEHtmlWinTowxObject
},
843 { "_wxObject","_wxMSHTMLEvent",SwigwxMSHTMLEventTowxObject
},
844 { "_signed_short","_WXTYPE",0},
845 { "_signed_short","_short",0},
846 { "_unsigned_char","_byte",0},
847 { "_unsigned_int","_wxCoord",0},
848 { "_unsigned_int","_wxPrintQuality",0},
849 { "_unsigned_int","_time_t",0},
850 { "_unsigned_int","_size_t",0},
851 { "_unsigned_int","_uint",0},
852 { "_unsigned_int","_wxWindowID",0},
853 { "_unsigned_int","_int",0},
854 { "_short","_wxDateTime_t",0},
855 { "_short","_WXTYPE",0},
856 { "_short","_unsigned_short",0},
857 { "_short","_signed_short",0},
858 { "_wxWindowID","_wxCoord",0},
859 { "_wxWindowID","_wxPrintQuality",0},
860 { "_wxWindowID","_time_t",0},
861 { "_wxWindowID","_size_t",0},
862 { "_wxWindowID","_EBool",0},
863 { "_wxWindowID","_uint",0},
864 { "_wxWindowID","_int",0},
865 { "_wxWindowID","_signed_int",0},
866 { "_wxWindowID","_unsigned_int",0},
867 { "_int","_wxCoord",0},
868 { "_int","_wxPrintQuality",0},
869 { "_int","_time_t",0},
870 { "_int","_size_t",0},
871 { "_int","_EBool",0},
873 { "_int","_wxWindowID",0},
874 { "_int","_unsigned_int",0},
875 { "_int","_signed_int",0},
876 { "_wxDateTime_t","_unsigned_short",0},
877 { "_wxDateTime_t","_short",0},
878 { "_wxDateTime_t","_WXTYPE",0},
879 { "_time_t","_wxCoord",0},
880 { "_time_t","_wxPrintQuality",0},
881 { "_time_t","_unsigned_int",0},
882 { "_time_t","_int",0},
883 { "_time_t","_wxWindowID",0},
884 { "_time_t","_uint",0},
885 { "_time_t","_size_t",0},
886 { "_wxCoord","_int",0},
887 { "_wxCoord","_signed_int",0},
888 { "_wxCoord","_unsigned_int",0},
889 { "_wxCoord","_wxWindowID",0},
890 { "_wxCoord","_uint",0},
891 { "_wxCoord","_EBool",0},
892 { "_wxCoord","_size_t",0},
893 { "_wxCoord","_time_t",0},
894 { "_wxCoord","_wxPrintQuality",0},
895 { "_wxEvtHandler","_wxIEHtmlWin",SwigwxIEHtmlWinTowxEvtHandler
},
896 { "_wxWindow","_wxIEHtmlWin",SwigwxIEHtmlWinTowxWindow
},
899 static PyObject
*SWIG_globals
;
903 SWIGEXPORT(void) initiewinc() {
905 SWIG_globals
= SWIG_newvarlink();
906 m
= Py_InitModule("iewinc", iewincMethods
);
907 d
= PyModule_GetDict(m
);
908 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
));
909 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_NEWWINDOW2", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_NEWWINDOW2
));
910 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
));
911 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_PROGRESSCHANGE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
));
912 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
));
913 PyDict_SetItemString(d
,"wxEVT_COMMAND_MSHTML_TITLECHANGE", PyInt_FromLong((long) wxEVT_COMMAND_MSHTML_TITLECHANGE
));
914 PyDict_SetItemString(d
,"wxIEHTML_REFRESH_NORMAL", PyInt_FromLong((long) wxIEHTML_REFRESH_NORMAL
));
915 PyDict_SetItemString(d
,"wxIEHTML_REFRESH_IFEXPIRED", PyInt_FromLong((long) wxIEHTML_REFRESH_IFEXPIRED
));
916 PyDict_SetItemString(d
,"wxIEHTML_REFRESH_CONTINUE", PyInt_FromLong((long) wxIEHTML_REFRESH_CONTINUE
));
917 PyDict_SetItemString(d
,"wxIEHTML_REFRESH_COMPLETELY", PyInt_FromLong((long) wxIEHTML_REFRESH_COMPLETELY
));
920 wxClassInfo::CleanUpClasses();
921 wxClassInfo::InitializeClasses();
925 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
926 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);