Unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-11-09 01:03:03 +00:00
parent 410cab65fd
commit ca351a69c3

View File

@@ -632,17 +632,7 @@ void wxPrintData::ConvertFromNative()
if (devMode->dmDeviceName[0] != 0)
{
// TODO: make this Unicode compatible
char buf[32];
int i = 0;
while (devMode->dmDeviceName[i] != 0)
{
buf[i] = devMode->dmDeviceName[i];
i ++;
}
buf[i] = 0;
m_printerName = buf;
m_printerName = devMode->dmDeviceName;
}
//// Colour