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 if (PyNumber_Check(obj
))
402 return PyInt_AsLong(obj
);
404 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
405 obj
->ob_type
->tp_name
);
406 PyErr_SetObject(PyExc_TypeError
, errmsg
);
413 #if INT_MAX != LONG_MAX
414 SWIGSTATICINLINE(int)
415 SWIG_AsInt(PyObject
*obj
)
417 return swig_numeric_cast(int,
418 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
419 "int", INT_MIN
, INT_MAX
));
422 #define SWIG_AsInt SWIG_AsLong
426 SWIGSTATICINLINE(int)
427 SWIG_CheckInt(PyObject
* obj
)
430 if (PyErr_Occurred()) {
438 wxParamX
const &wxParamXArray___getitem__(wxParamXArray
*self
,int idx
){
439 if ( idx
>= 0 && idx
< self
->size() )
442 static wxParamX BadVal
;
443 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
447 bool wxFuncXArray___nonzero__(wxFuncXArray
*self
){ return self
->size() > 0; }
448 int wxFuncXArray___len__(wxFuncXArray
*self
){ return self
->size(); }
449 wxFuncX
const &wxFuncXArray___getitem__(wxFuncXArray
*self
,int idx
){
450 if ( idx
>= 0 && idx
< self
->size() )
453 static wxFuncX BadVal
;
454 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
458 bool wxPropXArray___nonzero__(wxPropXArray
*self
){ return self
->size() > 0; }
459 int wxPropXArray___len__(wxPropXArray
*self
){ return self
->size(); }
460 wxPropX
const &wxPropXArray___getitem__(wxPropXArray
*self
,int idx
){
461 if ( idx
>= 0 && idx
< self
->size() )
464 static wxPropX BadVal
;
465 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
470 // C++ version of a Python-aware wxActiveX
471 class wxActiveXWindow
: public wxActiveX
476 wxActiveXWindow( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id
= -1,
477 const wxPoint
& pos
= wxDefaultPosition
,
478 const wxSize
& size
= wxDefaultSize
,
480 const wxString
& name
= wxPyPanelNameStr
)
481 : wxActiveX(parent
, clsId
, id
, pos
, size
, style
, name
)
486 const CLSID
& GetCLSID() const { return m_CLSID
; }
489 // Renamed versions of some base class methods that delegate
490 // to the base where appropriate, and raise Python exceptions
492 int GetAXEventCount() const { return wxActiveX::GetEventCount(); }
493 int GetAXPropCount() const { return wxActiveX::GetPropCount(); }
494 int GetAXMethodCount() const { return wxActiveX::GetMethodCount(); }
496 const wxFuncX
& GetAXEventDesc(int idx
) const
498 static wxFuncX BadVal
;
499 if (idx
< 0 || idx
>= GetAXEventCount()) {
500 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
503 return m_events
[idx
];
505 const wxFuncX
& GetAXMethodDesc(int idx
) const
507 static wxFuncX BadVal
;
508 if (idx
< 0 || idx
>= GetAXMethodCount()) {
509 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
512 return m_methods
[idx
];
514 const wxPropX
& GetAXPropDesc(int idx
) const
516 static wxPropX BadVal
;
517 if (idx
< 0 || idx
>= GetAXPropCount()) {
518 wxPyErr_SetString(PyExc_IndexError
, "Index out of range");
524 const wxFuncX
& GetAXMethodDesc(const wxString
& name
) const
526 NameMap::const_iterator it
= m_methodNames
.find(name
);
527 if (it
== m_methodNames
.end()) {
529 msg
<< _T("method <") << name
<< _T("> not found");
530 wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str());
531 static wxFuncX BadVal
;
534 return GetAXMethodDesc(it
->second
);
536 const wxPropX
& GetAXPropDesc(const wxString
& name
) const
538 NameMap::const_iterator it
= m_propNames
.find(name
);
539 if (it
== m_propNames
.end()) {
541 msg
<< _T("property <") << name
<< _T("> not found");
542 wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str());
543 static wxPropX BadVal
;
546 return GetAXPropDesc(it
->second
);
549 // Accessors for the internal vectors of events, methods and
550 // proprties. Can be used as sequence like objects from
552 const wxFuncXArray
& GetAXEvents() { return m_events
; }
553 const wxFuncXArray
& GetAXMethods() { return m_methods
; }
554 const wxPropXArray
& GetAXProperties() { return m_props
; }
557 // Set a property from a Python object
558 void SetAXProp(const wxString
& name
, PyObject
* value
)
560 const wxPropX
& prop
= GetAXPropDesc(name
);
561 bool blocked
= wxPyBeginBlockThreads();
562 if (! PyErr_Occurred() ) {
563 if (! prop
.CanSet()) {
565 msg
<< _T("property <") << name
<< _T("> is readonly");
566 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
569 wxVariant wxV
= _PyObj2Variant(value
);
570 if (PyErr_Occurred())
572 VARIANT v
= {prop
.arg
.vt
};
573 if (!VariantToMSWVariant(wxV
, v
) || PyErr_Occurred()) {
575 msg
<< _T("Unable to convert value to expected type: (")
576 << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <")
578 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
581 PyThreadState
* tstate
= wxPyBeginAllowThreads();
582 SetProp(prop
.memid
, v
);
584 wxPyEndAllowThreads(tstate
);
588 wxPyEndBlockThreads(blocked
);
592 // Get a property and convert it to a Python object
593 PyObject
* GetAXProp(const wxString
& name
)
595 PyObject
* rval
= NULL
;
596 const wxPropX
& prop
= GetAXPropDesc(name
);
597 bool blocked
= wxPyBeginBlockThreads();
598 if (! PyErr_Occurred() ) {
599 if (! prop
.CanGet()) {
601 msg
<< _T("property <") << name
<< _T("> is writeonly");
602 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
605 PyThreadState
* tstate
= wxPyBeginAllowThreads();
606 VARIANT v
= GetPropAsVariant(prop
.memid
);
607 wxPyEndAllowThreads(tstate
);
609 if (!MSWVariantToVariant(v
, wv
) || PyErr_Occurred()) {
611 msg
<< _T("Unable to convert value to expected type: (")
612 << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <")
614 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
617 rval
= _Variant2PyObj(wv
);
622 wxPyEndBlockThreads(blocked
);
627 // If both IsIn and isOut are false, assume it is actually an
629 bool paramIsIn(const wxParamX
& p
)
631 return p
.IsIn() || (!p
.IsIn() && !p
.IsOut());
635 // Call a method of the ActiveX object
636 PyObject
* _CallAXMethod(const wxString
& name
, PyObject
* args
)
638 VARIANTARG
*vargs
= NULL
;
640 PyObject
* rval
= NULL
;
641 const wxFuncX
& func
= GetAXMethodDesc(name
);
643 bool blocked
= wxPyBeginBlockThreads();
644 if (! PyErr_Occurred() ) {
645 nargs
= func
.params
.size();
647 vargs
= new VARIANTARG
[nargs
];
650 // init type of vargs, in reverse order
652 for (i
= 0; i
< nargs
; i
++)
653 vargs
[nargs
- i
- 1].vt
= func
.params
[i
].vt
;
655 // Map the args coming from Python to the input parameters in vargs
658 while ( i
<nargs
&& pi
<PyTuple_Size(args
) ) {
659 // Move to the next input param.
660 if (! paramIsIn(func
.params
[i
])) {
664 // convert the python object
665 PyObject
* obj
= PyTuple_GetItem(args
, pi
);
666 if (obj
== Py_None
) // special-case None?
667 vargs
[nargs
- i
- 1].vt
= VT_EMPTY
;
669 wxVariant wxV
= _PyObj2Variant(obj
);
670 if (PyErr_Occurred())
672 if (!VariantToMSWVariant(wxV
, vargs
[nargs
- i
- 1]) || PyErr_Occurred()) {
674 msg
<< _T("Unable to convert value to expected type: (")
675 << _VARTYPEname(vargs
[nargs
- i
- 1].vt
)
676 << _T(") for parameter ") << i
;
677 PyErr_SetString(PyExc_TypeError
, msg
.mb_str());
687 PyThreadState
* tstate
= wxPyBeginAllowThreads();
688 VARIANT rv
= CallMethod(func
.memid
, vargs
, nargs
);
689 wxPyEndAllowThreads(tstate
);
691 // Convert the return value and any out-params, ignoring
692 // conversion errors for now
694 MSWVariantToVariant(rv
, wv
);
695 rval
= _Variant2PyObj(wv
, True
);
699 // make a list and put the rval in it if it is not None
700 PyObject
* lst
= PyList_New(0);
702 PyList_Append(lst
, rval
);
706 // find the out params and convert them
707 for (int i
= 0; i
< nargs
; i
++) {
708 VARIANTARG
& va
= vargs
[nargs
- i
- 1];
709 const wxParamX
&px
= func
.params
[i
];
711 MSWVariantToVariant(va
, wv
);
712 PyObject
* obj
= _Variant2PyObj(wv
, True
);
713 PyList_Append(lst
, obj
);
716 rval
= PyList_AsTuple(lst
);
719 if (PyErr_Occurred())
723 wxPyEndBlockThreads(blocked
);
725 for (int i
= 0; i
< nargs
; i
++)
726 VariantClear(&vargs
[i
]);
734 SWIGSTATICINLINE(int)
735 SWIG_CheckLong(PyObject
* obj
)
738 if (PyErr_Occurred()) {
746 void wxActiveXEvent__preCallInit(wxActiveXEvent
*self
,PyObject
*pyself
){
747 bool blocked
= wxPyBeginBlockThreads();
748 PyObject
* pList
= PyList_New(0);
749 PyObject_SetAttrString(pyself
, "paramList", pList
);
751 for (int i
=0; i
<self
->ParamCount(); i
+=1) {
752 PyObject
* name
= PyString_FromString((char*)(const char*)self
->ParamName(i
).mb_str());
753 PyObject
* val
= _Variant2PyObj((*self
)[i
], True
);
754 PyObject_SetAttr(pyself
, name
, val
);
755 PyList_Append(pList
, name
);
759 wxPyEndBlockThreads(blocked
);
761 void wxActiveXEvent__postCallCleanup(wxActiveXEvent
*self
,PyObject
*pyself
){
762 bool blocked
= wxPyBeginBlockThreads();
763 for (int i
=0; i
<self
->ParamCount(); i
+=1) {
764 PyObject
* val
= PyObject_GetAttrString(
765 pyself
, (char*)(const char*)self
->ParamName(i
).mb_str());
766 _PyObj2Variant(val
, (*self
)[i
]);
769 wxPyEndBlockThreads(blocked
);
773 // Caller should already have the GIL!
774 wxVariant
_PyObj2Variant(PyObject
* value
)
778 if (value
== Py_None
)
781 #if PYTHON_API_VERSION >= 1012 // Python 2.3+
782 else if (PyBool_Check(value
))
783 rval
= (value
== Py_True
) ? true : false;
786 else if (PyInt_Check(value
))
787 rval
= PyInt_AS_LONG(value
);
789 else if (PyFloat_Check(value
))
790 rval
= PyFloat_AS_DOUBLE(value
);
792 else if (PyString_Check(value
) || PyUnicode_Check(value
))
793 rval
= Py2wxString(value
);
795 // TODO: PyList of strings --> wxArrayString
801 PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _PyObj2Variant");
808 // This one uses the type of the variant to try and force the conversion
809 bool _PyObj2Variant(PyObject
* value
, wxVariant
& wv
)
811 wxString type
= wv
.GetType();
813 if ( type
== _T("long") || type
== _T("bool") || type
== _T("char") )
814 wv
= PyInt_AsLong(value
);
816 else if ( type
== _T("string") )
817 wv
= Py2wxString(value
);
819 else if ( type
== _T("double") )
820 wv
= PyFloat_AsDouble(value
);
823 // it's some other type that we dont' handle yet. Log it?
829 // Caller should already have the GIL!
830 PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
)
832 PyObject
* rval
= NULL
;
834 if (value
.IsNull()) {
839 // should "char" be treated as an int or as a string?
840 else if (value
.IsType(_T("char")) || value
.IsType(_T("long")))
841 rval
= PyInt_FromLong(value
);
843 else if (value
.IsType(_T("double")))
844 rval
= PyFloat_FromDouble(value
);
846 else if (value
.IsType(_T("bool"))) {
847 rval
= (bool)value
? Py_True
: Py_False
;
851 else if (value
.IsType(_T("string")))
852 rval
= wx2PyString(value
);
860 PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _Variant2PyObj");
867 wxString
_VARTYPEname(VARTYPE vt
)
874 return _T("VT_VARIANT");
894 // decimals are converted from doubles too
902 return _T("wx.DateTime");
908 return _T("VT_UNKNOWN");
911 return _T("VT_DISPATCH");
914 return _T("VT_EMPTY");
917 return _T("VT_NULL");
920 return _T("VT_VOID");
924 msg
<< _T("unsupported type ") << vt
;
931 // A class derived from out wxActiveXWindow for the IE WebBrowser
932 // control that will serve as a base class for a Python
933 // implementation. This is done so we can "eat our own dog food"
934 // and use a class at least mostly generated by genaxmodule, but
935 // also get some of the extra stuff like loading a document from
936 // a string or a stream, getting text contents, etc. that
937 // Lindsay's version gives us.
940 #include <wx/mstream.h>
942 #include <winerror.h>
943 #include <exdispid.h>
949 #include "IEHtmlStream.h"
951 class wxIEHtmlWindowBase
: public wxActiveXWindow
{
953 wxAutoOleInterface
<IWebBrowser2
> m_webBrowser
;
957 wxIEHtmlWindowBase ( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id
= -1,
958 const wxPoint
& pos
= wxDefaultPosition
,
959 const wxSize
& size
= wxDefaultSize
,
961 const wxString
& name
= wxPyPanelNameStr
)
962 : wxActiveXWindow(parent
, clsId
, id
, pos
, size
, style
, name
)
966 // Get IWebBrowser2 Interface
967 hret
= m_webBrowser
.QueryInterface(IID_IWebBrowser2
, m_ActiveX
);
968 wxASSERT(SUCCEEDED(hret
));
971 m_webBrowser
->put_MenuBar(VARIANT_FALSE
);
972 m_webBrowser
->put_AddressBar(VARIANT_FALSE
);
973 m_webBrowser
->put_StatusBar(VARIANT_FALSE
);
974 m_webBrowser
->put_ToolBar(VARIANT_FALSE
);
976 m_webBrowser
->put_RegisterAsBrowser(VARIANT_TRUE
);
977 m_webBrowser
->put_RegisterAsDropTarget(VARIANT_TRUE
);
979 m_webBrowser
->Navigate( L
"about:blank", NULL
, NULL
, NULL
, NULL
);
983 void SetCharset(const wxString
& charset
)
988 IDispatch
*pDisp
= NULL
;
989 hret
= m_webBrowser
->get_Document(&pDisp
);
990 wxAutoOleInterface
<IDispatch
> disp(pDisp
);
994 wxAutoOleInterface
<IHTMLDocument2
> doc(IID_IHTMLDocument2
, disp
);
996 doc
->put_charset((BSTR
) (const wchar_t *) charset
.wc_str(wxConvUTF8
));
997 //doc->put_charset((BSTR) wxConvUTF8.cMB2WC(charset).data());
1002 bool LoadString(const wxString
& html
)
1005 size_t len
= html
.length();
1006 len
*= sizeof(wxChar
);
1007 data
= (char *) malloc(len
);
1008 memcpy(data
, html
.c_str(), len
);
1009 return LoadStream(new wxOwnedMemInputStream(data
, len
));
1013 bool LoadStream(IStreamAdaptorBase
*pstrm
)
1015 // need to prepend this as poxy MSHTML will not recognise a HTML comment
1016 // as starting a html document and treats it as plain text
1017 // Does nayone know how to force it to html mode ?
1019 // TODO: What to do in this case???
1021 pstrm
->prepend
= _T("<html>");
1024 // strip leading whitespace as it can confuse MSHTML
1025 wxAutoOleInterface
<IStream
> strm(pstrm
);
1027 // Document Interface
1028 IDispatch
*pDisp
= NULL
;
1029 HRESULT hret
= m_webBrowser
->get_Document(&pDisp
);
1032 wxAutoOleInterface
<IDispatch
> disp(pDisp
);
1035 // get IPersistStreamInit
1036 wxAutoOleInterface
<IPersistStreamInit
>
1037 pPersistStreamInit(IID_IPersistStreamInit
, disp
);
1039 if (pPersistStreamInit
.Ok())
1041 HRESULT hr
= pPersistStreamInit
->InitNew();
1043 hr
= pPersistStreamInit
->Load(strm
);
1045 return SUCCEEDED(hr
);
1051 bool LoadStream(wxInputStream
*is
)
1053 // wrap reference around stream
1054 IwxStreamAdaptor
*pstrm
= new IwxStreamAdaptor(is
);
1057 return LoadStream(pstrm
);
1061 wxString
GetStringSelection(bool asHTML
)
1063 wxAutoOleInterface
<IHTMLTxtRange
> tr(wxieGetSelRange(m_oleObject
));
1065 return wxEmptyString
;
1068 HRESULT hr
= E_FAIL
;
1071 hr
= tr
->get_htmlText(&text
);
1073 hr
= tr
->get_text(&text
);
1075 return wxEmptyString
;
1078 SysFreeString(text
);
1083 wxString
GetText(bool asHTML
)
1085 if (! m_webBrowser
.Ok())
1086 return wxEmptyString
;
1088 // get document dispatch interface
1089 IDispatch
*iDisp
= NULL
;
1090 HRESULT hr
= m_webBrowser
->get_Document(&iDisp
);
1092 return wxEmptyString
;
1094 // Query for Document Interface
1095 wxAutoOleInterface
<IHTMLDocument2
> hd(IID_IHTMLDocument2
, iDisp
);
1099 return wxEmptyString
;
1102 IHTMLElement
*_body
= NULL
;
1103 hd
->get_body(&_body
);
1105 return wxEmptyString
;
1106 wxAutoOleInterface
<IHTMLElement
> body(_body
);
1113 hr
= body
->get_innerHTML(&text
);
1115 hr
= body
->get_innerText(&text
);
1117 return wxEmptyString
;
1120 SysFreeString(text
);
1126 // void wxIEHtmlWin::SetEditMode(bool seton)
1128 // m_bAmbientUserMode = ! seton;
1129 // AmbientPropertyChanged(DISPID_AMBIENT_USERMODE);
1132 // bool wxIEHtmlWin::GetEditMode()
1134 // return ! m_bAmbientUserMode;
1139 SWIGSTATICINLINE(bool)
1140 SWIG_AsBool(PyObject
*obj
)
1142 return PyObject_IsTrue(obj
) ? true : false;
1146 SWIGSTATICINLINE(int)
1147 SWIG_CheckBool(PyObject
* obj
)
1150 if (PyErr_Occurred()) {
1161 static PyObject
*_wrap_new_CLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
*resultobj
;
1163 wxString
*arg1
= 0 ;
1165 bool temp1
= False
;
1166 PyObject
* obj0
= 0 ;
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CLSID",kwnames
,&obj0
)) goto fail
;
1173 arg1
= wxString_in_helper(obj0
);
1174 if (arg1
== NULL
) SWIG_fail
;
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 result
= (CLSID
*)new_CLSID((wxString
const &)*arg1
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) SWIG_fail
;
1184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 1);
1199 static PyObject
*_wrap_delete_CLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
*resultobj
;
1201 CLSID
*arg1
= (CLSID
*) 0 ;
1202 PyObject
* obj0
= 0 ;
1204 (char *) "self", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_CLSID",kwnames
,&obj0
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1217 Py_INCREF(Py_None
); resultobj
= Py_None
;
1224 static PyObject
*_wrap_CLSID_GetCLSIDString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1226 CLSID
*arg1
= (CLSID
*) 0 ;
1228 PyObject
* obj0
= 0 ;
1230 (char *) "self", NULL
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetCLSIDString",kwnames
,&obj0
)) goto fail
;
1234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 result
= CLSID_GetCLSIDString(arg1
);
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1256 static PyObject
*_wrap_CLSID_GetProgIDString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
*resultobj
;
1258 CLSID
*arg1
= (CLSID
*) 0 ;
1260 PyObject
* obj0
= 0 ;
1262 (char *) "self", NULL
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetProgIDString",kwnames
,&obj0
)) goto fail
;
1266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
,
1267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 result
= CLSID_GetProgIDString(arg1
);
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1288 static PyObject
* CLSID_swigregister(PyObject
*self
, PyObject
*args
) {
1290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1291 SWIG_TypeClientData(SWIGTYPE_p_CLSID
, obj
);
1293 return Py_BuildValue((char *)"");
1295 static PyObject
*_wrap_ParamX_flags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxParamX
*arg1
= (wxParamX
*) 0 ;
1299 PyObject
* obj0
= 0 ;
1301 (char *) "self", NULL
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_flags_get",kwnames
,&obj0
)) goto fail
;
1305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1307 result
= (USHORT
) ((arg1
)->flags
);
1309 resultobj
= SWIG_FromUnsignedShort((unsigned short)result
);
1316 static PyObject
*_wrap_ParamX_isPtr_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
*resultobj
;
1318 wxParamX
*arg1
= (wxParamX
*) 0 ;
1320 PyObject
* obj0
= 0 ;
1322 (char *) "self", NULL
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isPtr_get",kwnames
,&obj0
)) goto fail
;
1326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1328 result
= (bool) ((arg1
)->isPtr
);
1331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1339 static PyObject
*_wrap_ParamX_isSafeArray_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxParamX
*arg1
= (wxParamX
*) 0 ;
1343 PyObject
* obj0
= 0 ;
1345 (char *) "self", NULL
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isSafeArray_get",kwnames
,&obj0
)) goto fail
;
1349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1351 result
= (bool) ((arg1
)->isSafeArray
);
1354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1362 static PyObject
*_wrap_ParamX_isOptional_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxParamX
*arg1
= (wxParamX
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1368 (char *) "self", NULL
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isOptional_get",kwnames
,&obj0
)) goto fail
;
1372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1374 result
= (bool) ((arg1
)->isOptional
);
1377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1385 static PyObject
*_wrap_ParamX_vt_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxParamX
*arg1
= (wxParamX
*) 0 ;
1389 PyObject
* obj0
= 0 ;
1391 (char *) "self", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_get",kwnames
,&obj0
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1397 result
= (VARTYPE
) ((arg1
)->vt
);
1399 resultobj
= SWIG_FromUnsignedShort((unsigned short)result
);
1406 static PyObject
*_wrap_ParamX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxParamX
*arg1
= (wxParamX
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_name_get",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1418 result
= (wxString
*)& ((arg1
)->name
);
1422 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1424 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1433 static PyObject
*_wrap_ParamX_vt_type_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxParamX
*arg1
= (wxParamX
*) 0 ;
1437 PyObject
* obj0
= 0 ;
1439 (char *) "self", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_type_get",kwnames
,&obj0
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= wxParamX_vt_type_get(arg1
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1465 static PyObject
*_wrap_ParamX_IsIn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
*resultobj
;
1467 wxParamX
*arg1
= (wxParamX
*) 0 ;
1469 PyObject
* obj0
= 0 ;
1471 (char *) "self", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsIn",kwnames
,&obj0
)) goto fail
;
1475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 result
= (bool)((wxParamX
const *)arg1
)->IsIn();
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1493 static PyObject
*_wrap_ParamX_IsOut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxParamX
*arg1
= (wxParamX
*) 0 ;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "self", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsOut",kwnames
,&obj0
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 result
= (bool)((wxParamX
const *)arg1
)->IsOut();
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1521 static PyObject
*_wrap_ParamX_IsRetVal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
*resultobj
;
1523 wxParamX
*arg1
= (wxParamX
*) 0 ;
1525 PyObject
* obj0
= 0 ;
1527 (char *) "self", NULL
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsRetVal",kwnames
,&obj0
)) goto fail
;
1531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
,
1532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (bool)((wxParamX
const *)arg1
)->IsRetVal();
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1549 static PyObject
* ParamX_swigregister(PyObject
*self
, PyObject
*args
) {
1551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1552 SWIG_TypeClientData(SWIGTYPE_p_wxParamX
, obj
);
1554 return Py_BuildValue((char *)"");
1556 static PyObject
*_wrap_FuncX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "self", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_name_get",kwnames
,&obj0
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1568 result
= (wxString
*)& ((arg1
)->name
);
1572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1583 static PyObject
*_wrap_FuncX_memid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1587 PyObject
* obj0
= 0 ;
1589 (char *) "self", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_memid_get",kwnames
,&obj0
)) goto fail
;
1593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1595 result
= (MEMBERID
) ((arg1
)->memid
);
1597 resultobj
= SWIG_FromLong((long)result
);
1604 static PyObject
*_wrap_FuncX_hasOut_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1606 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1608 PyObject
* obj0
= 0 ;
1610 (char *) "self", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_hasOut_get",kwnames
,&obj0
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1616 result
= (bool) ((arg1
)->hasOut
);
1619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1627 static PyObject
*_wrap_FuncX_retType_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_retType_get",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1639 result
= (wxParamX
*)& ((arg1
)->retType
);
1641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1648 static PyObject
*_wrap_FuncX_params_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxFuncX
*arg1
= (wxFuncX
*) 0 ;
1651 wxParamXArray
*result
;
1652 PyObject
* obj0
= 0 ;
1654 (char *) "self", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_params_get",kwnames
,&obj0
)) goto fail
;
1658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
,
1659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 result
= (wxParamXArray
*)& ((arg1
)->params
);
1662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamXArray
, 0);
1669 static PyObject
* FuncX_swigregister(PyObject
*self
, PyObject
*args
) {
1671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1672 SWIG_TypeClientData(SWIGTYPE_p_wxFuncX
, obj
);
1674 return Py_BuildValue((char *)"");
1676 static PyObject
*_wrap_PropX_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxPropX
*arg1
= (wxPropX
*) 0 ;
1680 PyObject
* obj0
= 0 ;
1682 (char *) "self", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_name_get",kwnames
,&obj0
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1688 result
= (wxString
*)& ((arg1
)->name
);
1692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
1694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
1703 static PyObject
*_wrap_PropX_memid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxPropX
*arg1
= (wxPropX
*) 0 ;
1707 PyObject
* obj0
= 0 ;
1709 (char *) "self", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_memid_get",kwnames
,&obj0
)) goto fail
;
1713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1715 result
= (MEMBERID
) ((arg1
)->memid
);
1717 resultobj
= SWIG_FromLong((long)result
);
1724 static PyObject
*_wrap_PropX_type_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
*resultobj
;
1726 wxPropX
*arg1
= (wxPropX
*) 0 ;
1728 PyObject
* obj0
= 0 ;
1730 (char *) "self", NULL
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_type_get",kwnames
,&obj0
)) goto fail
;
1734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1736 result
= (wxParamX
*)& ((arg1
)->type
);
1738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1745 static PyObject
*_wrap_PropX_arg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxPropX
*arg1
= (wxPropX
*) 0 ;
1749 PyObject
* obj0
= 0 ;
1751 (char *) "self", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_arg_get",kwnames
,&obj0
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 result
= (wxParamX
*)& ((arg1
)->arg
);
1759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1766 static PyObject
*_wrap_PropX_putByRef_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxPropX
*arg1
= (wxPropX
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_putByRef_get",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1778 result
= (bool) ((arg1
)->putByRef
);
1781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1789 static PyObject
*_wrap_PropX_CanGet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxPropX
*arg1
= (wxPropX
*) 0 ;
1793 PyObject
* obj0
= 0 ;
1795 (char *) "self", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanGet",kwnames
,&obj0
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (bool)((wxPropX
const *)arg1
)->CanGet();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1817 static PyObject
*_wrap_PropX_CanSet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxPropX
*arg1
= (wxPropX
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1823 (char *) "self", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanSet",kwnames
,&obj0
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (bool)((wxPropX
const *)arg1
)->CanSet();
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1845 static PyObject
* PropX_swigregister(PyObject
*self
, PyObject
*args
) {
1847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1848 SWIG_TypeClientData(SWIGTYPE_p_wxPropX
, obj
);
1850 return Py_BuildValue((char *)"");
1852 static PyObject
*_wrap_ParamXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (bool)wxParamXArray___nonzero__(arg1
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1880 static PyObject
*_wrap_ParamXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1882 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1884 PyObject
* obj0
= 0 ;
1886 (char *) "self", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___len__",kwnames
,&obj0
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (int)wxParamXArray___len__(arg1
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 resultobj
= SWIG_FromInt((int)result
);
1906 static PyObject
*_wrap_ParamXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxParamXArray
*arg1
= (wxParamXArray
*) 0 ;
1911 PyObject
* obj0
= 0 ;
1912 PyObject
* obj1
= 0 ;
1914 (char *) "self",(char *) "idx", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ParamXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1920 arg2
= (int) SWIG_AsInt(obj1
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 wxParamX
const &_result_ref
= wxParamXArray___getitem__(arg1
,arg2
);
1926 result
= (wxParamX
*) &_result_ref
;
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0);
1939 static PyObject
* ParamXArray_swigregister(PyObject
*self
, PyObject
*args
) {
1941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1942 SWIG_TypeClientData(SWIGTYPE_p_wxParamXArray
, obj
);
1944 return Py_BuildValue((char *)"");
1946 static PyObject
*_wrap_FuncXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1952 (char *) "self", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 result
= (bool)wxFuncXArray___nonzero__(arg1
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1974 static PyObject
*_wrap_FuncXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1980 (char *) "self", NULL
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___len__",kwnames
,&obj0
)) goto fail
;
1984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
1985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 result
= (int)wxFuncXArray___len__(arg1
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 resultobj
= SWIG_FromInt((int)result
);
2000 static PyObject
*_wrap_FuncXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxFuncXArray
*arg1
= (wxFuncXArray
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2008 (char *) "self",(char *) "idx", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FuncXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 arg2
= (int) SWIG_AsInt(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 wxFuncX
const &_result_ref
= wxFuncXArray___getitem__(arg1
,arg2
);
2020 result
= (wxFuncX
*) &_result_ref
;
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2033 static PyObject
* FuncXArray_swigregister(PyObject
*self
, PyObject
*args
) {
2035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2036 SWIG_TypeClientData(SWIGTYPE_p_wxFuncXArray
, obj
);
2038 return Py_BuildValue((char *)"");
2040 static PyObject
*_wrap_PropXArray___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2046 (char *) "self", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___nonzero__",kwnames
,&obj0
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (bool)wxPropXArray___nonzero__(arg1
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2068 static PyObject
*_wrap_PropXArray___len__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 (char *) "self", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___len__",kwnames
,&obj0
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 result
= (int)wxPropXArray___len__(arg1
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= SWIG_FromInt((int)result
);
2094 static PyObject
*_wrap_PropXArray___getitem__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxPropXArray
*arg1
= (wxPropXArray
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2102 (char *) "self",(char *) "idx", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PropXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2108 arg2
= (int) SWIG_AsInt(obj1
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 wxPropX
const &_result_ref
= wxPropXArray___getitem__(arg1
,arg2
);
2114 result
= (wxPropX
*) &_result_ref
;
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2127 static PyObject
* PropXArray_swigregister(PyObject
*self
, PyObject
*args
) {
2129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2130 SWIG_TypeClientData(SWIGTYPE_p_wxPropXArray
, obj
);
2132 return Py_BuildValue((char *)"");
2134 static PyObject
*_wrap_new_ActiveXWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxWindow
*arg1
= (wxWindow
*) 0 ;
2138 int arg3
= (int) -1 ;
2139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2143 long arg6
= (long) 0 ;
2144 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2146 wxActiveXWindow
*result
;
2149 bool temp7
= False
;
2150 PyObject
* obj0
= 0 ;
2151 PyObject
* obj1
= 0 ;
2152 PyObject
* obj2
= 0 ;
2153 PyObject
* obj3
= 0 ;
2154 PyObject
* obj4
= 0 ;
2155 PyObject
* obj5
= 0 ;
2156 PyObject
* obj6
= 0 ;
2158 (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_ActiveXWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
,
2165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2168 PyErr_SetString(PyExc_TypeError
,"null reference");
2172 arg3
= (int) SWIG_AsInt(obj2
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2188 arg6
= (long) SWIG_AsLong(obj5
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2193 arg7
= wxString_in_helper(obj6
);
2194 if (arg7
== NULL
) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= (wxActiveXWindow
*)new wxActiveXWindow(arg1
,(CLSID
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActiveXWindow
, 1);
2220 static PyObject
*_wrap_ActiveXWindow_GetCLSID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2224 PyObject
* obj0
= 0 ;
2226 (char *) "self", NULL
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetCLSID",kwnames
,&obj0
)) goto fail
;
2230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 CLSID
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetCLSID();
2236 result
= (CLSID
*) &_result_ref
;
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 0);
2249 static PyObject
*_wrap_ActiveXWindow_GetAXEventCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2255 (char *) "self", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEventCount",kwnames
,&obj0
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXEventCount();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 resultobj
= SWIG_FromInt((int)result
);
2275 static PyObject
*_wrap_ActiveXWindow_GetAXEventDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2280 PyObject
* obj0
= 0 ;
2281 PyObject
* obj1
= 0 ;
2283 (char *) "self",(char *) "idx", NULL
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXEventDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
2287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2289 arg2
= (int) SWIG_AsInt(obj1
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXEventDesc(arg2
);
2295 result
= (wxFuncX
*) &_result_ref
;
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2308 static PyObject
*_wrap_ActiveXWindow_GetAXPropCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "self", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXPropCount",kwnames
,&obj0
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXPropCount();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_FromInt((int)result
);
2334 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(PyObject
*self
, PyObject
*args
) {
2335 PyObject
*resultobj
;
2336 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2339 PyObject
* obj0
= 0 ;
2340 PyObject
* obj1
= 0 ;
2342 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2345 arg2
= (int) SWIG_AsInt(obj1
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 wxPropX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXPropDesc(arg2
);
2351 result
= (wxPropX
*) &_result_ref
;
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2364 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject
*self
, PyObject
*args
) {
2365 PyObject
*resultobj
;
2366 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2367 wxString
*arg2
= 0 ;
2369 bool temp2
= False
;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2373 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 arg2
= wxString_in_helper(obj1
);
2378 if (arg2
== NULL
) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 wxPropX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXPropDesc((wxString
const &)*arg2
);
2385 result
= (wxPropX
*) &_result_ref
;
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0);
2406 static PyObject
*_wrap_ActiveXWindow_GetAXPropDesc(PyObject
*self
, PyObject
*args
) {
2411 argc
= PyObject_Length(args
);
2412 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
2413 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2419 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2428 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
2431 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(self
,args
);
2439 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2447 _v
= SWIG_CheckInt(argv
[1]);
2449 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(self
,args
);
2454 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXPropDesc'");
2459 static PyObject
*_wrap_ActiveXWindow_GetAXMethodCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2463 PyObject
* obj0
= 0 ;
2465 (char *) "self", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethodCount",kwnames
,&obj0
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 result
= (int)((wxActiveXWindow
const *)arg1
)->GetAXMethodCount();
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= SWIG_FromInt((int)result
);
2485 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(PyObject
*self
, PyObject
*args
) {
2486 PyObject
*resultobj
;
2487 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2493 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
;
2494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2496 arg2
= (int) SWIG_AsInt(obj1
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXMethodDesc(arg2
);
2502 result
= (wxFuncX
*) &_result_ref
;
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2515 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject
*self
, PyObject
*args
) {
2516 PyObject
*resultobj
;
2517 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2518 wxString
*arg2
= 0 ;
2520 bool temp2
= False
;
2521 PyObject
* obj0
= 0 ;
2522 PyObject
* obj1
= 0 ;
2524 if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
;
2525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2528 arg2
= wxString_in_helper(obj1
);
2529 if (arg2
== NULL
) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 wxFuncX
const &_result_ref
= ((wxActiveXWindow
const *)arg1
)->GetAXMethodDesc((wxString
const &)*arg2
);
2536 result
= (wxFuncX
*) &_result_ref
;
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0);
2557 static PyObject
*_wrap_ActiveXWindow_GetAXMethodDesc(PyObject
*self
, PyObject
*args
) {
2562 argc
= PyObject_Length(args
);
2563 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
2564 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2570 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2579 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
2582 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(self
,args
);
2590 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) {
2598 _v
= SWIG_CheckInt(argv
[1]);
2600 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(self
,args
);
2605 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXMethodDesc'");
2610 static PyObject
*_wrap_ActiveXWindow_GetAXEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2613 wxFuncXArray
*result
;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "self", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEvents",kwnames
,&obj0
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxFuncXArray
const &_result_ref
= (arg1
)->GetAXEvents();
2626 result
= (wxFuncXArray
*) &_result_ref
;
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0);
2639 static PyObject
*_wrap_ActiveXWindow_GetAXMethods(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2642 wxFuncXArray
*result
;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "self", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethods",kwnames
,&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxFuncXArray
const &_result_ref
= (arg1
)->GetAXMethods();
2655 result
= (wxFuncXArray
*) &_result_ref
;
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0);
2668 static PyObject
*_wrap_ActiveXWindow_GetAXProperties(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2671 wxPropXArray
*result
;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXProperties",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 wxPropXArray
const &_result_ref
= (arg1
)->GetAXProperties();
2684 result
= (wxPropXArray
*) &_result_ref
;
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropXArray
, 0);
2697 static PyObject
*_wrap_ActiveXWindow_SetAXProp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2700 wxString
*arg2
= 0 ;
2701 PyObject
*arg3
= (PyObject
*) 0 ;
2702 bool temp2
= False
;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2705 PyObject
* obj2
= 0 ;
2707 (char *) "self",(char *) "name",(char *) "value", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ActiveXWindow_SetAXProp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 arg2
= wxString_in_helper(obj1
);
2715 if (arg2
== NULL
) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->SetAXProp((wxString
const &)*arg2
,arg3
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_ActiveXWindow_GetAXProp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2744 wxString
*arg2
= 0 ;
2746 bool temp2
= False
;
2747 PyObject
* obj0
= 0 ;
2748 PyObject
* obj1
= 0 ;
2750 (char *) "self",(char *) "name", NULL
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXProp",kwnames
,&obj0
,&obj1
)) goto fail
;
2754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2757 arg2
= wxString_in_helper(obj1
);
2758 if (arg2
== NULL
) SWIG_fail
;
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 result
= (PyObject
*)(arg1
)->GetAXProp((wxString
const &)*arg2
);
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2783 static PyObject
*_wrap_ActiveXWindow__CallAXMethod(PyObject
*self
, PyObject
*args
) {
2784 PyObject
*resultobj
;
2785 wxActiveXWindow
*arg1
= (wxActiveXWindow
*) 0 ;
2786 wxString
*arg2
= 0 ;
2787 PyObject
*arg3
= (PyObject
*) 0 ;
2789 bool temp2
= False
;
2790 PyObject
* obj0
= 0 ;
2791 PyObject
* obj1
= 0 ;
2792 PyObject
* obj2
= 0 ;
2794 if(!PyArg_ParseTuple(args
,(char *)"OOO:ActiveXWindow__CallAXMethod",&obj0
,&obj1
,&obj2
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 arg2
= wxString_in_helper(obj1
);
2799 if (arg2
== NULL
) SWIG_fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 result
= (PyObject
*)(arg1
)->_CallAXMethod((wxString
const &)*arg2
,arg3
);
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2825 static PyObject
* ActiveXWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2828 SWIG_TypeClientData(SWIGTYPE_p_wxActiveXWindow
, obj
);
2830 return Py_BuildValue((char *)"");
2832 static PyObject
*_wrap_RegisterActiveXEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxString
*arg1
= 0 ;
2836 bool temp1
= False
;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "eventName", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterActiveXEvent",kwnames
,&obj0
)) goto fail
;
2844 arg1
= wxString_in_helper(obj0
);
2845 if (arg1
== NULL
) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (wxEventType
)RegisterActiveXEvent((wxString
const &)*arg1
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_FromInt((int)result
);
2870 static PyObject
*_wrap_ActiveXEvent_EventName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2874 PyObject
* obj0
= 0 ;
2876 (char *) "self", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXEvent_EventName",kwnames
,&obj0
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (arg1
)->EventName();
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2902 static PyObject
*_wrap_ActiveXEvent__preCallInit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2905 PyObject
*arg2
= (PyObject
*) 0 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2909 (char *) "self",(char *) "pyself", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__preCallInit",kwnames
,&obj0
,&obj1
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxActiveXEvent__preCallInit(arg1
,arg2
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 Py_INCREF(Py_None
); resultobj
= Py_None
;
2930 static PyObject
*_wrap_ActiveXEvent__postCallCleanup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 wxActiveXEvent
*arg1
= (wxActiveXEvent
*) 0 ;
2933 PyObject
*arg2
= (PyObject
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2937 (char *) "self",(char *) "pyself", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__postCallCleanup",kwnames
,&obj0
,&obj1
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
,
2942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 wxActiveXEvent__postCallCleanup(arg1
,arg2
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2951 Py_INCREF(Py_None
); resultobj
= Py_None
;
2958 static PyObject
* ActiveXEvent_swigregister(PyObject
*self
, PyObject
*args
) {
2960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2961 SWIG_TypeClientData(SWIGTYPE_p_wxActiveXEvent
, obj
);
2963 return Py_BuildValue((char *)"");
2965 static PyObject
*_wrap_new_IEHtmlWindowBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxWindow
*arg1
= (wxWindow
*) 0 ;
2969 int arg3
= (int) -1 ;
2970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2974 long arg6
= (long) 0 ;
2975 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2976 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2977 wxIEHtmlWindowBase
*result
;
2980 bool temp7
= False
;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2983 PyObject
* obj2
= 0 ;
2984 PyObject
* obj3
= 0 ;
2985 PyObject
* obj4
= 0 ;
2986 PyObject
* obj5
= 0 ;
2987 PyObject
* obj6
= 0 ;
2989 (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_IEHtmlWindowBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
,
2996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2999 PyErr_SetString(PyExc_TypeError
,"null reference");
3003 arg3
= (int) SWIG_AsInt(obj2
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3019 arg6
= (long) SWIG_AsLong(obj5
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3024 arg7
= wxString_in_helper(obj6
);
3025 if (arg7
== NULL
) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= (wxIEHtmlWindowBase
*)new wxIEHtmlWindowBase(arg1
,(CLSID
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIEHtmlWindowBase
, 1);
3051 static PyObject
*_wrap_IEHtmlWindowBase_SetCharset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3054 wxString
*arg2
= 0 ;
3055 bool temp2
= False
;
3056 PyObject
* obj0
= 0 ;
3057 PyObject
* obj1
= 0 ;
3059 (char *) "self",(char *) "charset", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_SetCharset",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 arg2
= wxString_in_helper(obj1
);
3067 if (arg2
== NULL
) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 (arg1
)->SetCharset((wxString
const &)*arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3077 Py_INCREF(Py_None
); resultobj
= Py_None
;
3092 static PyObject
*_wrap_IEHtmlWindowBase_LoadString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3095 wxString
*arg2
= 0 ;
3097 bool temp2
= False
;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3101 (char *) "self",(char *) "html", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadString",kwnames
,&obj0
,&obj1
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 arg2
= wxString_in_helper(obj1
);
3109 if (arg2
== NULL
) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (bool)(arg1
)->LoadString((wxString
const &)*arg2
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3136 static PyObject
*_wrap_IEHtmlWindowBase_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3139 wxInputStream
*arg2
= (wxInputStream
*) 0 ;
3141 wxPyInputStream
*temp2
;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3146 (char *) "self",(char *) "is", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadStream",kwnames
,&obj0
,&obj1
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
3154 arg2
= temp2
->m_wxis
;
3157 PyErr_Clear(); // clear the failure of the wxPyConvert above
3158 arg2
= wxPyCBInputStream_create(obj1
, False
);
3160 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (bool)(arg1
)->LoadStream(arg2
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3190 static PyObject
*_wrap_IEHtmlWindowBase_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3196 PyObject
* obj1
= 0 ;
3198 (char *) "self",(char *) "asHTML", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 arg2
= (bool) SWIG_AsBool(obj1
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= (arg1
)->GetStringSelection(arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3226 static PyObject
*_wrap_IEHtmlWindowBase_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxIEHtmlWindowBase
*arg1
= (wxIEHtmlWindowBase
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "self",(char *) "asHTML", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetText",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3240 arg2
= (bool) SWIG_AsBool(obj1
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (arg1
)->GetText(arg2
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3262 static PyObject
* IEHtmlWindowBase_swigregister(PyObject
*self
, PyObject
*args
) {
3264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3265 SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWindowBase
, obj
);
3267 return Py_BuildValue((char *)"");
3269 static PyMethodDef SwigMethods
[] = {
3270 { (char *)"new_CLSID", (PyCFunction
) _wrap_new_CLSID
, METH_VARARGS
| METH_KEYWORDS
},
3271 { (char *)"delete_CLSID", (PyCFunction
) _wrap_delete_CLSID
, METH_VARARGS
| METH_KEYWORDS
},
3272 { (char *)"CLSID_GetCLSIDString", (PyCFunction
) _wrap_CLSID_GetCLSIDString
, METH_VARARGS
| METH_KEYWORDS
},
3273 { (char *)"CLSID_GetProgIDString", (PyCFunction
) _wrap_CLSID_GetProgIDString
, METH_VARARGS
| METH_KEYWORDS
},
3274 { (char *)"CLSID_swigregister", CLSID_swigregister
, METH_VARARGS
},
3275 { (char *)"ParamX_flags_get", (PyCFunction
) _wrap_ParamX_flags_get
, METH_VARARGS
| METH_KEYWORDS
},
3276 { (char *)"ParamX_isPtr_get", (PyCFunction
) _wrap_ParamX_isPtr_get
, METH_VARARGS
| METH_KEYWORDS
},
3277 { (char *)"ParamX_isSafeArray_get", (PyCFunction
) _wrap_ParamX_isSafeArray_get
, METH_VARARGS
| METH_KEYWORDS
},
3278 { (char *)"ParamX_isOptional_get", (PyCFunction
) _wrap_ParamX_isOptional_get
, METH_VARARGS
| METH_KEYWORDS
},
3279 { (char *)"ParamX_vt_get", (PyCFunction
) _wrap_ParamX_vt_get
, METH_VARARGS
| METH_KEYWORDS
},
3280 { (char *)"ParamX_name_get", (PyCFunction
) _wrap_ParamX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3281 { (char *)"ParamX_vt_type_get", (PyCFunction
) _wrap_ParamX_vt_type_get
, METH_VARARGS
| METH_KEYWORDS
},
3282 { (char *)"ParamX_IsIn", (PyCFunction
) _wrap_ParamX_IsIn
, METH_VARARGS
| METH_KEYWORDS
},
3283 { (char *)"ParamX_IsOut", (PyCFunction
) _wrap_ParamX_IsOut
, METH_VARARGS
| METH_KEYWORDS
},
3284 { (char *)"ParamX_IsRetVal", (PyCFunction
) _wrap_ParamX_IsRetVal
, METH_VARARGS
| METH_KEYWORDS
},
3285 { (char *)"ParamX_swigregister", ParamX_swigregister
, METH_VARARGS
},
3286 { (char *)"FuncX_name_get", (PyCFunction
) _wrap_FuncX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3287 { (char *)"FuncX_memid_get", (PyCFunction
) _wrap_FuncX_memid_get
, METH_VARARGS
| METH_KEYWORDS
},
3288 { (char *)"FuncX_hasOut_get", (PyCFunction
) _wrap_FuncX_hasOut_get
, METH_VARARGS
| METH_KEYWORDS
},
3289 { (char *)"FuncX_retType_get", (PyCFunction
) _wrap_FuncX_retType_get
, METH_VARARGS
| METH_KEYWORDS
},
3290 { (char *)"FuncX_params_get", (PyCFunction
) _wrap_FuncX_params_get
, METH_VARARGS
| METH_KEYWORDS
},
3291 { (char *)"FuncX_swigregister", FuncX_swigregister
, METH_VARARGS
},
3292 { (char *)"PropX_name_get", (PyCFunction
) _wrap_PropX_name_get
, METH_VARARGS
| METH_KEYWORDS
},
3293 { (char *)"PropX_memid_get", (PyCFunction
) _wrap_PropX_memid_get
, METH_VARARGS
| METH_KEYWORDS
},
3294 { (char *)"PropX_type_get", (PyCFunction
) _wrap_PropX_type_get
, METH_VARARGS
| METH_KEYWORDS
},
3295 { (char *)"PropX_arg_get", (PyCFunction
) _wrap_PropX_arg_get
, METH_VARARGS
| METH_KEYWORDS
},
3296 { (char *)"PropX_putByRef_get", (PyCFunction
) _wrap_PropX_putByRef_get
, METH_VARARGS
| METH_KEYWORDS
},
3297 { (char *)"PropX_CanGet", (PyCFunction
) _wrap_PropX_CanGet
, METH_VARARGS
| METH_KEYWORDS
},
3298 { (char *)"PropX_CanSet", (PyCFunction
) _wrap_PropX_CanSet
, METH_VARARGS
| METH_KEYWORDS
},
3299 { (char *)"PropX_swigregister", PropX_swigregister
, METH_VARARGS
},
3300 { (char *)"ParamXArray___nonzero__", (PyCFunction
) _wrap_ParamXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3301 { (char *)"ParamXArray___len__", (PyCFunction
) _wrap_ParamXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3302 { (char *)"ParamXArray___getitem__", (PyCFunction
) _wrap_ParamXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3303 { (char *)"ParamXArray_swigregister", ParamXArray_swigregister
, METH_VARARGS
},
3304 { (char *)"FuncXArray___nonzero__", (PyCFunction
) _wrap_FuncXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3305 { (char *)"FuncXArray___len__", (PyCFunction
) _wrap_FuncXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3306 { (char *)"FuncXArray___getitem__", (PyCFunction
) _wrap_FuncXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3307 { (char *)"FuncXArray_swigregister", FuncXArray_swigregister
, METH_VARARGS
},
3308 { (char *)"PropXArray___nonzero__", (PyCFunction
) _wrap_PropXArray___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
3309 { (char *)"PropXArray___len__", (PyCFunction
) _wrap_PropXArray___len__
, METH_VARARGS
| METH_KEYWORDS
},
3310 { (char *)"PropXArray___getitem__", (PyCFunction
) _wrap_PropXArray___getitem__
, METH_VARARGS
| METH_KEYWORDS
},
3311 { (char *)"PropXArray_swigregister", PropXArray_swigregister
, METH_VARARGS
},
3312 { (char *)"new_ActiveXWindow", (PyCFunction
) _wrap_new_ActiveXWindow
, METH_VARARGS
| METH_KEYWORDS
},
3313 { (char *)"ActiveXWindow_GetCLSID", (PyCFunction
) _wrap_ActiveXWindow_GetCLSID
, METH_VARARGS
| METH_KEYWORDS
},
3314 { (char *)"ActiveXWindow_GetAXEventCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventCount
, METH_VARARGS
| METH_KEYWORDS
},
3315 { (char *)"ActiveXWindow_GetAXEventDesc", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventDesc
, METH_VARARGS
| METH_KEYWORDS
},
3316 { (char *)"ActiveXWindow_GetAXPropCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXPropCount
, METH_VARARGS
| METH_KEYWORDS
},
3317 { (char *)"ActiveXWindow_GetAXPropDesc", _wrap_ActiveXWindow_GetAXPropDesc
, METH_VARARGS
},
3318 { (char *)"ActiveXWindow_GetAXMethodCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethodCount
, METH_VARARGS
| METH_KEYWORDS
},
3319 { (char *)"ActiveXWindow_GetAXMethodDesc", _wrap_ActiveXWindow_GetAXMethodDesc
, METH_VARARGS
},
3320 { (char *)"ActiveXWindow_GetAXEvents", (PyCFunction
) _wrap_ActiveXWindow_GetAXEvents
, METH_VARARGS
| METH_KEYWORDS
},
3321 { (char *)"ActiveXWindow_GetAXMethods", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethods
, METH_VARARGS
| METH_KEYWORDS
},
3322 { (char *)"ActiveXWindow_GetAXProperties", (PyCFunction
) _wrap_ActiveXWindow_GetAXProperties
, METH_VARARGS
| METH_KEYWORDS
},
3323 { (char *)"ActiveXWindow_SetAXProp", (PyCFunction
) _wrap_ActiveXWindow_SetAXProp
, METH_VARARGS
| METH_KEYWORDS
},
3324 { (char *)"ActiveXWindow_GetAXProp", (PyCFunction
) _wrap_ActiveXWindow_GetAXProp
, METH_VARARGS
| METH_KEYWORDS
},
3325 { (char *)"ActiveXWindow__CallAXMethod", _wrap_ActiveXWindow__CallAXMethod
, METH_VARARGS
},
3326 { (char *)"ActiveXWindow_swigregister", ActiveXWindow_swigregister
, METH_VARARGS
},
3327 { (char *)"RegisterActiveXEvent", (PyCFunction
) _wrap_RegisterActiveXEvent
, METH_VARARGS
| METH_KEYWORDS
},
3328 { (char *)"ActiveXEvent_EventName", (PyCFunction
) _wrap_ActiveXEvent_EventName
, METH_VARARGS
| METH_KEYWORDS
},
3329 { (char *)"ActiveXEvent__preCallInit", (PyCFunction
) _wrap_ActiveXEvent__preCallInit
, METH_VARARGS
| METH_KEYWORDS
},
3330 { (char *)"ActiveXEvent__postCallCleanup", (PyCFunction
) _wrap_ActiveXEvent__postCallCleanup
, METH_VARARGS
| METH_KEYWORDS
},
3331 { (char *)"ActiveXEvent_swigregister", ActiveXEvent_swigregister
, METH_VARARGS
},
3332 { (char *)"new_IEHtmlWindowBase", (PyCFunction
) _wrap_new_IEHtmlWindowBase
, METH_VARARGS
| METH_KEYWORDS
},
3333 { (char *)"IEHtmlWindowBase_SetCharset", (PyCFunction
) _wrap_IEHtmlWindowBase_SetCharset
, METH_VARARGS
| METH_KEYWORDS
},
3334 { (char *)"IEHtmlWindowBase_LoadString", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadString
, METH_VARARGS
| METH_KEYWORDS
},
3335 { (char *)"IEHtmlWindowBase_LoadStream", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
3336 { (char *)"IEHtmlWindowBase_GetStringSelection", (PyCFunction
) _wrap_IEHtmlWindowBase_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
3337 { (char *)"IEHtmlWindowBase_GetText", (PyCFunction
) _wrap_IEHtmlWindowBase_GetText
, METH_VARARGS
| METH_KEYWORDS
},
3338 { (char *)"IEHtmlWindowBase_swigregister", IEHtmlWindowBase_swigregister
, METH_VARARGS
},
3343 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
3345 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
3346 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
3348 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
3349 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
3351 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
3352 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
3354 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
3355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
3357 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
3358 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
3360 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
3361 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
3363 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
3364 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
3366 static void *_p_wxSizerTo_p_wxObject(void *x
) {
3367 return (void *)((wxObject
*) ((wxSizer
*) x
));
3369 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
3370 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
3372 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
3373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3375 static void *_p_wxEventTo_p_wxObject(void *x
) {
3376 return (void *)((wxObject
*) ((wxEvent
*) x
));
3378 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
3379 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
3381 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
3382 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
3384 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
3385 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
3387 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
3388 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
3390 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
3391 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
3393 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
3394 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3396 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
3397 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3399 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
3400 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3402 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
3403 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3405 static void *_p_wxControlTo_p_wxObject(void *x
) {
3406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
3408 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
3409 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
3411 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
3412 return (void *)((wxObject
*) ((wxFSFile
*) x
));
3414 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
3415 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
3417 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
3418 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
3420 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
3421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3423 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
3424 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
3426 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
3427 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
3429 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
3430 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
3432 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
3433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3435 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
3436 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3438 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
3439 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
3441 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
3442 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
3444 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
3445 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
3447 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
3448 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
3450 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
3451 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
3453 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
3454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
3456 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
3457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
3459 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
3460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
3462 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
3463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
3465 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
3466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
3468 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
3469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
3471 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
3472 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
3474 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
3475 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
3477 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
3478 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
3480 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
3481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
3483 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
3484 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
3486 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
3487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
3489 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
3490 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
3492 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
3493 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
3495 static void *_p_wxImageTo_p_wxObject(void *x
) {
3496 return (void *)((wxObject
*) ((wxImage
*) x
));
3498 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
3499 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
3501 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
3502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3504 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
3505 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3507 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
3508 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
3510 static void *_p_wxActiveXWindowTo_p_wxObject(void *x
) {
3511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxActiveXWindow
*) x
));
3513 static void *_p_wxWindowTo_p_wxObject(void *x
) {
3514 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
3516 static void *_p_wxMenuTo_p_wxObject(void *x
) {
3517 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
3519 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
3520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
3522 static void *_p_wxActiveXEventTo_p_wxObject(void *x
) {
3523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3525 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
3526 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
3528 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
3529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3531 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
3532 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
3534 static void *_p_wxIEHtmlWindowBaseTo_p_wxObject(void *x
) {
3535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3537 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
3538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
3540 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
3541 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
3543 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
3544 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
3546 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
3547 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
3549 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
3550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3552 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
3553 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
3555 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
3556 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
3558 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
3559 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
3561 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
3562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3564 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
3565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3567 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
3568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
3570 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
3571 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
3573 static void *_p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow(void *x
) {
3574 return (void *)((wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3576 static void *_p_wxControlTo_p_wxWindow(void *x
) {
3577 return (void *)((wxWindow
*) ((wxControl
*) x
));
3579 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
3580 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
3582 static void *_p_wxActiveXWindowTo_p_wxWindow(void *x
) {
3583 return (void *)((wxWindow
*) ((wxActiveXWindow
*) x
));
3585 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
3586 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
3588 static void *_p_wxIEHtmlWindowBaseTo_p_wxWindow(void *x
) {
3589 return (void *)((wxWindow
*) (wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3591 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
3592 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3594 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
3595 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
3597 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
3598 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3600 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
3601 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3603 static void *_p_wxActiveXEventTo_p_wxCommandEvent(void *x
) {
3604 return (void *)((wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3606 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
3607 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3609 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
3610 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3612 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
3613 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3615 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
3616 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3618 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
3619 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
3621 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
3622 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
3624 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
3625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
3627 static void *_p_wxActiveXWindowTo_p_wxEvtHandler(void *x
) {
3628 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxActiveXWindow
*) x
));
3630 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
3631 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
3633 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
3634 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
3636 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
3637 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
3639 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
3640 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
3642 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
3643 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
3645 static void *_p_wxIEHtmlWindowBaseTo_p_wxEvtHandler(void *x
) {
3646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxActiveXWindow
*) ((wxIEHtmlWindowBase
*) x
));
3648 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
3649 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
3651 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
3652 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
3654 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
3655 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
3657 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
3658 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
3660 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
3661 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
3663 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
3664 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
3666 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
3667 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
3669 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
3670 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
3672 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
3673 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
3675 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
3676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
3678 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
3679 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
3681 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
3682 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
3684 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
3685 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
3687 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
3688 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
3690 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
3691 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
3693 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
3694 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
3696 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
3697 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
3699 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
3700 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
3702 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
3703 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
3705 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
3706 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
3708 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
3709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
3711 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
3712 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
3714 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
3715 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
3717 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
3718 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
3720 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
3721 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
3723 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
3724 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
3726 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
3727 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
3729 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
3730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
3732 static void *_p_wxActiveXEventTo_p_wxEvent(void *x
) {
3733 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxActiveXEvent
*) x
));
3735 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
3736 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
3738 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
3739 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
3741 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
3742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
3744 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
3745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
3747 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
3748 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
3750 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
3751 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
3753 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
3754 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
3756 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}};
3757 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}};
3758 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}};
3759 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}};
3760 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}};
3761 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}};
3762 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}};
3763 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}};
3764 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}};
3765 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}};
3766 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}};
3767 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}};
3768 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}};
3769 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}};
3770 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}};
3771 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}};
3772 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}};
3774 static swig_type_info
*swig_types_initial
[] = {
3777 _swigt__p_wxActiveXWindow
,
3779 _swigt__p_wxCommandEvent
,
3781 _swigt__p_wxInputStream
,
3782 _swigt__p_wxEvtHandler
,
3784 _swigt__p_wxFuncXArray
,
3785 _swigt__p_wxParamXArray
,
3786 _swigt__p_wxActiveXEvent
,
3788 _swigt__p_wxIEHtmlWindowBase
,
3789 _swigt__p_wxPropXArray
,
3796 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
3798 static swig_const_info swig_const_table
[] = {
3808 SWIGEXPORT(void) SWIG_init(void) {
3809 static PyObject
*SWIG_globals
= 0;
3810 static int typeinit
= 0;
3813 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
3814 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
3815 d
= PyModule_GetDict(m
);
3818 for (i
= 0; swig_types_initial
[i
]; i
++) {
3819 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
3823 SWIG_InstallConstants(d
,swig_const_table
);