From: Vadim Zeitlin Date: Tue, 16 Apr 2002 08:43:55 +0000 (+0000) Subject: return NULL from a function returning a pointer, not FALSE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/81b299966d524d3d7917e9e4f261f6a382a16ee3 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 --- 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"));