]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/dataobj2.h
we need our own imaglist implementation because in wxmac wxIcon does not inherit...
[wxWidgets.git] / include / wx / motif / dataobj2.h
CommitLineData
dd38c875
MB
1///////////////////////////////////////////////////////////////////////////////
2// Name: include/wx/motif/dataobj2.h
3// Purpose: declaration of standard wxDataObjectSimple-derived classes
4// Author: Mattia Barbon
5// Created: 27.04.03
6// RCS-ID: $Id$
7// Copyright: (c) 2003 Mattia Barbon
65571936 8// Licence: wxWindows licence
dd38c875
MB
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_MOTIF_DATAOBJ2_H_
12#define _WX_MOTIF_DATAOBJ2_H_
13
12028905 14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
dd38c875
MB
15 #pragma interface "dataobj.h"
16#endif
17
18// ----------------------------------------------------------------------------
19// wxBitmapDataObject is a specialization of wxDataObject for bitmaps
20// ----------------------------------------------------------------------------
21
22class wxBitmapDataObject : public wxBitmapDataObjectBase
23{
24public:
25 // ctors
26 wxBitmapDataObject()
27 : wxBitmapDataObjectBase() { }
28 wxBitmapDataObject(const wxBitmap& bitmap)
29 : wxBitmapDataObjectBase(bitmap) { }
30
31 // implement base class pure virtuals
32 // ----------------------------------
33 virtual size_t GetDataSize() const;
34 virtual bool GetDataHere(void *buf) const;
35 virtual bool SetData(size_t len, const void *buf);
36};
37
38#endif // _WX_MOTIF_DATAOBJ2_H_
39