Sounds good to me,

thank you for your efforts

> Hi,
> 
> After a bit of tinkering around, I found that if using a
> Wx::DataObjectComposite on a Linux Unicode build, you must check for the
> supported type wxDF_UNICODETEXT in addition to wxDF_TEXT.
> 
> You cannot do this in an obvious way in current Wx release, but the workaround
> is:
> 
> if(
>  ( wxTheClipboard->IsSupported( wxDF_TEXT ) )
>  || ( wxTheClipboard->IsSupported( Wx::DataFormat->newNative(13) ) )
> 
> ) {
> ......
> 
> In wxPerl, wxDF_TEXT etc return a Wx::DataFormat of the correct type.
> 
> '13' is just the enum number for wxDF_UNICODETEXT in wxWidgets.
> 
> I would guess the simplest way to make this more obvious is to add a
> wxDF_UNICODETEXT / Wx::DataFormat constructor to ext/dnd/DND.xs ?
> 
> Regards
> 
> Mark
> 
> 
> 
> On 02/07/2011 11:49, Mattia Barbon wrote:
>> On 25/06/11 01.42, herbert breunung wrote:
>>
>> Hi,
>>
>>> despite my other reported taskbaricon bug
>>> here is another which also doesnt work in the official wxperl demo app.
>>
>> Works for me on OS X. It's probably a wxWidgets bug. Which
>> platforms/wxWidgets versions are affected?
>>
>> Regards,
>> Mattia
> 
> 

Reply via email to