X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..2f0e16e186a58e730e38400f5ddd96df62ee19bb:/include/wx/mac/dataobj.h diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index 9539c95e8f..463e151b6c 100644 --- a/include/wx/mac/dataobj.h +++ b/include/wx/mac/dataobj.h @@ -1,35 +1,5 @@ -/////////////////////////////////////////////////////////////////////////////// -// 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_ - -#ifdef __GNUG__ - #pragma interface "dataobj.h" +#ifdef __WXMAC_CLASSIC__ +#include "wx/mac/classic/dataobj.h" +#else +#include "wx/mac/carbon/dataobj.h" #endif - -// ---------------------------------------------------------------------------- -// wxDataObject is the same as wxDataObjectBase under wxGTK -// ---------------------------------------------------------------------------- - -class wxDataObject : public wxDataObjectBase -{ -public: - wxDataObject(); -#ifdef __WXMAC_X__ - ~wxDataObject() {} // Added min for Mac X -#endif - - virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; -}; - -#endif // _WX_MAC_DATAOBJ_H_ -