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:
@@ -311,7 +311,7 @@ void wxPrintData::ConvertToNative()
|
|||||||
pd->hDevNames = NULL;
|
pd->hDevNames = NULL;
|
||||||
|
|
||||||
hDevMode = pd->hDevMode;
|
hDevMode = pd->hDevMode;
|
||||||
m_devMode = (void*) hDevMode;
|
m_devMode = (void*)(long) hDevMode;
|
||||||
pd->hDevMode = NULL;
|
pd->hDevMode = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -819,7 +819,7 @@ void wxPrintDialogData::ConvertFromNative()
|
|||||||
// Make sure we don't leak memory
|
// Make sure we don't leak memory
|
||||||
GlobalFree((HGLOBAL)(DWORD) m_printData.GetNativeData());
|
GlobalFree((HGLOBAL)(DWORD) m_printData.GetNativeData());
|
||||||
}
|
}
|
||||||
m_printData.SetNativeData((void*) pd->hDevMode);
|
m_printData.SetNativeData((void*)(long) pd->hDevMode);
|
||||||
pd->hDevMode = NULL;
|
pd->hDevMode = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user