]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/scrolbar.cpp
bug fixes
[wxWidgets.git] / src / mac / scrolbar.cpp
index 9073f709950fc0ee6524d7426ee36369a7bdba67..68d403ae2624b1197ea23ce70a156cc96b7d5677 100644 (file)
@@ -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 ;
        }