X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72c1ba98f2c5e666516a2e44048c7ca0b3926ff4..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/mac/carbon/tooltip.cpp diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index e4eebd1086..91856f165d 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -27,40 +27,6 @@ // global data //----------------------------------------------------------------------------- -class wxMacToolTipTimer ; - -class wxMacToolTip -{ -public : - wxMacToolTip() ; - ~wxMacToolTip() ; - - void Setup( WindowRef window , const wxString& text , const wxPoint& localPosition ) ; - void Draw() ; - void Clear() ; - - long GetMark() - { return m_mark ; } - - bool IsShown() - { return m_shown ; } - -private : - wxString m_label ; - wxPoint m_position ; - Rect m_rect ; - WindowRef m_window ; - PicHandle m_backpict ; - bool m_shown ; - long m_mark ; -#if wxUSE_TIMER - wxMacToolTipTimer* m_timer ; -#endif -#if TARGET_CARBON - wxMacCFStringHolder m_helpTextRef ; -#endif -} ; - #if wxUSE_TIMER class wxMacToolTipTimer : public wxTimer { @@ -146,6 +112,14 @@ void wxToolTip::SetDelay( long msecs ) s_ToolTipDelay = msecs ; } +void wxToolTip::SetAutoPop( long WXUNUSED(msecs) ) +{ +} + +void wxToolTip::SetReshow( long WXUNUSED(msecs) ) +{ +} + void wxToolTip::RelayEvent( wxWindow *win , wxMouseEvent &event ) { if ( s_ShowToolTips )