From d0223dc1a034b689185c2f775a84fa7794855ca3 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Wed, 28 Dec 2011 09:15:00 -0500 Subject: [PATCH] Fix wxWidgets 2.8 build error. --- pcbnew/files.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index a5e32a6a3d..71764e7ac3 100644 --- a/pcbnew/files.cpp +++ b/pcbnew/files.cpp @@ -299,9 +299,10 @@ this file again." ) ); } } catch( IO_ERROR ioe ) - {wxMessageBox("catch"); - wxString msg = wxString::Format( _( "Error loading board.\n%s" ), - ioe.errorText.GetData() ); + { + wxMessageBox( _( "catch" ) ); + wxString msg = wxString::Format( _( "Error loading board.\n%s" ), + ioe.errorText.GetData() ); wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR ); }