From: Mattia B. <mb...@ds...> - 2001-06-06 20:54:14
|
> We were trying to get the Wx::HtmlEasyPrinting object to work, and ran into > the following problem: > > When we try to create a printing object: > > my $print = new Wx::HtmlEasyPrinting(); Yes, I fixed it some time ago see below, but as an ugly and horryble workaround: bless $print, "Wx::HtmlEasyPrinting"; # should be OK > then the $print object is of class Wx::Object, not Wx::HtmlEasyPrinting, > which causes it to not work for trying to call any of the methods of > Wx::HtmlEasyPrinting. > > Tried recompiling wxPerl from a fresh copy from cvs downloaded today > (6/6/2001), but the current copy does not compile (gives the following > error: > > XS/Locale.xs: In function `void XS_Wx__Locale_AddLanguage(PerlInterpreter *, > CV*)': > XS/Locale.xs:107: no method `wxLocale::AddLanguage' > dmake.exe: Error code 1, while making 'Wx.o' Oops, this is a wxWin 2.3 method... forgot to add guards around it... fixed now; it was some time I didn't check 2.2 compilation... checking now, sorry Mattia |