summaryrefslogtreecommitdiff
path: root/src/wx/table_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-02 00:09:58 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-09 17:04:02 +0100
commit161f7c27bd1aff63938a9512ab991de886691f97 (patch)
treec797363155b1ec967d56fb62c7e4cbc950d48591 /src/wx/table_dialog.h
parent11199da66bafc54cfab92106563696d9a5e72b69 (diff)
Allow passing flags into TableDialog::add for labels.
Diffstat (limited to 'src/wx/table_dialog.h')
-rw-r--r--src/wx/table_dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/table_dialog.h b/src/wx/table_dialog.h
index fdc2022c8..b05e4e343 100644
--- a/src/wx/table_dialog.h
+++ b/src/wx/table_dialog.h
@@ -38,7 +38,7 @@ protected:
return w;
}
- wxStaticText* add (wxString text, bool label);
+ wxStaticText* add (wxString text, bool label, int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT);
void add_spacer ();
void layout ();