Skip to content

Commit 6cf390d

Browse files
committed
Merged with remote
2 parents 0360128 + 4344b74 commit 6cf390d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

source/globals.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 = '\\';

source/interface_derived.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,17 @@ void MainFrameDerived::ReloadData(){
151151
void 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
}

0 commit comments

Comments
 (0)