X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..5b464d6bbd088e122bca53f2a4a4ce1f09378de4:/include/wx/x11/dnd.h?ds=sidebyside diff --git a/include/wx/x11/dnd.h b/include/wx/x11/dnd.h index 1ce5305c84..db9bb5b992 100644 --- a/include/wx/x11/dnd.h +++ b/include/wx/x11/dnd.h @@ -4,17 +4,12 @@ // Author: Julian Smart // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin, Robert Roebling, Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// - #ifndef _WX_DND_H_ #define _WX_DND_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP @@ -28,25 +23,25 @@ // 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 //------------------------------------------------------------------------- -class WXDLLEXPORT wxDropTarget: public wxObject +class WXDLLIMPEXP_CORE wxDropTarget: public wxObject { public: wxDropTarget(); - ~wxDropTarget(); + virtual ~wxDropTarget(); virtual void OnEnter() { } virtual void OnLeave() { } @@ -64,7 +59,7 @@ public: // wxTextDropTarget //------------------------------------------------------------------------- -class WXDLLEXPORT wxTextDropTarget: public wxDropTarget +class WXDLLIMPEXP_CORE wxTextDropTarget: public wxDropTarget { public: @@ -82,7 +77,7 @@ protected: // wxPrivateDropTarget //------------------------------------------------------------------------- -class WXDLLEXPORT wxPrivateDropTarget: public wxDropTarget +class WXDLLIMPEXP_CORE wxPrivateDropTarget: public wxDropTarget { public: @@ -112,7 +107,7 @@ private: // A drop target which accepts files (dragged from File Manager or Explorer) // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFileDropTarget: public wxDropTarget +class WXDLLIMPEXP_CORE wxFileDropTarget: public wxDropTarget { public: @@ -141,14 +136,14 @@ enum wxDragResult wxDragCancel // the operation was cancelled by user (not an error) }; -class WXDLLEXPORT wxDropSource: public wxObject +class WXDLLIMPEXP_CORE wxDropSource: public wxObject { public: wxDropSource( wxWindow *win ); wxDropSource( wxDataObject &data, wxWindow *win ); - ~wxDropSource(void); + virtual ~wxDropSource(void); void SetData( wxDataObject &data ); wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);