git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32581
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
devMode->dmPrintQuality = quality;
devMode->dmFields |= DM_PRINTQUALITY;
}
devMode->dmPrintQuality = quality;
devMode->dmFields |= DM_PRINTQUALITY;
if (data.GetPrivDataLen() > 0)
{
memcpy( (char *)devMode+devMode->dmSize, data.GetPrivData(), data.GetPrivDataLen() );
if (data.GetPrivDataLen() > 0)
{
memcpy( (char *)devMode+devMode->dmSize, data.GetPrivData(), data.GetPrivDataLen() );
- devMode->dmDriverExtra = data.GetPrivDataLen();
+ devMode->dmDriverExtra = (WXWORD)data.GetPrivDataLen();
}
if (data.GetBin() != wxPRINTBIN_DEFAULT)
}
if (data.GetBin() != wxPRINTBIN_DEFAULT)