Hi,

Wx versions 0.95 and 0.96 are 'broken' in this respect, I think.
The following 'workaround' placed in code just after 'use Wx' would
fix it I and account for PAR::Packager.

use Wx;
if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) && (not exists($ENV{PAR_0}))) {
  *Wx::load_dll = sub {
    return if $^O =~ /^darwin/i;
    goto &$load_fun;
  };
}

On 04/05/2010 10:15, Johan Vromans wrote:
Hi,

On Ubuntu LTS 10.4 I experience problems with wxHTML rendering.

perl-Wx version 0.96 (as distributed)
Wx version 2.8.1 (as distributed)

Using Wx::Demo 0.11, the Windows>  wxHtmlWindow>  Simple demo shows a
window with HTML tags unprocessed:

    <html>  <head>  <title>A simple HTML document</title>  </head>  <body bgcolor="#ff0000">  <h4>A simple HTML document</h4>  <p>  Just a quick 
test<font color="#00ffff">Color</font>  </p>  <p>  This is a<a href="page.html">link</a>  </p>  </body>  </html>

The other wxHtmlWindow demos show the same behaviour.
libwx_gtk2u_html-2.8.so.0.6.0 is installed and available.

And ideas? Suggestions?

Thanks,
         Johan


Reply via email to