r=mkaply, sr=blizzard Special focus handling for combobox scrollbar git-svn-id: svn://10.0.0.236/trunk@107333 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
557e1e3dec
commit
c1f7cb7901
@ -2101,7 +2101,8 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
|
||||
{
|
||||
char className[19];
|
||||
::WinQueryClassName((HWND)mp1, 19, className);
|
||||
if (strcmp(className, WindowClass()))
|
||||
if (strcmp(className, WindowClass()) != 0 &&
|
||||
strcmp(className, WC_SCROLLBAR_STRING) != 0)
|
||||
isMozWindowTakingFocus = PR_FALSE;
|
||||
|
||||
if( gJustGotDeactivate )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user