git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3493
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) )
{
size_t count = m_threads.Count();
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) )
{
size_t count = m_threads.Count();
for ( size_t i = 0; i < count; i++ )
{
for ( size_t i = 0; i < count; i++ )
{
+ wxThread *thread = m_threads[0];
+ m_threads.Remove(thread);
// We must always use 0 because Delete() calls OnThreadExit() and
// We must always use 0 because Delete() calls OnThreadExit() and
- // OnThreadExit() removed 0 from the array.
- m_threads[0]->Delete();
+ // OnThreadExit() removes 0 from the array.
+ thread->Delete();
void MyFrame::OnThreadExit(wxThread *thread)
{
void MyFrame::OnThreadExit(wxThread *thread)
{
- wxCriticalSectionLocker enter(m_critsect);
-
- m_threads.Remove(thread);
typedef enum {
wxSOUND_NOFORMAT,
wxSOUND_PCM,
typedef enum {
wxSOUND_NOFORMAT,
wxSOUND_PCM,
+ wxSOUND_ULAW,
+ wxSOUND_G72X
} wxSoundFormatType;
typedef enum {
} wxSoundFormatType;
typedef enum {