X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eea056232806fee37b8e00537b9ead8fe5cbdd19..4813bb8d72d4e6821e031f2b19baaa338b714d39:/src/mac/carbon/glcanvas.cpp diff --git a/src/mac/carbon/glcanvas.cpp b/src/mac/carbon/glcanvas.cpp index ffed5c32a3..a65fbe680a 100644 --- a/src/mac/carbon/glcanvas.cpp +++ b/src/mac/carbon/glcanvas.cpp @@ -80,7 +80,7 @@ void wxGLContext::SetCurrent(const wxGLCanvas& win) const if ( !m_aglContext ) return; - AGLDrawable drawable = (AGLDrawable)UMAGetWindowPort( + AGLDrawable drawable = (AGLDrawable)GetWindowPort( MAC_WXHWND(win.MacGetTopLevelWindowRef())); if ( !aglSetDrawable(m_aglContext, drawable) ) wxLogAGLError("aglSetDrawable");