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:
parent
f21608b138
commit
7d6778fa08
1 changed files with 2 additions and 1 deletions
|
@ -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 ****** *****/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue