mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
parent
c8e8241728
commit
37a3743cdd
@ -2385,6 +2385,8 @@ PRUint32 WMChar2KeyCode( MPARAM mp1, MPARAM mp2)
|
||||
if( !(flags & (KC_VIRTUALKEY | KC_DEADKEY)))
|
||||
{
|
||||
rc = SHORT1FROMMP(mp2);
|
||||
if( rc < 0xFF)
|
||||
{
|
||||
// Need nls-correct way of doing this...
|
||||
if( isalnum( rc))
|
||||
rc = toupper( rc); // no lower case
|
||||
@ -2406,6 +2408,7 @@ PRUint32 WMChar2KeyCode( MPARAM mp1, MPARAM mp2)
|
||||
case '\'': rc = NS_VK_QUOTE; break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if( flags & KC_VIRTUALKEY)
|
||||
{
|
||||
USHORT vk = SHORT2FROMMP( mp2);
|
||||
|
@ -149,6 +149,7 @@ class nsWindow : public nsBaseWidget,
|
||||
USHORT GetNextCmdID() { return mNextCmdID++; }
|
||||
void NS2PM_PARENT( POINTL &ptl);
|
||||
void NS2PM( POINTL &ptl);
|
||||
void NS2PM( RECTL &rcl);
|
||||
// void SetContextMenu( nsContextMenu *aMenu);
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user