git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30048
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/log.h"
+#include "wx/url.h"
#include <gdk/gdk.h>
lenPrefix += 2;
}
- AddFile(wxURL::ConvertFromURI(filename.c_str() + lenPrefix));
+ AddFile(
+#if wxUSE_URL
+ wxURL::ConvertFromURI
+#endif // wxUSE_URL
+ (filename.c_str() + lenPrefix));
filename.Empty();
}
else
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/log.h"
+#include "wx/url.h"
#include <gdk/gdk.h>
lenPrefix += 2;
}
- AddFile(wxURL::ConvertFromURI(filename.c_str() + lenPrefix));
+ AddFile(
+#if wxUSE_URL
+ wxURL::ConvertFromURI
+#endif // wxUSE_URL
+ (filename.c_str() + lenPrefix));
filename.Empty();
}
else