X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12cd5f34e72ba5e6e295936d2a74b9080552a331..9b69526274b023fa1460b29a92bea8bf82e4703f:/src/mac/carbon/tooltip.cpp diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 5ddf8b92e2..0d1e1ce955 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -225,7 +225,7 @@ void wxMacToolTip::Draw() */ #endif { - wxMacPortStateHelper help( GetWindowPort( m_window ) ); + wxMacPortStateHelper help( (GrafPtr) GetWindowPort( m_window ) ); m_shown = true ; @@ -333,7 +333,7 @@ void wxMacToolTip::Clear() if ( m_window == s_ToolTipWindowRef && m_backpict ) { - wxMacPortStateHelper help( GetWindowPort(m_window) ) ; + wxMacPortStateHelper help( (GrafPtr) GetWindowPort(m_window) ) ; m_shown = false ;