projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691aba0
)
return NULL from a function returning a pointer, not FALSE
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Tue, 16 Apr 2002 08:43:55 +0000
(08:43 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Tue, 16 Apr 2002 08:43:55 +0000
(08:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15157
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/motif/menu.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/motif/menu.cpp
b/src/motif/menu.cpp
index c5d3232ead6330e8d5bde438578366a7b2355828..c9b821d6834eaba5e69ca12e64f77b63c36a08b8 100644
(file)
--- 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"));