--- src/gtimelapse.cpp.orig 2009-06-08 12:13:59 UTC +++ src/gtimelapse.cpp @@ -155,7 +155,11 @@ wxPanel *display_widgets (wxPanel *panel, CameraWidget //cout << "type: RADIO" << endl; //cout << "current: " << current << endl; +#ifdef __clang__ + wxString *choices = new wxString[cnt]; +#else wxString choices[cnt]; +#endif for ( i=0; iDisable(); button4->Enable(); - thread = CreateThread(); + ::thread = CreateThread(); - if ( thread->Run() != wxTHREAD_NO_ERROR ){ + if ( ::thread->Run() != wxTHREAD_NO_ERROR ){ wxLogError(wxT("Can't start thread!")); }else{ //cout << "Thread started." << endl;