]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dragimag.h
fix memory leak as Dimitri suggested
[wxWidgets.git] / include / wx / dragimag.h
1 #ifndef _WX_DRAGIMAG_H_BASE_
2 #define _WX_DRAGIMAG_H_BASE_
3
4 #if wxUSE_DRAGIMAGE
5
6 class WXDLLEXPORT wxRect;
7 class WXDLLEXPORT wxMemoryDC;
8 class WXDLLEXPORT wxDC;
9
10 #if defined(__WXMSW__)
11 #if defined(__WIN16__) || defined(__WXUNIVERSAL__)
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 #endif
45
46 #endif // wxUSE_DRAGIMAGE
47
48 #endif
49 // _WX_DRAGIMAG_H_BASE_