#pragma implementation "tooltip.h"
#endif
-#include "wx/setup.h"
+#include "wx/defs.h"
#if wxUSE_TOOLTIPS
wxMacToolTipTimer* m_timer ;
} ;
-class wxMacToolTipTimer : wxTimer
+class wxMacToolTipTimer : public wxTimer
{
public:
- wxMacToolTipTimer() {} ;
- wxMacToolTipTimer(wxMacToolTip* tip, int iMilliseconds) ;
+ wxMacToolTipTimer() {} ;
+ wxMacToolTipTimer(wxMacToolTip* tip, int iMilliseconds) ;
virtual ~wxMacToolTipTimer() {} ;
- void Notify()
- {
- if ( m_mark == m_tip->GetMark() )
- m_tip->Draw() ;
-
- }
+ void Notify()
+ {
+ if ( m_mark == m_tip->GetMark() )
+ m_tip->Draw() ;
+ }
protected:
- wxMacToolTip* m_tip;
- long m_mark ;
+ wxMacToolTip* m_tip;
+ long m_mark ;
};
//-----------------------------------------------------------------------------
*/
#endif
{
- wxMacPortStateHelper help( GetWindowPort( m_window ) );
+ wxMacPortStateHelper help( (GrafPtr) GetWindowPort( m_window ) );
m_shown = true ;
if ( m_window == s_ToolTipWindowRef && m_backpict )
{
- wxMacPortStateHelper help( GetWindowPort(m_window) ) ;
+ wxMacPortStateHelper help( (GrafPtr) GetWindowPort(m_window) ) ;
m_shown = false ;