isScrolling() in wxScroll[Win]Event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guillermo Rodriguez Garcia
2000-01-18 20:13:43 +00:00
parent 3ee6d0a7bc
commit 298d19f9ad
2 changed files with 21 additions and 0 deletions

View File

@@ -205,6 +205,16 @@ wxScrollEvent::wxScrollEvent(wxEventType commandType,
{
m_extraLong = orient;
m_commandInt = pos;
m_isScrolling = TRUE;
}
void wxScrollEvent::CopyObject(wxObject& obj_d) const
{
wxScrollEvent *obj = (wxScrollEvent*)&obj_d;
wxCommandEvent::CopyObject(obj_d);
obj->m_isScrolling = m_isScrolling;
}
/*
@@ -218,6 +228,7 @@ wxScrollWinEvent::wxScrollWinEvent(wxEventType commandType,
m_eventType = commandType;
m_extraLong = orient;
m_commandInt = pos;
m_isScrolling = TRUE;
}
void wxScrollWinEvent::CopyObject(wxObject& obj_d) const
@@ -228,6 +239,7 @@ void wxScrollWinEvent::CopyObject(wxObject& obj_d) const
obj->m_extraLong = m_extraLong;
obj->m_commandInt = m_commandInt;
obj->m_isScrolling = m_isScrolling;
}
/*