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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user