Re: Mac issue with drag/drop from a wxDataViewCtrl (possibly UTF16 encoded).

Tony Kennedy <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
I'll try. I'm not so great at figuring out how to do the samples on the mac 
though.

Tony.



On Thursday 10 October 2024 at 17:52:58 UTC+1 Vadim Zeitlin wrote:

> On Thu, 10 Oct 2024 06:05:07 -0700 (PDT) Tony Kennedy wrote:
>
> TK> When the wxTextDataObject is created during my implementation of 
> TK> wxDataViewCtrl ::OnDragStart, the text I add to this is a tab 
> delimited 
> TK> list, something like "aaa\tbbb".
> TK> 
> TK> But when the text is dropped onto the target, I get
> TK> "a\0a\0a\0\t\b\0b\0b\0b" 
> TK> 
> TK> I think somehow I'm getting a UTF16 encoded string, but I cannot seem 
> to 
> TK> figure out how to convert it back to UTF8.
> TK> 
> TK> Does anyone have any ideas?
>
> This definitely looks like a bug. If you can reproduce it in the dataview
> sample, please open an issue for it.
>
> Thanks,
> VZ
>
> -- 
> TT-Solutions: wxWidgets consultancy and technical support
> https://www.tt-solutions.com/
>

-- 
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/0877e782-b3c6-43bf-8de7-2db966bd5780n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.