+// ----------------------------------------------------------------------------
+// wxEnhMetaFileDC
+// ----------------------------------------------------------------------------
+
+IMPLEMENT_ABSTRACT_CLASS(wxEnhMetaFileDC, wxDC)
+
+wxEnhMetaFileDC::wxEnhMetaFileDC(const wxString& filename,
+ int width, int height,
+ const wxString& description)
+ : wxDC(new wxEnhMetaFileDCImpl(this,
+ filename,
+ width, height,
+ description))
+{
+}
+
+wxEnhMetaFileDC::wxEnhMetaFileDC(const wxDC& referenceDC,
+ const wxString& filename,
+ int width, int height,
+ const wxString& description)
+ : wxDC(new wxEnhMetaFileDCImpl(this,
+ referenceDC,
+ filename,
+ width, height,
+ description))
+{
+}
+
+wxEnhMetaFile *wxEnhMetaFileDC::Close()
+{
+ wxEnhMetaFileDCImpl * const
+ impl = static_cast<wxEnhMetaFileDCImpl *>(GetImpl());
+ wxCHECK_MSG( impl, NULL, wxT("no wxEnhMetaFileDC implementation") );
+
+ return impl->Close();
+}
+