On Mon, Jul 28, 2008 at 9:17 PM, Mattia Barbon <[EMAIL PROTECTED]> 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
