1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Revert r10217 (wxWidgets applied my fix to the timer ID issue)

This commit is contained in:
BusinessmanProgrammerSteve
2010-02-08 21:00:17 +00:00
parent a2fdd857ac
commit 9bbd180e39
5 changed files with 14 additions and 9 deletions

View File

@@ -34,6 +34,7 @@
#include "Internat.h"
#define MAX_PROG 1000
#define TIMER_ID 7000
enum { // control IDs
ID_DATEPICKER_START = 10000,
@@ -61,7 +62,7 @@ BEGIN_EVENT_TABLE(TimerRecordDialog, wxDialog)
EVT_BUTTON(wxID_OK, TimerRecordDialog::OnOK)
EVT_TIMER(wxID_ANY, TimerRecordDialog::OnTimer)
EVT_TIMER(TIMER_ID, TimerRecordDialog::OnTimer)
END_EVENT_TABLE()
TimerRecordDialog::TimerRecordDialog(wxWindow* parent)
@@ -87,7 +88,7 @@ TimerRecordDialog::TimerRecordDialog(wxWindow* parent)
m_pTimeTextCtrl_Duration->SetFocus();
m_pTimeTextCtrl_Duration->SetFieldFocus(3);
m_timer.SetOwner(this, wxID_ANY);
m_timer.SetOwner(this, TIMER_ID);
m_timer.Start(kTimerInterval);
}