Implement undo/redo for (multiline) wxTextCtrl in wxOSX. See https://github.com/wxWidgets/wxWidgets/pull/2474