CtrlCore: WriteClipboardHTML - POSIX implementation

git-svn-id: svn://ultimatepp.org/upp/trunk@12999 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-04-14 15:53:05 +00:00
parent 7cfd72f778
commit 971d8abb73

View file

@ -296,6 +296,15 @@ const char *ClipFmtsRTF()
return sClipFmtsRTF;
}
#ifdef PLATFORM_POSIX
void WriteClipboardHTML(const String& html)
{
WriteClipboard("text/html", html);
}
#else
void WriteClipboardHTML(const String& html)
{
String data;
@ -325,4 +334,6 @@ void WriteClipboardHTML(const String& html)
WriteClipboard("HTML Format", data);
}
#endif
}