Bug in get online help: kicad.pdf was always called instead of the suitable help file. thanks to the guy who did not test its changes

eeschema: code cleaning
switch to wxWidgets 2.8.9
This commit is contained in:
charras
2008-09-17 17:26:25 +00:00
parent 7470a3bd67
commit bb8ee329f8
22 changed files with 151 additions and 141 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ void WinEDA_BasicFrame::GetKicadHelp( wxCommandEvent& event )
DisplayError( this, msg );
}
#elif defined ONLINE_HELP_FILES_FORMAT_IS_PDF
wxString fullfilename = FindKicadHelpPath() + _T("kicad.pdf");
wxString fullfilename = FindKicadHelpPath() + m_Parent->m_HelpFileName;
if ( wxFileExists(fullfilename) )
GetAssociatedDocument( this, wxEmptyString, fullfilename );
else // Try to find file in English format: