- wxIDropTarget *m_pIDropTarget; // the pointer to COM interface
-};
-
-// ----------------------------------------------------------------------------
-// A simple wxDropTarget derived class for text data: you only need to
-// override OnDropText() to get something working
-// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTextDropTarget : public wxDropTarget
-{
-public:
- virtual bool OnDrop(long x, long y, const void *pData);
- virtual bool OnDropText(long x, long y, const char *psz) = 0;
-
-protected:
- virtual size_t GetFormatCount() const;
- virtual wxDataFormat GetFormat(size_t n) const;
-};
-
-// ----------------------------------------------------------------------------
-// A drop target which accepts files (dragged from File Manager or Explorer)
-// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxFileDropTarget : public wxDropTarget
-{
-public:
- virtual bool OnDrop(long x, long y, const void *pData);
-
- // params: the number of files and the array of file names
- virtual bool OnDropFiles(long x, long y,
- size_t nFiles, const char * const aszFiles[]) = 0;