separated modifier keys handling in order to distinct key/up down events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-08-14 17:09:20 +00:00
parent 8dcfd2f963
commit 41d368a4bb
3 changed files with 128 additions and 28 deletions

View File

@@ -95,6 +95,7 @@ public:
static wxWindow* s_captureWindow ;
static int s_lastMouseDown ; // 0 = none , 1 = left , 2 = right
static WXHRGN s_macCursorRgn ;
static long s_lastModifiers ;
WXEVENTREF m_macCurrentEvent ;
int m_nCmdShow;
@@ -135,6 +136,7 @@ public:
void MacDoOneEvent() ;
void MacHandleOneEvent( WXEVENTREF ev ) ;
void MacHandleModifierEvents( WXEVENTREF ev ) ;
WXEVENTREF MacGetCurrentEvent() { return m_macCurrentEvent ; }
// primary events