X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24528b0c1421ca7bde29027cecc005643dfae8cb..5e1febfacedfb966daaf4050c293e0833593df82:/src/common/fs_mem.cpp?ds=sidebyside diff --git a/src/common/fs_mem.cpp b/src/common/fs_mem.cpp index 2a4acc1110..3b45f31ae2 100644 --- a/src/common/fs_mem.cpp +++ b/src/common/fs_mem.cpp @@ -149,6 +149,8 @@ bool wxMemoryFSHandler::CheckHash(const wxString& filename) +#if wxUSE_GUI + /*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, wxImage& image, long type) { if (!CheckHash(filename)) return; @@ -173,6 +175,7 @@ bool wxMemoryFSHandler::CheckHash(const wxString& filename) AddFile(filename, img, type); } +#endif /*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, const wxString& textdata) {