X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21562ad22334d8e1d3bb9bef40c8f8f6faf61c73..69f82505ec2cddcd3ecd8d8bed6af0bc3056e576:/src/gtk/glcanvas.cpp?ds=sidebyside

diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp
index 23d49c19a7..2525acf3e9 100644
--- a/src/gtk/glcanvas.cpp
+++ b/src/gtk/glcanvas.cpp
@@ -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);
 }
@@ -205,7 +205,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
                         const int *attribList,
                         const wxPalette& WXUNUSED_UNLESS_DEBUG(palette))
 {
-    wxASSERT_MSG( !palette.IsOk(), _T("palettes not supported") );
+    wxASSERT_MSG( !palette.IsOk(), wxT("palettes not supported") );
 
     m_exposed = false;
     m_noExpose = true;