Disable the speed updown control in RfbPlayer::disableTBandMenuItems().
Enable the speed updown control in RfbPlayer::enableTBandMenuItems().


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@194 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx
index bc18d3e..e8a63e4 100644
--- a/rfbplayer/rfbplayer.cxx
+++ b/rfbplayer/rfbplayer.cxx
@@ -640,6 +640,7 @@
   tb.enableButton(ID_FULLSCREEN, false);
   EnableWindow(posTrackBar, false);
   EnableWindow(speedEdit, false);
+  EnableWindow(speedUpDown, false);
 }
 
 void RfbPlayer::enableTBandMenuItems() {
@@ -661,6 +662,7 @@
   tb.enableButton(ID_FULLSCREEN, true);
   EnableWindow(posTrackBar, true);
   EnableWindow(speedEdit, true);
+  EnableWindow(speedUpDown, true);
 }
 
 void RfbPlayer::setVisible(bool visible) {