X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..0661ec3993d101d0fb02bac605c979e609fdd04e:/include/wx/msw/ole/droptgt.h diff --git a/include/wx/msw/ole/droptgt.h b/include/wx/msw/ole/droptgt.h index 065d56c63f..d623116b31 100644 --- a/include/wx/msw/ole/droptgt.h +++ b/include/wx/msw/ole/droptgt.h @@ -19,7 +19,7 @@ #pragma interface "droptgt.h" #endif -#if !USE_DRAG_AND_DROP +#if !wxUSE_DRAG_AND_DROP #error "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!" #endif //WX_DRAG_DROP @@ -83,7 +83,7 @@ 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; + virtual bool OnDropText(long x, long y, const wxChar *psz) = 0; protected: virtual size_t GetFormatCount() const; @@ -100,7 +100,7 @@ public: // 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; + size_t nFiles, const wxChar * const aszFiles[]) = 0; protected: virtual size_t GetFormatCount() const;