Enabling the Pop Menu fix to peek at all the command messages. Required adding a secondary DoMessage to wxApp. Some textctrl work as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-06-08 15:24:37 +00:00
parent 153b1416a4
commit 3febf6845f
5 changed files with 56 additions and 13 deletions

View File

@@ -120,11 +120,20 @@ wxAcceleratorTable::wxAcceleratorTable(
USHORT uVirt = AF_CHAR;
if (vaEntries[i].GetFlags() & wxACCEL_ALT)
{
uVirt |= AF_ALT;
uVirt |= AF_VIRTUALKEY;
}
if (vaEntries[i].GetFlags() & wxACCEL_SHIFT)
{
uVirt |= AF_SHIFT;
uVirt |= AF_VIRTUALKEY;
}
if (vaEntries[i].GetFlags() & wxACCEL_CTRL)
{
uVirt |= AF_CONTROL;
uVirt |= AF_VIRTUALKEY;
}
bool bIsVirtual;
USHORT uKey = wxCharCodeWXToOS2( vaEntries[i].GetKeyCode()