// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-
#ifndef _WX_DND_H_
#define _WX_DND_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface
-#endif
-
#include "wx/defs.h"
#if wxUSE_DRAG_AND_DROP
// classes
//-------------------------------------------------------------------------
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
-class WXDLLEXPORT wxDropTarget;
-class WXDLLEXPORT wxTextDropTarget;
-class WXDLLEXPORT wxFileDropTarget;
-class WXDLLEXPORT wxPrivateDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxTextDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxFileDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxPrivateDropTarget;
-class WXDLLEXPORT wxDropSource;
+class WXDLLIMPEXP_FWD_CORE wxDropSource;
//-------------------------------------------------------------------------
// wxDropTarget
public:
wxDropTarget();
- ~wxDropTarget();
+ virtual ~wxDropTarget();
virtual void OnEnter() { }
virtual void OnLeave() { }
wxDropSource( wxWindow *win );
wxDropSource( wxDataObject &data, wxWindow *win );
- ~wxDropSource(void);
+ virtual ~wxDropSource(void);
void SetData( wxDataObject &data );
wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);