Re: [perl-win32-gui-users] How to call menu item click event handlersas methods rather than classes?

2007-10-30 Thread Jason Plum
Here is the problem: You are using OEM methodology inside a package. OEM was designed to operate in the MAIN namespace. Switch to the NEM and you should be right as rain. (e.g. inside of new for the menu use -onClick => &menu_click ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

[perl-win32-gui-users] How to call menu item click event handlers as methods rather than classes?

2007-10-30 Thread John, Gareth
Hi, I'm trying to write the event handlers for menu item clicks. I have sub-classed Win32::GUI::Window to provide the main window for my application. This all works nicely, except that I've just added a menu to my main window and I can't seem to figure out how to access any object data from my _C