New wxEventType for event type enum, and corresponding alterations.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-06-26 20:18:30 +00:00
parent 68919656bb
commit 7798a18ec8
21 changed files with 92 additions and 89 deletions

View File

@@ -129,7 +129,7 @@ void wxScrollBar::MSWOnVScroll(const WXWORD wParam, const WXWORD pos, const WXHW
maxPos -= (m_pageSize - 1);
#endif
int scrollEvent = 0;
wxEventType scrollEvent = wxEVT_NULL;
int nScrollInc;
switch ( wParam )
@@ -339,7 +339,7 @@ void wxScrollBar::Command(wxCommandEvent& event)
// Backward compatibility
void wxScrollBar::OnScroll(wxScrollEvent& event)
{
int oldEvent = event.GetEventType();
wxEventType oldEvent = event.GetEventType();
event.SetEventType( wxEVT_COMMAND_SCROLLBAR_UPDATED );
if ( !GetEventHandler()->ProcessEvent(event) )
{