File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ struct editor{
4747#define mkdir _mkdir
4848#include < windows.h>
4949#include < gdiplus.h>
50- #include < thread>
5150#include < wx/wx.h>
5251 static const string datapath = getenv(" HOMEPATH" ) + string(" \\ AppData\\ Roaming\\ UnityHubNative" );
5352 static const char dirsep = ' \\ ' ;
Original file line number Diff line number Diff line change @@ -151,13 +151,17 @@ void MainFrameDerived::ReloadData(){
151151void MainFrameDerived::OnAbout (wxCommandEvent& event)
152152{
153153 wxAboutDialogInfo aboutInfo;
154- aboutInfo.SetName (" Unity Hub Native" );
155- // aboutInfo.SetVersion(AppVersion);
154+ aboutInfo.SetName (" Unity Hub Native" );
156155 aboutInfo.SetCopyright (" (C) Ravbug 2019" );
157156 aboutInfo.SetDescription (" Developed with wxWidgets in C++" );
158157#if defined __linux__
159158 aboutInfo.SetWebSite (" https://github.com/ravbug/UnityHubNative" );
160159 aboutInfo.AddDeveloper (" Ravbug (github.com/ravbug)" );
160+ aboutInfo.SetIcon (wxIcon (wxICON (wxlin)));
161+ aboutInfo.SetVersion (AppVersion);
162+ #elif defined _WIN32
163+ aboutInfo.SetVersion (AppVersion);
164+ aboutInfo.SetIcon (wxIcon (" IDI_WXWIN" ));
161165#endif
162166 wxAboutBox (aboutInfo);
163167}
You can’t perform that action at this time.
0 commit comments