X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/345264343a2fa3ee7362a4afb91b669216ee51fe..fe5451982ec9e67a4b5b54d7f81d0bd09baefd56:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index e9f53d0f46..9108095f93 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -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());