]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dragimag.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / dragimag.h
... / ...
CommitLineData
1#ifndef _WX_DRAGIMAG_H_BASE_
2#define _WX_DRAGIMAG_H_BASE_
3
4#if wxUSE_DRAGIMAGE
5
6class WXDLLEXPORT wxRect;
7class WXDLLEXPORT wxMemoryDC;
8class WXDLLEXPORT wxDC;
9
10#if defined(__WXMSW__)
11#ifdef __WIN16__
12#include "wx/generic/dragimgg.h"
13#define wxDragImage wxGenericDragImage
14#define sm_classwxDragImage sm_classwxGenericDragImage
15
16#else
17#include "wx/msw/dragimag.h"
18#endif
19#elif defined(__WXMOTIF__)
20#include "wx/generic/dragimgg.h"
21#define wxDragImage wxGenericDragImage
22#define sm_classwxDragImage sm_classwxGenericDragImage
23
24#elif defined(__WXGTK__)
25#include "wx/generic/dragimgg.h"
26#define wxDragImage wxGenericDragImage
27#define sm_classwxDragImage sm_classwxGenericDragImage
28
29#elif defined(__WXX11__)
30#include "wx/generic/dragimgg.h"
31#define wxDragImage wxGenericDragImage
32#define sm_classwxDragImage sm_classwxGenericDragImage
33
34#elif defined(__WXMAC__)
35#include "wx/generic/dragimgg.h"
36#define wxDragImage wxGenericDragImage
37#define sm_classwxDragImage sm_classwxGenericDragImage
38
39#elif defined(__WXPM__)
40#include "wx/generic/dragimgg.h"
41#define wxDragImage wxGenericDragImage
42#define sm_classwxDragImage sm_classwxGenericDragImage
43
44#elif defined(__WXSTUBS__)
45#include "wx/generic/dragimgg.h"
46#define wxDragImage wxGenericDragImage
47#define sm_classwxDragImage sm_classwxGenericDragImage
48
49#endif
50
51#endif // wxUSE_DRAGIMAGE
52
53#endif
54 // _WX_DRAGIMAG_H_BASE_