From 150e58d8ae606b6e00994628b83e274745f9fe0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 28 Aug 2001 22:11:54 +0000 Subject: [PATCH 1/1] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/xrc/xmlres.h | 2 ++ include/wx/xrc/xmlres.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/contrib/include/wx/xrc/xmlres.h b/contrib/include/wx/xrc/xmlres.h index 01832ae8cd..7843e4f161 100644 --- a/contrib/include/wx/xrc/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -343,7 +343,9 @@ protected: { return m_resource->CreateResFromNode(node, parent, instance); } // helper +#if wxUSE_FILESYSTEM wxFileSystem& GetCurFileSystem() { return m_resource->GetCurFileSystem(); } +#endif }; #define ADD_STYLE(style) AddStyle(wxT(#style), style) diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 01832ae8cd..7843e4f161 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -343,7 +343,9 @@ protected: { return m_resource->CreateResFromNode(node, parent, instance); } // helper +#if wxUSE_FILESYSTEM wxFileSystem& GetCurFileSystem() { return m_resource->GetCurFileSystem(); } +#endif }; #define ADD_STYLE(style) AddStyle(wxT(#style), style) -- 2.45.2