// ---------------------------------------------------------------------------
// the pointer to standard radio button wnd proc
// ---------------------------------------------------------------------------
// the pointer to standard radio button wnd proc
::SetWindowLong(hwndBtn, GWL_WNDPROC, (long)wxRadioBtnWndProc);
::SetWindowLong(hwndBtn, GWL_USERDATA, (long)this);
::SetWindowLong(hwndBtn, GWL_WNDPROC, (long)wxRadioBtnWndProc);
::SetWindowLong(hwndBtn, GWL_USERDATA, (long)this);
// want to process arrows ourselves because neither of them is
// smart enough to handle arrows properly for us
{
// want to process arrows ourselves because neither of them is
// smart enough to handle arrows properly for us
{
- return ::CallWindowProc(s_wndprocRadioBtn, hwnd, message, wParam, lParam);
+ return ::CallWindowProc(CASTWNDPROC s_wndprocRadioBtn, hwnd, message, wParam, lParam);