Hi,
I was just trying the latest version of wxPython_Phoenix (3.0.1.dev76465) and almost all of my code that was developed with 2.8 works perfectly. I noticed, however, that the clipboard does not appear to work properly. I cannot retrieve data from the clipboard or put data on the clipboard (that any other application can use, that is) whereas the same code worked fine with both 2.8 and 3.0 (classic). This is the code:
import wx
print “VERSION:”, wx.version()
dummyApp = wx.App(0)
data = wx.TextDataObject()
clipboard = wx.TheClipboard
if clipboard.Open():
if clipboard.GetData(data):
print “FOUND ON CLIPBOARD:”, data.GetText()
clipboard.Close()
This is on Windows 7 with Python 2.7 32-bit. I will try Linux as well and see if this is a bug that spans platforms and report back – but can anyone else verify that this is a problem and why that might be? Thanks.
Anthony