Hi,

Wx::Demo works with multiple versions of Wx and wxWidgets, so some of the demo modules may not be supported in your particular setup. Wx::HVScrolledWindow is only available in the unstable development 2.9.x versions of wxWidgets and you are no doubt using a stable 2.8.x. The error message can be ignored. However, in the latest Wx::Demo in SVN, you do not see this error message.

For Wx::Locale, you need to have the appropriate language installed on your system for the locale you wish to use. By default, you don't get additional language packs installed in Kubuntu /Unbuntu. Try installing language-pack-fr and then setting locale to French. It will work. Sadly, on Linux / Perl or perhaps the combination of the two, locale changes at an application level seem limited to the gettext language string translations. You don't seem to get correct default number and date delimiters via sprintf simply by switching the application's locale.

Regarding:

CRITICAL **: clearlooks_style_draw_box_gap:
> assertion `height>= -1' failed

you will find similar messages emitted by many applications on your system.

Regards

Mark


On 31/03/2010 21:05, Steve Cookson wrote:
Hi Gabor,

I get the same message.

I haven't tested everything, but as I mentioned before I did notice the
Wx::Locale test won't set to other languages in Kubuntu 9.10.  On a quick
skip through, most of the other functions seem to operate correctly.

However, I did get a horrendous amount of errors from CPAN, and I was
pleasantly surprised when it worked.

Regards

Steve

-----Original Message-----
From: Gabor Szabo [mailto:szab...@gmail.com]
Sent: 31 March 2010 05:43
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: wxPerl-0.26-samples in Linux

On Thu, Mar 25, 2010 at 8:15 PM, Steve Cookson<steve.cook...@sca-uk.com>
wrote:
Is Wx::Demo supposed to work under Linux?  It looks very different from
the
Windows version and although the 'make' went OK, the 'make test' gave me
hundreds of errors.  However it does run.  However on Windows it has three
tabs in the left-hand pane, whereas on Linux it only has one.  There are a
number of errors when I run functions (eg the Wx::Locale test won't set to
other languages).

So is it just something about my system setup or does it not run under
Linux?


I am not sure how is the subject wxPerl-0.26-samples connected to Wx::Demo
or what is the wxPerl-0.26-samples.

Wx::Demo passes its tests and it seem to work on my Ubuntu 9.10 though
now that I
launched it I also got the following on the console:

Couldn't require Wx::DemoModules::wxHVScrolledWindow : Attempt to
reload Wx/DemoModules/wxHVScrolledWindow.pm aborted.
Compilation failed in require at (eval 306) line 3.
  at /home/gabor/perl5/lib/perl5/Wx/Demo.pm line 319

** (wxperl_demo.pl:17909): CRITICAL **: clearlooks_style_draw_box_gap:
assertion `height>= -1' failed


Regarding the left-hand pane, I think v0.10 has one tabs while the
version in svn has already 3 tabs.

Mattia, could you please release a new version of Wx::Demo?

Gabor


Reply via email to