X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_signal_manager.cc;h=d26ddd4a03cf53151372135597c6f686bd87c2c1;hb=54141c7a9504e289d41af997067ca6b78a1d4b0a;hp=3d8b9992a20a7f6d394d86d7d7529b4ff54c5ed3;hpb=6f0a590bc3266f21ba577116219bd019e891d480;p=dcpomatic.git diff --git a/src/wx/wx_signal_manager.cc b/src/wx/wx_signal_manager.cc index 3d8b9992a..d26ddd4a0 100644 --- a/src/wx/wx_signal_manager.cc +++ b/src/wx/wx_signal_manager.cc @@ -1,24 +1,30 @@ /* Copyright (C) 2012-2015 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 . */ -#include + #include "wx_signal_manager.h" +#include +LIBDCP_DISABLE_WARNINGS +#include +LIBDCP_ENABLE_WARNINGS + wxSignalManager::wxSignalManager (wxEvtHandler* h) : _handler (h) @@ -29,6 +35,6 @@ wxSignalManager::wxSignalManager (wxEvtHandler* h) void wxSignalManager::wake_ui () { - wxCommandEvent event (-1, -1); + wxCommandEvent event (wxEVT_IDLE); _handler->AddPendingEvent (event); }