Displaying 1 result from an estimated 1 matches for "wxxrcruby".
2003 Oct 01
1
wxXRC library
...9; type to
another one using the wxClassInfo. This works, and would be familiar to C++
and wxWindow''s programmers, but it strikes me as very un-ruby like. Also,
it seems like a very high line item on an FAQ. (Q: I''m using XRC and my
widgets all claim to be wxWindows! Whoever wrote wxXrcRuby sux0rs!)
My two other solutions I can think of are
1) Add FindWindowByFooAsType(), where you can specify the return type of
the object. This removes the need for the dynamic cast (or just moves the
implementation), but it still seems a bit un-ruby like.
2) On loading of dialogs, iterate through...