X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5333ab8e8ef81e3ae71fef22b42542c51b122258..67b81440f079f88e6202a199fd5763af73bbac0f:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index d442dbd4df..96cc7b42b9 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -787,8 +787,9 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, // want to process arrows ourselves because neither of them is // smart enough to handle arrows properly for us { - long lDlgCode = ::CallWindowProc(s_wndprocRadioBtn, hwnd, + long lDlgCode = ::CallWindowProc(CASTWNDPROC s_wndprocRadioBtn, hwnd, message, wParam, lParam); + return lDlgCode | DLGC_WANTARROWS; } @@ -872,7 +873,7 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, } } - return ::CallWindowProc(s_wndprocRadioBtn, hwnd, message, wParam, lParam); + return ::CallWindowProc(CASTWNDPROC s_wndprocRadioBtn, hwnd, message, wParam, lParam); } #endif // __WIN32__