Displaying 2 results from an estimated 2 matches for "rubyim".
Did you mean:
rubyio
2007 Sep 28
1
WxWizard Error
...m reading this, it looks as though :bitmap is not being loaded into
the mixed_args from the args_as_list method.
In another example, I''ve fixed this problem, cause I have logo
desginated, but it still errors out from another part of Wx::Wizard,
which is Wx::SimpleWizardPage.
>ruby RubyIM.rb
C:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i386-mswin32/lib/wx/keyword_ctors.rb:202:in
`initialize'': (ArgumentError)
Original Error wrong # of arguments(5 for 0)
Error initializing #<Wx::WizardPageSimple:0x282e8ec>
Sent parameters: [#<SetupWizard:0x282f8b4>, -1, nil, nil,...
2007 Apr 28
6
XRC Problem
...equire ''wx''
rescue LoadError
raise no_wx_err
end
end
module XrcEnabled
def getXrcControl(id)
return find_window_by_id( Wx::xrcid(id) )
end
end
class ContactList < Wx::Frame
include XrcEnabled
def initialize()
super(nil,-1,"RubyIM")
$xml.load_frame_subclass(self,nil,"ContactList")
# Grab all the controls for what I''m creating
end
end
class RubyIMApp < Wx::App
def on_init
$xml = Wx::XmlResource.get();
$xml.init_all_handlers();
xrc_file = File.join( Fi...