http://www.perlmonks.org?node_id=1030178


in reply to wxPerl: Wx::DatePickerCtrl working, Wx::TimePickerCtrl failing?

Upgrade wxWidgets to a version >= 2.9.3.

Regards, Stefan.

  • Comment on Re: wxPerl: Wx::DatePickerCtrl working, Wx::TimePickerCtrl failing?

Replies are listed 'Best First'.
Re^2: wxPerl: Wx::DatePickerCtrl working, Wx::TimePickerCtrl failing?
by HelenCr (Monk) on Apr 23, 2013 at 18:32 UTC

    Update: Looking at: http://wxperl.sourceforge.net/news.html, it seems that wxPerl 0.9915 already had support for wxwidgets 2.9.4?
    Is it true? Or do I have to install (or upgrade) wxWidgets separately from wxPerl?
    ------------------ end of update ------------------------------

    Thank you, Stefan.

    In this regard, I have two questions:
    a. When you interrogate $Wx::VERSION, you get the wxPerl Wx:: version (in my case: 0.9917). I know that the latest version on CPAN is 0.9921. How do you know which wxWidgets version this corresponds to?

    b. Upgrade wxWidgets to a version >= 2.9.3.

    How do I upgrade? By simply installing the current Wx:: version from CPAN?

    Many TIA - Helen

      For future reference, I looked at http://www.wxwidgets.org Quick Links in the "Stable Manual" and "Latest Manual" areas for the Wx::TimePickerControl documentation. As Stefan pointed out it's not mentioned in the Stable(2.8.x) documentation, but is listed in the Latest(2.9.x) documentation with the comment as being included since 2.9.3.

      wxPerl(now .9921) can be built with either version of wxWidgets. I use Citrus Perl http://citrusperl.com which comes pre-built for 2.8.x or 2.9.x on Windows, Linux, or OS/X. It also has a utility for switching between versions if necessary. I found it easy to install on Linux. Check it out. At least look at the http://www.citrusperl.com/helpweb/contents.htm Manage Installation and Citrus Packages information.

      See also: http://grokbase.com/t/perl/wxperl-users/12cy35ag00/wxwidgets-2-9-4 and related posts for building things yourself. There are also posts relating to the minimum Strawberry/gcc version required.

      Update1: See also: http://www.wxperl.it/p/download.html.

      James

      There's never enough time to do it right, but always enough time to do it over...