Support unicode text on the clipboard.
Fixes https://gitlab.com/kicad/code/kicad/issues/6294 Fixes https://gitlab.com/kicad/code/kicad/issues/1802
This commit is contained in:
parent
daa0c3aaa1
commit
1899209e9b
|
@ -991,7 +991,8 @@ std::string TOOL_MANAGER::GetClipboard() const
|
|||
|
||||
if( wxTheClipboard->Open() )
|
||||
{
|
||||
if( wxTheClipboard->IsSupported( wxDF_TEXT ) )
|
||||
if( wxTheClipboard->IsSupported( wxDF_TEXT )
|
||||
|| wxTheClipboard->IsSupported( wxDF_UNICODETEXT ) )
|
||||
{
|
||||
wxTextDataObject data;
|
||||
wxTheClipboard->GetData( data );
|
||||
|
|
Loading…
Reference in New Issue