From: Vadim Zeitlin Date: Mon, 28 Feb 2005 01:22:35 +0000 (+0000) Subject: made Add() public so that it could be called for addition HWNDs making part of the... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1306e7d6eca73adb57bc6e50d22108371c0241e7?ds=sidebyside made Add() public so that it could be called for addition HWNDs making part of the same logical wxWindow from other classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/tooltip.h b/include/wx/msw/tooltip.h index d8fb5c35e5..0ae7194df2 100644 --- a/include/wx/msw/tooltip.h +++ b/include/wx/msw/tooltip.h @@ -37,6 +37,9 @@ public: // should be called in responde to WM_MOUSEMOVE void RelayEvent(WXMSG *msg); + // add a window to the tooltip control + void Add(WXHWND hwnd); + private: // the one and only one tooltip control we use - never access it directly // but use GetToolTipCtrl() which will create it when needed @@ -48,9 +51,6 @@ private: // remove this tooltip from the tooltip control void Remove(); - // add a window to the tooltip control - void Add(WXHWND hwnd); - wxString m_text; // tooltip text wxWindow *m_window; // window we're associated with