class TableDialog : public wxDialog
{
public:
- TableDialog (wxWindow* parent, wxString title, int columns, bool cancel);
+ TableDialog (wxWindow* parent, wxString title, int columns, int growable, bool cancel);
protected:
template<class T>
- T* add (T* w) {
- _table->Add (w, 1, wxEXPAND);
+ T* add (T* w, int proportion = 1, int flag = wxEXPAND) {
+ _table->Add (w, proportion, flag);
return w;
}
void layout ();
+ wxFlexGridSizer* _table;
+
private:
wxSizer* _overall_sizer;
- wxFlexGridSizer* _table;
};
#endif