[wxPython] wxGTK: NameError: wxWindow_FindFocus

wxPython 2.2.0/wxGTK on Compaq Tru64 (Alpha):

Traceback (innermost last):
  File "wxtask.py", line 181, in OnClose
    current_focus = wxWindow_FindFocus()
NameError: wxWindow_FindFocus

The same code works fine on Windows98.

Ralf

--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.

wxPython 2.2.0/wxGTK on Compaq Tru64 (Alpha):

Traceback (innermost last):
  File "wxtask.py", line 181, in OnClose
    current_focus = wxWindow_FindFocus()
NameError: wxWindow_FindFocus

The same code works fine on Windows98.

Originally wxWindow::FindFocus was not available in wxGTK so I had it
ifdef'ed for MSW only. It seems to be available now so I'll fix it for the
next release.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!