X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7fd6717af589e659abf480731c9810341eca37e..0ddf7c0cad6ab8c394d5e1002660a3dc983735a7:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index e125e57e59..f5bc5e6c6f 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -884,7 +884,7 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, case WM_NOTIFY: { NMHDR* hdr = (NMHDR *)lParam; - if ( (int)hdr->code == TTN_NEEDTEXT ) + if ( hdr->code == TTN_NEEDTEXT ) { wxRadioBox *radiobox = (wxRadioBox *) ::GetWindowLong(hwnd, GWL_USERDATA);