Displaying 1 result from an estimated 1 matches for "findwindowbyfoo".
2003 Oct 01
1
wxXRC library
...see the wxruby
project, and have been very impresed with the implementation.
I''ve been working on supporting the XML resources (wxXRC), and have an
issue I''d like some advice on. XRC plugged in very nicely, and I was able
to query resources. However, XRC depends on the wxWindow::FindWindowByFoo()
methods. The problem is that since XRC creates the controls without
wxruby''s knoweledge, they don''t exist in the cpp-to-ruby mapping table, and
so wxruby wraps them as wxWindows (the default return type).
My current solution to this problem has been to implement
dynamic_cast(re...