ultimatepp/uppsrc/CtrlCore/CocoDnD.cpp
cxl d60fb682bb CtrlCore: Developing Drag&Drop
git-svn-id: svn://ultimatepp.org/upp/trunk@12306 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-26 18:56:05 +00:00

25 lines
489 B
C++

#include <CtrlCore/CtrlCore.h>
#ifdef PLATFORM_COCOA
NAMESPACE_UPP
#define LLOG(x) // LOG(x)
// --------------------------------------------------------------------------------------------
Image MakeDragImage(const Image& arrow, Image sample);
Image MakeDragImage(const Image& arrow, const Image& arrow98, Image sample)
{
#ifdef PLATFORM_WIN32
if(IsWin2K())
return MakeDragImage(arrow, sample);
else
#endif
return arrow98;
}
END_UPP_NAMESPACE
#endif