Replace wx_static_cast/wx_const_cast/wx_reinterpret_cast with the function-style casts
See #17655.
This commit is contained in:
@@ -671,7 +671,7 @@ bool wxGLCanvasX11::InitXVisualInfo(const wxGLAttributes& dispAttrs,
|
||||
{
|
||||
*pFBC = NULL;
|
||||
*pXVisual = glXChooseVisual(dpy, DefaultScreen(dpy),
|
||||
wx_const_cast(int*, attrsListGLX) );
|
||||
const_cast<int*>(attrsListGLX) );
|
||||
}
|
||||
|
||||
return *pXVisual != NULL;
|
||||
|
||||
Reference in New Issue
Block a user