mirror of https://github.com/buggins/dlangui.git
Fixed hasClipboardText() on windows.
This commit is contained in:
parent
bedf11e8f9
commit
541722faa8
|
@ -1162,7 +1162,7 @@ class Win32Platform : Platform {
|
||||||
override bool hasClipboardText(bool mouseBuffer = false) {
|
override bool hasClipboardText(bool mouseBuffer = false) {
|
||||||
if (mouseBuffer)
|
if (mouseBuffer)
|
||||||
return false;
|
return false;
|
||||||
return IsClipboardFormatAvailable(CF_UNICODETEXT);
|
return (IsClipboardFormatAvailable(CF_UNICODETEXT) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// retrieves text from clipboard (when mouseBuffer == true, use mouse selection clipboard - under linux)
|
/// retrieves text from clipboard (when mouseBuffer == true, use mouse selection clipboard - under linux)
|
||||||
|
|
Loading…
Reference in New Issue