]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dataobj.h
removed wxICON_IS_BITMAP, it is now always (implicitly) set to 0
[wxWidgets.git] / include / wx / os2 / dataobj.h
index 2f6ed49da540b96219ff5a26af984f839f092014..865e45a7a8e37eb28bb9559c765a07206784083c 100644 (file)
@@ -1,7 +1,7 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        os2/dataobj.h
+// Name:        mac/dataobj.h
 // Purpose:     declaration of the wxDataObject
-// Author:      David Webster (adapted from Robert Roebling's gtk port)
+// Author:      Stefan Csomor
 // Modified by:
 // Created:     10/21/99
 // RCS-ID:      $Id$
@@ -9,8 +9,8 @@
 // Licence:     wxWindows license
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifndef _WX_GTK_DATAOBJ_H_
-#define _WX_GTK_DATAOBJ_H_
+#ifndef _WX_MAC_DATAOBJ_H_
+#define _WX_MAC_DATAOBJ_H_
 
 #ifdef __GNUG__
     #pragma interface "dataobj.h"
@@ -24,9 +24,21 @@ class wxDataObject : public wxDataObjectBase
 {
 public:
     wxDataObject();
+    virtual ~wxDataObject();
 
-    virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
+    virtual bool IsSupportedFormat( const wxDataFormat& eFormat
+                                   ,Direction           eDir = Get
+                                  ) const
+    {
+        return(IsSupported( eFormat
+                           ,eDir
+                          ));
+    }
+
+    PDRAGITEM GetInterface(void) const {return m_pDataObject;}
+private:
+    PDRAGITEM                       m_pDataObject;
 };
 
-#endif // _WX_GTK_DATAOBJ_H_
+#endif // _WX_MAC_DATAOBJ_H_