From a8fb9edee4787be99d28a190ea3f79f923d828ca Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 19 Apr 2006 03:07:42 +0000 Subject: [PATCH] don't convert false to a pointer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index a5bf7019b1..931f25c3fd 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -819,7 +819,7 @@ wxMenu *wxMenuBar::Replace(size_t pos, wxMenu *menu, const wxString& title) { wxMenu *menuOld = wxMenuBarBase::Replace(pos, menu, title); if ( !menuOld ) - return false; + return NULL; m_titles[pos] = title;