X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..de34bb081b6ce19bd4b1216d26a79b817a631bbd:/include/wx/gtk/dnd.h diff --git a/include/wx/gtk/dnd.h b/include/wx/gtk/dnd.h index f65580b62f..f4cd2992d2 100644 --- a/include/wx/gtk/dnd.h +++ b/include/wx/gtk/dnd.h @@ -7,34 +7,10 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_GTK_DND_H_ +#define _WX_GTK_DND_H_ -#ifndef __GTKDNDH__ -#define __GTKDNDH__ - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - -#if wxUSE_DRAG_AND_DROP - -#include "wx/object.h" -#include "wx/string.h" -#include "wx/dataobj.h" -#include "wx/cursor.h" #include "wx/icon.h" -#include "wx/gdicmn.h" - -//------------------------------------------------------------------------- -// classes -//------------------------------------------------------------------------- - -class WXDLLIMPEXP_CORE wxWindow; - -class WXDLLIMPEXP_CORE wxDropTarget; -class WXDLLIMPEXP_CORE wxTextDropTarget; -class WXDLLIMPEXP_CORE wxFileDropTarget; - -class WXDLLIMPEXP_CORE wxDropSource; // ---------------------------------------------------------------------------- // macros @@ -129,7 +105,5 @@ private: const wxIcon& none); }; -#endif // wxUSE_DRAG_AND_DROP - -#endif //__GTKDNDH__ +#endif // _WX_GTK_DND_H_