]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/osx/cocoa/tooltip.mm
fixing native font info support bugs
[wxWidgets.git] / src / osx / cocoa / tooltip.mm
... / ...
CommitLineData
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/////////////////////////////////////////////////////////////////////////////
9
10#include "wx/wxprec.h"
11
12#if wxUSE_TOOLTIPS
13
14#include "wx/tooltip.h"
15
16#ifndef WX_PRECOMP
17 #include "wx/app.h"
18 #include "wx/window.h"
19 #include "wx/dc.h"
20 #include "wx/timer.h"
21 #include "wx/nonownedwnd.h"
22#endif // WX_PRECOMP
23
24#include "wx/geometry.h"
25#include "wx/osx/uma.h"
26
27// FYI a link to help with implementing: http://www.cocoadev.com/index.pl?LittleYellowBox
28
29
30//-----------------------------------------------------------------------------
31// wxToolTip
32//-----------------------------------------------------------------------------
33
34IMPLEMENT_ABSTRACT_CLASS(wxToolTip, wxObject)
35
36
37wxToolTip::wxToolTip( const wxString &tip )
38{
39 m_text = tip;
40 m_window = NULL;
41}
42
43wxToolTip::~wxToolTip()
44{
45}
46
47void wxToolTip::SetTip( const wxString &tip )
48{
49 m_text = tip;
50}
51
52void wxToolTip::SetWindow( wxWindow *win )
53{
54 m_window = win ;
55}
56
57void wxToolTip::Enable( bool WXUNUSED(flag) )
58{
59}
60
61void wxToolTip::SetDelay( long WXUNUSED(msecs) )
62{
63}
64
65void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
66{
67}
68
69void wxToolTip::SetReshow( long WXUNUSED(msecs) )
70{
71}
72
73void wxToolTip::RelayEvent( wxWindow *WXUNUSED(win) , wxMouseEvent &WXUNUSED(event) )
74{
75}
76
77void wxToolTip::RemoveToolTips()
78{
79}
80
81// --- mac specific
82void wxToolTip::NotifyWindowDelete( WXHWND WXUNUSED(win) )
83{
84}
85
86#endif // wxUSE_TOOLTIPS