diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-25 14:40:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-25 14:43:30 +0300 |
commit | 792181299bffff78c9232ec161eb60962ebe289b (patch) | |
tree | 7c89a6f7a4f83f5a99390ccbac15815bff0270c0 /xpdf | |
parent | 0820414d0c53ac6f67742b1ff5cd27dd011f013b (diff) |
Fix KEY_SHIFT clash
Since 360d6bf4fd1241af47f55648b7597fda3120390a the precompiled header for vcl
includes <rsc/rsc-vcl-shared-types.hxx> , so the KEY_SHIFT from there
interfered with the KEY_SHIFT here.
These magic values apparently are the "known" return values from
MapVirtualKey() called to translate (fixed) virtual key codes to scan codes,
suitably shifted and ORed with some flag bit(s). Whether such scan code values
really are constant in all Windows installations I have no idea, it does sound
a bit scary to me to assume they are. (If they are, why does <windows.h> then
not provide symbolic names for them?)
Change-Id: Ic18a8e1a8b7a95bb6b018382662944f6912e4734
Diffstat (limited to 'xpdf')
0 files changed, 0 insertions, 0 deletions