Lyle, could you please fix this bug, it's impossible to subclass anything in
FXRuby right now:
class MyWidget < FXFrame
include Responder
def initialize(p, opts)
super(p, opts)
FXMAPFUNC(SEL_PAINT, 0, "onPaint")
end
def onPaint(sender, sel, ptr)
# do something useful
end
end
always results in:
X:\Lang\Ruby\myapp.rb:62:in `onPaint': Expected void * (TypeError)
Thanks
Ralf