Added AboutBox
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// generated by wxGlade 0.6.8 on Wed May 20 12:40:03 2015
|
||||
|
||||
#ifndef WXGUI_HPP
|
||||
#define WXGUI_HPP
|
||||
|
||||
@@ -7,7 +5,8 @@
|
||||
#include <map>
|
||||
#include <wx/wx.h>
|
||||
#include <wx/image.h>
|
||||
#include "wx/intl.h"
|
||||
#include <wx/intl.h>
|
||||
#include <wx/aboutdlg.h>
|
||||
|
||||
#include "crossgen.hpp"
|
||||
|
||||
@@ -48,7 +47,14 @@ public:
|
||||
void onGenerateClick( wxCommandEvent& event );
|
||||
void onExportClick( wxCommandEvent& event );
|
||||
void onExitClick( wxCommandEvent& event ) { event.Skip(); }
|
||||
void onAboutClick( wxCommandEvent& event ) { event.Skip(); }
|
||||
void onAboutClick( wxCommandEvent& event ) {
|
||||
wxAboutDialogInfo info;
|
||||
info.AddDeveloper(_("AlekseyLobanov"));
|
||||
info.SetDescription(_("Simple GUI cross-generation application. Yet another bike"));
|
||||
info.SetName(wxTheApp->GetAppName());
|
||||
info.SetWebSite(wxT("http://likemath.ru"));
|
||||
wxAboutBox(info);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // WXGUI_HPP
|
||||
|
||||
Reference in New Issue
Block a user