From: Mark D. <mar...@zn...> - 2007-02-28 18:18:21
|
Hi, The wxFileDialog constants have changed between wxWidgets versions 2.6.3 and 2.8.0. wxPDK would only continue to work if 2.8.0 were built with 2.6 compatibility switched on. I will be making a release of Wx::Perl::Packager so that it works in either case. For your own code you will either need to rewrite with new constants or build wxWidgets with 2.6 compatibility switched on. Regards Mark Alex Rousskov wrote: >> Mattia Barbon wrote: >>> 0.27_50 Sun Feb 25 22:39:43 CET 2007 >>> - Fetch and build wxWidgets 2.8.0. >>> - Update bundled modules to the latest version. > > I deleted Alien, wxPerl, and friends and reinstalling wxPerl using Alien > 0.27_50. After the reinstall, I lost some wx constants! For example, > when a freshly installed Wx::Perl::Packager (wxpdk) is trying top open a > File dialog, it quits with: > >> Error while autoloading 'Wx::wxOPEN' at C:/Perl/site/lib/Wx/Perl/Packager/PDKWindow.pm line 257 > > Wxpdk worked fine before. > > My own wxPerl script "lost": wxNB_TOP, wxDIALOG_MODAL, wxOPEN, > wxFILE_MUST_EXIST, and probably other constants, but not all of them. > For example, the wxSAVE File dialog works. > > > I know of two changes other than switching to 0.27_50: > > First, I let Alien build wxWidgets this time. I was using DialogBlocks > to build wxWidgets before. I used wxWidgets v2.8.0 in both cases. > > Second, I applied the following fix (which was the primary reason for > trying to build wxPerl from sources): > http://wxperl.cvs.sourceforge.net/wxperl/wxPerl/cpp/helpers.cpp?r1=1.85&r2=1.86 > > > Does anybody know what I am doing wrong? > > Do I need WXWIN and WXDIR variables when working with wxPerl and > wxWidgets installed via Alien? My understanding was that those variables > were needed when using an external (i.e., not Alien-built) copy of > wxWidgets, but now I am even less sure. > > Thank you, > > Alex. > > nmake > VC 7.1 > wxPerl 0.67 > Alien 0.27_50 > wxWidgets 2.8.0 > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |