From 1bdcac1aac152f97fca140cddc98a9b15c749aae Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 20 Dec 2011 10:23:47 -0500 Subject: [PATCH] Fix debug assertion on wxWidgets 2.9.3. --- pcbnew/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index 179061ccdd..523437f25c 100644 --- a/pcbnew/files.cpp +++ b/pcbnew/files.cpp @@ -302,7 +302,7 @@ this file again." ) ); { wxString msg = wxString::Format( _( "Error loading board.\n%s" ), ioe.errorText.GetData() ); - wxMessageBox( msg, _( "Open Board File" ), wxICON_ERROR ); + wxMessageBox( msg, _( "Open Board File" ), wxICON_ERROR | wxOK ); } if( !aAppend )