From: <md...@us...> - 2010-11-01 13:04:35
|
Revision: 8767 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8767&view=rev Author: mdboom Date: 2010-11-01 13:04:29 +0000 (Mon, 01 Nov 2010) Log Message: ----------- Flush the clipboard after pasting to it so that the data remains after matplotlib is closed. (Reported by Daniel Hyams on the mailing list). Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/backends/backend_wx.py Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_wx.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/backends/backend_wx.py 2010-10-27 19:41:52 UTC (rev 8766) +++ branches/v1_0_maint/lib/matplotlib/backends/backend_wx.py 2010-11-01 13:04:29 UTC (rev 8767) @@ -775,6 +775,7 @@ wx.TheClipboard.Open() wx.TheClipboard.SetData(bmp_obj) wx.TheClipboard.Close() + wx.TheClipboard.Flush() def Printer_Init(self): """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |