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:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user