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_TypePrettyName  SWIG_Python_TypePrettyName 
  47 #define SWIG_TypeQuery       SWIG_Python_TypeQuery 
  48 #define SWIG_TypeClientData  SWIG_Python_TypeClientData 
  49 #define SWIG_PackData        SWIG_Python_PackData  
  50 #define SWIG_UnpackData      SWIG_Python_UnpackData  
  53 /*********************************************************************** 
  54  * common.swg for wxPython 
  56  * Include only the function prototypes and such from SWIG's common.swg, 
  57  * but not the runtime functions themselves.  This helps keep the 
  58  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
  61  ************************************************************************/ 
  65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  66 #  if defined(_MSC_VER) || defined(__GNUC__) 
  67 #    if defined(STATIC_LINKED) 
  68 #      define SWIGEXPORT(a) a 
  69 #      define SWIGIMPORT(a) extern a 
  71 #      define SWIGEXPORT(a) __declspec(dllexport) a 
  72 #      define SWIGIMPORT(a) extern a 
  75 #    if defined(__BORLANDC__) 
  76 #      define SWIGEXPORT(a) a _export 
  77 #      define SWIGIMPORT(a) a _export 
  79 #      define SWIGEXPORT(a) a 
  80 #      define SWIGIMPORT(a) a 
  84 #  define SWIGEXPORT(a) a 
  85 #  define SWIGIMPORT(a) a 
  89 #  define SWIGRUNTIME(a) SWIGEXPORT(a) 
  91 #  define SWIGRUNTIME(a) static a 
  98 typedef void *(*swig_converter_func
)(void *); 
  99 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 101 typedef struct swig_type_info 
{ 
 103   swig_converter_func     converter
; 
 106   swig_dycast_func        dcast
; 
 107   struct swig_type_info  
*next
; 
 108   struct swig_type_info  
*prev
; 
 112 SWIGIMPORT(swig_type_info 
*) SWIG_TypeRegister(swig_type_info 
*); 
 113 SWIGIMPORT(swig_type_info 
*) SWIG_TypeCheck(char *c
, swig_type_info 
*); 
 114 SWIGIMPORT(void *)           SWIG_TypeCast(swig_type_info 
*, void *); 
 115 SWIGIMPORT(swig_type_info 
*) SWIG_TypeDynamicCast(swig_type_info 
*, void **); 
 116 SWIGIMPORT(const char *)     SWIG_TypeName(const swig_type_info 
*); 
 117 SWIGIMPORT(const char *)     SWIG_TypePrettyName(const swig_type_info 
*); 
 118 SWIGIMPORT(swig_type_info 
*) SWIG_TypeQuery(const char *); 
 119 SWIGIMPORT(void)             SWIG_TypeClientData(swig_type_info 
*, void *); 
 120 SWIGIMPORT(char *)           SWIG_PackData(char *, void *, int); 
 121 SWIGIMPORT(char *)           SWIG_UnpackData(char *, void *, int); 
 129 /*********************************************************************** 
 130  * pyrun.swg for wxPython 
 132  * Include only the function prototypes and such from SWIG's pyrun.swg, 
 133  * but not the runtime functions themselves.  This helps keep the 
 134  * wrapper files clean of unnecessary stuff that is in the libpy.c file 
 137  ************************************************************************/ 
 143 #define SWIG_PY_INT     1 
 144 #define SWIG_PY_FLOAT   2 
 145 #define SWIG_PY_STRING  3 
 146 #define SWIG_PY_POINTER 4 
 147 #define SWIG_PY_BINARY  5 
 149 /* Flags for pointer conversion */ 
 151 #define SWIG_POINTER_EXCEPTION     0x1 
 152 #define SWIG_POINTER_DISOWN        0x2 
 154 /* Exception handling in wrappers */ 
 155 #define SWIG_fail   goto fail 
 157 /* Constant information structure */ 
 158 typedef struct swig_const_info 
{ 
 164     swig_type_info 
**ptype
; 
 167 /* Common SWIG API */ 
 168 #define SWIG_ConvertPtr(obj, pp, type, flags) \ 
 169   SWIG_Python_ConvertPtr(obj, pp, type, flags) 
 170 #define SWIG_NewPointerObj(p, type, flags) \ 
 171   SWIG_Python_NewPointerObj(p, type, flags) 
 172 #define SWIG_MustGetPtr(p, type, argnum, flags) \ 
 173   SWIG_Python_MustGetPtr(p, type, argnum, flags) 
 175 /* Python-specific SWIG API */ 
 176 #define SWIG_newvarlink() \ 
 177   SWIG_Python_newvarlink() 
 178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \ 
 179   SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
 180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ 
 181   SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) 
 182 #define SWIG_NewPackedObj(ptr, sz, type) \ 
 183   SWIG_Python_NewPackedObj(ptr, sz, type) 
 184 #define SWIG_InstallConstants(d, constants) \ 
 185   SWIG_Python_InstallConstants(d, constants) 
 187 typedef double (*py_objasdbl_conv
)(PyObject 
*obj
); 
 189 SWIGIMPORT(int)               SWIG_Python_ConvertPtr(PyObject 
*, void **, swig_type_info 
*, int); 
 190 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPointerObj(void *, swig_type_info 
*,int own
); 
 191 SWIGIMPORT(void *)            SWIG_Python_MustGetPtr(PyObject 
*, swig_type_info 
*, int, int); 
 192 SWIGIMPORT(PyObject 
*)        SWIG_Python_newvarlink(void); 
 193 SWIGIMPORT(void)              SWIG_Python_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
 194 SWIGIMPORT(int)               SWIG_Python_ConvertPacked(PyObject 
*, void *, int sz
, swig_type_info 
*, int); 
 195 SWIGIMPORT(PyObject 
*)        SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info 
*); 
 196 SWIGIMPORT(void)              SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]); 
 199 /* Contract support */ 
 201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else 
 209 /* -------- TYPES TABLE (BEGIN) -------- */ 
 211 #define  SWIGTYPE_p_wxObject swig_types[0]  
 212 #define  SWIGTYPE_p_wxFuncX swig_types[1]  
 213 #define  SWIGTYPE_p_wxActiveXWindow swig_types[2]  
 214 #define  SWIGTYPE_p_wxWindow swig_types[3]  
 215 #define  SWIGTYPE_p_wxCommandEvent swig_types[4]  
 216 #define  SWIGTYPE_p_char swig_types[5]  
 217 #define  SWIGTYPE_p_wxInputStream swig_types[6]  
 218 #define  SWIGTYPE_p_wxEvtHandler swig_types[7]  
 219 #define  SWIGTYPE_p_wxPropX swig_types[8]  
 220 #define  SWIGTYPE_p_wxFuncXArray swig_types[9]  
 221 #define  SWIGTYPE_p_wxParamXArray swig_types[10]  
 222 #define  SWIGTYPE_p_wxActiveXEvent swig_types[11]  
 223 #define  SWIGTYPE_p_wxParamX swig_types[12]  
 224 #define  SWIGTYPE_p_wxIEHtmlWindowBase swig_types[13]  
 225 #define  SWIGTYPE_p_wxPropXArray swig_types[14]  
 226 #define  SWIGTYPE_p_wxEvent swig_types[15]  
 227 #define  SWIGTYPE_p_CLSID swig_types[16]  
 228 static swig_type_info 
*swig_types
[18]; 
 230 /* -------- TYPES TABLE (END) -------- */ 
 233 /*----------------------------------------------- 
 234               @(target):= _activex.so 
 235   ------------------------------------------------*/ 
 236 #define SWIG_init    init_activex 
 238 #define SWIG_name    "_activex" 
 240 /* Auxiliar swig  macros that appear in the header */ 
 242 #define SWIG_OLDOBJ  1 
 243 #define SWIG_NEWOBJ  SWIG_OLDOBJ + 1 
 244 #define SWIG_PYSTR   SWIG_NEWOBJ + 1 
 247 #define SWIGSTATICINLINE(a) static inline a 
 248 #define SWIGSTATIC(a) static a 
 249 #define swig_new_array(size,Type) (new Type[(size)]) 
 250 #define swig_delete(cptr) delete cptr 
 251 #define swig_delete_array(cptr) delete[] cptr 
 252 #define swig_const_cast(a,Type) const_cast<Type >(a) 
 253 #define swig_static_cast(a,Type) static_cast<Type >(a) 
 254 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) 
 255 #define swig_new_copy(ptr,Type) (new Type(*ptr)) 
 256 #define swig_numeric_cast(a,Type) static_cast<Type >(a) 
 260 #define SWIGSTATICINLINE(a) static a 
 261 #define SWIGSTATIC(a) static a 
 262 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) 
 263 #define swig_delete(cptr) free((char*)cptr) 
 264 #define swig_delete_array(cptr) free((char*)cptr) 
 265 #define swig_const_cast(a,Type) (Type)(a) 
 266 #define swig_static_cast(a,Type) (Type)(a) 
 267 #define swig_reinterpret_cast(a,Type) (Type)(a) 
 268 #define swig_numeric_cast(a,Type) (Type)(a) 
 269 #define swig_new_copy(ptr,Type)  ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) 
 271 #endif /* __cplusplus */ 
 274 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 275 #define SWIG_From_signed_SS_char PyInt_FromLong 
 277 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 278 #define SWIG_From_unsigned_SS_char PyInt_FromLong 
 280 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 281 #define SWIG_From_short PyInt_FromLong 
 283 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 284 #define SWIG_From_unsigned_SS_short PyInt_FromLong 
 286 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 287 #define SWIG_From_int PyInt_FromLong 
 289 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 290 #define SWIG_From_long PyInt_FromLong 
 292 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 293 #define SWIG_From_float PyFloat_FromDouble 
 295 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/ 
 296 #define SWIG_From_double PyFloat_FromDouble 
 300 #include "wx/wxPython/wxPython.h" 
 301 #include "wx/wxPython/pyclasses.h" 
 302 #include "wx/wxPython/pyistream.h" 
 304 #include "wxactivex.h" 
 306  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
 308 // Since SWIG doesn't support nested classes, we need to fool it a bit 
 309 // and make them look like global classes.  These defines make the C++ code 
 310 // know what we are doing. 
 311 #define wxParamX        wxActiveX::ParamX 
 312 #define wxFuncX         wxActiveX::FuncX 
 313 #define wxPropX         wxActiveX::PropX 
 314 #define wxParamXArray   wxActiveX::ParamXArray 
 315 #define wxFuncXArray    wxActiveX::FuncXArray 
 316 #define wxPropXArray    wxActiveX::PropXArray 
 319 // Some conversion helpers 
 320 static wxVariant 
_PyObj2Variant(PyObject
* value
); 
 321 static bool  _PyObj2Variant(PyObject
* value
, wxVariant
& wv
); 
 322 static PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
=false); 
 323 static wxString  
_VARTYPEname(VARTYPE vt
); 
 325 // Check if an exception has been raised  (blocking threads) 
 326 inline bool wxPyErr_Occurred() 
 329     bool blocked 
= wxPyBeginBlockThreads(); 
 330     rval 
= PyErr_Occurred() != NULL
; 
 331     wxPyEndBlockThreads(blocked
); 
 336 CLSID 
*new_CLSID(wxString 
const &id
){ 
 338             CLSID
* self 
= new CLSID
; 
 339             memset(self
, 0, sizeof(CLSID
)); 
 341             if (id
[0] == _T('{')) { 
 342                 // Looks like a classID string 
 345                         (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
), 
 351                         (LPOLESTR
)(const wchar_t *)id
.wc_str(wxConvUTF8
), 
 354             if (result 
!= NOERROR
) { 
 355                 wxPyErr_SetString(PyExc_ValueError
, "Not a recognized classID or progID"); 
 361 void delete_CLSID(CLSID 
*self
){ delete self
; } 
 362 wxString 
CLSID_GetCLSIDString(CLSID 
*self
){ 
 365             if (StringFromCLSID(*self
, &s
) == S_OK
) { 
 370                 str 
= _T("Error!");  // TODO: raise exception? 
 374 wxString 
CLSID_GetProgIDString(CLSID 
*self
){ 
 377             if (ProgIDFromCLSID(*self
, &s
) == S_OK
) { 
 382                 str 
= _T("Error!"); // TODO: raise exception? 
 386 wxString 
wxParamX_vt_type_get(wxParamX 
*self
){ return _VARTYPEname(self
->vt
); } 
 387 bool wxParamXArray___nonzero__(wxParamXArray 
*self
){ return self
->size() > 0; } 
 388 int wxParamXArray___len__(wxParamXArray 
*self
){ return self
->size(); } 
 393 SWIGSTATICINLINE(int) 
 394   SWIG_CheckLongInRange(long value
, long min_value
, long max_value
, 
 397   if (value 
< min_value
) { 
 399       PyErr_Format(PyExc_OverflowError
,  
 400                    "value %ld is less than '%s' minimum %ld",  
 401                    value
, errmsg
, min_value
); 
 404   } else if (value 
> max_value
) { 
 406       PyErr_Format(PyExc_OverflowError
, 
 407                    "value %ld is greater than '%s' maximum %ld",  
 408                    value
, errmsg
, max_value
); 
 416 // See my_fragments.i 
 417 SWIGSTATICINLINE(int) 
 418 SWIG_AsVal_long(PyObject
* obj
, long* val
) 
 420     if (PyNumber_Check(obj
)) { 
 421         if (val
) *val 
= PyInt_AsLong(obj
); 
 425         PyObject
* errmsg 
= PyString_FromFormat("Expected number, got %s", 
 426                                                obj
->ob_type
->tp_name
); 
 427         PyErr_SetObject(PyExc_TypeError
, errmsg
); 
 434 #if INT_MAX != LONG_MAX 
 435 SWIGSTATICINLINE(int) 
 436   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 438   const char* errmsg 
= val 
? "int" : 0; 
 440   if (SWIG_AsVal_long(obj
, &v
)) { 
 441     if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) { 
 442       if (val
) *val 
= swig_numeric_cast(v
, int); 
 451     PyErr_SetString(PyExc_TypeError
, "an int is expected"); 
 456 SWIGSTATICINLINE(int) 
 457   SWIG_AsVal_int(PyObject 
*obj
, int *val
) 
 459   return SWIG_AsVal_long(obj
,(long*)val
); 
 464 SWIGSTATICINLINE(int) 
 465 SWIG_As_int(PyObject
* obj
) 
 468   if (!SWIG_AsVal_int(obj
, &v
)) { 
 470       this is needed to make valgrind/purify happier.  the other 
 471       solution is throw an exception, but since this code should work 
 474     memset((void*)&v
, 0, sizeof(int)); 
 480 SWIGSTATICINLINE(int) 
 481 SWIG_Check_int(PyObject
* obj
) 
 483   return SWIG_AsVal_int(obj
, (int*)0); 
 486 wxParamX 
const &wxParamXArray___getitem__(wxParamXArray 
*self
,int idx
){ 
 487             if ( idx 
>= 0 && idx 
< self
->size() ) 
 490                 static wxParamX BadVal
; 
 491                 wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
 495 bool wxFuncXArray___nonzero__(wxFuncXArray 
*self
){ return self
->size() > 0; } 
 496 int wxFuncXArray___len__(wxFuncXArray 
*self
){ return self
->size(); } 
 497 wxFuncX 
const &wxFuncXArray___getitem__(wxFuncXArray 
*self
,int idx
){ 
 498             if ( idx 
>= 0 && idx 
< self
->size() ) 
 501                 static wxFuncX BadVal
; 
 502                 wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
 506 bool wxPropXArray___nonzero__(wxPropXArray 
*self
){ return self
->size() > 0; } 
 507 int wxPropXArray___len__(wxPropXArray 
*self
){ return self
->size(); } 
 508 wxPropX 
const &wxPropXArray___getitem__(wxPropXArray 
*self
,int idx
){ 
 509             if ( idx 
>= 0 && idx 
< self
->size() ) 
 512                 static wxPropX BadVal
; 
 513                 wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
 518 // C++ version of a Python-aware wxActiveX     
 519 class wxActiveXWindow 
: public wxActiveX
 
 524     wxActiveXWindow( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id 
= -1, 
 525                      const wxPoint
& pos 
= wxDefaultPosition
, 
 526                      const wxSize
& size 
= wxDefaultSize
, 
 528                      const wxString
& name 
= wxPyPanelNameStr
) 
 529         : wxActiveX(parent
, clsId
, id
, pos
, size
, style
, name
) 
 534     const CLSID
& GetCLSID() const { return m_CLSID
; } 
 537     // Renamed versions of some base class methods that delegate 
 538     // to the base where appropriate, and raise Python exceptions 
 540     int GetAXEventCount() const  { return wxActiveX::GetEventCount(); } 
 541     int GetAXPropCount() const   { return wxActiveX::GetPropCount(); } 
 542     int GetAXMethodCount() const { return wxActiveX::GetMethodCount(); } 
 544     const wxFuncX
& GetAXEventDesc(int idx
) const 
 546         static wxFuncX BadVal
; 
 547         if (idx 
< 0 || idx 
>= GetAXEventCount()) { 
 548             wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
 551         return m_events
[idx
]; 
 553     const wxFuncX
& GetAXMethodDesc(int idx
) const 
 555         static wxFuncX BadVal
; 
 556         if (idx 
< 0 || idx 
>= GetAXMethodCount()) { 
 557             wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
 560         return m_methods
[idx
]; 
 562     const wxPropX
& GetAXPropDesc(int idx
) const 
 564         static wxPropX BadVal
; 
 565         if (idx 
< 0 || idx 
>= GetAXPropCount()) { 
 566             wxPyErr_SetString(PyExc_IndexError
, "Index out of range"); 
 572     const wxFuncX
& GetAXMethodDesc(const wxString
& name
) const 
 574         NameMap::const_iterator it 
= m_methodNames
.find(name
); 
 575         if (it 
== m_methodNames
.end())     { 
 577             msg 
<< _T("method <") << name 
<< _T("> not found"); 
 578             wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str()); 
 579             static wxFuncX BadVal
; 
 582         return GetAXMethodDesc(it
->second
); 
 584     const wxPropX
& GetAXPropDesc(const wxString
& name
) const 
 586         NameMap::const_iterator it 
= m_propNames
.find(name
); 
 587         if (it 
== m_propNames
.end())     { 
 589             msg 
<< _T("property <") << name 
<< _T("> not found"); 
 590             wxPyErr_SetString(PyExc_KeyError
, msg
.mb_str()); 
 591             static wxPropX BadVal
; 
 594         return GetAXPropDesc(it
->second
); 
 597     // Accessors for the internal vectors of events, methods and 
 598     // proprties.  Can be used as sequence like objects from 
 600     const wxFuncXArray
& GetAXEvents()      { return m_events
; } 
 601     const wxFuncXArray
& GetAXMethods()     { return m_methods
; } 
 602     const wxPropXArray
& GetAXProperties()  { return m_props
; } 
 605     // Set a property from a Python object 
 606     void SetAXProp(const wxString
& name
, PyObject
* value
) 
 608         const wxPropX
& prop 
= GetAXPropDesc(name
); 
 609         bool blocked 
= wxPyBeginBlockThreads(); 
 610         if (! PyErr_Occurred() ) { 
 611             if (! prop
.CanSet()) { 
 613                 msg 
<< _T("property <") << name 
<< _T("> is readonly"); 
 614                 PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
 617                 wxVariant wxV 
= _PyObj2Variant(value
); 
 618                 if (PyErr_Occurred()) 
 620                 VARIANT v 
= {prop
.arg
.vt
}; 
 621                 if (!VariantToMSWVariant(wxV
, v
) || PyErr_Occurred()) { 
 623                     msg 
<< _T("Unable to convert value to expected type: (") 
 624                         << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <") 
 626                     PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
 629                 PyThreadState
* tstate 
= wxPyBeginAllowThreads(); 
 630                 SetProp(prop
.memid
, v
); 
 632                 wxPyEndAllowThreads(tstate
); 
 636         wxPyEndBlockThreads(blocked
); 
 640     // Get a property and convert it to a Python object 
 641     PyObject
* GetAXProp(const wxString
& name
) 
 643         PyObject
* rval 
= NULL
; 
 644         const wxPropX
& prop 
= GetAXPropDesc(name
); 
 645         bool blocked 
= wxPyBeginBlockThreads(); 
 646         if (! PyErr_Occurred() ) { 
 647             if (! prop
.CanGet()) { 
 649                 msg 
<< _T("property <") << name 
<< _T("> is writeonly"); 
 650                 PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
 653                 PyThreadState
* tstate 
= wxPyBeginAllowThreads(); 
 654                 VARIANT v 
= GetPropAsVariant(prop
.memid
); 
 655                 wxPyEndAllowThreads(tstate
); 
 657                 if (!MSWVariantToVariant(v
, wv
) || PyErr_Occurred()) { 
 659                     msg 
<< _T("Unable to convert value to expected type: (") 
 660                         << _VARTYPEname(prop
.arg
.vt
) << _T(") for property <") 
 662                     PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
 665                 rval 
= _Variant2PyObj(wv
); 
 670         wxPyEndBlockThreads(blocked
); 
 675     // If both IsIn and isOut are false, assume it is actually an 
 677     bool paramIsIn(const wxParamX
& p
) 
 679         return p
.IsIn() || (!p
.IsIn() && !p
.IsOut()); 
 683     // Call a method of the ActiveX object 
 684     PyObject
* _CallAXMethod(const wxString
& name
, PyObject
* args
) 
 686         VARIANTARG 
*vargs 
= NULL
; 
 688         PyObject
* rval 
= NULL
; 
 689         const wxFuncX
& func 
= GetAXMethodDesc(name
); 
 691         bool blocked 
= wxPyBeginBlockThreads(); 
 692         if (! PyErr_Occurred() ) { 
 693             nargs 
= func
.params
.size(); 
 695                 vargs 
= new VARIANTARG
[nargs
]; 
 698                 // init type of vargs, in reverse order 
 700                 for (i 
= 0; i 
< nargs
; i
++) 
 701                     vargs
[nargs 
- i 
- 1].vt 
= func
.params
[i
].vt
; 
 703                 // Map the args coming from Python to the input parameters in vargs 
 706                 while ( i
<nargs 
&& pi
<PyTuple_Size(args
) ) { 
 707                     // Move to the next input param.  
 708                     if (! paramIsIn(func
.params
[i
])) { 
 712                     // convert the python object 
 713                     PyObject
* obj 
= PyTuple_GetItem(args
, pi
); 
 714                     if (obj 
== Py_None
) // special-case None? 
 715                         vargs
[nargs 
- i 
- 1].vt 
= VT_EMPTY
; 
 717                         wxVariant wxV 
= _PyObj2Variant(obj
); 
 718                         if (PyErr_Occurred()) 
 720                         if (!VariantToMSWVariant(wxV
, vargs
[nargs 
- i 
- 1]) || PyErr_Occurred()) { 
 722                             msg 
<< _T("Unable to convert value to expected type: (") 
 723                                 << _VARTYPEname(vargs
[nargs 
- i 
- 1].vt
) 
 724                                 << _T(") for parameter ") << i
; 
 725                             PyErr_SetString(PyExc_TypeError
, msg
.mb_str()); 
 735             PyThreadState
* tstate 
= wxPyBeginAllowThreads(); 
 736             VARIANT rv 
= CallMethod(func
.memid
, vargs
, nargs
); 
 737             wxPyEndAllowThreads(tstate
); 
 739             // Convert the return value and any out-params, ignoring 
 740             // conversion errors for now 
 742             MSWVariantToVariant(rv
, wv
); 
 743             rval 
= _Variant2PyObj(wv
, true); 
 747                 // make a list and put the rval in it if it is not None 
 748                 PyObject
* lst 
= PyList_New(0); 
 750                     PyList_Append(lst
, rval
); 
 754                 // find the out params and convert them 
 755                 for (int i 
= 0; i 
< nargs
; i
++) { 
 756                     VARIANTARG
& va 
= vargs
[nargs 
- i 
- 1]; 
 757                     const wxParamX 
&px 
= func
.params
[i
]; 
 759                         MSWVariantToVariant(va
, wv
); 
 760                         PyObject
* obj 
= _Variant2PyObj(wv
, true); 
 761                         PyList_Append(lst
, obj
); 
 764                 rval 
= PyList_AsTuple(lst
); 
 767             if (PyErr_Occurred()) 
 771         wxPyEndBlockThreads(blocked
); 
 773             for (int i 
= 0; i 
< nargs
; i
++) 
 774                 VariantClear(&vargs
[i
]); 
 782 SWIGSTATICINLINE(long) 
 783 SWIG_As_long(PyObject
* obj
) 
 786   if (!SWIG_AsVal_long(obj
, &v
)) { 
 788       this is needed to make valgrind/purify happier.  the other 
 789       solution is throw an exception, but since this code should work 
 792     memset((void*)&v
, 0, sizeof(long)); 
 798 SWIGSTATICINLINE(int) 
 799 SWIG_Check_long(PyObject
* obj
) 
 801   return SWIG_AsVal_long(obj
, (long*)0); 
 804 void wxActiveXEvent__preCallInit(wxActiveXEvent 
*self
,PyObject 
*pyself
){ 
 805             bool blocked 
= wxPyBeginBlockThreads(); 
 806             PyObject
* pList 
= PyList_New(0); 
 807             PyObject_SetAttrString(pyself
, "paramList", pList
); 
 809             for (int i
=0; i
<self
->ParamCount(); i
+=1) { 
 810                 PyObject
* name 
= PyString_FromString((char*)(const char*)self
->ParamName(i
).mb_str()); 
 811                 PyObject
* val 
= _Variant2PyObj((*self
)[i
], true); 
 812                 PyObject_SetAttr(pyself
, name
, val
); 
 813                 PyList_Append(pList
, name
); 
 817             wxPyEndBlockThreads(blocked
); 
 819 void wxActiveXEvent__postCallCleanup(wxActiveXEvent 
*self
,PyObject 
*pyself
){ 
 820             bool blocked 
= wxPyBeginBlockThreads(); 
 821             for (int i
=0; i
<self
->ParamCount(); i
+=1) { 
 822                 PyObject
* val 
= PyObject_GetAttrString( 
 823                     pyself
, (char*)(const char*)self
->ParamName(i
).mb_str()); 
 824                 _PyObj2Variant(val
, (*self
)[i
]); 
 827             wxPyEndBlockThreads(blocked
); 
 831 // Caller should already have the GIL! 
 832 wxVariant 
_PyObj2Variant(PyObject
* value
) 
 836     if (value 
== Py_None
) 
 839 #if PYTHON_API_VERSION >= 1012  // Python 2.3+ 
 840     else if (PyBool_Check(value
)) 
 841         rval 
= (value 
== Py_True
) ? true : false; 
 844     else if (PyInt_Check(value
)) 
 845         rval 
= PyInt_AS_LONG(value
); 
 847     else if (PyFloat_Check(value
)) 
 848         rval 
= PyFloat_AS_DOUBLE(value
); 
 850     else if (PyString_Check(value
) || PyUnicode_Check(value
)) 
 851         rval 
= Py2wxString(value
); 
 853     // TODO:    PyList of strings --> wxArrayString 
 859         PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _PyObj2Variant"); 
 866 // This one uses the type of the variant to try and force the conversion 
 867 bool  _PyObj2Variant(PyObject
* value
, wxVariant
& wv
) 
 869     wxString type 
= wv
.GetType(); 
 871     if ( type 
== _T("long") || type 
== _T("bool") || type 
== _T("char") ) 
 872         wv 
= PyInt_AsLong(value
); 
 874     else if ( type 
== _T("string") ) 
 875         wv 
= Py2wxString(value
); 
 877     else if ( type 
== _T("double") ) 
 878         wv  
= PyFloat_AsDouble(value
); 
 881         // it's some other type that we dont' handle yet.  Log it? 
 887 // Caller should already have the GIL! 
 888 PyObject
* _Variant2PyObj(wxVariant
& value
, bool useNone
) 
 890     PyObject
* rval 
= NULL
; 
 892     if (value
.IsNull()) { 
 897     // should "char" be treated as an int or as a string? 
 898     else if (value
.IsType(_T("char")) || value
.IsType(_T("long"))) 
 899         rval 
= PyInt_FromLong(value
); 
 901     else if (value
.IsType(_T("double"))) 
 902         rval 
= PyFloat_FromDouble(value
); 
 904     else if (value
.IsType(_T("bool"))) { 
 905         rval 
= (bool)value 
? Py_True 
: Py_False
; 
 909     else if (value
.IsType(_T("string"))) 
 910         rval 
= wx2PyString(value
); 
 918             PyErr_SetString(PyExc_TypeError
, "Unsupported object type in _Variant2PyObj"); 
 925 wxString 
_VARTYPEname(VARTYPE vt
) 
 932         return _T("VT_VARIANT"); 
 952     // decimals are converted from doubles too 
 960         return _T("wx.DateTime"); 
 966         return _T("VT_UNKNOWN"); 
 969         return _T("VT_DISPATCH"); 
 972         return _T("VT_EMPTY"); 
 975         return _T("VT_NULL"); 
 978         return _T("VT_VOID"); 
 982         msg 
<< _T("unsupported type ") << vt
; 
 989 // A class derived from out wxActiveXWindow for the IE WebBrowser 
 990 // control that will serve as a base class for a Python 
 991 // implementation.  This is done so we can "eat our own dog food" 
 992 // and use a class at least mostly generated by genaxmodule, but 
 993 // also get some of the extra stuff like loading a document from 
 994 // a string or a stream, getting text contents, etc. that 
 995 // Lindsay's version gives us. 
 998 #include <wx/mstream.h> 
1000 #include <winerror.h> 
1001 #include <exdispid.h> 
1007 #include "IEHtmlStream.h" 
1009 class wxIEHtmlWindowBase 
: public wxActiveXWindow 
{ 
1011     wxAutoOleInterface
<IWebBrowser2
>  m_webBrowser
; 
1015     wxIEHtmlWindowBase ( wxWindow
* parent
, const CLSID
& clsId
, wxWindowID id 
= -1, 
1016                          const wxPoint
& pos 
= wxDefaultPosition
, 
1017                          const wxSize
& size 
= wxDefaultSize
, 
1019                          const wxString
& name 
= wxPyPanelNameStr
) 
1020         : wxActiveXWindow(parent
, clsId
, id
, pos
, size
, style
, name
) 
1024         // Get IWebBrowser2 Interface 
1025         hret 
= m_webBrowser
.QueryInterface(IID_IWebBrowser2
, m_ActiveX
); 
1026         wxASSERT(SUCCEEDED(hret
)); 
1028         // web browser setup 
1029         m_webBrowser
->put_MenuBar(VARIANT_FALSE
); 
1030         m_webBrowser
->put_AddressBar(VARIANT_FALSE
); 
1031         m_webBrowser
->put_StatusBar(VARIANT_FALSE
); 
1032         m_webBrowser
->put_ToolBar(VARIANT_FALSE
); 
1034         m_webBrowser
->put_RegisterAsBrowser(VARIANT_TRUE
); 
1035         m_webBrowser
->put_RegisterAsDropTarget(VARIANT_TRUE
); 
1037         m_webBrowser
->Navigate( L
"about:blank", NULL
, NULL
, NULL
, NULL 
); 
1041     void SetCharset(const wxString
& charset
) 
1046         IDispatch 
*pDisp 
= NULL
; 
1047         hret 
= m_webBrowser
->get_Document(&pDisp
); 
1048         wxAutoOleInterface
<IDispatch
> disp(pDisp
); 
1052             wxAutoOleInterface
<IHTMLDocument2
> doc(IID_IHTMLDocument2
, disp
); 
1054                 doc
->put_charset((BSTR
) (const wchar_t *) charset
.wc_str(wxConvUTF8
)); 
1055             //doc->put_charset((BSTR) wxConvUTF8.cMB2WC(charset).data()); 
1060     bool LoadString(const wxString
& html
) 
1063         size_t len 
= html
.length(); 
1064         len 
*= sizeof(wxChar
); 
1065         data 
= (char *) malloc(len
); 
1066         memcpy(data
, html
.c_str(), len
); 
1067         return LoadStream(new wxOwnedMemInputStream(data
, len
)); 
1071     bool LoadStream(IStreamAdaptorBase 
*pstrm
) 
1073         // need to prepend this as poxy MSHTML will not recognise a HTML comment 
1074         // as starting a html document and treats it as plain text 
1075         // Does nayone know how to force it to html mode ? 
1077         // TODO: What to do in this case??? 
1079         pstrm
->prepend 
= _T("<html>"); 
1082         // strip leading whitespace as it can confuse MSHTML 
1083         wxAutoOleInterface
<IStream
> strm(pstrm
); 
1085         // Document Interface 
1086         IDispatch 
*pDisp 
= NULL
; 
1087         HRESULT hret 
= m_webBrowser
->get_Document(&pDisp
); 
1090         wxAutoOleInterface
<IDispatch
> disp(pDisp
); 
1093         // get IPersistStreamInit 
1094         wxAutoOleInterface
<IPersistStreamInit
> 
1095             pPersistStreamInit(IID_IPersistStreamInit
, disp
); 
1097         if (pPersistStreamInit
.Ok()) 
1099             HRESULT hr 
= pPersistStreamInit
->InitNew(); 
1101                 hr 
= pPersistStreamInit
->Load(strm
); 
1103             return SUCCEEDED(hr
); 
1109     bool LoadStream(wxInputStream 
*is
) 
1111         // wrap reference around stream 
1112         IwxStreamAdaptor 
*pstrm 
= new IwxStreamAdaptor(is
); 
1115         return LoadStream(pstrm
); 
1119     wxString 
GetStringSelection(bool asHTML
) 
1121         wxAutoOleInterface
<IHTMLTxtRange
> tr(wxieGetSelRange(m_oleObject
)); 
1123             return wxEmptyString
; 
1126         HRESULT hr 
= E_FAIL
; 
1129             hr 
= tr
->get_htmlText(&text
); 
1131             hr 
= tr
->get_text(&text
); 
1133             return wxEmptyString
; 
1136         SysFreeString(text
); 
1141     wxString 
GetText(bool asHTML
) 
1143         if (! m_webBrowser
.Ok()) 
1144             return wxEmptyString
; 
1146         // get document dispatch interface 
1147         IDispatch 
*iDisp 
= NULL
; 
1148         HRESULT hr 
= m_webBrowser
->get_Document(&iDisp
); 
1150             return wxEmptyString
; 
1152         // Query for Document Interface 
1153         wxAutoOleInterface
<IHTMLDocument2
> hd(IID_IHTMLDocument2
, iDisp
); 
1157             return wxEmptyString
; 
1160         IHTMLElement 
*_body 
= NULL
; 
1161         hd
->get_body(&_body
); 
1163             return wxEmptyString
; 
1164         wxAutoOleInterface
<IHTMLElement
> body(_body
); 
1171             hr 
= body
->get_innerHTML(&text
); 
1173             hr 
= body
->get_innerText(&text
); 
1175             return wxEmptyString
; 
1178         SysFreeString(text
); 
1184 //     void wxIEHtmlWin::SetEditMode(bool seton) 
1186 //         m_bAmbientUserMode = ! seton; 
1187 //         AmbientPropertyChanged(DISPID_AMBIENT_USERMODE); 
1190 //     bool wxIEHtmlWin::GetEditMode() 
1192 //         return ! m_bAmbientUserMode; 
1197 SWIGSTATICINLINE(int) 
1198   SWIG_AsVal_bool(PyObject 
*obj
, bool *val
) 
1200   /*  if (val) *val = PyObject_IsTrue(obj); return 1; */ 
1201   if (obj 
== Py_True
) { 
1202     if (val
) *val 
= true; 
1205   if (obj 
== Py_False
) { 
1206     if (val
) *val 
= false; 
1210   if (SWIG_AsVal_int(obj
, &res
)) {     
1211     if (val
) *val 
= (bool)res
; 
1215     PyErr_SetString(PyExc_TypeError
, "a bool is expected"); 
1221 SWIGSTATICINLINE(bool) 
1222 SWIG_As_bool(PyObject
* obj
) 
1225   if (!SWIG_AsVal_bool(obj
, &v
)) { 
1227       this is needed to make valgrind/purify happier.  the other 
1228       solution is throw an exception, but since this code should work 
1231     memset((void*)&v
, 0, sizeof(bool)); 
1237 SWIGSTATICINLINE(int) 
1238 SWIG_Check_bool(PyObject
* obj
) 
1240   return SWIG_AsVal_bool(obj
, (bool*)0); 
1246 static PyObject 
*_wrap_new_CLSID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1247     PyObject 
*resultobj
; 
1248     wxString 
*arg1 
= 0 ; 
1250     bool temp1 
= false ; 
1251     PyObject 
* obj0 
= 0 ; 
1256     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CLSID",kwnames
,&obj0
)) goto fail
; 
1258         arg1 
= wxString_in_helper(obj0
); 
1259         if (arg1 
== NULL
) SWIG_fail
; 
1263         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1264         result 
= (CLSID 
*)new_CLSID((wxString 
const &)*arg1
); 
1266         wxPyEndAllowThreads(__tstate
); 
1267         if (PyErr_Occurred()) SWIG_fail
; 
1269     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 1); 
1284 static PyObject 
*_wrap_delete_CLSID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1285     PyObject 
*resultobj
; 
1286     CLSID 
*arg1 
= (CLSID 
*) 0 ; 
1287     PyObject 
* obj0 
= 0 ; 
1289         (char *) "self", NULL 
 
1292     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_CLSID",kwnames
,&obj0
)) goto fail
; 
1293     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
, 
1294     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1296         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1299         wxPyEndAllowThreads(__tstate
); 
1300         if (PyErr_Occurred()) SWIG_fail
; 
1302     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
1309 static PyObject 
*_wrap_CLSID_GetCLSIDString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1310     PyObject 
*resultobj
; 
1311     CLSID 
*arg1 
= (CLSID 
*) 0 ; 
1313     PyObject 
* obj0 
= 0 ; 
1315         (char *) "self", NULL 
 
1318     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetCLSIDString",kwnames
,&obj0
)) goto fail
; 
1319     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
, 
1320     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1322         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1323         result 
= CLSID_GetCLSIDString(arg1
); 
1325         wxPyEndAllowThreads(__tstate
); 
1326         if (PyErr_Occurred()) SWIG_fail
; 
1330         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1332         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1341 static PyObject 
*_wrap_CLSID_GetProgIDString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1342     PyObject 
*resultobj
; 
1343     CLSID 
*arg1 
= (CLSID 
*) 0 ; 
1345     PyObject 
* obj0 
= 0 ; 
1347         (char *) "self", NULL 
 
1350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CLSID_GetProgIDString",kwnames
,&obj0
)) goto fail
; 
1351     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_CLSID
, 
1352     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1354         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1355         result 
= CLSID_GetProgIDString(arg1
); 
1357         wxPyEndAllowThreads(__tstate
); 
1358         if (PyErr_Occurred()) SWIG_fail
; 
1362         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1364         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1373 static PyObject 
* CLSID_swigregister(PyObject 
*, PyObject 
*args
) { 
1375     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1376     SWIG_TypeClientData(SWIGTYPE_p_CLSID
, obj
); 
1378     return Py_BuildValue((char *)""); 
1380 static PyObject 
*_wrap_ParamX_flags_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1381     PyObject 
*resultobj
; 
1382     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1384     PyObject 
* obj0 
= 0 ; 
1386         (char *) "self", NULL 
 
1389     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_flags_get",kwnames
,&obj0
)) goto fail
; 
1390     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1391     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1392     result 
= (USHORT
) ((arg1
)->flags
); 
1394     resultobj 
= SWIG_From_unsigned_SS_short((unsigned short)result
); 
1401 static PyObject 
*_wrap_ParamX_isPtr_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1402     PyObject 
*resultobj
; 
1403     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1405     PyObject 
* obj0 
= 0 ; 
1407         (char *) "self", NULL 
 
1410     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isPtr_get",kwnames
,&obj0
)) goto fail
; 
1411     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1412     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1413     result 
= (bool) ((arg1
)->isPtr
); 
1416         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1424 static PyObject 
*_wrap_ParamX_isSafeArray_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1425     PyObject 
*resultobj
; 
1426     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1428     PyObject 
* obj0 
= 0 ; 
1430         (char *) "self", NULL 
 
1433     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isSafeArray_get",kwnames
,&obj0
)) goto fail
; 
1434     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1435     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1436     result 
= (bool) ((arg1
)->isSafeArray
); 
1439         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1447 static PyObject 
*_wrap_ParamX_isOptional_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1448     PyObject 
*resultobj
; 
1449     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1451     PyObject 
* obj0 
= 0 ; 
1453         (char *) "self", NULL 
 
1456     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_isOptional_get",kwnames
,&obj0
)) goto fail
; 
1457     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1458     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1459     result 
= (bool) ((arg1
)->isOptional
); 
1462         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1470 static PyObject 
*_wrap_ParamX_vt_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1471     PyObject 
*resultobj
; 
1472     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1474     PyObject 
* obj0 
= 0 ; 
1476         (char *) "self", NULL 
 
1479     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_get",kwnames
,&obj0
)) goto fail
; 
1480     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1481     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1482     result 
= (VARTYPE
) ((arg1
)->vt
); 
1484     resultobj 
= SWIG_From_unsigned_SS_short((unsigned short)result
); 
1491 static PyObject 
*_wrap_ParamX_name_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1492     PyObject 
*resultobj
; 
1493     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1495     PyObject 
* obj0 
= 0 ; 
1497         (char *) "self", NULL 
 
1500     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_name_get",kwnames
,&obj0
)) goto fail
; 
1501     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1502     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1503     result 
= (wxString 
*)& ((arg1
)->name
); 
1507         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
1509         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
1518 static PyObject 
*_wrap_ParamX_vt_type_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1519     PyObject 
*resultobj
; 
1520     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1522     PyObject 
* obj0 
= 0 ; 
1524         (char *) "self", NULL 
 
1527     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_vt_type_get",kwnames
,&obj0
)) goto fail
; 
1528     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1529     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1531         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1532         result 
= wxParamX_vt_type_get(arg1
); 
1534         wxPyEndAllowThreads(__tstate
); 
1535         if (PyErr_Occurred()) SWIG_fail
; 
1539         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
1541         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
1550 static PyObject 
*_wrap_ParamX_IsIn(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1551     PyObject 
*resultobj
; 
1552     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1554     PyObject 
* obj0 
= 0 ; 
1556         (char *) "self", NULL 
 
1559     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsIn",kwnames
,&obj0
)) goto fail
; 
1560     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1561     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1563         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1564         result 
= (bool)((wxParamX 
const *)arg1
)->IsIn(); 
1566         wxPyEndAllowThreads(__tstate
); 
1567         if (PyErr_Occurred()) SWIG_fail
; 
1570         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1578 static PyObject 
*_wrap_ParamX_IsOut(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1579     PyObject 
*resultobj
; 
1580     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1582     PyObject 
* obj0 
= 0 ; 
1584         (char *) "self", NULL 
 
1587     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsOut",kwnames
,&obj0
)) goto fail
; 
1588     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1589     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1591         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1592         result 
= (bool)((wxParamX 
const *)arg1
)->IsOut(); 
1594         wxPyEndAllowThreads(__tstate
); 
1595         if (PyErr_Occurred()) SWIG_fail
; 
1598         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1606 static PyObject 
*_wrap_ParamX_IsRetVal(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1607     PyObject 
*resultobj
; 
1608     wxParamX 
*arg1 
= (wxParamX 
*) 0 ; 
1610     PyObject 
* obj0 
= 0 ; 
1612         (char *) "self", NULL 
 
1615     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamX_IsRetVal",kwnames
,&obj0
)) goto fail
; 
1616     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamX
, 
1617     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1620         result 
= (bool)((wxParamX 
const *)arg1
)->IsRetVal(); 
1622         wxPyEndAllowThreads(__tstate
); 
1623         if (PyErr_Occurred()) SWIG_fail
; 
1626         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1634 static PyObject 
* ParamX_swigregister(PyObject 
*, PyObject 
*args
) { 
1636     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1637     SWIG_TypeClientData(SWIGTYPE_p_wxParamX
, obj
); 
1639     return Py_BuildValue((char *)""); 
1641 static PyObject 
*_wrap_FuncX_name_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1642     PyObject 
*resultobj
; 
1643     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
1645     PyObject 
* obj0 
= 0 ; 
1647         (char *) "self", NULL 
 
1650     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_name_get",kwnames
,&obj0
)) goto fail
; 
1651     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
, 
1652     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1653     result 
= (wxString 
*)& ((arg1
)->name
); 
1657         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
1659         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
1668 static PyObject 
*_wrap_FuncX_memid_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1669     PyObject 
*resultobj
; 
1670     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
1672     PyObject 
* obj0 
= 0 ; 
1674         (char *) "self", NULL 
 
1677     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_memid_get",kwnames
,&obj0
)) goto fail
; 
1678     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
, 
1679     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1680     result 
= (MEMBERID
) ((arg1
)->memid
); 
1682     resultobj 
= SWIG_From_long((long)result
); 
1689 static PyObject 
*_wrap_FuncX_hasOut_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1690     PyObject 
*resultobj
; 
1691     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
1693     PyObject 
* obj0 
= 0 ; 
1695         (char *) "self", NULL 
 
1698     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_hasOut_get",kwnames
,&obj0
)) goto fail
; 
1699     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
, 
1700     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1701     result 
= (bool) ((arg1
)->hasOut
); 
1704         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1712 static PyObject 
*_wrap_FuncX_retType_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1713     PyObject 
*resultobj
; 
1714     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
1716     PyObject 
* obj0 
= 0 ; 
1718         (char *) "self", NULL 
 
1721     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_retType_get",kwnames
,&obj0
)) goto fail
; 
1722     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
, 
1723     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1724     result 
= (wxParamX 
*)& ((arg1
)->retType
); 
1726     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
1733 static PyObject 
*_wrap_FuncX_params_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1734     PyObject 
*resultobj
; 
1735     wxFuncX 
*arg1 
= (wxFuncX 
*) 0 ; 
1736     wxParamXArray 
*result
; 
1737     PyObject 
* obj0 
= 0 ; 
1739         (char *) "self", NULL 
 
1742     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncX_params_get",kwnames
,&obj0
)) goto fail
; 
1743     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncX
, 
1744     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1745     result 
= (wxParamXArray 
*)& ((arg1
)->params
); 
1747     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamXArray
, 0); 
1754 static PyObject 
* FuncX_swigregister(PyObject 
*, PyObject 
*args
) { 
1756     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1757     SWIG_TypeClientData(SWIGTYPE_p_wxFuncX
, obj
); 
1759     return Py_BuildValue((char *)""); 
1761 static PyObject 
*_wrap_PropX_name_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1762     PyObject 
*resultobj
; 
1763     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1765     PyObject 
* obj0 
= 0 ; 
1767         (char *) "self", NULL 
 
1770     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_name_get",kwnames
,&obj0
)) goto fail
; 
1771     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1772     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1773     result 
= (wxString 
*)& ((arg1
)->name
); 
1777         resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
1779         resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
1788 static PyObject 
*_wrap_PropX_memid_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1789     PyObject 
*resultobj
; 
1790     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1792     PyObject 
* obj0 
= 0 ; 
1794         (char *) "self", NULL 
 
1797     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_memid_get",kwnames
,&obj0
)) goto fail
; 
1798     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1799     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1800     result 
= (MEMBERID
) ((arg1
)->memid
); 
1802     resultobj 
= SWIG_From_long((long)result
); 
1809 static PyObject 
*_wrap_PropX_type_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1810     PyObject 
*resultobj
; 
1811     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1813     PyObject 
* obj0 
= 0 ; 
1815         (char *) "self", NULL 
 
1818     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_type_get",kwnames
,&obj0
)) goto fail
; 
1819     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1820     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1821     result 
= (wxParamX 
*)& ((arg1
)->type
); 
1823     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
1830 static PyObject 
*_wrap_PropX_arg_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1831     PyObject 
*resultobj
; 
1832     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1834     PyObject 
* obj0 
= 0 ; 
1836         (char *) "self", NULL 
 
1839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_arg_get",kwnames
,&obj0
)) goto fail
; 
1840     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1841     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1842     result 
= (wxParamX 
*)& ((arg1
)->arg
); 
1844     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
1851 static PyObject 
*_wrap_PropX_putByRef_get(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1852     PyObject 
*resultobj
; 
1853     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1855     PyObject 
* obj0 
= 0 ; 
1857         (char *) "self", NULL 
 
1860     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_putByRef_get",kwnames
,&obj0
)) goto fail
; 
1861     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1862     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1863     result 
= (bool) ((arg1
)->putByRef
); 
1866         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1874 static PyObject 
*_wrap_PropX_CanGet(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1875     PyObject 
*resultobj
; 
1876     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1878     PyObject 
* obj0 
= 0 ; 
1880         (char *) "self", NULL 
 
1883     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanGet",kwnames
,&obj0
)) goto fail
; 
1884     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1885     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1887         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1888         result 
= (bool)((wxPropX 
const *)arg1
)->CanGet(); 
1890         wxPyEndAllowThreads(__tstate
); 
1891         if (PyErr_Occurred()) SWIG_fail
; 
1894         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1902 static PyObject 
*_wrap_PropX_CanSet(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1903     PyObject 
*resultobj
; 
1904     wxPropX 
*arg1 
= (wxPropX 
*) 0 ; 
1906     PyObject 
* obj0 
= 0 ; 
1908         (char *) "self", NULL 
 
1911     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropX_CanSet",kwnames
,&obj0
)) goto fail
; 
1912     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropX
, 
1913     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1915         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1916         result 
= (bool)((wxPropX 
const *)arg1
)->CanSet(); 
1918         wxPyEndAllowThreads(__tstate
); 
1919         if (PyErr_Occurred()) SWIG_fail
; 
1922         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1930 static PyObject 
* PropX_swigregister(PyObject 
*, PyObject 
*args
) { 
1932     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
1933     SWIG_TypeClientData(SWIGTYPE_p_wxPropX
, obj
); 
1935     return Py_BuildValue((char *)""); 
1937 static PyObject 
*_wrap_ParamXArray___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1938     PyObject 
*resultobj
; 
1939     wxParamXArray 
*arg1 
= (wxParamXArray 
*) 0 ; 
1941     PyObject 
* obj0 
= 0 ; 
1943         (char *) "self", NULL 
 
1946     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___nonzero__",kwnames
,&obj0
)) goto fail
; 
1947     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
, 
1948     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1950         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1951         result 
= (bool)wxParamXArray___nonzero__(arg1
); 
1953         wxPyEndAllowThreads(__tstate
); 
1954         if (PyErr_Occurred()) SWIG_fail
; 
1957         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
1965 static PyObject 
*_wrap_ParamXArray___len__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1966     PyObject 
*resultobj
; 
1967     wxParamXArray 
*arg1 
= (wxParamXArray 
*) 0 ; 
1969     PyObject 
* obj0 
= 0 ; 
1971         (char *) "self", NULL 
 
1974     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ParamXArray___len__",kwnames
,&obj0
)) goto fail
; 
1975     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
, 
1976     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
1978         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1979         result 
= (int)wxParamXArray___len__(arg1
); 
1981         wxPyEndAllowThreads(__tstate
); 
1982         if (PyErr_Occurred()) SWIG_fail
; 
1984     resultobj 
= SWIG_From_int((int)result
); 
1991 static PyObject 
*_wrap_ParamXArray___getitem__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
1992     PyObject 
*resultobj
; 
1993     wxParamXArray 
*arg1 
= (wxParamXArray 
*) 0 ; 
1996     PyObject 
* obj0 
= 0 ; 
1997     PyObject 
* obj1 
= 0 ; 
1999         (char *) "self",(char *) "idx", NULL 
 
2002     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ParamXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2003     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxParamXArray
, 
2004     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2005     arg2 
= (int)SWIG_As_int(obj1
);  
2006     if (PyErr_Occurred()) SWIG_fail
; 
2008         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2010             wxParamX 
const &_result_ref 
= wxParamXArray___getitem__(arg1
,arg2
); 
2011             result 
= (wxParamX 
*) &_result_ref
; 
2014         wxPyEndAllowThreads(__tstate
); 
2015         if (PyErr_Occurred()) SWIG_fail
; 
2017     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxParamX
, 0); 
2024 static PyObject 
* ParamXArray_swigregister(PyObject 
*, PyObject 
*args
) { 
2026     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2027     SWIG_TypeClientData(SWIGTYPE_p_wxParamXArray
, obj
); 
2029     return Py_BuildValue((char *)""); 
2031 static PyObject 
*_wrap_FuncXArray___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2032     PyObject 
*resultobj
; 
2033     wxFuncXArray 
*arg1 
= (wxFuncXArray 
*) 0 ; 
2035     PyObject 
* obj0 
= 0 ; 
2037         (char *) "self", NULL 
 
2040     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___nonzero__",kwnames
,&obj0
)) goto fail
; 
2041     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
, 
2042     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2044         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2045         result 
= (bool)wxFuncXArray___nonzero__(arg1
); 
2047         wxPyEndAllowThreads(__tstate
); 
2048         if (PyErr_Occurred()) SWIG_fail
; 
2051         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2059 static PyObject 
*_wrap_FuncXArray___len__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2060     PyObject 
*resultobj
; 
2061     wxFuncXArray 
*arg1 
= (wxFuncXArray 
*) 0 ; 
2063     PyObject 
* obj0 
= 0 ; 
2065         (char *) "self", NULL 
 
2068     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FuncXArray___len__",kwnames
,&obj0
)) goto fail
; 
2069     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
, 
2070     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2072         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2073         result 
= (int)wxFuncXArray___len__(arg1
); 
2075         wxPyEndAllowThreads(__tstate
); 
2076         if (PyErr_Occurred()) SWIG_fail
; 
2078     resultobj 
= SWIG_From_int((int)result
); 
2085 static PyObject 
*_wrap_FuncXArray___getitem__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2086     PyObject 
*resultobj
; 
2087     wxFuncXArray 
*arg1 
= (wxFuncXArray 
*) 0 ; 
2090     PyObject 
* obj0 
= 0 ; 
2091     PyObject 
* obj1 
= 0 ; 
2093         (char *) "self",(char *) "idx", NULL 
 
2096     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FuncXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2097     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFuncXArray
, 
2098     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2099     arg2 
= (int)SWIG_As_int(obj1
);  
2100     if (PyErr_Occurred()) SWIG_fail
; 
2102         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2104             wxFuncX 
const &_result_ref 
= wxFuncXArray___getitem__(arg1
,arg2
); 
2105             result 
= (wxFuncX 
*) &_result_ref
; 
2108         wxPyEndAllowThreads(__tstate
); 
2109         if (PyErr_Occurred()) SWIG_fail
; 
2111     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
2118 static PyObject 
* FuncXArray_swigregister(PyObject 
*, PyObject 
*args
) { 
2120     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2121     SWIG_TypeClientData(SWIGTYPE_p_wxFuncXArray
, obj
); 
2123     return Py_BuildValue((char *)""); 
2125 static PyObject 
*_wrap_PropXArray___nonzero__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2126     PyObject 
*resultobj
; 
2127     wxPropXArray 
*arg1 
= (wxPropXArray 
*) 0 ; 
2129     PyObject 
* obj0 
= 0 ; 
2131         (char *) "self", NULL 
 
2134     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___nonzero__",kwnames
,&obj0
)) goto fail
; 
2135     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
, 
2136     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2138         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2139         result 
= (bool)wxPropXArray___nonzero__(arg1
); 
2141         wxPyEndAllowThreads(__tstate
); 
2142         if (PyErr_Occurred()) SWIG_fail
; 
2145         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
2153 static PyObject 
*_wrap_PropXArray___len__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2154     PyObject 
*resultobj
; 
2155     wxPropXArray 
*arg1 
= (wxPropXArray 
*) 0 ; 
2157     PyObject 
* obj0 
= 0 ; 
2159         (char *) "self", NULL 
 
2162     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PropXArray___len__",kwnames
,&obj0
)) goto fail
; 
2163     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
, 
2164     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2166         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2167         result 
= (int)wxPropXArray___len__(arg1
); 
2169         wxPyEndAllowThreads(__tstate
); 
2170         if (PyErr_Occurred()) SWIG_fail
; 
2172     resultobj 
= SWIG_From_int((int)result
); 
2179 static PyObject 
*_wrap_PropXArray___getitem__(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2180     PyObject 
*resultobj
; 
2181     wxPropXArray 
*arg1 
= (wxPropXArray 
*) 0 ; 
2184     PyObject 
* obj0 
= 0 ; 
2185     PyObject 
* obj1 
= 0 ; 
2187         (char *) "self",(char *) "idx", NULL 
 
2190     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PropXArray___getitem__",kwnames
,&obj0
,&obj1
)) goto fail
; 
2191     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropXArray
, 
2192     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2193     arg2 
= (int)SWIG_As_int(obj1
);  
2194     if (PyErr_Occurred()) SWIG_fail
; 
2196         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2198             wxPropX 
const &_result_ref 
= wxPropXArray___getitem__(arg1
,arg2
); 
2199             result 
= (wxPropX 
*) &_result_ref
; 
2202         wxPyEndAllowThreads(__tstate
); 
2203         if (PyErr_Occurred()) SWIG_fail
; 
2205     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0); 
2212 static PyObject 
* PropXArray_swigregister(PyObject 
*, PyObject 
*args
) { 
2214     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2215     SWIG_TypeClientData(SWIGTYPE_p_wxPropXArray
, obj
); 
2217     return Py_BuildValue((char *)""); 
2219 static PyObject 
*_wrap_new_ActiveXWindow(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2220     PyObject 
*resultobj
; 
2221     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
2223     int arg3 
= (int) -1 ; 
2224     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
2225     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
2226     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
2227     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
2228     long arg6 
= (long) 0 ; 
2229     wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
2230     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
2231     wxActiveXWindow 
*result
; 
2234     bool temp7 
= false ; 
2235     PyObject 
* obj0 
= 0 ; 
2236     PyObject 
* obj1 
= 0 ; 
2237     PyObject 
* obj2 
= 0 ; 
2238     PyObject 
* obj3 
= 0 ; 
2239     PyObject 
* obj4 
= 0 ; 
2240     PyObject 
* obj5 
= 0 ; 
2241     PyObject 
* obj6 
= 0 ; 
2243         (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
2246     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_ActiveXWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
2247     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
2248     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2249     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
, 
2250     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
2253         PyErr_SetString(PyExc_TypeError
,"null reference"); 
2257         arg3 
= (int)SWIG_As_int(obj2
);  
2258         if (PyErr_Occurred()) SWIG_fail
; 
2263             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
2269             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
2273         arg6 
= (long)SWIG_As_long(obj5
);  
2274         if (PyErr_Occurred()) SWIG_fail
; 
2278             arg7 
= wxString_in_helper(obj6
); 
2279             if (arg7 
== NULL
) SWIG_fail
; 
2284         if (!wxPyCheckForApp()) SWIG_fail
; 
2285         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2286         result 
= (wxActiveXWindow 
*)new wxActiveXWindow(arg1
,(CLSID 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
2288         wxPyEndAllowThreads(__tstate
); 
2289         if (PyErr_Occurred()) SWIG_fail
; 
2291     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActiveXWindow
, 1); 
2306 static PyObject 
*_wrap_ActiveXWindow_GetCLSID(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2307     PyObject 
*resultobj
; 
2308     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2310     PyObject 
* obj0 
= 0 ; 
2312         (char *) "self", NULL 
 
2315     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetCLSID",kwnames
,&obj0
)) goto fail
; 
2316     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2317     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2319         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2321             CLSID 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetCLSID(); 
2322             result 
= (CLSID 
*) &_result_ref
; 
2325         wxPyEndAllowThreads(__tstate
); 
2326         if (PyErr_Occurred()) SWIG_fail
; 
2328     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_CLSID
, 0); 
2335 static PyObject 
*_wrap_ActiveXWindow_GetAXEventCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2336     PyObject 
*resultobj
; 
2337     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2339     PyObject 
* obj0 
= 0 ; 
2341         (char *) "self", NULL 
 
2344     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEventCount",kwnames
,&obj0
)) goto fail
; 
2345     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2346     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2348         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2349         result 
= (int)((wxActiveXWindow 
const *)arg1
)->GetAXEventCount(); 
2351         wxPyEndAllowThreads(__tstate
); 
2352         if (PyErr_Occurred()) SWIG_fail
; 
2354     resultobj 
= SWIG_From_int((int)result
); 
2361 static PyObject 
*_wrap_ActiveXWindow_GetAXEventDesc(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2362     PyObject 
*resultobj
; 
2363     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2366     PyObject 
* obj0 
= 0 ; 
2367     PyObject 
* obj1 
= 0 ; 
2369         (char *) "self",(char *) "idx", NULL 
 
2372     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXEventDesc",kwnames
,&obj0
,&obj1
)) goto fail
; 
2373     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2374     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2375     arg2 
= (int)SWIG_As_int(obj1
);  
2376     if (PyErr_Occurred()) SWIG_fail
; 
2378         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2380             wxFuncX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXEventDesc(arg2
); 
2381             result 
= (wxFuncX 
*) &_result_ref
; 
2384         wxPyEndAllowThreads(__tstate
); 
2385         if (PyErr_Occurred()) SWIG_fail
; 
2387     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
2394 static PyObject 
*_wrap_ActiveXWindow_GetAXPropCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2395     PyObject 
*resultobj
; 
2396     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2398     PyObject 
* obj0 
= 0 ; 
2400         (char *) "self", NULL 
 
2403     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXPropCount",kwnames
,&obj0
)) goto fail
; 
2404     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2405     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2407         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2408         result 
= (int)((wxActiveXWindow 
const *)arg1
)->GetAXPropCount(); 
2410         wxPyEndAllowThreads(__tstate
); 
2411         if (PyErr_Occurred()) SWIG_fail
; 
2413     resultobj 
= SWIG_From_int((int)result
); 
2420 static PyObject 
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(PyObject 
*, PyObject 
*args
) { 
2421     PyObject 
*resultobj
; 
2422     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2425     PyObject 
* obj0 
= 0 ; 
2426     PyObject 
* obj1 
= 0 ; 
2428     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
; 
2429     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2430     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2431     arg2 
= (int)SWIG_As_int(obj1
);  
2432     if (PyErr_Occurred()) SWIG_fail
; 
2434         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2436             wxPropX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXPropDesc(arg2
); 
2437             result 
= (wxPropX 
*) &_result_ref
; 
2440         wxPyEndAllowThreads(__tstate
); 
2441         if (PyErr_Occurred()) SWIG_fail
; 
2443     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0); 
2450 static PyObject 
*_wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(PyObject 
*, PyObject 
*args
) { 
2451     PyObject 
*resultobj
; 
2452     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2453     wxString 
*arg2 
= 0 ; 
2455     bool temp2 
= false ; 
2456     PyObject 
* obj0 
= 0 ; 
2457     PyObject 
* obj1 
= 0 ; 
2459     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXPropDesc",&obj0
,&obj1
)) goto fail
; 
2460     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2461     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2463         arg2 
= wxString_in_helper(obj1
); 
2464         if (arg2 
== NULL
) SWIG_fail
; 
2468         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2470             wxPropX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXPropDesc((wxString 
const &)*arg2
); 
2471             result 
= (wxPropX 
*) &_result_ref
; 
2474         wxPyEndAllowThreads(__tstate
); 
2475         if (PyErr_Occurred()) SWIG_fail
; 
2477     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropX
, 0); 
2492 static PyObject 
*_wrap_ActiveXWindow_GetAXPropDesc(PyObject 
*self
, PyObject 
*args
) { 
2497     argc 
= PyObject_Length(args
); 
2498     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
2499         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
2505             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
2514                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
2517                 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_1(self
,args
); 
2525             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
2533             _v 
= SWIG_Check_int(argv
[1]); 
2535                 return _wrap_ActiveXWindow_GetAXPropDesc__SWIG_0(self
,args
); 
2540     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXPropDesc'"); 
2545 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodCount(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2546     PyObject 
*resultobj
; 
2547     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2549     PyObject 
* obj0 
= 0 ; 
2551         (char *) "self", NULL 
 
2554     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethodCount",kwnames
,&obj0
)) goto fail
; 
2555     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2556     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2558         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2559         result 
= (int)((wxActiveXWindow 
const *)arg1
)->GetAXMethodCount(); 
2561         wxPyEndAllowThreads(__tstate
); 
2562         if (PyErr_Occurred()) SWIG_fail
; 
2564     resultobj 
= SWIG_From_int((int)result
); 
2571 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(PyObject 
*, PyObject 
*args
) { 
2572     PyObject 
*resultobj
; 
2573     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2576     PyObject 
* obj0 
= 0 ; 
2577     PyObject 
* obj1 
= 0 ; 
2579     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
; 
2580     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2581     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2582     arg2 
= (int)SWIG_As_int(obj1
);  
2583     if (PyErr_Occurred()) SWIG_fail
; 
2585         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2587             wxFuncX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXMethodDesc(arg2
); 
2588             result 
= (wxFuncX 
*) &_result_ref
; 
2591         wxPyEndAllowThreads(__tstate
); 
2592         if (PyErr_Occurred()) SWIG_fail
; 
2594     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
2601 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(PyObject 
*, PyObject 
*args
) { 
2602     PyObject 
*resultobj
; 
2603     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2604     wxString 
*arg2 
= 0 ; 
2606     bool temp2 
= false ; 
2607     PyObject 
* obj0 
= 0 ; 
2608     PyObject 
* obj1 
= 0 ; 
2610     if(!PyArg_ParseTuple(args
,(char *)"OO:ActiveXWindow_GetAXMethodDesc",&obj0
,&obj1
)) goto fail
; 
2611     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2612     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2614         arg2 
= wxString_in_helper(obj1
); 
2615         if (arg2 
== NULL
) SWIG_fail
; 
2619         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2621             wxFuncX 
const &_result_ref 
= ((wxActiveXWindow 
const *)arg1
)->GetAXMethodDesc((wxString 
const &)*arg2
); 
2622             result 
= (wxFuncX 
*) &_result_ref
; 
2625         wxPyEndAllowThreads(__tstate
); 
2626         if (PyErr_Occurred()) SWIG_fail
; 
2628     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncX
, 0); 
2643 static PyObject 
*_wrap_ActiveXWindow_GetAXMethodDesc(PyObject 
*self
, PyObject 
*args
) { 
2648     argc 
= PyObject_Length(args
); 
2649     for (ii 
= 0; (ii 
< argc
) && (ii 
< 2); ii
++) { 
2650         argv
[ii
] = PyTuple_GetItem(args
,ii
); 
2656             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
2665                 _v 
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]); 
2668                 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_1(self
,args
); 
2676             if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxActiveXWindow
, 0) == -1) { 
2684             _v 
= SWIG_Check_int(argv
[1]); 
2686                 return _wrap_ActiveXWindow_GetAXMethodDesc__SWIG_0(self
,args
); 
2691     PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ActiveXWindow_GetAXMethodDesc'"); 
2696 static PyObject 
*_wrap_ActiveXWindow_GetAXEvents(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2697     PyObject 
*resultobj
; 
2698     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2699     wxFuncXArray 
*result
; 
2700     PyObject 
* obj0 
= 0 ; 
2702         (char *) "self", NULL 
 
2705     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXEvents",kwnames
,&obj0
)) goto fail
; 
2706     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2707     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2709         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2711             wxFuncXArray 
const &_result_ref 
= (arg1
)->GetAXEvents(); 
2712             result 
= (wxFuncXArray 
*) &_result_ref
; 
2715         wxPyEndAllowThreads(__tstate
); 
2716         if (PyErr_Occurred()) SWIG_fail
; 
2718     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0); 
2725 static PyObject 
*_wrap_ActiveXWindow_GetAXMethods(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2726     PyObject 
*resultobj
; 
2727     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2728     wxFuncXArray 
*result
; 
2729     PyObject 
* obj0 
= 0 ; 
2731         (char *) "self", NULL 
 
2734     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXMethods",kwnames
,&obj0
)) goto fail
; 
2735     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2736     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2738         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2740             wxFuncXArray 
const &_result_ref 
= (arg1
)->GetAXMethods(); 
2741             result 
= (wxFuncXArray 
*) &_result_ref
; 
2744         wxPyEndAllowThreads(__tstate
); 
2745         if (PyErr_Occurred()) SWIG_fail
; 
2747     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFuncXArray
, 0); 
2754 static PyObject 
*_wrap_ActiveXWindow_GetAXProperties(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2755     PyObject 
*resultobj
; 
2756     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2757     wxPropXArray 
*result
; 
2758     PyObject 
* obj0 
= 0 ; 
2760         (char *) "self", NULL 
 
2763     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXWindow_GetAXProperties",kwnames
,&obj0
)) goto fail
; 
2764     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2765     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2767         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2769             wxPropXArray 
const &_result_ref 
= (arg1
)->GetAXProperties(); 
2770             result 
= (wxPropXArray 
*) &_result_ref
; 
2773         wxPyEndAllowThreads(__tstate
); 
2774         if (PyErr_Occurred()) SWIG_fail
; 
2776     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropXArray
, 0); 
2783 static PyObject 
*_wrap_ActiveXWindow_SetAXProp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2784     PyObject 
*resultobj
; 
2785     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2786     wxString 
*arg2 
= 0 ; 
2787     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
2788     bool temp2 
= false ; 
2789     PyObject 
* obj0 
= 0 ; 
2790     PyObject 
* obj1 
= 0 ; 
2791     PyObject 
* obj2 
= 0 ; 
2793         (char *) "self",(char *) "name",(char *) "value", NULL 
 
2796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ActiveXWindow_SetAXProp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
; 
2797     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2798     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2800         arg2 
= wxString_in_helper(obj1
); 
2801         if (arg2 
== NULL
) SWIG_fail
; 
2806         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2807         (arg1
)->SetAXProp((wxString 
const &)*arg2
,arg3
); 
2809         wxPyEndAllowThreads(__tstate
); 
2810         if (PyErr_Occurred()) SWIG_fail
; 
2812     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
2827 static PyObject 
*_wrap_ActiveXWindow_GetAXProp(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2828     PyObject 
*resultobj
; 
2829     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2830     wxString 
*arg2 
= 0 ; 
2832     bool temp2 
= false ; 
2833     PyObject 
* obj0 
= 0 ; 
2834     PyObject 
* obj1 
= 0 ; 
2836         (char *) "self",(char *) "name", NULL 
 
2839     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXWindow_GetAXProp",kwnames
,&obj0
,&obj1
)) goto fail
; 
2840     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2841     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2843         arg2 
= wxString_in_helper(obj1
); 
2844         if (arg2 
== NULL
) SWIG_fail
; 
2848         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2849         result 
= (PyObject 
*)(arg1
)->GetAXProp((wxString 
const &)*arg2
); 
2851         wxPyEndAllowThreads(__tstate
); 
2852         if (PyErr_Occurred()) SWIG_fail
; 
2869 static PyObject 
*_wrap_ActiveXWindow__CallAXMethod(PyObject 
*, PyObject 
*args
) { 
2870     PyObject 
*resultobj
; 
2871     wxActiveXWindow 
*arg1 
= (wxActiveXWindow 
*) 0 ; 
2872     wxString 
*arg2 
= 0 ; 
2873     PyObject 
*arg3 
= (PyObject 
*) 0 ; 
2875     bool temp2 
= false ; 
2876     PyObject 
* obj0 
= 0 ; 
2877     PyObject 
* obj1 
= 0 ; 
2878     PyObject 
* obj2 
= 0 ; 
2880     if(!PyArg_ParseTuple(args
,(char *)"OOO:ActiveXWindow__CallAXMethod",&obj0
,&obj1
,&obj2
)) goto fail
; 
2881     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXWindow
, 
2882     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2884         arg2 
= wxString_in_helper(obj1
); 
2885         if (arg2 
== NULL
) SWIG_fail
; 
2890         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2891         result 
= (PyObject 
*)(arg1
)->_CallAXMethod((wxString 
const &)*arg2
,arg3
); 
2893         wxPyEndAllowThreads(__tstate
); 
2894         if (PyErr_Occurred()) SWIG_fail
; 
2911 static PyObject 
* ActiveXWindow_swigregister(PyObject 
*, PyObject 
*args
) { 
2913     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
2914     SWIG_TypeClientData(SWIGTYPE_p_wxActiveXWindow
, obj
); 
2916     return Py_BuildValue((char *)""); 
2918 static PyObject 
*_wrap_RegisterActiveXEvent(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2919     PyObject 
*resultobj
; 
2920     wxString 
*arg1 
= 0 ; 
2922     bool temp1 
= false ; 
2923     PyObject 
* obj0 
= 0 ; 
2925         (char *) "eventName", NULL 
 
2928     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterActiveXEvent",kwnames
,&obj0
)) goto fail
; 
2930         arg1 
= wxString_in_helper(obj0
); 
2931         if (arg1 
== NULL
) SWIG_fail
; 
2935         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2936         result 
= (wxEventType
)RegisterActiveXEvent((wxString 
const &)*arg1
); 
2938         wxPyEndAllowThreads(__tstate
); 
2939         if (PyErr_Occurred()) SWIG_fail
; 
2941     resultobj 
= SWIG_From_int((int)result
); 
2956 static PyObject 
*_wrap_ActiveXEvent_EventName(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2957     PyObject 
*resultobj
; 
2958     wxActiveXEvent 
*arg1 
= (wxActiveXEvent 
*) 0 ; 
2960     PyObject 
* obj0 
= 0 ; 
2962         (char *) "self", NULL 
 
2965     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActiveXEvent_EventName",kwnames
,&obj0
)) goto fail
; 
2966     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
, 
2967     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
2969         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2970         result 
= (arg1
)->EventName(); 
2972         wxPyEndAllowThreads(__tstate
); 
2973         if (PyErr_Occurred()) SWIG_fail
; 
2977         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
2979         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
2988 static PyObject 
*_wrap_ActiveXEvent__preCallInit(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
2989     PyObject 
*resultobj
; 
2990     wxActiveXEvent 
*arg1 
= (wxActiveXEvent 
*) 0 ; 
2991     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
2992     PyObject 
* obj0 
= 0 ; 
2993     PyObject 
* obj1 
= 0 ; 
2995         (char *) "self",(char *) "pyself", NULL 
 
2998     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__preCallInit",kwnames
,&obj0
,&obj1
)) goto fail
; 
2999     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
, 
3000     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3003         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3004         wxActiveXEvent__preCallInit(arg1
,arg2
); 
3006         wxPyEndAllowThreads(__tstate
); 
3007         if (PyErr_Occurred()) SWIG_fail
; 
3009     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3016 static PyObject 
*_wrap_ActiveXEvent__postCallCleanup(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3017     PyObject 
*resultobj
; 
3018     wxActiveXEvent 
*arg1 
= (wxActiveXEvent 
*) 0 ; 
3019     PyObject 
*arg2 
= (PyObject 
*) 0 ; 
3020     PyObject 
* obj0 
= 0 ; 
3021     PyObject 
* obj1 
= 0 ; 
3023         (char *) "self",(char *) "pyself", NULL 
 
3026     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ActiveXEvent__postCallCleanup",kwnames
,&obj0
,&obj1
)) goto fail
; 
3027     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActiveXEvent
, 
3028     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3031         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3032         wxActiveXEvent__postCallCleanup(arg1
,arg2
); 
3034         wxPyEndAllowThreads(__tstate
); 
3035         if (PyErr_Occurred()) SWIG_fail
; 
3037     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3044 static PyObject 
* ActiveXEvent_swigregister(PyObject 
*, PyObject 
*args
) { 
3046     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3047     SWIG_TypeClientData(SWIGTYPE_p_wxActiveXEvent
, obj
); 
3049     return Py_BuildValue((char *)""); 
3051 static PyObject 
*_wrap_new_IEHtmlWindowBase(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3052     PyObject 
*resultobj
; 
3053     wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3055     int arg3 
= (int) -1 ; 
3056     wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3057     wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3058     wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3059     wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3060     long arg6 
= (long) 0 ; 
3061     wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
3062     wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
3063     wxIEHtmlWindowBase 
*result
; 
3066     bool temp7 
= false ; 
3067     PyObject 
* obj0 
= 0 ; 
3068     PyObject 
* obj1 
= 0 ; 
3069     PyObject 
* obj2 
= 0 ; 
3070     PyObject 
* obj3 
= 0 ; 
3071     PyObject 
* obj4 
= 0 ; 
3072     PyObject 
* obj5 
= 0 ; 
3073     PyObject 
* obj6 
= 0 ; 
3075         (char *) "parent",(char *) "clsId",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3078     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_IEHtmlWindowBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
; 
3079     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
, 
3080     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3081     if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_CLSID
, 
3082     SWIG_POINTER_EXCEPTION 
| 0)) == -1) 
3085         PyErr_SetString(PyExc_TypeError
,"null reference"); 
3089         arg3 
= (int)SWIG_As_int(obj2
);  
3090         if (PyErr_Occurred()) SWIG_fail
; 
3095             if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3101             if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3105         arg6 
= (long)SWIG_As_long(obj5
);  
3106         if (PyErr_Occurred()) SWIG_fail
; 
3110             arg7 
= wxString_in_helper(obj6
); 
3111             if (arg7 
== NULL
) SWIG_fail
; 
3116         if (!wxPyCheckForApp()) SWIG_fail
; 
3117         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3118         result 
= (wxIEHtmlWindowBase 
*)new wxIEHtmlWindowBase(arg1
,(CLSID 
const &)*arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
3120         wxPyEndAllowThreads(__tstate
); 
3121         if (PyErr_Occurred()) SWIG_fail
; 
3123     resultobj 
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIEHtmlWindowBase
, 1); 
3138 static PyObject 
*_wrap_IEHtmlWindowBase_SetCharset(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3139     PyObject 
*resultobj
; 
3140     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
3141     wxString 
*arg2 
= 0 ; 
3142     bool temp2 
= false ; 
3143     PyObject 
* obj0 
= 0 ; 
3144     PyObject 
* obj1 
= 0 ; 
3146         (char *) "self",(char *) "charset", NULL 
 
3149     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_SetCharset",kwnames
,&obj0
,&obj1
)) goto fail
; 
3150     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
, 
3151     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3153         arg2 
= wxString_in_helper(obj1
); 
3154         if (arg2 
== NULL
) SWIG_fail
; 
3158         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3159         (arg1
)->SetCharset((wxString 
const &)*arg2
); 
3161         wxPyEndAllowThreads(__tstate
); 
3162         if (PyErr_Occurred()) SWIG_fail
; 
3164     Py_INCREF(Py_None
); resultobj 
= Py_None
; 
3179 static PyObject 
*_wrap_IEHtmlWindowBase_LoadString(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3180     PyObject 
*resultobj
; 
3181     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
3182     wxString 
*arg2 
= 0 ; 
3184     bool temp2 
= false ; 
3185     PyObject 
* obj0 
= 0 ; 
3186     PyObject 
* obj1 
= 0 ; 
3188         (char *) "self",(char *) "html", NULL 
 
3191     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadString",kwnames
,&obj0
,&obj1
)) goto fail
; 
3192     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
, 
3193     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3195         arg2 
= wxString_in_helper(obj1
); 
3196         if (arg2 
== NULL
) SWIG_fail
; 
3200         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3201         result 
= (bool)(arg1
)->LoadString((wxString 
const &)*arg2
); 
3203         wxPyEndAllowThreads(__tstate
); 
3204         if (PyErr_Occurred()) SWIG_fail
; 
3207         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3223 static PyObject 
*_wrap_IEHtmlWindowBase_LoadStream(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3224     PyObject 
*resultobj
; 
3225     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
3226     wxInputStream 
*arg2 
= (wxInputStream 
*) 0 ; 
3228     wxPyInputStream 
*temp2 
; 
3230     PyObject 
* obj0 
= 0 ; 
3231     PyObject 
* obj1 
= 0 ; 
3233         (char *) "self",(char *) "is", NULL 
 
3236     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_LoadStream",kwnames
,&obj0
,&obj1
)) goto fail
; 
3237     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
, 
3238     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3240         if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) { 
3241             arg2 
= temp2
->m_wxis
; 
3244             PyErr_Clear();  // clear the failure of the wxPyConvert above 
3245             arg2 
= wxPyCBInputStream_create(obj1
, false); 
3247                 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object."); 
3254         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3255         result 
= (bool)(arg1
)->LoadStream(arg2
); 
3257         wxPyEndAllowThreads(__tstate
); 
3258         if (PyErr_Occurred()) SWIG_fail
; 
3261         resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3277 static PyObject 
*_wrap_IEHtmlWindowBase_GetStringSelection(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3278     PyObject 
*resultobj
; 
3279     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
3282     PyObject 
* obj0 
= 0 ; 
3283     PyObject 
* obj1 
= 0 ; 
3285         (char *) "self",(char *) "asHTML", NULL 
 
3288     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
; 
3289     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
, 
3290     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3291     arg2 
= (bool)SWIG_As_bool(obj1
);  
3292     if (PyErr_Occurred()) SWIG_fail
; 
3294         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3295         result 
= (arg1
)->GetStringSelection(arg2
); 
3297         wxPyEndAllowThreads(__tstate
); 
3298         if (PyErr_Occurred()) SWIG_fail
; 
3302         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3304         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3313 static PyObject 
*_wrap_IEHtmlWindowBase_GetText(PyObject 
*, PyObject 
*args
, PyObject 
*kwargs
) { 
3314     PyObject 
*resultobj
; 
3315     wxIEHtmlWindowBase 
*arg1 
= (wxIEHtmlWindowBase 
*) 0 ; 
3318     PyObject 
* obj0 
= 0 ; 
3319     PyObject 
* obj1 
= 0 ; 
3321         (char *) "self",(char *) "asHTML", NULL 
 
3324     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IEHtmlWindowBase_GetText",kwnames
,&obj0
,&obj1
)) goto fail
; 
3325     if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIEHtmlWindowBase
, 
3326     SWIG_POINTER_EXCEPTION 
| 0)) == -1) SWIG_fail
; 
3327     arg2 
= (bool)SWIG_As_bool(obj1
);  
3328     if (PyErr_Occurred()) SWIG_fail
; 
3330         PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3331         result 
= (arg1
)->GetText(arg2
); 
3333         wxPyEndAllowThreads(__tstate
); 
3334         if (PyErr_Occurred()) SWIG_fail
; 
3338         resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
3340         resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
3349 static PyObject 
* IEHtmlWindowBase_swigregister(PyObject 
*, PyObject 
*args
) { 
3351     if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
; 
3352     SWIG_TypeClientData(SWIGTYPE_p_wxIEHtmlWindowBase
, obj
); 
3354     return Py_BuildValue((char *)""); 
3356 static PyMethodDef SwigMethods
[] = { 
3357          { (char *)"new_CLSID", (PyCFunction
) _wrap_new_CLSID
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3358          { (char *)"delete_CLSID", (PyCFunction
) _wrap_delete_CLSID
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3359          { (char *)"CLSID_GetCLSIDString", (PyCFunction
) _wrap_CLSID_GetCLSIDString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3360          { (char *)"CLSID_GetProgIDString", (PyCFunction
) _wrap_CLSID_GetProgIDString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3361          { (char *)"CLSID_swigregister", CLSID_swigregister
, METH_VARARGS
, NULL 
}, 
3362          { (char *)"ParamX_flags_get", (PyCFunction
) _wrap_ParamX_flags_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3363          { (char *)"ParamX_isPtr_get", (PyCFunction
) _wrap_ParamX_isPtr_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3364          { (char *)"ParamX_isSafeArray_get", (PyCFunction
) _wrap_ParamX_isSafeArray_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3365          { (char *)"ParamX_isOptional_get", (PyCFunction
) _wrap_ParamX_isOptional_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3366          { (char *)"ParamX_vt_get", (PyCFunction
) _wrap_ParamX_vt_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3367          { (char *)"ParamX_name_get", (PyCFunction
) _wrap_ParamX_name_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3368          { (char *)"ParamX_vt_type_get", (PyCFunction
) _wrap_ParamX_vt_type_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3369          { (char *)"ParamX_IsIn", (PyCFunction
) _wrap_ParamX_IsIn
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3370          { (char *)"ParamX_IsOut", (PyCFunction
) _wrap_ParamX_IsOut
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3371          { (char *)"ParamX_IsRetVal", (PyCFunction
) _wrap_ParamX_IsRetVal
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3372          { (char *)"ParamX_swigregister", ParamX_swigregister
, METH_VARARGS
, NULL 
}, 
3373          { (char *)"FuncX_name_get", (PyCFunction
) _wrap_FuncX_name_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3374          { (char *)"FuncX_memid_get", (PyCFunction
) _wrap_FuncX_memid_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3375          { (char *)"FuncX_hasOut_get", (PyCFunction
) _wrap_FuncX_hasOut_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3376          { (char *)"FuncX_retType_get", (PyCFunction
) _wrap_FuncX_retType_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3377          { (char *)"FuncX_params_get", (PyCFunction
) _wrap_FuncX_params_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3378          { (char *)"FuncX_swigregister", FuncX_swigregister
, METH_VARARGS
, NULL 
}, 
3379          { (char *)"PropX_name_get", (PyCFunction
) _wrap_PropX_name_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3380          { (char *)"PropX_memid_get", (PyCFunction
) _wrap_PropX_memid_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3381          { (char *)"PropX_type_get", (PyCFunction
) _wrap_PropX_type_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3382          { (char *)"PropX_arg_get", (PyCFunction
) _wrap_PropX_arg_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3383          { (char *)"PropX_putByRef_get", (PyCFunction
) _wrap_PropX_putByRef_get
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3384          { (char *)"PropX_CanGet", (PyCFunction
) _wrap_PropX_CanGet
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3385          { (char *)"PropX_CanSet", (PyCFunction
) _wrap_PropX_CanSet
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3386          { (char *)"PropX_swigregister", PropX_swigregister
, METH_VARARGS
, NULL 
}, 
3387          { (char *)"ParamXArray___nonzero__", (PyCFunction
) _wrap_ParamXArray___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3388          { (char *)"ParamXArray___len__", (PyCFunction
) _wrap_ParamXArray___len__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3389          { (char *)"ParamXArray___getitem__", (PyCFunction
) _wrap_ParamXArray___getitem__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3390          { (char *)"ParamXArray_swigregister", ParamXArray_swigregister
, METH_VARARGS
, NULL 
}, 
3391          { (char *)"FuncXArray___nonzero__", (PyCFunction
) _wrap_FuncXArray___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3392          { (char *)"FuncXArray___len__", (PyCFunction
) _wrap_FuncXArray___len__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3393          { (char *)"FuncXArray___getitem__", (PyCFunction
) _wrap_FuncXArray___getitem__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3394          { (char *)"FuncXArray_swigregister", FuncXArray_swigregister
, METH_VARARGS
, NULL 
}, 
3395          { (char *)"PropXArray___nonzero__", (PyCFunction
) _wrap_PropXArray___nonzero__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3396          { (char *)"PropXArray___len__", (PyCFunction
) _wrap_PropXArray___len__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3397          { (char *)"PropXArray___getitem__", (PyCFunction
) _wrap_PropXArray___getitem__
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3398          { (char *)"PropXArray_swigregister", PropXArray_swigregister
, METH_VARARGS
, NULL 
}, 
3399          { (char *)"new_ActiveXWindow", (PyCFunction
) _wrap_new_ActiveXWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3400          { (char *)"ActiveXWindow_GetCLSID", (PyCFunction
) _wrap_ActiveXWindow_GetCLSID
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3401          { (char *)"ActiveXWindow_GetAXEventCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3402          { (char *)"ActiveXWindow_GetAXEventDesc", (PyCFunction
) _wrap_ActiveXWindow_GetAXEventDesc
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3403          { (char *)"ActiveXWindow_GetAXPropCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXPropCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3404          { (char *)"ActiveXWindow_GetAXPropDesc", _wrap_ActiveXWindow_GetAXPropDesc
, METH_VARARGS
, NULL 
}, 
3405          { (char *)"ActiveXWindow_GetAXMethodCount", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethodCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3406          { (char *)"ActiveXWindow_GetAXMethodDesc", _wrap_ActiveXWindow_GetAXMethodDesc
, METH_VARARGS
, NULL 
}, 
3407          { (char *)"ActiveXWindow_GetAXEvents", (PyCFunction
) _wrap_ActiveXWindow_GetAXEvents
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3408          { (char *)"ActiveXWindow_GetAXMethods", (PyCFunction
) _wrap_ActiveXWindow_GetAXMethods
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3409          { (char *)"ActiveXWindow_GetAXProperties", (PyCFunction
) _wrap_ActiveXWindow_GetAXProperties
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3410          { (char *)"ActiveXWindow_SetAXProp", (PyCFunction
) _wrap_ActiveXWindow_SetAXProp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3411          { (char *)"ActiveXWindow_GetAXProp", (PyCFunction
) _wrap_ActiveXWindow_GetAXProp
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3412          { (char *)"ActiveXWindow__CallAXMethod", _wrap_ActiveXWindow__CallAXMethod
, METH_VARARGS
, NULL 
}, 
3413          { (char *)"ActiveXWindow_swigregister", ActiveXWindow_swigregister
, METH_VARARGS
, NULL 
}, 
3414          { (char *)"RegisterActiveXEvent", (PyCFunction
) _wrap_RegisterActiveXEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3415          { (char *)"ActiveXEvent_EventName", (PyCFunction
) _wrap_ActiveXEvent_EventName
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3416          { (char *)"ActiveXEvent__preCallInit", (PyCFunction
) _wrap_ActiveXEvent__preCallInit
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3417          { (char *)"ActiveXEvent__postCallCleanup", (PyCFunction
) _wrap_ActiveXEvent__postCallCleanup
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3418          { (char *)"ActiveXEvent_swigregister", ActiveXEvent_swigregister
, METH_VARARGS
, NULL 
}, 
3419          { (char *)"new_IEHtmlWindowBase", (PyCFunction
) _wrap_new_IEHtmlWindowBase
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3420          { (char *)"IEHtmlWindowBase_SetCharset", (PyCFunction
) _wrap_IEHtmlWindowBase_SetCharset
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3421          { (char *)"IEHtmlWindowBase_LoadString", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadString
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3422          { (char *)"IEHtmlWindowBase_LoadStream", (PyCFunction
) _wrap_IEHtmlWindowBase_LoadStream
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3423          { (char *)"IEHtmlWindowBase_GetStringSelection", (PyCFunction
) _wrap_IEHtmlWindowBase_GetStringSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3424          { (char *)"IEHtmlWindowBase_GetText", (PyCFunction
) _wrap_IEHtmlWindowBase_GetText
, METH_VARARGS 
| METH_KEYWORDS
, NULL 
}, 
3425          { (char *)"IEHtmlWindowBase_swigregister", IEHtmlWindowBase_swigregister
, METH_VARARGS
, NULL 
}, 
3426          { NULL
, NULL
, 0, NULL 
} 
3430 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
3432 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
3433     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
3435 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
3436     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
3438 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
3439     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
3441 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
3442     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
3444 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
3445     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
3447 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
3448     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
3450 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
3451     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
3453 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
3454     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
3456 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
3457     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
3459 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
3460     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
3462 static void *_p_wxEventTo_p_wxObject(void *x
) { 
3463     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
3465 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
3466     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
3468 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
3469     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
3471 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
3472     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
3474 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
3475     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
3477 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
3478     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
3480 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
3481     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
3483 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
3484     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
3486 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
3487     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
3489 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
3490     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
3492 static void *_p_wxControlTo_p_wxObject(void *x
) { 
3493     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
3495 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
3496     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
3498 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
3499     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
3501 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
3502     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
3504 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
3505     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
3507 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
3508     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
3510 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
3511     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
3513 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
3514     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
3516 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
3517     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
3519 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
3520     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
3522 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
3523     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
3525 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
3526     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
3528 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
3529     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
3531 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
3532     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
3534 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
3535     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
3537 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
3538     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
3540 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
3541     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
3543 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
3544     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
3546 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
3547     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
3549 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
3550     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
3552 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
3553     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
3555 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
3556     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
3558 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
3559     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
3561 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
3562     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
3564 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
3565     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
3567 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
3568     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
3570 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
3571     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
3573 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
3574     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
3576 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
3577     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
3579 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
3580     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
3582 static void *_p_wxImageTo_p_wxObject(void *x
) { 
3583     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
3585 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
3586     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
3588 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
3589     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
3591 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
3592     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
3594 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
3595     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
3597 static void *_p_wxActiveXWindowTo_p_wxObject(void *x
) { 
3598     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxActiveXWindow 
*) x
)); 
3600 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
3601     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
3603 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
3604     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
3606 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
3607     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
3609 static void *_p_wxActiveXEventTo_p_wxObject(void *x
) { 
3610     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxActiveXEvent 
*) x
)); 
3612 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
3613     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
3615 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
3616     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
3618 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
3619     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
3621 static void *_p_wxIEHtmlWindowBaseTo_p_wxObject(void *x
) { 
3622     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxActiveXWindow 
*) ((wxIEHtmlWindowBase 
*) x
)); 
3624 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
3625     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
3627 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
3628     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
3630 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
3631     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
3633 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
3634     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
3636 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
3637     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
3639 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
3640     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
3642 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
3643     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
3645 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
3646     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
3648 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
3649     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
3651 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
3652     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
3654 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
3655     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
3657 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
3658     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
3660 static void *_p_wxIEHtmlWindowBaseTo_p_wxActiveXWindow(void *x
) { 
3661     return (void *)((wxActiveXWindow 
*)  ((wxIEHtmlWindowBase 
*) x
)); 
3663 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
3664     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
3666 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
3667     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
3669 static void *_p_wxActiveXWindowTo_p_wxWindow(void *x
) { 
3670     return (void *)((wxWindow 
*)  ((wxActiveXWindow 
*) x
)); 
3672 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
3673     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
3675 static void *_p_wxIEHtmlWindowBaseTo_p_wxWindow(void *x
) { 
3676     return (void *)((wxWindow 
*) (wxActiveXWindow 
*) ((wxIEHtmlWindowBase 
*) x
)); 
3678 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
3679     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
3681 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
3682     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
3684 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
3685     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
3687 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
3688     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
3690 static void *_p_wxActiveXEventTo_p_wxCommandEvent(void *x
) { 
3691     return (void *)((wxCommandEvent 
*)  ((wxActiveXEvent 
*) x
)); 
3693 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
3694     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
3696 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
3697     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
3699 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
3700     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
3702 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
3703     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
3705 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
3706     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
3708 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
3709     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
3711 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
3712     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
3714 static void *_p_wxActiveXWindowTo_p_wxEvtHandler(void *x
) { 
3715     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxActiveXWindow 
*) x
)); 
3717 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
3718     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
3720 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
3721     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
3723 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
3724     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
3726 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
3727     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
3729 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
3730     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
3732 static void *_p_wxIEHtmlWindowBaseTo_p_wxEvtHandler(void *x
) { 
3733     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxActiveXWindow 
*) ((wxIEHtmlWindowBase 
*) x
)); 
3735 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
3736     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
3738 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
3739     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
3741 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
3742     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
3744 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
3745     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
3747 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
3748     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
3750 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
3751     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
3753 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
3754     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
3756 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
3757     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
3759 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
3760     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
3762 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
3763     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
3765 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
3766     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
3768 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
3769     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
3771 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
3772     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
3774 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
3775     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
3777 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
3778     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
3780 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
3781     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
3783 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
3784     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
3786 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
3787     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
3789 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
3790     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
3792 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
3793     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
3795 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
3796     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
3798 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
3799     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
3801 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
3802     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
3804 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
3805     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
3807 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
3808     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
3810 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
3811     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
3813 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
3814     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
3816 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
3817     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
3819 static void *_p_wxActiveXEventTo_p_wxEvent(void *x
) { 
3820     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxActiveXEvent 
*) x
)); 
3822 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
3823     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
3825 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
3826     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
3828 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
3829     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
3831 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
3832     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
3834 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
3835     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
3837 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
3838     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
3840 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
3841     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
3843 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}}; 
3844 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}}; 
3845 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}}; 
3846 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}}; 
3847 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}}; 
3848 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}}; 
3849 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}}; 
3850 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}}; 
3851 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}}; 
3852 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}}; 
3853 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}}; 
3854 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}}; 
3855 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}}; 
3856 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}}; 
3857 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}}; 
3858 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}}; 
3859 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}}; 
3861 static swig_type_info 
*swig_types_initial
[] = { 
3864 _swigt__p_wxActiveXWindow
,  
3866 _swigt__p_wxCommandEvent
,  
3868 _swigt__p_wxInputStream
,  
3869 _swigt__p_wxEvtHandler
,  
3871 _swigt__p_wxFuncXArray
,  
3872 _swigt__p_wxParamXArray
,  
3873 _swigt__p_wxActiveXEvent
,  
3875 _swigt__p_wxIEHtmlWindowBase
,  
3876 _swigt__p_wxPropXArray
,  
3883 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
3885 static swig_const_info swig_const_table
[] = { 
3886 {0, 0, 0, 0.0, 0, 0}}; 
3895 SWIGEXPORT(void) SWIG_init(void) { 
3896     static PyObject 
*SWIG_globals 
= 0;  
3897     static int       typeinit 
= 0; 
3900     if (!SWIG_globals
) SWIG_globals 
= SWIG_newvarlink(); 
3901     m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
3902     d 
= PyModule_GetDict(m
); 
3905         for (i 
= 0; swig_types_initial
[i
]; i
++) { 
3906             swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]); 
3910     SWIG_InstallConstants(d
,swig_const_table
);