X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_signal_manager.cc;h=95e71cbc0ee99d8b275ad5b6b121b4196d8be93b;hb=fc18b92ca1cc8d7ec975fddc507fb97aacc6d17f;hp=3d8b9992a20a7f6d394d86d7d7529b4ff54c5ed3;hpb=65274489101d5b5c503ea94d61d7ac5eb1372636;p=dcpomatic.git diff --git a/src/wx/wx_signal_manager.cc b/src/wx/wx_signal_manager.cc index 3d8b9992a..95e71cbc0 100644 --- a/src/wx/wx_signal_manager.cc +++ b/src/wx/wx_signal_manager.cc @@ -1,19 +1,20 @@ /* 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 . */ @@ -29,6 +30,6 @@ wxSignalManager::wxSignalManager (wxEvtHandler* h) void wxSignalManager::wake_ui () { - wxCommandEvent event (-1, -1); + wxCommandEvent event (wxEVT_IDLE); _handler->AddPendingEvent (event); }