]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcprint.h
continue with other handlers if some handler fails in LoadFile() after returning...
[wxWidgets.git] / include / wx / msw / dcprint.h
index 6fe3feab10ff1500412726415f773b0bd4d22cbc..2c7f7d42d56ac49b284cbf0ffc668f420a40eec8 100644 (file)
@@ -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 );
     }
 };