]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed text ctrl tooltips (patch 562210)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 7 Jun 2002 20:45:43 +0000 (20:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 7 Jun 2002 20:45:43 +0000 (20:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index 24af3187f6acecb2ab4f044861cd7f64530cd26a..a9ef81a7afa2e9aea9fc52160a9492dea513d950 100644 (file)
@@ -1517,6 +1517,7 @@ bool wxTextCtrl::MSWOnNotify(int WXUNUSED(idCtrl), WXLPARAM lParam, WXLPARAM *re
                 ::SetCursor(GetHcursorOf(wxCursor(wxCURSOR_HAND)));
                 *result = TRUE;
                 break;
+
             case WM_MOUSEMOVE:
             case WM_LBUTTONDOWN:
             case WM_LBUTTONUP:
@@ -1560,8 +1561,8 @@ bool wxTextCtrl::MSWOnNotify(int WXUNUSED(idCtrl), WXLPARAM lParam, WXLPARAM *re
         return TRUE;
     }
 
-    // not processed
-    return FALSE;
+    // not processed, leave it to the base class
+    return wxTextCtrlBase::MSWOnNotify(idCtrl, lParam, result);
 }
 
 // ----------------------------------------------------------------------------