[wxpython-users] No PopupWindow() on Macs - what to do?

AK andrei.avk at gmail.com
Mon Apr 14 10:03:26 PDT 2008


I don't have any Macs, so I have to ask if anyone was able to do a 
workaround for this issue..
There is a very nice module 'TextCtrlAutoComplete' that does a drop 
down, lets you type
in characters and highlights matches. Alas it uses PopupWindow() which 
is not implemented
on Macs. I got a report that a Mac user got this error:

File ".. tobu-0.5.0/tobu-0.5.0/TextCtrlAutoComplete.py", line 108, in 
__init__
    self.dropdown = wx.PopupWindow( self )
  File 
"//Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.8-mac-unicode/wx/_windows.py", 
line 1736, in __init__
    _windows_.PopupWindow_swiginit(self,_windows_.new_PopupWindow(*args, 
**kwargs))
NotImplementedError

So, is there an easy fix for this? In general, is it practical to target 
Macs with wxPython without
having access to a Mac? It is kind of based on unix and I do have Linux 
running
so it might be easier than if I only had windows, I'm not sure.

-- 
ak
Tobu | http://tobu.lightbird.net/ | Freeform DB / Tagger / PIM
Python-by-Example | http://pbe.lightbird.net/ | Guide to LibRef



More information about the wxpython-users mailing list