yes that should work, i also have a talk on that from last YAPC, check my slides.
the files usually have ending .xrc but i think its a minor technical detail why your code doesnt work. without looking into your xrc cant tell more. best > So for some reason I did not know that wxGlade saves files in XML format. > Is that format called XRC or is XRC something else? > > Is the format that wxFormBuilder generates the same? > > Is there a perl module that would read that XML file and generate a > GUI similar to > Gtk2::GladeXML ? > > I tried this code: > > > use Wx qw(:everything); > use Wx::Event qw(:everything); > use Wx::XRC ; > use base qw(Wx::Dialog); > use Wx::RichText ; > > my $xrc = Wx::XmlResource->new(); > $xrc->InitAllHandlers(); > $xrc->Load("gabor.xml") or die "Load failed : $!\n" ; > > > but load failed on the xml file generated by wxGlade. > > > regards > Gabor >