added wxScrollWinEvent

use timestamp in various events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-12 09:31:02 +00:00
parent 021e7626ac
commit d1367c3d78
4 changed files with 120 additions and 18 deletions

View File

@@ -37,6 +37,7 @@
IMPLEMENT_DYNAMIC_CLASS(wxCommandEvent, wxEvent)
IMPLEMENT_DYNAMIC_CLASS(wxNotifyEvent, wxCommandEvent)
IMPLEMENT_DYNAMIC_CLASS(wxScrollEvent, wxCommandEvent)
IMPLEMENT_DYNAMIC_CLASS(wxScrollWinEvent, wxEvent)
IMPLEMENT_DYNAMIC_CLASS(wxMouseEvent, wxEvent)
IMPLEMENT_DYNAMIC_CLASS(wxKeyEvent, wxEvent)
IMPLEMENT_DYNAMIC_CLASS(wxSizeEvent, wxEvent)
@@ -156,6 +157,19 @@ wxScrollEvent::wxScrollEvent(wxEventType commandType,
m_commandInt = pos;
}
/*
* ScrollWin events
*/
wxScrollWinEvent::wxScrollWinEvent(wxEventType commandType,
int pos,
int orient)
: wxEvent(commandType)
{
m_extraLong = orient;
m_commandInt = pos;
}
/*
* Mouse events
*