FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void Window::alert ( const std::string &  str) const
virtual

Pop up a JS alert box.

Parameters
strThe alert string

Reimplemented from FB::DOM::Window.

Definition at line 45 of file ActiveXCore/AXDOM/Window.cpp.

References FB::utf8_to_wstring().

46 {
47  m_htmlWin->alert(CComBSTR(FB::utf8_to_wstring(str).c_str()));
48 }
std::wstring utf8_to_wstring(const std::string &src)
Accepts a UTF8-encoded std::string and returns a std::wstring.
Definition: utf8_tools.cpp:50

Here is the call graph for this function: