]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dragimag.h
Simplify and correct MSW selection of background brush for children painting.
[wxWidgets.git] / include / wx / dragimag.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/dragimag.h
3 // Purpose: wxDragImage base header
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // Copyright: (c) Julian Smart
8 // RCS-ID: $Id$
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DRAGIMAG_H_BASE_
13 #define _WX_DRAGIMAG_H_BASE_
14
15 #if wxUSE_DRAGIMAGE
16
17 class WXDLLIMPEXP_FWD_CORE wxRect;
18 class WXDLLIMPEXP_FWD_CORE wxMemoryDC;
19 class WXDLLIMPEXP_FWD_CORE wxDC;
20
21 #if defined(__WXMSW__)
22 # if defined(__WXUNIVERSAL__)
23 # include "wx/generic/dragimgg.h"
24 # define wxDragImage wxGenericDragImage
25 # else
26 # include "wx/msw/dragimag.h"
27 # endif
28
29 #elif defined(__WXMOTIF__)
30 # include "wx/generic/dragimgg.h"
31 # define wxDragImage wxGenericDragImage
32
33 #elif defined(__WXGTK__)
34 # include "wx/generic/dragimgg.h"
35 # define wxDragImage wxGenericDragImage
36
37 #elif defined(__WXX11__)
38 # include "wx/generic/dragimgg.h"
39 # define wxDragImage wxGenericDragImage
40
41 #elif defined(__WXMAC__)
42 # include "wx/generic/dragimgg.h"
43 # define wxDragImage wxGenericDragImage
44
45 #elif defined(__WXPM__)
46 # include "wx/generic/dragimgg.h"
47 # define wxDragImage wxGenericDragImage
48
49 #endif
50
51 #endif // wxUSE_DRAGIMAGE
52
53 #endif
54 // _WX_DRAGIMAG_H_BASE_