From 0b18af3fdb1fee63847495e13912d267d3fa7f70 Mon Sep 17 00:00:00 2001 From: Cirilo Bernardo Date: Fri, 26 Feb 2016 15:18:59 +1100 Subject: [PATCH] Changed resolver failure message to use wxLogMessage instead of wxMessageBox --- 3d-viewer/3d_cache/3d_filename_resolver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3d-viewer/3d_cache/3d_filename_resolver.cpp b/3d-viewer/3d_cache/3d_filename_resolver.cpp index 74f6683bc0..0e69de2e70 100644 --- a/3d-viewer/3d_cache/3d_filename_resolver.cpp +++ b/3d-viewer/3d_cache/3d_filename_resolver.cpp @@ -259,10 +259,10 @@ wxString S3D_FILENAME_RESOLVER::ResolvePath( const wxString& aFileName ) if( !( m_errflags & ERRFLG_ENVPATH ) ) { m_errflags |= ERRFLG_ENVPATH; - wxString errmsg = _( "No such path; ensure the environment var is defined" ); + wxString errmsg = _( "[3D File Resolver] No such path; ensure the environment var is defined" ); errmsg.append( "\n" ); errmsg.append( tname ); - wxMessageBox( errmsg, _( "3D file resolver" ) ); + wxLogMessage( "%s\n", errmsg.ToUTF8() ); } return wxEmptyString;