/////////////////////////////////////////////////////////////////////////////
-// Name: metafile.h
+// Name: wx/os2/metafile.h
// Purpose: wxMetaFile, wxMetaFileDC classes.
// This probably should be restricted to Windows platforms,
// but if there is an equivalent on your platform, great.
virtual ~wxMetafileDCImpl();
virtual wxMetafile *Close();
- virtual void SetMapMode(int mode);
+ virtual void SetMapMode(wxMappingMode mode);
virtual void DoGetTextExtent(const wxString& string,
wxCoord *x, wxCoord *y,
wxCoord *descent = NULL,
private:
DECLARE_CLASS(wxMetafileDCImpl)
- DECLARE_NO_COPY_CLASS(wxMetafileDCImpl)
+ wxDECLARE_NO_COPY_CLASS(wxMetafileDCImpl);
};
class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC
// Supply origin and extent (recommended).
// Then don't need to supply them to wxMakeMetaFilePlaceable.
wxMetafileDC(const wxString& file, int xext, int yext, int xorg, int yorg)
- : wxDC(new wxMetafileDCImpl( this, file, xext, yext, xorg, yorg ))
+ : wxDC(new wxMetafileDCImpl( this, file, xext, yext, xorg, yorg ))
{ }
- wxMetafile *GetMetafile() const
+ wxMetafile *GetMetafile() const
{ return ((wxMetafileDCImpl*)m_pimpl)->GetMetaFile(); }
virtual ~wxMetafileDC(void)
private:
DECLARE_CLASS(wxMetafileDC)
- DECLARE_NO_COPY_CLASS(wxMetafileDC)
+ wxDECLARE_NO_COPY_CLASS(wxMetafileDC);
};
/*
{
public:
// ctors
- wxMetafileDataObject() { m_width = 0; m_height = 0; };
+ wxMetafileDataObject() { m_width = 0; m_height = 0; }
wxMetafileDataObject(const wxMetafile& metafile, int width = 0,int height = 0)
:m_metafile(metafile)
,m_width(width)