[wxruby-users] Initializing a Frame seems to fail...

Tim Mcd lists at ruby-forum.com
Wed Jan 14 18:47:46 EST 2009


Tim Mcd wrote:
> Mario Steele wrote:
>> Here is your problem
>> 
>> @frame = Frame.new(nil, -1, "Ruby Mud Client", DEFAULT_POSITION,
>> Point.new(300, 875))
>> 
>> ^^^^^^^^^^^^^^^^^^^
>> 
>> That actually needs to be Size.new(300,875), or you can just pass 
>> [300,875],
>> and that will work as well.
> 
> Hey, thanks you two! I thought that it only put in the Defaults for 
> things you dont specify, and you had to specify in order.

Meep! Now it runs really slowly... Like the inputbar and textview don't 
even initialize...
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list