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 bool _PyObj2Variant(PyObject
* value
, wxVariant
& wv
);
303 static PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
=False
);
304 static wxString
_VARTYPEname(VARTYPE vt
);
306 // Check if an exception has been raised (blocking threads)
307 inline bool wxPyErr_Occurred()
310 bool blocked
= wxPyBeginBlockThreads();
311 rval
= PyErr_Occurred() != NULL
;
312 wxPyEndBlockThreads(blocked
);
317 CLSID
*new_CLSID(wxString
const &id
){
319 CLSID
* self
= new CLSID
;
320 memset(self
, 0, sizeof(CLSID
));
322 if (id
[0] == _T('{')) {
323 // Looks like a classID string
326 (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
),
332 (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
),
335 if (result
!= NOERROR
) {
336 wxPyErr_SetString(PyExc_ValueError
, "Not a recognized classID or progID");
342 void delete_CLSID(CLSID
*self
){ delete self
; }
343 wxString
CLSID_GetCLSIDString(CLSID
*self
){
346 if (StringFromCLSID(*self
, &s
) == S_OK
) {
351 str
= _T("Error!"); // TODO: raise exception?
355 wxString
CLSID_GetProgIDString(CLSID
*self
){
358 if (ProgIDFromCLSID(*self
, &s
) == S_OK
) {
363 str
= _T("Error!"); // TODO: raise exception?
367 wxString
wxParamX_vt_type_get(wxParamX
*self
){ return _VARTYPEname(self
->vt
); }
368 bool wxParamXArray___nonzero__(wxParamXArray
*self
){ return self
->size() > 0; }
369 int wxParamXArray___len__(wxParamXArray
*self
){ return self
->size(); }
374 SWIGSTATICINLINE(long)
375 SWIG_CheckLongInRange(long value
, const char* type
,
376 long min_value
, long max_value
)
378 if (!PyErr_Occurred()) {
379 if (value
< min_value
) {
381 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
382 value
, type
, min_value
);
384 PyErr_SetObject(PyExc_OverflowError
, err
);
386 } else if (value
> max_value
) {
388 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
389 value
, type
, max_value
);
390 PyErr_SetObject(PyExc_OverflowError
, err
);
398 SWIGSTATICINLINE(long)
399 SWIG_AsLong(PyObject
* obj
)
401 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
405 #if INT_MAX != LONG_MAX
406 SWIGSTATICINLINE(int)
407 SWIG_AsInt(PyObject
*obj
)
409 return swig_numeric_cast(int,
410 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
411 "int", INT_MIN
, INT_MAX
));
414 #define SWIG_AsInt SWIG_AsLong
418 SWIGSTATICINLINE(int)
419 SWIG_CheckInt(PyObject
* obj
)
422 if (PyErr_Occurred()) {
430 wxParamX
const &wxParamXArray___getitem__(wxParamXArray
*self
,int idx
){
431 if ( idx
>= 0 && idx
< self
->size() )
434 static wxParamX BadVal
;
435 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
439 bool wxFuncXArray___nonzero__(wxFuncXArray
*self
){ return self
->size() > 0; }
440 int wxFuncXArray___len__(wxFuncXArray
*self
){ return self
->size(); }
441 wxFuncX
const &wxFuncXArray___getitem__(wxFuncXArray
*self
,int idx
){
442 if ( idx
>= 0 && idx
< self
->size() )
445 static wxFuncX BadVal
;
446 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
450 bool wxPropXArray___nonzero__(wxPropXArray
*self
){ return self
->size() > 0; }
451 int wxPropXArray___len__(wxPropXArray
*self
){ return self
->size(); }
452 wxPropX
const &wxPropXArray___getitem__(wxPropXArray
*self
,int idx
){
453 if ( idx
>= 0 && idx
< self
->size() )
456 static wxPropX BadVal
;
457 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
462 // C++ version of a Python-aware wxActiveX
463 class wxActiveXWindow
: public wxActiveX
468 wxActiveXWindow( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id
= -1,
469 const wxPoint
& pos
= wxDefaultPosition
,
470 const wxSize
& size
= wxDefaultSize
,
472 const wxString
& name
= wxPyPanelNameStr
)
473 : wxActiveX(parent
, clsId
, id
, pos
, size
, style
, name
)
478 const CLSID
& GetCLSID() const { return m_CLSID
; }
481 // Renamed versions of some base class methods that delegate
482 // to the base where appropriate, and raise Python exceptions
484 int GetAXEventCount() const { return wxActiveX::GetEventCount(); }
485 int GetAXPropCount() const { return wxActiveX::GetPropCount(); }
486 int GetAXMethodCount() const { return wxActiveX::GetMethodCount(); }
488 const wxFuncX
& GetAXEventDesc(int idx
) const
490 static wxFuncX BadVal
;
491 if (idx
< 0 || idx
>= GetAXEventCount()) {
492 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
495 return m_events
[idx
];
497 const wxFuncX
& GetAXMethodDesc(int idx
) const
499 static wxFuncX BadVal
;
500 if (idx
< 0 || idx
>= GetAXMethodCount()) {
501 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
504 return m_methods
[idx
];
506 const wxPropX
& GetAXPropDesc(int idx
) const
508 static wxPropX BadVal
;
509 if (idx
< 0 || idx
>= GetAXPropCount()) {
510 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
516 const wxFuncX
& GetAXMethodDesc(const wxString
& name
) const
518 NameMap::const_iterator it
= m_methodNames
.find(name
);
519 if (it
== m_methodNames
.end()) {
521 msg
<< _T("method <") << name
<< _T("> not found");
522 wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str());
523 static wxFuncX BadVal
;
526 return GetAXMethodDesc(it
->second
);
528 const wxPropX
& GetAXPropDesc(const wxString
& name
) const
530 NameMap::const_iterator it
= m_propNames
.find(name
);
531 if (it
== m_propNames
.end()) {
533 msg
<< _T("property <") << name
<< _T("> not found");
534 wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str());
535 static wxPropX BadVal
;
538 return GetAXPropDesc(it
->second
);
541 // Accessors for the internal vectors of events, methods and
542 // proprties. Can be used as sequence like objects from
544 const wxFuncXArray
& GetAXEvents() { return m_events
; }
545 const wxFuncXArray
& GetAXMethods() { return m_methods
; }
546 const wxPropXArray
& GetAXProperties() { return m_props
; }
549 // Set a property from a Python object
550 void SetAXProp(const wxString
& name
, PyObject
* value
)
552 const wxPropX
& prop
= GetAXPropDesc(name
);
553 bool blocked
= wxPyBeginBlockThreads();
554 if (! PyErr_Occurred() ) {
555 if (! prop
.CanSet()) {
557 msg
<< _T("property <") << name
<< _T("> is readonly");
558 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
561 wxVariant wxV
= _PyObj2Variant(value
);
562 if (PyErr_Occurred())
564 VARIANT v
= {prop
.arg
.vt
};
565 if (!VariantToMSWVariant(wxV
, v
) || PyErr_Occurred()) {
567 msg
<< _T("Unable to convert value to expected type: (")
568 << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <")
570 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
573 PyThreadState
* tstate
= wxPyBeginAllowThreads();
574 SetProp(prop
.memid
, v
);
576 wxPyEndAllowThreads(tstate
);
580 wxPyEndBlockThreads(blocked
);
584 // Get a property and convert it to a Python object
585 PyObject
* GetAXProp(const wxString
& name
)
587 PyObject
* rval
= NULL
;
588 const wxPropX
& prop
= GetAXPropDesc(name
);
589 bool blocked
= wxPyBeginBlockThreads();
590 if (! PyErr_Occurred() ) {
591 if (! prop
.CanGet()) {
593 msg
<< _T("property <") << name
<< _T("> is writeonly");
594 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
597 PyThreadState
* tstate
= wxPyBeginAllowThreads();
598 VARIANT v
= GetPropAsVariant(prop
.memid
);
599 wxPyEndAllowThreads(tstate
);
601 if (!MSWVariantToVariant(v
, wv
) || PyErr_Occurred()) {
603 msg
<< _T("Unable to convert value to expected type: (")
604 << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <")
606 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
609 rval
= _Variant2PyObj(wv
);
614 wxPyEndBlockThreads(blocked
);
619 // If both IsIn and isOut are false, assume it is actually an
621 bool paramIsIn(const wxParamX
& p
)
623 return p
.IsIn() || (!p
.IsIn() && !p
.IsOut());
627 // Call a method of the ActiveX object
628 PyObject
* _CallAXMethod(const wxString
& name
, PyObject
* args
)
630 VARIANTARG
*vargs
= NULL
;
632 PyObject
* rval
= NULL
;
633 const wxFuncX
& func
= GetAXMethodDesc(name
);
635 bool blocked
= wxPyBeginBlockThreads();
636 if (! PyErr_Occurred() ) {
637 nargs
= func
.params
.size();
639 vargs
= new VARIANTARG
[nargs
];
642 // init type of vargs, in reverse order
644 for (i
= 0; i
< nargs
; i
++)
645 vargs
[nargs
- i
- 1].vt
= func
.params
[i
].vt
;
647 // Map the args coming from Python to the input parameters in vargs
650 while ( i
<nargs
&& pi
<PyTuple_Size(args
) ) {
651 // Move to the next input param.
652 if (! paramIsIn(func
.params
[i
])) {
656 // convert the python object
657 PyObject
* obj
= PyTuple_GetItem(args
, pi
);
658 if (obj
== Py_None
) // special-case None?
659 vargs
[nargs
- i
- 1].vt
= VT_EMPTY
;
661 wxVariant wxV
= _PyObj2Variant(obj
);
662 if (PyErr_Occurred())
664 if (!VariantToMSWVariant(wxV
, vargs
[nargs
- i
- 1]) || PyErr_Occurred()) {
666 msg
<< _T("Unable to convert value to expected type: (")
667 << _VARTYPEname(vargs
[nargs
- i
- 1].vt
)
668 << _T(") for parameter ") << i
;
669 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
679 PyThreadState
* tstate
= wxPyBeginAllowThreads();
680 VARIANT rv
= CallMethod(func
.memid
, vargs
, nargs
);
681 wxPyEndAllowThreads(tstate
);
683 // Convert the return value and any out-params, ignoring
684 // conversion errors for now
686 MSWVariantToVariant(rv
, wv
);
687 rval
= _Variant2PyObj(wv
, True
);
691 // make a list and put the rval in it if it is not None
692 PyObject
* lst
= PyList_New(0);
694 PyList_Append(lst
, rval
);
698 // find the out params and convert them
699 for (int i
= 0; i
< nargs
; i
++) {
700 VARIANTARG
& va
= vargs
[nargs
- i
- 1];
701 const wxParamX
&px
= func
.params
[i
];
703 MSWVariantToVariant(va
, wv
);
704 PyObject
* obj
= _Variant2PyObj(wv
, True
);
705 PyList_Append(lst
, obj
);
708 rval
= PyList_AsTuple(lst
);
711 if (PyErr_Occurred())
715 wxPyEndBlockThreads(blocked
);
717 for (int i
= 0; i
< nargs
; i
++)
718 VariantClear(&vargs
[i
]);
726 SWIGSTATICINLINE(int)
727 SWIG_CheckLong(PyObject
* obj
)
730 if (PyErr_Occurred()) {
738 void wxActiveXEvent__preCallInit(wxActiveXEvent
*self
,PyObject
*pyself
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* pList
= PyList_New(0);
741 PyObject_SetAttrString(pyself
, "paramList", pList
);
743 for (int i
=0; i
<self
->ParamCount(); i
+=1) {
744 PyObject
* name
= PyString_FromString((char*)(const char*)self
->ParamName(i
).mb_str());
745 PyObject
* val
= _Variant2PyObj((*self
)[i
], True
);
746 PyObject_SetAttr(pyself
, name
, val
);
747 PyList_Append(pList
, name
);
751 wxPyEndBlockThreads(blocked
);
753 void wxActiveXEvent__postCallCleanup(wxActiveXEvent
*self
,PyObject
*pyself
){
754 bool blocked
= wxPyBeginBlockThreads();
755 for (int i
=0; i
<self
->ParamCount(); i
+=1) {
756 PyObject
* val
= PyObject_GetAttrString(
757 pyself
, (char*)(const char*)self
->ParamName(i
).mb_str());
758 _PyObj2Variant(val
, (*self
)[i
]);
761 wxPyEndBlockThreads(blocked
);
765 // Caller should already have the GIL!
766 wxVariant
_PyObj2Variant(PyObject
* value
)
770 if (value
== Py_None
)
773 #if PYTHON_API_VERSION >= 1012 // Python 2.3+
774 else if (PyBool_Check(value
))
775 rval
= (value
== Py_True
) ? true : false;
778 else if (PyInt_Check(value
))
779 rval
= PyInt_AS_LONG(value
);
781 else if (PyFloat_Check(value
))
782 rval
= PyFloat_AS_DOUBLE(value
);
784 else if (PyString_Check(value
) || PyUnicode_Check(value
))
785 rval
= Py2wxString(value
);
787 // TODO: PyList of strings --> wxArrayString
793 PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _PyObj2Variant");
800 // This one uses the type of the variant to try and force the conversion
801 bool _PyObj2Variant(PyObject
* value
, wxVariant
& wv
)
803 wxString type
= wv
.GetType();
805 if ( type
== _T("long") || type
== _T("bool") || type
== _T("char") )
806 wv
= PyInt_AsLong(value
);
808 else if ( type
== _T("string") )
809 wv
= Py2wxString(value
);
811 else if ( type
== _T("double") )
812 wv
= PyFloat_AsDouble(value
);
815 // it's some other type that we dont' handle yet. Log it?
821 // Caller should already have the GIL!
822 PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
)
824 PyObject
* rval
= NULL
;
826 if (value
.IsNull()) {
831 // should "char" be treated as an int or as a string?
832 else if (value
.IsType(_T("char")) || value
.IsType(_T("long")))
833 rval
= PyInt_FromLong(value
);
835 else if (value
.IsType(_T("double")))
836 rval
= PyFloat_FromDouble(value
);
838 else if (value
.IsType(_T("bool"))) {
839 rval
= (bool)value
? Py_True
: Py_False
;
843 else if (value
.IsType(_T("string")))
844 rval
= wx2PyString(value
);
852 PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _Variant2PyObj");
859 wxString
_VARTYPEname(VARTYPE vt
)
866 return _T("VT_VARIANT");
886 // decimals are converted from doubles too
894 return _T("wx.DateTime");
900 return _T("VT_UNKNOWN");
903 return _T("VT_DISPATCH");
906 return _T("VT_EMPTY");
909 return _T("VT_NULL");
912 return _T("VT_VOID");
916 msg
<< _T("unsupported type ") << vt
;
923 // A class derived from out wxActiveXWindow for the IE WebBrowser
924 // control that will serve as a base class for a Python
925 // implementation. This is done so we can "eat our own dog food"
926 // and use a class at least mostly generated by genaxmodule, but
927 // also get some of the extra stuff like loading a document from
928 // a string or a stream, getting text contents, etc. that
929 // Lindsay's version gives us.
932 #include <wx/mstream.h>
934 #include <winerror.h>
935 #include <exdispid.h>
941 #include "IEHtmlStream.h"
943 class wxIEHtmlWindowBase
: public wxActiveXWindow
{
945 wxAutoOleInterface
<IWebBrowser2
> m_webBrowser
;
949 wxIEHtmlWindowBase ( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id
= -1,
950 const wxPoint
& pos
= wxDefaultPosition
,
951 const wxSize
& size
= wxDefaultSize
,
953 const wxString
& name
= wxPyPanelNameStr
)
954 : wxActiveXWindow(parent
, clsId
, id
, pos
, size
, style
, name
)
958 // Get IWebBrowser2 Interface
959 hret
= m_webBrowser
.QueryInterface(IID_IWebBrowser2
, m_ActiveX
);
960 wxASSERT(SUCCEEDED(hret
));
963 m_webBrowser
->put_MenuBar(VARIANT_FALSE
);
964 m_webBrowser
->put_AddressBar(VARIANT_FALSE
);
965 m_webBrowser
->put_StatusBar(VARIANT_FALSE
);
966 m_webBrowser
->put_ToolBar(VARIANT_FALSE
);
968 m_webBrowser
->put_RegisterAsBrowser(VARIANT_TRUE
);
969 m_webBrowser
->put_RegisterAsDropTarget(VARIANT_TRUE
);
971 m_webBrowser
->Navigate( L
"about:blank", NULL
, NULL
, NULL
, NULL
);
975 void SetCharset(const wxString
& charset
)
980 IDispatch
*pDisp
= NULL
;
981 hret
= m_webBrowser
->get_Document(&pDisp
);
982 wxAutoOleInterface
<IDispatch
> disp(pDisp
);
986 wxAutoOleInterface
<IHTMLDocument2
> doc(IID_IHTMLDocument2
, disp
);
988 doc
->put_charset((BSTR
) (const wchar_t *) charset
.wc_str(wxConvUTF8
));
989 //doc->put_charset((BSTR) wxConvUTF8.cMB2WC(charset).data());
994 bool LoadString(const wxString
& html
)
997 size_t len
= html
.length();
998 len
*= sizeof(wxChar
);
999 data
= (char *) malloc(len
);
1000 memcpy(data
, html
.c_str(), len
);
1001 return LoadStream(new wxOwnedMemInputStream(data
, len
));
1005 bool LoadStream(IStreamAdaptorBase
*pstrm
)
1007 // need to prepend this as poxy MSHTML will not recognise a HTML comment
1008 // as starting a html document and treats it as plain text
1009 // Does nayone know how to force it to html mode ?
1011 // TODO: What to do in this case???
1013 pstrm
->prepend
= _T("<html>");
1016 // strip leading whitespace as it can confuse MSHTML
1017 wxAutoOleInterface
<IStream
> strm(pstrm
);
1019 // Document Interface
1020 IDispatch
*pDisp
= NULL
;
1021 HRESULT hret
= m_webBrowser
->get_Document(&pDisp
);
1024 wxAutoOleInterface
<IDispatch
> disp(pDisp
);
1027 // get IPersistStreamInit
1028 wxAutoOleInterface
<IPersistStreamInit
>
1029 pPersistStreamInit(IID_IPersistStreamInit
, disp
);
1031 if (pPersistStreamInit
.Ok())
1033 HRESULT hr
= pPersistStreamInit
->InitNew();
1035 hr
= pPersistStreamInit
->Load(strm
);
1037 return SUCCEEDED(hr
);
1043 bool LoadStream(wxInputStream
*is
)
1045 // wrap reference around stream
1046 IwxStreamAdaptor
*pstrm
= new IwxStreamAdaptor(is
);
1049 return LoadStream(pstrm
);
1053 wxString
GetStringSelection(bool asHTML
)
1055 wxAutoOleInterface
<IHTMLTxtRange
> tr(wxieGetSelRange(m_oleObject
));
1057 return wxEmptyString
;
1060 HRESULT hr
= E_FAIL
;
1063 hr
= tr
->get_htmlText(&text
);
1065 hr
= tr
->get_text(&text
);
1067 return wxEmptyString
;
1070 SysFreeString(text
);
1075 wxString
GetText(bool asHTML
)
1077 if (! m_webBrowser
.Ok())
1078 return wxEmptyString
;
1080 // get document dispatch interface
1081 IDispatch
*iDisp
= NULL
;
1082 HRESULT hr
= m_webBrowser
->get_Document(&iDisp
);
1084 return wxEmptyString
;
1086 // Query for Document Interface
1087 wxAutoOleInterface
<IHTMLDocument2
> hd(IID_IHTMLDocument2
, iDisp
);
1091 return wxEmptyString
;
1094 IHTMLElement
*_body
= NULL
;
1095 hd
->get_body(&_body
);
1097 return wxEmptyString
;
1098 wxAutoOleInterface
<IHTMLElement
> body(_body
);
1105 hr
= body
->get_innerHTML(&text
);
1107 hr
= body
->get_innerText(&text
);
1109 return wxEmptyString
;
1112 SysFreeString(text
);
1118 // void wxIEHtmlWin::SetEditMode(bool seton)
1120 // m_bAmbientUserMode = ! seton;
1121 // AmbientPropertyChanged(DISPID_AMBIENT_USERMODE);
1124 // bool wxIEHtmlWin::GetEditMode()
1126 // return ! m_bAmbientUserMode;
1131 SWIGSTATICINLINE(bool)
1132 SWIG_AsBool(PyObject
*obj
)
1134 return PyObject_IsTrue(obj
) ? true : false;
1138 SWIGSTATICINLINE(int)
1139 SWIG_CheckBool(PyObject
* obj
)
1142 if (PyErr_Occurred()) {
1153 static PyObject
*_wrap_new_CLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
*resultobj
;
1155 wxString
*arg1
= 0 ;
1157 bool temp1
= False
;
1158 PyObject
* obj0
= 0 ;
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CLSID",kwnames
,&obj0
)) goto fail
;
1165 arg1
= wxString_in_helper(obj0
);
1166 if (arg1
== NULL
) SWIG_fail
;
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 result
= (CLSID
*)new_CLSID((wxString
const &)*arg1
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 1);
1191 static PyObject
*_wrap_delete_CLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
*resultobj
;
1193 CLSID
*arg1
= (CLSID
*) 0 ;
1194 PyObject
* obj0
= 0 ;
1196 (char *) "self", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_CLSID",kwnames
,&obj0
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 Py_INCREF(Py_None
); resultobj
= Py_None
;
1216 static PyObject
*_wrap_CLSID_GetCLSIDString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1218 CLSID
*arg1
= (CLSID
*) 0 ;
1220 PyObject
* obj0
= 0 ;
1222 (char *) "self", NULL
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetCLSIDString",kwnames
,&obj0
)) goto fail
;
1226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 result
= CLSID_GetCLSIDString(arg1
);
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) SWIG_fail
;
1237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1248 static PyObject
*_wrap_CLSID_GetProgIDString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
*resultobj
;
1250 CLSID
*arg1
= (CLSID
*) 0 ;
1252 PyObject
* obj0
= 0 ;
1254 (char *) "self", NULL
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetProgIDString",kwnames
,&obj0
)) goto fail
;
1258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 result
= CLSID_GetProgIDString(arg1
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) SWIG_fail
;
1269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1280 static PyObject
* CLSID_swigregister(PyObject
*self
, PyObject
*args
) {
1282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1283 SWIG_TypeClientData(SWIGTYPE_p_CLSID
, obj
);
1285 return Py_BuildValue((char *)"");
1287 static PyObject
*_wrap_ParamX_flags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1289 wxParamX
*arg1
= (wxParamX
*) 0 ;
1291 PyObject
* obj0
= 0 ;
1293 (char *) "self", NULL
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_flags_get",kwnames
,&obj0
)) goto fail
;
1297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1299 result
= (USHORT
) ((arg1
)->flags
);
1301 resultobj
= SWIG_FromUnsignedShort((unsigned short)result
);
1308 static PyObject
*_wrap_ParamX_isPtr_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxParamX
*arg1
= (wxParamX
*) 0 ;
1312 PyObject
* obj0
= 0 ;
1314 (char *) "self", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isPtr_get",kwnames
,&obj0
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1320 result
= (bool) ((arg1
)->isPtr
);
1323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1331 static PyObject
*_wrap_ParamX_isSafeArray_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_isSafeArray_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
= (bool) ((arg1
)->isSafeArray
);
1346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1354 static PyObject
*_wrap_ParamX_isOptional_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
*resultobj
;
1356 wxParamX
*arg1
= (wxParamX
*) 0 ;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isOptional_get",kwnames
,&obj0
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1366 result
= (bool) ((arg1
)->isOptional
);
1369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1377 static PyObject
*_wrap_ParamX_vt_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxParamX
*arg1
= (wxParamX
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1383 (char *) "self", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_get",kwnames
,&obj0
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1389 result
= (VARTYPE
) ((arg1
)->vt
);
1391 resultobj
= SWIG_FromUnsignedShort((unsigned short)result
);
1398 static PyObject
*_wrap_ParamX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxParamX
*arg1
= (wxParamX
*) 0 ;
1402 PyObject
* obj0
= 0 ;
1404 (char *) "self", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_name_get",kwnames
,&obj0
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1410 result
= (wxString
*)& ((arg1
)->name
);
1414 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1416 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1425 static PyObject
*_wrap_ParamX_vt_type_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxParamX
*arg1
= (wxParamX
*) 0 ;
1429 PyObject
* obj0
= 0 ;
1431 (char *) "self", NULL
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_type_get",kwnames
,&obj0
)) goto fail
;
1435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 result
= wxParamX_vt_type_get(arg1
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1457 static PyObject
*_wrap_ParamX_IsIn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxParamX
*arg1
= (wxParamX
*) 0 ;
1461 PyObject
* obj0
= 0 ;
1463 (char *) "self", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsIn",kwnames
,&obj0
)) goto fail
;
1467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 result
= (bool)((wxParamX
const *)arg1
)->IsIn();
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1485 static PyObject
*_wrap_ParamX_IsOut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxParamX
*arg1
= (wxParamX
*) 0 ;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "self", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsOut",kwnames
,&obj0
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 result
= (bool)((wxParamX
const *)arg1
)->IsOut();
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1513 static PyObject
*_wrap_ParamX_IsRetVal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxParamX
*arg1
= (wxParamX
*) 0 ;
1517 PyObject
* obj0
= 0 ;
1519 (char *) "self", NULL
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsRetVal",kwnames
,&obj0
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 result
= (bool)((wxParamX
const *)arg1
)->IsRetVal();
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1541 static PyObject
* ParamX_swigregister(PyObject
*self
, PyObject
*args
) {
1543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1544 SWIG_TypeClientData(SWIGTYPE_p_wxParamX
, obj
);
1546 return Py_BuildValue((char *)"");
1548 static PyObject
*_wrap_FuncX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_name_get",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1560 result
= (wxString
*)& ((arg1
)->name
);
1564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1575 static PyObject
*_wrap_FuncX_memid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1577 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1579 PyObject
* obj0
= 0 ;
1581 (char *) "self", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_memid_get",kwnames
,&obj0
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1587 result
= (MEMBERID
) ((arg1
)->memid
);
1589 resultobj
= SWIG_FromLong((long)result
);
1596 static PyObject
*_wrap_FuncX_hasOut_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1600 PyObject
* obj0
= 0 ;
1602 (char *) "self", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_hasOut_get",kwnames
,&obj0
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 result
= (bool) ((arg1
)->hasOut
);
1611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1619 static PyObject
*_wrap_FuncX_retType_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_retType_get",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1631 result
= (wxParamX
*)& ((arg1
)->retType
);
1633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1640 static PyObject
*_wrap_FuncX_params_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1643 wxParamXArray
*result
;
1644 PyObject
* obj0
= 0 ;
1646 (char *) "self", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_params_get",kwnames
,&obj0
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 result
= (wxParamXArray
*)& ((arg1
)->params
);
1654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamXArray
, 0);
1661 static PyObject
* FuncX_swigregister(PyObject
*self
, PyObject
*args
) {
1663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1664 SWIG_TypeClientData(SWIGTYPE_p_wxFuncX
, obj
);
1666 return Py_BuildValue((char *)"");
1668 static PyObject
*_wrap_PropX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxPropX
*arg1
= (wxPropX
*) 0 ;
1672 PyObject
* obj0
= 0 ;
1674 (char *) "self", NULL
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_name_get",kwnames
,&obj0
)) goto fail
;
1678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1680 result
= (wxString
*)& ((arg1
)->name
);
1684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1695 static PyObject
*_wrap_PropX_memid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxPropX
*arg1
= (wxPropX
*) 0 ;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_memid_get",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1707 result
= (MEMBERID
) ((arg1
)->memid
);
1709 resultobj
= SWIG_FromLong((long)result
);
1716 static PyObject
*_wrap_PropX_type_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxPropX
*arg1
= (wxPropX
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "self", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_type_get",kwnames
,&obj0
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1728 result
= (wxParamX
*)& ((arg1
)->type
);
1730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1737 static PyObject
*_wrap_PropX_arg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxPropX
*arg1
= (wxPropX
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1743 (char *) "self", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_arg_get",kwnames
,&obj0
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 result
= (wxParamX
*)& ((arg1
)->arg
);
1751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1758 static PyObject
*_wrap_PropX_putByRef_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1760 wxPropX
*arg1
= (wxPropX
*) 0 ;
1762 PyObject
* obj0
= 0 ;
1764 (char *) "self", NULL
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_putByRef_get",kwnames
,&obj0
)) goto fail
;
1768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1770 result
= (bool) ((arg1
)->putByRef
);
1773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1781 static PyObject
*_wrap_PropX_CanGet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxPropX
*arg1
= (wxPropX
*) 0 ;
1785 PyObject
* obj0
= 0 ;
1787 (char *) "self", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanGet",kwnames
,&obj0
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 result
= (bool)((wxPropX
const *)arg1
)->CanGet();
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1809 static PyObject
*_wrap_PropX_CanSet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxPropX
*arg1
= (wxPropX
*) 0 ;
1813 PyObject
* obj0
= 0 ;
1815 (char *) "self", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanSet",kwnames
,&obj0
)) goto fail
;
1819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (bool)((wxPropX
const *)arg1
)->CanSet();
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1837 static PyObject
* PropX_swigregister(PyObject
*self
, PyObject
*args
) {
1839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1840 SWIG_TypeClientData(SWIGTYPE_p_wxPropX
, obj
);
1842 return Py_BuildValue((char *)"");
1844 static PyObject
*_wrap_ParamXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1848 PyObject
* obj0
= 0 ;
1850 (char *) "self", NULL
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= (bool)wxParamXArray___nonzero__(arg1
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1872 static PyObject
*_wrap_ParamXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___len__",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)wxParamXArray___len__(arg1
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
*_wrap_ParamXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1906 (char *) "self",(char *) "idx", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ParamXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 arg2
= (int) SWIG_AsInt(obj1
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 wxParamX
const &_result_ref
= wxParamXArray___getitem__(arg1
,arg2
);
1918 result
= (wxParamX
*) &_result_ref
;
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1931 static PyObject
* ParamXArray_swigregister(PyObject
*self
, PyObject
*args
) {
1933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1934 SWIG_TypeClientData(SWIGTYPE_p_wxParamXArray
, obj
);
1936 return Py_BuildValue((char *)"");
1938 static PyObject
*_wrap_FuncXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1942 PyObject
* obj0
= 0 ;
1944 (char *) "self", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 result
= (bool)wxFuncXArray___nonzero__(arg1
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1966 static PyObject
*_wrap_FuncXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1970 PyObject
* obj0
= 0 ;
1972 (char *) "self", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___len__",kwnames
,&obj0
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 result
= (int)wxFuncXArray___len__(arg1
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 resultobj
= SWIG_FromInt((int)result
);
1992 static PyObject
*_wrap_FuncXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
2000 (char *) "self",(char *) "idx", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FuncXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2006 arg2
= (int) SWIG_AsInt(obj1
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 wxFuncX
const &_result_ref
= wxFuncXArray___getitem__(arg1
,arg2
);
2012 result
= (wxFuncX
*) &_result_ref
;
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2025 static PyObject
* FuncXArray_swigregister(PyObject
*self
, PyObject
*args
) {
2027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2028 SWIG_TypeClientData(SWIGTYPE_p_wxFuncXArray
, obj
);
2030 return Py_BuildValue((char *)"");
2032 static PyObject
*_wrap_PropXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (bool)wxPropXArray___nonzero__(arg1
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2060 static PyObject
*_wrap_PropXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2066 (char *) "self", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___len__",kwnames
,&obj0
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (int)wxPropXArray___len__(arg1
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_FromInt((int)result
);
2086 static PyObject
*_wrap_PropXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2091 PyObject
* obj0
= 0 ;
2092 PyObject
* obj1
= 0 ;
2094 (char *) "self",(char *) "idx", NULL
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PropXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
2098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2100 arg2
= (int) SWIG_AsInt(obj1
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 wxPropX
const &_result_ref
= wxPropXArray___getitem__(arg1
,arg2
);
2106 result
= (wxPropX
*) &_result_ref
;
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2119 static PyObject
* PropXArray_swigregister(PyObject
*self
, PyObject
*args
) {
2121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2122 SWIG_TypeClientData(SWIGTYPE_p_wxPropXArray
, obj
);
2124 return Py_BuildValue((char *)"");
2126 static PyObject
*_wrap_new_ActiveXWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxWindow
*arg1
= (wxWindow
*) 0 ;
2130 int arg3
= (int) -1 ;
2131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2135 long arg6
= (long) 0 ;
2136 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2138 wxActiveXWindow
*result
;
2141 bool temp7
= False
;
2142 PyObject
* obj0
= 0 ;
2143 PyObject
* obj1
= 0 ;
2144 PyObject
* obj2
= 0 ;
2145 PyObject
* obj3
= 0 ;
2146 PyObject
* obj4
= 0 ;
2147 PyObject
* obj5
= 0 ;
2148 PyObject
* obj6
= 0 ;
2150 (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_ActiveXWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2160 PyErr_SetString(PyExc_TypeError
,"null reference");
2164 arg3
= (int) SWIG_AsInt(obj2
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2180 arg6
= (long) SWIG_AsLong(obj5
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2185 arg7
= wxString_in_helper(obj6
);
2186 if (arg7
== NULL
) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 result
= (wxActiveXWindow
*)new wxActiveXWindow(arg1
,(CLSID
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActiveXWindow
, 1);
2212 static PyObject
*_wrap_ActiveXWindow_GetCLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetCLSID",kwnames
,&obj0
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 CLSID
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetCLSID();
2228 result
= (CLSID
*) &_result_ref
;
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 0);
2241 static PyObject
*_wrap_ActiveXWindow_GetAXEventCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2247 (char *) "self", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEventCount",kwnames
,&obj0
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXEventCount();
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 resultobj
= SWIG_FromInt((int)result
);
2267 static PyObject
*_wrap_ActiveXWindow_GetAXEventDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2273 PyObject
* obj1
= 0 ;
2275 (char *) "self",(char *) "idx", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXEventDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 arg2
= (int) SWIG_AsInt(obj1
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXEventDesc(arg2
);
2287 result
= (wxFuncX
*) &_result_ref
;
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2300 static PyObject
*_wrap_ActiveXWindow_GetAXPropCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2302 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2306 (char *) "self", NULL
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXPropCount",kwnames
,&obj0
)) goto fail
;
2310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXPropCount();
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2319 resultobj
= SWIG_FromInt((int)result
);
2326 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(PyObject
*self
, PyObject
*args
) {
2327 PyObject
*resultobj
;
2328 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2332 PyObject
* obj1
= 0 ;
2334 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2337 arg2
= (int) SWIG_AsInt(obj1
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 wxPropX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXPropDesc(arg2
);
2343 result
= (wxPropX
*) &_result_ref
;
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2356 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject
*self
, PyObject
*args
) {
2357 PyObject
*resultobj
;
2358 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2359 wxString
*arg2
= 0 ;
2361 bool temp2
= False
;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj1
= 0 ;
2365 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
;
2366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2369 arg2
= wxString_in_helper(obj1
);
2370 if (arg2
== NULL
) SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 wxPropX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXPropDesc((wxString
const &)*arg2
);
2377 result
= (wxPropX
*) &_result_ref
;
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2398 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc(PyObject
*self
, PyObject
*args
) {
2403 argc
= PyObject_Length(args
);
2404 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
2405 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2420 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
2423 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(self
,args
);
2431 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2439 _v
= SWIG_CheckInt(argv
[1]);
2441 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(self
,args
);
2446 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXPropDesc'");
2451 static PyObject
*_wrap_ActiveXWindow_GetAXMethodCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
*resultobj
;
2453 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2457 (char *) "self", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethodCount",kwnames
,&obj0
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXMethodCount();
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= SWIG_FromInt((int)result
);
2477 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(PyObject
*self
, PyObject
*args
) {
2478 PyObject
*resultobj
;
2479 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2483 PyObject
* obj1
= 0 ;
2485 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 arg2
= (int) SWIG_AsInt(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXMethodDesc(arg2
);
2494 result
= (wxFuncX
*) &_result_ref
;
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2507 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject
*self
, PyObject
*args
) {
2508 PyObject
*resultobj
;
2509 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2510 wxString
*arg2
= 0 ;
2512 bool temp2
= False
;
2513 PyObject
* obj0
= 0 ;
2514 PyObject
* obj1
= 0 ;
2516 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
;
2517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2520 arg2
= wxString_in_helper(obj1
);
2521 if (arg2
== NULL
) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXMethodDesc((wxString
const &)*arg2
);
2528 result
= (wxFuncX
*) &_result_ref
;
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2549 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc(PyObject
*self
, PyObject
*args
) {
2554 argc
= PyObject_Length(args
);
2555 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
2556 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2571 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
2574 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(self
,args
);
2582 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2590 _v
= SWIG_CheckInt(argv
[1]);
2592 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(self
,args
);
2597 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXMethodDesc'");
2602 static PyObject
*_wrap_ActiveXWindow_GetAXEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2605 wxFuncXArray
*result
;
2606 PyObject
* obj0
= 0 ;
2608 (char *) "self", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEvents",kwnames
,&obj0
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxFuncXArray
const &_result_ref
= (arg1
)->GetAXEvents();
2618 result
= (wxFuncXArray
*) &_result_ref
;
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0);
2631 static PyObject
*_wrap_ActiveXWindow_GetAXMethods(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2634 wxFuncXArray
*result
;
2635 PyObject
* obj0
= 0 ;
2637 (char *) "self", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethods",kwnames
,&obj0
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 wxFuncXArray
const &_result_ref
= (arg1
)->GetAXMethods();
2647 result
= (wxFuncXArray
*) &_result_ref
;
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0);
2660 static PyObject
*_wrap_ActiveXWindow_GetAXProperties(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2663 wxPropXArray
*result
;
2664 PyObject
* obj0
= 0 ;
2666 (char *) "self", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXProperties",kwnames
,&obj0
)) goto fail
;
2670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 wxPropXArray
const &_result_ref
= (arg1
)->GetAXProperties();
2676 result
= (wxPropXArray
*) &_result_ref
;
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropXArray
, 0);
2689 static PyObject
*_wrap_ActiveXWindow_SetAXProp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2692 wxString
*arg2
= 0 ;
2693 PyObject
*arg3
= (PyObject
*) 0 ;
2694 bool temp2
= False
;
2695 PyObject
* obj0
= 0 ;
2696 PyObject
* obj1
= 0 ;
2697 PyObject
* obj2
= 0 ;
2699 (char *) "self",(char *) "name",(char *) "value", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ActiveXWindow_SetAXProp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2706 arg2
= wxString_in_helper(obj1
);
2707 if (arg2
== NULL
) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 (arg1
)->SetAXProp((wxString
const &)*arg2
,arg3
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_ActiveXWindow_GetAXProp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2736 wxString
*arg2
= 0 ;
2738 bool temp2
= False
;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2742 (char *) "self",(char *) "name", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXProp",kwnames
,&obj0
,&obj1
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 arg2
= wxString_in_helper(obj1
);
2750 if (arg2
== NULL
) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= (PyObject
*)(arg1
)->GetAXProp((wxString
const &)*arg2
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2775 static PyObject
*_wrap_ActiveXWindow__CallAXMethod(PyObject
*self
, PyObject
*args
) {
2776 PyObject
*resultobj
;
2777 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2778 wxString
*arg2
= 0 ;
2779 PyObject
*arg3
= (PyObject
*) 0 ;
2781 bool temp2
= False
;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2784 PyObject
* obj2
= 0 ;
2786 if(!PyArg_ParseTuple(args
,(char *)"OOO:ActiveXWindow__CallAXMethod",&obj0
,&obj1
,&obj2
)) goto fail
;
2787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2790 arg2
= wxString_in_helper(obj1
);
2791 if (arg2
== NULL
) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (PyObject
*)(arg1
)->_CallAXMethod((wxString
const &)*arg2
,arg3
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2817 static PyObject
* ActiveXWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2820 SWIG_TypeClientData(SWIGTYPE_p_wxActiveXWindow
, obj
);
2822 return Py_BuildValue((char *)"");
2824 static PyObject
*_wrap_RegisterActiveXEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxString
*arg1
= 0 ;
2828 bool temp1
= False
;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "eventName", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterActiveXEvent",kwnames
,&obj0
)) goto fail
;
2836 arg1
= wxString_in_helper(obj0
);
2837 if (arg1
== NULL
) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (wxEventType
)RegisterActiveXEvent((wxString
const &)*arg1
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_ActiveXEvent_EventName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXEvent_EventName",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= (arg1
)->EventName();
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2894 static PyObject
*_wrap_ActiveXEvent__preCallInit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2897 PyObject
*arg2
= (PyObject
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2899 PyObject
* obj1
= 0 ;
2901 (char *) "self",(char *) "pyself", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__preCallInit",kwnames
,&obj0
,&obj1
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxActiveXEvent__preCallInit(arg1
,arg2
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 Py_INCREF(Py_None
); resultobj
= Py_None
;
2922 static PyObject
*_wrap_ActiveXEvent__postCallCleanup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2925 PyObject
*arg2
= (PyObject
*) 0 ;
2926 PyObject
* obj0
= 0 ;
2927 PyObject
* obj1
= 0 ;
2929 (char *) "self",(char *) "pyself", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__postCallCleanup",kwnames
,&obj0
,&obj1
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 wxActiveXEvent__postCallCleanup(arg1
,arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
* ActiveXEvent_swigregister(PyObject
*self
, PyObject
*args
) {
2952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2953 SWIG_TypeClientData(SWIGTYPE_p_wxActiveXEvent
, obj
);
2955 return Py_BuildValue((char *)"");
2957 static PyObject
*_wrap_new_IEHtmlWindowBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxWindow
*arg1
= (wxWindow
*) 0 ;
2961 int arg3
= (int) -1 ;
2962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2966 long arg6
= (long) 0 ;
2967 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2969 wxIEHtmlWindowBase
*result
;
2972 bool temp7
= False
;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2975 PyObject
* obj2
= 0 ;
2976 PyObject
* obj3
= 0 ;
2977 PyObject
* obj4
= 0 ;
2978 PyObject
* obj5
= 0 ;
2979 PyObject
* obj6
= 0 ;
2981 (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_IEHtmlWindowBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2991 PyErr_SetString(PyExc_TypeError
,"null reference");
2995 arg3
= (int) SWIG_AsInt(obj2
);
2996 if (PyErr_Occurred()) SWIG_fail
;
3001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3011 arg6
= (long) SWIG_AsLong(obj5
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3016 arg7
= wxString_in_helper(obj6
);
3017 if (arg7
== NULL
) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= (wxIEHtmlWindowBase
*)new wxIEHtmlWindowBase(arg1
,(CLSID
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIEHtmlWindowBase
, 1);
3043 static PyObject
*_wrap_IEHtmlWindowBase_SetCharset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3046 wxString
*arg2
= 0 ;
3047 bool temp2
= False
;
3048 PyObject
* obj0
= 0 ;
3049 PyObject
* obj1
= 0 ;
3051 (char *) "self",(char *) "charset", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_SetCharset",kwnames
,&obj0
,&obj1
)) goto fail
;
3055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3058 arg2
= wxString_in_helper(obj1
);
3059 if (arg2
== NULL
) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 (arg1
)->SetCharset((wxString
const &)*arg2
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 Py_INCREF(Py_None
); resultobj
= Py_None
;
3084 static PyObject
*_wrap_IEHtmlWindowBase_LoadString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3087 wxString
*arg2
= 0 ;
3089 bool temp2
= False
;
3090 PyObject
* obj0
= 0 ;
3091 PyObject
* obj1
= 0 ;
3093 (char *) "self",(char *) "html", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadString",kwnames
,&obj0
,&obj1
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 arg2
= wxString_in_helper(obj1
);
3101 if (arg2
== NULL
) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= (bool)(arg1
)->LoadString((wxString
const &)*arg2
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3128 static PyObject
*_wrap_IEHtmlWindowBase_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3131 wxInputStream
*arg2
= (wxInputStream
*) 0 ;
3133 wxPyInputStream
*temp2
;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "is", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadStream",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
3146 arg2
= temp2
->m_wxis
;
3149 PyErr_Clear(); // clear the failure of the wxPyConvert above
3150 arg2
= wxPyCBInputStream_create(obj1
, False
);
3152 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= (bool)(arg1
)->LoadStream(arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3182 static PyObject
*_wrap_IEHtmlWindowBase_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3190 (char *) "self",(char *) "asHTML", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3196 arg2
= (bool) SWIG_AsBool(obj1
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (arg1
)->GetStringSelection(arg2
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3218 static PyObject
*_wrap_IEHtmlWindowBase_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3226 (char *) "self",(char *) "asHTML", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetText",kwnames
,&obj0
,&obj1
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg2
= (bool) SWIG_AsBool(obj1
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 result
= (arg1
)->GetText(arg2
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3254 static PyObject
* IEHtmlWindowBase_swigregister(PyObject
*self
, PyObject
*args
) {
3256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWindowBase
, obj
);
3259 return Py_BuildValue((char *)"");
3261 static PyMethodDef SwigMethods
[] = {
3262 { (char *)"new_CLSID", (PyCFunction
) _wrap_new_CLSID
, METH_VARARGS
| METH_KEYWORDS
},
3263 { (char *)"delete_CLSID", (PyCFunction
) _wrap_delete_CLSID
, METH_VARARGS
| METH_KEYWORDS
},
3264 { (char *)"CLSID_GetCLSIDString", (PyCFunction
) _wrap_CLSID_GetCLSIDString
, METH_VARARGS
| METH_KEYWORDS
},
3265 { (char *)"CLSID_GetProgIDString", (PyCFunction
) _wrap_CLSID_GetProgIDString
, METH_VARARGS
| METH_KEYWORDS
},
3266 { (char *)"CLSID_swigregister", CLSID_swigregister
, METH_VARARGS
},
3267 { (char *)"ParamX_flags_get", (PyCFunction
) _wrap_ParamX_flags_get
, METH_VARARGS
| METH_KEYWORDS
},
3268 { (char *)"ParamX_isPtr_get", (PyCFunction
) _wrap_ParamX_isPtr_get
, METH_VARARGS
| METH_KEYWORDS
},
3269 { (char *)"ParamX_isSafeArray_get", (PyCFunction
) _wrap_ParamX_isSafeArray_get
, METH_VARARGS
| METH_KEYWORDS
},
3270 { (char *)"ParamX_isOptional_get", (PyCFunction
) _wrap_ParamX_isOptional_get
, METH_VARARGS
| METH_KEYWORDS
},
3271 { (char *)"ParamX_vt_get", (PyCFunction
) _wrap_ParamX_vt_get
, METH_VARARGS
| METH_KEYWORDS
},
3272 { (char *)"ParamX_name_get", (PyCFunction
) _wrap_ParamX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3273 { (char *)"ParamX_vt_type_get", (PyCFunction
) _wrap_ParamX_vt_type_get
, METH_VARARGS
| METH_KEYWORDS
},
3274 { (char *)"ParamX_IsIn", (PyCFunction
) _wrap_ParamX_IsIn
, METH_VARARGS
| METH_KEYWORDS
},
3275 { (char *)"ParamX_IsOut", (PyCFunction
) _wrap_ParamX_IsOut
, METH_VARARGS
| METH_KEYWORDS
},
3276 { (char *)"ParamX_IsRetVal", (PyCFunction
) _wrap_ParamX_IsRetVal
, METH_VARARGS
| METH_KEYWORDS
},
3277 { (char *)"ParamX_swigregister", ParamX_swigregister
, METH_VARARGS
},
3278 { (char *)"FuncX_name_get", (PyCFunction
) _wrap_FuncX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3279 { (char *)"FuncX_memid_get", (PyCFunction
) _wrap_FuncX_memid_get
, METH_VARARGS
| METH_KEYWORDS
},
3280 { (char *)"FuncX_hasOut_get", (PyCFunction
) _wrap_FuncX_hasOut_get
, METH_VARARGS
| METH_KEYWORDS
},
3281 { (char *)"FuncX_retType_get", (PyCFunction
) _wrap_FuncX_retType_get
, METH_VARARGS
| METH_KEYWORDS
},
3282 { (char *)"FuncX_params_get", (PyCFunction
) _wrap_FuncX_params_get
, METH_VARARGS
| METH_KEYWORDS
},
3283 { (char *)"FuncX_swigregister", FuncX_swigregister
, METH_VARARGS
},
3284 { (char *)"PropX_name_get", (PyCFunction
) _wrap_PropX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3285 { (char *)"PropX_memid_get", (PyCFunction
) _wrap_PropX_memid_get
, METH_VARARGS
| METH_KEYWORDS
},
3286 { (char *)"PropX_type_get", (PyCFunction
) _wrap_PropX_type_get
, METH_VARARGS
| METH_KEYWORDS
},
3287 { (char *)"PropX_arg_get", (PyCFunction
) _wrap_PropX_arg_get
, METH_VARARGS
| METH_KEYWORDS
},
3288 { (char *)"PropX_putByRef_get", (PyCFunction
) _wrap_PropX_putByRef_get
, METH_VARARGS
| METH_KEYWORDS
},
3289 { (char *)"PropX_CanGet", (PyCFunction
) _wrap_PropX_CanGet
, METH_VARARGS
| METH_KEYWORDS
},
3290 { (char *)"PropX_CanSet", (PyCFunction
) _wrap_PropX_CanSet
, METH_VARARGS
| METH_KEYWORDS
},
3291 { (char *)"PropX_swigregister", PropX_swigregister
, METH_VARARGS
},
3292 { (char *)"ParamXArray___nonzero__", (PyCFunction
) _wrap_ParamXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3293 { (char *)"ParamXArray___len__", (PyCFunction
) _wrap_ParamXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3294 { (char *)"ParamXArray___getitem__", (PyCFunction
) _wrap_ParamXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3295 { (char *)"ParamXArray_swigregister", ParamXArray_swigregister
, METH_VARARGS
},
3296 { (char *)"FuncXArray___nonzero__", (PyCFunction
) _wrap_FuncXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3297 { (char *)"FuncXArray___len__", (PyCFunction
) _wrap_FuncXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3298 { (char *)"FuncXArray___getitem__", (PyCFunction
) _wrap_FuncXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3299 { (char *)"FuncXArray_swigregister", FuncXArray_swigregister
, METH_VARARGS
},
3300 { (char *)"PropXArray___nonzero__", (PyCFunction
) _wrap_PropXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3301 { (char *)"PropXArray___len__", (PyCFunction
) _wrap_PropXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3302 { (char *)"PropXArray___getitem__", (PyCFunction
) _wrap_PropXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3303 { (char *)"PropXArray_swigregister", PropXArray_swigregister
, METH_VARARGS
},
3304 { (char *)"new_ActiveXWindow", (PyCFunction
) _wrap_new_ActiveXWindow
, METH_VARARGS
| METH_KEYWORDS
},
3305 { (char *)"ActiveXWindow_GetCLSID", (PyCFunction
) _wrap_ActiveXWindow_GetCLSID
, METH_VARARGS
| METH_KEYWORDS
},
3306 { (char *)"ActiveXWindow_GetAXEventCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventCount
, METH_VARARGS
| METH_KEYWORDS
},
3307 { (char *)"ActiveXWindow_GetAXEventDesc", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventDesc
, METH_VARARGS
| METH_KEYWORDS
},
3308 { (char *)"ActiveXWindow_GetAXPropCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXPropCount
, METH_VARARGS
| METH_KEYWORDS
},
3309 { (char *)"ActiveXWindow_GetAXPropDesc", _wrap_ActiveXWindow_GetAXPropDesc
, METH_VARARGS
},
3310 { (char *)"ActiveXWindow_GetAXMethodCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethodCount
, METH_VARARGS
| METH_KEYWORDS
},
3311 { (char *)"ActiveXWindow_GetAXMethodDesc", _wrap_ActiveXWindow_GetAXMethodDesc
, METH_VARARGS
},
3312 { (char *)"ActiveXWindow_GetAXEvents", (PyCFunction
) _wrap_ActiveXWindow_GetAXEvents
, METH_VARARGS
| METH_KEYWORDS
},
3313 { (char *)"ActiveXWindow_GetAXMethods", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethods
, METH_VARARGS
| METH_KEYWORDS
},
3314 { (char *)"ActiveXWindow_GetAXProperties", (PyCFunction
) _wrap_ActiveXWindow_GetAXProperties
, METH_VARARGS
| METH_KEYWORDS
},
3315 { (char *)"ActiveXWindow_SetAXProp", (PyCFunction
) _wrap_ActiveXWindow_SetAXProp
, METH_VARARGS
| METH_KEYWORDS
},
3316 { (char *)"ActiveXWindow_GetAXProp", (PyCFunction
) _wrap_ActiveXWindow_GetAXProp
, METH_VARARGS
| METH_KEYWORDS
},
3317 { (char *)"ActiveXWindow__CallAXMethod", _wrap_ActiveXWindow__CallAXMethod
, METH_VARARGS
},
3318 { (char *)"ActiveXWindow_swigregister", ActiveXWindow_swigregister
, METH_VARARGS
},
3319 { (char *)"RegisterActiveXEvent", (PyCFunction
) _wrap_RegisterActiveXEvent
, METH_VARARGS
| METH_KEYWORDS
},
3320 { (char *)"ActiveXEvent_EventName", (PyCFunction
) _wrap_ActiveXEvent_EventName
, METH_VARARGS
| METH_KEYWORDS
},
3321 { (char *)"ActiveXEvent__preCallInit", (PyCFunction
) _wrap_ActiveXEvent__preCallInit
, METH_VARARGS
| METH_KEYWORDS
},
3322 { (char *)"ActiveXEvent__postCallCleanup", (PyCFunction
) _wrap_ActiveXEvent__postCallCleanup
, METH_VARARGS
| METH_KEYWORDS
},
3323 { (char *)"ActiveXEvent_swigregister", ActiveXEvent_swigregister
, METH_VARARGS
},
3324 { (char *)"new_IEHtmlWindowBase", (PyCFunction
) _wrap_new_IEHtmlWindowBase
, METH_VARARGS
| METH_KEYWORDS
},
3325 { (char *)"IEHtmlWindowBase_SetCharset", (PyCFunction
) _wrap_IEHtmlWindowBase_SetCharset
, METH_VARARGS
| METH_KEYWORDS
},
3326 { (char *)"IEHtmlWindowBase_LoadString", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadString
, METH_VARARGS
| METH_KEYWORDS
},
3327 { (char *)"IEHtmlWindowBase_LoadStream", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
3328 { (char *)"IEHtmlWindowBase_GetStringSelection", (PyCFunction
) _wrap_IEHtmlWindowBase_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3329 { (char *)"IEHtmlWindowBase_GetText", (PyCFunction
) _wrap_IEHtmlWindowBase_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3330 { (char *)"IEHtmlWindowBase_swigregister", IEHtmlWindowBase_swigregister
, METH_VARARGS
},
3335 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3337 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
3338 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
3340 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
3341 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
3343 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
3344 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
3346 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
3347 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
3349 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
3350 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
3352 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
3353 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
3355 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
3356 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
3358 static void *_p_wxSizerTo_p_wxObject(void *x
) {
3359 return (void *)((wxObject
*) ((wxSizer
*) x
));
3361 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
3362 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
3364 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
3365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3367 static void *_p_wxEventTo_p_wxObject(void *x
) {
3368 return (void *)((wxObject
*) ((wxEvent
*) x
));
3370 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
3371 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
3373 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
3374 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
3376 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
3377 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
3379 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
3380 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
3382 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
3383 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
3385 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
3386 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3388 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
3389 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3391 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
3392 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3394 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
3395 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3397 static void *_p_wxControlTo_p_wxObject(void *x
) {
3398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
3400 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
3401 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
3403 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
3404 return (void *)((wxObject
*) ((wxFSFile
*) x
));
3406 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
3407 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
3409 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
3410 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
3412 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
3413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3415 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
3416 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
3418 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
3419 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
3421 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
3422 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
3424 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
3425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3427 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
3428 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3430 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
3431 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
3433 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
3434 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
3436 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
3437 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
3439 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
3440 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
3442 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
3443 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
3445 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
3446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
3448 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
3449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
3451 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
3452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
3454 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
3455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
3457 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
3458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
3460 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
3461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
3463 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
3464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
3466 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
3467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
3469 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
3470 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
3472 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
3473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
3475 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
3476 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
3478 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
3479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
3481 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
3482 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
3484 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
3485 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
3487 static void *_p_wxImageTo_p_wxObject(void *x
) {
3488 return (void *)((wxObject
*) ((wxImage
*) x
));
3490 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
3491 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
3493 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
3494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3496 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
3497 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3499 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
3500 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
3502 static void *_p_wxActiveXWindowTo_p_wxObject(void *x
) {
3503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxActiveXWindow
*) x
));
3505 static void *_p_wxWindowTo_p_wxObject(void *x
) {
3506 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
3508 static void *_p_wxMenuTo_p_wxObject(void *x
) {
3509 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
3511 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
3512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
3514 static void *_p_wxActiveXEventTo_p_wxObject(void *x
) {
3515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3517 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
3518 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
3520 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
3521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3523 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
3524 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
3526 static void *_p_wxIEHtmlWindowBaseTo_p_wxObject(void *x
) {
3527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3529 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
3530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
3532 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
3533 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
3535 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
3536 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
3538 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
3539 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
3541 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
3542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3544 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
3545 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
3547 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
3548 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
3550 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
3551 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
3553 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
3554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3556 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
3557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3559 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
3560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
3562 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
3563 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
3565 static void *_p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow(void *x
) {
3566 return (void *)((wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3568 static void *_p_wxControlTo_p_wxWindow(void *x
) {
3569 return (void *)((wxWindow
*) ((wxControl
*) x
));
3571 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
3572 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
3574 static void *_p_wxActiveXWindowTo_p_wxWindow(void *x
) {
3575 return (void *)((wxWindow
*) ((wxActiveXWindow
*) x
));
3577 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
3578 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
3580 static void *_p_wxIEHtmlWindowBaseTo_p_wxWindow(void *x
) {
3581 return (void *)((wxWindow
*) (wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3583 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
3584 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3586 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
3587 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
3589 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
3590 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3592 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
3593 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3595 static void *_p_wxActiveXEventTo_p_wxCommandEvent(void *x
) {
3596 return (void *)((wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3598 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
3599 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3601 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
3602 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3604 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
3605 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3607 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
3608 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3610 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
3611 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
3613 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
3614 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
3616 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
3617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3619 static void *_p_wxActiveXWindowTo_p_wxEvtHandler(void *x
) {
3620 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxActiveXWindow
*) x
));
3622 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
3623 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
3625 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
3626 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
3628 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
3629 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
3631 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
3632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
3634 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
3635 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
3637 static void *_p_wxIEHtmlWindowBaseTo_p_wxEvtHandler(void *x
) {
3638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3640 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
3641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3643 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
3644 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
3646 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
3647 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
3649 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
3650 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
3652 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
3653 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
3655 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
3656 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
3658 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
3659 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
3661 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
3662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
3664 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
3665 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
3667 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
3668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3670 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
3671 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
3673 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
3674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3676 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
3677 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3679 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
3680 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
3682 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
3683 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
3685 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
3686 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
3688 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
3689 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
3691 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
3692 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
3694 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
3695 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
3697 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
3698 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
3700 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
3701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3703 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
3704 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3706 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
3707 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3709 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
3710 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3712 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
3713 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3715 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
3716 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
3718 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
3719 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
3721 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
3722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3724 static void *_p_wxActiveXEventTo_p_wxEvent(void *x
) {
3725 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3727 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
3728 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
3730 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
3731 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
3733 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
3734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3736 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
3737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3739 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
3740 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3742 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
3743 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
3745 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
3746 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
3748 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}};
3749 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}};
3750 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}};
3751 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}};
3752 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}};
3753 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}};
3754 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}};
3755 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}};
3756 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}};
3757 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}};
3758 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}};
3759 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}};
3760 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}};
3761 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}};
3762 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}};
3763 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}};
3764 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}};
3766 static swig_type_info
*swig_types_initial
[] = {
3769 _swigt__p_wxActiveXWindow
,
3771 _swigt__p_wxCommandEvent
,
3773 _swigt__p_wxInputStream
,
3774 _swigt__p_wxEvtHandler
,
3776 _swigt__p_wxFuncXArray
,
3777 _swigt__p_wxParamXArray
,
3778 _swigt__p_wxActiveXEvent
,
3780 _swigt__p_wxIEHtmlWindowBase
,
3781 _swigt__p_wxPropXArray
,
3788 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
3790 static swig_const_info swig_const_table
[] = {
3800 SWIGEXPORT(void) SWIG_init(void) {
3801 static PyObject
*SWIG_globals
= 0;
3802 static int typeinit
= 0;
3805 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
3806 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
3807 d
= PyModule_GetDict(m
);
3810 for (i
= 0; swig_types_initial
[i
]; i
++) {
3811 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
3815 SWIG_InstallConstants(d
,swig_const_table
);