Fixed the History and Teleport panels in Instant Messages.

This commit is contained in:
CharleyLevenque
2010-08-22 22:22:24 -04:00
parent 5578e92150
commit 794a5ce848
5 changed files with 49 additions and 0 deletions

View File

@@ -2918,6 +2918,19 @@ S32 OSMessageBoxWin32(const std::string& text, const std::string& caption, U32 t
return retval;
}
void LLWindowWin32::ShellEx(const std::string& command )
{
LLWString url_wstring = utf8str_to_wstring( command );
llutf16string url_utf16 = wstring_to_utf16str( url_wstring );
SHELLEXECUTEINFO sei = { sizeof( sei ) };
sei.fMask = SEE_MASK_FLAG_DDEWAIT;
sei.nShow = SW_SHOWNORMAL;
sei.lpVerb = L"open";
sei.lpFile = url_utf16.c_str();
ShellExecuteEx( &sei );
}
void LLWindowWin32::spawnWebBrowser(const std::string& escaped_url )
{