diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 6e86ca590c..c866cf1488 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -77,6 +77,9 @@ static wxMacToolTip s_ToolTip ; static wxWindow* s_LastWindowEntered = NULL ; static wxRect2DInt s_ToolTipArea ; static WindowRef s_ToolTipWindowRef = NULL ; + +IMPLEMENT_ABSTRACT_CLASS(wxToolTip, wxObject) + wxToolTip::wxToolTip( const wxString &tip ) { m_text = tip; diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 6e86ca590c..c866cf1488 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -77,6 +77,9 @@ static wxMacToolTip s_ToolTip ; static wxWindow* s_LastWindowEntered = NULL ; static wxRect2DInt s_ToolTipArea ; static WindowRef s_ToolTipWindowRef = NULL ; + +IMPLEMENT_ABSTRACT_CLASS(wxToolTip, wxObject) + wxToolTip::wxToolTip( const wxString &tip ) { m_text = tip;