X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d120f8391920145647ec10e84629bc21fa9f1bb..0a9f252212bdc4f9eea745a04632748d5544c042:/include/wx/motif/window.h diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index ae9f07668d..34e55e106b 100644 --- a/include/wx/motif/window.h +++ b/include/wx/motif/window.h @@ -244,6 +244,18 @@ public: // Accept files for dragging virtual void DragAcceptFiles(bool accept); + // tooltips + // create a tooltip with this text + void SetToolTip(const wxString& tip); + + // TODO +#if 0 + // pointer may be NULL to remove the tooltip + void SetToolTip(wxToolTip *tooltip); + // get the current tooltip (may return NULL if none) + wxToolTip* GetToolTip() const { return m_tooltip; } +#endif + // Update region access virtual wxRegion& GetUpdateRegion() const; virtual bool IsExposed(int x, int y, int w, int h) const;