clipboard

Nerijus Baliunas <[email protected]> Fri, 31 Aug 2007 15:47:45 +0300
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
Hello,

ClickURL.cpp:
#ifdef DEBUG_nerijus
               wxTheClipboard->UsePrimarySelection();
               wxTheClipboard->SetData(new wxTextDataObject(m_clickableURL->GetUrl()));
#endif
               wxURLDataObject *dobj = new wxURLDataObject;
               dobj->SetURL(m_clickableURL->GetUrl());
               wxTheClipboard->SetData(dobj);

I use it because then I can paste URL by pressing middle mouse button anywhere
in a browser window. It works with wx 2.8.4, but doesn't with head. Why?

Regards,
Nerijus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/