Let the select_row() return false by default...

...so subclasses who don't have select modes don't need to implement
this function.
This commit is contained in:
Mark de Wever 2008-09-19 15:52:17 +00:00
parent f21608b138
commit 7d6778fa08

View file

@ -67,7 +67,8 @@ public:
* @returns false if deselecting wasn't allowed.
* true otherwise.
*/
virtual bool select_row(const unsigned row, const bool select = true) = 0;
virtual bool select_row(const unsigned /*row*/, const bool /*select*/ = true)
{ return false; }
/***** ***** ***** inherited ****** *****/