]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_mem.cpp
Added RTLD_GLOBAL to dlopen() flags which is needed if libraries depend
[wxWidgets.git] / src / common / fs_mem.cpp
index 2a4acc11107a2662418889f8ef4fbe1cde9a5a52..bc089b0990f7f442bfe339ccf2554c6f15fb1f75 100644 (file)
@@ -112,9 +112,11 @@ wxFSFile* wxMemoryFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString
 
 
 
-wxString wxMemoryFSHandler::FindFirst(const wxString& spec, int flags)
+wxString wxMemoryFSHandler::FindFirst(const wxString& WXUNUSED(spec),
+                                      int WXUNUSED(flags))
 {
-    wxLogWarning(wxT("wxMemoryFSHandler::FindFirst not implemented"));
+    wxFAIL_MSG(wxT("wxMemoryFSHandler::FindFirst not implemented"));
+
     return wxEmptyString;
 }
 
@@ -122,12 +124,12 @@ wxString wxMemoryFSHandler::FindFirst(const wxString& spec, int flags)
 
 wxString wxMemoryFSHandler::FindNext()
 {
-    wxLogWarning(wxT("wxMemoryFSHandler::FindNext not implemented"));
+    wxFAIL_MSG(wxT("wxMemoryFSHandler::FindNext not implemented"));
+
     return wxEmptyString;
 }
 
 
-
 bool wxMemoryFSHandler::CheckHash(const wxString& filename)
 {
     if (m_Hash == NULL) 
@@ -149,6 +151,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 +177,7 @@ bool wxMemoryFSHandler::CheckHash(const wxString& filename)
     AddFile(filename, img, type);
 }
 
+#endif
 
 /*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, const wxString& textdata)
 {