Bugs: Browse | Submit New | Admin

[#24865] Wx::Dialog#is_modal seems to be no more virtual, can't override it in ruby.

Date:
2009-03-25 14:01
Priority:
3
Submitted By:
Pascal Hurni (phi)
Assigned To:
Nobody (None)
Category:
Incorrect behavior
State:
Open
Summary:
Wx::Dialog#is_modal seems to be no more virtual, can't override it in ruby.

Detailed description
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.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
dialog_is_modal_bug.rb Download

Changes:

Field Old Value Date By
File Added4444: dialog_is_modal_bug.rb2009-03-25 14:01phi