X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387ebd3eb755ea6ca076708cfb25fe56249bf787..4e2251ecd324ba89c486434485efcb1d32ee7dca:/include/wx/dragimag.h?ds=sidebyside diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index 097edaacd3..a53feb05db 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,3 +1,14 @@ +///////////////////////////////////////////////////////////////////////////// +// 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_ @@ -8,43 +19,32 @@ class WXDLLEXPORT wxMemoryDC; class WXDLLEXPORT 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(__WXX11__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# 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