From 72bb8cf5117f6c97f88e6bfd9e47f89185ffac67 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 4 Jun 2004 08:19:00 +0000 Subject: [PATCH] introduction of m_peer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/glcanvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/glcanvas.cpp b/src/mac/carbon/glcanvas.cpp index 14e64fe572..732de7df9f 100644 --- a/src/mac/carbon/glcanvas.cpp +++ b/src/mac/carbon/glcanvas.cpp @@ -331,7 +331,7 @@ bool wxGLCanvas::Show(bool show) } else { - if ( IsControlVisible( (ControlRef) m_macControl ) && !m_macCanvasIsShown ) + if ( IsControlVisible( *m_peer ) && !m_macCanvasIsShown ) { m_macCanvasIsShown = true ; SetViewport() ; @@ -343,7 +343,7 @@ bool wxGLCanvas::Show(bool show) void wxGLCanvas::MacVisibilityChanged() { - if ( !IsControlVisible( (ControlRef) m_macControl ) ) + if ( !IsControlVisible( *m_peer ) ) { if ( m_macCanvasIsShown ) { -- 2.45.2