Bugs item #1691, was opened at 2005-03-28 12:10
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1691&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jaroslav Stika (pike)
Assigned to: Nobody (None)
Summary: getRootWindow() error

Initial Comment:
When I tested samples (win-xp sp2, ruby 1.8, fox 1.2.5) and after click on "Te&kstje"

code:

FXButton.new(group1, "Te&kstje", nil, nil, 0, LAYOUT_TOP|FRAME_RAISED|FRAME_THICK).connect(SEL_COMMAND) {
x, y, buttons = getRootWindow().getCursorPosition()
@popupmenu.popup(nil, x, y)
}


I got this error, why?:

D:/ruby/samples/groupbox1.rb:139:in `initialize': undefined method `getRootWindow' for #<GroupWindow:0x35d42f8> (NoMethodError)
	from D:/ruby/samples/groupbox1.rb:138:in `call'
	from D:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.2.5-mswin32/lib/fox12/responder2.rb:57:in `onHandleMsg'
	from D:/ruby/samples/groupbox1.rb:330:in `run'
	from D:/ruby/samples/groupbox1.rb:330

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1691&group_id=426