]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 28 Aug 2001 22:11:54 +0000 (22:11 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 28 Aug 2001 22:11:54 +0000 (22:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/include/wx/xrc/xmlres.h
include/wx/xrc/xmlres.h

index 01832ae8cd8f144260b9e314a7c0a30b846c2688..7843e4f1611642d0f595c4b325165456354e4bfc 100644 (file)
@@ -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)
index 01832ae8cd8f144260b9e314a7c0a30b846c2688..7843e4f1611642d0f595c4b325165456354e4bfc 100644 (file)
@@ -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)