> That's really funny, I finally just figured out how to use PPM and
> reinstalled the latest win32::GUI with PPM and now my program is generating
> the exact same error:
> Can't locate auto/Win32/GUI/MenuItem/SetMenuItem.al in @INC
> (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at
> C:/Perl/site/lib/Win32/GUI.pm line 452
You need to edit your GUI.pm file and make a change to support sub-menus.
Aldo hopefully will include this fix in the next release.
GUI.pm Change:
To support Sub-menus, change GUI.pm, line 451 (for build 434)
--- from -----
$M->{$parent}->SetMenuItemInfo(
-submenu => $M->{$parent."_SubmenuButton"}
);
--- to -------
$M->{$parent}->Change(
-submenu => $M->{$parent."_SubmenuButton"}
);
--------------
> > 2) How do I enable a button that was created with the option ;-disabled
> > => 1; ?
You mean through GB?
Must have existed outside of gb as -disable is not one of the current
options. I could add that to the next version.
-dave