noreply at rubyforge.org
2009-Mar-25 14:01 UTC
[wxruby-development] [ wxruby-Bugs-24865 ] Wx::Dialog#is_modal seems to be no more virtual, can''t override it in ruby.
Bugs item #24865, was opened at 25/03/2009 15:01 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=24865&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Nobody (None) Summary: Wx::Dialog#is_modal seems to be no more virtual, can''t override it in ruby. Initial Comment: When overriding #is_modal in Wx::Dialog, the new method (in ruby) isn''t called by the legacy WxWidgets code which calls IsModal() several times (at least once when closing the dialog) This behaviour is new for wxruby 2.0.0, it works as expected in 1.9.8, didn''t checked in 1.9.9. I''m on Windows XP 32bits. Note that maybe other virtual methods may also be broken (didn''t checked). I''ve attached a sample program to show the bug. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=24865&group_id=35