X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftable_dialog.h;h=fdc2022c84f6a39033f54794ecd09927d1cf35f1;hb=31de5b1272d928557a7272977584f5dcc9876c75;hp=9e1d09d5737e7c9fb0f7e18f86950da8cf551a15;hpb=cef07676fb15c9f1c3c3073d22f06ffe95d9c2ce;p=dcpomatic.git diff --git a/src/wx/table_dialog.h b/src/wx/table_dialog.h index 9e1d09d57..fdc2022c8 100644 --- a/src/wx/table_dialog.h +++ b/src/wx/table_dialog.h @@ -1,26 +1,30 @@ /* Copyright (C) 2014 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ #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 { @@ -34,7 +38,7 @@ protected: return w; } - void add (wxString text, bool label); + wxStaticText* add (wxString text, bool label); void add_spacer (); void layout ();