From 61607c36414a23eaa00b251035ee75c673009eeb Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 7 Sep 1998 22:04:40 +0000 Subject: [PATCH] Changed DnD MIME file type for file DnD. Understood? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dnd.cpp | 4 ++-- src/gtk1/dnd.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtk/dnd.cpp b/src/gtk/dnd.cpp index cb081dc8d3..dac170064a 100644 --- a/src/gtk/dnd.cpp +++ b/src/gtk/dnd.cpp @@ -69,7 +69,7 @@ void wxDropTarget::RegisterWidget( GtkWidget *widget ) break; case wxDF_FILENAME: if (i > 0) formats += ";"; - formats += "url:any"; + formats += "file:ALL"; valid++; break; default: @@ -282,7 +282,7 @@ void wxDropSource::RegisterWindow(void) formats += "text/plain"; break; case wxDF_FILENAME: - formats += "url:any"; + formats += "file:ALL"; break; default: break; diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index cb081dc8d3..dac170064a 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/dnd.cpp @@ -69,7 +69,7 @@ void wxDropTarget::RegisterWidget( GtkWidget *widget ) break; case wxDF_FILENAME: if (i > 0) formats += ";"; - formats += "url:any"; + formats += "file:ALL"; valid++; break; default: @@ -282,7 +282,7 @@ void wxDropSource::RegisterWindow(void) formats += "text/plain"; break; case wxDF_FILENAME: - formats += "url:any"; + formats += "file:ALL"; break; default: break; -- 2.45.2