diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-02 00:09:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-09 17:04:02 +0100 |
| commit | 161f7c27bd1aff63938a9512ab991de886691f97 (patch) | |
| tree | c797363155b1ec967d56fb62c7e4cbc950d48591 /src/wx/table_dialog.cc | |
| parent | 11199da66bafc54cfab92106563696d9a5e72b69 (diff) | |
Allow passing flags into TableDialog::add for labels.
Diffstat (limited to 'src/wx/table_dialog.cc')
| -rw-r--r-- | src/wx/table_dialog.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/table_dialog.cc b/src/wx/table_dialog.cc index 05d06432c..c4ad5fff6 100644 --- a/src/wx/table_dialog.cc +++ b/src/wx/table_dialog.cc @@ -57,12 +57,11 @@ TableDialog::layout () wxStaticText * #ifdef DCPOMATIC_OSX -TableDialog::add (wxString text, bool label) +TableDialog::add (wxString text, bool label, int flags) #else -TableDialog::add (wxString text, bool) +TableDialog::add (wxString text, bool, int flags) #endif { - int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT; #ifdef DCPOMATIC_OSX if (label) { flags |= wxALIGN_RIGHT; |
