diff --git a/src/common/textentrycmn.cpp b/src/common/textentrycmn.cpp index 7324f6194c..61d80ffbaa 100644 --- a/src/common/textentrycmn.cpp +++ b/src/common/textentrycmn.cpp @@ -104,8 +104,14 @@ bool wxTextEntryBase::CanPaste() const { #if wxUSE_CLIPBOARD // check if there is any text on the clipboard - if ( wxTheClipboard->IsSupported(wxDF_TEXT) ) + if ( wxTheClipboard->IsSupported(wxDF_TEXT) +#if wxUSE_UNICODE + || wxTheClipboard->IsSupported(wxDF_UNICODETEXT) +#endif // wxUSE_UNICODE + ) + { return true; + } #endif // wxUSE_CLIPBOARD }