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:
@@ -787,8 +787,10 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd,
|
|||||||
// want to process arrows ourselves because neither of them is
|
// want to process arrows ourselves because neither of them is
|
||||||
// smart enough to handle arrows properly for us
|
// smart enough to handle arrows properly for us
|
||||||
{
|
{
|
||||||
long lDlgCode = ::CallWindowProc(s_wndprocRadioBtn, hwnd,
|
long lDlgCode = ::CallWindowProc(CASTWNDPROC s_wndprocRadioBtn, hwnd,
|
||||||
message, wParam, lParam);
|
message, wParam, lParam);
|
||||||
|
//CallWindowProc(CASTWNDPROC gs_wndprocToolTip, hwndTT, msg, wParam, lParam);
|
||||||
|
|
||||||
return lDlgCode | DLGC_WANTARROWS;
|
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__
|
#endif // __WIN32__
|
||||||
|
Reference in New Issue
Block a user