Skip to content

Commit 7104290

Browse files
committed
ViewerWindow: fix sending cuttext if it's provided as Unicode
re #285
1 parent 780b779 commit 7104290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/ViewerWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void VNCCanvas::onMouseAction(wxMouseEvent &event)
286286

287287
if(wxTheClipboard->Open())
288288
{
289-
if(wxTheClipboard->IsSupported(wxDF_TEXT))
289+
if(wxTheClipboard->IsSupported(wxDF_TEXT) || wxTheClipboard->IsSupported(wxDF_UNICODETEXT))
290290
{
291291
wxTextDataObject data;
292292
wxTheClipboard->GetData(data);

0 commit comments

Comments
 (0)