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
This commit is contained in:
Vadim Zeitlin
2005-02-28 01:22:35 +00:00
parent 1c01dd1629
commit 1306e7d6ec

View File

@@ -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