X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/motif/dnd.h diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index 96c3f9a13d..8d030c9b1d 100644 --- a/include/wx/motif/dnd.h +++ b/include/wx/motif/dnd.h @@ -23,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() { } @@ -59,11 +59,11 @@ public: // wxTextDropTarget //------------------------------------------------------------------------- -class WXDLLEXPORT wxTextDropTarget: public wxDropTarget +class WXDLLIMPEXP_CORE wxTextDropTarget: public wxDropTarget { public: - wxTextDropTarget() {}; + wxTextDropTarget() {} virtual bool OnDrop( long x, long y, const void *data, size_t size ); virtual bool OnDropText( long x, long y, const char *psz ); @@ -77,7 +77,7 @@ protected: // wxPrivateDropTarget //------------------------------------------------------------------------- -class WXDLLEXPORT wxPrivateDropTarget: public wxDropTarget +class WXDLLIMPEXP_CORE wxPrivateDropTarget: public wxDropTarget { public: @@ -107,11 +107,11 @@ 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: - wxFileDropTarget() {}; + wxFileDropTarget() {} virtual bool OnDrop( long x, long y, const void *data, size_t size ); virtual bool OnDropFiles( long x, long y, @@ -136,19 +136,19 @@ 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); - virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return true; }; + virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return true; } // implementation #if 0