require 'wx' # This class was automatically generated from XRC source. It is not # recommended that this file is edited directly; instead, inherit from # this class and extend its behaviour there. # # Source file: epony.xrc # Generated at: Fri Mar 20 09:09:23 -0400 2009 class PonyFrame < Wx::Frame attr_reader :notebook_wxpony, :panel_cover, :panel_search, :toolbar_search, :tool_sites_add, :tool_sites_delete, :tool_sites_import, :tool_sites_browse, :tool_sites_search, :tool_sites_stop, :listbox_sites, :panel_videos, :toolbar_videos, :tool_videos_browse, :tool_videos_play, :tool_videos_delete, :tool_videos_archive, :tool_video_rss, :tool_video_m3u, :tool_videos_first, :tool_videos_back, :tool_videos_next, :tool_videos_last, :grid_videos, :panel_settings, :m_statictext1, :m_statictext6, :m_statictext7, :textctrl_types, :m_statictext2, :textctrl_filter, :m_statictext8, :m_statictext9, :m_statictext3, :textctrl_store, :m_statictext4, :textctrl_archive, :m_statictext5, :textctrl_limit, :m_staticline1, :m_staticline3, :m_statictext10, :listbox_blacklist, :statusbar def initialize(parent=nil) super() xml = Wx::XmlResource.get xml.flags = 2 # Wx::XRC_NO_SUBCLASSING xml.init_all_handlers xml.load(File.join(File.dirname(__FILE__), "epony.xrc")) xml.load_frame_subclass(self, parent, "frame_wxpony") finder = lambda do | x | int_id = Wx::xrcid(x) begin Wx::Window.find_window_by_id(int_id, self) || int_id # Temporary hack to work around regression in 1.9.2; remove # begin/rescue clause in later versions rescue RuntimeError int_id end end @notebook_wxpony = finder.call("notebook_wxpony") @panel_cover = finder.call("panel_cover") @panel_search = finder.call("panel_search") @toolbar_search = finder.call("toolbar_search") @tool_sites_add = finder.call("tool_sites_add") @tool_sites_delete = finder.call("tool_sites_delete") @tool_sites_import = finder.call("tool_sites_import") @tool_sites_browse = finder.call("tool_sites_browse") @tool_sites_search = finder.call("tool_sites_search") @tool_sites_stop = finder.call("tool_sites_stop") @listbox_sites = finder.call("listbox_sites") @panel_videos = finder.call("panel_videos") @toolbar_videos = finder.call("toolbar_videos") @tool_videos_browse = finder.call("tool_videos_browse") @tool_videos_play = finder.call("tool_videos_play") @tool_videos_delete = finder.call("tool_videos_delete") @tool_videos_archive = finder.call("tool_videos_archive") @tool_video_rss = finder.call("tool_video_rss") @tool_video_m3u = finder.call("tool_video_m3u") @tool_videos_first = finder.call("tool_videos_first") @tool_videos_back = finder.call("tool_videos_back") @tool_videos_next = finder.call("tool_videos_next") @tool_videos_last = finder.call("tool_videos_last") @grid_videos = finder.call("grid_videos") @panel_settings = finder.call("panel_settings") @m_statictext1 = finder.call("m_staticText1") @m_statictext6 = finder.call("m_staticText6") @m_statictext7 = finder.call("m_staticText7") @textctrl_types = finder.call("textctrl_types") @m_statictext2 = finder.call("m_staticText2") @textctrl_filter = finder.call("textctrl_filter") @m_statictext8 = finder.call("m_staticText8") @m_statictext9 = finder.call("m_staticText9") @m_statictext3 = finder.call("m_staticText3") @textctrl_store = finder.call("textctrl_store") @m_statictext4 = finder.call("m_staticText4") @textctrl_archive = finder.call("textctrl_archive") @m_statictext5 = finder.call("m_staticText5") @textctrl_limit = finder.call("textctrl_limit") @m_staticline1 = finder.call("m_staticline1") @m_staticline3 = finder.call("m_staticline3") @m_statictext10 = finder.call("m_staticText10") @listbox_blacklist = finder.call("listbox_blacklist") @statusbar = finder.call("statusbar") if self.class.method_defined? "on_init" self.on_init() end end end PonyFrame.new