ultimatepp/uppsrc/CtrlCore/CocoDnD.cpp
cxl 090c0f0c29 CtrlCore: Cocoa Drag
git-svn-id: svn://ultimatepp.org/upp/trunk@12312 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-27 09:20:41 +00:00

26 lines
No EOL
490 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