2008/12/16 Paul McNett <[email protected]>:
>> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/dabo/dabo/ui/uiwx/dDialog.py:377:
>> Warning: The onOK() handler is deprecated. Use the runOK() method
>> instead
> This must be coming from your code. We changed onOK() to runOK(), and your 
> code must
> still be using onOK(), which still works but is deprecated. Find and replace 
> all
> instances with runOK() instead.

Sorry, but there's no onOK anywhere in my code. But I found several in yours:

dabo/lib/datanav/Form.py #410
dabo/ui/dialogs/login.py #107 & #118
dabo/ui/uiwx/__init__.py #781
dabo/ui/uiwx/dDialog.py (7 matches, here's the deprecation warning issued)
demo/samples/games/Minesweeper.py #1048

In my case it comes from the login dialog.

Is there old code left on my system?

Perhaps add subversion IDs to your code, that would help to find old code.

# $Id$

> svn propset svn:keywords "Id" *.py


>>   File 
>> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/dabo/dabo/ui/uiwx/dMenuBar.py",
>> line 39, in __onWxMenuOpen
>>     menu.raiseEvent(dEvents.MenuHighlight)
>> AttributeError: 'Menu' object has no attribute 'raiseEvent'
>>
>>
>> The second one happens if I right-click in a dTextBox.
>
> Confirmed and fixed. Thanks!

Thank you!


Greetlings, Hraban


_______________________________________________
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]

Reply via email to