-#if WXWIN_COMPATIBILITY_2_6
- // compatibility - these functions are deprecated, use the new ones
- // instead
- wxDEPRECATED( bool Selected(int n) const );
-#endif // WXWIN_COMPATIBILITY_2_6
+ // For generating events in multiple and extended mode
+ wxArrayInt m_oldSelections;
+ void UpdateOldSelections();
+ void CalcAndSendEvent();