]> git.saurik.com Git - wxWidgets.git/commitdiff
made RelayEvent() static
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 May 2006 15:58:29 +0000 (15:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 May 2006 15:58:29 +0000 (15:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/tooltip.h
src/msw/tooltip.cpp

index 13fdd0069dff62a4c48e5a771af8dbf717bd00d1..667e6eec3e1e464816610e26ff39310d87c153e6 100644 (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);
index 84f9a38084fd887667e2472d759976de7e33edbd..8fde93e577c00165b4aa39b98c80555495b39576 100644 (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);