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