Pasting text on macOS (version 3.2.1) & accelerator key in latest version
Andrea Asztalos <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Pasting text from wxTheClipboard is not working for me in version 3.2.1 on
macOS.
This is the code I'm using to place text into the clipboard:
if (wxTheClipboard->Open())
{
wxTheClipboard->SetData( new wxTextDataObject("Some sample text") );
wxTheClipboard->Close();
}
On mac typing pbpaste in the Terminal shows the content of the clipboard.
If I'm using the latest wxWidgets version, pbpaste correctly outputs the
content "Some sample text", however in version 3.2.1 pbpaste does not
output anything.
Unfortunately I cannot update the wxWidgets version used , but i'm hoping
that someone can point me to a patch that fixed this issue, as everything
works well in the latest version.
Also, in the latest wxWidgets version, in the html (zip) sample, using the
Ctrl+C keypair to copy from the html text only works if you hit the keypair
twice (not just once). This looks like a bug.
Many thanks,
Andrea
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/2bd3fad5-9950-48e3-95be-d1a8c09517a9n%40googlegroups.com.