Added check to allow multiple selection by dragging only if property under mouse was adjacent to a property already in the selection.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-09-06 07:51:35 +00:00
parent 6c254c5203
commit 169dc97542
3 changed files with 49 additions and 2 deletions

View File

@@ -669,6 +669,11 @@ public:
protected:
// Utility to check if two properties are visibly next to each other
bool ArePropertiesAdjacent( wxPGProperty* prop1,
wxPGProperty* prop2,
int iterFlags = wxPG_ITERATE_VISIBLE ) const;
int DoGetSplitterPosition( int splitterIndex = 0 ) const;
/** Returns column at x coordinate (in GetGrid()->GetPanel()).