3
* $Id: countdownmessage.cpp 4044 2011-07-22 12:21:07Z tovar $
6
* Copyright 2008-10 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
15
#include "countdownmessage.h"
16
#include <wx/ginkgostyle/ginkgostyle.h>
20
CountdownMessage::CountdownMessage(wxWindow* pParent): CountdownMessageBase(pParent)
23
m_pLabelInactivity->SetLabel(wxString::Format(_("Ginkgo CADx has detected inactivity and it will be closed in %d seconds.\nDo you want to continue?"), m_last));
24
m_pFormPanel->Layout();
28
this->Start(1000, true);
31
CountdownMessage::~CountdownMessage()
35
bool CountdownMessage::Cancel()
40
void CountdownMessage::Notify()
45
m_pLabelInactivity->SetLabel(wxString::Format(_("Ginkgo CADx has detected inactivity and it will be closed in %d seconds.\nDo you want to continue?"), m_last));
46
m_pFormPanel->Layout();
49
this->Start(1000, true);
56
void CountdownMessage::OnCancel(wxCommandEvent &)