]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/dataobj2.h
Remove usused variable
[wxWidgets.git] / include / wx / motif / dataobj2.h
CommitLineData
dd38c875 1///////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/dataobj2.h
dd38c875
MB
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
dd38c875
MB
14// ----------------------------------------------------------------------------
15// wxBitmapDataObject is a specialization of wxDataObject for bitmaps
16// ----------------------------------------------------------------------------
17
94c7b088 18class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase
dd38c875
MB
19{
20public:
21 // ctors
22 wxBitmapDataObject()
23 : wxBitmapDataObjectBase() { }
24 wxBitmapDataObject(const wxBitmap& bitmap)
25 : wxBitmapDataObjectBase(bitmap) { }
26
27 // implement base class pure virtuals
28 // ----------------------------------
29 virtual size_t GetDataSize() const;
30 virtual bool GetDataHere(void *buf) const;
31 virtual bool SetData(size_t len, const void *buf);
3f62badb
VZ
32
33 // unhide base class virtual functions
34 virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const
35 { return GetDataSize(); }
36 virtual bool GetDataHere(const wxDataFormat& WXUNUSED(format),
37 void *buf) const
38 { return GetDataHere(buf); }
39 virtual bool SetData(const wxDataFormat& WXUNUSED(format),
40 size_t len, const void *buf)
41 { return SetData(len, buf); }
dd38c875
MB
42};
43
44#endif // _WX_MOTIF_DATAOBJ2_H_