Changed: #1038 Implement copy/paste for Linux (patch provided by Naush)

This commit is contained in:
kervala 2010-10-16 22:19:49 +02:00
parent 9bb9ef2151
commit 1b1895cff4

View file

@ -332,7 +332,7 @@ void CGroupEditBox::copy()
stopParentBlink();
// get the selection and copy it
if (CSystemUtils::copyTextToClipboard(getSelection()))
if (Driver->copyTextToClipboard(getSelection()))
nlinfo ("Chat input was copied in the clipboard");
}
@ -352,7 +352,7 @@ void CGroupEditBox::paste()
ucstring sString;
if (CSystemUtils::pasteTextFromClipboard(sString))
if (Driver->pasteTextFromClipboard(sString))
{
sint length = (sint)sString.length();