]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/tooltip.cpp
install wxUniv headers in make install and include wxUniv sources in make dist
[wxWidgets.git] / src / mac / carbon / tooltip.cpp
index 5ddf8b92e2da9ed8d93a20461083829a2ec2947f..0d1e1ce95516f8c2f683f3deda679fe8b640611a 100644 (file)
@@ -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 ;