wxWidgets 에서 sound call

#include "wx/sound.h"
#include "wx/numdlg.h"

bool MyFrame::playAsyncOnStack()
{
    wxString sndFile=wxString("9000g.wav");
    wxBusyCursor busy;
    wxSound snd(sndFile);
    if (snd.IsOk()) snd.Play(wxSOUND_ASYNC);
    return snd.IsOk();
}
Posted by stekilove
,