From: Francesco Montorsi Date: Sun, 26 Apr 2009 14:38:55 +0000 (+0000) Subject: typo fix (strangely VC9 doesn't consider it an error) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8f99e9c3148205809ce076bcf69668926f945cd8?ds=inline typo fix (strangely VC9 doesn't consider it an error) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/statusbr.h b/include/wx/statusbr.h index 9b40bf23ca..e0efd1cff4 100644 --- a/include/wx/statusbr.h +++ b/include/wx/statusbr.h @@ -187,10 +187,10 @@ protected: // wxWindow overrides: virtual void DoSetToolTip( wxToolTip *tip ) - { + { wxASSERT_MSG(!HasFlag(wxSTB_SHOW_TIPS), "Do not set tooltip(s) manually when using wxSTB_SHOW_TIPS!"); - return wxWindow::DoSetToolTip(tip); + wxWindow::DoSetToolTip(tip); } virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }