[wxruby-users] xrcise question

Heinrich Piard lists at ruby-forum.com
Tue Nov 18 10:37:36 EST 2008


Heinrich Piard wrote:
> Alex Fenton wrote:
>> Heinrich Piard wrote:
>>>>> xml.load("wxFormBuilder/noname.xrc")
>>>> file exists and is valid XML (RuntimeError)
>>>>     
>>>
>>>
>>>
>>> could the above errors be caused by a bug?
>>>   
>> 
>> It's possible, but I can't tell without seeing the XRC file as well as
>> the generated code. Please could you post your own script, the
>> XRC-generated ruby file and the XML source file in a zip attachment, or
>> file it as a bug with attachments on the website bug tracker.
>> 
>> thanks
>> alex
> 
> Hi Alex,
> 
> I have attached the file in zip format.
> 
> noname.zip


Hi all,

I was able to solve the issue my self. It was a code issue in
class MyApp

this is how it should look:

class MyApp < Wx::App
  def on_init()
    Test.new.show()
  end
end

MyApp.new.main_loop()


Thanks to all!


bye
Henry
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list