Hi John,

This first few wrap fine.

    %operator a2dDoMu& operator=( const a2dDoMu& );
    %operator a2dDoMu& operator=( const wxChar* );
    %operator a2dDoMu&   operator=( double );
    %operator int operator==( const a2dDoMu& ) const;
    %operator int operator!=( const a2dDoMu& ) const;

But this one refuses:

    %operator operator double();

The idea behind this class is to store internal numbers as "1.23 um" or "1.2 inch" etc., and the double operator is how to get the value as a single double.

Not a great problem at the moment.
But maybe you can fix it for a next version of wxLua.

Thanks,

Klaas



--
Unclassified
begin:vcard
fn:Klaas Holwerda
n:Holwerda;Klaas
note:Unclassified
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to