From: Julian Smart Date: Thu, 1 Apr 2004 19:43:32 +0000 (+0000) Subject: Fixed warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5059f192cf6d5e0020fe4d6ce6420cd1f93de0e9 Fixed warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index 95a5f76ec2..a9da120960 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -619,7 +619,7 @@ void wxMenuBar::EnableTop(size_t pos, bool enable) bool wxMenuBar::Enable( bool enable) { - wxCHECK_RET( IsAttached(), wxT("doesn't work with unattached menubars") ); + wxCHECK_MSG( IsAttached(), false, wxT("doesn't work with unattached menubars") ); size_t i; for (i = 0; i < GetMenuCount(); i++) {