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{
47
47
#define mkdir _mkdir
48
48
#include < windows.h>
49
49
#include < gdiplus.h>
50
- #include < thread>
51
50
#include < wx/wx.h>
52
51
static const string datapath = getenv(" HOMEPATH" ) + string(" \\ AppData\\ Roaming\\ UnityHubNative" );
53
52
static const char dirsep = ' \\ ' ;
Original file line number Diff line number Diff line change @@ -151,13 +151,17 @@ void MainFrameDerived::ReloadData(){
151
151
void MainFrameDerived::OnAbout (wxCommandEvent& event)
152
152
{
153
153
wxAboutDialogInfo aboutInfo;
154
- aboutInfo.SetName (" Unity Hub Native" );
155
- // aboutInfo.SetVersion(AppVersion);
154
+ aboutInfo.SetName (" Unity Hub Native" );
156
155
aboutInfo.SetCopyright (" (C) Ravbug 2019" );
157
156
aboutInfo.SetDescription (" Developed with wxWidgets in C++" );
158
157
#if defined __linux__
159
158
aboutInfo.SetWebSite (" https://github.com/ravbug/UnityHubNative" );
160
159
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" ));
161
165
#endif
162
166
wxAboutBox (aboutInfo);
163
167
}
You can’t perform that action at this time.
0 commit comments