Set the version in WBootstrapTheme C'tor
Currently I create a BootstrapTheme object and then set the them version as follows:
auto btheme_ptr = std::make_shared<Wt::WBootstrapTheme>(); btheme_ptr->setVersion (Wt::BootstrapVersion::V3); this->setTheme(btheme_ptr);
can we make it more robust as :
If I have to add my own theme then...
that way I can have clean interface to set the theme for the page/widget.
Its preferable to set the pass to css directory...so that we have the flexibility to define our own themes in self contained directory.
Rathnadhar K V