X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..f71b0c2d56b03b7823e661aacd05cf1a791e5c2f:/include/wx/msw/dcprint.h diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 6fe3feab10..2c7f7d42d5 100644 --- a/include/wx/msw/dcprint.h +++ b/include/wx/msw/dcprint.h @@ -22,7 +22,7 @@ // wxPrinterDCImpl // -class WXDLLEXPORT wxPrinterDCImpl : public wxMSWDCImpl +class WXDLLIMPEXP_CORE wxPrinterDCImpl : public wxMSWDCImpl { public: // Create from print data @@ -61,18 +61,18 @@ private: }; // Gets an HDC for the specified printer configuration -WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& data); +WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& data); // ------------------------------------------------------------------------ // wxPrinterDCromHDC // -class WXDLLEXPORT wxPrinterDCFromHDC: public wxPrinterDC +class WXDLLIMPEXP_CORE wxPrinterDCFromHDC: public wxPrinterDC { public: wxPrinterDCFromHDC( WXHDC theDC ) + : wxPrinterDC(new wxPrinterDCImpl(this, theDC)) { - m_pimpl = new wxPrinterDCImpl( this, theDC ); } };