]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix duplicate accelerator use in animate sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Dec 2009 16:35:54 +0000 (16:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Dec 2009 16:35:54 +0000 (16:35 +0000)
Both "Play" and "Stop" used Ctrl+P.

Closes #11425.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/animate/anitest.cpp

index d2f5bef31aa8ea32ca386116e5abe2211a21fb4a..6d4a4ecb00183074779edf299dbba96d9cd0479a 100644 (file)
@@ -133,7 +133,7 @@ MyFrame::MyFrame(wxWindow *parent,
 
     wxMenu *play_menu = new wxMenu;
     play_menu->Append(ID_PLAY, wxT("Play\tCtrl+P"), wxT("Play the animation"));
-    play_menu->Append(wxID_STOP, wxT("Stop\tCtrl+P"), wxT("Stop the animation"));
+    play_menu->Append(wxID_STOP, wxT("Stop\tCtrl+S"), wxT("Stop the animation"));
     play_menu->AppendSeparator();
     play_menu->Append(ID_SET_NULL_ANIMATION, wxT("Set null animation"),
                       wxT("Sets the empty animation in the control"));