From: Václav Slavík Date: Tue, 28 Aug 2001 22:11:54 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/150e58d8ae606b6e00994628b83e274745f9fe0b?hp=abe4a4f120b978f664a0dee433c600ac2b2b4db2 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)