]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/glcanvas.cpp
fix compilation after r50329
[wxWidgets.git] / src / mac / carbon / glcanvas.cpp
index ffed5c32a312b7579eb84ecea1d7e126715cbbaa..a65fbe680ac96cca4d6b83654ffcd9ff1de82d1a 100644 (file)
@@ -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");