Allow editing of a screen's cinema / adding a new screen when
[dcpomatic.git] / src / wx / table_dialog.h
index 8969dc56134a8bdeba72c9e815068f67955e8f07..b05e4e3436e4ee82b220ba4182bf562d614867b0 100644 (file)
 #ifndef DCPOMATIC_TABLE_DIALOG_H
 #define DCPOMATIC_TABLE_DIALOG_H
 
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 
 class TableDialog : public wxDialog
 {
@@ -35,7 +38,7 @@ protected:
                return w;
        }
 
-       void add (wxString text, bool label);
+       wxStaticText* add (wxString text, bool label, int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT);
        void add_spacer ();
 
        void layout ();