]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
handle EINTR when reading data from the wakeup pipe
[wxWidgets.git] / src / gtk / glcanvas.cpp
index 23d49c19a747daa79569c7ac91c80c4ca82159ea..c8b805cc007fcb2a079fbf427402d2adb0ab26f3 100644 (file)
@@ -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);
 }