From a5176dafb70d5ea7567b18917d85c4cddc937dc4 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Thu, 2 Jul 2009 16:21:17 +0000 Subject: Convert menu strings to UTF16, fix some views-GTK build errors. Review URL: http://codereview.chromium.org/150171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19820 0039d316-1c4b-4281-b951-d872f2087c98 --- views/controls/menu/native_menu_gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/controls/menu/native_menu_gtk.cc') diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc index c81f04b..b0d8065 100644 --- a/views/controls/menu/native_menu_gtk.cc +++ b/views/controls/menu/native_menu_gtk.cc @@ -114,7 +114,7 @@ void NativeMenuGtk::AddSeparatorAt(int index) { void NativeMenuGtk::AddMenuItemAt(int index, GtkRadioMenuItem** last_radio_item) { GtkWidget* menu_item = NULL; - std::string label = ConvertAcceleratorsFromWindowsStyle(WideToUTF8( + std::string label = ConvertAcceleratorsFromWindowsStyle(UTF16ToUTF8( model_->GetLabelAt(index))); Menu2Model::ItemType type = model_->GetTypeAt(index); -- cgit v1.1