Back to index

plt-scheme  4.2.1
wb_sysev.cc
Go to the documentation of this file.
00001 /*
00002  * File:             wb_sysev.cc
00003  * Purpose:   System event implementation
00004  * Author:           Julian Smart
00005  * Created:   1993
00006  * Updated:   August 1994
00007  * Copyright: (c) 2004-2009 PLT Scheme Inc.
00008  * Copyright: (c) 1993, AIAI, University of Edinburgh
00009  */
00010 
00011 #ifdef __GNUG__
00012 #pragma implementation "wx_sysev.h"
00013 #endif
00014 
00015 #ifndef wx_xt
00016     // wxWindows standard include mechanism
00017     /* static const char sccsid[] = "%W% %G%"; */
00018     // For compilers that support precompilation, includes "wx.h".
00019 #   include "wx_prec.h"
00020 #   ifdef __BORLANDC__
00021 #      pragma hdrstop
00022 #   endif
00023 #   ifndef WX_PRECOMP
00024 #      include "common.h"
00025 #      include "wx_utils.h"
00026 #      include "wx_list.h"
00027 #   endif
00028 #   include "wx_sysev.h"
00029 #else // wx_xt
00030     // The Xt port uses another include mechanism
00031 #   define  Uses_wxEvent
00032 #   define  Uses_wxList
00033 #   include "wx.h"
00034 #endif // #ifndef wx_xt
00035 
00036 wxEvent::wxEvent(void) : wxObject(WXGC_NO_CLEANUP)
00037 {
00038   eventType = 0;
00039   eventHandle = NULL;
00040   timeStamp = 0;
00041 }
00042 
00043 wxEvent::~wxEvent(void)
00044 {
00045 }
00046 
00047 void wxEvent::SetTimestamp(long ts)
00048 {
00049   timeStamp = ts;
00050 }
00051