Lines Matching defs:title
41 // 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
357 bool wxMenuBar::Append( wxMenu *menu, const wxString &title )
359 if ( !wxMenuBarBase::Append( menu, title ) )
362 return GtkAppend(menu, title);
365 bool wxMenuBar::GtkAppend(wxMenu *menu, const wxString& title, int pos)
367 wxString str( wxReplaceUnderscore( title ) );
410 bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title)
412 if ( !wxMenuBarBase::Insert(pos, menu, title) )
417 if ( !GtkAppend(menu, title, (int)pos) )
423 wxMenu *wxMenuBar::Replace(size_t pos, wxMenu *menu, const wxString& title)
427 if ( menuOld && !Insert(pos, menu, title) )
610 // ignore events from the menu title
1080 // append the title as the very first entry if we have it