#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;
long param6;
long param7;
long param8;
- char *stringParam;
+ wxChar *stringParam;
wxRealPoint *points;
-
+
wxMetaRecord(int fun)
{
metaFunction = fun; points = NULL; stringParam = NULL;
~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
// since it is now owned by the clipboard.
bool SetClipboard(int width = 0, int height = 0);
bool Play(wxDC *dc);
inline bool Ok(void) const { return ok; }
- bool ReadFile(char *file);
+ bool ReadFile(const wxChar *file);
};
#endif