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:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user