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:
@@ -99,7 +99,7 @@ private:
|
||||
|
||||
#ifndef __WXMICROWIN__
|
||||
int CALLBACK wxFontEnumeratorProc(LPLOGFONT lplf, LPTEXTMETRIC lptm,
|
||||
DWORD dwStyle, LONG lParam);
|
||||
DWORD dwStyle, LPARAM lParam);
|
||||
#endif
|
||||
|
||||
// ============================================================================
|
||||
@@ -269,7 +269,7 @@ bool wxFontEnumerator::EnumerateEncodings(const wxString& family)
|
||||
|
||||
#ifndef __WXMICROWIN__
|
||||
int CALLBACK wxFontEnumeratorProc(LPLOGFONT lplf, LPTEXTMETRIC lptm,
|
||||
DWORD WXUNUSED(dwStyle), LONG lParam)
|
||||
DWORD WXUNUSED(dwStyle), LPARAM lParam)
|
||||
{
|
||||
|
||||
// we used to process TrueType fonts only, but there doesn't seem to be any
|
||||
|
Reference in New Issue
Block a user