git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21388
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual wxString FindFirst(const wxString& spec, int flags = 0);
virtual wxString FindNext();
virtual wxString FindFirst(const wxString& spec, int flags = 0);
virtual wxString FindNext();
-private:
- static wxHashTable *m_Hash;
-
static bool CheckHash(const wxString& filename);
static bool CheckHash(const wxString& filename);
+ static wxHashTable *m_Hash;
};
class wxMemoryFSHandler : public wxMemoryFSHandlerBase
};
class wxMemoryFSHandler : public wxMemoryFSHandlerBase
#include "wx/bitmap.h"
#include "wx/fs_mem.h"
#include "wx/bitmap.h"
#include "wx/fs_mem.h"
#ifndef WXPRECOMP
#include "wx/intl.h"
#ifndef WXPRECOMP
#include "wx/intl.h"
//--------------------------------------------------------------------------------
// wxMemoryFSHandler
//--------------------------------------------------------------------------------
// wxMemoryFSHandler
#if wxUSE_IMAGE
/*static*/ void
#if wxUSE_IMAGE
/*static*/ void
-wxMemoryFSHandlerBase::AddFile(const wxString& filename, wxImage& image, long type)
+wxMemoryFSHandler::AddFile(const wxString& filename, wxImage& image, long type)
{
if (!CheckHash(filename)) return;
{
if (!CheckHash(filename)) return;
wxMemoryOutputStream mems;
if (image.Ok() && image.SaveFile(mems, (int)type))
m_Hash -> Put(filename, new MemFSHashObj(mems));
wxMemoryOutputStream mems;
if (image.Ok() && image.SaveFile(mems, (int)type))
m_Hash -> Put(filename, new MemFSHashObj(mems));