X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8dca8dd1ba0d6ee9b2c5919a3a944ecde68a50..bcf7614cf3a2329e484fd8f437b3a8b521f2b94b:/include/wx/dragimag.h diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index 8a3ff7c33e..f19e1c600f 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,46 +1,50 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: wx/dragimag.h +// Purpose: wxDragImage base header +// Author: Julian Smart +// Modified by: +// Created: +// Copyright: (c) Julian Smart +// RCS-ID: $Id$ +// Licence: wxWindows Licence +///////////////////////////////////////////////////////////////////////////// + #ifndef _WX_DRAGIMAG_H_BASE_ #define _WX_DRAGIMAG_H_BASE_ #if wxUSE_DRAGIMAGE +class WXDLLIMPEXP_FWD_CORE wxRect; +class WXDLLIMPEXP_FWD_CORE wxMemoryDC; +class WXDLLIMPEXP_FWD_CORE wxDC; + #if defined(__WXMSW__) -#ifdef __WIN16__ -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# if defined(__WXUNIVERSAL__) +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage +# else +# include "wx/msw/dragimag.h" +# endif -#else -#include "wx/msw/dragimag.h" -#endif #elif defined(__WXMOTIF__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXGTK__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage -#elif defined(__WXQT__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +#elif defined(__WXX11__) +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXMAC__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXPM__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage - -#elif defined(__WXSTUBS__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #endif