1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/carbon/tooltip.cpp
3 // Purpose: wxToolTip implementation
4 // Author: Stefan Csomor
5 // Id: $Id: tooltip.cpp 55419 2008-09-02 16:53:23Z SC $
6 // Copyright: (c) Stefan Csomor
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #include "wx/wxprec.h"
14 #include "wx/tooltip.h"
18 #include "wx/window.h"
21 #include "wx/nonownedwnd.h"
24 #include "wx/geometry.h"
25 #include "wx/osx/uma.h"
27 // FYI a link to help with implementing: http://www.cocoadev.com/index.pl?LittleYellowBox
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 IMPLEMENT_ABSTRACT_CLASS(wxToolTip, wxObject)
37 wxToolTip::wxToolTip( const wxString &tip )
43 wxToolTip::~wxToolTip()
47 void wxToolTip::SetTip( const wxString &tip )
52 void wxToolTip::SetWindow( wxWindow *win )
57 void wxToolTip::Enable( bool WXUNUSED(flag) )
61 void wxToolTip::SetDelay( long WXUNUSED(msecs) )
65 void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
69 void wxToolTip::SetReshow( long WXUNUSED(msecs) )
73 void wxToolTip::RelayEvent( wxWindow *WXUNUSED(win) , wxMouseEvent &WXUNUSED(event) )
77 void wxToolTip::RemoveToolTips()
82 void wxToolTip::NotifyWindowDelete( WXHWND WXUNUSED(win) )
86 #endif // wxUSE_TOOLTIPS