Added new KiCad about dialog, from Rafael Sokolowski <[email protected]>

This commit is contained in:
jean-pierre charras
2010-09-01 15:31:20 +02:00
parent 7e56bf2828
commit 72c48d46da
9 changed files with 1518 additions and 0 deletions
+7
View File
@@ -22,6 +22,8 @@
#include "macros.h"
#include "bitmaps.h"
// Uncomment this line to use the new KiCad About dialog
#define USE_NEW_ABOUT_DIALOG
/*
* Class constructor for WinEDA_BasicFrame general options
@@ -286,9 +288,14 @@ void WinEDA_BasicFrame::GetKicadHelp( wxCommandEvent& event )
*/
void WinEDA_BasicFrame::GetKicadAbout( wxCommandEvent& WXUNUSED(event) )
{
#ifdef USE_NEW_ABOUT_DIALOG
bool ShowAboutDialog(wxWindow * parent);
ShowAboutDialog(this);
#else
wxAboutDialogInfo info;
InitKiCadAbout(info);
wxAboutBox(info);
#endif
}