diff options
Diffstat (limited to 'views/controls/button/menu_button.cc')
-rw-r--r-- | views/controls/button/menu_button.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc index b8d0410..4a9e74c 100644 --- a/views/controls/button/menu_button.cc +++ b/views/controls/button/menu_button.cc @@ -46,10 +46,10 @@ const char MenuButton::kViewClassName[] = "views/MenuButton"; //////////////////////////////////////////////////////////////////////////////// MenuButton::MenuButton(ButtonListener* listener, - const std::wstring& text, + const string16& text, ViewMenuDelegate* menu_delegate, bool show_menu_marker) - : TextButton(listener, text), + : TextButton(listener, UTF16ToWideHack(text)), menu_visible_(false), menu_offset_(kDefaultMenuOffsetX, kDefaultMenuOffsetY), menu_delegate_(menu_delegate), |