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)