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:
Vadim Zeitlin
1999-11-06 19:35:15 +00:00
parent 61a6d4c23a
commit 74d38ad8e2
3 changed files with 66 additions and 16 deletions

View File

@@ -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",