From 81b299966d524d3d7917e9e4f261f6a382a16ee3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 16 Apr 2002 08:43:55 +0000 Subject: [PATCH] return NULL from a function returning a pointer, not FALSE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index c5d3232ead..c9b821d683 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -306,7 +306,7 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title) wxMenu *wxMenuBar::Replace(size_t pos, wxMenu *menu, const wxString& title) { if ( !wxMenuBarBase::Replace(pos, menu, title) ) - return FALSE; + return NULL; wxFAIL_MSG(wxT("TODO")); -- 2.45.2