]> git.saurik.com Git - wxWidgets.git/blame - src/osx/cocoa/tooltip.mm
Fix bezel used for bitmap buttons in wxOSX/Cocoa.
[wxWidgets.git] / src / osx / cocoa / tooltip.mm
CommitLineData
78d99015 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: src/osx/cocoa/tooltip.mm
78d99015
KO
3// Purpose: wxToolTip implementation
4// Author: Stefan Csomor
a9a4f229 5// Id: $Id$
78d99015
KO
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;
d3b9f782 40 m_window = NULL;
78d99015
KO
41}
42
43wxToolTip::~wxToolTip()
44{
45}
46
47void wxToolTip::SetTip( const wxString &tip )
48{
49 m_text = tip;
a7b9865d
KO
50 if (m_window)
51 m_window->SetToolTip(this);
78d99015
KO
52}
53
54void wxToolTip::SetWindow( wxWindow *win )
55{
56 m_window = win ;
57}
58
d8207702 59void wxToolTip::Enable( bool WXUNUSED(flag) )
78d99015
KO
60{
61}
62
d8207702 63void wxToolTip::SetDelay( long WXUNUSED(msecs) )
78d99015
KO
64{
65}
66
67void wxToolTip::SetAutoPop( long WXUNUSED(msecs) )
68{
69}
70
71void wxToolTip::SetReshow( long WXUNUSED(msecs) )
72{
73}
74
d8207702 75void wxToolTip::RelayEvent( wxWindow *WXUNUSED(win) , wxMouseEvent &WXUNUSED(event) )
78d99015
KO
76{
77}
78
79void wxToolTip::RemoveToolTips()
80{
81}
82
83// --- mac specific
d8207702 84void wxToolTip::NotifyWindowDelete( WXHWND WXUNUSED(win) )
78d99015
KO
85{
86}
87
88#endif // wxUSE_TOOLTIPS