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 )
51 m_window->SetToolTip(this);
54 void wxToolTip::SetWindow( wxWindow *win )
59 void wxToolTip::Enable( bool WXUNUSED(flag) )
63 void wxToolTip::SetDelay( long WXUNUSED(msecs) )
67 void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
71 void wxToolTip::SetReshow( long WXUNUSED(msecs) )
75 void wxToolTip::RelayEvent( wxWindow *WXUNUSED(win) , wxMouseEvent &WXUNUSED(event) )
79 void wxToolTip::RemoveToolTips()
84 void wxToolTip::NotifyWindowDelete( WXHWND WXUNUSED(win) )
88 #endif // wxUSE_TOOLTIPS