more /Wp64 warning fixes: mostly use UINT_PTR instead of UINT and define our WX[WL]PARAM with __w64 if available to avoid hundreds of warnings when casting LPARAMs to pointers/handles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -853,7 +853,7 @@ bool wxFrame::HandlePaint()
|
||||
HDC hdc = ::BeginPaint(GetHwnd(), &ps);
|
||||
|
||||
// Erase background before painting or we get white background
|
||||
MSWDefWindowProc(WM_ICONERASEBKGND, (WORD)(LONG)ps.hdc, 0L);
|
||||
MSWDefWindowProc(WM_ICONERASEBKGND, (WXWPARAM)ps.hdc, 0L);
|
||||
|
||||
if ( hIcon )
|
||||
{
|
||||
@@ -1118,7 +1118,7 @@ WXLRESULT wxFrame::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lPara
|
||||
const wxIcon& icon = GetIcon();
|
||||
HICON hIcon = icon.Ok() ? GetHiconOf(icon)
|
||||
: (HICON)GetDefaultIcon();
|
||||
rc = (long)hIcon;
|
||||
rc = (WXLRESULT)hIcon;
|
||||
processed = rc != 0;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user