One of the failure modes for the old samples is that the application will close right away. This appears to be caused by calling show(TRUE) inside of a frame''s initialize. Before I dig too far into it, is such a thing disallowed now? I don''t see anything inherently wrong with it. If it''s supposed to work then I''ll dig into it further. There''s also the other problem I''ve seen with old samples where the program refuses to shut down when you try to close it. Roy
Roy Sutton wrote:> One of the failure modes for the old samples is that the application > will close right away. This appears to be caused by calling show(TRUE) > inside of a frame''s initialize. Before I dig too far into it, is such a > thing disallowed now? I don''t see anything inherently wrong with it. > If it''s supposed to work then I''ll dig into it further.I haven''t seen that myself. Can you point to a sample that does it?> There''s also > the other problem I''ve seen with old samples where the program refuses > to shut down when you try to close it.I have noticed that some of our samples don''t even have a Close box in the window frame, on my system. Fortunately, they have a File/Exit command I can use instead. But really all our samples should include a main window close button. If that''s not what you''re seeing, can you point to a sample where I could see the problem you''re describing? Thanks, Kevin
The following old samples hang on exit (on windows): etc\test4 etc\test17 etc\test18 The following old samples exit as soon as they start: checklist\checklist dialogs\dialogs etc\b1.rb I have a much more comprehensive list of the problems with the old samples. Just not enough time to type it all up right now. Kevin Smith wrote:> Roy Sutton wrote: > >> One of the failure modes for the old samples is that the application >> will close right away. This appears to be caused by calling >> show(TRUE) inside of a frame''s initialize. Before I dig too far into >> it, is such a thing disallowed now? I don''t see anything inherently >> wrong with it. If it''s supposed to work then I''ll dig into it further. > > > I haven''t seen that myself. Can you point to a sample that does it? > >> There''s also the other problem I''ve seen with old samples where the >> program refuses to shut down when you try to close it. > > > I have noticed that some of our samples don''t even have a Close box in > the window frame, on my system. Fortunately, they have a File/Exit > command I can use instead. But really all our samples should include a > main window close button. > > If that''s not what you''re seeing, can you point to a sample where I > could see the problem you''re describing? > > Thanks, > > Kevin > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >