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@49030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -444,6 +444,40 @@ private :
|
||||
|
||||
#if wxUSE_GUI
|
||||
|
||||
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
|
||||
} ;
|
||||
|
||||
/*
|
||||
GWorldPtr wxMacCreateGWorld( int width , int height , int depth );
|
||||
void wxMacDestroyGWorld( GWorldPtr gw );
|
||||
|
Reference in New Issue
Block a user