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:
@@ -183,7 +183,7 @@ bool wxRadioBox::Create(wxWindow *parent,
|
||||
styleBtn,
|
||||
0, 0, 0, 0, // will be set in SetSize()
|
||||
GetHwndOf(parent),
|
||||
(HMENU)subid.GetValue(),
|
||||
(HMENU)wxUIntToPtr(subid.GetValue()),
|
||||
wxGetInstance(),
|
||||
NULL);
|
||||
|
||||
@@ -210,7 +210,8 @@ bool wxRadioBox::Create(wxWindow *parent,
|
||||
wxEmptyString,
|
||||
WS_GROUP | BS_AUTORADIOBUTTON | WS_CHILD,
|
||||
0, 0, 0, 0, GetHwndOf(parent),
|
||||
(HMENU)m_dummyId.GetValue(), wxGetInstance(), NULL);
|
||||
(HMENU)wxUIntToPtr(m_dummyId.GetValue()),
|
||||
wxGetInstance(), NULL);
|
||||
|
||||
|
||||
m_radioButtons->SetFont(GetFont());
|
||||
|
Reference in New Issue
Block a user