]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
fix memory leak (coverity checker CID 53)
[wxWidgets.git] / src / msw / dcprint.cpp
index 91f5c1806f7713e783fa9d312f4faf34d891650d..3fbe8b2085182bf36ec4e89a808eba7f32fc8672 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dcprint.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -184,10 +180,8 @@ bool wxPrinterDC::StartDoc(const wxString& message)
     else
         docinfo.lpszOutput = (const wxChar *) filename;
 
-#if defined(__WIN95__)
     docinfo.lpszDatatype = NULL;
     docinfo.fwType = 0;
-#endif
 
     if (!m_hDC)
         return false;