#include<os2.h>
#ifndef WX_PRECOMP
+#include "wx/app.h"
#endif
#include "wx/string.h"
, int nOrientation
)
{
- LONG lType = 0;
DEVOPENSTRUC vDevOpen = { (char*)rsDeviceName.c_str()
,(char*)rsDriverName.c_str()
,NULL
// if (m_hDC)
// ::EndPage((HDC) m_hDC);
} // end of wxPrinterDC::EndPage
-
+#if 0
// Returns default device and port names
static bool wxGetDefaultDeviceName(
wxString& rsDeviceName
*/
return(TRUE);
} // end of wxGetDefaultDeviceName
+#endif
// Gets an HDC for the specified printer configuration
WXHDC WXDLLEXPORT wxGetPrinterDC(
{
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:
, wxCoord vYsrc
, int nRop
, bool bUseMask
+, wxCoord xsrcMask
+, wxCoord ysrcMask
)
{
bool bSuccess = TRUE;