X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cbff1201aa47e2b73ec90a97886f18e88270ea6..08422003083270640e23c2563a5fa72d131add96:/src/os2/dcprint.cpp diff --git a/src/os2/dcprint.cpp b/src/os2/dcprint.cpp index 77a742cf6c..7497cdee96 100644 --- a/src/os2/dcprint.cpp +++ b/src/os2/dcprint.cpp @@ -42,7 +42,6 @@ wxPrinterDC::wxPrinterDC( , int nOrientation ) { - LONG lType = 0; DEVOPENSTRUC vDevOpen = { (char*)rsDeviceName.c_str() ,(char*)rsDriverName.c_str() ,NULL @@ -233,7 +232,7 @@ void wxPrinterDC::EndPage() // if (m_hDC) // ::EndPage((HDC) m_hDC); } // end of wxPrinterDC::EndPage - +#if 0 // Returns default device and port names static bool wxGetDefaultDeviceName( wxString& rsDeviceName @@ -295,6 +294,7 @@ static bool wxGetDefaultDeviceName( */ return(TRUE); } // end of wxGetDefaultDeviceName +#endif // Gets an HDC for the specified printer configuration WXHDC WXDLLEXPORT wxGetPrinterDC( @@ -356,8 +356,8 @@ void wxPrinterDC::DoDrawBitmap( { wxCHECK_RET( rBmp.Ok(), _T("invalid bitmap in wxPrinterDC::DrawBitmap") ); - int nWidth = rBmp.GetWidth(); - int nHeight = rBmp.GetHeight(); +// int nWidth = rBmp.GetWidth(); +// int nHeight = rBmp.GetHeight(); // TODO: