]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0
[wxWidgets.git] / src / msw / radiobox.cpp
index e125e57e593adb75d1414e584c30ba885a965522..f5bc5e6c6f88ef49d95a89ccb855dc6d47f737e0 100644 (file)
@@ -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);