noreply at rubyforge.org
2008-Nov-07 12:17 UTC
[wxruby-development] [ wxruby-Bugs-22707 ] The mdi sample doesn''t work on Linux/GTK and Windows 2000
Bugs item #22707, was opened at 2008-11-07 07:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=22707&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: The mdi sample doesn''t work on Linux/GTK and Windows 2000
Initial Comment:
I ran the mdi sample included in the wxRuby 1.9.9.
This is error messages.
mdi.rb:73:in `show'': stack level too deep (SystemStackError)
from mdi.rb:73:in `on_init''
from mdi.rb:77:in `main_loop''
from mdi.rb:77
And this code also doesn''t work.
-----------------------------------
require ''wx''
class MyApp < Wx::App
def on_init
MyFrame.new.show
end
end
class MyFrame < Wx::MDIParentFrame
def initialize
super(nil, -1, ''MDI'')
end
end
MyApp.new.main_loop
-----------------------------------
app.rb:5:in `show'': stack level too deep (SystemStackError)
from app.rb:5:in `on_init''
from app.rb:15:in `main_loop''
from app.rb:15
I use wxRuby 1.9.9, wxWidgets 2.8.7, GTK+ 2.12.11, Ruby 1.8.6, SWIG 1.3.34 and
Gentoo Linux.
I didn''t install through the Rubygems. I compiled wxRuby myself.
I ran same codes on Windows 2000 and same errors were occured.
I installed wxRuby 1.9.9 through the Rubygems on Windows.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=22707&group_id=35