replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,7 +174,7 @@ wxGLCanvas::wxGLCanvas(wxWindow *parent,
|
||||
const wxPalette& palette)
|
||||
: m_createImplicitContext(true)
|
||||
{
|
||||
m_sharedContext = wx_const_cast(wxGLContext *, shared);
|
||||
m_sharedContext = const_cast<wxGLContext *>(shared);
|
||||
|
||||
Create(parent, id, pos, size, style, name, attribList, palette);
|
||||
}
|
||||
@@ -189,7 +189,7 @@ wxGLCanvas::wxGLCanvas(wxWindow *parent,
|
||||
: m_createImplicitContext(true)
|
||||
{
|
||||
m_sharedContext = NULL;
|
||||
m_sharedContextOf = wx_const_cast(wxGLCanvas *, shared);
|
||||
m_sharedContextOf = const_cast<wxGLCanvas *>(shared);
|
||||
|
||||
Create(parent, id, pos, size, style, name, attribList, palette);
|
||||
}
|
||||
|
Reference in New Issue
Block a user