(On behalf of Steve Williams <steve--w@dircon.co.uk>) Add activate message to fix focus in text areas. b=148613 r=adamlock@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@122896 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2c11535102
commit
1a345f8a80
@ -1097,6 +1097,9 @@ nativeWindow WebBrowserChromeUI::CreateNativeWindow(nsIWebBrowserChrome* chrome)
|
||||
SetWindowLong(hwndBrowser, GWL_USERDATA, (LONG)chrome); // save the browser LONG_PTR.
|
||||
SetWindowLong(hwndBrowser, GWL_STYLE, GetWindowLong(hwndBrowser, GWL_STYLE) | WS_CLIPCHILDREN);
|
||||
|
||||
// Activate the window
|
||||
PostMessage(hwndDialog, WM_ACTIVATE, WA_ACTIVE, 0);
|
||||
|
||||
gDialogCount++;
|
||||
|
||||
return hwndBrowser;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user