Anthony Tuininga
2014-05-07 22:25:04 UTC
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
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
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.