Aesthetic modifications

This commit is contained in:
Simon Rozman 2016-05-06 11:25:12 +02:00
parent 01c50ba9e1
commit 7bd217ec47
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
BEGIN_EVENT_TABLE(wxZRColaComposerPanel, wxZRColaComposerPanelBase) BEGIN_EVENT_TABLE(wxZRColaComposerPanel, wxZRColaComposerPanelBase)
EVT_TIMER(wxZRColaComposerPanel::wxID_TIMER, wxZRColaComposerPanel::OnTimerTimeout) EVT_TIMER(wxZRColaComposerPanel::wxID_CHECKPOINT_TIMER, wxZRColaComposerPanel::OnTimerTimeout)
END_EVENT_TABLE() END_EVENT_TABLE()
@ -38,7 +38,7 @@ wxZRColaComposerPanel::wxZRColaComposerPanel(wxWindow* parent) :
m_decomposed->PushEventHandler(&m_keyhandler); m_decomposed->PushEventHandler(&m_keyhandler);
// Create timer for saving the state. // Create timer for saving the state.
m_timer = new wxTimer(this, wxID_TIMER); m_timer = new wxTimer(this, wxID_CHECKPOINT_TIMER);
// Restore the previously saved state (if exists). // Restore the previously saved state (if exists).
wxString fileName(GetStateFileName()); wxString fileName(GetStateFileName());

View File

@ -40,7 +40,7 @@ class wxZRColaComposerPanel : public wxZRColaComposerPanelBase
public: public:
enum enum
{ {
wxID_TIMER = 1, wxID_CHECKPOINT_TIMER = 2000,
}; };
wxZRColaComposerPanel(wxWindow* parent); wxZRColaComposerPanel(wxWindow* parent);