]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dataobj.cpp
Further sorting work using the sorting data model.
[wxWidgets.git] / src / gtk / dataobj.cpp
index e8c5f3d62237d4c8c6cd29e3701574af68c69488..5e185aba84f5ddc04df99019015434205da6da67 100644 (file)
@@ -280,9 +280,9 @@ bool wxFileDataObject::SetData(size_t WXUNUSED(size), const void *buf)
                 AddFile(wxURI::Unescape(filename.c_str() + lenPrefix));
                 filename.Empty();
             }
-            else
+            else if ( !filename.empty() )
             {
-                wxLogDebug(_T("Unsupported URI '%s' in wxFileDataObject"),
+                wxLogDebug(_T("Unsupported URI \"%s\" in wxFileDataObject"),
                            filename.c_str());
             }