X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftable_dialog.h;h=c9eeb3ef86ae8ae17fab6e36789ea3daf1442f2e;hb=6ebec6b3ca11a7062ae19176096b1b157275d015;hp=fdc2022c84f6a39033f54794ecd09927d1cf35f1;hpb=2da4caba7871455c097c0ed940dd6f2332dbda5d;p=dcpomatic.git diff --git a/src/wx/table_dialog.h b/src/wx/table_dialog.h index fdc2022c8..c9eeb3ef8 100644 --- a/src/wx/table_dialog.h +++ b/src/wx/table_dialog.h @@ -21,10 +21,10 @@ #ifndef DCPOMATIC_TABLE_DIALOG_H #define DCPOMATIC_TABLE_DIALOG_H -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS class TableDialog : public wxDialog { @@ -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 ();