git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25765
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxClipboard::Close()
{
m_open = false ;
+
+ // Get rid of cached object. If this is not done copying from another application will
+ // only work once
+ if (m_data)
+ {
+ delete m_data;
+ m_data = (wxDataObject*) NULL;
+ }
+
}
bool wxClipboard::IsSupported( const wxDataFormat &dataFormat )
void wxClipboard::Close()
{
m_open = false ;
+
+ // Get rid of cached object. If this is not done copying from another application will
+ // only work once
+ if (m_data)
+ {
+ delete m_data;
+ m_data = (wxDataObject*) NULL;
+ }
+
}
bool wxClipboard::IsSupported( const wxDataFormat &dataFormat )