1. more corrections to file dnd (works with testdnd GTK sample now as well)
2. restored STRING for g_textAtom, not text/plain git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -661,6 +661,10 @@ bool DnDApp::OnInit()
|
||||
wxImage::AddHandler( new wxPNGHandler );
|
||||
#endif
|
||||
|
||||
// under X we usually want to use the primary selection by default (which
|
||||
// is shared with other apps)
|
||||
wxTheClipboard->UsePrimarySelection();
|
||||
|
||||
// create the main frame window
|
||||
DnDFrame *frame = new DnDFrame((wxFrame *) NULL,
|
||||
"Drag-and-Drop/Clipboard wxWindows Sample",
|
||||
|
Reference in New Issue
Block a user