On Fri 20-Mar-2009 at 07:37 +0100, Thomas Modes wrote: > >This is a lock file used by wxSingleInstanceChecker. I changed the >name to make it hidden. On windows wxSingleInstanceChecker uses a >mutex, so this file is never created.
Hi, I can't get this ver4 patch to apply, this is the chunk that fails: Index: src/hugin1/ptbatcher/BatchFrame.cpp =================================================================== --- src/hugin1/ptbatcher/BatchFrame.cpp (Revision 3750) +++ src/hugin1/ptbatcher/BatchFrame.cpp (Arbeitskopie) @@ -336,18 +359,21 @@ wxArrayString paths; dlg.GetPaths(paths); for(unsigned int i=0; i<paths.GetCount(); i++) - { - wxFileName name(paths.Item(i)); - m_batch->AddProjectToBatch(paths.Item(i),name.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR) + name.GetName()); - SetStatusText(_("Added project ")+paths.Item(i)); - projListBox->AppendProject(m_batch->GetProject(m_batch->GetProjectCount()-1)); - } + AddToList(paths.Item(i)); } else { // bail //wxLogError( _("No project files specified")); } } +void BatchFrame::AddToList(wxString aFile) +{ + wxFileName name(aFile); + m_batch->AddProjectToBatch(aFile,name.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR) + name.GetName()); + SetStatusText(_("Added project ")+aFile); + projListBox->AppendProject(m_batch->GetProject(m_batch->GetProjectCount()-1)); +} + void BatchFrame::OnButtonCancel(wxCommandEvent &event) { GetToolBar()->ToggleTool(XRCID("tool_pause"),false); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---