fix another logical/physical coords confusion and update the comment to help with this in the future

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-08 15:11:21 +00:00
parent aef252d9da
commit 8fad69b019
2 changed files with 3 additions and 2 deletions

View File

@@ -357,7 +357,7 @@ void wxHeaderCtrl::OnMouse(wxMouseEvent& mevent)
if ( m_colBeingResized != COL_NONE )
{
if ( mevent.LeftUp() )
EndResizing(xLogical - GetColStart(m_colBeingResized));
EndResizing(xPhysical - GetColStart(m_colBeingResized));
else // update the live separator position
UpdateResizingMarker(xPhysical);