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.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to