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:
@@ -151,7 +151,7 @@ public:
|
||||
wxRichToolTipGenericImpl::SetTitleFont(font);
|
||||
}
|
||||
|
||||
virtual void ShowFor(wxWindow* win, wxRect* rect)
|
||||
virtual void ShowFor(wxWindow* win, const wxRect* rect)
|
||||
{
|
||||
// TODO: We could use native tooltip control to show native balloon
|
||||
// tooltips for any window but right now we use the simple
|
||||
|
Reference in New Issue
Block a user