Displaying 1 result from an estimated 1 matches for "find_window_by_xxx".
2004 Oct 06
11
find_window_by_xxx doesn''t find Gauge or BitmapButton
...the Ruby world, particularly WxRuby, so please
forgive me if this is ground that''s been covered in the past. I''m
trying to load a frame from an XRC file (created using DialogBlocks),
and I''m having trouble getting an instance of the Gauge object using
the Wx::Window.find_window_by_xxx methods. I''m trying this on Windows
XP, using the one-click Ruby installer and the one-click WxRuby
installer.
In the initialize() method of my Wx::Frame subclass, I have the
following code:
# Load XRC data.
xml = Wx::XmlResource.get()
xml.init_all_handlers()
xml....