X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0cf2597e252e52e2fb7942a79fe93b833275505..ba059d80b40d7f1f249afa17b57d682f8b0e8b93:/include/wx/msw/ole/droptgt.h diff --git a/include/wx/msw/ole/droptgt.h b/include/wx/msw/ole/droptgt.h index cd9fbacfa6..d623116b31 100644 --- a/include/wx/msw/ole/droptgt.h +++ b/include/wx/msw/ole/droptgt.h @@ -6,21 +6,21 @@ // Created: 06.03.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ // prolog // ============================================================================ -#ifndef _OLEDROPTGT_H -#define _OLEDROPTGT_H +#ifndef _WX_OLEDROPTGT_H +#define _WX_OLEDROPTGT_H #ifdef __GNUG__ #pragma interface "droptgt.h" #endif -#if !USE_DRAG_AND_DROP - #error "You should #define USE_DRAG_AND_DROP to 1 to compile this file!" +#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; @@ -108,4 +108,4 @@ protected: }; // ============================================================================ -#endif //_OLEDROPTGT_H +#endif //_WX_OLEDROPTGT_H