- // some pages show 2 controls, in this case override this one as well
- virtual wxControl *GetWidget2() const { return NULL; }
+ // some pages show additional controls, in this case override this one to
+ // return all of them (including the one returned by GetWidget())
+ virtual Widgets GetWidgets() const
+ {
+ Widgets widgets;
+ widgets.push_back(GetWidget());
+ return widgets;
+ }