From 308cdd25d5d091fe9a319ecec1065acc37ce1552 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 4 Oct 2007 07:27:44 +0000 Subject: [PATCH] moving tooltip implementation into private header, allowing for easier reuse git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/tooltip.cpp | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index e4eebd1086..10a0b0ac99 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -27,40 +27,6 @@ // global data //----------------------------------------------------------------------------- -class wxMacToolTipTimer ; - -class wxMacToolTip -{ -public : - wxMacToolTip() ; - ~wxMacToolTip() ; - - void Setup( WindowRef window , const wxString& text , const wxPoint& localPosition ) ; - void Draw() ; - void Clear() ; - - long GetMark() - { return m_mark ; } - - bool IsShown() - { return m_shown ; } - -private : - wxString m_label ; - wxPoint m_position ; - Rect m_rect ; - WindowRef m_window ; - PicHandle m_backpict ; - bool m_shown ; - long m_mark ; -#if wxUSE_TIMER - wxMacToolTipTimer* m_timer ; -#endif -#if TARGET_CARBON - wxMacCFStringHolder m_helpTextRef ; -#endif -} ; - #if wxUSE_TIMER class wxMacToolTipTimer : public wxTimer {