made RelayEvent() static

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-05-04 15:58:29 +00:00
parent 0c5405b727
commit 4453b38d02
2 changed files with 3 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ public:
// -------------------------------
// should be called in responde to WM_MOUSEMOVE
void RelayEvent(WXMSG *msg);
static void RelayEvent(WXMSG *msg);
// add a window to the tooltip control
void Add(WXHWND hwnd);

View File

@@ -194,6 +194,7 @@ void wxToolTip::SetDelay(long milliseconds)
// ---------------------------------------------------------------------------
// create the tooltip ctrl for our parent frame if it doesn't exist yet
/* static */
WXHWND wxToolTip::GetToolTipCtrl()
{
if ( !ms_hwndTT )
@@ -222,6 +223,7 @@ WXHWND wxToolTip::GetToolTipCtrl()
return ms_hwndTT;
}
/* static */
void wxToolTip::RelayEvent(WXMSG *msg)
{
(void)SendTooltipMessage(GetToolTipCtrl(), TTM_RELAYEVENT, msg);