mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Introduce CefString and cef_string_t implementations that support string type conversions and customization of the API string type (issue #146).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@145 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -372,7 +372,8 @@ void WebWidgetHost::OnNotify(WPARAM wparam, NMHDR* header) {
|
||||
}
|
||||
}
|
||||
|
||||
void WebWidgetHost::SetTooltipText(const std::wstring& new_tooltip_text) {
|
||||
void WebWidgetHost::SetTooltipText(const CefString& tooltip_text) {
|
||||
std::wstring new_tooltip_text(tooltip_text);
|
||||
if (new_tooltip_text != tooltip_text_) {
|
||||
tooltip_text_ = new_tooltip_text;
|
||||
|
||||
|
Reference in New Issue
Block a user