List Info

Thread: clipboard




clipboard
user name
2007-08-31 07:47:45
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/
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developerslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mah
ogany-developers

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )