I pinpointed the source for this annoying error.
it's in wxWidgets src/common/filename.cpp
bool wxFileName::Normalize(int flags,
const wxString& cwd,
wxPathFormat format)
{
...
if ( m_dirs.IsEmpty() )
{
wxLogError(_("The path '%s' contains too many \"..\"!"),
GetFullPath().c_str());
return FALSE;
}
}
Apparently this is an error that should've been taken care of (i.e. if it returns false, is because something's wrong), why do we end up with paths above the root directory? :-S And do the normalizations work in these cases or what?