Cleanup: add convert_to_lower() and matches_search().
[dcpomatic.git] / src / wx / table_dialog.h
index 8969dc56134a8bdeba72c9e815068f67955e8f07..c9eeb3ef86ae8ae17fab6e36789ea3daf1442f2e 100644 (file)
 #ifndef DCPOMATIC_TABLE_DIALOG_H
 #define DCPOMATIC_TABLE_DIALOG_H
 
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_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 ();