X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..5d644707ca96dcaa63dc5a24c9eb5c2b7ee0b50d:/include/wx/mac/dataobj.h

diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h
index 9539c95e8f..e08abc2bd8 100644
--- a/include/wx/mac/dataobj.h
+++ b/include/wx/mac/dataobj.h
@@ -24,8 +24,8 @@ class wxDataObject : public wxDataObjectBase
 {
 public:
     wxDataObject();
-#ifdef __WXMAC_X__
-    ~wxDataObject() {}  // Added min for Mac X
+#ifdef __DARWIN__
+    ~wxDataObject() { }
 #endif
 
     virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;