git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59571
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/xml/xml.h"
+class WXDLLIMPEXP_FWD_BASE wxFileName;
+
class WXDLLIMPEXP_FWD_CORE wxMenu;
class WXDLLIMPEXP_FWD_CORE wxMenuBar;
class WXDLLIMPEXP_FWD_CORE wxDialog;
bool wxXmlResource::LoadFile(const wxFileName& file)
{
+#if wxUSE_FILESYSTEM
return Load(wxFileSystem::FileNameToURL(file));
+#else
+ return Load(file.GetFullPath());
+#endif
}
bool wxXmlResource::LoadAllFiles(const wxString& dirname)