]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/clipbrd.cpp
removing event handlers on non-owned windows when the destroy event is sent
[wxWidgets.git] / src / osx / carbon / clipbrd.cpp
index 1fa330c6d383cb817cc4ee92e28c70f67b1777fa..a534352a9c686f80cedc00fc90cabf28618f6c0f 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/mac/carbon/clipbrd.cpp
+// Name:        src/osx/carbon/clipbrd.cpp
 // Purpose:     Clipboard functionality
 // Author:      Stefan Csomor;
 //              Generalized clipboard implementation by Matthew Flatt
@@ -36,7 +36,7 @@
 // the trace mask we use with wxLogTrace() - call
 // wxLog::AddTraceMask(TRACE_CLIPBOARD) to enable the trace messages from here
 // (there will be a *lot* of them!)
-#define TRACE_CLIPBOARD _T("clipboard")
+#define TRACE_CLIPBOARD wxT("clipboard")
 
 IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject)
 
@@ -142,7 +142,7 @@ void wxClipboard::Close()
     if (m_data)
     {
         delete m_data;
-        m_data = (wxDataObject*) NULL;
+        m_data = NULL;
     }
 }