[wxPython-users] wxActiveX

Robin Dunn robin at alldunn.com
Thu Jun 1 10:28:51 PDT 2006


Winkelman, Jeff wrote:
> Hello,
> 
>  
> 
> I am using the wx.ActiveXWindow to access an ocx control.
> 
>  
> 
> Everything is working fine except that some methods on the ocx require a 
> parameter to be an enum value.
> 
>  
> 
> When I pass in the equivalent integer value, I get an “unsupported type” 
> error.
> 
>  
> 
> From what I can tell, it looks like the call to VariantToMSWVariant in the swig wrapper is failing.
> 
>  
> 
> Does anyone have a suggestion on how to get around this?  Or are enums just not supported?
> 

Do you have any suggestions for how to fix VariantToMSWVariant?


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list