From b086293365b26f1992ed87ca9ecdd3faa0baa171 Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Tue, 12 Nov 2013 08:52:07 +0100 Subject: [PATCH] Fix windows compile problem --- vrecording.cc | 6 +++--- vrecording.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vrecording.cc b/vrecording.cc index 0a5b3f6..6ebb45c 100644 --- a/vrecording.cc +++ b/vrecording.cc @@ -82,7 +82,7 @@ VRecording::VRecording(RecMan* trecman, Recording* trec) button[PLAY].setText(tr("Play")); button[RESUME].setText(tr("Resume")); button[MOVE].setText(tr("Move")); - button[DELETE].setText(tr("Delete")); + button[A_DELETE].setText(tr("Delete")); for (int i=PLAY, hor=10; isetSize(260, 180); @@ -258,7 +258,7 @@ void VRecording::processMessage(Message* m) } else if (m->message == Message::QUESTION_YES) { - if (selected == DELETE) + if (selected == A_DELETE) { Message* m2 = new Message(); // Delete self m2->from = this; diff --git a/vrecording.h b/vrecording.h index e6c60ad..10394c2 100644 --- a/vrecording.h +++ b/vrecording.h @@ -52,7 +52,7 @@ class VRecording : public TBBoxx WTextbox summary; - enum Action { PLAY=0, RESUME, MOVE, DELETE, last }; + enum Action { PLAY=0, RESUME, MOVE, A_DELETE, last }; WButton button[last]; // WButton buttonPlay; // 1 // WButton buttonResume; // 2 -- 2.39.5