]> git.saurik.com Git - wxWidgets.git/commit - include/wx/gtk1/menu.h
Correct form of mnemonics returned by wxGTK wxMenu::GetTitle().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Nov 2010 22:38:53 +0000 (22:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Nov 2010 22:38:53 +0000 (22:38 +0000)
commit7bc0ff86728ce5ebecefa7120611ae9a50144c34
treef36cd4449af5c127c43b2900e0b0e40586ffc8ec
parent21fc588c6686946601a7779a01863d2264593f7f
Correct form of mnemonics returned by wxGTK wxMenu::GetTitle().

wxMenu::GetTitle() returned a string in GTK+ format (i.e. using underscores
instead of ampersands) instead of the expected wx one.

This is, of course, the right thing to do and it also fixes
wxMenuBar::FindMenuItem() as a side effect.

Closes #12672.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/menu.h
include/wx/gtk1/menu.h
src/gtk/menu.cpp
src/gtk1/menu.cpp
tests/menu/menu.cpp