Re: [wxlua-users] operator bind

2008-05-15 Thread andre arpin
Hi John, > Humm, I hadn't thought about adding the typecasting operators. The Lua > syntax might be a little weird for this though, "obj:op_double()", > maybe it might make more sense to add a more readable function > obj:GetAsDouble() or something. > Note that if you choose GetAsDouble then ob

Re: [wxlua-users] operator bind

2008-05-12 Thread John Labenski
On Tue, May 6, 2008 at 9:18 AM, Klaas Holwerda <[EMAIL PROTECTED]> wrote: > Hi John, > > This first few wrap fine. > > %operator a2dDoMu& operator=( const a2dDoMu& ); > %operator a2dDoMu& operator=( const wxChar* ); > %operator a2dDoMu& operator=( double ); > %operator int operat