Setup Butler::_prepare_only_proxy on construction.
[dcpomatic.git] / src / wx / table_dialog.h
index 8969dc56134a8bdeba72c9e815068f67955e8f07..fdc2022c84f6a39033f54794ecd09927d1cf35f1 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);
        void add_spacer ();
 
        void layout ();