py2exe and wxEVT_SCROLL_ENDSCROLL undefined

My code works fine until I make an executable with py2exe, then I get the error message:

Traceback (most recent call last):
  File "UI.py", line 1, in ?
  File "wx\__init__.pyo", line 42, in ?
  File "wx\_core.pyo", line 3163, in ?
AttributeError: 'module' object has no attribute 'wxEVT_SCROLL_ENDS

This is with Python 2.4.1 and wx 2.6.1.0 on Windows XP with all the service packs.

This question was asked a few days ago on the python list but the only response was to not use from wxPython import *. We long ago switched to the wx name space.

Has anyone else seen this problem?

Thanks
gb