hi,

have you loaded the DND module

use Wx::DND;

?

There is a working demonstration in Wx::Demo


Daniel wrote:
Hi all,

until now, I uses Win32::Clipboard and this worked find. But now I wanted to use the Wx:Clipboard because I dont want to use more modules than necessary.
I followed the sample from the documentation:


   use Wx qw (wxTheClipboard);

...

   if (wxTheClipboard->Open()) {
              wxTheClipboard->SetData(new Wx::TextDataObject(join("\r\n", 
@items)));
              wxTheClipboard->CloseClipboard();
   }



--> Error: Can't locate object method "Open" via package "Wx::Clipboard"

Using Wx::Clipboard instead of the global object doesn't help.

I've installed the newest packages from Mark's page.


Regards Daniel






      __________________________________________________________
Gesendet von Yahoo! Mail.
Mehr Möglichkeiten, in Kontakt zu bleiben. http://de.overview.mail.yahoo.com


Reply via email to