From: Robert Roebling Date: Mon, 7 Sep 1998 22:04:40 +0000 (+0000) Subject: Changed DnD MIME file type for file DnD. Understood? X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/61607c36414a23eaa00b251035ee75c673009eeb?hp=d84eb0838423075d768a425ab8a0d49d28735c05 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 --- 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;