X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d4f65e3939402a406be6669d2a71a3d7773c9a2..cd4e32afe7023f2ebc97b15674ee3b7def480e45:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 01232d1ac9..b69eecbabc 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -187,6 +187,11 @@ public: // MSW only: true if this control is part of the main control virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return false; }; +#if wxUSE_TOOLTIPS + // MSW only: true if this window or any of its children have a tooltip + virtual bool HasToolTips() const { return GetToolTip() != NULL; } +#endif // wxUSE_TOOLTIPS + // translate wxWidgets style flags for this control into the Windows style // and optional extended style for the corresponding native control //