X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8140eec95a05a0a56ea7f79d6d78e5e92669f26e..2ad50cc75b44bdb79c3c1a031e1a548d0fa5bfb9:/src/mac/scrolbar.cpp 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 ; }