introduction of m_peer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-06-04 08:19:00 +00:00
parent 21fd55291b
commit 72bb8cf511

View File

@@ -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 )
{