I want to set close window when press 'X' in top-right I make wxruby GUI from Farpy guie but I can't close it (when I close I must press close in cmd and the return -1) how can I set it?? Attachments: http://www.ruby-forum.com/attachment/1521/untitled.JPG -- Posted via http://www.ruby-forum.com/.