projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied part of patch 1169925: fix errors with multibyte <-> wx conversions
[wxWidgets.git]
/
src
/
gtk
/
dataobj.cpp
diff --git
a/src/gtk/dataobj.cpp
b/src/gtk/dataobj.cpp
index 5a22da60b16a0ab6522e3f4189a312d9fb8d8f4f..f52cdb4a3dce6c3db149160a9337ac2669939f91 100644
(file)
--- a/
src/gtk/dataobj.cpp
+++ b/
src/gtk/dataobj.cpp
@@
-20,6
+20,7
@@
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/log.h"
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/log.h"
+#include "wx/uri.h"
#include <gdk/gdk.h>
#include <gdk/gdk.h>
@@
-277,7
+278,7
@@
bool wxFileDataObject::SetData(size_t WXUNUSED(size), const void *buf)
lenPrefix += 2;
}
lenPrefix += 2;
}
- AddFile(wxUR
L::ConvertFromURI
(filename.c_str() + lenPrefix));
+ AddFile(wxUR
I::Unescape
(filename.c_str() + lenPrefix));
filename.Empty();
}
else
filename.Empty();
}
else