search for: findwindowbyfooastype

Displaying 1 result from an estimated 1 matches for "findwindowbyfooastype".

2003 Oct 01
1
wxXRC library
...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 all widgets, figure out what they are, and then add them to the cpp to ruby mappin...