]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/clipbrd.cpp
default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
[wxWidgets.git] / src / msw / clipbrd.cpp
index 3c233998730f770128c80ca64fb5e12010627b51..ee67b677fd694f50b2c6e0ebe782bf4223d27574 100644 (file)
@@ -537,9 +537,7 @@ wxClipboard::~wxClipboard()
 {
     if ( m_lastDataObject )
     {
-        // Retain any remaining clipboard data
-        // after application exits.
-        Flush();
+        Clear();
     }
 
 #if wxUSE_OLE_CLIPBOARD