-///////////////////////////////////////////////////////////////////////////////
-// Name: mac/dataobj.h
-// Purpose: declaration of the wxDataObject
-// Author: Stefan Csomor (adapted from Robert Roebling's gtk port)
-// Modified by:
-// Created: 10/21/99
-// RCS-ID: $Id$
-// Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
-// Licence: wxWindows license
-///////////////////////////////////////////////////////////////////////////////
-
-#ifndef _WX_MAC_DATAOBJ_H_
-#define _WX_MAC_DATAOBJ_H_
-
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma interface "dataobj.h"
+#ifdef __WXMAC_CLASSIC__
+#include "wx/mac/classic/dataobj.h"
+#else
+#include "wx/mac/carbon/dataobj.h"