After building my app with wxOSX 3.1.3 on Mac OS 10.14.6 I noticed that I could no longer copyany text to the clipboard. The same problem is easy to reproduce in the text sample:
- Select some text (in any of the various text boxes).
- Go to the Clipboard menu and select Copy.
The log window says "Successfully copied data to the clipboard".
- Open the Clipboard menu and you'll see a disabled Paste item.
This is because the clipboard is empty, which can be verified by
switching to the Finder and selecting Edit > Show Clipboard.
I'm building wxOSX and my app with these settings:
../configure --enable-unicode --disable-shared --with-osx_cocoa --with-macosx-version-min=10.9 --disable-mediactrl
I didn't see this bug in previous 3.1.x versions so presumably it's
due to the recent changes in src/osx/carbon/clipbrd.cpp.
Andrew