Fixed optical bug in wxListCtrl,

Added dnd.wxr to install script,
  Fixed two problems in wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-11-11 15:41:43 +00:00
parent 7790267175
commit 4b59bea3dd
6 changed files with 35 additions and 19 deletions

View File

@@ -872,7 +872,7 @@ void wxListHeaderWindow::OnMouse( wxMouseEvent &event )
m_minX = 0;
bool hit_border = FALSE;
int xpos = 0;
for (int j = 0; j < m_owner->GetColumnCount(); j++)
for (int j = 0; j < m_owner->GetColumnCount()-1; j++)
{
xpos += m_owner->GetColumnWidth( j );
m_column = j;