]> git.saurik.com Git - wxWidgets.git/commitdiff
Changed DnD MIME file type for file DnD. Understood?
authorRobert Roebling <robert@roebling.de>
Mon, 7 Sep 1998 22:04:40 +0000 (22:04 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 7 Sep 1998 22:04:40 +0000 (22:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dnd.cpp
src/gtk1/dnd.cpp

index cb081dc8d3dff2ab51a5e37548c136756b6d5d33..dac170064ab127cb12195c9669a229273904839d 100644 (file)
@@ -69,7 +69,7 @@ void wxDropTarget::RegisterWidget( GtkWidget *widget )
        break;
       case wxDF_FILENAME:
        if (i > 0) formats += ";";
        break;
       case wxDF_FILENAME:
        if (i > 0) formats += ";";
-        formats += "url:any";
+        formats += "file:ALL";
        valid++;
        break;
       default:
        valid++;
        break;
       default:
@@ -282,7 +282,7 @@ void wxDropSource::RegisterWindow(void)
         formats += "text/plain";
        break;
       case wxDF_FILENAME:
         formats += "text/plain";
        break;
       case wxDF_FILENAME:
-        formats += "url:any";
+        formats += "file:ALL";
        break;
       default:
         break;
        break;
       default:
         break;
index cb081dc8d3dff2ab51a5e37548c136756b6d5d33..dac170064ab127cb12195c9669a229273904839d 100644 (file)
@@ -69,7 +69,7 @@ void wxDropTarget::RegisterWidget( GtkWidget *widget )
        break;
       case wxDF_FILENAME:
        if (i > 0) formats += ";";
        break;
       case wxDF_FILENAME:
        if (i > 0) formats += ";";
-        formats += "url:any";
+        formats += "file:ALL";
        valid++;
        break;
       default:
        valid++;
        break;
       default:
@@ -282,7 +282,7 @@ void wxDropSource::RegisterWindow(void)
         formats += "text/plain";
        break;
       case wxDF_FILENAME:
         formats += "text/plain";
        break;
       case wxDF_FILENAME:
-        formats += "url:any";
+        formats += "file:ALL";
        break;
       default:
         break;
        break;
       default:
         break;