1 #############################################################################
2 ## Name: ext/xrc/lib/Wx/XRC.pm
3 ## Purpose: Wx::XRC (pulls in all wxWidgets XML Resources)
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: XRC.pm 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright: (c) 2001-2004, 2006 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
18 use vars qw($VERSION);
22 Wx::load_dll( 'xml' );
23 Wx::load_dll( 'html' );
24 Wx::load_dll( 'adv' );
25 Wx::load_dll( 'xrc' );
26 Wx::wx_boot( 'Wx::XRC', $VERSION );
29 Wx::XmlInitXmlModule();
30 Wx::XmlInitResourceModule();
32 *Wx::XmlResource::GetXMLID = \&Wx::XmlResource::GetXRCID;
34 # Wx::XmlResource::AddSubclassFactory( Wx::XmlSubclassFactory->new );
37 # properly setup inheritance tree
42 package Wx::PlXmlResourceHandler; @ISA = qw(Wx::XmlResourceHandler);
43 package Wx::PliXmlSubclassFactory; @ISA = qw(Wx::XmlSubclassFactory);