From 27c2041ff6d4f8db45f3903038d3d92aff4b6328 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 22 Jul 2004 00:43:58 +0000 Subject: [PATCH] Actually use the OnStack test git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/sound/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/sound/sound.cpp b/samples/sound/sound.cpp index 8964f6dbc4..b54f01f994 100644 --- a/samples/sound/sound.cpp +++ b/samples/sound/sound.cpp @@ -111,7 +111,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_MENU(Sound_About, MyFrame::OnAbout) EVT_MENU(Sound_PlaySync, MyFrame::OnPlaySync) EVT_MENU(Sound_PlayAsync, MyFrame::OnPlayAsync) - EVT_MENU(Sound_PlayAsyncOnStack, MyFrame::OnPlayAsync) + EVT_MENU(Sound_PlayAsyncOnStack, MyFrame::OnPlayAsyncOnStack) EVT_MENU(Sound_PlayLoop, MyFrame::OnPlayLoop) END_EVENT_TABLE() @@ -168,7 +168,7 @@ MyFrame::MyFrame(const wxString& title) menuFile->Append(Sound_Quit, _T("E&xit\tAlt-X"), _T("Quit this program")); playMenu->Append(Sound_PlaySync, _T("Play sound &synchronously")); playMenu->Append(Sound_PlayAsync, _T("Play sound &asynchronously")); - playMenu->Append(Sound_PlayAsync, _T("Play sound asynchronously (&object on stack)")); + playMenu->Append(Sound_PlayAsyncOnStack, _T("Play sound asynchronously (&object on stack)")); playMenu->Append(Sound_PlayLoop, _T("&Loop sound")); // now append the freshly created menu to the menu bar...