Implement select_action::tshow::select for tgenerator.

This commit is contained in:
Mark de Wever 2009-05-24 13:48:58 +00:00
parent 967dbc7714
commit 67c45f2013

View File

@ -437,10 +437,9 @@ struct tselect
struct tshow
: public virtual tgenerator_
{
/** @todo implement when set_visible works. */
void select(tgrid& /*grid*/, const bool /*show*/)
void select(tgrid& grid, const bool show)
{
//grid->set_visible(show);
grid.set_visible(show ? twidget::VISIBLE : twidget::HIDDEN);
}
};