Fix paste into Scintilla fields on macOS

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9473
This commit is contained in:
Jon Evans 2021-11-12 23:25:44 -05:00
parent 921105330a
commit 43c85771eb
1 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,8 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
if( wxTheClipboard->Open() )
{
if( wxTheClipboard->IsSupported( wxDF_TEXT ) )
if( wxTheClipboard->IsSupported( wxDF_TEXT ) ||
wxTheClipboard->IsSupported( wxDF_UNICODETEXT ) )
{
wxTextDataObject data;
wxString str;