]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed warning
authorJulian Smart <julian@anthemion.co.uk>
Thu, 1 Apr 2004 19:43:32 +0000 (19:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 1 Apr 2004 19:43:32 +0000 (19:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/menu.cpp

index 95a5f76ec217c2b901b40212764278f414ce574a..a9da1209604419a2f739aaa562c3bbbb032789f8 100644 (file)
@@ -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++)
     {