]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcprint.h
changing to wxDC, so that wxGCDC can be used as well
[wxWidgets.git] / include / wx / msw / dcprint.h
index 6fe3feab10ff1500412726415f773b0bd4d22cbc..477b38bd62d595c2ba7428313e9a23ba8b791aa6 100644 (file)
@@ -71,8 +71,8 @@ class WXDLLEXPORT wxPrinterDCFromHDC: public wxPrinterDC
 {
 public:
     wxPrinterDCFromHDC( WXHDC theDC )
+        : wxPrinterDC(new wxPrinterDCImpl(this, theDC))
     {
-        m_pimpl = new wxPrinterDCImpl( this, theDC );
     }
 };