removing w4 level warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
197dd9af26
commit
aeb50f8660
@ -311,7 +311,7 @@ void wxPrintData::ConvertToNative()
|
||||
pd->hDevNames = NULL;
|
||||
|
||||
hDevMode = pd->hDevMode;
|
||||
m_devMode = (void*) hDevMode;
|
||||
m_devMode = (void*)(long) hDevMode;
|
||||
pd->hDevMode = NULL;
|
||||
}
|
||||
|
||||
@ -819,7 +819,7 @@ void wxPrintDialogData::ConvertFromNative()
|
||||
// Make sure we don't leak memory
|
||||
GlobalFree((HGLOBAL)(DWORD) m_printData.GetNativeData());
|
||||
}
|
||||
m_printData.SetNativeData((void*) pd->hDevMode);
|
||||
m_printData.SetNativeData((void*)(long) pd->hDevMode);
|
||||
pd->hDevMode = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user