]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/dataobj.h
wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
[wxWidgets.git] / include / wx / osx / dataobj.h
CommitLineData
6762286d
SC
1///////////////////////////////////////////////////////////////////////////////
2// Name: mac/dataobj.h
3// Purpose: declaration of the wxDataObject
4// Author: Stefan Csomor (adapted from Robert Roebling's gtk port)
5// Modified by:
6// Created: 10/21/99
7// RCS-ID: $Id$
8// Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MAC_DATAOBJ_H_
13#define _WX_MAC_DATAOBJ_H_
14
15// ----------------------------------------------------------------------------
16// wxDataObject is the same as wxDataObjectBase under wxGTK
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
20{
21public:
22 wxDataObject();
23#ifdef __DARWIN__
24 virtual ~wxDataObject() { }
5c6eb3a8 25#endif
6762286d
SC
26
27 virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
28 void AddToPasteboard( void * pasteboardRef , int itemID );
29 // returns true if the passed in format is present in the pasteboard
30 static bool IsFormatInPasteboard( void * pasteboardRef, const wxDataFormat &dataFormat );
31 // returns true if any of the accepted formats of this dataobj is in the pasteboard
32 bool HasDataInPasteboard( void * pasteboardRef );
33 bool GetFromPasteboard( void * pasteboardRef );
34};
35
36#endif // _WX_MAC_DATAOBJ_H_
37