]>
Commit | Line | Data |
---|---|---|
78d99015 KO |
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 | ||
34 | IMPLEMENT_ABSTRACT_CLASS(wxToolTip, wxObject) | |
35 | ||
36 | ||
37 | wxToolTip::wxToolTip( const wxString &tip ) | |
38 | { | |
39 | m_text = tip; | |
d3b9f782 | 40 | m_window = NULL; |
78d99015 KO |
41 | } |
42 | ||
43 | wxToolTip::~wxToolTip() | |
44 | { | |
45 | } | |
46 | ||
47 | void wxToolTip::SetTip( const wxString &tip ) | |
48 | { | |
49 | m_text = tip; | |
50 | } | |
51 | ||
52 | void wxToolTip::SetWindow( wxWindow *win ) | |
53 | { | |
54 | m_window = win ; | |
55 | } | |
56 | ||
57 | void wxToolTip::Enable( bool flag ) | |
58 | { | |
59 | } | |
60 | ||
61 | void wxToolTip::SetDelay( long msecs ) | |
62 | { | |
63 | } | |
64 | ||
65 | void wxToolTip::SetAutoPop( long WXUNUSED(msecs) ) | |
66 | { | |
67 | } | |
68 | ||
69 | void wxToolTip::SetReshow( long WXUNUSED(msecs) ) | |
70 | { | |
71 | } | |
72 | ||
73 | void wxToolTip::RelayEvent( wxWindow *win , wxMouseEvent &event ) | |
74 | { | |
75 | } | |
76 | ||
77 | void wxToolTip::RemoveToolTips() | |
78 | { | |
79 | } | |
80 | ||
81 | // --- mac specific | |
82 | void wxToolTip::NotifyWindowDelete( WXHWND win ) | |
83 | { | |
84 | } | |
85 | ||
86 | #endif // wxUSE_TOOLTIPS |