Added drag-shrinking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -666,11 +666,22 @@ public:
|
||||
*rightCol = m_selectedBottomRight.GetCol();
|
||||
}
|
||||
|
||||
|
||||
// This function returns the rectangle that encloses the block of cells
|
||||
// limited by TopLeft and BottomRight cell in device coords and clipped
|
||||
// to the client size of the grid window.
|
||||
//
|
||||
wxRect BlockToDeviceRect( const wxGridCellCoords & TopLeft,
|
||||
const wxGridCellCoords & BottomRight );
|
||||
|
||||
// This function returns the rectangle that encloses the selected cells
|
||||
// in device coords and clipped to the client size of the grid window.
|
||||
//
|
||||
wxRect SelectionToDeviceRect();
|
||||
|
||||
wxRect SelectionToDeviceRect()
|
||||
{
|
||||
return BlockToDeviceRect( m_selectedTopLeft,
|
||||
m_selectedBottomRight );
|
||||
}
|
||||
|
||||
|
||||
// ------ For compatibility with previous wxGrid only...
|
||||
|
Reference in New Issue
Block a user