add CASTWNDPROC to call to CallWindowProc for bcc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin 2000-01-25 08:31:26 +00:00
parent 31fd9b6bab
commit 8ad6ad991c

View File

@ -787,8 +787,10 @@ 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);
//CallWindowProc(CASTWNDPROC gs_wndprocToolTip, hwndTT, msg, wParam, lParam);
return lDlgCode | DLGC_WANTARROWS;
}
@ -872,7 +874,9 @@ 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__