From 96fa7876bf2cb12837b2eaf49a54f8a0547ef7c2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 5 Jan 2000 15:17:08 +0000 Subject: [PATCH] unreachable code warning fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/menu.cpp | 2 +- src/gtk1/menu.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/menu.cpp b/src/gtk/menu.cpp index 6758d6b4ba..47ac10d93f 100644 --- a/src/gtk/menu.cpp +++ b/src/gtk/menu.cpp @@ -955,9 +955,9 @@ bool wxMenu::DoInsert(size_t pos, wxMenuItem *item) #else // GTK < 1.2 // this should be easy to do... wxFAIL_MSG( wxT("not implemented") ); -#endif // GTK 1.2/1.0 return FALSE; +#endif // GTK 1.2/1.0 } wxMenuItem *wxMenu::DoRemove(wxMenuItem *item) diff --git a/src/gtk1/menu.cpp b/src/gtk1/menu.cpp index 6758d6b4ba..47ac10d93f 100644 --- a/src/gtk1/menu.cpp +++ b/src/gtk1/menu.cpp @@ -955,9 +955,9 @@ bool wxMenu::DoInsert(size_t pos, wxMenuItem *item) #else // GTK < 1.2 // this should be easy to do... wxFAIL_MSG( wxT("not implemented") ); -#endif // GTK 1.2/1.0 return FALSE; +#endif // GTK 1.2/1.0 } wxMenuItem *wxMenu::DoRemove(wxMenuItem *item) -- 2.50.0