1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxObject swig_types[0]
210 #define SWIGTYPE_p_wxFuncX swig_types[1]
211 #define SWIGTYPE_p_wxActiveXWindow swig_types[2]
212 #define SWIGTYPE_p_wxWindow swig_types[3]
213 #define SWIGTYPE_p_wxCommandEvent swig_types[4]
214 #define SWIGTYPE_p_char swig_types[5]
215 #define SWIGTYPE_p_wxInputStream swig_types[6]
216 #define SWIGTYPE_p_wxEvtHandler swig_types[7]
217 #define SWIGTYPE_p_wxPropX swig_types[8]
218 #define SWIGTYPE_p_wxFuncXArray swig_types[9]
219 #define SWIGTYPE_p_wxParamXArray swig_types[10]
220 #define SWIGTYPE_p_wxActiveXEvent swig_types[11]
221 #define SWIGTYPE_p_wxParamX swig_types[12]
222 #define SWIGTYPE_p_wxIEHtmlWindowBase swig_types[13]
223 #define SWIGTYPE_p_wxPropXArray swig_types[14]
224 #define SWIGTYPE_p_wxEvent swig_types[15]
225 #define SWIGTYPE_p_CLSID swig_types[16]
226 static swig_type_info
*swig_types
[18];
228 /* -------- TYPES TABLE (END) -------- */
231 /*-----------------------------------------------
232 @(target):= _activex.so
233 ------------------------------------------------*/
234 #define SWIG_init init_activex
236 #define SWIG_name "_activex"
238 /* Auxiliar swig macros */
241 #define SWIGSTATICINLINE(a) static inline a
242 #define SWIGSTATIC(a) static a
243 #define swig_new_array(type, size) (new type[(size)])
244 #define swig_delete_array(cptr) delete[] cptr
245 #define swig_const_cast(type,a) const_cast<type>(a)
246 #define swig_static_cast(type,a) static_cast<type>(a)
247 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
249 #ifdef HAVE_NUMERIC_CAST
250 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
252 #define swig_numeric_cast(type,a) static_cast<type>(a)
257 #define SWIGSTATICINLINE(a) static a
258 #define SWIGSTATIC(a) static a
259 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
260 #define swig_delete_array(cptr) free((char*)cptr)
261 #define swig_const_cast(type,a) (type)(a)
262 #define swig_static_cast(type,a) (type)(a)
263 #define swig_reinterpret_cast(type,a) (type)(a)
264 #define swig_numeric_cast(type,a) (type)(a)
266 #endif /* __cplusplus */
269 #define SWIG_FromSignedChar PyInt_FromLong
270 #define SWIG_FromUnsignedChar PyInt_FromLong
271 #define SWIG_FromShort PyInt_FromLong
272 #define SWIG_FromUnsignedShort PyInt_FromLong
273 #define SWIG_FromInt PyInt_FromLong
274 #define SWIG_FromLong PyInt_FromLong
275 #define SWIG_FromFloat PyFloat_FromDouble
276 #define SWIG_FromDouble PyFloat_FromDouble
277 #define SWIG_FromFloat PyFloat_FromDouble
278 #define SWIG_FromDouble PyFloat_FromDouble
281 #include "wx/wxPython/wxPython.h"
282 #include "wx/wxPython/pyclasses.h"
283 #include "wx/wxPython/pyistream.h"
285 #include "wxactivex.h"
287 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
289 // Since SWIG doesn't support nested classes, we need to fool it a bit
290 // and make them look like global classes. These defines make the C++ code
291 // know what we are doing.
292 #define wxParamX wxActiveX::ParamX
293 #define wxFuncX wxActiveX::FuncX
294 #define wxPropX wxActiveX::PropX
295 #define wxParamXArray wxActiveX::ParamXArray
296 #define wxFuncXArray wxActiveX::FuncXArray
297 #define wxPropXArray wxActiveX::PropXArray
300 // Some conversion helpers
301 static wxVariant
_PyObj2Variant(PyObject
* value
);
302 static PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
=False
);
303 static wxString
_VARTYPEname(VARTYPE vt
);
305 // Check if an exception has been raised (blocking threads)
306 inline bool wxPyErr_Occurred()
309 wxPyBeginBlockThreads();
310 rval
= PyErr_Occurred() != NULL
;
311 wxPyEndBlockThreads();
316 CLSID
*new_CLSID(wxString
const &id
){
318 CLSID
* self
= new CLSID
;
319 memset(self
, 0, sizeof(CLSID
));
321 if (id
[0] == _T('{')) {
322 // Looks like a classID string
325 (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
),
331 (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
),
334 if (result
!= NOERROR
) {
335 wxPyErr_SetString(PyExc_ValueError
, "Not a recognized classID or progID");
341 void delete_CLSID(CLSID
*self
){ delete self
; }
342 wxString
CLSID_GetCLSIDString(CLSID
*self
){
345 if (StringFromCLSID(*self
, &s
) == S_OK
) {
350 str
= _T("Error!"); // TODO: raise exception?
354 wxString
CLSID_GetProgIDString(CLSID
*self
){
357 if (ProgIDFromCLSID(*self
, &s
) == S_OK
) {
362 str
= _T("Error!"); // TODO: raise exception?
366 wxString
wxParamX_vt_type_get(wxParamX
*self
){ return _VARTYPEname(self
->vt
); }
367 bool wxParamXArray___nonzero__(wxParamXArray
*self
){ return self
->size() > 0; }
368 int wxParamXArray___len__(wxParamXArray
*self
){ return self
->size(); }
373 SWIGSTATICINLINE(long)
374 SWIG_CheckLongInRange(long value
, const char* type
,
375 long min_value
, long max_value
)
377 if (!PyErr_Occurred()) {
378 if (value
< min_value
) {
380 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
381 value
, type
, min_value
);
383 PyErr_SetObject(PyExc_OverflowError
, err
);
385 } else if (value
> max_value
) {
387 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
388 value
, type
, max_value
);
389 PyErr_SetObject(PyExc_OverflowError
, err
);
397 SWIGSTATICINLINE(long)
398 SWIG_AsLong(PyObject
* obj
)
400 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
404 #if INT_MAX != LONG_MAX
405 SWIGSTATICINLINE(int)
406 SWIG_AsInt(PyObject
*obj
)
408 return swig_numeric_cast(int,
409 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
410 "int", INT_MIN
, INT_MAX
));
413 #define SWIG_AsInt SWIG_AsLong
417 SWIGSTATICINLINE(int)
418 SWIG_CheckInt(PyObject
* obj
)
421 if (PyErr_Occurred()) {
429 wxParamX
const &wxParamXArray___getitem__(wxParamXArray
*self
,int idx
){
430 if ( idx
>= 0 && idx
< self
->size() )
433 static wxParamX BadVal
;
434 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
438 bool wxFuncXArray___nonzero__(wxFuncXArray
*self
){ return self
->size() > 0; }
439 int wxFuncXArray___len__(wxFuncXArray
*self
){ return self
->size(); }
440 wxFuncX
const &wxFuncXArray___getitem__(wxFuncXArray
*self
,int idx
){
441 if ( idx
>= 0 && idx
< self
->size() )
444 static wxFuncX BadVal
;
445 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
449 bool wxPropXArray___nonzero__(wxPropXArray
*self
){ return self
->size() > 0; }
450 int wxPropXArray___len__(wxPropXArray
*self
){ return self
->size(); }
451 wxPropX
const &wxPropXArray___getitem__(wxPropXArray
*self
,int idx
){
452 if ( idx
>= 0 && idx
< self
->size() )
455 static wxPropX BadVal
;
456 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
461 // C++ version of a Python-aware wxActiveX
462 class wxActiveXWindow
: public wxActiveX
467 wxActiveXWindow( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id
= -1,
468 const wxPoint
& pos
= wxDefaultPosition
,
469 const wxSize
& size
= wxDefaultSize
,
471 const wxString
& name
= wxPyPanelNameStr
)
472 : wxActiveX(parent
, clsId
, id
, pos
, size
, style
, name
)
477 const CLSID
& GetCLSID() const { return m_CLSID
; }
480 // Renamed versions of some base class methods that delegate
481 // to the base where appropriate, and raise Python exceptions
483 int GetAXEventCount() const { return wxActiveX::GetEventCount(); }
484 int GetAXPropCount() const { return wxActiveX::GetPropCount(); }
485 int GetAXMethodCount() const { return wxActiveX::GetMethodCount(); }
487 const wxFuncX
& GetAXEventDesc(int idx
) const
489 static wxFuncX BadVal
;
490 if (idx
< 0 || idx
>= GetAXEventCount()) {
491 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
494 return m_events
[idx
];
496 const wxFuncX
& GetAXMethodDesc(int idx
) const
498 static wxFuncX BadVal
;
499 if (idx
< 0 || idx
>= GetAXMethodCount()) {
500 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
503 return m_methods
[idx
];
505 const wxPropX
& GetAXPropDesc(int idx
) const
507 static wxPropX BadVal
;
508 if (idx
< 0 || idx
>= GetAXPropCount()) {
509 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
515 const wxFuncX
& GetAXMethodDesc(const wxString
& name
) const
517 NameMap::const_iterator it
= m_methodNames
.find(name
);
518 if (it
== m_methodNames
.end()) {
520 msg
<< "method <" << name
<< "> not found";
521 wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str());
522 static wxFuncX BadVal
;
525 return GetAXMethodDesc(it
->second
);
527 const wxPropX
& GetAXPropDesc(const wxString
& name
) const
529 NameMap::const_iterator it
= m_propNames
.find(name
);
530 if (it
== m_propNames
.end()) {
532 msg
<< "property <" << name
<< "> not found";
533 wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str());
534 static wxPropX BadVal
;
537 return GetAXPropDesc(it
->second
);
540 // Accessors for the internal vectors of events, methods and
541 // proprties. Can be used as sequence like objects from
543 const wxFuncXArray
& GetAXEvents() { return m_events
; }
544 const wxFuncXArray
& GetAXMethods() { return m_methods
; }
545 const wxPropXArray
& GetAXProperties() { return m_props
; }
548 // Set a property from a Python object
549 void SetAXProp(const wxString
& name
, PyObject
* value
)
551 const wxPropX
& prop
= GetAXPropDesc(name
);
552 wxPyBeginBlockThreads();
553 if (! PyErr_Occurred() ) {
554 if (! prop
.CanSet()) {
556 msg
<< "property <" << name
<< "> is readonly";
557 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
560 wxVariant wxV
= _PyObj2Variant(value
);
561 if (PyErr_Occurred())
563 VARIANT v
= {prop
.arg
.vt
};
564 if (!VariantToMSWVariant(wxV
, v
) || PyErr_Occurred()) {
566 msg
<< "Unable to convert value to expected type: ("
567 << _VARTYPEname(prop
.arg
.vt
) << ") for property <"
569 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
572 PyThreadState
* tstate
= wxPyBeginAllowThreads();
573 SetProp(prop
.memid
, v
);
575 wxPyEndAllowThreads(tstate
);
579 wxPyEndBlockThreads();
583 // Get a property and convert it to a Python object
584 PyObject
* GetAXProp(const wxString
& name
)
586 PyObject
* rval
= NULL
;
587 const wxPropX
& prop
= GetAXPropDesc(name
);
588 wxPyBeginBlockThreads();
589 if (! PyErr_Occurred() ) {
590 if (! prop
.CanGet()) {
592 msg
<< "property <" << name
<< "> is writeonly";
593 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
596 PyThreadState
* tstate
= wxPyBeginAllowThreads();
597 VARIANT v
= GetPropAsVariant(prop
.memid
);
598 wxPyEndAllowThreads(tstate
);
600 if (!MSWVariantToVariant(v
, wv
) || PyErr_Occurred()) {
602 msg
<< "Unable to convert value to expected type: ("
603 << _VARTYPEname(prop
.arg
.vt
) << ") for property <"
605 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
608 rval
= _Variant2PyObj(wv
);
613 wxPyEndBlockThreads();
618 // If both IsIn and isOut are false, assume it is actually an
620 bool paramIsIn(const wxParamX
& p
)
622 return p
.IsIn() || (!p
.IsIn() && !p
.IsOut());
626 // Call a method of the ActiveX object
627 PyObject
* _CallAXMethod(const wxString
& name
, PyObject
* args
)
629 VARIANTARG
*vargs
= NULL
;
631 PyObject
* rval
= NULL
;
632 const wxFuncX
& func
= GetAXMethodDesc(name
);
634 wxPyBeginBlockThreads();
635 if (! PyErr_Occurred() ) {
636 nargs
= func
.params
.size();
638 vargs
= new VARIANTARG
[nargs
];
641 // init type of vargs, in reverse order
643 for (i
= 0; i
< nargs
; i
++)
644 vargs
[nargs
- i
- 1].vt
= func
.params
[i
].vt
;
646 // Map the args coming from Python to the input parameters in vargs
649 while ( i
<nargs
&& pi
<PyTuple_Size(args
) ) {
650 // Move to the next input param.
651 if (! paramIsIn(func
.params
[i
])) {
655 // convert the python object
656 PyObject
* obj
= PyTuple_GetItem(args
, pi
);
657 if (obj
== Py_None
) // special-case None?
658 vargs
[nargs
- i
- 1].vt
= VT_EMPTY
;
660 wxVariant wxV
= _PyObj2Variant(obj
);
661 if (PyErr_Occurred())
663 if (!VariantToMSWVariant(wxV
, vargs
[nargs
- i
- 1]) || PyErr_Occurred()) {
665 msg
<< "Unable to convert value to expected type: ("
666 << _VARTYPEname(vargs
[nargs
- i
- 1].vt
)
667 << ") for parameter " << i
;
668 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
678 PyThreadState
* tstate
= wxPyBeginAllowThreads();
679 VARIANT rv
= CallMethod(func
.memid
, vargs
, nargs
);
680 wxPyEndAllowThreads(tstate
);
682 // Convert the return value and any out-params, ignoring
683 // conversion errors for now
685 MSWVariantToVariant(rv
, wv
);
686 rval
= _Variant2PyObj(wv
, True
);
690 // make a list and put the rval in it if it is not None
691 PyObject
* lst
= PyList_New(0);
693 PyList_Append(lst
, rval
);
697 // find the out params and convert them
698 for (int i
= 0; i
< nargs
; i
++) {
699 VARIANTARG
& va
= vargs
[nargs
- i
- 1];
700 const wxParamX
&px
= func
.params
[i
];
702 MSWVariantToVariant(va
, wv
);
703 PyObject
* obj
= _Variant2PyObj(wv
, True
);
704 PyList_Append(lst
, obj
);
707 rval
= PyList_AsTuple(lst
);
710 if (PyErr_Occurred())
714 wxPyEndBlockThreads();
716 for (int i
= 0; i
< nargs
; i
++)
717 VariantClear(&vargs
[i
]);
725 SWIGSTATICINLINE(int)
726 SWIG_CheckLong(PyObject
* obj
)
729 if (PyErr_Occurred()) {
737 void wxActiveXEvent__preInit(wxActiveXEvent
*self
,PyObject
*pyself
){
738 wxPyBeginBlockThreads();
739 PyObject
* pList
= PyList_New(0);
740 PyObject_SetAttrString(pyself
, "paramList", pList
);
742 for (int i
=0; i
<self
->ParamCount(); i
+=1) {
743 PyObject
* name
= PyString_FromString((char*)self
->ParamName(i
).mb_str());
744 PyObject
* val
= _Variant2PyObj((*self
)[i
], True
);
745 PyObject_SetAttr(pyself
, name
, val
);
746 PyList_Append(pList
, name
);
750 wxPyEndBlockThreads();
754 // Caller should already have the GIL!
755 wxVariant
_PyObj2Variant(PyObject
* value
)
759 if (value
== Py_None
)
762 else if (PyBool_Check(value
))
763 rval
= (value
== Py_True
) ? true : false;
765 else if (PyInt_Check(value
))
766 rval
= PyInt_AS_LONG(value
);
768 else if (PyFloat_Check(value
))
769 rval
= PyFloat_AS_DOUBLE(value
);
771 else if (PyString_Check(value
) || PyUnicode_Check(value
))
772 rval
= Py2wxString(value
);
774 // TODO: PyList of strings --> wxArrayString
779 PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _PyObj2Variant");
787 // Caller should already have the GIL!
788 PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
)
790 PyObject
* rval
= NULL
;
792 if (value
.IsNull()) {
797 // should "char" be treated as an int or as a string?
798 else if (value
.IsType(_T("char")) || value
.IsType(_T("long")))
799 rval
= PyInt_FromLong(value
);
801 else if (value
.IsType(_T("double")))
802 rval
= PyFloat_FromDouble(value
);
804 else if (value
.IsType(_T("bool")))
805 rval
= PyBool_FromLong((bool)value
);
807 else if (value
.IsType(_T("string")))
808 rval
= wx2PyString(value
);
816 PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _Variant2PyObj");
823 wxString
_VARTYPEname(VARTYPE vt
)
830 return _T("VT_VARIANT");
850 // decimals are converted from doubles too
858 return _T("wx.DateTime");
864 return _T("VT_UNKNOWN");
867 return _T("VT_DISPATCH");
870 return _T("VT_EMPTY");
873 return _T("VT_NULL");
876 return _T("VT_VOID");
880 msg
<< _T("unsupported type ") << vt
;
887 // A class derived from out wxActiveXWindow for the IE WebBrowser
888 // control that will serve as a base class for a Python
889 // implementation. This is done so we can "eat our own dog food"
890 // and use a class at least mostly generated by genaxmodule, but
891 // also get some of the extra stuff like loading a document from
892 // a string or a stream, getting text contents, etc. that
893 // Lindsay's version gives us.
896 #include <wx/mstream.h>
898 #include <winerror.h>
899 #include <exdispid.h>
905 #include "IEHtmlStream.h"
907 class wxIEHtmlWindowBase
: public wxActiveXWindow
{
909 wxAutoOleInterface
<IWebBrowser2
> m_webBrowser
;
913 wxIEHtmlWindowBase ( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id
= -1,
914 const wxPoint
& pos
= wxDefaultPosition
,
915 const wxSize
& size
= wxDefaultSize
,
917 const wxString
& name
= wxPyPanelNameStr
)
918 : wxActiveXWindow(parent
, clsId
, id
, pos
, size
, style
, name
)
922 // Get IWebBrowser2 Interface
923 hret
= m_webBrowser
.QueryInterface(IID_IWebBrowser2
, m_ActiveX
);
924 wxASSERT(SUCCEEDED(hret
));
927 m_webBrowser
->put_MenuBar(VARIANT_FALSE
);
928 m_webBrowser
->put_AddressBar(VARIANT_FALSE
);
929 m_webBrowser
->put_StatusBar(VARIANT_FALSE
);
930 m_webBrowser
->put_ToolBar(VARIANT_FALSE
);
932 m_webBrowser
->put_RegisterAsBrowser(VARIANT_TRUE
);
933 m_webBrowser
->put_RegisterAsDropTarget(VARIANT_TRUE
);
935 m_webBrowser
->Navigate( L
"about:blank", NULL
, NULL
, NULL
, NULL
);
939 void SetCharset(const wxString
& charset
)
944 IDispatch
*pDisp
= NULL
;
945 hret
= m_webBrowser
->get_Document(&pDisp
);
946 wxAutoOleInterface
<IDispatch
> disp(pDisp
);
950 wxAutoOleInterface
<IHTMLDocument2
> doc(IID_IHTMLDocument2
, disp
);
952 doc
->put_charset((BSTR
) (const wchar_t *) charset
.wc_str(wxConvUTF8
));
953 //doc->put_charset((BSTR) wxConvUTF8.cMB2WC(charset).data());
958 bool LoadString(const wxString
& html
)
961 size_t len
= html
.length();
962 len
*= sizeof(wxChar
);
963 data
= (char *) malloc(len
);
964 memcpy(data
, html
.c_str(), len
);
965 return LoadStream(new wxOwnedMemInputStream(data
, len
));
969 bool LoadStream(IStreamAdaptorBase
*pstrm
)
971 // need to prepend this as poxy MSHTML will not recognise a HTML comment
972 // as starting a html document and treats it as plain text
973 // Does nayone know how to force it to html mode ?
974 pstrm
->prepend
= "<html>";
976 // strip leading whitespace as it can confuse MSHTML
977 wxAutoOleInterface
<IStream
> strm(pstrm
);
979 // Document Interface
980 IDispatch
*pDisp
= NULL
;
981 HRESULT hret
= m_webBrowser
->get_Document(&pDisp
);
984 wxAutoOleInterface
<IDispatch
> disp(pDisp
);
987 // get IPersistStreamInit
988 wxAutoOleInterface
<IPersistStreamInit
>
989 pPersistStreamInit(IID_IPersistStreamInit
, disp
);
991 if (pPersistStreamInit
.Ok())
993 HRESULT hr
= pPersistStreamInit
->InitNew();
995 hr
= pPersistStreamInit
->Load(strm
);
997 return SUCCEEDED(hr
);
1003 bool LoadStream(wxInputStream
*is
)
1005 // wrap reference around stream
1006 IwxStreamAdaptor
*pstrm
= new IwxStreamAdaptor(is
);
1009 return LoadStream(pstrm
);
1013 wxString
GetStringSelection(bool asHTML
)
1015 wxAutoOleInterface
<IHTMLTxtRange
> tr(wxieGetSelRange(m_oleObject
));
1017 return wxEmptyString
;
1020 HRESULT hr
= E_FAIL
;
1023 hr
= tr
->get_htmlText(&text
);
1025 hr
= tr
->get_text(&text
);
1027 return wxEmptyString
;
1030 SysFreeString(text
);
1035 wxString
GetText(bool asHTML
)
1037 if (! m_webBrowser
.Ok())
1038 return wxEmptyString
;
1040 // get document dispatch interface
1041 IDispatch
*iDisp
= NULL
;
1042 HRESULT hr
= m_webBrowser
->get_Document(&iDisp
);
1044 return wxEmptyString
;
1046 // Query for Document Interface
1047 wxAutoOleInterface
<IHTMLDocument2
> hd(IID_IHTMLDocument2
, iDisp
);
1051 return wxEmptyString
;
1054 IHTMLElement
*_body
= NULL
;
1055 hd
->get_body(&_body
);
1057 return wxEmptyString
;
1058 wxAutoOleInterface
<IHTMLElement
> body(_body
);
1065 hr
= body
->get_innerHTML(&text
);
1067 hr
= body
->get_innerText(&text
);
1069 return wxEmptyString
;
1072 SysFreeString(text
);
1078 // void wxIEHtmlWin::SetEditMode(bool seton)
1080 // m_bAmbientUserMode = ! seton;
1081 // AmbientPropertyChanged(DISPID_AMBIENT_USERMODE);
1084 // bool wxIEHtmlWin::GetEditMode()
1086 // return ! m_bAmbientUserMode;
1091 SWIGSTATICINLINE(bool)
1092 SWIG_AsBool(PyObject
*obj
)
1094 return PyObject_IsTrue(obj
) ? true : false;
1098 SWIGSTATICINLINE(int)
1099 SWIG_CheckBool(PyObject
* obj
)
1102 if (PyErr_Occurred()) {
1113 static PyObject
*_wrap_new_CLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 wxString
*arg1
= 0 ;
1117 bool temp1
= False
;
1118 PyObject
* obj0
= 0 ;
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CLSID",kwnames
,&obj0
)) goto fail
;
1125 arg1
= wxString_in_helper(obj0
);
1126 if (arg1
== NULL
) SWIG_fail
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 result
= (CLSID
*)new_CLSID((wxString
const &)*arg1
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) SWIG_fail
;
1136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 1);
1151 static PyObject
*_wrap_delete_CLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 CLSID
*arg1
= (CLSID
*) 0 ;
1154 PyObject
* obj0
= 0 ;
1156 (char *) "self", NULL
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_CLSID",kwnames
,&obj0
)) goto fail
;
1160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) SWIG_fail
;
1169 Py_INCREF(Py_None
); resultobj
= Py_None
;
1176 static PyObject
*_wrap_CLSID_GetCLSIDString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 CLSID
*arg1
= (CLSID
*) 0 ;
1180 PyObject
* obj0
= 0 ;
1182 (char *) "self", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetCLSIDString",kwnames
,&obj0
)) goto fail
;
1186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 result
= CLSID_GetCLSIDString(arg1
);
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) SWIG_fail
;
1197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1208 static PyObject
*_wrap_CLSID_GetProgIDString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
*resultobj
;
1210 CLSID
*arg1
= (CLSID
*) 0 ;
1212 PyObject
* obj0
= 0 ;
1214 (char *) "self", NULL
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetProgIDString",kwnames
,&obj0
)) goto fail
;
1218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 result
= CLSID_GetProgIDString(arg1
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1240 static PyObject
* CLSID_swigregister(PyObject
*self
, PyObject
*args
) {
1242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1243 SWIG_TypeClientData(SWIGTYPE_p_CLSID
, obj
);
1245 return Py_BuildValue((char *)"");
1247 static PyObject
*_wrap_ParamX_flags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
*resultobj
;
1249 wxParamX
*arg1
= (wxParamX
*) 0 ;
1251 PyObject
* obj0
= 0 ;
1253 (char *) "self", NULL
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_flags_get",kwnames
,&obj0
)) goto fail
;
1257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1259 result
= (USHORT
) ((arg1
)->flags
);
1261 resultobj
= SWIG_FromUnsignedShort((unsigned short)result
);
1268 static PyObject
*_wrap_ParamX_isPtr_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxParamX
*arg1
= (wxParamX
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self", NULL
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isPtr_get",kwnames
,&obj0
)) goto fail
;
1278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1280 result
= (bool) ((arg1
)->isPtr
);
1282 resultobj
= PyBool_FromLong((bool)result
);
1289 static PyObject
*_wrap_ParamX_isSafeArray_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1291 wxParamX
*arg1
= (wxParamX
*) 0 ;
1293 PyObject
* obj0
= 0 ;
1295 (char *) "self", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isSafeArray_get",kwnames
,&obj0
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1301 result
= (bool) ((arg1
)->isSafeArray
);
1303 resultobj
= PyBool_FromLong((bool)result
);
1310 static PyObject
*_wrap_ParamX_isOptional_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxParamX
*arg1
= (wxParamX
*) 0 ;
1314 PyObject
* obj0
= 0 ;
1316 (char *) "self", NULL
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isOptional_get",kwnames
,&obj0
)) goto fail
;
1320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1322 result
= (bool) ((arg1
)->isOptional
);
1324 resultobj
= PyBool_FromLong((bool)result
);
1331 static PyObject
*_wrap_ParamX_vt_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxParamX
*arg1
= (wxParamX
*) 0 ;
1335 PyObject
* obj0
= 0 ;
1337 (char *) "self", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_get",kwnames
,&obj0
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1343 result
= (VARTYPE
) ((arg1
)->vt
);
1345 resultobj
= SWIG_FromUnsignedShort((unsigned short)result
);
1352 static PyObject
*_wrap_ParamX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxParamX
*arg1
= (wxParamX
*) 0 ;
1356 PyObject
* obj0
= 0 ;
1358 (char *) "self", NULL
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_name_get",kwnames
,&obj0
)) goto fail
;
1362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1364 result
= (wxString
*)& ((arg1
)->name
);
1368 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1370 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1379 static PyObject
*_wrap_ParamX_vt_type_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
*resultobj
;
1381 wxParamX
*arg1
= (wxParamX
*) 0 ;
1383 PyObject
* obj0
= 0 ;
1385 (char *) "self", NULL
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_type_get",kwnames
,&obj0
)) goto fail
;
1389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 result
= wxParamX_vt_type_get(arg1
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1411 static PyObject
*_wrap_ParamX_IsIn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
*resultobj
;
1413 wxParamX
*arg1
= (wxParamX
*) 0 ;
1415 PyObject
* obj0
= 0 ;
1417 (char *) "self", NULL
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsIn",kwnames
,&obj0
)) goto fail
;
1421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 result
= (bool)((wxParamX
const *)arg1
)->IsIn();
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1430 resultobj
= PyBool_FromLong((bool)result
);
1437 static PyObject
*_wrap_ParamX_IsOut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
*resultobj
;
1439 wxParamX
*arg1
= (wxParamX
*) 0 ;
1441 PyObject
* obj0
= 0 ;
1443 (char *) "self", NULL
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsOut",kwnames
,&obj0
)) goto fail
;
1447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)((wxParamX
const *)arg1
)->IsOut();
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1456 resultobj
= PyBool_FromLong((bool)result
);
1463 static PyObject
*_wrap_ParamX_IsRetVal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1465 wxParamX
*arg1
= (wxParamX
*) 0 ;
1467 PyObject
* obj0
= 0 ;
1469 (char *) "self", NULL
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsRetVal",kwnames
,&obj0
)) goto fail
;
1473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (bool)((wxParamX
const *)arg1
)->IsRetVal();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= PyBool_FromLong((bool)result
);
1489 static PyObject
* ParamX_swigregister(PyObject
*self
, PyObject
*args
) {
1491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1492 SWIG_TypeClientData(SWIGTYPE_p_wxParamX
, obj
);
1494 return Py_BuildValue((char *)"");
1496 static PyObject
*_wrap_FuncX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
*resultobj
;
1498 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1500 PyObject
* obj0
= 0 ;
1502 (char *) "self", NULL
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_name_get",kwnames
,&obj0
)) goto fail
;
1506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 result
= (wxString
*)& ((arg1
)->name
);
1512 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1514 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1523 static PyObject
*_wrap_FuncX_memid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1529 (char *) "self", NULL
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_memid_get",kwnames
,&obj0
)) goto fail
;
1533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1535 result
= (MEMBERID
) ((arg1
)->memid
);
1537 resultobj
= SWIG_FromLong((long)result
);
1544 static PyObject
*_wrap_FuncX_hasOut_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
*resultobj
;
1546 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1548 PyObject
* obj0
= 0 ;
1550 (char *) "self", NULL
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_hasOut_get",kwnames
,&obj0
)) goto fail
;
1554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1556 result
= (bool) ((arg1
)->hasOut
);
1558 resultobj
= PyBool_FromLong((bool)result
);
1565 static PyObject
*_wrap_FuncX_retType_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1569 PyObject
* obj0
= 0 ;
1571 (char *) "self", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_retType_get",kwnames
,&obj0
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1577 result
= (wxParamX
*)& ((arg1
)->retType
);
1579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1586 static PyObject
*_wrap_FuncX_params_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1589 wxParamXArray
*result
;
1590 PyObject
* obj0
= 0 ;
1592 (char *) "self", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_params_get",kwnames
,&obj0
)) goto fail
;
1596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1598 result
= (wxParamXArray
*)& ((arg1
)->params
);
1600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamXArray
, 0);
1607 static PyObject
* FuncX_swigregister(PyObject
*self
, PyObject
*args
) {
1609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1610 SWIG_TypeClientData(SWIGTYPE_p_wxFuncX
, obj
);
1612 return Py_BuildValue((char *)"");
1614 static PyObject
*_wrap_PropX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxPropX
*arg1
= (wxPropX
*) 0 ;
1618 PyObject
* obj0
= 0 ;
1620 (char *) "self", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_name_get",kwnames
,&obj0
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1626 result
= (wxString
*)& ((arg1
)->name
);
1630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1641 static PyObject
*_wrap_PropX_memid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxPropX
*arg1
= (wxPropX
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1647 (char *) "self", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_memid_get",kwnames
,&obj0
)) goto fail
;
1651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1653 result
= (MEMBERID
) ((arg1
)->memid
);
1655 resultobj
= SWIG_FromLong((long)result
);
1662 static PyObject
*_wrap_PropX_type_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 wxPropX
*arg1
= (wxPropX
*) 0 ;
1666 PyObject
* obj0
= 0 ;
1668 (char *) "self", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_type_get",kwnames
,&obj0
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1674 result
= (wxParamX
*)& ((arg1
)->type
);
1676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1683 static PyObject
*_wrap_PropX_arg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxPropX
*arg1
= (wxPropX
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_arg_get",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 result
= (wxParamX
*)& ((arg1
)->arg
);
1697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1704 static PyObject
*_wrap_PropX_putByRef_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxPropX
*arg1
= (wxPropX
*) 0 ;
1708 PyObject
* obj0
= 0 ;
1710 (char *) "self", NULL
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_putByRef_get",kwnames
,&obj0
)) goto fail
;
1714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1716 result
= (bool) ((arg1
)->putByRef
);
1718 resultobj
= PyBool_FromLong((bool)result
);
1725 static PyObject
*_wrap_PropX_CanGet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxPropX
*arg1
= (wxPropX
*) 0 ;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanGet",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 result
= (bool)((wxPropX
const *)arg1
)->CanGet();
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1744 resultobj
= PyBool_FromLong((bool)result
);
1751 static PyObject
*_wrap_PropX_CanSet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
*resultobj
;
1753 wxPropX
*arg1
= (wxPropX
*) 0 ;
1755 PyObject
* obj0
= 0 ;
1757 (char *) "self", NULL
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanSet",kwnames
,&obj0
)) goto fail
;
1761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 result
= (bool)((wxPropX
const *)arg1
)->CanSet();
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) SWIG_fail
;
1770 resultobj
= PyBool_FromLong((bool)result
);
1777 static PyObject
* PropX_swigregister(PyObject
*self
, PyObject
*args
) {
1779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1780 SWIG_TypeClientData(SWIGTYPE_p_wxPropX
, obj
);
1782 return Py_BuildValue((char *)"");
1784 static PyObject
*_wrap_ParamXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1790 (char *) "self", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 result
= (bool)wxParamXArray___nonzero__(arg1
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1803 resultobj
= PyBool_FromLong((bool)result
);
1810 static PyObject
*_wrap_ParamXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___len__",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (int)wxParamXArray___len__(arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= SWIG_FromInt((int)result
);
1836 static PyObject
*_wrap_ParamXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1842 PyObject
* obj1
= 0 ;
1844 (char *) "self",(char *) "idx", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ParamXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 arg2
= (int) SWIG_AsInt(obj1
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 wxParamX
const &_result_ref
= wxParamXArray___getitem__(arg1
,arg2
);
1856 result
= (wxParamX
*) &_result_ref
;
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1869 static PyObject
* ParamXArray_swigregister(PyObject
*self
, PyObject
*args
) {
1871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1872 SWIG_TypeClientData(SWIGTYPE_p_wxParamXArray
, obj
);
1874 return Py_BuildValue((char *)"");
1876 static PyObject
*_wrap_FuncXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 result
= (bool)wxFuncXArray___nonzero__(arg1
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 resultobj
= PyBool_FromLong((bool)result
);
1902 static PyObject
*_wrap_FuncXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "self", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___len__",kwnames
,&obj0
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= (int)wxFuncXArray___len__(arg1
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 resultobj
= SWIG_FromInt((int)result
);
1928 static PyObject
*_wrap_FuncXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1933 PyObject
* obj0
= 0 ;
1934 PyObject
* obj1
= 0 ;
1936 (char *) "self",(char *) "idx", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FuncXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1942 arg2
= (int) SWIG_AsInt(obj1
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 wxFuncX
const &_result_ref
= wxFuncXArray___getitem__(arg1
,arg2
);
1948 result
= (wxFuncX
*) &_result_ref
;
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
1961 static PyObject
* FuncXArray_swigregister(PyObject
*self
, PyObject
*args
) {
1963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1964 SWIG_TypeClientData(SWIGTYPE_p_wxFuncXArray
, obj
);
1966 return Py_BuildValue((char *)"");
1968 static PyObject
*_wrap_PropXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1974 (char *) "self", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (bool)wxPropXArray___nonzero__(arg1
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= PyBool_FromLong((bool)result
);
1994 static PyObject
*_wrap_PropXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "self", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___len__",kwnames
,&obj0
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (int)wxPropXArray___len__(arg1
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_FromInt((int)result
);
2020 static PyObject
*_wrap_PropXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2026 PyObject
* obj1
= 0 ;
2028 (char *) "self",(char *) "idx", NULL
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PropXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
2032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2034 arg2
= (int) SWIG_AsInt(obj1
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 wxPropX
const &_result_ref
= wxPropXArray___getitem__(arg1
,arg2
);
2040 result
= (wxPropX
*) &_result_ref
;
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2053 static PyObject
* PropXArray_swigregister(PyObject
*self
, PyObject
*args
) {
2055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2056 SWIG_TypeClientData(SWIGTYPE_p_wxPropXArray
, obj
);
2058 return Py_BuildValue((char *)"");
2060 static PyObject
*_wrap_new_ActiveXWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxWindow
*arg1
= (wxWindow
*) 0 ;
2064 int arg3
= (int) -1 ;
2065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2069 long arg6
= (long) 0 ;
2070 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2072 wxActiveXWindow
*result
;
2075 bool temp7
= False
;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2078 PyObject
* obj2
= 0 ;
2079 PyObject
* obj3
= 0 ;
2080 PyObject
* obj4
= 0 ;
2081 PyObject
* obj5
= 0 ;
2082 PyObject
* obj6
= 0 ;
2084 (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_ActiveXWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
,
2091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2094 PyErr_SetString(PyExc_TypeError
,"null reference");
2098 arg3
= (int) SWIG_AsInt(obj2
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2114 arg6
= (long) SWIG_AsLong(obj5
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2119 arg7
= wxString_in_helper(obj6
);
2120 if (arg7
== NULL
) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (wxActiveXWindow
*)new wxActiveXWindow(arg1
,(CLSID
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActiveXWindow
, 1);
2146 static PyObject
*_wrap_ActiveXWindow_GetCLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2148 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2152 (char *) "self", NULL
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetCLSID",kwnames
,&obj0
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 CLSID
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetCLSID();
2162 result
= (CLSID
*) &_result_ref
;
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 0);
2175 static PyObject
*_wrap_ActiveXWindow_GetAXEventCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2179 PyObject
* obj0
= 0 ;
2181 (char *) "self", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEventCount",kwnames
,&obj0
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXEventCount();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 resultobj
= SWIG_FromInt((int)result
);
2201 static PyObject
*_wrap_ActiveXWindow_GetAXEventDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2207 PyObject
* obj1
= 0 ;
2209 (char *) "self",(char *) "idx", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXEventDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 arg2
= (int) SWIG_AsInt(obj1
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXEventDesc(arg2
);
2221 result
= (wxFuncX
*) &_result_ref
;
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2234 static PyObject
*_wrap_ActiveXWindow_GetAXPropCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXPropCount",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXPropCount();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 resultobj
= SWIG_FromInt((int)result
);
2260 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(PyObject
*self
, PyObject
*args
) {
2261 PyObject
*resultobj
;
2262 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2271 arg2
= (int) SWIG_AsInt(obj1
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 wxPropX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXPropDesc(arg2
);
2277 result
= (wxPropX
*) &_result_ref
;
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2290 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject
*self
, PyObject
*args
) {
2291 PyObject
*resultobj
;
2292 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2293 wxString
*arg2
= 0 ;
2295 bool temp2
= False
;
2296 PyObject
* obj0
= 0 ;
2297 PyObject
* obj1
= 0 ;
2299 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 arg2
= wxString_in_helper(obj1
);
2304 if (arg2
== NULL
) SWIG_fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxPropX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXPropDesc((wxString
const &)*arg2
);
2311 result
= (wxPropX
*) &_result_ref
;
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2332 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc(PyObject
*self
, PyObject
*args
) {
2337 argc
= PyObject_Length(args
);
2338 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
2339 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2345 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2354 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
2357 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(self
,args
);
2365 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2373 _v
= SWIG_CheckInt(argv
[1]);
2375 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(self
,args
);
2380 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXPropDesc'");
2385 static PyObject
*_wrap_ActiveXWindow_GetAXMethodCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2391 (char *) "self", NULL
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethodCount",kwnames
,&obj0
)) goto fail
;
2395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXMethodCount();
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 resultobj
= SWIG_FromInt((int)result
);
2411 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(PyObject
*self
, PyObject
*args
) {
2412 PyObject
*resultobj
;
2413 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2416 PyObject
* obj0
= 0 ;
2417 PyObject
* obj1
= 0 ;
2419 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
;
2420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2422 arg2
= (int) SWIG_AsInt(obj1
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXMethodDesc(arg2
);
2428 result
= (wxFuncX
*) &_result_ref
;
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2441 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject
*self
, PyObject
*args
) {
2442 PyObject
*resultobj
;
2443 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2444 wxString
*arg2
= 0 ;
2446 bool temp2
= False
;
2447 PyObject
* obj0
= 0 ;
2448 PyObject
* obj1
= 0 ;
2450 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
;
2451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 arg2
= wxString_in_helper(obj1
);
2455 if (arg2
== NULL
) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXMethodDesc((wxString
const &)*arg2
);
2462 result
= (wxFuncX
*) &_result_ref
;
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2483 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc(PyObject
*self
, PyObject
*args
) {
2488 argc
= PyObject_Length(args
);
2489 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
2490 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2496 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2505 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
2508 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(self
,args
);
2516 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2524 _v
= SWIG_CheckInt(argv
[1]);
2526 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(self
,args
);
2531 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXMethodDesc'");
2536 static PyObject
*_wrap_ActiveXWindow_GetAXEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2539 wxFuncXArray
*result
;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEvents",kwnames
,&obj0
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 wxFuncXArray
const &_result_ref
= (arg1
)->GetAXEvents();
2552 result
= (wxFuncXArray
*) &_result_ref
;
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0);
2565 static PyObject
*_wrap_ActiveXWindow_GetAXMethods(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2568 wxFuncXArray
*result
;
2569 PyObject
* obj0
= 0 ;
2571 (char *) "self", NULL
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethods",kwnames
,&obj0
)) goto fail
;
2575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxFuncXArray
const &_result_ref
= (arg1
)->GetAXMethods();
2581 result
= (wxFuncXArray
*) &_result_ref
;
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0);
2594 static PyObject
*_wrap_ActiveXWindow_GetAXProperties(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2597 wxPropXArray
*result
;
2598 PyObject
* obj0
= 0 ;
2600 (char *) "self", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXProperties",kwnames
,&obj0
)) goto fail
;
2604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 wxPropXArray
const &_result_ref
= (arg1
)->GetAXProperties();
2610 result
= (wxPropXArray
*) &_result_ref
;
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropXArray
, 0);
2623 static PyObject
*_wrap_ActiveXWindow_SetAXProp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2626 wxString
*arg2
= 0 ;
2627 PyObject
*arg3
= (PyObject
*) 0 ;
2628 bool temp2
= False
;
2629 PyObject
* obj0
= 0 ;
2630 PyObject
* obj1
= 0 ;
2631 PyObject
* obj2
= 0 ;
2633 (char *) "self",(char *) "name",(char *) "value", NULL
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ActiveXWindow_SetAXProp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2640 arg2
= wxString_in_helper(obj1
);
2641 if (arg2
== NULL
) SWIG_fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 (arg1
)->SetAXProp((wxString
const &)*arg2
,arg3
);
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2652 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_ActiveXWindow_GetAXProp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2670 wxString
*arg2
= 0 ;
2672 bool temp2
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "name", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXProp",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2683 arg2
= wxString_in_helper(obj1
);
2684 if (arg2
== NULL
) SWIG_fail
;
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 result
= (PyObject
*)(arg1
)->GetAXProp((wxString
const &)*arg2
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2709 static PyObject
*_wrap_ActiveXWindow__CallAXMethod(PyObject
*self
, PyObject
*args
) {
2710 PyObject
*resultobj
;
2711 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2712 wxString
*arg2
= 0 ;
2713 PyObject
*arg3
= (PyObject
*) 0 ;
2715 bool temp2
= False
;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2718 PyObject
* obj2
= 0 ;
2720 if(!PyArg_ParseTuple(args
,(char *)"OOO:ActiveXWindow__CallAXMethod",&obj0
,&obj1
,&obj2
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2724 arg2
= wxString_in_helper(obj1
);
2725 if (arg2
== NULL
) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (PyObject
*)(arg1
)->_CallAXMethod((wxString
const &)*arg2
,arg3
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2751 static PyObject
* ActiveXWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2754 SWIG_TypeClientData(SWIGTYPE_p_wxActiveXWindow
, obj
);
2756 return Py_BuildValue((char *)"");
2758 static PyObject
*_wrap_RegisterActiveXEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxString
*arg1
= 0 ;
2762 bool temp1
= False
;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "eventName", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterActiveXEvent",kwnames
,&obj0
)) goto fail
;
2770 arg1
= wxString_in_helper(obj0
);
2771 if (arg1
== NULL
) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 result
= (wxEventType
)RegisterActiveXEvent((wxString
const &)*arg1
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2781 resultobj
= SWIG_FromInt((int)result
);
2796 static PyObject
*_wrap_ActiveXEvent_EventName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2800 PyObject
* obj0
= 0 ;
2802 (char *) "self", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXEvent_EventName",kwnames
,&obj0
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= (arg1
)->EventName();
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2828 static PyObject
*_wrap_ActiveXEvent__preInit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2831 PyObject
*arg2
= (PyObject
*) 0 ;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2835 (char *) "self",(char *) "pyself", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__preInit",kwnames
,&obj0
,&obj1
)) goto fail
;
2839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 wxActiveXEvent__preInit(arg1
,arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
* ActiveXEvent_swigregister(PyObject
*self
, PyObject
*args
) {
2858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxActiveXEvent
, obj
);
2861 return Py_BuildValue((char *)"");
2863 static PyObject
*_wrap_new_IEHtmlWindowBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxWindow
*arg1
= (wxWindow
*) 0 ;
2867 int arg3
= (int) -1 ;
2868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2872 long arg6
= (long) 0 ;
2873 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2875 wxIEHtmlWindowBase
*result
;
2878 bool temp7
= False
;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2883 PyObject
* obj4
= 0 ;
2884 PyObject
* obj5
= 0 ;
2885 PyObject
* obj6
= 0 ;
2887 (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_IEHtmlWindowBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2897 PyErr_SetString(PyExc_TypeError
,"null reference");
2901 arg3
= (int) SWIG_AsInt(obj2
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2917 arg6
= (long) SWIG_AsLong(obj5
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2922 arg7
= wxString_in_helper(obj6
);
2923 if (arg7
== NULL
) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxIEHtmlWindowBase
*)new wxIEHtmlWindowBase(arg1
,(CLSID
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIEHtmlWindowBase
, 1);
2949 static PyObject
*_wrap_IEHtmlWindowBase_SetCharset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
2952 wxString
*arg2
= 0 ;
2953 bool temp2
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2957 (char *) "self",(char *) "charset", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_SetCharset",kwnames
,&obj0
,&obj1
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 arg2
= wxString_in_helper(obj1
);
2965 if (arg2
== NULL
) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 (arg1
)->SetCharset((wxString
const &)*arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 Py_INCREF(Py_None
); resultobj
= Py_None
;
2990 static PyObject
*_wrap_IEHtmlWindowBase_LoadString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
*resultobj
;
2992 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
2993 wxString
*arg2
= 0 ;
2995 bool temp2
= False
;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2999 (char *) "self",(char *) "html", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadString",kwnames
,&obj0
,&obj1
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3006 arg2
= wxString_in_helper(obj1
);
3007 if (arg2
== NULL
) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (bool)(arg1
)->LoadString((wxString
const &)*arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= PyBool_FromLong((bool)result
);
3032 static PyObject
*_wrap_IEHtmlWindowBase_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3035 wxInputStream
*arg2
= (wxInputStream
*) 0 ;
3037 wxPyInputStream
*temp2
;
3039 PyObject
* obj0
= 0 ;
3040 PyObject
* obj1
= 0 ;
3042 (char *) "self",(char *) "is", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadStream",kwnames
,&obj0
,&obj1
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
3050 arg2
= temp2
->m_wxis
;
3053 PyErr_Clear(); // clear the failure of the wxPyConvert above
3054 arg2
= wxPyCBInputStream_create(obj1
, False
);
3056 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (bool)(arg1
)->LoadStream(arg2
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= PyBool_FromLong((bool)result
);
3084 static PyObject
*_wrap_IEHtmlWindowBase_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3092 (char *) "self",(char *) "asHTML", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 arg2
= (bool) SWIG_AsBool(obj1
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= (arg1
)->GetStringSelection(arg2
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3120 static PyObject
*_wrap_IEHtmlWindowBase_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3125 PyObject
* obj0
= 0 ;
3126 PyObject
* obj1
= 0 ;
3128 (char *) "self",(char *) "asHTML", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetText",kwnames
,&obj0
,&obj1
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3134 arg2
= (bool) SWIG_AsBool(obj1
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (arg1
)->GetText(arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3156 static PyObject
* IEHtmlWindowBase_swigregister(PyObject
*self
, PyObject
*args
) {
3158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3159 SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWindowBase
, obj
);
3161 return Py_BuildValue((char *)"");
3163 static PyMethodDef SwigMethods
[] = {
3164 { (char *)"new_CLSID", (PyCFunction
) _wrap_new_CLSID
, METH_VARARGS
| METH_KEYWORDS
},
3165 { (char *)"delete_CLSID", (PyCFunction
) _wrap_delete_CLSID
, METH_VARARGS
| METH_KEYWORDS
},
3166 { (char *)"CLSID_GetCLSIDString", (PyCFunction
) _wrap_CLSID_GetCLSIDString
, METH_VARARGS
| METH_KEYWORDS
},
3167 { (char *)"CLSID_GetProgIDString", (PyCFunction
) _wrap_CLSID_GetProgIDString
, METH_VARARGS
| METH_KEYWORDS
},
3168 { (char *)"CLSID_swigregister", CLSID_swigregister
, METH_VARARGS
},
3169 { (char *)"ParamX_flags_get", (PyCFunction
) _wrap_ParamX_flags_get
, METH_VARARGS
| METH_KEYWORDS
},
3170 { (char *)"ParamX_isPtr_get", (PyCFunction
) _wrap_ParamX_isPtr_get
, METH_VARARGS
| METH_KEYWORDS
},
3171 { (char *)"ParamX_isSafeArray_get", (PyCFunction
) _wrap_ParamX_isSafeArray_get
, METH_VARARGS
| METH_KEYWORDS
},
3172 { (char *)"ParamX_isOptional_get", (PyCFunction
) _wrap_ParamX_isOptional_get
, METH_VARARGS
| METH_KEYWORDS
},
3173 { (char *)"ParamX_vt_get", (PyCFunction
) _wrap_ParamX_vt_get
, METH_VARARGS
| METH_KEYWORDS
},
3174 { (char *)"ParamX_name_get", (PyCFunction
) _wrap_ParamX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3175 { (char *)"ParamX_vt_type_get", (PyCFunction
) _wrap_ParamX_vt_type_get
, METH_VARARGS
| METH_KEYWORDS
},
3176 { (char *)"ParamX_IsIn", (PyCFunction
) _wrap_ParamX_IsIn
, METH_VARARGS
| METH_KEYWORDS
},
3177 { (char *)"ParamX_IsOut", (PyCFunction
) _wrap_ParamX_IsOut
, METH_VARARGS
| METH_KEYWORDS
},
3178 { (char *)"ParamX_IsRetVal", (PyCFunction
) _wrap_ParamX_IsRetVal
, METH_VARARGS
| METH_KEYWORDS
},
3179 { (char *)"ParamX_swigregister", ParamX_swigregister
, METH_VARARGS
},
3180 { (char *)"FuncX_name_get", (PyCFunction
) _wrap_FuncX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3181 { (char *)"FuncX_memid_get", (PyCFunction
) _wrap_FuncX_memid_get
, METH_VARARGS
| METH_KEYWORDS
},
3182 { (char *)"FuncX_hasOut_get", (PyCFunction
) _wrap_FuncX_hasOut_get
, METH_VARARGS
| METH_KEYWORDS
},
3183 { (char *)"FuncX_retType_get", (PyCFunction
) _wrap_FuncX_retType_get
, METH_VARARGS
| METH_KEYWORDS
},
3184 { (char *)"FuncX_params_get", (PyCFunction
) _wrap_FuncX_params_get
, METH_VARARGS
| METH_KEYWORDS
},
3185 { (char *)"FuncX_swigregister", FuncX_swigregister
, METH_VARARGS
},
3186 { (char *)"PropX_name_get", (PyCFunction
) _wrap_PropX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3187 { (char *)"PropX_memid_get", (PyCFunction
) _wrap_PropX_memid_get
, METH_VARARGS
| METH_KEYWORDS
},
3188 { (char *)"PropX_type_get", (PyCFunction
) _wrap_PropX_type_get
, METH_VARARGS
| METH_KEYWORDS
},
3189 { (char *)"PropX_arg_get", (PyCFunction
) _wrap_PropX_arg_get
, METH_VARARGS
| METH_KEYWORDS
},
3190 { (char *)"PropX_putByRef_get", (PyCFunction
) _wrap_PropX_putByRef_get
, METH_VARARGS
| METH_KEYWORDS
},
3191 { (char *)"PropX_CanGet", (PyCFunction
) _wrap_PropX_CanGet
, METH_VARARGS
| METH_KEYWORDS
},
3192 { (char *)"PropX_CanSet", (PyCFunction
) _wrap_PropX_CanSet
, METH_VARARGS
| METH_KEYWORDS
},
3193 { (char *)"PropX_swigregister", PropX_swigregister
, METH_VARARGS
},
3194 { (char *)"ParamXArray___nonzero__", (PyCFunction
) _wrap_ParamXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3195 { (char *)"ParamXArray___len__", (PyCFunction
) _wrap_ParamXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3196 { (char *)"ParamXArray___getitem__", (PyCFunction
) _wrap_ParamXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3197 { (char *)"ParamXArray_swigregister", ParamXArray_swigregister
, METH_VARARGS
},
3198 { (char *)"FuncXArray___nonzero__", (PyCFunction
) _wrap_FuncXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3199 { (char *)"FuncXArray___len__", (PyCFunction
) _wrap_FuncXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3200 { (char *)"FuncXArray___getitem__", (PyCFunction
) _wrap_FuncXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3201 { (char *)"FuncXArray_swigregister", FuncXArray_swigregister
, METH_VARARGS
},
3202 { (char *)"PropXArray___nonzero__", (PyCFunction
) _wrap_PropXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3203 { (char *)"PropXArray___len__", (PyCFunction
) _wrap_PropXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3204 { (char *)"PropXArray___getitem__", (PyCFunction
) _wrap_PropXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3205 { (char *)"PropXArray_swigregister", PropXArray_swigregister
, METH_VARARGS
},
3206 { (char *)"new_ActiveXWindow", (PyCFunction
) _wrap_new_ActiveXWindow
, METH_VARARGS
| METH_KEYWORDS
},
3207 { (char *)"ActiveXWindow_GetCLSID", (PyCFunction
) _wrap_ActiveXWindow_GetCLSID
, METH_VARARGS
| METH_KEYWORDS
},
3208 { (char *)"ActiveXWindow_GetAXEventCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventCount
, METH_VARARGS
| METH_KEYWORDS
},
3209 { (char *)"ActiveXWindow_GetAXEventDesc", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventDesc
, METH_VARARGS
| METH_KEYWORDS
},
3210 { (char *)"ActiveXWindow_GetAXPropCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXPropCount
, METH_VARARGS
| METH_KEYWORDS
},
3211 { (char *)"ActiveXWindow_GetAXPropDesc", _wrap_ActiveXWindow_GetAXPropDesc
, METH_VARARGS
},
3212 { (char *)"ActiveXWindow_GetAXMethodCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethodCount
, METH_VARARGS
| METH_KEYWORDS
},
3213 { (char *)"ActiveXWindow_GetAXMethodDesc", _wrap_ActiveXWindow_GetAXMethodDesc
, METH_VARARGS
},
3214 { (char *)"ActiveXWindow_GetAXEvents", (PyCFunction
) _wrap_ActiveXWindow_GetAXEvents
, METH_VARARGS
| METH_KEYWORDS
},
3215 { (char *)"ActiveXWindow_GetAXMethods", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethods
, METH_VARARGS
| METH_KEYWORDS
},
3216 { (char *)"ActiveXWindow_GetAXProperties", (PyCFunction
) _wrap_ActiveXWindow_GetAXProperties
, METH_VARARGS
| METH_KEYWORDS
},
3217 { (char *)"ActiveXWindow_SetAXProp", (PyCFunction
) _wrap_ActiveXWindow_SetAXProp
, METH_VARARGS
| METH_KEYWORDS
},
3218 { (char *)"ActiveXWindow_GetAXProp", (PyCFunction
) _wrap_ActiveXWindow_GetAXProp
, METH_VARARGS
| METH_KEYWORDS
},
3219 { (char *)"ActiveXWindow__CallAXMethod", _wrap_ActiveXWindow__CallAXMethod
, METH_VARARGS
},
3220 { (char *)"ActiveXWindow_swigregister", ActiveXWindow_swigregister
, METH_VARARGS
},
3221 { (char *)"RegisterActiveXEvent", (PyCFunction
) _wrap_RegisterActiveXEvent
, METH_VARARGS
| METH_KEYWORDS
},
3222 { (char *)"ActiveXEvent_EventName", (PyCFunction
) _wrap_ActiveXEvent_EventName
, METH_VARARGS
| METH_KEYWORDS
},
3223 { (char *)"ActiveXEvent__preInit", (PyCFunction
) _wrap_ActiveXEvent__preInit
, METH_VARARGS
| METH_KEYWORDS
},
3224 { (char *)"ActiveXEvent_swigregister", ActiveXEvent_swigregister
, METH_VARARGS
},
3225 { (char *)"new_IEHtmlWindowBase", (PyCFunction
) _wrap_new_IEHtmlWindowBase
, METH_VARARGS
| METH_KEYWORDS
},
3226 { (char *)"IEHtmlWindowBase_SetCharset", (PyCFunction
) _wrap_IEHtmlWindowBase_SetCharset
, METH_VARARGS
| METH_KEYWORDS
},
3227 { (char *)"IEHtmlWindowBase_LoadString", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadString
, METH_VARARGS
| METH_KEYWORDS
},
3228 { (char *)"IEHtmlWindowBase_LoadStream", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
3229 { (char *)"IEHtmlWindowBase_GetStringSelection", (PyCFunction
) _wrap_IEHtmlWindowBase_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3230 { (char *)"IEHtmlWindowBase_GetText", (PyCFunction
) _wrap_IEHtmlWindowBase_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3231 { (char *)"IEHtmlWindowBase_swigregister", IEHtmlWindowBase_swigregister
, METH_VARARGS
},
3236 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3238 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
3239 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
3241 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
3242 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
3244 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
3245 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
3247 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
3248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
3250 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
3251 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
3253 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
3254 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
3256 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
3257 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
3259 static void *_p_wxSizerTo_p_wxObject(void *x
) {
3260 return (void *)((wxObject
*) ((wxSizer
*) x
));
3262 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
3263 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
3265 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
3266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3268 static void *_p_wxEventTo_p_wxObject(void *x
) {
3269 return (void *)((wxObject
*) ((wxEvent
*) x
));
3271 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
3272 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
3274 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
3275 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
3277 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
3278 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
3280 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
3281 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
3283 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
3284 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
3286 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
3287 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3289 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
3290 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3292 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
3293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3295 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
3296 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3298 static void *_p_wxControlTo_p_wxObject(void *x
) {
3299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
3301 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
3302 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
3304 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
3305 return (void *)((wxObject
*) ((wxFSFile
*) x
));
3307 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
3308 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
3310 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
3311 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
3313 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
3314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3316 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
3317 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
3319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
3320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
3322 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
3323 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
3325 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
3326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3328 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
3329 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3331 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
3332 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
3334 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
3335 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
3337 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
3338 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
3340 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
3341 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
3343 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
3344 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
3346 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
3347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
3349 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
3350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
3352 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
3353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
3355 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
3356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
3358 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
3359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
3361 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
3362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
3364 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
3365 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
3367 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
3368 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
3370 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
3371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
3373 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
3374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
3376 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
3377 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
3379 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
3380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
3382 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
3383 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
3385 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
3386 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
3388 static void *_p_wxImageTo_p_wxObject(void *x
) {
3389 return (void *)((wxObject
*) ((wxImage
*) x
));
3391 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
3392 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
3394 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
3395 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3397 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
3398 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3400 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
3401 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
3403 static void *_p_wxActiveXWindowTo_p_wxObject(void *x
) {
3404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxActiveXWindow
*) x
));
3406 static void *_p_wxWindowTo_p_wxObject(void *x
) {
3407 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
3409 static void *_p_wxMenuTo_p_wxObject(void *x
) {
3410 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
3412 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
3413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
3415 static void *_p_wxActiveXEventTo_p_wxObject(void *x
) {
3416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3418 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
3419 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
3421 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
3422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3424 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
3425 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
3427 static void *_p_wxIEHtmlWindowBaseTo_p_wxObject(void *x
) {
3428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3430 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
3431 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
3433 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
3434 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
3436 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
3437 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
3439 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
3440 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
3442 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
3443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3445 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
3446 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
3448 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
3449 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
3451 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
3452 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
3454 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
3455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3457 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
3458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3460 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
3461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
3463 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
3464 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
3466 static void *_p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow(void *x
) {
3467 return (void *)((wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3469 static void *_p_wxControlTo_p_wxWindow(void *x
) {
3470 return (void *)((wxWindow
*) ((wxControl
*) x
));
3472 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
3473 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
3475 static void *_p_wxActiveXWindowTo_p_wxWindow(void *x
) {
3476 return (void *)((wxWindow
*) ((wxActiveXWindow
*) x
));
3478 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
3479 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
3481 static void *_p_wxIEHtmlWindowBaseTo_p_wxWindow(void *x
) {
3482 return (void *)((wxWindow
*) (wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3484 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
3485 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3487 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
3488 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
3490 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
3491 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3493 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
3494 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3496 static void *_p_wxActiveXEventTo_p_wxCommandEvent(void *x
) {
3497 return (void *)((wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3499 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
3500 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3502 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
3503 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3505 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
3506 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3508 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
3509 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3511 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
3512 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
3514 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
3515 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
3517 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
3518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3520 static void *_p_wxActiveXWindowTo_p_wxEvtHandler(void *x
) {
3521 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxActiveXWindow
*) x
));
3523 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
3524 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
3526 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
3527 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
3529 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
3530 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
3532 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
3533 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
3535 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
3536 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
3538 static void *_p_wxIEHtmlWindowBaseTo_p_wxEvtHandler(void *x
) {
3539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3541 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
3542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3544 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
3545 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
3547 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
3548 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
3550 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
3551 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
3553 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
3554 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
3556 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
3557 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
3559 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
3560 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
3562 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
3563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
3565 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
3566 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
3568 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
3569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3571 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
3572 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
3574 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
3575 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3577 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
3578 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3580 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
3581 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
3583 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
3584 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
3586 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
3587 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
3589 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
3590 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
3592 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
3593 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
3595 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
3596 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
3598 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
3599 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
3601 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
3602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3604 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
3605 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3607 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
3608 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3610 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
3611 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3613 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
3614 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3616 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
3617 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
3619 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
3620 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
3622 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
3623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3625 static void *_p_wxActiveXEventTo_p_wxEvent(void *x
) {
3626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3628 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
3629 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
3631 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
3632 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
3634 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
3635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3637 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
3638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3640 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
3641 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3643 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
3644 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
3646 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
3647 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
3649 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActiveXEvent", _p_wxActiveXEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActiveXWindow", _p_wxActiveXWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWindowBase", _p_wxIEHtmlWindowBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3650 static swig_type_info _swigt__p_wxFuncX
[] = {{"_p_wxFuncX", 0, "wxFuncX *", 0, 0, 0, 0},{"_p_wxFuncX", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3651 static swig_type_info _swigt__p_wxActiveXWindow
[] = {{"_p_wxActiveXWindow", 0, "wxActiveXWindow *", 0, 0, 0, 0},{"_p_wxActiveXWindow", 0, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWindowBase", _p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3652 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxActiveXWindow", _p_wxActiveXWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWindowBase", _p_wxIEHtmlWindowBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3653 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxActiveXEvent", _p_wxActiveXEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3654 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3655 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3656 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxActiveXWindow", _p_wxActiveXWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxIEHtmlWindowBase", _p_wxIEHtmlWindowBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3657 static swig_type_info _swigt__p_wxPropX
[] = {{"_p_wxPropX", 0, "wxPropX *", 0, 0, 0, 0},{"_p_wxPropX", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3658 static swig_type_info _swigt__p_wxFuncXArray
[] = {{"_p_wxFuncXArray", 0, "wxFuncXArray *", 0, 0, 0, 0},{"_p_wxFuncXArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3659 static swig_type_info _swigt__p_wxParamXArray
[] = {{"_p_wxParamXArray", 0, "wxParamXArray *", 0, 0, 0, 0},{"_p_wxParamXArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3660 static swig_type_info _swigt__p_wxActiveXEvent
[] = {{"_p_wxActiveXEvent", 0, "wxActiveXEvent *", 0, 0, 0, 0},{"_p_wxActiveXEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3661 static swig_type_info _swigt__p_wxParamX
[] = {{"_p_wxParamX", 0, "wxParamX *", 0, 0, 0, 0},{"_p_wxParamX", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3662 static swig_type_info _swigt__p_wxIEHtmlWindowBase
[] = {{"_p_wxIEHtmlWindowBase", 0, "wxIEHtmlWindowBase *", 0, 0, 0, 0},{"_p_wxIEHtmlWindowBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3663 static swig_type_info _swigt__p_wxPropXArray
[] = {{"_p_wxPropXArray", 0, "wxPropXArray *", 0, 0, 0, 0},{"_p_wxPropXArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3664 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActiveXEvent", _p_wxActiveXEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3665 static swig_type_info _swigt__p_CLSID
[] = {{"_p_CLSID", 0, "CLSID *", 0, 0, 0, 0},{"_p_CLSID", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
3667 static swig_type_info
*swig_types_initial
[] = {
3670 _swigt__p_wxActiveXWindow
,
3672 _swigt__p_wxCommandEvent
,
3674 _swigt__p_wxInputStream
,
3675 _swigt__p_wxEvtHandler
,
3677 _swigt__p_wxFuncXArray
,
3678 _swigt__p_wxParamXArray
,
3679 _swigt__p_wxActiveXEvent
,
3681 _swigt__p_wxIEHtmlWindowBase
,
3682 _swigt__p_wxPropXArray
,
3689 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
3691 static swig_const_info swig_const_table
[] = {
3701 SWIGEXPORT(void) SWIG_init(void) {
3702 static PyObject
*SWIG_globals
= 0;
3703 static int typeinit
= 0;
3706 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
3707 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
3708 d
= PyModule_GetDict(m
);
3711 for (i
= 0; swig_types_initial
[i
]; i
++) {
3712 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
3716 SWIG_InstallConstants(d
,swig_const_table
);