On Wed, Aug 27, 2008 at 4:56 PM, Paul McNett <[EMAIL PROTECTED]> wrote: > Nate Lowrie wrote: >> On Wed, Aug 27, 2008 at 3:17 PM, Nate Lowrie <[EMAIL PROTECTED]> wrote: >>> Ran into a problem...This only works for top level menus. If I append >>> a menu inside a menu and select it, I get this error: >>> >>> Traceback (most recent call last): >>> File "C:\Documents and Settings\nwlowri\My >>> Documents\Projects\Personal\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py", >>> line 514, in __onWxMenuOpen >>> evt.Menu.raiseEvent(dEvents.MenuOpen, evt) >>> AttributeError: 'NoneType' object has no attribute 'raiseEvent' >> >> >> I fixed this bug and think I have a solution. It is in the latest SVN >> commit. Would y'all test this on Linux and Mac to see if it works >> correctly. It is working on Windows perfectly. > > Can you post some code to test with? I just ran my app on Linux with > your changes and nothing seems broken, but I don't use menu events other > than Hit...
Running Editor.py and seeing if all of the DynamicEnabled menu items are working should be good enough. Specifically, look in the move submenu under the edit menu when there is only 1 tab and verify that the first 4 items are disabled. Then, add a new page to the editor and check the menu again to verify they are enabled. I can still make up some test code if you want. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
