From: Ivo Roupa Date: 2010-05-16T01:58:40+09:00 Subject: Re: Wx Ruby - MenuBar. What's wrong with my code? thiago damasceno wrote: > On Sat, May 15, 2010 at 12:59 PM, Ivo Roupa wrote: > >> include Wx >> ['Open','Save','Exit'], >> end >> from C:/Documentos/Ruby Scripts/Frame_Ivo/lib/Ivo.rb:31:in `new' >> > Hi Ivo, the constructor for Wx::MenuBar doesn't accept any arguments, > you > have to write you code in another way to achieve what you want. > > Thiago Brandao Hi Tiago, If the Wx::MenuBar doesn't accept arguments then I will have to create a Wx::Menu inside the MenuBar with all the items that I want. Is this correct? Thanks Ivo Roupa -- Posted via http://www.ruby-forum.com/.