From: Everett, T. <TEv...@AL...> - 2002-09-03 23:10:11
|
I was playing around with using -1 as the passed control ID in the constructor as described in http://wxperl.sourceforge.net/manual/manual4.html <http://wxperl.sourceforge.net/manual/manual4.html> . I noticed that it doesn't work:). In the interim, I've simply created an interator in my package and used that for the constructor. I also noticed that I had to explicitly call ->GetId() when using EVT_MENU. I've just started playing with wxPerl - someone mentioned it on the PDK mailing list, and my curiosity was piqued. I've been a long-time PerlTk user, but Tk suffers from a rather non-standard look and feel under Win32. As I've started playing with wxPerl, my initial goal has been to develop a set of viable patterns because my experience with Perl/Tk has taught me that the hardest thing to do is to manage all of the widgets in program in a manner that minimizes maintenance headaches. The ID situation struck me as a bit of a kludge, and so I was happy to discover there are ways around it. --Toby Everett |