X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eea056232806fee37b8e00537b9ead8fe5cbdd19..affd62faa234de675d8397ab5bb64640eb56974a:/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");