X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8140eec95a05a0a56ea7f79d6d78e5e92669f26e..2beae4b5a5785cdf89af79383e062fbe9540b663:/src/mac/scrolbar.cpp?ds=sidebyside diff --git a/src/mac/scrolbar.cpp b/src/mac/scrolbar.cpp index 9073f70995..68d403ae26 100644 --- a/src/mac/scrolbar.cpp +++ b/src/mac/scrolbar.cpp @@ -140,7 +140,7 @@ void wxScrollBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart scrollEvent = wxEVT_SCROLL_THUMBTRACK; break ; default : - wxLogError(_("illegal scrollbar selector %d"), controlpart); + wxFAIL_MSG(wxT("illegal scrollbar selector")); break ; }