[wxruby-users] can't subclass AuiDockArt

Pascal Hurni lists at ruby-forum.com
Wed Nov 12 07:16:59 EST 2008


Alex, You did right with SWIG AuiDockArt.

My sample application was changing the constructor signature by having 
an argument in the ruby initialize method. When this happens, SWIG 
generated code detects it and throws an "type mismatch" exception (the 
one reported in the initial message). I've learned something today (that 
sounds very coherent!).

I'll still fill a ticket to have AuiDefaultDockArt available so we can 
simply subclass it to customize only one or two methods.

Best Regards,

Pascal.
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list