X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36dda0de23ccd834035ddf063e909363ff29a64e..babd4308f2704f4234e271d29a8e8c1e211b4af6:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 48d5ba171a..bd865c7542 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -253,7 +253,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, (WPARAM)font.GetResourceHandle(), 0L); } - m_subControls.Append((wxObject *)(WXWORD)newId); + m_subControls.Append((wxObject *)(WXDWORD)(WXWORD)newId); } // Create a dummy radio control to end the group.