added missing public in declaration of wxMacToolTipTimer class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-01-26 22:01:05 +00:00
parent 434c9eb58a
commit 853e3ce974
2 changed files with 22 additions and 24 deletions

View File

@@ -11,7 +11,7 @@
#pragma implementation "tooltip.h"
#endif
#include "wx/setup.h"
#include "wx/defs.h"
#if wxUSE_TOOLTIPS
@@ -52,21 +52,20 @@ class wxMacToolTip
wxMacToolTipTimer* m_timer ;
} ;
class wxMacToolTipTimer : wxTimer
class wxMacToolTipTimer : public wxTimer
{
public:
wxMacToolTipTimer() {} ;
wxMacToolTipTimer(wxMacToolTip* tip, int iMilliseconds) ;
wxMacToolTipTimer() {} ;
wxMacToolTipTimer(wxMacToolTip* tip, int iMilliseconds) ;
virtual ~wxMacToolTipTimer() {} ;
void Notify()
{
if ( m_mark == m_tip->GetMark() )
m_tip->Draw() ;
}
void Notify()
{
if ( m_mark == m_tip->GetMark() )
m_tip->Draw() ;
}
protected:
wxMacToolTip* m_tip;
long m_mark ;
wxMacToolTip* m_tip;
long m_mark ;
};
//-----------------------------------------------------------------------------