a quick hack to fix wxBase compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-25 00:11:34 +00:00
parent c41dbc2085
commit f98d23fd94
2 changed files with 4 additions and 0 deletions

View File

@@ -39,7 +39,9 @@ public:
// Add file to list of files stored in memory. Stored data (bitmap, text or // Add file to list of files stored in memory. Stored data (bitmap, text or
// raw data) will be copied into private memory stream and available under // raw data) will be copied into private memory stream and available under
// name "memory:" + filename // name "memory:" + filename
#if wxUSE_IMAGE
static void AddFile(const wxString& filename, wxImage& image, long type); static void AddFile(const wxString& filename, wxImage& image, long type);
#endif // wxUSE_IMAGE
static void AddFile(const wxString& filename, const wxString& textdata); static void AddFile(const wxString& filename, const wxString& textdata);
static void AddFile(const wxString& filename, const void *binarydata, size_t size); static void AddFile(const wxString& filename, const void *binarydata, size_t size);

View File

@@ -172,6 +172,7 @@ bool wxMemoryFSHandlerBase::CheckHash(const wxString& filename)
} }
#if wxUSE_IMAGE
/*static*/ void /*static*/ void
wxMemoryFSHandlerBase::AddFile(const wxString& filename, wxImage& image, long type) wxMemoryFSHandlerBase::AddFile(const wxString& filename, wxImage& image, long type)
@@ -191,6 +192,7 @@ wxMemoryFSHandlerBase::AddFile(const wxString& filename, wxImage& image, long ty
} }
} }
#endif // wxUSE_IMAGE
/*static*/ void wxMemoryFSHandlerBase::AddFile(const wxString& filename, const wxString& textdata) /*static*/ void wxMemoryFSHandlerBase::AddFile(const wxString& filename, const wxString& textdata)
{ {