]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cshelp.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / common / cshelp.cpp
index f1e8b26f4e2068702a117b83fb89fe22ddef1a27..805ada8bff46e7ac32296c4393dc8de53e731bbd 100644 (file)
@@ -119,6 +119,15 @@ bool wxContextHelp::BeginContextHelp(wxWindow* win)
     {
         wxPoint pt;
         wxWindow* winAtPtr = wxFindWindowAtPointer(pt);
+       /*
+        if (winAtPtr)
+        {
+       wxString msg;
+        msg.Printf("Picked %s (%d)", (const char*) winAtPtr->GetName(), winAtPtr->GetId());
+        cout << msg << '\n';
+        }
+       */
+
         if (winAtPtr)
             DispatchEvent(winAtPtr, pt);
     }