develooper Front page | perl.wxperl.users | Postings from July 2008

Re: Can't locate object method "AppendSubMenu" via package "Wx::Menu"

Thread Previous
From:
Gabor Szabo
Date:
July 28, 2008 12:43
Subject:
Re: Can't locate object method "AppendSubMenu" via package "Wx::Menu"
Message ID:
d8a74af10807281242h3ff274faj5e53559e3ea30600@mail.gmail.com
On Mon, Jul 28, 2008 at 9:17 PM, Mattia Barbon <mattia.barbon@libero.it> wrote:
> Gabor Szabo wrote:
>>
>> After uploading Padre 0.02 I got several reports with the following
>> failure:
>>
>> Can't locate object method "AppendSubMenu" via package "Wx::Menu"
>>
>> There were reports both using both Wx 0.83 and 0.84 on various platforms.
>>
>> http://www.nntp.perl.org/group/perl.cpan.testers/2008/07/msg1948047.html
>> http://www.nntp.perl.org/group/perl.cpan.testers/2008/07/msg1948052.html
>>
>> The same code seem to work on my computer.
>>
>> All the 8 failing reports are from the same smoker (Andreas Koenig) so
>> there
>> might be some issue with his computer or the fact that they are in the
>> smoking
>> system.
>>
>> Any idea what could have gone wrong?
>
>  AppendSubMenu is only available on wxWidgets 2.7.x or later, my guess
> it is that the wxWidgets installation is very old.  Since AppendSubMenu
> is a convenience wrapper around Append, I could provide it in the next
> version, however I suspect you will encounter many more problems in
> making Padre work with wxWidgets 2.6.x.
>
> Regards,
> Mattia
>

In the tests of 0.03 I included a printout of the wxWidgets version so
we'll see if
that's the corellation when we get the next batch of test reports.

If I understand correctly the Wx module 0.83 or 0.84 can work with these
older versions of wxWidgets.

If this is the case, how can I declare in Build.PL or Makefile.PL
what is the minimum requirement of wxWidgets?

Or shall I just replace the AppendSubMenu by a call to Append?

BTW I just asked the Debian perl maintainers to include
Padre and they encountered the same problem so I guess
Debian might also have an old version of wxWidgets.

Gabor

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About