Oops

On 22/10/2011 05:07, Mark Dootson wrote:

> There's an example in the Wx::Demo to allow this to work even if
> wxDF_UNICODETEXT is not defined in your version of Wx. Pasted sub from
> demo below.

Not on CPAN there isn't. I'll release Wx::Demo from SVN to CPAN soon.
It seems much longer ago than July since I looked at the wxClipboard.
Anyhow, the usage for wxDF_UNICODETEXT in previous post. You can use the 
workaround to avoid bumping Wx dependency to 0.9902.

For info, as I recall :

wxTheClipboard->UsePrimarySelection(n) on GTK

  this never seemed useful - I ended up always leaving it as a default.

wxTheClipboard->Flush;

works as described in docs for Windows. (persists data after app 
shutdown) . For GTK I never managed to get it to work no matter what 
combination of Clipboard manager and / or setting for 
wxTheClipboard->UsePrimarySelection were used. After extensive Googling, 
seems many other GTK application developers beyond wxWidgets can't get 
to grips with the problem either. I did understand what the precise 
issues are back in July, and decided for my own use I'd live with 
clipboard contents not surviving application shutdown as the problems at 
the GTK clipboard management end seemed insurmountable and on checking 
it out, many Gnome applications didn't persist clipboard data either. 
The precise details have dropped from my head now.

Hope it helps.

Mark



_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to