[wxruby-users] Initializing a Frame seems to fail...
Tim Mcd
lists at ruby-forum.com
Wed Jan 14 18:45:06 EST 2009
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.
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list