event/leave events

scrollbar fix
listctrl fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-07-11 09:53:58 +00:00
parent 4c6819972f
commit 401ec7b639
7 changed files with 55 additions and 34 deletions

View File

@@ -740,13 +740,13 @@ void wxListHeaderWindow::OnMouse( wxMouseEvent &event )
};
if (hit)
{
// if (m_currentCursor == wxSTANDARD_CURSOR) SetCursor( m_resizeCursor );
// m_currentCursor = m_resizeCursor;
if (m_currentCursor == wxSTANDARD_CURSOR) SetCursor( m_resizeCursor );
m_currentCursor = m_resizeCursor;
}
else
{
// if (m_currentCursor != wxSTANDARD_CURSOR) SetCursor( wxSTANDARD_CURSOR );
// m_currentCursor = wxSTANDARD_CURSOR;
if (m_currentCursor != wxSTANDARD_CURSOR) SetCursor( wxSTANDARD_CURSOR );
m_currentCursor = wxSTANDARD_CURSOR;
};
};
};
@@ -2433,6 +2433,7 @@ void wxListCtrl::OnIdle( wxIdleEvent &event )
m_mainWin->CalculatePositions();
m_mainWin->RealizeChanges();
m_mainWin->m_dirty = FALSE;
m_mainWin->Refresh();
};