Make wxRect parameter of wxRichToolTip::ShowFor() const.

This parameter is read-only, so accept a const pointer here.

See #15060.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-03-02 12:11:32 +00:00
parent 23dd0dcea9
commit f6268c151c
7 changed files with 8 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ public:
void SetTitleFont(const wxFont& font);
// Show the tooltip for the given window and optionally a specified area.
void ShowFor(wxWindow* win, wxRect* rect = NULL);
void ShowFor(wxWindow* win, const wxRect* rect = NULL);
// Non-virtual dtor as this class is not supposed to be derived from.
~wxRichToolTip();