X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3feb55c4990a28bbf3c43c239865a958dd6de62..38aae140acbfd562df1388ae76108efcc52f871c:/src/common/richtooltipcmn.cpp?ds=sidebyside diff --git a/src/common/richtooltipcmn.cpp b/src/common/richtooltipcmn.cpp index c4671f63f1..58ed5d03b1 100644 --- a/src/common/richtooltipcmn.cpp +++ b/src/common/richtooltipcmn.cpp @@ -73,7 +73,7 @@ void wxRichToolTip::SetTitleFont(const wxFont& font) m_impl->SetTitleFont(font); } -void wxRichToolTip::ShowFor(wxWindow* win, wxRect* rect = NULL); +void wxRichToolTip::ShowFor(wxWindow* win, const wxRect* rect) { wxCHECK_RET( win, wxS("Must have a valid window") );