X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftable_dialog.h;h=fdc2022c84f6a39033f54794ecd09927d1cf35f1;hb=70b72b53eab0f247eb4dc605a2d669d4adb4e469;hp=8969dc56134a8bdeba72c9e815068f67955e8f07;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/table_dialog.h b/src/wx/table_dialog.h index 8969dc561..fdc2022c8 100644 --- a/src/wx/table_dialog.h +++ b/src/wx/table_dialog.h @@ -21,7 +21,10 @@ #ifndef DCPOMATIC_TABLE_DIALOG_H #define DCPOMATIC_TABLE_DIALOG_H +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +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 ();