Lines Matching defs:title
35 // we use normal item but with a special id for the menu title
56 static wxString wxReplaceUnderscore( const wxString& title )
62 pc = title;
89 // wxPrintf( wxT("before %s after %s\n"), title.c_str(), str.c_str() );
119 // don't remove ampersands '&' since if we have them in the menu title
327 bool wxMenuBar::Append( wxMenu *menu, const wxString &title )
329 if ( !wxMenuBarBase::Append( menu, title ) )
332 return GtkAppend(menu, title);
335 bool wxMenuBar::GtkAppend(wxMenu *menu, const wxString& title, int pos)
337 wxString str( wxReplaceUnderscore( title ) );
393 bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title)
395 if ( !wxMenuBarBase::Insert(pos, menu, title) )
400 if ( !GtkAppend(menu, title, (int)pos) )
406 wxMenu *wxMenuBar::Replace(size_t pos, wxMenu *menu, const wxString& title)
410 if ( menuOld && !Insert(pos, menu, title) )
603 // ignore events from the menu title
1003 // append the title as the very first entry if we have it