From: Lyle Johnson Date: 2002-01-29T23:39:32+09:00 Subject: Re: FOX - undefined method `repaint' > I receive this message when I start the program under Windows 2000, but > I do not receive it when I start the program under Linux. (under Linux > the method works) > In what there may be a problem? > > -------------------------------- > ... > @app.repaint() > ... > ------------------------------- > > ./qftrans.rb:178:in `onTransQFile': undefined method `repaint' for > #Fox::FX_Window:0x102812a8> (NameError) > from ./qftrans.rb:158:in `each_line' > from ./qftrans.rb:158:in `onTransQFile' > from ./qftrans.rb:224:in `run' > from ./qftrans.rb:224:in `run' > from ./qftrans.rb:227 Could you maybe send me your program (or another that demonstrates the problem)? Your first code snippet shows you calling repaint() on "@app", which I would assume is a reference to the application (FXApp) instance, but the traceback you listed next makes it appear that you're trying to call repaint() on an FXWindow instance. So I'm a little confused ;)