diff --git a/docs/changes.txt b/docs/changes.txt index 3755c18222..64dad4cdde 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -102,7 +102,6 @@ wxMSW: - Fixed version script problems when using configure with cygwin/mingw32. - Use system default paper size for printing instead of A4. - Fix colours when converting wxBitmap with alpha to wxImage (nusi). -- Clipboard data is now retained after the application exits. 2.7.2 diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index 3c23399873..ee67b677fd 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -537,9 +537,7 @@ wxClipboard::~wxClipboard() { if ( m_lastDataObject ) { - // Retain any remaining clipboard data - // after application exits. - Flush(); + Clear(); } #if wxUSE_OLE_CLIPBOARD