#ifndef _MFUTILS_H_
#define _MFUTILS_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mfutils.h"
#endif
+
#include <wx/metafile.h>
#ifndef GetRValue
#endif // metafile functions
-class wxMetaRecord: public wxObject
+class WXDLLIMPEXP_OGL wxMetaRecord: public wxObject
{
public:
int metaFunction;
~wxMetaRecord(void);
};
-class wxXMetaFile: public wxObject
+class WXDLLIMPEXP_OGL wxXMetaFile: public wxObject
{
public:
double lastX;
wxList metaRecords;
wxList gdiObjects; // List of wxMetaRecord objects created with Create...,
// referenced by position in list by SelectObject
- wxXMetaFile(char *file = NULL);
+ wxXMetaFile(const wxChar* file = NULL);
~wxXMetaFile(void);
// After this is called, the metafile cannot be used for anything
bool Play(wxDC *dc);
inline bool Ok(void) const { return ok; }
- bool ReadFile(char *file);
+ bool ReadFile(const wxChar *file);
};
#endif