You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(7) |
Mar
(5) |
Apr
(4) |
May
(15) |
Jun
(10) |
Jul
(4) |
Aug
(12) |
Sep
(39) |
Oct
(22) |
Nov
(46) |
Dec
(65) |
2002 |
Jan
(19) |
Feb
(27) |
Mar
(50) |
Apr
(73) |
May
(85) |
Jun
(52) |
Jul
(49) |
Aug
(95) |
Sep
(152) |
Oct
(81) |
Nov
(42) |
Dec
(62) |
2003 |
Jan
(45) |
Feb
(47) |
Mar
(101) |
Apr
(110) |
May
(53) |
Jun
(72) |
Jul
(125) |
Aug
(77) |
Sep
(87) |
Oct
(69) |
Nov
(55) |
Dec
(71) |
2004 |
Jan
(127) |
Feb
(68) |
Mar
(93) |
Apr
(102) |
May
(64) |
Jun
(92) |
Jul
(40) |
Aug
(113) |
Sep
(44) |
Oct
(61) |
Nov
(44) |
Dec
(100) |
2005 |
Jan
(57) |
Feb
(51) |
Mar
(101) |
Apr
(73) |
May
(45) |
Jun
(97) |
Jul
(92) |
Aug
(94) |
Sep
(46) |
Oct
(83) |
Nov
(82) |
Dec
(68) |
2006 |
Jan
(92) |
Feb
(116) |
Mar
(84) |
Apr
(66) |
May
(40) |
Jun
(57) |
Jul
(89) |
Aug
(82) |
Sep
(58) |
Oct
(94) |
Nov
(104) |
Dec
(70) |
2007 |
Jan
(86) |
Feb
(108) |
Mar
(193) |
Apr
(84) |
May
(71) |
Jun
(54) |
Jul
(17) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jouke V. <jo...@pv...> - 2001-11-21 19:29:47
|
> is this right? i think so because the exe files are always very big... > about 700kb for a simple print... > isn't there a real perl COMPILER in this whole world out there ? No, there is no real compiler. The size of your executable mostly has to do with the interpreter and the modules you include. That has nothing to do with the complexity of the program you write... -- *-----------------------------------------------* |Jouke Visser |jo...@pv... | |Perl GUI Geek |http://www.pvoice.org | *-----------------------------------------------* PS: Notice new mailaddress!! |
From: Casey W. <wil...@nc...> - 2001-11-21 19:14:19
|
I'm not sure about Perl2Exe but with PerlApp, it extracts the stuff in the exe to the TEMP system variable. The location of the dir it extracts to is $INC[0]. You'll be able to find "bind"ed files under there. Knowing this...I'm thinking *maybe* a BEGIN block could be used to copy this to a permanant location. -Casey ----- Original Message ----- From: "Marco Trudel" <wx...@so...> To: <wxp...@li...> Sent: Wednesday, November 21, 2001 12:56 PM Subject: Re: [wxperl-users] Perl2Exe with wxPerl > Marcus wrote: > > > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > > binaries for distribution, or is there another way? > > > > Thanks, > > > > Marcus > > > > yeah, it's possible... i'll do it right now... > but it's like Casey Williams says, you have to use a dll... > > but when we already have this topic, i've a question to perl2exe: > i think it just takes the code and the libs to a file and when you > execute it it extracts itselft somewhere and runs the script with the > interpreter... > > is this right? i think so because the exe files are always very big... > about 700kb for a simple print... > isn't there a real perl COMPILER in this whole world out there ? > > greetings > marco > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Marco T. <wx...@so...> - 2001-11-21 18:58:25
|
Marcus wrote: > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > binaries for distribution, or is there another way? > > Thanks, > > Marcus > yeah, it's possible... i'll do it right now... but it's like Casey Williams says, you have to use a dll... but when we already have this topic, i've a question to perl2exe: i think it just takes the code and the libs to a file and when you execute it it extracts itselft somewhere and runs the script with the interpreter... is this right? i think so because the exe files are always very big... about 700kb for a simple print... isn't there a real perl COMPILER in this whole world out there ? greetings marco |
From: Casey W. <wil...@nc...> - 2001-11-21 18:30:46
|
I tried to do this recently and found that I had to include the wx22_7.dll *outside* the exe, as long as it's in a system dir or in the same dir as your exe, it should work. I've been thinking about maybe binding the dll into the exe and then seeing if I could use a BEGIN block to copy that dll to where it needs to be. We'll see. -Casey Williams ----- Original Message ----- From: "Marcus" <li...@wo...> To: <wxp...@li...> Sent: Wednesday, November 21, 2001 12:17 PM Subject: [wxperl-users] Perl2Exe with wxPerl > Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create > binaries for distribution, or is there another way? > > Thanks, > > Marcus > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Marcus <li...@wo...> - 2001-11-21 18:17:38
|
Is it possible to use Perl2Exe, or PerlApp, with wxPerl to create binaries for distribution, or is there another way? Thanks, Marcus |
From: Mattia B. <mb...@ds...> - 2001-11-16 10:07:50
|
On Fri, 16 Nov 2001, Marco Trudel wrote: >>> i was unable to use >> > EVT_LIST_COL_BEGIN_DRAG, EVT_LIST_COL_DRAGGING >>> or EVT_LIST_COL_END_DRAG >> Well, since you don't tell us wich wxWindows version, wxPerl version, >> platform, OS version, and the way you're unable to use these events >> there is not much I can do... >> FWIW it works here ( wxWindows 2.3.2, wxPerl 0.08 to be, Win2k ) >> >> Regards >> Mattia > >sorry, thought the description lags after i sent the mail, but it was too >late... > >ok, here's what i use: >- win2000 / win98 / linux 2.4 and 2.2 >- wxPerl 0.07 (i don't find 0.08 on sourceforge) yep, 0.08 is yet to be released >- wxWindows: ??? i installed wxPerl, that's it (well on linux i had to >install some gtk stuff, but no wxWindows... isn't this includet in wxPerl >(Binary's)?) The 0.07 binaries include wxWindows 2.2.7, but the linux distributions don't; it probably is 2.2.7 too >and here's how i use it: >use Wx::Event qw(EVT_LIST_DELETE_ALL_ITEMS EVT_LIST_COL_BEGIN_DRAG); >this tells me: >"EVT_LIST_COL_BEGIN_DRAG" is not exported by the Wx::Event module... OK, the problem is: 1) EVT_COL_* events are only available in wxWindows 2.3.2 ( yet to be released ) 2) they are wrapped only in wxPerl 0.08 ; >-> think you don't need more code... >by the way "EVT_LIST_DELETE_ALL_ITEMS" works Now I just realized that I can't wait forever the 2.2.8 wxWindows release, so I'll be releasing 0.08 soon ( less than a week ); I'll probably release a version compiled against the 2.3 developement branch of wxWindows too. The only solution with the current code is to memorize column widths and set up an OnIdle handler to check if they hvae changed ( remember to call $event->Skip in the handler ) Regards Mattia |
From: Marco T. <wx...@so...> - 2001-11-14 15:22:15
|
hey folks, to simulate a table (think wxwindows doesn't have one) i take a listCtrl in LC_REPORT style... but i wish the columnwith to be always 100% (like wxLIST_AUTOSIZE_USEHEADER), even after resizing it so my question: is there an easy way to have a listCtrl where the columns always have 100% of the available width? i tried to drop some lines which handel this themself, but i was unable to use EVT_LIST_COL_BEGIN_DRAG, EVT_LIST_COL_DRAGGING or EVT_LIST_COL_END_DRAG has someone a solution for me? would be great... greetings marco |
From: Matt F. <ma...@iw...> - 2001-11-13 13:15:39
|
Even though its pretty irrelevant, I might be getting an iBook soon, and if I do, I'll be happy to test =) Matt --- "Mattia Barbon" <mb...@ds...> wrote: >Hello, > >the current CVS / snapshot ( from some minutes ago ) >correctly builds on Mac OS X 10.1 with an almost HEAD ( a couple of days >ago ) wxMac. Since I compiled it on the SF compile farm, >I can't even run it, so I'd be glad if someone could test it. > >instructions: > >build wxWindows ( see the docs, but basically > ./configure > make > make install > > should just work, once the compiler is configured correctly ) > >build wxPerl > > perl Makefile.PL > make > >test wxPerl > > make test > >try some wxPerl programs > > perl run minimal > perl run controls > ( and so on for the programs in the 'samples' subdirectory, > please note that there might be problems with path specifications >) > >try the wxPerl demo > > perl demo/demo.pl > >Thanks! >Mattia > >P.S.: this message ( on the wxpython-mac ML ) > says that python ( but I think it applies to perl too ) > needs to be compiled as an "app" for wxWindows to work, > I just thought it might be useful to someone to know that >http://lists.wxwindows.org/pipermail/wxpython-mac/2001- >November/000002.html > >_______________________________________________ >wxperl-users mailing list >wxp...@li... >https://lists.sourceforge.net/lists/listinfo/wxperl-users _____________________________________________________________ |
From: Mattia B. <mb...@ds...> - 2001-11-10 22:32:01
|
Hello, the current CVS / snapshot ( from some minutes ago ) correctly builds on Mac OS X 10.1 with an almost HEAD ( a couple of days ago ) wxMac. Since I compiled it on the SF compile farm, I can't even run it, so I'd be glad if someone could test it. instructions: build wxWindows ( see the docs, but basically ./configure make make install should just work, once the compiler is configured correctly ) build wxPerl perl Makefile.PL make test wxPerl make test try some wxPerl programs perl run minimal perl run controls ( and so on for the programs in the 'samples' subdirectory, please note that there might be problems with path specifications ) try the wxPerl demo perl demo/demo.pl Thanks! Mattia P.S.: this message ( on the wxpython-mac ML ) says that python ( but I think it applies to perl too ) needs to be compiled as an "app" for wxWindows to work, I just thought it might be useful to someone to know that http://lists.wxwindows.org/pipermail/wxpython-mac/2001- November/000002.html |
From: James L. <ja...@mi...> - 2001-11-06 16:11:34
|
Dear Mattia, Excellent! I've got things built, now I just have to get to grips with resources... Thanks a lot, James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 06 November 2001 15:34 > To: James Lavery > Cc: wxp...@li... > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the info - I'm getting further! > >=20 > > I've built xrc using: > > nmake -f makefile.vx FINAL=3D1 > nmake -f makefile.vc FINAL=3D1 WXUSINGDLL=3D1 >=20 > ( will I ever learn how to give instructions correctly... ) >=20 > > to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. > >=20 > > However, when I try building wxPerl, using: > > nmake=20 > > perl Makefile.PL > > nmake=20 > >=20 > > I get the following errors (I've snipped sections out to give the=20 > gist, > > as it goes on quite a bit): > >=20 > > link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo > > -nodefaultlib -release > > -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" - > machine:x86 >=20 > <snip> >=20 > > wxxrc.lib(xmlres.obj) : error LNK2005: "public: __thiscall > > wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in > > wx23_1.lib(wx23_1.dll) >=20 > <snip> >=20 > All these are due to the fact that wx is compiled as a DLL, but > wxXRC is compiled as if wxWindows were compiled as a static lib >=20 > > . > > . > > wxxrc.lib(xh_unkwn.obj) : error LNK2001: unresolved external symbol > > "public: static class wxClassInfo =20 > wxWindowBase::sm_classwxWindowBase" > > (?sm_classwxWindowBase@wxWindowBase@@2VwxClassInfo@@A) > > . > > . > > . > > ..\..\blib\arch\auto\Wx\XRC\XRC.dll : fatal error LNK1120: 49=20 > unresolved > > externals > >=20 > > Have I missed something in my build of wx2.3.1...? > >=20 > > Sorry to take up your time, but I really want to be able to use=20 > resource > Sorry *again* for *your* time... ( but this should really be the > _last_ time... ) >=20 > > files, so that I can design screens graphically! >=20 > Regards > Mattia >=20 >=20 |
From: Mattia B. <mb...@ds...> - 2001-11-06 15:33:29
|
> Dear Mattia, > Thanks for the info - I'm getting further! > > I've built xrc using: > nmake -f makefile.vx FINAL=1 nmake -f makefile.vc FINAL=1 WXUSINGDLL=1 ( will I ever learn how to give instructions correctly... ) > to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. > > However, when I try building wxPerl, using: > nmake > perl Makefile.PL > nmake > > I get the following errors (I've snipped sections out to give the gist, > as it goes on quite a bit): > > link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo > -nodefaultlib -release > -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" - machine:x86 <snip> > wxxrc.lib(xmlres.obj) : error LNK2005: "public: __thiscall > wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in > wx23_1.lib(wx23_1.dll) <snip> All these are due to the fact that wx is compiled as a DLL, but wxXRC is compiled as if wxWindows were compiled as a static lib > . > . > wxxrc.lib(xh_unkwn.obj) : error LNK2001: unresolved external symbol > "public: static class wxClassInfo wxWindowBase::sm_classwxWindowBase" > (?sm_classwxWindowBase@wxWindowBase@@2VwxClassInfo@@A) > . > . > . > ..\..\blib\arch\auto\Wx\XRC\XRC.dll : fatal error LNK1120: 49 unresolved > externals > > Have I missed something in my build of wx2.3.1...? > > Sorry to take up your time, but I really want to be able to use resource Sorry *again* for *your* time... ( but this should really be the _last_ time... ) > files, so that I can design screens graphically! Regards Mattia |
From: James L. <ja...@mi...> - 2001-11-06 10:51:07
|
Dear Mattia, Forgot to say that I did a=20 nmake realclean before the=20 perl makefile.pl nmake in order to clean things up from the 2.2.7 build. James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 05 November 2001 22:19 > To: James Lavery > Cc: wxp...@li... > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the information - it all makes sense. =20 > >=20 > > However, I tried downloading the latest snapshot from > > http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I=20 > get the same > > "'SetString' : is not a member of 'wxRadioBox'" error. Am=20 > I getting=20 > the > > correct snapshot? Wx.pm in the snapshot has a version of 0.08. > My fault ( you'll notice I keep saying this quite often... ) > There were other changes I forgot to check. > The current CVS/snapshot should compile OOTB >=20 > ( BTW, don't forget to >=20 > cd $WXWIN\contrib\src\xrc > nmake -f makefile.vc >=20 > before building wxPerl, to build xrc ) >=20 > Hope this helps > Mattia >=20 >=20 |
From: James L. <ja...@mi...> - 2001-11-06 10:47:00
|
Dear Mattia, Thanks for the info - I'm getting further! I've built xrc using: nmake -f makefile.vx FINAL=3D1 to create wxxrc.lib (rather than wxxrcd.lib), and this worked fine. However, when I try building wxPerl, using: nmake=20 perl Makefile.PL nmake=20 I get the following errors (I've snipped sections out to give the gist, as it goes on quite a bit): link -out:..\..\blib\arch\auto\Wx\XRC\XRC.dll -dll -nologo -nodefaultlib -release -libpath:"c:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE" -machine:x86 XRC.obj ..\..\blib\arch\auto\Wx\Wx.lib C:\perl\5.6.1\lib\MSWin32-x86-multi-thread\CORE\perl56.lib c:\wx2.3.1\lib\wx23_1.lib c:\wx2.3.1\lib\zlib.lib C:\wx2.3.1\lib\wxxrc.lib "C:\Program Files\Microsoft Visual Studio\VC98\lib\oldnames.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\kernel32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\user32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\gdi32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\winspool.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\comdlg32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\advapi32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\shell32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\ole32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\oleaut32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\netapi32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\uuid.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\wsock32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\mpr.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\winmm.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\version.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\odbc32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\odbccp32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\msvcrt.lib" wxxrc.lib(xmlres.obj) : error LNK2005: "public: __thiscall wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual bool __thiscall wxGDIObject::GetVisible(void)" (?GetVisible@wxGDIObject@@UAE_NXZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual void __thiscall wxGDIObject::SetVisible(bool)" (?SetVisible@wxGDIObject@@UAEX_N@Z) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual bool __thiscall wxGDIObject::RealizeResource(void)" (?RealizeResource@wxGDIObject@@UAE_NXZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "public: virtual bool __thiscall wxGDIObject::IsFree(void)const " (?IsFree@wxGDIObject@@UBE_NXZ) already defined in wx23_1.lib(wx23_1.dll) wxxrc.lib(xmlres.obj) : error LNK2005: "protected: virtual class wxGDIImageRefData * __thiscall wxBitmap::CreateData(void)const " (?CreateData@wxBitmap@@MBEPAVwxGDIImageRefData@@XZ) already defined in wx23_1.lib(wx23_1.dll) . . . wxxrc.lib(xmlres.obj) : warning LNK4006: "public: __thiscall wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in wx23_1.lib(wx23_1.dll); second definition ignored wxxrc.lib(xmlres.obj) : warning LNK4006: "public: virtual bool __thiscall wxGDIObject::GetVisible(void)" (?GetVisible@wxGDIObject@@UAE_NXZ) already defined in wx23_1.lib(wx23_1.dll); second definition ignored wxxrc.lib(xmlres.obj) : warning LNK4006: "public: virtual void __thiscall wxGDIObject::SetVisible(bool)" (?SetVisible@wxGDIObject@@UAEX_N@Z) already defined in wx23_1.lib(wx23_1.dll); second definition ignored . . . Creating library ..\..\blib\arch\auto\Wx\XRC\XRC.lib and object ..\..\blib\arch\auto\Wx\XRC\XRC.exp wxxrc.lib(xmlbin.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xmlwrite.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xmlexpat.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xh_panel.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) wxxrc.lib(xh_dlg.obj) : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB) . . . wxxrc.lib(xh_unkwn.obj) : error LNK2001: unresolved external symbol "public: static class wxClassInfo wxWindowBase::sm_classwxWindowBase" (?sm_classwxWindowBase@wxWindowBase@@2VwxClassInfo@@A) . . . ..\..\blib\arch\auto\Wx\XRC\XRC.dll : fatal error LNK1120: 49 unresolved externals Have I missed something in my build of wx2.3.1...? Sorry to take up your time, but I really want to be able to use resource files, so that I can design screens graphically! Thanks, James > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: 05 November 2001 22:19 > To: James Lavery > Cc: wxp...@li... > Subject: RE: [wxperl-users] Building wxPerl with wxWindows 2.3.1, and > usingXML resources >=20 >=20 > > Dear Mattia, > > Thanks for the information - it all makes sense. =20 > >=20 > > However, I tried downloading the latest snapshot from > > http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I=20 > get the same > > "'SetString' : is not a member of 'wxRadioBox'" error. Am=20 > I getting=20 > the > > correct snapshot? Wx.pm in the snapshot has a version of 0.08. > My fault ( you'll notice I keep saying this quite often... ) > There were other changes I forgot to check. > The current CVS/snapshot should compile OOTB >=20 > ( BTW, don't forget to >=20 > cd $WXWIN\contrib\src\xrc > nmake -f makefile.vc >=20 > before building wxPerl, to build xrc ) >=20 > Hope this helps > Mattia >=20 >=20 |
From: Mattia B. <mb...@ds...> - 2001-11-05 22:18:30
|
> Dear Mattia, > Thanks for the information - it all makes sense. > > However, I tried downloading the latest snapshot from > http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I get the same > "'SetString' : is not a member of 'wxRadioBox'" error. Am I getting the > correct snapshot? Wx.pm in the snapshot has a version of 0.08. My fault ( you'll notice I keep saying this quite often... ) There were other changes I forgot to check. The current CVS/snapshot should compile OOTB ( BTW, don't forget to cd $WXWIN\contrib\src\xrc nmake -f makefile.vc before building wxPerl, to build xrc ) Hope this helps Mattia |
From: James L. <ja...@mi...> - 2001-11-05 14:03:59
|
Dear Mattia, Thanks for the information - it all makes sense. =20 However, I tried downloading the latest snapshot from http://wxperl.sourceforge.net/snapshot/wxPerl.zip, and I get the same "'SetString' : is not a member of 'wxRadioBox'" error. Am I getting the correct snapshot? Wx.pm in the snapshot has a version of 0.08. Thanks, James |
From: Mattia B. <mb...@ds...> - 2001-11-05 12:46:53
|
On Mon, 5 Nov 2001, James Lavery wrote: >Hi All, >I'm new to wxPerl and wxWindows, (but not to Perl...), and am a bit >confused about a couple of things... > >I want to use XML resource files with wxPerl, and understand that this >is only available with the 'unstable' 2.3.1 version of wxWindows. I've >downloaded and built this with no problems, into c:\wx2.3.1\wx23_1.dll. > >Three questions: > >1. How do I rebuild wxPerl to use this version of wxWindows? > >I've tried editing build\nmake.mak to change WXWIN to c:\wx2.3.1, and I just do: set WXDIR=c:\wx set WXWIN=%WXDIR% set PATH=%WXDIR%\lib in a small batch file ( no need to modify build/* ) >rebuilding the makefile for wxPerl and remaking, but I get the errors: >Controls.c(4498) : error C2039: 'SetString' : is not a member of >'wxRadioBox' > c:\wx2.3.1\include\wx/msw/radiobox.h(25) : see declaration of >'wxRadioBox' >XS/RadioBox.xs(95) : error C2039: 'SetString' : is not a member of >'wxRadioBox' > c:\wx2.3.1\include\wx/msw/radiobox.h(25) : see declaration of >'wxRadioBox' >NMAKE : fatal error U1077: 'cl' : return code '0x2' This is fixed in the current CVs; the current cvs has many other 2.3.1 problems solved, and is in a releaseable state ( I'll release it as soon as wxwindows 2.2.8 is out ); it is available from wxperl.sf.net -> cvs snapshots >2. Given that I get things going with wxWindows 2.3.1, can someone give >me (or point me to) an overview of how to use XML-based resource files >in wxPerl? my $res = Wx::XmlResource->new; $res->InitAllHandlers $res->Load( 'file.xrc' ); nethods: LoadMenu( name ) LoadMenuBar( name ) LoadToolBar( parent, name ) LoadDialog( parent, name ) // this populates an already created dialog // ( useful for derived classes ) LoadOnDialog( dialog, parent, name ) LoadPanel( parent, name ) // for an already created panel LoadOnPanel( panel, parent, name ) LoadFrame( frame, parent, name ) LoadBitmap( name ) LoadIcon( name ) // for external controls AttachUnknownControl( name, control, parent = 0 ) for the format of the xml itself: contrib/src/xrc/format.txt contrib/samples/xrc/rc/*.xrc are the only references >3. Is there a GUI designer available which will create resource files? >I've looked at wxDesigner - is there another one included with >wxWindows? There is one written in Python ( using wxPython ) in http://cvs.wxwindows.org/cgi-bin/viewcvs.cgi/wxPython/tools/XRCed/ There is wxWorkshop ( but it is a beta, and not yet available in binary form ) I personally write the perl code by hand, so i can't be of much help here... Hope this helps Mattia |
From: James L. <ja...@mi...> - 2001-11-05 11:21:29
|
Hi All, I'm new to wxPerl and wxWindows, (but not to Perl...), and am a bit confused about a couple of things... I want to use XML resource files with wxPerl, and understand that this is only available with the 'unstable' 2.3.1 version of wxWindows. I've downloaded and built this with no problems, into c:\wx2.3.1\wx23_1.dll. Three questions: 1. How do I rebuild wxPerl to use this version of wxWindows? =20 I've tried editing build\nmake.mak to change WXWIN to c:\wx2.3.1, and rebuilding the makefile for wxPerl and remaking, but I get the errors: Controls.c(4498) : error C2039: 'SetString' : is not a member of 'wxRadioBox' c:\wx2.3.1\include\wx/msw/radiobox.h(25) : see declaration of 'wxRadioBox' XS/RadioBox.xs(95) : error C2039: 'SetString' : is not a member of 'wxRadioBox' c:\wx2.3.1\include\wx/msw/radiobox.h(25) : see declaration of 'wxRadioBox' NMAKE : fatal error U1077: 'cl' : return code '0x2' 2. Given that I get things going with wxWindows 2.3.1, can someone give me (or point me to) an overview of how to use XML-based resource files in wxPerl? 3. Is there a GUI designer available which will create resource files? I've looked at wxDesigner - is there another one included with wxWindows? Thanks, James Lavery |
From: Christian J. <chr...@sl...> - 2001-10-30 13:15:02
|
Hello all Sorry that I haven't reported back yet. Unfortunately I haven't had time to investigate the issue further, since I haven't a MacOSX installation myself and my colleague who has has been busy with other work, we have set back wxperl for the moment because two guys have offered to write our app in C++ (but then they seem to take ages to respond again, so it's still not sure we won't get back to wxperl either). Christian. At 10:10 Uhr +0200 8.10.2001, Mattia Barbon wrote: >This might or might not be harmless; they seem to be linker >flags; if a plain >perl Makefile.PL fails to link, using >perl Makefile.PL EXTRA_LIBS="-framework Carbon -framework System" >might help > > > Note (probably harmless): No library found for -lwxxrc >go in 'directory-where-you-built-wx'/contrib/src/xrc and >do make && make install > > > How to go on? >The last error is some unimplemented wxWindows' function. >Just issue a > >make -k >make.log 2>&1 > >and send the resultimg make.log privately to me ( no need to clutter >the list ). If you know what you are doing, you might add > >#if !defined(__WXMAC__) > >Wx_Menu* >Wx_MDIParentFrame::GetWindowMenu() > >#endif > >( in ext/mdi/XS/MDIParentFrame.xs ) > >and any other missing function >Otherwise I'll do it once I have the log > >Thanks for your work! >Mattia |
From: Mattia B. <mb...@ds...> - 2001-10-27 21:25:18
|
> Category: None > Group: None > Status: Open > Resolution: None > Priority: 5 > Submitted By: Nobody/Anonymous (nobody) > Assigned to: Nobody/Anonymous (nobody) > Summary: StaticBitmap You don't tell your platform ( bad, no cookie for you ;) ) I'll assume Win32 > Initial Comment: > If you have created a StaticBitmap as a placeholder > with wxNullBitmap as template and you want to change > the bitmap by calling SetBitmap(), then the mask of > the new bitmap is ignored and the mask of the > placeholder bitmap (a null mask) is used instead. > Is this a feature or a bug? However it would be nicer > to change the bitmap with its associated mask. *Looks* like a wxWindows bug ( but I need to investigate further ). As a workaround you might want to recreate the static bitmap every time ( yes, it is an hack... ) Thanks for reporting! Mattia |
From: <no...@so...> - 2001-10-27 01:01:40
|
Bugs item #475478, was opened at 2001-10-26 18:01 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=115655&aid=475478&group_id=15655 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: StaticBitmap Initial Comment: If you have created a StaticBitmap as a placeholder with wxNullBitmap as template and you want to change the bitmap by calling SetBitmap(), then the mask of the new bitmap is ignored and the mask of the placeholder bitmap (a null mask) is used instead. Is this a feature or a bug? However it would be nicer to change the bitmap with its associated mask. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=115655&aid=475478&group_id=15655 |
From: Mattia B. <mb...@ds...> - 2001-10-26 21:16:33
|
> hi, > > in the code below i use a CheckListBox and a TreeCtrl; i fill the > CheckListBox with values 1..100 with the sub FillCheckBox in the package > myTreeCtrl; when i run the app and click into the CheckListBox the > program will abort because of a memory-access-violation. sometimes this > happens at the first click inside, sometimes it takes some more. i get > the same error when having marked an item in the CheckListBox and > pressing spacebar. i'm working under Win2000, perl v5.6.0 from > ActiveState and wxPerl 0.07. can anyone help me ? It is/was my fault: there is an error in Wx::CheckListBox; use Wx::CheckListBox( $parent, $id, $pos, $size, $items, 0x0100 ); This will be fixed the proper way in 0.08 ( that I'll put out as sook as wxWIndows 2.2.8 is out ) Thanks! Mattia |
From: Paul S. <pa...@kf...> - 2001-10-26 19:44:09
|
hi, in the code below i use a CheckListBox and a TreeCtrl; i fill the CheckListBox with values 1..100 with the sub FillCheckBox in the package myTreeCtrl; when i run the app and click into the CheckListBox the program will abort because of a memory-access-violation. sometimes this happens at the first click inside, sometimes it takes some more. i get the same error when having marked an item in the CheckListBox and pressing spacebar. i'm working under Win2000, perl v5.6.0 from ActiveState and wxPerl 0.07. can anyone help me ? regards paul ############################ use Wx; package myFrame; use strict; use vars qw(@ISA); @ISA = qw(Wx::Frame); my ($ID_QUIT,$ID_CHKLISTBOX) = ( 1 .. 10 ); use Wx qw(:treectrl :window :sizer wxDefaultPosition wxDefaultSize wxLB_MULTIPLE wxLB_HSCROLL wxLB_NEEDED_SB wxLB_SORT); sub new { my $class = shift; my $this = $class->SUPER::new( undef, -1, $_[0], [ @_[1, 2] ], [ @_[3, 4] ] ); $this->SetIcon( Wx::GetWxPerlIcon() ); my $sizer1 = Wx::BoxSizer->new( wxHORIZONTAL); $this->{CHECKLISTBOX} = Wx::CheckListBox->new($this, $ID_CHKLISTBOX, wxDefaultPosition, wxDefaultSize, [], wxLB_MULTIPLE|wxLB_HSCROLL|wxLB_NEEDED_SB|wxLB_SORT); $this->{TREECTRL} = myTreeCtrl->new($this->{CHECKLISTBOX}, $this, -1, wxDefaultPosition, wxDefaultSize, wxTR_HAS_BUTTONS|wxTR_EDIT_LABELS|wxSUNKEN_BORDER); $sizer1->Add($this->{TREECTRL}, 2, wxGROW); $sizer1->Add($this->{CHECKLISTBOX}, 1, wxGROW); $this->SetSizer($sizer1); $this->SetAutoLayout(1); my $file = Wx::Menu->new; $file->Append($ID_QUIT, "E&xit" ); my $bar = Wx::MenuBar->new; $bar->Append($file, "&File"); $this->SetMenuBar( $bar ); use Wx::Event qw(EVT_MENU EVT_UPDATE_UI); EVT_MENU($this, $ID_QUIT, \&OnQuit); $this; } sub OnQuit { my( $this, $event ) = @_; $this->Close( 1 ); } ####################################### package myTreeCtrl; use strict; use vars qw(@ISA); @ISA = qw(Wx::TreeCtrl); sub new { my $class = shift; my $listbox = shift; my $this = $class->SUPER::new( @_ ); $this->{CHECKLISTBOX} = $listbox; $this->FillCheckBox($listbox); $this; } sub FillCheckBox { my ($this, $listbox) = @_; for (my $i = 0; $i < 100; $i++) { $listbox->Append($i); } } ####################################### package myApp; use strict; use vars qw(@ISA); @ISA = qw(Wx::App); sub OnInit { my $this = shift; my $frame = myFrame->new("Window", 50, 50, 450, 450); $frame->Show(1); $this->SetTopWindow($frame); 1; } ####################################### package main; my $app = myApp->new; $app->MainLoop; ####################################### |
From: Mattia B. <mb...@ds...> - 2001-10-26 08:33:08
|
On Fri, 26 Oct 2001, Paul Schabl wrote: >Hi, > >i'm just starting using wxPerl and have the following problem: >in the code below, in the package myFrame, i have a tree and a >textcontrol and want to print >some data into the textcontrol each time an item in the treecontrol is >selected (e.g. directory-listing); >how can i access the textcontrol from within the sub OnSelChange in >package myTreeCtrl ? >myFrame->TextCtrl->AppendText() doesn't work. This is because you do not have a 'TextCtrl' method in the myFrame class; second even if you had it, you need to call it on an instance of the class . in the OnSelCHange method add: my $frame = $this->GetParent(); my $textctrl = $this->{TEXTCTRL}; # see below $textctrl->AppendText( 'Hi!' ); # of course you could do # $this->GetParent->{TEXTCTRL}->AppendText( 'Hi!' ); in addition you can add a TextCtrl method to myFrame, like this sub TextCtrl { $_[0]->{TEXTCTRL} } and use $frame->TextCtrl instead of $frame->{TEXTCTRL} if you feel that this makes your code cleaner. Yet another solution is to pass the TextCtrl to the myTreeCtrl constructor i.e. package myTreeCtrl; # ... sub new { my $class = shift; my $textctrl = shift; my $this = $class->SUPER::new( @_ ); $this->{TEXTCTRL} = $textctrl; } and use it as myTreeCtrl->new( $textctrl, @other_parameters ); this avoids depending on the fact that the textctrl and the treectrl are childs of the frame ( you might subsequntly change the layout and have to change all calls to ->GetParent() to something else. Regards Mattia |
From: Paul S. <pa...@kf...> - 2001-10-26 00:26:32
|
Hi, i'm just starting using wxPerl and have the following problem: in the code below, in the package myFrame, i have a tree and a textcontrol and want to print some data into the textcontrol each time an item in the treecontrol is selected (e.g. directory-listing); how can i access the textcontrol from within the sub OnSelChange in package myTreeCtrl ? myFrame->TextCtrl->AppendText() doesn't work. regards and thanks in advance Paul ############################ use Wx; package myFrame; use strict; use vars qw(@ISA); @ISA = qw(Wx::Frame); my($ID_QUIT) = ( 1 ); use Wx qw(:treectrl :window :sizer :textctrl wxDefaultPosition wxDefaultSize); sub new { my $class = shift; my $this = $class->SUPER::new( undef, -1, $_[0], [ @_[1, 2] ], [ @_[3, 4] ] ); $this->SetIcon( Wx::GetWxPerlIcon() ); my $sizer1 = Wx::BoxSizer->new( wxHORIZONTAL); $this->{TREECTRL} = myTreeCtrl->new($this, -1, wxDefaultPosition, wxDefaultSize, wxTR_HAS_BUTTONS|wxTR_EDIT_LABELS|wxSUNKEN_BORDER); $this->{TEXTCTRL} = Wx::TextCtrl->new($this, -1, '', wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxSUNKEN_BORDER); $sizer1->Add($this->{TREECTRL}, 2, wxGROW); $sizer1->Add($this->{TEXTCTRL}, 1, wxGROW); $this->SetSizer($sizer1); $this->SetAutoLayout(1); my $file = Wx::Menu->new; $file->Append($ID_QUIT, "E&xit" ); my $bar = Wx::MenuBar->new; $bar->Append($file, "&File"); $this->SetMenuBar( $bar ); use Wx::Event qw(EVT_MENU EVT_UPDATE_UI); EVT_MENU($this, $ID_QUIT, \&OnQuit); $this; } sub OnQuit { my( $this, $event ) = @_; $this->Close( 1 ); } ####################################### package myTreeCtrl; use strict; use vars qw(@ISA); @ISA = qw(Wx::TreeCtrl); sub new { my $class = shift; my $this = $class->SUPER::new( @_ ); ... use Wx::Event qw(EVT_TREE_SEL_CHANGED ); EVT_TREE_SEL_CHANGED($this, $this, \&OnSelChange); $this; } . . . sub OnSelChange { my( $this, $event ) = @_; my $item = $event->GetItem; if ($item != $this->GetRootItem) { my ($dir, $data) = split (/,/, $this->GetPlData($item)); -> here i would like to print $data to the TextCtrl from package myFrame } } ####################################### package myApp; use strict; use vars qw(@ISA); @ISA = qw(Wx::App); sub OnInit { my $this = shift; my $frame = myFrame->new("Frame", 50, 50, 450, 450); $frame->Show(1); $this->SetTopWindow($frame); 1; } ####################################### package main; my $app = myApp->new; $app->MainLoop; ####################################### |
From: Veena R. <raj...@oh...> - 2001-10-15 21:55:59
|
This worked for me. Dont know if this is the best way use Wx qw(wxMAXIMIZE wxMINIMIZE_BOX wxMAXIMIZE_BOX =20 wxSYSTEM_MENU wxCAPTION ); sub OnInit{ my $self =3D shift; my $frame =3D MyFrame->new(undef,-1,'Test',[100,100],[-1,-1], wxMINIMIZE_BOX | = wxMAXIMIZE_BOX | wxSYSTEM_MENU | wxCAPTION |wxMAXIMIZE); $self->SetTopWindow($frame); =20 $frame->Show(1); } Thanks Veena Rajaraman ------------------------------------------------------------------------- I try to maximize a window with : sub OnInit { my( $this ) =3D shift; =20 my( $frame ) =3D MyFrame->new( "Minimal wxPerl app", wxDefaultPosition, [450, 350] ); =20 $frame->Show( 1 ); $this->SetTopWindow( $frame ); $frame->Maximize(1); return 1; } |