X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12cd5f34e72ba5e6e295936d2a74b9080552a331..4ccae30a4dcdd995b3b566f8901a42509774d3d8:/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 ;